Fix testsuite timeout handling
[glibc.git] / ChangeLog
blob5d51e9ac29b1f7ab6765c1594021d153f7cb08d5
1 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
3         * support/support_test_main.c (support_test_main): Use correct
4         timeout.
6 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
7             Florian Weimer  <fweimer@redhat.com>
9         [BZ #16421]
10         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
11         and __u6_addr32 members.
12         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
13         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
14         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
15         Use __u6_addr32.
16         * inet/tst-checks.c: Use <support/test-driver.c>
17         * inet/tst-checks-posix.c: New file.
18         * inet/Makefile (tests): Add it.
19         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
21 2016-12-09  Florian Weimer  <fweimer@redhat.com>
23         New subdirectory support for build and test infrastructure.
24         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
25         setting install-lib.
26         * Makeconfig (link-extra-libs-tests): Define.
27         (+link-pie-tests, +link-static-tests, +link-tests): Use
28         link-extra-libs-tests.
29         (rpath-dirs, all-subdirs): Add support.
30         (built-modules): Add libsupport.
31         (libsupport): Define.
32         * support: New directory.
33         * support/Makefile: New file.
34         * support/check.c: Likewise.
35         * support/check.h: Likewise.
36         * support/delayed_exit.c: Likewise.
37         * support/ignore_stderr.c: Likewise.
38         * support/oom_error.c: Likewise.
39         * support/set_fortify_handler.c: Likewise.
40         * support/support.h: Likewise.
41         * support/temp_file-internal.h: Likewise.
42         * support/temp_file.c: Likewise.
43         * support/test-driver.c: Likewise.
44         * support/test-driver.h: Likewise.
45         * support/test_main.c: Likewise.
46         * support/write_message.c: Likewise.
47         * support/xasprintf.c: Likewise.
48         * support/xcalloc.c: Likewise.
49         * support/xmalloc.c: Likewise.
50         * support/xpthread_barrier_destroy.c: Likewise.
51         * support/xpthread_barrier_init.c: Likewise.
52         * support/xpthread_barrier_wait.c: Likewise.
53         * support/xpthread_cancel.c: Likewise.
54         * support/xpthread_check_return.c: Likewise.
55         * support/xpthread_cond_wait.c: Likewise.
56         * support/xpthread_create.c: Likewise.
57         * support/xpthread_detach.c: Likewise.
58         * support/xpthread_join.c: Likewise.
59         * support/xpthread_mutex_lock.c: Likewise.
60         * support/xpthread_mutex_unlock.c: Likewise.
61         * support/xpthread_sigmask.c: Likewise.
62         * support/xpthread_spin_lock.c: Likewise.
63         * support/xpthread_spin_unlock.c: Likewise.
64         * support/xrealloc.c: Likweise.
65         * support/xsignal.h: Likewise.
66         * support/xthread.h: Likewise.
67         * support_tempfile.h: Likewise.
68         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
69         (TEST_DATA_LIMIT): Remove unused macro.
70         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
71         <support/check.h>.
72         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
73         (ignore_stderr, set_fortify_handler): Remove.  Now in
74         <support/support.h>.
75         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
76         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
77         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
78         (xpthread_join): Remove.  Now in <support/xthread.h>.
79         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
80         Introduce legacy wrappers.
81         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
82         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
83         (write_message): Remove.
84         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
85         test-skeleton.c.
86         * io/test-open-tmpfile: Likewise.
87         * io/tst-posix_fallocate-common.c: Likewise.
88         * libio/tst-fseek.c: Likewise.
89         * malloc/tst-malloc-backtrace.c: Likewise.
90         * malloc/tst-malloc-fork-deadlock.c: Likewise.
91         * malloc/tst-malloc-thread-exit.c: Likewise.
92         * nptl/tst-cancel7.c: Likewise.
93         * nptl/tst-cleanup0.c: Likewise.
94         * posix/tst-posix_fadvise-common.c: Likewise.
95         * rt/tst-shm.c: Likewise.
96         * time/bug-getdate1.c: Likewise.
97         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
98         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
99         * elf/Makefile (tst-piemod1.so): Link against libsupport.
101 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
103         * Rules [$(run-built-tests) != no] (tests-expected): Add
104         $(tests-printers).
105         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
107 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
109         [BZ #20539]
110         * math/Makefile (install-lib-ldscripts): Add libm.a.
111         (install_subdir): Remove.
112         (install-others): Add.
113         ($(inst_libdir)/libm.a): Add rule for installation as
114         linker script.
115         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
117 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
119         * INSTALL: Regenerated.
120         * Makeconfig: Add comments and whitespace to make the control flow
121         clearer.
122         (+link-printers-tests, +link-pie-printers-tests,
123         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
124         built-rtld-LDFLAGS, link-libc-rpath,
125         link-libc-tests-after-rpath-link,
126         link-libc-printers-tests): New.
127         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
128         link-libc-tests): Use the new variables as required.
129         * Makerules ($(py-const)): New rule.
130         generated: Add $(py-const).
131         * README.pretty-printers: New file.
132         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
133         (others): Depend on $(py-const).
134         (tests): Depend on $(tests-printers-programs) or
135         $(tests-printers-out),
136         as required.  Pass $(tests-printers) to merge-test-results.sh.
137         * manual/install.texi: Add requirements for testing the pretty
138         printers.
139         * nptl/Makefile (gen-py-const-headers, pretty-printers,
140         tests-printers, CFLAGS-test-mutexattr-printers.c
141         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
142         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
143         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
144         * nptl/nptl-printers.py: New file.
145         * nptl/nptl_lock_constants.pysym: Likewise.
146         * nptl/test-cond-printers.c: Likewise.
147         * nptl/test-cond-printers.py: Likewise.
148         * nptl/test-condattr-printers.c: Likewise.
149         * nptl/test-condattr-printers.py: Likewise.
150         * nptl/test-mutex-printers.c: Likewise.
151         * nptl/test-mutex-printers.py: Likewise.
152         * nptl/test-mutexattr-printers.c: Likewise.
153         * nptl/test-mutexattr-printers.py: Likewise.
154         * nptl/test-rwlock-printers.c: Likewise.
155         * nptl/test-rwlock-printers.py: Likewise.
156         * nptl/test-rwlockattr-printers.c: Likewise.
157         * nptl/test-rwlockattr-printers.py: Likewise.
158         * scripts/gen-py-const.awk: Likewise.
159         * scripts/test_printers_common.py: Likewise.
160         * scripts/test_printers_exceptions.py: Likewise.
162 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
164         * scripts/build-many-glibcs.py (Context.__init__): Take strip
165         argument.
166         (Glibc.build_glibc): Strip installed shared libraries if
167         requested.
168         (get_parser): Add --strip option.
169         (main): Update Context call.
171 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
172             Dominik Vogt  <vogt@linux.vnet.ibm.com>
174         [BZ #20847]
175         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
176         array bounds for else branch.
177         (__execvpe): Style fixes.
178         * posix/tst-vfork3.c (run_script): New function.
179         (create_script): Likewise.
180         (do_test): Use run_script internal function.
181         (do_prepare): Use create_script internal function.
183 2016-12-07  Andreas Schwab  <schwab@suse.de>
185         * sysdeps/unix/sysv/linux/x86/elision-conf.h
186         (__elision_available): Don't declare.
187         * sysdeps/unix/sysv/linux/x86/elision-conf.c
188         (__elision_available): Don't define.
189         (elision_init): Don't set __elision_available.
191 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
193         [BZ #20940]
194         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
195         return Inf for arguments Inf and sNaN.
196         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
197         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
198         Likewise.
199         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
200         Likewise.
201         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
202         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
203         for arguments Inf and sNaN.  When returning a NaN, compute it by
204         arithmetic on the arguments.
205         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
206         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
207         arguments.
209 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
211         [BZ #20916]
212         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
213         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
214         to compute result.
215         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
216         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
218 2016-12-05  Torvald Riegel  <triegel@redhat.com>
220         * include/atomic.h (__atomic_check_size_ls): New.
221         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
222         atomic_store_release): Use it.
223         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
224         (elision_adapt, ELIDE_LOCK): Use atomics.
225         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
226         atomics and improve code comments.
227         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
228         (__lll_trylock_elision): Likewise.
230 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
232         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
233         programs.
235 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
237         [BZ #20916]
238         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
239         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
240         arguments to compute result.
241         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
242         1 for arguments (sNaN, 0) or (1, sNaN).
243         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
244         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
246         [BZ #20919]
247         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
248         NaN first argument when raised to power 0.
249         * math/w_pow.c (__pow): Do not check for NaN or zero results from
250         raising to power zero.
251         * math/w_powf.c (__powf): Likewise.
252         * math/w_powl.c (__powl): Likewise.
253         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
254         pow (0, 0) or pow (NaN, 0).
256 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
258         [BZ #20918]
259         * configure.ac: Test for static NSS cryptographic libraries and set
260         libc_cv_static_nss_crypt.
261         * configure: Regenerate.
262         * config.make.in (static-nss-crypt): Define.
263         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
264         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
265         (CFLAGS-tst-linkall-static.c): Define.
266         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
267         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
268         ($(objpfx)tst-linkall-static): Define.
269         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
270         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
272 2016-12-02  Florian Weimer  <fweimer@redhat.com>
274         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
275         (one-hundred, tst-tls-many-dynamic-modules): Define.
276         (modules-names): Add $(tst-tls-many-dynamic-modules).
277         (tst-tls-manydynamic%mod.os): Build with special preprocessor
278         macros.
279         (tst-tls-manydynamic): Link against libdl, libpthread.
280         (tst-tls-manydynamic.out): The test needs the test modules at run
281         time.
282         * elf/tst-tls-manydynamic.c: New file.
283         * elf/tst-tls-manydynamic.h: Likewise.
284         * elf/tst-tls-manydynamicmod.c: Likewise.
286 2016-12-02  Florian Weimer  <fweimer@redhat.com>
288         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
289         (TLS_DTV_UNALLOCATED): Add.
290         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
291         offsets.
293 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
295         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
297 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
299         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
300         Add -fno-optimize-sibling-calls.
302 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
304         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
305         New declaration.
306         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
307         macro.
308         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
309         New macro.
310         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
311         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
312         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
313         (llogbf): Likewise.
314         (llogbl): Likewise.
315         * math/Makefile (gen-libm-calls): Add w_llogbF.
316         (tests): Add test-fp-llogb-constants.
317         * math/w_llogb_template.c: New file.  Based on
318         math/w_ilogb_template.c.
319         * math/libm-test.inc (llogb_test_data): New array.
320         (llogb_test): New function.
321         (main): Call llogb_test.
322         * math/test-fp-llogb-constants.c: New file.  Based on
323         math/test-fp-ilogb-constants.c.
324         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
325         (do_test): Call check_return_llogb.
326         * math/test-tgmath.c (NCALLS): Increase to 126.
327         (F(compile_test)): Call llogb.
328         (F(llogb)): New function.
329         * manual/math.texi (Exponents and Logarithms): Document llogb,
330         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
331         * manual/libm-err-tab.pl (@all_functions): Add llogb.
332         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
333         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
334         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
335         (CFLAGS-nldbl-llogb.c): New variable.
336         * sysdeps/nacl/libm.abilist: Update.
337         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
338         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
339         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
340         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
341         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
342         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
343         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
344         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
345         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
346         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
347         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
348         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
350         Likewise.
351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
352         Likewise.
353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
354         Likewise.
355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
356         Likewise.
357         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
358         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
359         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
360         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
361         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
362         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
363         Likewise.
364         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
365         Likewise.
366         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
367         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
368         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
370 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
372         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
373         _Float128 instead of long double.
374         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
376         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
377         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
378         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
379         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
380         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
381         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
382         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
383         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
384         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
385         Likewise.
387 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
389         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
390         Remove redirection to __strrchr_ppc.
392 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
394         * sysdeps/powerpc/powerpc64/multiarch/Makefile
395         (sysdep_routines): Add strcmp_power9.
396         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
397         (strcmp): Add __strcmp_power9 to list of strcmp functions.
398         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
399         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
400         (strcmp): Add __strcmp_power9 to ifunc list.
401         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
403 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
405         * bits/fp-logb.h: New file.
406         * sysdeps/ia64/bits/fp-logb.h: Likewise.
407         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
408         * sysdeps/x86/bits/fp-logb.h: Likewise.
409         * math/Makefile (headers): Add bits/fp-logb.h.
410         * math/math.h: Include <bits/fp-logb.h>.
411         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
412         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
413         * bits/mathdef.h (FP_ILOGB0): Remove.
414         (FP_ILOGBNAN): Likewise.
415         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
416         (FP_ILOGBNAN): Likewise.
417         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
418         (FP_ILOGBNAN): Likewise.
419         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
420         (FP_ILOGBNAN): Likewise.
421         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
422         (FP_ILOGBNAN): Likewise.
423         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
424         (FP_ILOGBNAN): Likewise.
425         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
426         (FP_ILOGBNAN): Likewise.
427         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
428         (FP_ILOGBNAN): Likewise.
429         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
430         (FP_ILOGBNAN): Likewise.
431         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
432         (FP_ILOGBNAN): Likewise.
434         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
435         time module.
436         (Context.__init__): Initialize self.logsdir_old.
437         (Context.run_builds): Handle bot action.
438         (Context.bot_cycle): Copy logs directory before running builds.
439         (Context.bot_run_self): Take argument for whether to check
440         subprocess result.  Flush stdout before running subprocess.
441         (Context.bot): New function.
442         (get_parser): Allow bot action.
444 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
446         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
447         Import email.mime.text, email.utils and smtplib modules.
448         (Context.__init__): Initialize self.bot_config_json.
449         (Context.run_builds): Handle bot-cycle action.
450         (Context.load_bot_config_json): New function.
451         (Context.part_build_old): Likewise.
452         (Context.bot_cycle): Likewise.
453         (Context.bot_build_mail): Likewise.
454         (Context.bot_run_self): Likewise.
455         (get_parser): Allow bot-cycle action.
457 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
459         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
460         Remove redirection to __stpcpy_ppc.
462 2016-11-30  Florian Weimer  <fweimer@redhat.com>
464         Remove __libc_memalign from ld.so because it is unused.
465         * elf/dl-minimal.c: Update comment on the malloc implementation.
466         (malloc): Renamed from __libc_memalign, replacing the original
467         malloc implementation.  Replace the align parameter with
468         MALLOC_ALIGNMENT.
469         * elf/Versions (ld): Update comment and remove __libc_memalign.
470         * sysdeps/nacl/ld.abilist: Likewise.
471         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
472         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
473         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
474         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
475         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
476         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
477         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
478         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
479         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
480         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
481         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
482         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
483         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
487         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
488         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
489         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
490         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
491         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
492         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
493         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
494         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
495         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
496         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
497         * sysdeps/generic/localplt.data (ld.so): Likewise.
498         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
499         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
500         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
501         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
502         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
503         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
504         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
505         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
506         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
508         (ld.so): Likewise.
509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
510         (ld.so): Likewise.
511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
512         Likewise.
513         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
514         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
515         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
516         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
517         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
519 2016-11-30  Florian Weimer  <fweimer@redhat.com>
521         [BZ #16628]
522         Implement _dl_catch_error, _dl_signal_error in libc.so.
523         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
524         (catch_hook): Define as thread-local or regular variable,
525         depending on DL_ERROR_BOOTSTRAP.
526         (CATCH_HOOK): Remove.
527         (dl_signal_error, _dl_catch_error): Use
528         catch_hook.  Add hidden definition for libc.
529         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
530         for DL_ERROR_BOOTSTRAP only.
531         * elf/dl-error.c: New file.
532         * elf/dl-error-minimal.c: Likewise.
533         * elf/tst-latepthread.c: Likewise.
534         * elf/tst-latepthreadmod.c: Likewise.
535         * elf/Makefile (routines): Add dl-error.
536         (dl-routines): Remove dl-error.
537         (rtld-routines): Add dl-error-minimal.
538         [build-shared] (tests): Add tst-latepthread.
539         (module-names): Add tst-latepthreadmod.
540         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
541         symbol.
542         (tst-latepthreadmod.so): Link against libpthread.
543         (tst-latepthread): Link against libdbl.
544         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
545         _dl_catch_error.
546         [ld] (GLIBC_PRIVATE): Likewise.
547         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
548         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
549         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
550         directly.
551         * elf/dl-tsd.c: Remove file.
552         * elf/rtld.c (_rtld_global_ro): Remove initializers for
553         _dl_catch_error, _dl_signal_error.
554         (_dl_initial_error_catch_tsd): Remove definition.
555         (do_preload): Remove initialization of dl_error_catch_tsd.
556         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
557         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
558         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
559         * dlfcn/dlopen.c (dlopen_doit): Likewise.
560         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
561         set dl_error_catch_tsd.
562         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
563         _dl_error_catch_tsd member.
564         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
565         members.
566         (_dl_initial_error_catch_tsd): Remove declaration.
567         (_dl_dprintf): Provide definition for use outside of ld.so.
568         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
569         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
570         prototype for libc.
571         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
572         _dl_catch_error.
573         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
574         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
575         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
576         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
577         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
578         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
579         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
580         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
581         Likewise.
582         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
584         (ld.so): Likewise.
585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
586         (ld.so): Likewise.
587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
588         Likewise.
589         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
590         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
591         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
592         Likewise.
593         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
594         Likewise.
595         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
597 2016-11-30  Florian Weimer  <fweimer@redhat.com>
599         [BZ #4099]
600         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
601         _IO_BUFSIZ (8192).
603 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
605         * PROJECTS: Remove file.
607 2016-11-29  Florian Weimer  <fweimer@redhat.com>
609         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
611 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
612             Steve Ellcey  <sellcey@caviumnetworks.com>
614         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
615         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
616         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
617         fxstatat.
618         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
619         lxstat.
620         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
621         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
622         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
623         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
624         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
625         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
626         __xstat.
628 2016-11-29  Florian Weimer  <fweimer@redhat.com>
630         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
631         Define.
632         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
633         definition.
635 2016-11-29  Florian Weimer  <fweimer@redhat.com>
637         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
638         version and turn into strong alias.  Remove compat symbol.
640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
641         (__longjmp): Remove.
643 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
645         * bits/fp-fast.h: New file.
646         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
647         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
648         * math/Makefile (headers): Add bits/fp-fast.h.
649         * math/math.h: Include <bits/fp-fast.h>.
650         * bits/mathdef.h (FP_FAST_FMA): Remove.
651         (FP_FAST_FMAF): Likewise.
652         (FP_FAST_FMAL): Likewise.
653         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
654         (FP_FAST_FMAF): Likewise.
655         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
656         (FP_FAST_FMAF): Likewise.
657         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
658         (FP_FAST_FMAF): Likewise.
659         (FP_FAST_FMAL): Likewise.
660         * sysdeps/arm/bits/mathdef.h: Remove file.
661         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
662         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
663         * sysdeps/tile/bits/mathdef.h: Likewise.
665 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
667         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
668         * math/w_ilogb.c: Remove.
669         * math/w_ilogbf.c: Likewise.
670         * math/w_ilogbl.c: Likewise.
671         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
672         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
673         * math/Makefile (gen-libm-calls): Add w_ilogbF.
674         (libm-calls): Remove w_ilogbF.
675         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
676         (LDOUBLE_ilogbl_libm_version): New macro.
678         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
680         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
681         [!__STRICT_ANSI__ && !__cplusplus].
683 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
685         [BZ #20750]
686         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
687         of PIC.
689 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
690             Yury Norov  <ynorov@caviumnetworks.com>
691             Steve Ellcey  <sellcey@caviumnetworks.com>
693         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
694         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
695         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
696         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
697         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
698         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
699         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
700         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
701         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
702         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
703         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
704         to get correct reg name for ILP32.
705         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
706         (RELA_SIZE): New Macro.
707         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
708         to support ILP32.
709         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
710         cast for ILP32 mode.
711         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
712         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
713         * sysdeps/aarch64/memset.S (__memset): Ditto.
714         * sysdeps/aarch64/strchr.S (strchr): Ditto.
715         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
716         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
717         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
718         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
719         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
720         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
721         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
722         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
723         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
724         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
725         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
726         change PTR_MANGLE call to use register numbers instead of names.
727         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
728         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
729         ILP32 mode, change PTR_MANGLE calls to use register numbers.
730         * sysdeps/aarch64/start.S (_start): Ditto.
731         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
732         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
733         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
734         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
735         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
736         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
737         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
738         Make defined values dependent on __ILP32__.
739         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
740         (sem_t): Change __align type.
741         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
742         PTR_SIZE): New Macros.
743         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
744         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
745         Set when in ILP32 mode.
746         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
747         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
748         Set elf flags for ILP32.
749         (add_system_dir): Set ILP32 library directories.
750         * sysdeps/unix/sysv/linux/aarch64/init-first.c
751         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
752         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
753         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
754         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
755         New Macros.
756         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
758 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
760         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
761         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
762         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
764 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
766         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
767         <asm/cachectl.h>.
769 2016-11-27  Zack Weinberg  <zackw@panix.com>
771         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
772         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
774 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
776         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
777         error_t to fix usage in C++ programs.
779 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
781         * scripts/build-many-glibcs.py: Import datetime module.
782         (Context.__init__): Load JSON build state.  Initialize list of
783         status logs.
784         (Context.run_builds): Update saved build state.
785         (Context.add_makefile_cmdlist): Update list of status logs.
786         (Context.load_build_state_json): New function.
787         (Context.store_build_state_json): Likewise.
788         (Context.clear_last_build_state): Likewise.
789         (Context.update_build_state): Likewise.
790         (CommandList.status_logs): Likewise.
792 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
794         * scripts/build-many-glibcs.py (Context.__init__): Save text of
795         script being executed.
796         (Context.get_script_text): New function.
797         (Context.exec_self): Likewise.
798         (Context.checkout): Re-exec script if changed by checkout process.
800 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
802         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
803         (setpayloadsig): New declaration.
804         * math/Versions (setpayloadsig): New libm symbol at version
805         GLIBC_2.25.
806         (setpayloadsigf): Likewise.
807         (setpayloadsigl): Likewise.
808         * math/Makefile (libm-calls): Add s_setpayloadsigF.
809         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
810         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
811         (setpayloadsig_test_data): New array.
812         (setpayloadsig_test): New function.
813         (main): Call setpayloadsig_test.
814         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
815         setpayloadsigf and setpayloadsigl.
816         * manual/libm-err-tab.pl: Update comment on interfaces without
817         ulps tabulated.
818         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
819         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
820         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
821         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
822         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
823         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
824         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
825         setpayloadsig.
826         (CFLAGS-nldbl-setpayloadsig.c): New variable.
827         * sysdeps/nacl/libm.abilist: Update.
828         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
829         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
830         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
831         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
832         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
833         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
834         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
835         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
836         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
837         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
838         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
839         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
841         Likewise.
842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
843         Likewise.
844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
845         Likewise.
846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
847         Likewise.
848         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
849         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
850         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
851         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
852         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
853         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
854         Likewise.
855         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
856         Likewise.
857         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
858         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
859         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
861         * scripts/build-many-glibcs.py: Import json module.
862         (Context.__init__): Take replace_sources argument.  Load
863         versions.json.
864         (Context.load_versions_json): New function.
865         (Context.store_json): Likewise.
866         (Context.store_versions_json): Likewise.
867         (Context.set_component_version): Likewise.
868         (Context.checkout): Update versions.json.  Check for and handle
869         changes of version.  Prefer previously explicitly specified
870         version to default version.
871         (Context.checkout_vcs): Return a revision identifier.
872         (Context.git_checkout): Likewise.
873         (Context.gcc_checkout): Likewise.
874         (get_parser): Add --replace-sources option.
875         (main): Pass replace_sources argument to Context call.
877 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
879         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
880         * nptl/allocatestack.c (allocate_stack): Likewise.
881         (__reclaim_stacks): Likewise.
882         (setxid_signal_thread): Obtain pid through syscall.
883         * nptl/nptl-init.c (sigcancel_handler): Likewise.
884         (sighandle_setxid): Likewise.
885         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
886         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
887         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
888         Likewise.
889         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
890         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
891         comment.
892         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
893         * nptl/descr.h (struct pthread): Change comment about pid value.
894         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
895         pid assert.
896         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
897         Do not set pid value.
898         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
899         pid cache check.
900         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
901         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
902         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
903         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
904         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
905         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
906         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
907         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
908         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
909         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
910         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
911         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
912         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
913         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
914         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
915         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
916         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
917         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
918         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
919         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
920         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
921         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
922         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
923         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
924         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
927         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
928         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
929         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
930         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
931         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
932         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
933         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
934         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
935         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
936         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
937         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
938         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
939         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
940         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
941         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
942         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
945         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
946         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
947         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
948         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
949         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
950         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
951         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
952         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
953         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
954         struct access.
955         (clone_test): Remove function.
956         (do_test): Rewrite to take in consideration pid is not cached anymore.
958 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
960         * bits/flt-eval-method.h: New file.
961         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
962         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
963         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
964         * math/Makefile (headers): Add bits/flt-eval-method.h.
965         * math/math.h: Include <bits/flt-eval-method.h>.
966         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
967         [__USE_ISOC99] (double_t): Likewise.
968         * bits/mathdef.h (float_t): Remove.
969         (double_t): Likewise.
970         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
971         (double_t): Likewise.
972         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
973         (double_t): Likewise.
974         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
975         (double_t): Likewise.
976         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
977         (double_t): Likewise.
978         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
979         (double_t): Likewise.
980         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
981         (double_t): Likewise.
982         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
983         (double_t): Likewise.
984         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
985         (double_t): Likewise.
986         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
987         (double_t): Likewise.
988         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
989         (double_t): Likewise.
990         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
991         (double_t): Likewise.
992         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
993         (double_t): Likewise.
994         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
995         (double_t): Likewise.
997 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
999         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
1000         instead of PIC.
1002 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
1004         [BZ #20859]
1005         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
1006         (-0x7fffffff) instead of 0x80000001.
1007         * math/test-fp-ilogb-constants.c: New file.
1008         * math/Makefile (tests): Add test-fp-ilogb-constants.
1010 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
1012         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
1013         (_init): Use it in place of hardcoded R_MIPS_JALR.
1014         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
1015         (_init): Use it in place of hardcoded R_MIPS_JALR.
1016         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
1017         (_init): Use it in place of hardcoded R_MIPS_JALR.
1019 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
1021         [BZ #20787]
1022         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
1023         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
1024         (double_t): Do not define to double if [__x86_64__] when
1025         __FLT_EVAL_METHOD__ is nonzero.
1026         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
1027         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
1028         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1029         test-flt-eval-method-387 and test-flt-eval-method-sse.
1030         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
1031         variable.
1032         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
1034 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
1036         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
1037         use of -fno-isolate-erroneous-paths options for tilepro.
1039 2016-11-23  Florian Weimer  <fweimer@redhat.com>
1041         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
1042         structure initialization is no longer needed.
1044 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
1046         [BZ #20855]
1047         * bits/mathdef.h (float_t): Define to float.
1048         * math/test-flt-eval-method.c: New file.
1049         * math/Makefile (tests): Add test-flt-eval-method.
1050         (CFLAGS-test-flt-eval-method.c): New variable.
1052 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
1054         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
1055         and __fstatfs.  Make them aliases of __fstatfs64 if
1056         STATFS_IS_STATFS64 is set to non-zero.
1057         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
1058         and __statfs64.
1059         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
1060         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
1061         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
1062         for __statfs and statfs.
1063         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
1064         to 0.
1065         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
1066         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
1067         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
1068         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
1069         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
1070         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
1071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
1072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
1073         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
1074         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
1075         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
1076         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
1078 2016-11-22  Andreas Schwab  <schwab@suse.de>
1080         * misc/mkstemp.c: Include <fcntl.h>.
1081         * misc/mkstemps.c: Likewise.
1082         * misc/mkostemp.c: Likewise.
1083         * misc/mkostemps.c: Likewise.
1085 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
1087         [BZ #20847]
1088         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
1089         array bounds.
1090         (__execvpe): Likewise.
1092 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
1094         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
1095         -fno-isolate-erroneous-paths options for tilepro.
1097 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
1099         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
1100         to 0 when in 32 bit mode.
1101         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
1102         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
1103         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
1104         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
1105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
1106         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
1107         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
1108         XSTAT_IS_XSTAT64 test.
1109         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
1110         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
1111         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
1112         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
1113         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
1114         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
1115         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
1116         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
1117         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
1118         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
1119         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
1121 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
1123         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1124         (setpayload): New declaration.
1125         * math/Versions (setpayload): New libm symbol at version
1126         GLIBC_2.25.
1127         (setpayloadf): Likewise.
1128         (setpayloadl): Likewise.
1129         * math/Makefile (libm-calls): Add s_setpayloadF.
1130         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
1131         test_Ff_b1_data.
1132         (RUN_TEST_Ff_b1): New macro.
1133         (RUN_TEST_LOOP_Ff_b1): Likewise.
1134         (canonicalize_test_data): Update type.
1135         (setpayload_test_data): New array.
1136         (setpayload_test): New function.
1137         (main): Call setpayload_test.
1138         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
1139         setpayloadf and setpayloadl.
1140         * manual/libm-err-tab.pl: Update comment on interfaces without
1141         ulps tabulated.
1142         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
1143         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
1144         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
1145         Likewise.
1146         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
1147         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
1148         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
1149         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
1150         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
1151         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
1152         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
1153         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
1154         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
1155         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1156         setpayload.
1157         (CFLAGS-nldbl-setpayload.c): New variable.
1158         * sysdeps/nacl/libm.abilist: Update.
1159         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1160         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1161         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1162         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1163         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1164         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1165         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1166         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1167         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1168         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1169         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1170         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1172         Likewise.
1173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1174         Likewise.
1175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1176         Likewise.
1177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1178         Likewise.
1179         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1180         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1181         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1182         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1183         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1184         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1185         Likewise.
1186         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1187         Likewise.
1188         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1189         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1190         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1192 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1194         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
1195         * include/unistd.h: Extend comment about __access_noerrno return
1196         semantics.
1197         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
1198         (access_common): Correct typo for EACCES.
1200 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
1202         * sysdeps/tile/math-tests.h: New file.
1204         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
1205         (__old_set_dataplane): Rename from set_dataplane and make a
1206         compatibility symbol.
1207         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
1208         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
1209         sys/dataplane.h.
1211 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
1213         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
1214         script quote words in command output to log suitably for input to
1215         the shell.
1217 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
1218             Maciej W. Rozycki  <macro@imgtec.com>
1220         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
1221         `.Lno_weak_fn' label.
1222         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
1223         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
1225 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1226             Yury Norov  <ynorov@caviumnetworks.com>
1228         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
1229         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
1230         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1231         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
1232         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1233         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
1234         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1235         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1236         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1237         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
1238         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1239         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
1240         (sysdep_routines): Remove oldgetrlimit64.
1241         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
1242         (sysdep_routines): Likewise.
1243         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
1244         (sysdep_routines): Likewise.
1245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1246         [$(subdir) = resource] (sysdep_routines): Likewise.
1247         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
1248         [$(subdir) = resource] (sysdep_routines): Likewise.
1249         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
1250         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
1251         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
1252         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
1253         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
1254         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
1255         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
1256         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
1257         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
1258         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
1259         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
1260         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
1261         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
1262         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
1263         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
1264         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
1265         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
1266         setrlimit and getrlimit.
1267         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1268         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
1269         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
1270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
1271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
1272         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
1273         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
1274         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1275         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
1276         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
1277         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
1278         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
1279         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
1280         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
1281         (__old_getrlimit64): Add compatibility symbol.
1282         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
1284 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
1286         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
1287         newly built gmp, mpfr and mpc.
1289         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
1291 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
1293         * conform/Makefile (linknamespace-libs): Rename to
1294         linknamespace-libs-thr.
1295         (linknamespace-libs-posix): New variable.
1296         (linknamespace-libs-xsi): Likewise.
1297         (linknamespace-libs-XPG3): Include libcrypt.a.
1298         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
1299         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
1300         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
1301         (linknamespace-libs-XOPEN2K): Likewise.
1302         (linknamespace-libs-XOPEN2K8): Likewise.
1303         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
1305         [BZ #20829]
1306         * stdio-common/Versions (__snprintf): Add to version
1307         GLIBC_PRIVATE.
1308         * include/stdio.h (__snprintf): Use libc_hidden_proto.
1309         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
1310         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
1311         of snprintf.
1312         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1314 2016-11-16  Zack Weinberg  <zackw@panix.com>
1316         * string/string.h: Remove obsolete comment stating that
1317         strcoll_l and strxfrm_l have not yet been standardized.
1319 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1321         * hurd/hurd.h (__hurd_fail_noerrno): New function.
1322         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
1323         __access_noerrno.
1324         * io/access.c (__access_noerrno): New function.
1325         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
1326         (hurd_fail_seterrno): Likewise.
1327         (access_common): Likewise.
1328         (__access_noerrno): Likewise.
1329         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
1330         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
1331         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
1332         macro.
1334 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
1336         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
1337         Only declare fpregs if [__SH_FPU_ANY__].
1339 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
1341         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
1342         Make code unconditional.
1343         [!(__SH4__ || __SH4A__)]: Remove conditional code.
1345 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
1347         * manual/sysinfo.texi (S_APPEND): Delete.
1348         (S_IMMUTABLE): Likewise.
1350 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
1351             Magnus Granberg  <zorry@gentoo.org>
1352             Mike Frysinger  <vapier@gentoo.org>
1354         [BZ #20662]
1355         * configure.ac (libc_cv_predef_stack_protector): Also check for
1356         __stack_chk_fail_local symbols.
1357         * configure: Regenerated.
1359 2016-11-15  Florian Weimer  <fweimer@redhat.com>
1361         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
1362         (libc_hidden_def): Remove redefinition.
1363         (__sigsetjmp): Add hidden definition.
1364         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
1365         (libc_hidden_def): Remove redefinition.
1366         (__sigsetjmp): Add hidden definition.
1368 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
1370         * scripts/build-many-glibcs.py (os.path): Do not import.
1371         (Context): Inherit explicitly from object.  Remove blank line
1372         between class and docstring.
1373         (Config): Likewise.
1374         (Glibc): Likewise.
1375         (Command): Likewise.
1376         (CommandList): Likewise.
1377         (Context.write_files): Store chmod mode in a variable.
1379         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
1380         LIBC_SLIBDIR_RTLDDIR for tilegx32.
1381         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
1383 2016-11-14  Zack Weinberg  <zackw@panix.com>
1385         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
1386         creating or re-creating it.
1388         * string/bits/string2.h: Fix typo in comment.
1390 2016-11-14  Zack Weinberg  <zackw@panix.com>
1392         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
1393         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
1394         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
1395         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
1396         of redirected function names.
1398         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
1399         as well.  Document that MESSAGE must be a single string literal.
1401 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
1403         * scripts/build-many-glibcs.py: New file.
1405         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
1406         (do_test): Disable -Wmaybe-uninitialized around uses of
1407         except_mask.
1409         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
1411 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
1413         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
1414         (atomic_store_release): Provide tilepro-specific implementations.
1416 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
1418         * math/math.h (__MATH_TG): New macro.
1419         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
1420         [__USE_ISOC99] (signbit): Likewise.
1421         [__USE_ISOC99] (isfinite): Likewise.
1422         [__USE_ISOC99] (isnan): Likewise.
1423         [__USE_ISOC99] (isinf): Likewise.
1424         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
1425         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
1426         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
1427         __MATH_TG and __MATH_EVAL_FMT2.
1428         * sysdeps/generic/math_private.h (fabs_tg): Define using
1429         __MATH_TG.
1430         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
1431         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
1432         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
1433         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
1434         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
1435         macro.
1436         (__iscanonical): Likewise.
1437         (iscanonical): Define using __MATH_TG.
1439 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1441         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
1442         guards.
1444         * sysdeps/unix/sysv/linux/access.c: New file.
1445         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
1447 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
1449         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
1450         and __WORDSIZE32_PTRDIFF_LONG.
1452 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1454         * sysdeps/aarch64/libm-test-ulps: Regenerated.
1456 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1458         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
1459         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
1460         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
1461         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
1462         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
1463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
1464         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
1465         * sysdeps/unix/sysv/linux/truncate.c: New file.
1466         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
1467         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
1468         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
1469         Remove.
1470         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
1471         Likewise.
1473         * posix/tst-truncate-common.c: New file.
1474         * posix/tst-truncate.c: Use tst-truncate-common.c.
1475         * posix/tst-truncate64.c: Likewise and add LFS tests.
1476         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
1477         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
1478         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
1479         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
1480         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
1481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
1482         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
1483         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
1484         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
1485         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
1486         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
1487         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
1488         Remove.
1489         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
1490         Likewise.
1492 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
1494         [BZ #20790]
1495         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
1496         to MAXLINESIZE.
1497         * sunrpc/bug20790.x: New file.
1498         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
1499         variable.
1500         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
1501         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
1503         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
1505         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
1507         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
1508         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
1509         calloc, realloc, free, memalign and __libc_memalign rather than
1510         making them optional.
1512         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
1513         for libc.so.
1515 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1517         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
1518         ptw-lseek64.
1519         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
1520         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
1521         Likewise.
1522         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
1523         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
1524         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
1525         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
1526         * sysdeps/unix/sysv/linux/lseek.c: New file.
1527         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
1528         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
1529         __libc_lseek64 from auto-generation.
1530         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
1531         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
1533 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1535         * nptl/tst-basic1.c (tf, do_test): Use write_message.
1536         * nptl/tst-cleanup1.c (do_test): Likewise.
1537         * nptl/tst-cleanup3.c (do_test): Likewise.
1538         * nptl/tst-key1.c (do_test): Likewise.
1539         * nptl/tst-key2.c (tf, do_test): Likewise.
1540         * nptl/tst-key3.c (tf, do_test): Likewise.
1541         * nptl/tst-stdio1.c (do_test): Likewise.
1542         * nptl/tst-stdio2.c (do_test): Likewise.
1544         * nptl/tst-kill3.c (handler): Use write_message in place of write.
1545         * nptl/tst-kill6.c (handler): Likewise.
1546         * nptl/tst-tls2.c (CB): Likewise.
1547         * nptl/tst-tls3.c (CB): Likewise.
1549 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
1551         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
1553 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
1554             Steve Ellcey  <sellcey@caviumnetworks.com>
1556         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
1557           __ASSUME_ST_INO_64_BIT as 0
1558         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
1559         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
1560           over the code where __ASSUME_ST_INO_64_BIT is used.
1561         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
1562         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
1563         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
1565 2016-11-07  Florian Weimer  <fweimer@redhat.com>
1567         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1568         Document ABI exposure of the __kind offset.
1569         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1570         Mention reason for the __kind offset exposure in the ABI.
1571         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1572         Likewise.
1573         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1574         Likewise.
1575         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1576         Likewise.
1577         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
1578         (struct __pthread_mutex_s): Likewise.
1579         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1580         Likewise.
1581         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1582         Likewise.
1583         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1584         Likewise.
1585         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1586         Likewise.
1587         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1588         Likewise.
1589         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1590         Likewise.
1591         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
1592         (struct __pthread_mutex_s): Likewise.
1593         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1594         (struct __pthread_mutex_s): Likewise.
1595         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
1596         Likewise.
1598 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
1600         * test-skeleton.c: Document do_test usage.
1602 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
1604         * iconv/gconv.h (__gconv_info): Define __data element using a
1605         zero-length array.
1607 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
1609         * math/test-tgmath2.c: Split up test function.
1611 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
1613         * Rules (tests-expected): New variable, depending on
1614         $(run-built-tests).
1615         (tests): Pass $(tests-expected) to merge-test-results.sh, not
1616         $(tests).
1618         * Rules [$(run-built-tests) = no] (tests): Do not depend on
1619         $(tests-unsupported).
1621 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1623         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
1624         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
1626 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
1628         [BZ #20768]
1629         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
1630         __fegetenv instead of fegetenv.
1632         [BZ #14139]
1633         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
1634         (find_files): Obtain platform name from libm-test-ulps-name and
1635         store in %pplatforms.
1636         (canonicalize_platform): Remove.
1637         (print_platforms): Use $pplatforms directly.
1638         (by_platforms): Do not allow for platforms missing from
1639         %pplatforms.
1640         * sysdeps/aarch64/libm-test-ulps-name: New file.
1641         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
1642         * sysdeps/arm/libm-test-ulps-name: Likewise.
1643         * sysdeps/generic/libm-test-ulps-name: Likewise.
1644         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
1645         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
1646         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
1647         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
1648         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
1649         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
1650         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
1651         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
1652         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
1653         * sysdeps/nios2/libm-test-ulps-name: Likewise.
1654         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
1655         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
1656         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
1657         * sysdeps/sh/libm-test-ulps-name: Likewise.
1658         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
1659         * sysdeps/tile/libm-test-ulps-name: Likewise.
1660         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
1662         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
1664         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
1665         (test-xfail-check-execstack): New variable.
1667         * sysdeps/mips/localplt.data: New file.
1669 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
1670             Steve Ellcey  <sellcey@caviumnetworks.com>
1672         * bits/wordsize.h: Add documentation.
1673         * sysdeps/aarch64/bits/wordsize.h : New file
1674         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
1675         definitions.
1676         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
1677         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
1678         with #if instead of #ifdef.
1679         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
1680         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
1681         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
1682         Add or change defines.
1683         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
1684         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1685         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
1686         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
1687         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1688         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1689         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
1690         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
1691         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
1692         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1693         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
1694         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
1695         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
1696         * sysdeps/x86/bits/wordsize.h: Likewise.
1698 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
1699             Kevin Petit  <kevin.petit@arm.com>
1701         * sysdeps/aarch64/memchr.S (__memchr): New file.
1703 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
1705         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
1707 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
1709         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
1710         $(linknamespace-symlists-tests).
1712 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
1714         * time/tst-strptime2.c: Ignore -Wformat-length warning.
1716 2016-11-02  Florian Weimer  <fweimer@redhat.com>
1717             Carlos O'Donell  <carlos@redhat.com>
1719         [Bug #20729]
1720         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
1721         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
1722         for -Os related change.
1724 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
1726         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
1728 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
1730         [BZ #19673]
1731         * manual/math.texi (Exponents and Logarithms): Correct description
1732         of clog10.
1734 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
1736         [Bz #20729]
1737         * locale/weight.h: Include libc-internal.h.
1738         * locale/weightwc.h: Likewise.
1739         * nptl/nptl_dbP.h: Likewise.
1741 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
1743         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
1744         when it is MACH_PORT_NULL.
1746 2016-10-31  Andreas Schwab  <schwab@suse.de>
1748         [BZ #20707]
1749         * posix/glob.c (glob): Initialize pglob before checking for
1750         GLOB_BRACE.  Don't call glob recursively if pattern contains no
1751         valid brace expression despite GLOB_BRACE.
1752         * posix/globtest.sh: Test it.
1754 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
1756         [BZ #20729]
1757         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
1758         Define.
1759         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
1760         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
1761         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
1762         for seq2.back_us and seq1.back_us only for -Os compiles.
1763         * locale/weightwc.h (findix): Likewise.
1764         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
1765         DB_GET_FIELD_ADDRESS only for -Os compiles.
1766         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
1767         for slen only for -Os compiles.
1768         * string/strcoll_l.c (get_next_seq): Ignore
1769         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
1770         for -Os compiles.
1772         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
1773         * include/crypt.h: New file.
1775 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1777         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
1778         from test-skeleton.c.
1779         (statclass): Replace calls to write with calls to write_message.
1781 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
1783         * math/math.h
1784         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
1785         New macro.
1786         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
1787         Likewise.
1788         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
1789         Likewise.
1790         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
1791         SNANL.
1792         * math/test-double.h (snan_value_MACRO): New macro.
1793         * math/test-float.h (snan_value_MACRO): Likewise.
1794         * math/test-ldouble.h (snan_value_MACRO): Likewise.
1795         * math/libm-test.inc (issignaling_test_data): Add tests of
1796         snan_value_MACRO.
1798 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1800         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
1801         behavior when eliding a lock not held by the current thread.
1802         * sysdeps/powerpc/nptl/elide.h: Likewise.
1804 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1806         [BZ #20728]
1807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
1808         branch to _exit() by a function call.
1810 2016-10-28  Florian Weimer  <fweimer@redhat.com>
1812         * malloc/malloc.c: Update chunk layout comments.
1813         (chunk_main_arena): Update comment.
1815 2016-10-28  Florian Weimer  <fweimer@redhat.com>
1817         * crypt/sha256.c, crypt/sha256-block.c,
1818         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
1819         sha256_process_block to __sha256_process_block.
1820         * crypt/sha512.c, crypt/sha512-block.c,
1821         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
1822         sha512_process_block to __sha512_process_block.
1824 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
1826         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
1828         * math/test-nan-overflow.c: Include stdlib.h for malloc.
1830 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
1832         [BZ #20019]
1833         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
1834         definition in unrelocated shared library.
1835         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1837 2016-10-28  Florian Weimer  <fweimer@redhat.com>
1839         [BZ #20729]
1840         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
1841         * sysdeps/unix/sysv/linux/i386/Makefile
1842         (uses-6-syscall-arguments): Define.
1843         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
1844         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
1845         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
1846         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
1847         Likewise.
1848         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
1849         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
1850         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
1851         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
1852         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
1853         (CFLAGS-fallocate64.os): Likewise.
1854         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
1855         (CFLAGS-pthread_rwlock_timedrdlock.os)
1856         (CFLAGS-pthread_rwlock_timedwrlock.o)
1857         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
1858         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
1859         (CFLAGS-sem_timedwait.os): Likewise.
1861 2016-10-28  Florian Weimer  <fweimer@redhat.com>
1863         * elf/tst-linkall-static.c: New file.
1864         * elf/Makefile (tests-static): Add tst-linkall-static.
1865         (tst-linkall-static): Link against static libraries.
1867 2016-10-27  Florian Weimer  <fweimer@redhat.com>
1869         * malloc/malloc.c (sysmalloc): Initialize previous size field of
1870         mmaped chunks.
1872 2016-10-28  Florian Weimer  <fweimer@redhat.com>
1874         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
1875         members to mchunk_prev_size, mchunk_size.
1876         (chunk_main_arena): Reverse sense and rename from
1877         chunk_non_main_arena.
1878         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
1879         mchunk_size instead of size.
1880         (set_non_main_arena): Define.
1881         (chunksize): Use chunksize_nomask instead of direct member access.
1882         (chunksize_nomask): Define.
1883         (next_chunk): Use chunksize instead of direct member access.
1884         (prev_size, set_prev_size): Define.
1885         (prev_chunk): Use prev_size instead of direct member access.
1886         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
1887         (inuse_bit_at_offset, set_inuse_bit_at_offset)
1888         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
1889         (mchunk_prev_size, mchunk_size): Poison tokens.
1890         (unlink): Use chunksize_nomask, prev_size accessors.
1891         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
1892         (do_check_free_chunk): Use prev_size accessor.
1893         (sysmalloc): Use set_prev_size, set_head accessors.
1894         (munmap_chunk, mremap_chunk): Use prev_size accessor.
1895         (__libc_free): Use chunksize_nomask accessor.
1896         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
1897         chunk_main_arena accessors.
1898         (_int_free): Use chunksize_nomask, prev_size accessors.
1899         (malloc_consolidate): Use chunksize, prev_size accessors.
1900         (_int_realloc): Use chunksize_nomask accessor.
1901         (_int_memalign): Use set_prev_size accessor.
1902         (__malloc_info): Use chunksize_nomask accessor.
1903         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
1904         accessors.
1905         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
1906         (heap_trim): Use chunksize_nomask, prev_size accessors.
1908 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
1910         [BZ #19380]
1911         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
1912         for inexact results.
1913         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
1914         of inexact result where mpfr_subnormalize is the only inexact
1915         step.
1916         * stdlib/tst-strtod-round-data.h: Regenerated.
1917         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
1918         Define to 0.
1919         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
1921 2016-10-27  David S. Miller  <davem@davemloft.net>
1923         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
1925 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1927         * malloc/malloc.c (do_set_mallopt_check): New function.
1928         (do_set_mmap_threshold): Likewise.
1929         (do_set_mmaps_max): Likewise.
1930         (do_set_top_pad): Likewise.
1931         (do_set_perturb_byte): Likewise.
1932         (do_set_trim_threshold): Likewise.
1933         (do_set_arena_max): Likewise.
1934         (do_set_arena_test): Likewise.
1935         (__libc_mallopt): Use them.
1937 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
1939         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1940         (canonicalize): New declaration.
1941         * math/Versions (canonicalize): New libm symbol at version
1942         GLIBC_2.25.
1943         (canonicalizef): Likewise.
1944         (canonicalizel): Likewise.
1945         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
1946         * math/s_canonicalize_template.c: New file.
1947         * math/libm-test.inc: Update comment on functions tested and
1948         testing of NaN payloads.
1949         (TEST_NAN_PAYLOAD): New macro.
1950         (NO_TEST_INLINE): Update value.
1951         (XFAIL_TEST): Likewise.
1952         (ERRNO_UNCHANGED): Likewise.
1953         (ERRNO_EDOM): Likewise.
1954         (ERRNO_ERANGE): Likewise.
1955         (IGNORE_RESULT): Likewise.
1956         (NON_FINITE): Likewise.
1957         (TEST_SNAN): Likewise.
1958         (NO_TEST_MATHVEC): Likewise.
1959         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
1960         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
1961         (struct test_Ffp_b1_data): New type.
1962         (RUN_TEST_Ffp_b1): New macro.
1963         (RUN_TEST_LOOP_Ffp_b1): Likewise.
1964         (canonicalize_test_data): New array.
1965         (canonicalize_test): New function.
1966         (main): Call canonicalize_test.
1967         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
1968         canonicalizef and canonicalizel.
1969         * manual/libm-err-tab.pl: Update comment on interfaces without
1970         ulps tabulated.
1971         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
1972         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
1973         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1974         canonicalize.
1975         (CFLAGS-nldbl-canonicalize.c): New variable.
1976         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
1977         to ...
1978         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
1979         ... here.
1980         (do_test): Also test canonicalizel.
1981         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
1982         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
1983         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
1984         file.
1985         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
1986         Use libm_hidden_def.
1987         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
1988         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
1989         (do_test): Also test canonicalizel.
1990         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
1991         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
1992         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
1993         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
1994         libm_hidden_def.
1995         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
1996         macro.
1997         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
1998         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
1999         * sysdeps/nacl/libm.abilist: Update.
2000         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2001         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2002         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2003         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2004         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2005         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2006         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2007         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2008         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2009         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2010         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2011         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2013         Likewise.
2014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2015         Likewise.
2016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2017         Likewise.
2018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2019         Likewise.
2020         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2021         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2022         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2023         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2024         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2025         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2026         Likewise.
2027         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2028         Likewise.
2029         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2030         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2031         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2033         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
2034         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2035         getpayload.
2036         (CFLAGS-nldbl-getpayload.c): New variable.
2038 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2040         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
2041         integer from the format string.
2043 2016-10-26  Florian Weimer  <fweimer@redhat.com>
2045         [BZ #19473]
2046         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
2047         declarations.
2048         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
2049         weak aliases.
2050         * malloc/hooks.c (__malloc_get_state): Remove definition.
2051         (malloc_get_state): New stub implementation as
2052         compatibility symbol.
2053         (malloc_set_state): Rename from __malloc_set_state.  Turn into
2054         compat symbol.
2055         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
2056         malloc_set_state.
2057         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
2059 2016-10-26  Florian Weimer  <fweimer@redhat.com>
2061         * iconvdata/iso646.c (enum variant): Drop illegal_var.
2062         (names): Turn into concatenation of strings.
2063         (gconv_init): Adapt iteration over names.
2065 2016-10-26  Florian Weimer  <fweimer@redhat.com>
2067         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
2068         make const.
2069         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
2070         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
2071         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
2072         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
2073         character in sbconv.
2074         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
2075         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
2076         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
2078 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2080         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
2082         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
2083         (M_TRIM_THRESHOLD): Likewise.
2085         * manual/memory.texi (M_ARENA_TEST): Add documentation.
2086         (M_ARENA_MAX): Likewise.
2087         * malloc/malloc.c: Remove obsolete comment.
2089         * manual/memory.texi: Add environment variable alternatives to
2090         setting mallopt parameters.
2092 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
2094         * include/atomic.h
2095         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
2096         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
2098 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2100         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
2101         * stdlib/tst-strfrom.h: New file.
2102         * stdlib/tst-strfrom.c: New file.
2103         * stdlib/tst-strfrom-locale.c: New file.
2105         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
2106         * stdlib/bug-strtod2.c: Likewise.
2107         * stdlib/tst-strtod-round-skeleton.c: Likewise.
2108         * stdlib/tst-strtod6.c: Likewise.
2109         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
2111 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2113         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
2114         * manual/arith.texi: Document strfromd, strfromf, strfroml.
2115         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
2116         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
2117         * stdlib/stdlib.h (strfromd): New declaration.
2118         (strfromf): Likewise.
2119         (strfroml): Likewise.
2120         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
2121         strfrom.
2122         * stdlib/strfromd.c: New file.
2123         * stdlib/strfromf.c: Likewise.
2124         * stdlib/strfroml.c: Likewise.
2125         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
2126         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
2127         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
2128         * sysdeps/arm/nacl/libc.abilist: Update.
2129         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
2130         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2131         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2132         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2133         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2134         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2135         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2136         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2137         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2138         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2139         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2140         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2141         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2142         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
2144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
2145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2147         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2148         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2149         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2150         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2151         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2152         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2153         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2154         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2155         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2156         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2158 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
2160         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
2161         instead of cmpli.
2162         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
2163         instead of cmpli.
2165 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
2167         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
2168         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
2169         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
2170         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2171         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2172         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2174 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2176         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
2177         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2178         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
2179         SYSCALL_LL64_PRW.
2180         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2181         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
2182         __ASSUME_PRW_DUMMY_ARG.
2183         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
2184         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2185         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2186         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2187         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
2188         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
2190 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
2192         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
2194 2016-10-22  Florian Weimer  <fweimer@redhat.com>
2196         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
2197         "C++", to override a potential extern "C" directive around the
2198         header file inclusion.
2200 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
2202         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
2204 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2206         * sysdeps/powerpc/fpu/fenv_private.h:
2207         (_FPU_MASK_ALL): Rename to...
2208         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
2209         XE FPSCR bits.
2211         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
2213         (_FPU_MASK_ROUNDING): Rename to...
2214         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
2215         NI bits.
2217         (_FPU_MASK_EXCEPT_ROUND): Rename to...
2218         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
2219         bits and rounding bits.
2221         (__libc_feholdbits_ppc): New inline function to mask, set,
2222         and pontentially clear FSPCR bits, and change MSR[FE] bits.
2223         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
2224         (libc_feholdexcept_setround_ppc): Likewise.
2226         (__libc_femergeenv_ppc): New function to dynamically mask both
2227         old and new FP environments and merge.
2228         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
2229         (libc_feresetround_ppc): Likewise.
2230         (libc_feupdateenv_test_ppc): Likewise.
2231         (libc_feupdateenv_ppc): Likewise.
2233         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
2234         of ISA RN bits, and update macro names.
2235         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
2236         effectively the same as the previously mentioned function.
2238         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
2239         usage with fe_resetround_ppc.
2241         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
2242         to be used.
2243         (libc_feholdexcept_setround_ctxf): Likewise.
2244         (libc_feholdexcept_setround_ctxl): Likewise.
2246 2016-10-21  Florian Weimer  <fweimer@redhat.com>
2248         [BZ #20715]
2249         * math/math.h [__cplusplus] (iszero): Define as function template.
2250         * math/Makefile [CXX] (tests): Add test-math-iszero.
2251         (CFLAGS-test-math-iszero.cc): Set.
2252         * math/test-math-iszero.cc: New file.
2254 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
2256         [BZ #20660]
2257         * sysdeps/arm/e_sqrt.c: New file.
2258         * sysdeps/arm/e_sqrtf.c: Likewise.
2260 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
2262         [BZ #20718]
2263         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
2264         not use floating-point comparisons to test sign.
2265         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
2266         Likewise.
2268         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2269         (getpayload): New declaration.
2270         * math/Versions (getpayload): New libm symbol at version
2271         GLIBC_2.25.
2272         (getpayloadf): Likewise.
2273         (getpayloadl): Likewise.
2274         * math/Makefile (libm-calls): Add s_getpayloadF.
2275         * math/libm-test.inc: Include <nan-high-order-bit.h>.
2276         (struct test_f_f_data): Add comment.
2277         (RUN_TEST_fp_f): New macro.
2278         (RUN_TEST_LOOP_fp_f): Likewise.
2279         (getpayload_test_data): New array.
2280         (getpayload_test): New function.
2281         (main): Call getpayload_test.
2282         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
2283         descriptor.
2284         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
2285         getpayloadf and getpayloadl.
2286         * manual/libm-err-tab.pl: Update comment on interfaces without
2287         ulps tabulated.
2288         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
2289         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
2290         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
2291         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
2292         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
2293         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
2294         * sysdeps/nacl/libm.abilist: Update.
2295         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2296         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2297         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2298         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2299         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2300         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2301         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2302         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2303         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2304         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2305         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2306         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2308         Likewise.
2309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2310         Likewise.
2311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2312         Likewise.
2313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2314         Likewise.
2315         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2316         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2317         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2318         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2319         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2320         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2321         Likewise.
2322         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2323         Likewise.
2324         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2325         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2326         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2328 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2330         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
2331         tst-fallocate{64}.
2332         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
2333         on syscall return.
2335 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
2337         [BZ #20689]
2338         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
2339         usable.
2341 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
2343         * sysdeps/generic/nan-high-order-bit.h: New file.
2344         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
2345         * sysdeps/mips/nan-high-order-bit.h: Likewise.
2346         * sysdeps/hppa/math_private.h: Remove file.
2347         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
2348         not define here.
2349         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
2350         <nan-high-order-bit.h>.
2351         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2352         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
2353         <nan-high-order-bit.h>.
2354         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2355         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
2356         <nan-high-order-bit.h>.
2357         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2358         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
2359         <nan-high-order-bit.h>.
2360         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2361         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
2362         <nan-high-order-bit.h>.
2363         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2364         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
2365         <nan-high-order-bit.h>.
2366         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2367         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
2368         <nan-high-order-bit.h>.
2369         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2370         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
2371         <nan-high-order-bit.h>.
2372         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2373         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
2374         <nan-high-order-bit.h>.
2375         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2376         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
2377         <nan-high-order-bit.h>.
2378         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2379         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
2380         <nan-high-order-bit.h>.
2381         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2382         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
2383         <nan-high-order-bit.h>.
2384         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2385         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
2386         <nan-high-order-bit.h>.
2387         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2388         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
2389         <nan-high-order-bit.h>.
2390         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2391         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
2392         <nan-high-order-bit.h>.
2393         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2394         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
2395         <nan-high-order-bit.h>.
2396         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2397         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
2398         <nan-high-order-bit.h>.
2399         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2400         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
2401         <nan-high-order-bit.h>.
2402         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2404 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
2406         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
2408 2016-09-22  John David Anglin  <dave.anglin@bell.net>
2410         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
2411         abort-instr.h.
2412         (EFAULT): Remove conditional define.
2413         (ENOSYS): Likewise.
2414         (atomic_compare_and_exchange_val_acq): Use instruction nullification
2415         instead of conditional branch instructions.
2417 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
2419         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2420         (totalordermag): New declaration.
2421         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
2422         New macro.
2423         * math/Versions (totalordermag): New libm symbol at version
2424         GLIBC_2.25.
2425         (totalordermagf): Likewise.
2426         (totalordermagl): Likewise.
2427         * math/Makefile (libm-calls): Add s_totalordermagF.
2428         * math/libm-test.inc (totalordermag_test_data): New array.
2429         (totalordermag_test): New function.
2430         (main): Call totalordermag_test.
2431         * math/test-tgmath.c (NCALLS): Increase to 125.
2432         (F(compile_test)): Call totalordermag.
2433         (F(totalordermag)): New function.
2434         * manual/arith.texi (FP Comparison Functions): Document
2435         totalordermag, totalordermagf and totalordermagl.
2436         * manual/libm-err-tab.pl: Update comment on interfaces without
2437         ulps tabulated.
2438         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
2439         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
2440         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
2441         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
2442         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
2443         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
2444         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
2445         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2446         totalordermag.
2447         (CFLAGS-nldbl-totalordermag.c): New variable.
2448         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
2449         (do_test): Also test totalordermagl.
2450         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
2451         Likewise.
2452         * sysdeps/nacl/libm.abilist: Update.
2453         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2454         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2455         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2456         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2457         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2458         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2459         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2460         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2461         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2462         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2463         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2464         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2466         Likewise.
2467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2468         Likewise.
2469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2470         Likewise.
2471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2472         Likewise.
2473         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2474         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2475         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2476         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2477         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2478         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2479         Likewise.
2480         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2481         Likewise.
2482         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2483         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2484         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2486 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
2488         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
2489         boolean.
2491 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
2493         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
2494         raising FE_INVALID with feraisexcept in case where part of
2495         argument is infinite, subtract that part of argument from itself.
2496         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
2497         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
2498         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
2500 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
2502         * math/libm-test.inc (totalorder_test_data): Add more tests.
2504 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
2506         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
2507         Undefine weak_alias and add a comment why mips64 require
2508         versioning.
2510 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
2512         [BZ #20647]
2513         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
2514         maximum CPUID level is less than 2.
2516 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
2518         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2519         (totalorder): New declaration.
2520         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
2521         New macro.
2522         * math/Versions (totalorder): New libm symbol at version
2523         GLIBC_2.25.
2524         (totalorderf): Likewise.
2525         (totalorderl): Likewise.
2526         * math/Makefile (libm-calls): Add s_totalorderF.
2527         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
2528         string.
2529         * math/libm-test.inc (PAYLOAD_DIG): New macro.
2530         (qnan_value_pl): Likewise.
2531         (snan_value_pl): Likewise.
2532         (qnan_value): Define using qnan_value_pl.
2533         (snan_value): Define using snan_value_pl.
2534         (struct test_ff_i_data): Add comment about which tests use this
2535         structure.
2536         (RUN_TEST_ff_b): New macro.
2537         (RUN_TEST_LOOP_ff_b): Likewise.
2538         (totalorder_test_data): New array.
2539         (totalorder_test): New function.
2540         (main): Call totalorder_test.
2541         * math/test-tgmath.c (NCALLS): Increase to 122.
2542         (F(compile_test)): Call totalorder.
2543         (F(totalorder)): New function.
2544         * manual/arith.texi (FP Comparison Functions): Document
2545         totalorder, totalorderf and totalorderl.
2546         * manual/libm-err-tab.pl: Update comment on interfaces without
2547         ulps tabulated.
2548         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
2549         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
2550         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
2551         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
2552         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
2553         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
2554         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
2555         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2556         totalorder.
2557         (CFLAGS-nldbl-totalorder.c): New variable.
2558         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
2559         file.
2560         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
2561         Add test-totalorderl-ldbl-128ibm.
2562         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
2563         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
2564         test-totalorderl-ldbl-96.
2565         * sysdeps/nacl/libm.abilist: Update.
2566         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2567         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2568         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2569         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2570         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2571         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2572         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2573         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2574         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2575         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2576         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2577         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2579         Likewise.
2580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2581         Likewise.
2582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2583         Likewise.
2584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2585         Likewise.
2586         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2587         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2588         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2589         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2590         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2591         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2592         Likewise.
2593         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2594         Likewise.
2595         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2596         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2597         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2599 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2601         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
2602         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
2603         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
2604         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
2605         remove ENOSYS implementation.
2606         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
2607         Consolidate all Linux implementations.
2609 2016-10-11  Florian Weimer  <fweimer@redhat.com>
2611         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
2612         * resolv/herror.c (herror): Cast away const-ness.
2613         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
2614         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
2616 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
2618         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
2619         instead of M_NAN + M_NAN.
2620         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
2622 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2624         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
2625         unused variable 'p'.
2627 2016-10-09  Alan Modra  <amodra@gmail.com>
2628             Andreas Schwab  <schwab@linux-m68k.org>
2630         [BZ #20554]
2631         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
2632         [PIC && !SHARED]: Set up PIC register for PLT call.
2634 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
2636         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
2637         conditional on value of [__FLT_EVAL_METHOD__].
2638         * math/test-iseqsig-excess-precision.c: New file.
2639         * math/Makefile (tests): Add test-iseqsig-excess-precision.
2641 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2643         * math/s_iseqsig_template.c: Include math-private.h.
2645         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
2646         * posix/tst-posix_fadvise.c: New file.
2647         * posix/tst-posix_fadvise64.c: Likewise.
2648         * posix/tst-posix_fadvise-common.c: Likewise.
2649         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2650         (__ASSUME_FADVISE64_64_6ARG): Define.
2651         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2652         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
2653         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2654         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
2655         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
2656         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
2657         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
2658         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
2659         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
2660         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
2661         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
2662         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
2663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
2664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
2665         Likewise.
2666         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
2667         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
2668         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
2669         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
2670         Alias to __posix_fadvise64_l32.
2671         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
2672         Add compat definition to posix_fadvise64.
2673         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
2674         Add versioned definition to posix_fadvise64.
2675         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
2676         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
2677         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
2678         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
2679         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
2681         * io/Makefile (tests): Add tst-posix_fallocate and
2682         tst-posix_fallocate64.
2683         * io/tst-posix_fallocate-common.c: New file.
2684         * io/tst-posix_fallocate.c: Likewise.
2685         * io/tst-posix_fallocate64.c: Likewise.
2686         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
2687         file.
2688         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
2689         Likewise.
2690         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
2691         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
2692         Likewise.
2693         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
2694         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
2695         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
2696         SYSCALL_LL to pass both offset and len arguments.
2697         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
2698         Likewise.
2699         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
2700         __libc_pwrite64 alias used by posix_fallocate64.
2702         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
2703         tst-fallocate64.
2704         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
2705         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
2706         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
2707         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
2708         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
2709         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
2710         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
2711         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
2712         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
2713         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
2714         macro on offset argument.
2715         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
2716         SYSCALL_LL64 on offset argument.
2718         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
2719         tst-fallocate64.
2720         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
2721         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
2722         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
2723         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
2724         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
2725         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
2726         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
2727         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
2728         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
2729         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
2730         macro on offset argument.
2731         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
2732         SYSCALL_LL64 on offset argument.
2733         * test-skeleton.c (FAIL_RET): Add macro.
2734         (FAIL_EXIT): Likewise.
2735         (FAIL_EXIT1): Likewise.
2736         (_FAIL): Likewise.
2738 2016-10-07  Florian Weimer  <fweimer@redhat.com>
2740         [BZ #20629]
2741         resolv: Remove RES_USEBSTRING and its implementation.
2742         * resolv/resolv.h (RES_USEBSTRING): Remove.
2743         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
2744         (digitvalue, encode_bitstring, decode_bitstring): Remove.
2745         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
2746         (labellen): Remove extended label types support.
2747         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
2748         * resolv/res_init.c (res_setoptions): Likewise.
2749         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
2751 2016-10-07  Florian Weimer  <fweimer@redhat.com>
2753         resolv: Remove RES_NOIP6DOTINT and its implementation.
2754         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
2755         (RES_NOIP6DOTINT): Remove.
2756         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
2757         handling.
2758         * resolv/res_debug.c (p_option): Likewise.
2759         * resolv/res_init.c (res_setoptions): Likewise.
2760         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
2762 2016-10-07  Florian Weimer  <fweimer@redhat.com>
2764         resolv: Deprecate unimplemented flags.
2765         * misc/sys/cdefs.h (__glibc_macro_warning1)
2766         (__glibc_macro_warning): Define.
2767         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
2768         (RES_KEEPTSIG): Mark as deprecated.
2769         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
2770         RES_NOCHECKNAME, RES_KEEPTSIG.
2771         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
2773 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2775         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
2776         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
2777         Use strong_alias to create symbols for glibc verison 2.19.
2779 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2781         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
2783 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2785         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
2787 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2789         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
2791 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2793         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
2794         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
2795         in header for using it as type for ifunc function because __GI_* symbols
2796         for ppc32 do not target the ifunc symbols.
2797         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
2799 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2801         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
2802         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
2803         libc_ifunc_hidden_def.
2804         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
2805         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
2806         Redirect ifunced function in header for using it as type of ifunc'ed
2807         function. Redefine libc_hidden_def to use fallback non ifunc'ed
2808         function for __GI_* symbol.
2809         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
2810         * include/libc-symbols.h
2811         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
2813 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2815         [BZ #20478]
2816         * sysdeps/s390/multiarch/ifunc-resolve.h
2817         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
2818         to create ifunc symbols.
2819         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
2820         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
2821         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
2822         for using it as type for ifunc function.
2823         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
2824         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
2825         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
2826         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
2827         * sysdeps/s390/multiarch/strcat.c: Likewise.
2828         * sysdeps/s390/multiarch/strchr.c: Likewise.
2829         * sysdeps/s390/multiarch/strcmp.c: Likewise.
2830         * sysdeps/s390/multiarch/strcpy.c: Likewise.
2831         * sysdeps/s390/multiarch/strcspn.c: Likewise.
2832         * sysdeps/s390/multiarch/strlen.c: Likewise.
2833         * sysdeps/s390/multiarch/strncmp.c: Likewise.
2834         * sysdeps/s390/multiarch/strncpy.c: Likewise.
2835         * sysdeps/s390/multiarch/strnlen.c: Likewise.
2836         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
2837         * sysdeps/s390/multiarch/strrchr.c: Likewise.
2838         * sysdeps/s390/multiarch/strspn.c: Likewise.
2839         * sysdeps/s390/multiarch/wcschr.c: Likewise.
2840         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
2841         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
2842         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
2843         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
2844         * sysdeps/s390/multiarch/wmemset.c: Likewise.
2845         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
2846         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
2847         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
2848         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
2849         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
2850         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
2852 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2854         * include/libc-symbols.h (__ifunc_resolver):
2855         New macro is used by __ifunc* macros.
2856         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
2857         depending on HAVE_GCC_IFUNC.
2858         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
2859         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
2860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
2861         Redirect ifunced function in header for using as type for ifunc function.
2862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
2863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
2864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
2865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
2866         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
2867         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
2868         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
2869         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
2870         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
2871         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
2872         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
2873         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
2874         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
2875         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
2876         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
2877         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
2878         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
2879         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
2880         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
2881         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
2882         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
2883         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
2884         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
2885         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
2886         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
2887         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
2888         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
2889         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
2890         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
2891         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
2892         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
2893         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
2894         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
2895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
2896         Add libc_hidden_def() and use libc_ifunc_hidden() macro
2897         instead of libc_ifunc() macro.
2898         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
2899         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
2901 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2903         * config.h.in (HAVE_GCC_IFUNC): New undef.
2904         * configure.ac: Add check if gcc supports attribute ifunc feature.
2905         * configure: Regenerated.
2906         * manual/install.texi: Add recommendation for gcc with
2907         indirect-function support.
2908         * INSTALL: Regenerated.
2910 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
2912         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
2913         macro.
2914         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2915         (__iseqsig): New declaration.
2916         * math/s_iseqsig_template.c: New file.
2917         * math/Versions (__iseqsigf): New libm symbol at version
2918         GLIBC_2.25.
2919         (__iseqsig): Likewise.
2920         (__iseqsigl): Likewise.
2921         * math/libm-test.inc (iseqsig_test_data): New array.
2922         (iseqsig_test): New function.
2923         (main): Call iseqsig_test.
2924         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
2925         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
2926         * manual/libm-err-tab.pl: Update comment on interfaces without
2927         ulps tabulated.
2928         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
2929         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
2930         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
2931         * sysdeps/nacl/libm.abilist: Update.
2932         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2933         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2934         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2935         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2936         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2937         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2938         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2939         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2940         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2941         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2942         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2943         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2945         Likewise.
2946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2947         Likewise.
2948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2949         Likewise.
2950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2951         Likewise.
2952         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2953         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2954         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2955         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2956         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2957         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2958         Likewise.
2959         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2960         Likewise.
2961         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2962         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2963         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2965 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2967         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
2968         do_sincos_2, sloww, sloww1): Update comments.
2970         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
2971         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
2973         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
2974         K boolean and rename it.
2975         (__sin): Adjust.
2976         (__cos): Adjust.
2978 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
2979             Siddhesh Poyarekar  <siddhesh@sourceware.org>
2981         * manual/nss.texi: Fix typos in the manual.
2983 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
2985         * manual/contrib.texi: Fix typos in the manual.
2987         * manual/maint.texi: Fix typos in the manual.
2989         * manual/install.texi: Fix typos in the manual.
2990         * INSTALL: Regenerated.
2992         * manual/lang.texi: Fix typos in the manual.
2994         * manual/probes.texi: Fix typos in the manual.
2996         * manual/threads.texi: Fix typos in the manual.
2998         * manual/debug.texi: Fix typos in the manual.
3000         * manual/crypt.texi: Fix typos in the manual.
3002         * manual/conf.texi: Fix typos in the manual.
3004         * manual/sysinfo.texi: Fix typos in the manual.
3006         * manual/users.texi: Fix typos in the manual.
3008         * manual/job.texi: Fix typos in the manual.
3010         * manual/process.texi: Fix typos in the manual.
3012         * manual/argp.texi: Fix typos in the manual.
3013         * manual/getopt.texi: Likewise.
3014         * manual/startup.texi: Likewise.
3016         * manual/signal.texi: Fix typos in the manual.
3018         * manual/setjmp.texi: Fix typos in the manual.
3020         * manual/resource.texi: Fix typos in the manual.
3022         * manual/time.texi: Fix typos in the manual.
3024         * manual/arith.texi: Fix typos in the manual.
3026         * manual/math.texi: Fix typos in the manual.
3028         * manual/syslog.texi: Fix typos in the manual.
3030         * manual/terminal.texi: Fix typos in the manual.
3032         * manual/socket.texi: Fix typos in the manual.
3034         * manual/filesys.texi: Fix typos in the manual.
3036         * manual/llio.texi: Fix typos in the manual.
3038         * manual/stdio.text: Fix typos in the manual.
3040 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3042         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
3043         instead of K1.
3045         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
3046         SHIFT_QUADRANT and make it bool.
3047         (do_sincos_2): Likewise.
3048         (sloww): Likewise.
3049         (sloww1): Likewise.
3050         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
3051         (__cos): Likewise.
3053 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3055         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
3057 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
3059         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
3060         Define to __WORDSIZE, not conditional on [LONG_MAX ==
3061         0x7fffffffL].
3062         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
3064 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3066         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
3067         inline by __inline__.
3068         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
3069         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
3070         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
3071         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
3072         sigset_t from signal.h.
3073         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
3074         which is already required.
3076 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
3078         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3080 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
3082         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
3083         (struct tcp_repair_window): New type.
3085 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3087         * libio/tst-memstream3.c: Include string.h.
3089 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3091         [BZ #18241]
3092         [BZ #20181]
3093         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
3094         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
3095         write position is at the end the buffer.
3096         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
3097         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
3098         (_IO_str_seekoff): Set correct offset from negative displacement and
3099         set EINVAL for invalid ones.
3100         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
3101         buffer length.
3102         (_IO_wstr_switch_to_get_mode): New function.
3103         (_IO_wstr_seekoff): Set correct offset from negative displacement and
3104         set EINVAL for invalid ones.
3105         * libio/tst-memstream3.c: New file.
3106         * libio/tst-wmemstream3.c: Likewise.
3107         * manual/examples/memstrm.c: Remove warning when priting size_t.
3109 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
3111         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
3112         macro to use __builtin_fma.
3113         * sysdeps/x86_64/fpu/dla.h: Remove file.
3115         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
3116         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
3117         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
3119 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
3121         [BZ #20292]
3122         * elf/Makefile (routines): Add dl-addr-obj.
3123         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
3124         tst-_dl_addr_inside_object.
3125         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
3126         [ifeq (yesyes,$(have-fpie)$(build-shared))]
3127         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
3128         [ifeq (yesyes,$(have-fpie)$(build-shared))]
3129         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
3130         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
3131         * elf/dl-open.c: Likewise.
3132         * elf/dl-addr-obj.c: New file.
3133         * elf/tst-_dl_addr_inside_object.c: New file.
3135 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
3137         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
3138         <bits/iscanonical.h>.
3139         * bits/iscanonical.h: New file.
3140         * math/s_iscanonicall.c: Likewise.
3141         * math/Versions (__iscanonicall): New libm symbol at version
3142         GLIBC_2.25.
3143         * math/libm-test.inc (iscanonical_test_data): New array.
3144         (iscanonical_test): New function.
3145         (main): Call iscanonical_test.
3146         * math/Makefile (headers): Add bits/iscanonical.h.
3147         (type-ldouble-routines): Add s_iscanonicall.
3148         * manual/arith.texi (Floating Point Classes): Document
3149         iscanonical.
3150         * manual/libm-err-tab.pl: Update comment on interfaces without
3151         ulps tabulated.
3152         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
3153         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
3154         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
3155         Likewise.
3156         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
3157         test-iscanonical-ldbl-128ibm.
3158         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
3159         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
3160         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
3161         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
3162         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3163         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3164         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3166         Likewise.
3167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3168         Likewise.
3169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3170         Likewise.
3171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3172         Likewise.
3173         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3174         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3176 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3178         * string/bits/string3.h: Remove C++ style comments.
3180 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3182         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
3183         instead of ternary condition.
3184         (do_sincos_2): Likewise.
3185         (__sin): Likewise.
3186         (__cos): Likewise.
3187         (slow): Likewise.
3188         (sloww): Likewise.
3189         (sloww1): Likewise.
3190         (bsloww): Likewise.
3191         (bsloww1): Likewise.
3193         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
3194         instead of ternary condition.
3195         (do_sin_slow): Likewise.
3196         (do_sincos_1): Likewise.
3197         (do_sincos_2): Likewise.
3198         (__cos): Likewise.
3199         (sloww): Likewise.
3200         (sloww1): Likewise.
3201         (sloww2): Likewise.
3202         (bsloww): Likewise.
3203         (bsloww1): Likewise.
3204         (bsloww2): Likewise.
3206         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
3207         check from here...
3208         (slow2): ... and here...
3209         (__sin): ... to here.
3211 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
3213         * math/math.h
3214         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
3215         Cast argument to its own type.
3216         * math/test-iszero-excess-precision.c: New file.
3217         * math/Makefile (tests): Add test-iszero-excess-precision.
3218         (CFLAGS-test-iszero-excess-precision.c): New variable.
3220 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
3222         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
3223         field, add err field.
3224         (__spawni_child): Report error through err member instead of pipe.
3225         (__spawnix): Likewise.
3227 2016-09-28  Zack Weinberg  <zackw@panix.com>
3229         * scripts/check-installed-headers.sh: Generalize treatment of
3230         sys/elf.h to all target architectures.
3232         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
3233         deleted typedef ucontext_t.
3235 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3237         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
3238         (__INTERNAL_SYSCALL1): Likewise.
3239         (__INTERNAL_SYSCALL2): Likewise.
3240         (__INTERNAL_SYSCALL3): Likewise.
3241         (__INTERNAL_SYSCALL4): Likewise.
3242         (__INTERNAL_SYSCALL5): Likewise.
3243         (__INTERNAL_SYSCALL6): Likewise.
3244         (__INTERNAL_SYSCALL7): Likewise.
3245         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
3246         (__INTERNAL_SYSCALL_NARGS): Likewise.
3247         (__INTERNAL_SYSCALL_DISP): Likewise.
3248         (INTERNAL_SYSCALL_CALL): Likewise.
3249         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
3250         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
3251         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
3252         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
3253         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
3254         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
3255         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
3256         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
3257         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
3258         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
3259         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
3260         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
3261         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
3263 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
3265         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
3266         macro.
3267         * math/libm-test.inc (iszero_test_data): New array.
3268         (iszero_test): New function.
3269         (main): Call iszero_test.
3270         * manual/arith.texi (Floating Point Classes): Document iszero.
3271         * manual/libm-err-tab.pl: Update comment on interfaces without
3272         ulps tabulated.
3274 2016-09-23  Zack Weinberg  <zackw@panix.com>
3276         * scripts/check-installed-headers.sh: New script.
3277         * Rules: In each directory that defines header files to be installed,
3278         run check-installed-headers.sh on them as a special test.
3279         * Makefile: Likewise for the headers installed at top level.
3281         * include/aliases.h, include/alloca.h, include/argz.h
3282         * include/arpa/nameser.h, include/arpa/nameser_compat.h
3283         * include/elf.h, include/envz.h, include/err.h
3284         * include/execinfo.h, include/fpu_control.h, include/getopt.h
3285         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
3286         * include/link.h, include/malloc.h, include/mcheck.h
3287         * include/mntent.h, include/netinet/ether.h
3288         * include/nss.h, include/obstack.h, include/printf.h
3289         * include/pty.h, include/resolv.h, include/rpc/auth.h
3290         * include/rpc/auth_des.h, include/rpc/auth_unix.h
3291         * include/rpc/clnt.h, include/rpc/des_crypt.h
3292         * include/rpc/key_prot.h, include/rpc/netdb.h
3293         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
3294         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
3295         * include/rpc/rpc_msg.h, include/rpc/svc.h
3296         * include/rpc/svc_auth.h, include/rpc/xdr.h
3297         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
3298         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
3299         * include/rpcsvc/ypupd.h, include/shadow.h
3300         * include/stdio_ext.h, include/sys/epoll.h
3301         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
3302         * include/sys/prctl.h, include/sys/profil.h
3303         * include/sys/statfs.h, include/sys/sysctl.h
3304         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
3305         * sysdeps/arm/nacl/include/bits/setjmp.h
3306         * sysdeps/mips/include/sys/asm.h
3307         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
3308         * sysdeps/unix/sysv/linux/include/sys/timex.h
3309         * sysdeps/x86/fpu/include/bits/fenv.h:
3310         Add #ifndef _ISOMAC guard around internal declarations.
3311         Add multiple-inclusion guard if not already present.
3313 2016-09-23  Zack Weinberg  <zackw@panix.com>
3315         * sysdeps/generic/sys/ucontext.h
3316         * sysdeps/arm/sys/ucontext.h
3317         * sysdeps/i386/sys/ucontext.h
3318         * sysdeps/m68k/sys/ucontext.h
3319         * sysdeps/mips/sys/ucontext.h
3320         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
3321         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
3322         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
3323         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
3324         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
3325         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
3326         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
3327         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
3328         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
3329         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
3330         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
3331         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
3332         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
3333         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
3334         Include both bits/sigcontext.h and bits/sigstack.h.
3335         Fix grammar error in comment, if present.
3337         * bits/sigstack.h
3338         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
3339         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
3340         * sysdeps/unix/sysv/linux/bits/sigstack.h
3341         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
3342         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
3343         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
3344         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
3345         * bits/sigcontext.h
3346         * sysdeps/mach/hurd/i386/bits/sigcontext.h
3347         * sysdeps/unix/sysv/linux/bits/sigcontext.h
3348         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
3349         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
3350         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
3351         as well as signal.h, if this was not already allowed.  Request
3352         definition of size_t if necessary.  Minimize semantically-null
3353         differences across files.
3355 2016-09-23  Zack Weinberg  <zackw@panix.com>
3357         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
3358         Remove all logic conditional on __need macros.  Move all the
3359         conditionally defined types to their own headers...
3360         * time/bits/types/clock_t.h: Define clock_t here.
3361         * time/bits/types/clockid_t.h: Define clockid_t here.
3362         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
3363         * time/bits/types/struct_timespec.h: Define struct timespec here.
3364         * time/bits/types/struct_timeval.h: Define struct timeval here.
3365         * time/bits/types/struct_tm.h: Define struct tm here.
3366         * time/bits/types/time_t.h: Define time_t here.
3367         * time/bits/types/timer_t.h: Define timer_t here.
3368         * time/Makefile: Install the new headers.
3370         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
3371         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
3372         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
3373         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
3374         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
3375         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
3376         * sysdeps/unix/sysv/linux/bits/resource.h
3377         * sysdeps/unix/sysv/linux/bits/timex.h
3378         * sysdeps/unix/sysv/linux/mips/bits/resource.h
3379         * sysdeps/unix/sysv/linux/net/ppp_defs.h
3380         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
3381         * sysdeps/unix/sysv/linux/sys/acct.h
3382         * sysdeps/unix/sysv/linux/sys/timerfd.h
3383         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
3384         * time/sys/time.h, time/sys/timeb.h
3385         Use the new bits/types headers.
3387         * include/time.h: Remove __need logic.
3388         * include/bits/time.h
3389         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
3390         * include/bits/types/time_t.h, include/bits/types/timer_t.h
3391         * include/bits/types/struct_itimerspec.h
3392         * include/bits/types/struct_timespec.h
3393         * include/bits/types/struct_timeval.h
3394         * include/bits/types/struct_tm.h:
3395         New wrapper headers.
3397 2016-09-23  Zack Weinberg  <zackw@panix.com>
3399         * sysdeps/mach/hurd/net/if_ppp.h
3400         * sysdeps/unix/sysv/linux/net/if_ppp.h:
3401         Only define struct ifpppstatsreq and struct ifpppcstatsreq
3402         if __USE_MISC is defined, to ensure struct ifreq is declared.
3404         * inet/netinet/ether.h: Condition all function prototypes
3405         on __USE_MISC, to ensure struct ether_addr is declared.
3407         * socket/bits/types/struct_osockaddr.h: New header.
3408         * include/bits/types/struct_osockaddr.h: New wrapper.
3409         * socket/Makefile: Install the new header.
3410         * socket/sys/socket.h, inet/protocols/talkd.h:
3411         Refer to bits/types/struct_osockaddr.h for the definition of
3412         struct osockaddr.
3414 2016-09-23  Zack Weinberg  <zackw@panix.com>
3416         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
3417         * inet/protocols/routed.h, inet/protocols/talkd.h
3418         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
3419         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
3420         * sysdeps/generic/netinet/if_ether.h
3421         * sysdeps/generic/netinet/in_systm.h
3422         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
3423         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
3424         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
3425         * sysdeps/mach/hurd/net/if_arp.h
3426         * sysdeps/mach/hurd/net/if_ppp.h
3427         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
3428         * sysdeps/unix/sysv/linux/bits/in.h
3429         * sysdeps/unix/sysv/linux/net/ethernet.h
3430         * sysdeps/unix/sysv/linux/net/if_arp.h
3431         * sysdeps/unix/sysv/linux/net/if_ppp.h
3432         * sysdeps/unix/sysv/linux/net/if_shaper.h
3433         * sysdeps/unix/sysv/linux/net/route.h
3434         * sysdeps/unix/sysv/linux/netinet/if_ether.h
3435         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
3436         * sysdeps/unix/sysv/linux/netinet/if_tr.h
3437         * sysdeps/unix/sysv/linux/netipx/ipx.h
3438         * sysdeps/unix/sysv/linux/sys/acct.h
3439         * include/arpa/nameser.h, include/resolv.h:
3440         Change all uses of u_char to unsigned char,
3441         u_short and ushort to unsigned short, u_int and uint to unsigned int,
3442         u_long and ulong to unsigned long, u_int8_t to uint8_t,
3443         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
3444         and u_int64_t and u_quad_t to uint64_t.
3446         * mach/sys/reboot.h: Remove two casts of integer literals
3447         to the types they already have.
3449         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
3450         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
3451         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
3452         from referring to 'unsigned char' to 'uint8_t' for consistency with
3453         the macro definition below.
3455         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
3456         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
3457         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
3458         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
3459         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
3460         * sysdeps/unix/sysv/linux/sys/acct.h
3461         * include/arpa/nameser.h, include/resolv.h:
3462         Fix indentation disrupted by mechanical edits.
3464         * inet/protocols/talkd.h, resolv/arpa/nameser.h
3465         * sysdeps/generic/netinet/in_systm.h
3466         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
3467         * sysdeps/gnu/netinet/udp.h
3468         * sysdeps/unix/sysv/linux/net/ethernet.h
3469         * sysdeps/unix/sysv/linux/net/if_arp.h
3470         * sysdeps/unix/sysv/linux/net/if_ppp.h
3471         * sysdeps/unix/sysv/linux/net/if_shaper.h
3472         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
3473         * sysdeps/unix/sysv/linux/netinet/if_tr.h
3474         * sysdeps/unix/sysv/linux/netipx/ipx.h
3475         * sysdeps/unix/sysv/linux/sys/acct.h
3476         Include stdint.h for uintNN_t definitions.
3477         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
3479 2016-09-23  Zack Weinberg  <zackw@panix.com>
3481         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
3482         * sysdeps/unix/sysv/linux/netrose/rose.h:
3483         Include sys/socket.h and netax25/ax25.h.
3485         * inet/netinet/icmp6.h, inet/netinet/ip6.h
3486         * resolv/arpa/nameser_compat.h:
3487         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
3489         * sysdeps/unix/sysv/linux/sys/quota.h:
3490         Use __caddr_t instead of caddr_t.
3491         * sysdeps/unix/sysv/linux/sys/timerfd.h:
3492         Use __clockid_t instead of clockid_t.
3494         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
3496         * argp/argp.h: Check whether _LIBC is defined before expanding it.
3497         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
3498         expanding it.
3500         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
3501         Define __glibc_c99_flexarr_available to 1 when the compiler
3502         supports C99-compatible flexible array members, 0 otherwise.
3503         * sysdeps/unix/sysv/linux/bits/socket.h
3504         * sysdeps/mach/hurd/bits/socket.h
3505         * bits/socket.h: Use __glibc_c99_flexarr_available in
3506         definitions of struct cmsghdr and CMSG_DATA.
3508 2016-09-23  Florian Weimer  <fweimer@redhat.com>
3510         * manual/nss.texi (NSS Modules Interface): Adjust function return
3511         type to enum nss_status.  Document errnop argument.  Clarify
3512         h_errnop semantics.  Fix cross-reference formatting.
3513         (NSS Module Function Internals): Mention that *errnop needs to be
3514         set on failure, but not to zero.
3516 2016-09-23  Florian Weimer  <fweimer@redhat.com>
3518         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
3519         (get_random_name): New functions.
3520         (check_wrapper_flags_mode): Use linkat to give the new file a name
3521         determined by get_random_name.
3522         (do_test): Add calls to test open64 and openat64.
3524 2016-09-23  Florian Weimer  <fweimer@redhat.com>
3526         * test-skeleton.c: Remove #include <stdarg.h>.
3528 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
3530         [BZ #19826]
3531         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
3532         initialization of static TLS entries.
3533         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
3534         * nptl/allocatestack.c (init_one_static_tls): Likewise.
3536 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3538         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
3539         _hurd_malloc_fork_prepare.
3540         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
3541         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
3542         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
3543         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
3544         (_hurd_fork_child_hook): Drop malloc_fork_child.
3545         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
3546         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
3547         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
3548         after locking locks (notably hurd_dtable_lock). Call
3549         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
3550         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
3551         __malloc_fork_unlock_child.
3552         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
3554 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
3556         * soft-fp/extendhftf2.c: New.
3557         * soft-fp/fixhfti.c: Likewise.
3558         * soft-fp/fixunshfti.c: Likewise.
3559         * soft-fp/floattihf.c: Likewise.
3560         * soft-fp/floatuntihf.c: Likewise.
3561         * soft-fp/half.h: Likewise.
3562         * soft-fp/trunctfhf2.c: Likewise.
3564 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
3566         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
3567         macro.
3568         * math/libm-test.inc (issubnormal_test_data): New array.
3569         (issubnormal_test): New function.
3570         * manual/arith.texi (Floating Point Classes): Document
3571         issubnormal.
3572         * manual/libm-err-tab.pl: Update comment on interfaces without
3573         ulps tabulated.
3575         * sysdeps/generic/stdint.h: Define
3576         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3577         <bits/libc-header-start.h> instead of including <features.h>.
3578         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
3579         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
3580         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
3581         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
3582         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
3583         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
3584         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
3585         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
3586         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
3587         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
3588         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
3589         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
3590         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
3591         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
3592         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
3593         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
3594         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
3595         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
3596         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
3597         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
3598         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
3599         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
3600         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
3601         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
3602         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
3603         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
3604         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
3605         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
3606         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
3607         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
3608         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
3609         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
3610         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
3611         * manual/arith.texi (Integers): Document these macros for types
3612         specified by width properties.
3613         * manual/lang.texi (Width of Type): Document these macros for
3614         other standard typedefs.
3615         * stdlib/tst-width-stdint.c: New file.
3616         * stdlib/Makefile (tests): Add tst-width-stdint.
3618 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3620         [BZ #20016]
3621         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
3622         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
3623         Move ...
3624         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
3625         ... here, as compatibility symbols in a new file.
3626         * resolv/Makefile (libresolv-routines): Add compat-hooks.
3627         * resolv/res_init.c (__res_vinit): Adjust member names.
3628         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
3629         * resolv/resolv.h (res_sendhookact, res_send_qhook)
3630         (res_send_rhook): Remove.
3631         (struct __res_state): Rename qhook, rhook members.
3633 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3635         malloc: Use __libc_lock wrappers.
3636         * malloc/arena.c (list_lock, free_list_lock): Define using
3637         __libc_lock_define_initialized.
3638         (arena_lock): Adjust formatting.
3639         * malloc/malloc.c (struct malloc_state): Define mutex using
3640         __libc_lock_define.
3641         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
3642         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
3643         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
3644         (mutex_unlock, mutex_trylock): Remove.
3645         (__pthread_initialize): Remove unused macro.
3646         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
3647         (mutex_unlock, mutex_trylock): Remove.
3649 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3651         [BZ #20592]
3652         Remove RR type classification macros.
3653         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
3654         (ns_t_udp_p, ns_t_xfr_p): Remove.
3656 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3658         Remove misleading version information.
3659         * resolv/arpa/nameser.h (__NAMESER): Remove.
3660         * resolv/arpa/nameser_compat.h (__BIND): Remove.
3662 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3664         Remove the always-defined BIND_4_COMPAT macro.
3665         * resolv/arpa/nameser.h: Unconditionally include
3666         <arpa/nameser_compat.h>.
3667         (BIND_4_COMPAT): Remove.
3668         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
3670 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3672         [BZ #20591]
3673         Remove obsolete DNSSEC support.
3674         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
3675         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
3676         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
3677         (ns_verify_tcp, ns_verify_tcp_init): Remove.
3678         (ns_cert_types): Add comment.
3679         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
3680         separately.
3681         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
3682         (dst_s_dns_key_id): Remove.
3683         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
3684         variables.
3686 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3688         [BZ #20524]
3689         * manual/string.texi (String/Array Comparison): Clarify the
3690         strverscmp behavior.
3692 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3694         * test-skeleton.c (xasprintf): Add function.
3695         * io/tst-open-tmpfile.c: New test.
3696         * io/Makefile (tests): Add it.
3698 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3700         Avoid running $(CXX) during build to obtain header file paths.
3701         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
3702         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
3703         * Makerules (cstdlib, cmath): Remove variables.  Use
3704         $(c++-cstdlib-header), $(c++-cmath-header) instead.
3705         * configure: Regenerate.
3707 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3709         * Makeconfig (all-object-suffixes): Include .op only if
3710         $(build-profile).
3712 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3714         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
3715         conditionals.  Do not define PATH_MAX.
3717 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3719         * posix/Makefile (tests): Add tst-spawn3.
3720         * posix/tst-spawn3.c: New file.
3721         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
3722         if it is already opened for open action.
3724         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
3725         all signals when executing the clone vfork child.
3726         (SIGALL_SET): Remove macro.
3728         * nptl/Makefile (tests): Add tst-exec5.
3729         * nptl/tst-exec5.c: New file.
3730         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
3731         asynchronous cancellation.
3733 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3735         * hurd/exc2signal.c: #include <hurd/signal.h>
3736         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
3737         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
3738         accordingly.
3739         * mach/mach_error.c (mach_error): Fix old-style function definition.
3740         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
3742 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3744         * math/Makefile (libm-calls): Remove s_nanF.
3745         (gen-libm-calls): Add s_nanF.
3747         * math/s_nan.c: Refactor into ...
3748         * math/s_nan_template.c: New file.
3750         * math/s_nanf.c: Removed.
3751         * math/s_nanl.c: Removed.
3752         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
3753         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
3755         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
3756         (LDOUBLE_nanl_libm_version): New macro.
3758         * sysdeps/generic/math-type-macros-double.h:
3759         (M_STRTO_NAN): New macro.
3760         * sysdeps/generic/math-type-macros-float.h: Likewise.
3761         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
3763         * sysdeps/generic/math-type-macros.h: Document
3764         M_STRTO_NAN.
3766 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3768         * math/s_nanf.c: Remove __nanf undef.
3769         * math/s_nan.c: Remove __nan undef.
3770         * math/s_nanl.c: Remove __nanl undef.
3772         * sysdeps/generic/math_private.h (__nan): Remove macro
3773         override.
3774         (__nanf): Likewise.
3775         (__nanl): Likewise.
3777 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3779         * math/Makefile (gen-all-calls): New variable.
3780         (generated): Replace gen-libm-calls with gen-all-calls.
3781         (gen-libm-templates.stmp): Likewise.  Also, ensure
3782         the output directory exists or is created and add
3783         dependency on the Makefile.
3784         (calls): Move s_ldexpF into gen-calls.
3785         (gen-calls): New variable.
3787         * math/s_ldexpf.c: Removed.
3788         * math/s_ldexpl.c: Removed.
3789         * math/s_ldexp.c: Refactored into ...
3790         * math/s_ldexp_template.c: New file.
3792         * sysdeps/generic/math-type-macros-double.h: Remove
3793         redundant fall-through definition of declare_mgen_alias.
3794         (declare_mgen_alias_2): New macro.
3796         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
3797         New macro for function aliased to two exported symbols.
3799         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
3800         new template file.
3801         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
3803 2016-09-20  Florian Weimer  <fweimer@redhat.com>
3805         * Makeconfig (all-object-suffixes): Remove .og.
3806         * Makerules (elide-routines.og): Remove.
3807         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
3808         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
3809         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
3811 2016-09-20  Florian Weimer  <fweimer@redhat.com>
3813         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
3814         .os objects.
3816 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3818         [BZ #20615]
3819         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
3820         fpu directory by non-fpu.
3821         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
3822         on non-fpu directory from a fpu directory.
3824 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
3826         * include/limits.h: Define
3827         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3828         <bits/libc-header-start.h> instead of including <features.h>.
3829         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
3830         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
3831         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
3832         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
3833         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
3834         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
3835         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
3836         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
3837         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
3838         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
3839         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
3840         * manual/lang.texi (Width of Type): Document these macros.
3841         * stdlib/tst-width.c: New file.
3842         * stdlib/Makefile (tests): Add tst-width.
3844 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3846         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
3847         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
3849 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3851         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
3852         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
3853         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
3855 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3857         [BZ #18243]
3858         * rt/Makefile (test): Add tst-shm-cancel.
3859         * rt/tst-shm-cancel.c: New file.
3860         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
3862         [BZ #18243]
3863         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
3864         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
3865         definition.
3866         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
3867         uncontended case.
3868         * nptl/sem_wait.c (__new_sem_wait): Likewise.
3869         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
3870         (tf): Fix check for uncontended case.
3871         (do_test): Likewise.
3872         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
3873         (tf): Fix check for uncontended case.
3874         (do_test): Likewise.
3875         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
3876         (tf): Fix check for uncontended case.
3877         (do_test): Likewise.
3878         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
3879         (tf): Fix check for uncontended case.
3880         (do_test): Likewise.
3882         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
3883         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
3885         [BZ #15765]
3886         * nptl/Makefile (tests): Add tst-sem16.
3887         * nptl/tst-sem16.c: New file.
3888         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
3890         * nptl/sem_open.c (sem_open): Init pad value to 0.
3891         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
3892         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
3894 2016-09-15  Florian Weimer  <fweimer@redhat.com>
3896         [BZ #20611]
3897         * inet/Makefile (routines): Add inet6_scopeid_pton.
3898         (tests): Add tst-inet6_scopeid_pton.
3899         * inet/inet6_scopeid_pton.c: New file.
3900         * inet/net-internal.h: Likewise.
3901         * inet/tst-inet6_scopeid_pton.c: New test.
3902         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
3903         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
3904         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3906 2016-09-14  Florian Weimer  <fweimer@redhat.com>
3908         Remove support for compiling wrappers with PTW.
3909         * sysdeps/nptl/Makeconfig: Drop ptw- support.
3910         * nptl/Makefile (pthread-compat-wrappers): Define.
3911         (libpthread-routines): Use pthread-compat-wrappers.
3912         * sysdeps/unix/sysv/linux/alpha/Makefile
3913         (libpthread-routines, libpthread-shared-only-routines): Remove
3914         ptw- prefix.
3915         * sysdeps/s390/nptl/Makefile
3916         (libpthread-routines, libpthread-shared-only-routines): Likewise.
3917         * sysdeps/ia64/nptl/Makefile
3918         (libpthread-routines, libpthread-shared-only-routines): Likewise.
3919         * sysdeps/nacl/Makefile (libpthread-routines): Use
3920         pthread-compat-wrappers to filter the routines list instead of the
3921         ptw- prefix.
3923 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3925         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
3926         with L() and remove explicit suffix, convert real literals
3927         which can be equivalentally substituted with integers, and
3928         transform -L(x) to L(-x).
3930         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
3931         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3932         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
3933         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
3934         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
3935         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3936         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3937         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
3938         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
3939         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3940         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3941         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3942         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3943         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
3944         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
3945         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
3946         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
3947         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3948         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
3949         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
3950         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
3951         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
3952         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
3953         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3954         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
3955         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3956         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3957         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3958         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3959         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3960         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3961         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
3962         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3963         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3964         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3965         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3966         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3967         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3968         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3969         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3970         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3971         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3972         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3973         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
3974         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3975         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3976         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3977         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
3978         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
3979         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3981 2016-09-13  Florian Weimer  <fweimer@redhat.com>
3983         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
3985 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3987         * malloc/Makefile (tests): Remove individual static test names
3988         and just add all of tests-static.
3990         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
3992 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
3994         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
3995         file.
3997         * sysdeps/sparc/fpu/fegetmode.c: New file.
3998         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
4000         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
4001         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
4003         * sysdeps/s390/fpu/fegetmode.c: New file.
4004         * sysdeps/s390/fpu/fesetmode.c: Likewise.
4006         * sysdeps/powerpc/fpu/fegetmode.c: New file.
4007         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
4008         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
4009         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
4010         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
4011         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
4013         * sysdeps/mips/fpu/fegetmode.c: New file.
4014         * sysdeps/mips/fpu/fesetmode.c: Likewise.
4016         * sysdeps/m68k/fpu/fegetmode.c: New file.
4017         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
4019         * sysdeps/ia64/fpu/fegetmode.c: New file.
4020         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
4022         * sysdeps/hppa/fpu/fegetmode.c: New file.
4023         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
4025         * sysdeps/arm/fegetmode.c: New file.
4026         * sysdeps/arm/fesetmode.c: Likewise.
4028         * sysdeps/alpha/fpu/fegetmode.c: New file.
4029         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
4031         * sysdeps/aarch64/fpu/fegetmode.c: New file.
4032         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
4034         * math/fegetmode.c: New file.
4035         * math/fesetmode.c: Likewise.
4036         * sysdeps/i386/fpu/fegetmode.c: Likewise.
4037         * sysdeps/i386/fpu/fesetmode.c: Likewise.
4038         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
4039         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
4040         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
4041         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
4042         declaration.
4043         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
4044         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
4045         typedef.
4046         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4047         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4048         (femode_t): New typedef.
4049         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4050         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4051         (femode_t): New typedef.
4052         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4053         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4054         (femode_t): New typedef.
4055         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4056         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4057         (femode_t): New typedef.
4058         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4059         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4060         (femode_t): New typedef.
4061         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4062         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4063         (femode_t): New typedef.
4064         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4065         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4066         (femode_t): New typedef.
4067         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4068         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4069         (femode_t): New typedef.
4070         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4071         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4072         (femode_t): New typedef.
4073         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4074         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4075         (femode_t): New typedef.
4076         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
4077         declaration.
4078         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4079         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4080         (femode_t): New typedef.
4081         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4082         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4083         (femode_t): New typedef.
4084         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4085         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4086         (femode_t): New typedef.
4087         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4088         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4089         (femode_t): New typedef.
4090         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4091         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4092         (femode_t): New typedef.
4093         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4094         * manual/arith.texi (FE_DFL_MODE): Document macro.
4095         (fegetmode): Document function.
4096         (fesetmode): Likewise.
4097         * math/Versions (fegetmode): New libm symbol at version
4098         GLIBC_2.25.
4099         (fesetmode): Likewise.
4100         * math/Makefile (libm-support): Add fegetmode and fesetmode.
4101         (tests): Add test-femode and test-femode-traps.
4102         * math/test-femode-traps.c: New file.
4103         * math/test-femode.c: Likewise.
4104         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
4105         alias for __fe_dfl_env.
4106         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
4107         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
4108         (__fe_dfl_mode): Likewise.
4109         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
4110         version GLIBC_2.25.
4111         * sysdeps/nacl/libm.abilist: Update.
4112         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4113         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4114         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4115         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4116         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4117         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4118         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4119         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4120         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4121         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4122         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4123         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4125         Likewise.
4126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4127         Likewise.
4128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4129         Likewise.
4130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4131         Likewise.
4132         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4133         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4134         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4135         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4136         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4137         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4138         Likewise.
4139         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4140         Likewise.
4141         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4142         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4143         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4145 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
4147         [BZ #20495]
4148         [BZ #20508]
4149         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
4150         processors, set Use_dl_runtime_resolve_slow and set
4151         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
4152         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
4153         New.
4154         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
4155         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
4156         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
4157         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
4158         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
4159         if Use_dl_runtime_resolve_opt is set.  Use
4160         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
4161         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
4162         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
4163         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
4164         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
4165         New.
4166         (_dl_runtime_resolve_opt): Likewise.
4167         (_dl_runtime_profile): Define only if _dl_runtime_profile is
4168         defined.
4170 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
4172         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
4173         __libc_memalign with "+ RELA R_390_GLOB_DAT".
4175 2016-09-06  Florian Weimer  <fweimer@redhat.com>
4177         Convert malloc to __libc_lock.  Automated part, using this Perl
4178         s/// command:
4179           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
4180             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
4181         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
4182         conversion.
4184 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
4186         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
4187         (linknamespace-symlists-tests): Likewise.
4188         (linknamespace-header-tests): Likewise.
4190 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
4192         [BZ #19810]
4193         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
4194         * elf/tst-noload.c: New test case.
4195         * elf/Makefile (tests): Add tst-noload.
4197 2016-09-02  Roland McGrath  <roland@hack.frob.com>
4199         * sysdeps/nacl/dup.c: Add libc_hidden_def.
4201         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
4202         not any more.
4204         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
4206 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4208         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
4209         (do_cos_slow): Likewise.
4210         (do_sin): Likewise.
4211         (do_sin_slow): Likewise.
4212         (slow): Likewise.
4213         (slow1): Likewise.
4214         (slow2): Likewise.
4215         (sloww): Likewise.
4216         (sloww1): Likewise.
4217         (sloww2): Likewise.
4218         (bsloww): Likewise.
4219         (bsloww1): Likewise.
4220         (bsloww2): Likewise.
4221         (cslow2): Likewise.
4223         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
4225         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
4226         arguments.  Consolidate input partitioning from callers here.
4227         (do_cos_slow): Likewise.
4228         (do_sin): Likewise.
4229         (do_sin_slow): Likewise.
4230         (do_sincos_1): Remove the no longer necessary input partitioning.
4231         (do_sincos_2): Likewise.
4232         (__sin): Likewise.
4233         (__cos): Likewise.
4234         (slow1): Likewise.
4235         (slow2): Likewise.
4236         (sloww1): Likewise.
4237         (sloww2): Likewise.
4238         (bsloww1): Likewise.
4239         (bsloww2): Likewise.
4240         (cslow2): Likewise.
4242 2016-09-02  Florian Weimer  <fweimer@redhat.com>
4244         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
4245         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
4246         outside of allocated array.
4248 2016-09-02  Florian Weimer  <fweimer@redhat.com>
4250         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
4251         instead of MB_CUR_MAX to avoid variable-length array.
4253 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4255         * math/Makefile (libm-calls): Remove k_rem_pio2F.
4256         (type-double-routines): Add k_rem_pio2.
4257         (type-float-routines): Add k_rem_pio2f.
4259         * sysdeps/generic/math_private.h:
4260         (__kernel_rem_pio2l): Removed.
4262         * math/k_rem_pio2l.c: Removed.
4263         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
4264         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
4265         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
4266         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
4268 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4270         * math/Makefile (gen-libm-calls): Add s_fmin
4271         (libm-calls): Remove above.
4273         * math/s_fmin.c: Refactor into ...
4274         * math/s_fmin_template.c: New file.
4276         * math/s_fminf.c: Removed.
4277         * math/s_fminl.c: Removed.
4278         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
4279         (LDOUBLE_fmin_libm_version): New macro.
4281         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
4282         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
4284 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4286         * math/Makefile: (gen-libm-calls): Add s_fmax.
4287         (libm-calls): Remove above.
4289         * math/s_fmax.c: Refactor into ...
4290         * math/s_fmax_template.c: New file.
4291         * math/s_fmaxf.c: Removed.
4292         * math/s_fmaxl.c: Removed.
4294         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
4295         (LDOUBLE_fmaxl_libm_version): New macro.
4297         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
4298         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
4300         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
4301         s_fmin.c to pick the aarch64 version of the file.
4302         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
4303         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
4305 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4307         * math/Makefile: (gen-libm-calls): Add s_nextdown.
4308         (libm-calls): Remove above.
4310         * math/s_nextdown.c: Refactor into ...
4311         * math/s_nextdown_template.c: New file.
4312         * math/s_nextdownf.c: Removed.
4313         * math/s_nextdownl.c: Removed.
4315         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
4317 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4319         * math/Makefile (gen-libm-calls): Add s_fdim.
4320         (libm-calls): Move to above.
4322         * math/s_fdim.c: Renamed and refactored into to ...
4323         * math/s_fdim_template.c: New file.
4324         * math/s_fdiml.c: Removed.
4325         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
4326         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
4328         * sysdeps/generic/math-type-macros-double.h:
4329         (declare_mgen_alias): Don't declare if already declared.
4330         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
4331         Likewise.
4333         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
4334         (declare_mgen_alias): Don't declare if already declared.
4335         (M_LIBM_NEED_COMPAT): Likewise.
4336         (declare_mgen_libm_compat): Likewise.
4337         (LDOUBLE_fdiml_libm_version): New macro.
4339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
4340         Include math/s_fdim.c now that ldbl-opt version is not needed.
4341         (declare_mgen_alias): New macro to disable aliasing.
4343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
4344         (declare_mgen_alias): Likewise.
4345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
4346         (declare_mgen_alias): Likewise.
4347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
4348         (declare_mgen_alias): Likewise.
4349         (M_LIBM_NEED_COMPAT): Likewise.
4351 2016-09-01  Florian Weimer  <fweimer@redhat.com>
4353         [BZ #20525]
4354         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
4355         Include <linux/quota.h>.
4356         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
4357         and btodb.
4358         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
4359         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
4360         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
4361         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
4362         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
4363         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
4364         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
4365         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
4366         types.
4367         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
4368         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
4370 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4372         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
4373         (gammal_positive): Fix spacing.
4374         (__ieee754_gammal_r): Likewise.
4376 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4378         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
4379         (_Float128): Define as long double, always.
4380         (L): Apply long double type suffix, always.
4382         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
4383         _Float128, excepting comments.
4385         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4386         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4387         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4388         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4389         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4390         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4391         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4392         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
4393         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4394         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
4395         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4396         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4397         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4398         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4399         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4400         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4401         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4402         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4403         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4404         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4405         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4406         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
4407         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4408         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4409         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4410         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4411         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
4412         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
4413         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4414         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4415         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4416         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4417         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4418         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4419         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4420         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4421         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4422         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4423         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4424         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
4425         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4426         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4427         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4428         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4429         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4430         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4431         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4432         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4433         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4434         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4435         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4436         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4437         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4438         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4439         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
4440         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4441         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4442         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4443         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4444         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4445         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4446         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4447         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4448         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4449         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4450         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
4451         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4452         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4454         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
4455         _Float128, and include math_private.h.
4456         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4458         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
4459         long double semantics.
4460         (_Float128): Likewise.
4461         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
4462         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
4463         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
4464         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
4466 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
4468         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
4469         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
4470         * sysdeps/s390/configure: Regenerated.
4471         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
4472         instruction for raising over-/underflow if z196 zarch is supported
4473         by default.
4474         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
4476 2016-08-30  Svante Signell  <svante.signell@gmail.com>
4478         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
4479         it point to a dumb buffer for RPC to fill it.
4481 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4483         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
4484         instead of if/else.
4485         (do_sin_slow): Likewise.
4486         (do_sincos_1): Use fabs instead of if/else.
4487         (do_sincos_2): Likewise.
4488         (__sin): Likewise.
4489         (__cos): Likewise.
4490         (slow2): Likewise.
4491         (sloww): Likewise.
4492         (sloww1): Likewise.  Drop argument M.
4493         (sloww2): Use fabs instead of if/else.
4494         (bsloww): Likewise.
4495         (bsloww1): Likewise.
4496         (bsloww2): Likewise.
4498         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
4499         fall through comment.
4500         (do_sincos_1): Likewise.
4502         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
4503         Consolidate switch cases 0 and 2.
4505 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4507         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
4508         (libm-calls): Remove the above.
4510         * math/s_cexp_template.c: Update using type-generic macros.
4511         * math/s_clog10_template.c: Likewise.
4512         * math/s_cpow_template.c: Likewise.
4513         * math/s_clog_template.c: Likewise.
4514         * math/s_cproj_template.c: Likewise.
4515         * math/s_csqrt_template.c: Likewise.
4517         * math/s_cexp.c: Removed.
4518         * math/s_cexpf.c: Removed.
4519         * math/s_cexpl.c: Removed.
4520         * math/s_clog10.c: Removed.
4521         * math/s_clog10f.c: Removed.
4522         * math/s_clog10l.c: Removed.
4523         * math/s_cpow.c: Removed.
4524         * math/s_cpowf.c: Removed.
4525         * math/s_cpowl.c: Removed.
4526         * math/s_clog.c: Removed.
4527         * math/s_clogf.c: Removed.
4528         * math/s_clogl.c: Removed.
4529         * math/s_cproj.c: Removed.
4530         * math/s_cprojf.c: Removed.
4531         * math/s_cprojl.c: Removed.
4532         * math/s_csqrt.c: Removed.
4533         * math/s_csqrtf.c: Removed.
4534         * math/s_csqrtl.c: Removed.
4536         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
4537         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
4538         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
4539         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
4540         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
4541         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
4543         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
4544         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
4545         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
4546         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
4547         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
4548         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
4549         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
4550         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
4551         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
4552         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
4553         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
4555         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
4556         version.
4558         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
4559         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
4560         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
4561         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
4563 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4565         * s_cexp_template.c: Copy of s_cexp.c.
4566         * s_clog_template.c: Copy of s_clog.c.
4567         * s_clog10_template.c: Copy of s_clog10.c.
4568         * s_cpow_template.c: Copy of s_cpow.c.
4569         * s_cproj_template.c: Copy of s_cproj.c.
4570         * s_csqrt_template.c: Copy of s_csqrt.c.
4572 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4574         [BZ #20517]
4575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
4576         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
4577         exported.
4579 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
4581         * math/fetestexceptflag.c: New file.
4582         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
4583         Stefan Liebler.
4584         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4585         (fetestexceptflag): New function declaration.
4586         * manual/arith.texi (fetestexceptflag): Document function.
4587         * math/Versions (fetestexceptflag): New libm symbol at version
4588         GLIBC_2.25.
4589         * math/Makefile (libm-support): Add fetestexceptflag.
4590         (tests): Add test-fetestexceptflag.
4591         * math/test-fetestexceptflag.c: New file.
4592         * sysdeps/nacl/libm.abilist: Update.
4593         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4594         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4595         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4596         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4597         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4598         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4599         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4600         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4601         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4602         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4603         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4604         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4606         Likewise.
4607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4608         Likewise.
4609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4610         Likewise.
4611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4612         Likewise.
4613         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4614         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4615         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4616         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4617         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4618         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4619         Likewise.
4620         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4621         Likewise.
4622         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4623         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4624         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4626 2016-08-26  Florian Weimer  <fweimer@redhat.com>
4628         [BZ #20432]
4629         Avoid strong references to malloc-internal symbols when linking
4630         statically, to support statically interposed mallocs.
4631         * include/libc-symbols.h (call_function_static_weak): New macro.
4632         * malloc/Makefile (tests): Add tst-interpose-nothread,
4633         tst-interpose-thread, tst-interpose-static-nothread,
4634         tst-interpose-static-thread.
4635         (tests-static): Add tst-interpose-static-nothread,
4636         tst-interpose-static-thread.
4637         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
4638         tst-interpose-aux-thread.o.
4639         (test-extras): Add tst-interpose-aux-nothread,
4640         tst-interpose-aux-thread.
4641         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
4642         tst-interpose-aux-nothread.o.
4643         (tst-interpose-thread, tst-interpose-static-thread): Link with
4644         tst-interpose-aux-thread.o and libthread.
4645         * malloc/tst-interpose-aux-nothread.c: New file.
4646         * malloc/tst-interpose-aux-thread.c: Likewise.
4647         * malloc/tst-interpose-aux.c: Likewise.
4648         * malloc/tst-interpose-aux.h: Likewise.
4649         * malloc/tst-interpose-nothread.c: Likewise.
4650         * malloc/tst-interpose-skeleton.c: Likewise.
4651         * malloc/tst-interpose-static-nothread.c: Likewise.
4652         * malloc/tst-interpose-static-thread.c: Likewise.
4653         * malloc/tst-interpose-thread.c: Likewise.
4654         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
4655         * sysdeps/mach/hurd/fork.c (__fork): Only call
4656         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
4657         __malloc_fork_unlock_child if defined.
4658         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
4660 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4662         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
4663         timespec C99 designated initialization.
4665 2016-08-26  Florian Weimer  <fweimer@redhat.com>
4667         [BZ #19946]
4668         Avoid expected SIGALRM signals.
4669         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
4670         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
4671         (xpthread_create, xpthread_detach, xpthread_join)
4672         (delayed_exit_thread, delayed_exit): New functions.
4673         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
4674         (tf): Use xpthread_cond_wait.
4675         (do_test): Likewise.  Replace alarm with delayed_exit.
4676         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4677         (do_test): Call delayed_exit.  Report failure.
4678         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4679         (do_test): Call delayed_exit.
4680         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4681         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
4682         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4683         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
4684         error.
4685         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4686         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
4687         error.
4688         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
4689         (do_test): Call delayed_exit.
4690         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
4691         (do_test): Call delayed_exit.
4692         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
4693         (do_test): Call delayed_exit instead of alarm.  Use
4694         xpthread_mutex_lock.
4695         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
4696         (do_test): Call delayed_exit instead of alarm.  Use
4697         xpthread_mutex_lock.
4698         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
4699         (do_test): Call delayed_exit instead of alarm.
4700         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
4701         (do_test): Call delayed_exit instead of alarm.  Use
4702         xpthread_spin_lock.
4703         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
4704         (do_test): Call delayed_exit instead of alarm.  Use
4705         xpthread_join.
4707 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
4709         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
4710         adjust CFA when allocating register save area on re-aligned
4711         stack.
4713 2016-08-26  Florian Weimer  <fweimer@redhat.com>
4715         * string/tst-cmp.c: New test.
4716         * string/Makefile (tests): Add it.
4718 2016-08-25  Mark Wielaard  <mark@klomp.org>
4720         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
4721         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
4722         (check_tree_recurse): Use newly defined accessors.
4723         (check_tree): Likewise.
4724         (maybe_split_for_insert): Likewise.
4725         (__tfind): Likewise.
4726         (__tdelete): Likewise.
4727         (trecurse): Likewise.
4728         (tdestroy_recurse): Likewise.
4729         (__tsearch): Likewise. And add asserts for malloc alignment.
4730         (__twalk): Cast root to node in case CHECK_TREE is defined.
4732 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4734         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
4736 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4738         * math/Makefile (libm-gen-calls): Add
4739         catan, catanh, ctan, ctanh.
4740         (libm-calls): Remove the above.
4742         * math/s_catan_template.c: Update using type-generic macros.
4743         * math/s_catanh_template.c: Likewise.
4744         * math/s_ctan_template.c: Likewise.
4745         * math/s_ctanh_template.c: Likewise.
4747         * math/s_catanf.c: Removed.
4748         * math/s_catan.c: Removed.
4749         * math/s_catanl.c: Removed.
4750         * math/s_catanhf.c: Removed.
4751         * math/s_catanh.c: Removed.
4752         * math/s_catanhl.c: Removed.
4753         * math/s_ctanf.c: Removed.
4754         * math/s_ctan.c: Removed.
4755         * math/s_ctanl.c: Removed.
4756         * math/s_ctanhf.c: Removed.
4757         * math/s_ctanh.c: Removed.
4758         * math/s_ctanhl.c: Removed.
4760         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
4761         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
4762         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
4763         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
4764         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
4765         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
4767         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
4768         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
4769         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
4770         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
4772 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4774         * s_catan_template.c: Copy of s_catan.c.
4775         * s_catanh_template.c: Copy of s_catanh.c.
4776         * s_ctan_template.c: Copy of s_ctan.c.
4777         * s_ctanh_template.c: Copy of s_ctanh.c.
4779 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4781         * math/Makefile (gen-libm-calls): Move
4782         casin, casinh, csin, csinh here.
4783         (libm-calls): Remove the above.
4785         * math/s_casin_template.c: Update using type-generic macros.
4786         * math/s_casinh_template.c: Likewise.
4787         * math/s_csin_template.c: Likewise.
4788         * math/s_csinh_template.c: Likewise.
4789         * math/k_casinh_template.c: Likewise.
4791         * math/s_casinf.c: Removed.
4792         * math/s_casin.c: Removed.
4793         * math/s_casinl.c: Removed.
4794         * math/s_casinh.c: Removed.
4795         * math/s_casinhf.c: Removed.
4796         * math/s_casinhl.c: Removed.
4797         * math/s_csin.c: Removed.
4798         * math/s_csinf.c: Removed.
4799         * math/s_csinl.c: Removed.
4800         * math/s_csinh.c: Removed.
4801         * math/s_csinhf.c: Removed.
4802         * math/s_csinhl.c: Removed.
4803         * math/k_casinh.c: Removed.
4804         * math/k_casinhf.c: Removed.
4805         * math/k_casinhl.c: Removed.
4807         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
4808         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
4809         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
4810         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
4812         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
4813         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
4814         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
4815         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
4816         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
4817         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
4818         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
4819         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
4821         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
4822         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
4823         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
4824         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
4826         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
4827         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
4828         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
4829         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
4831 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4833         * s_casin_template.c: Copy of s_casin.c.
4834         * s_casinh_template.c: Copy of s_casinh.c.
4835         * s_csin_template.c: Copy of s_csin.c.
4836         * s_csinh_template.c: Copy of s_csinh.c.
4837         * k_casinh_template.c: Copy of k_casinh.c.
4839 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
4841         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
4843 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4845         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
4846         (mul_split) Remove, rename as mul_splitl, remove
4847         redundant float.h include, and include via mul_splitl.h
4849         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
4850         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4851         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
4852         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
4853         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
4855         * math/mul_splitl.h: New file.
4857         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
4858         Move into mul_split.h, and remove redundant float.h include.
4860         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
4861         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
4862         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
4863         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
4865         * math/mul_split.h: New file.
4867 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4869         * math/Makefile (libm-gen-calls): Move
4870         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
4871         (libm-calls): Remove above.
4873         * math/s_cacos_template.c: Update using type-generic macros.
4874         * math/s_cacosh_template.c: Likewise.
4875         * math/s_ccos_template.c: Likewise.
4876         * math/s_ccosh_template.c: Likwise.
4878         * math/s_cacosf.c: Removed.
4879         * math/s_cacos.c: Removed.
4880         * math/s_cacosl.c: Removed.
4881         * math/s_cacoshf.c: Removed.
4882         * math/s_cacosh.c: Removed.
4883         * math/s_cacoshl.c: Removed.
4884         * math/s_ccosf.c: Removed.
4885         * math/s_ccos.c: Removed.
4886         * math/s_ccosl.c: Removed.
4887         * math/s_ccoshf.c: Removed.
4888         * math/s_ccosh.c: Removed.
4889         * math/s_ccoshl.c: Removed.
4891         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
4892         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
4893         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
4894         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
4895         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
4896         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
4898         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
4899         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
4900         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
4901         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
4903         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
4904         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
4905         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
4906         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
4908 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4910         * s_cacos_template.c: Copy of s_cacos.c.
4911         * s_cacosh_template.c: Copy of s_cacosh.c.
4912         * s_ccos_template.c: Copy of s_ccos.c.
4913         * s_ccosh_template.c: Copy of s_ccosh.c.
4915 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4917         * stdlib/tst-strtod-round-skeleton.c:
4918         Refactored from tst-strtod-round.c.
4920         (L_): New macro to apply literal modifier.
4921         (FNPFX): New macro to select str or wcs prefix.
4922         (CHAR): New macro to choose wchar_t or char.
4923         (STRM): New macro to choose printf for tested character type.
4925         (STRTO): New macro to choose appropriate string -> real function.
4926         (FNPFXS): Stringitized version of FNPFX.
4927         (STR): Support for above macro.
4928         (STRX): Likewise.
4930         (TEST): Update with above macros.
4931         (test): Likewise.
4932         (GEN_ONE_TEST): Likewise.
4933         (test_in_one_mode): Likewise.
4935         * stdlib/tst-strtod-round.c: New file.
4936         * wcsmbs/tst-wcstod-round.c: New file.
4938         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
4939         (tst-wcstod-round): Add libm depencency for fesetround.
4941 2016-08-19  Zack Weinberg  <zackw@panix.com>
4943         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
4945 2016-08-18  Torvald Riegel  <triegel@redhat.com>
4947         [BZ #20477]
4948         * resolv/res_hconf.c (do_init): Use atomic access.
4949         * resolv/res_hconf.h: Add comments.
4950         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
4951         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
4952         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4954 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
4956         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
4957         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
4958         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
4959         Likewise.
4961 2016-08-18  Florian Weimer  <fweimer@redhat.com>
4963         [BZ #16907]
4964         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
4965         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
4966         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
4967         (__attribute__): Remove definition.
4969 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4971         * sysdeps/ieee754/ldbl-128/e_asinl.c:
4972         Remove unused sqrtl declaration.
4974 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4976         * math/Makefile: (gen-libm-templates.stmp): New rule.
4977         (libm-calls): Move carg conj cimag and cabs into ...
4978         (gen-libm-calls): New variable.
4979         (generated): Inform Make objects from gen-libm-calls
4980         may be generated.
4982         * sysdeps/generic/math-type-macros.h: New file.
4983         * sysdeps/generic/math-type-macros-float.h: Likewise.
4984         * sysdeps/generic/math-type-macros-double.h: Likewise.
4985         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
4986         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
4987         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
4989         * math/cabs.c: Refactor into
4990         * math/cabs_template.c: new file.
4991         * math/cabsf.c: Removed.
4992         * math/cabsl.c: Removed.
4993         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
4994         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
4996         * math/carg.c: Refactor into
4997         * math/carg_template.c: new file.
4998         * math/cargf.c: Removed.
4999         * math/cargl.c: Removed.
5000         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
5001         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
5003         * math/conj.c: Refactor into
5004         * math/conj_template.c: new file.
5005         * math/conjf.c: Removed.
5006         * math/conjl.c: Removed.
5007         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
5008         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
5010         * math/cimag.c: Refactor into
5011         * math/cimag_template.c: new file.
5012         * math/cimagf.c: Removed.
5013         * math/cimagl.c: Removed.
5014         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
5015         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
5017         * math/cimag.c: Refactor into
5018         * math/cimag_template.c: new file.
5019         * math/cimagf.c: Removed.
5020         * math/cimagl.c: Removed.
5021         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
5022         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
5024 2016-08-17  Florian Weimer  <fweimer@redhat.com>
5026         Reduce time to expected nptl/tst-once5 failure.
5027         * nptl/tst-once5.cc (TIMEOUT): Define.
5029 2016-08-17  Florian Weimer  <fweimer@redhat.com>
5031         [BZ #20452]
5032         Avoid additional copies of objects in libc.a in static libraries.
5033         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
5034         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
5035         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
5036         rt-sysdep.
5037         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
5038         Add nptl-sysdep.
5039         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
5040         Add ptw-sysdep.
5041         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
5042         rt-sysdep.
5043         * sysdeps/unix/sysv/linux/alpha/Makefile
5044         (libpthread-shared-only-routines): Add ptw-sysdep,
5045         ptw-sigprocmask, ptw-rt_sigaction.
5046         * sysdeps/unix/sysv/linux/ia64/Makefile
5047         (librt-shared-only-routines): Add rt-sysdep.
5048         * sysdeps/unix/sysv/linux/i386/Makefile
5049         (libpthread-shared-only-routines): Add libc-do-syscall.
5050         * sysdeps/unix/sysv/linux/microblaze/Makefile
5051         (libpthread-shared-only-routines): Add sysdep.
5052         * sysdeps/unix/sysv/linux/powerpc/Makefile
5053         (librt-shared-only-routines): Add rt-sysdep.
5054         (libpthread-shared-only-routines): Add sysdep.
5055         * sysdeps/unix/sysv/linux/s390/Makefile
5056         (librt-shared-only-routines): Add rt-sysdep.
5057         * sysdeps/unix/sysv/linux/sparc/Makefile
5058         (librt-shared-only-routines): Add rt-sysdep.
5059         (libpthread-shared-only-routines): Add sysdep.
5060         * sysdeps/unix/sysv/linux/tile/Makefile
5061         (libpthread-shared-only-routines): Likewise.
5063 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
5065         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
5066         Mask implicit bit out of unpacked value.
5067         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
5068         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
5069         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
5071         * sysdeps/sparc/fpu/fesetexcept.c: New file.
5073         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
5075         * sysdeps/s390/fpu/fesetexcept.c: New file.
5077         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
5078         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
5079         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
5081         * sysdeps/mips/fpu/fesetexcept.c: New file.
5083         * sysdeps/m68k/fpu/fesetexcept.c: New file.
5085         * sysdeps/ia64/fpu/fesetexcept.c: New file.
5087         * sysdeps/hppa/fpu/fesetexcept.c: New file.
5089         * sysdeps/arm/fesetexcept.c: New file.
5091         * sysdeps/alpha/fpu/fesetexcept.c: New file.
5093         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
5095         * math/fesetexcept.c: New file.
5096         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
5097         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
5098         * math/fenv.h: Define
5099         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5100         <bits/libc-header-start.h> instead of including <features.h>.
5101         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
5102         declaration.
5103         * manual/arith.texi (fesetexcept): Document function.
5104         * math/Versions (fesetexcept): New libm symbol at version
5105         GLIBC_2.25.
5106         * math/Makefile (libm-support): Add fesetexcept.
5107         (tests): Add test-fesetexcept and test-fesetexcept-traps.
5108         * math/test-fesetexcept.c: New file.
5109         * math/test-fesetexcept-traps.c: Likewise.
5110         * sysdeps/nacl/libm.abilist: Update.
5111         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5112         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5113         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5114         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5115         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5116         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5117         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5118         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5119         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5120         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5121         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5122         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5124         Likewise.
5125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5126         Likewise.
5127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5128         Likewise.
5129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5130         Likewise.
5131         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5132         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5133         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5134         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5135         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5136         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5137         Likewise.
5138         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5139         Likewise.
5140         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5141         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5142         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5144 2016-08-16  Florian Weimer  <fweimer@redhat.com>
5146         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
5147         New.
5148         (do_test): Apply default_stack_size_in_mb if not set.
5149         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
5151 2016-08-15  Andreas Schwab  <schwab@suse.de>
5153         [BZ #20435]
5154         CVE-2016-6323
5155         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
5156         as .cantunwind.
5158 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
5160         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
5161         comment from fraiseexcpt.c.
5163         * math/test-fexcept.c (feraiseexcept_exact): New function.
5164         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
5165         (test_except): Likewise.
5167 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
5169         [BZ #20455]
5170         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
5171         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
5172         to be restored.
5174         * math/test-fexcept-traps.c: New file.
5175         * math/test-fexcept.c: Likewise.
5176         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
5177         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
5178         macro.
5179         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
5180         (EXCEPTION_SET_FORCES_TRAP): Likewise.
5182 2016-08-09  Torvald Riegel  <triegel@redhat.com>
5184         * include/atomic.h (atomic_fetch_and_relaxed,
5185         atomic_fetch_and_release, atomic_fetch_or_release,
5186         atomic_fetch_xor_release): New.
5188 2016-08-06  Christian Seiler  <christian@iwakd.de>
5190         [BZ #20444]
5191         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
5192         MACH_PORT_NULL.
5194 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
5196         * math/s_fdim.c: Avoid alias renamed.
5197         * math/s_fdimf.c: Likewise.
5198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
5199         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
5200         Add s_fdimf-vis3, s_fdim-vis3.
5201         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
5202         (CFLAGS-s_fdim-vis3.c): Likewise.
5203         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
5204         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
5206 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
5208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
5209         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
5210         Remove s_fdimf-vis3, s_fdim-vis3.
5211         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
5212         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
5213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
5214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
5215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
5216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
5217         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
5218         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
5219         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
5220         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
5222 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
5224         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
5225         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
5226         -Wa,-Av9a -mvis.
5228 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5230         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
5231         LIT() to individual constants in simple expressions
5232         after splitting on spaces.
5233         (_apply_lit): Rename replaced version, and use it to
5234         apply to what appears to be a token.
5236         * math/libm-test.inc: Fix many, many issues with
5237         spacing.
5239 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
5241         * math/math.h: Move comment about <bits/mathdef.h> definitions
5242         above inclusion of <bits/mathdef.h>.  Do not mention
5243         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
5245 2016-08-05  Torvald Riegel  <triegel@redhat.com>
5247         * include/atomic.h (atomic_exchange_relaxed): New.
5249 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
5251         * math/e_scalb.c: Do not include <fenv.h>.
5252         (invalid_fn): Do calculation resulting in NaN instead of raising
5253         FE_INVALID and returning a NaN explicitly.
5254         * math/e_scalbf.c: Do not include <fenv.h>.
5255         (invalid_fn): Do calculation resulting in NaN instead of raising
5256         FE_INVALID and returning a NaN explicitly.
5257         * math/e_scalbl.c: Do not include <fenv.h>.
5258         (invalid_fn): Do calculation resulting in NaN instead of raising
5259         FE_INVALID and returning a NaN explicitly.
5261 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
5263         * po/de.po: Updated from Translation Project.
5264         * po/fi.po: Likewise.
5265         * po/sv.po: Likewise.
5267 2016-08-04  Florian Weimer  <fweimer@redhat.com>
5269         [BZ #20452]
5270         Use sysdep.o from libc.a in static libraries.
5271         * sysdeps/unix/sysv/linux/i386/Makefile
5272         (libpthread-shared-only-routines): Add sysdep.
5273         (librt-shared-only-routines): Likewise.
5275 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
5277         * math/tgmath.h (nextdown): Define if
5278         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
5279         (nextup): Likewise.
5281         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
5282         macro.
5283         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
5284         Document.
5285         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
5286         Document macro.
5287         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
5288         (exp10f): Likewise.
5289         (exp10l): Likewise.
5290         * math/bits/mathcalls.h (exp10): Declare if
5291         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
5293         * manual/arith.texi (nextup): Fix typo in last change.
5295 2016-08-03  Zack Weinberg  <zackw@panix.com>
5297         [BZ #19239]
5298         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
5299         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
5300         define major, minor, and makedev to issue deprecation warnings on use.
5301         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
5302         previously-activated deprecation warnings for these macros and prevent
5303         subsequent inclusions of this header from having any effect.
5304         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
5305         including <sys/sysmacros.h>, and undefine it again afterward.
5307 2016-08-03  Zack Weinberg  <zackw@panix.com>
5309         * sysdeps/generic/sys/sysmacros.h: Delete file.
5310         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
5311         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
5312         * bits/sysmacros.h: ... here; this encoding is now the generic
5313         encoding.  Now defines only the following macros:
5314         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
5315         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
5316         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
5318         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
5319         bits/sysmacros.h and the above new macros to generate the
5320         public implementations of major, minor, and makedev.
5321         * misc/tst-makedev.c: New test.
5322         * include/sys/sysmacros.h: New wrapper.
5324         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
5325         (routines): Add makedev.
5326         (tests): Add tst-makedev.
5327         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
5328         gnu_dev_makedev.
5329         * posix/Makefile (headers): Remove sys/sysmacros.h.
5330         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
5332         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
5333         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
5334         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
5335         * sysdeps/unix/sysv/linux/alpha/libc.abilist
5336         * sysdeps/unix/sysv/linux/arm/libc.abilist
5337         * sysdeps/unix/sysv/linux/hppa/libc.abilist
5338         * sysdeps/unix/sysv/linux/i386/libc.abilist
5339         * sysdeps/unix/sysv/linux/ia64/libc.abilist
5340         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
5341         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
5342         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
5343         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5344         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5345         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5346         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5347         * sysdeps/unix/sysv/linux/nios2/libc.abilist
5348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5352         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
5353         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
5354         * sysdeps/unix/sysv/linux/sh/libc.abilist
5355         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
5356         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
5357         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
5358         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
5359         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
5360         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
5361         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
5362         Add GLIBC_2.25.
5364         * include/features.h (__glibc_clang_prereq): New macro.
5365         * misc/sys/cdefs.h (__glibc_clang_has_extension)
5366         (__attribute_deprecated_msg__): New macros.
5368 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
5370         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
5371         macro.
5372         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
5373         * manual/arith.texi (issignaling): Document as ISO from TS
5374         18661-1:2014.
5375         (nextup): Likewise.
5376         (nextupf): Likewise.
5377         (nextupl): Likewise.
5378         (nextdown): Likewise.
5379         (nextdownf): Likewise.
5380         (nextdownl): Likewise.
5381         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
5382         macro.
5383         * math/math.h: Define
5384         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5385         <bits/libc-header-start.h> instead of including <features.h>.
5386         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
5387         [__USE_GNU].
5388         * math/bits/mathcalls.h (nextdown): Declare if
5389         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
5390         (nextup): Likewise.
5391         (__issignaling): Likewise.
5393 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5395         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
5396         check, and remove __glibc_likely hint
5397         from FP_INFINITE check.
5398         * s_csinhf.c (__csinhf): Likewise.
5400         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
5401         hint from FP_INFINITE check.
5402         * s_csinhl.c (__csinhl): Likewise.
5404 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5406         * math/Makefile (libm-calls): Insert F placeholder into
5407         object names.  Move w_lgamma_compat* routines into
5408         (libm-compat-calls): New variable.
5409         (libm-compat-calls-ldouble-yes): New variable.
5410         (calls): Insert F placeholder.
5411         (generated): Redefine using new type-foreach macro call.
5412         (routines): Likewise.
5414         (types): New variable to hold a list of symbolic names
5415         for each type supported by the target machine.
5416         (libm-routines): Redefine using new types variable.
5417         (type-foreach): macro to replace fooF with the
5418         appropriately suffixed foo for each types.
5420         (type-ldouble-suffix): New variable.
5421         (type-ldouble-routines): Likewise.
5422         (type-ldouble-yes): Likewise.
5423         (type-double-suffix): Likewise.
5424         (type-double-routines): Likewise.
5425         (type-float-suffix): Likewise.
5426         (type-float-routines): Likewise.
5428         (dbl-only-routines): Remove.
5429         (long-c-yes): Likewise.
5430         (long-m-routines): Likewise.
5431         (long-m-support): Likewise.
5432         (long-m-yes): Likewise.
5433         (test-longdouble-yes): Likewise.
5435         (test-float.o): Simplify by increasing the scope of the
5436         recipe which adds libm-test.stmp to the vector types.
5437         (test-ifloat.o): Likewise.
5438         (test-float-finite.o): Likewise.
5439         (test-double.o): Likewise
5440         (test-idouble.o): Likewise.
5441         (test-double-finite.o): Likewise.
5442         (test-ldouble.o): Likewise
5443         (test-ildoubl.o): Likewise.
5444         (test-ldouble-finite.o): Likewise.
5446         (libm-tests): Redefine type tests using foreach and the
5447         list of types in types.
5449         (CPPFLAGS-test-ildoubl.c): Rename to
5450         (CPPFLAGS-test-ildouble.c): New variable
5452         * math/test-ildoubl.c: Rename to
5453         * math/test-ildouble.c: New file.
5455 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5457         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
5458         Use fabsl instead of fabs.
5459         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
5460         Likewise.
5461         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
5462         Add long double suffix to constant to ensure proper
5463         promotion to long double.
5465 2016-08-03  Tom Tromey  <tom@tromey.com>
5467         [BZ #20311]
5468         * nptl_db/Makefile (headers): Add proc_service.h.
5469         * nptl_db/proc_service.h: Add include guard.  Use
5470         __BEGIN/__END_DECLS.
5471         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
5472         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
5473         arguments.
5476 2016-08-03  Florian Weimer  <fweimer@redhat.com>
5478         [BZ #17730]
5479         Avoid using memalign for TCB allocations.
5480         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
5481         (_dl_allocate_tls_storage): Use malloc and manual alignment.
5482         Avoid alignment gap in the TLS_DTV_AT_TP case.
5483         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
5484         determine the pointer to free.
5485         * nptl/tst-tls3-malloc.c: New test.
5486         * nptl/Makefile (tests): Add it.
5487         (tst-tls3-malloc): Link with libdl, libpthread.
5488         (LDFLAGS-tst-tls3-malloc): Set.
5489         (tst-tls3-malloc.out): Depend on DSO used in test.
5491 2016-08-03  Florian Weimer  <fweimer@redhat.com>
5493         [BZ #17730]
5494         Avoid using memalign for TLS allocations.
5495         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
5496         is_static member with to_free member.
5497         (union dtv): Use struct dtv_pointer.
5498         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
5499         dtv_pointer instead of is_static.
5500         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
5501         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
5502         instead of val.
5503         (allocate_dtv_entry): New function.
5504         (allocate_and_init): Return struct dtv_pointer.  Call
5505         allocate_dtv_entry instead of __libc_memalign.
5506         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
5507         instead of val.
5508         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
5509         instead of is_static.  Adjust call to allocate_and_init.
5510         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
5511         struct dtv_pointer instead of val.
5513 2016-08-03  Florian Weimer  <fweimer@redhat.com>
5515         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
5516         (MALLOC_ALIGN_MASK): Move ...
5517         * malloc/malloc-internal.h: ... to here.
5518         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
5520 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
5522         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
5523         (UDP_ENCAP_GTP1U): Likewise.
5525         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
5526         (PF_MAX): Update value.
5527         (AF_QIPCRTR): New macro.
5529 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
5531         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
5532         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5533         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5534         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
5535         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
5536         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
5537         s_truncf-vis3, s_trunc-vis3.
5538         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
5539         (CFLAGS-s_ceil-vis3.c): Likewise.
5540         (CFLAGS-s_floorf-vis3.c): Likewise.
5541         (CFLAGS-s_floor-vis3.c): Likewise.
5542         (CFLAGS-s_truncf-vis3.c): Likewise.
5543         (CFLAGS-s_trunc-vis3.c): Likewise.
5544         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
5545         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
5546         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
5547         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
5548         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
5549         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
5550         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
5551         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
5552         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
5553         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
5554         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
5555         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
5557 2016-08-02  David S. Miller  <davem@davemloft.net>
5559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
5560         (__nearbyint_vis3): Don't check for sNaN before float register is
5561         loaded with the incoming argument.
5562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
5563         (__nearbyintf_vis3): Likewise.
5564         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
5565         Likewise.
5566         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
5567         Likewise.
5569         * string/test-strncmp.c (do_test_limit): Make sure the test data
5570         stream is aligned as required for the type "CHAR".
5571         (do_test): Likewise.
5573 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
5575         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
5576         by beq instructions jumping to the end of the function.
5577         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
5578         clobber list. Use "i" constraint instead of "X".
5579         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
5580         of "X".
5582 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
5584         * bits/libc-header-start.h: New file.
5585         * Makefile (headers): Add bits/libc-header-start.h.
5586         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
5587         (__GLIBC_USE): New macro.
5588         * libio/stdio.h: Define
5589         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5590         <bits/libc-header-start.h> instead of including <features.h>.
5591         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
5592         (open_memstream): Likewise.
5593         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
5594         (__asprintf): Likewise.
5595         (asprintf): Likewise.
5596         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
5597         (getdelim): Likewise.
5598         (getline): Likewise.
5599         * string/string.h: Define
5600         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5601         <bits/libc-header-start.h> instead of including <features.h>.
5602         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
5603         (strndup): Likewise.
5604         * wcsmbs/wchar.h: Define
5605         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5606         <bits/libc-header-start.h> instead of including <features.h>.
5607         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
5608         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
5610 2016-08-02  Florian Weimer  <fweimer@redhat.com>
5612         Support linking against compatibility symbols, for use in tests.
5613         * include/libc-symbols.h (symbol_version_reference): New macro.
5614         (symbol_version): Use it.
5615         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
5616         (compat_symbol): Use compat_symbol_reference.
5617         (compat_symbol_1, compat_symbol_2): Remove.
5618         (compat_symbol_reference, compat_symbol_reference_1)
5619         (compat_symbol_reference_2): New macro.  Use
5620         symbol_version_reference.
5622 2016-08-02  Florian Weimer  <fweimer@redhat.com>
5624         [BZ #19469]
5625         * malloc/Makefile (CPPFLAGS): Compile tests with
5626         -DTEST_NO_MALLOPT.
5627         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
5629 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
5631         [BZ #20033]
5632         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
5633         finite version.
5634         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
5635         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
5636         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
5637         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
5638         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
5639         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
5640         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
5641         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
5642         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
5643         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
5644         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
5645         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
5646         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
5647         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
5648         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
5649         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
5650         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
5651         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
5652         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
5653         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
5654         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
5655         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
5656         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
5657         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
5658         in zero power.
5660 2016-08-02  Florian Weimer  <fweimer@redhat.com>
5662         [BZ #20370]
5663         * malloc/arena.c (get_free_list): Update comment.  Assert that
5664         arenas on the free list have no attached threads.
5665         (remove_from_free_list): New function.
5666         (reused_arena): Call it.
5668 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
5670         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
5671         when it is a NaN.
5672         [_IEEE_FP_INEXACT] Remove.
5673         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
5674         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
5675         when it is a NaN.
5676         [_IEEE_FP_INEXACT] Remove.
5677         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
5678         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
5679         when it is a NaN.
5680         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
5681         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
5682         when its absolute value is greater than 0x1.0p52.
5683         [_IEEE_FP_INEXACT] Remove.
5684         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
5685         when its absolute value is greater than 0x1.0p23.
5686         [_IEEE_FP_INEXACT] Remove.
5688 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
5690         * version.h (RELEASE): Set to "development"
5691         (VERSION): Set to 2.24.90.
5692         * NEWS: Add 2.25 section.
5694         * version.h (RELEASE): Set to "stable"
5695         (VERSION): Set to 2.24.
5696         * include/features.h (__GLIBC_MINOR__): Set to 24.
5698         * NEWS: Add 2.24 fixed bugs.
5699         * po/libc.pot: Regenerate.
5701 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
5703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
5704         [$(subdir) = math] (libm-sysdep_routines): Remove.
5705         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
5706         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
5707         s_truncf-vis3, s_trunc-vis3.
5708         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
5709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
5710         file.
5711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
5712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
5713         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
5714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
5715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
5716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
5717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
5718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5719         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
5720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
5721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
5722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
5723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
5724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
5725         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
5726         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
5727         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5728         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
5729         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
5730         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
5731         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
5732         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
5733         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
5734         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
5735         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
5736         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
5737         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
5738         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
5739         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
5740         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
5741         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
5742         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
5743         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
5744         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
5745         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
5746         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
5747         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
5748         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5749         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5750         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
5751         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
5752         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
5753         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
5755 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
5757         [BZ #20384]
5758         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
5759         test-double-libmvec-sincos-avx-main.o,
5760         test-double-libmvec-sincos-avx2-main.o,
5761         test-double-libmvec-sincos-main.o,
5762         test-float-libmvec-sincosf-avx-main.o,
5763         test-float-libmvec-sincosf-avx2-main.o and
5764         test-float-libmvec-sincosf-main.o.
5765         test-float-libmvec-sincosf-avx512-main.o.
5766         ($(objpfx)test-double-libmvec-sincos): Also link with
5767         $(objpfx)test-double-libmvec-sincos-main.o.
5768         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
5769         $(objpfx)test-double-libmvec-sincos-avx-main.o.
5770         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
5771         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
5772         ($(objpfx)test-float-libmvec-sincosf): Also link with
5773         $(objpfx)test-float-libmvec-sincosf-main.o.
5774         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
5775         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
5776         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
5777         test-double-libmvec-sincos-avx512-main.o and
5778         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
5779         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
5780         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
5781         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
5782         (CFLAGS-test-double-libmvec-sincos.c): Removed.
5783         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
5784         (CFLAGS-test-double-libmvec-sincos-main.c): New.
5785         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
5786         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
5787         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
5788         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
5789         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
5790         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
5791         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
5792         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
5793         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
5794         -DREQUIRE_AVX2.
5795         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
5796         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
5797         -DREQUIRE_AVX512F.
5798         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
5799         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
5800         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
5801         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
5802         file.
5803         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
5804         Likewise.
5805         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
5806         Likewise.
5807         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
5808         Likewise.
5809         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
5810         Likewise.
5811         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
5812         Likewise.
5813         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
5814         Likewise.
5815         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
5816         Likewise.
5818 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
5820         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
5822 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
5824         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
5825         and typo in a comment about AT_HWCAP entry.
5827 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5829         * sysdeps/aarch64/libm-test-ulps: Updated.
5831 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5833         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
5834         of r13 as it is not restored in mvcle case.
5836 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
5838         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
5839         Rename "ret" to "__ret".
5840         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
5841         inline_syscall5, inline_syscall6): Likewise.
5843 2016-07-19   Will Newton  <will.newton@gmail.com>
5845         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
5846         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
5847         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
5848         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
5849         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
5851 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
5853         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
5854         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
5855         -mfpmath=387 with $(rtld-CFLAGS).
5856         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
5857         $(rtld-CFLAGS).
5859 2016-07-18   Ross Burton  <ross.burton@intel.com>
5860              Khem Raj  <raj.khem@gmail.com>
5862         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
5863         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
5864         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
5865         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
5866         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
5867         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
5868         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
5869         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
5870         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
5871         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
5872         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
5873         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
5874         R_METAG_TLS_DTPOFF): New.
5876 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5877             Matt Clay  <mclay@lycos.com>
5879         [BZ #20357]
5880         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
5881         to call __mpsin/__mpcos and to negate values.
5882         * math/auto-libm-test-in: Add test.
5883         * math/auto-libm-test-out: Regenerate.
5885 2016-07-18  Zack Weinberg  <zackw@panix.com>
5887         * grp/Makefile: Don't install the internal header grp-merge.h.
5889 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5891         * sysdeps/aarch64/libm-test-ulps: Regenerated.
5893 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5895         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
5897 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5899         [BZ #15368]
5900         * sysdeps/unix/sysv/linux/nptl-signals.h
5901         (__nptl_clear_internal_signals): New function.
5902         (__libc_signal_block_all): Likewise.
5903         (__libc_signal_block_app): Likewise.
5904         (__libc_signal_restore_set): Likewise.
5905         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
5906         implementation.
5907         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
5908         the cached pid/tid value in pthread structure.
5910 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
5912         [BZ #20347]
5913         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
5915 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
5917         [BZ #20348]
5918         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
5919         preadv64, pwrite64 and pwritev64.
5921 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
5923         [BZ #20350]
5924         * posix/tst-preadwrite.c: Renamed to ...
5925         * posix/tst-preadwrite-common.c: This.
5926         (PREAD): Removed.
5927         (PWRITE): Likewise.
5928         (STRINGIFY): Likewise.
5929         (STRINGIFY2): Likewise.
5930         (do_prepare): Make it static and remove function arguments.
5931         (do_test): Likewise.
5932         (PREPARE): Updated.
5933         (TEST_FUNCTION): New.
5934         (name): Make it static.
5935         (fd): Likewise.
5936         (do_prepare): Use create_temp_file.
5937         (do_test): Renamed to ...
5938         (do_test_with_offset): This.  Make it static and accept offset.
5939         Properly check return value of PWRITE and PREAD.  Return bytes
5940         read.  Don't close fd nor unlink name.
5941         * posix/tst-preadwrite.c: Rewrite.
5942         * posix/tst-preadwrite64.c: Likewise.
5944 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
5946         [BZ #20309]
5947         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
5948         -mtls-dialect=gnu2 works.
5949         * configure: Regenerated.
5950         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
5951         (tests): Add tst-gnu2-tls1.
5952         (modules-names): Add tst-gnu2-tls1mod.
5953         ($(objpfx)tst-gnu2-tls1): New.
5954         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
5955         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
5956         * elf/tst-gnu2-tls1.c: New file.
5957         * elf/tst-gnu2-tls1mod.c: Likewise.
5958         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
5959         bytes for push in the PLT entry to align the stack.
5961 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
5963         [BZ #20349]
5964         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
5966 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5968         [BZ #18707]
5969         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
5970         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
5972 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5974         * sysdeps/unix/sysv/linux/sysdep.h
5975         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
5976         guards.
5977         * misc/tst-preadvwritev-common.c: New file.
5978         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
5979         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
5980         a check for files larger than 2GB.
5982         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5983         (__ASSUME_OFF_DIFF_OFF64): Remove define.
5984         * sysdeps/unix/sysv/linux/pread.c
5985         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
5986         __OFF_T_MATCHES_OFF64_T.
5987         * sysdeps/unix/sysv/linux/pread64.c
5988         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
5989         * sysdeps/unix/sysv/linux/preadv.c
5990         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
5991         * sysdeps/unix/sysv/linux/preadv64.c
5992         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
5993         * sysdeps/unix/sysv/linux/pwrite.c
5994         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
5995         * sysdeps/unix/sysv/linux/pwrite64.c
5996         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
5997         * sysdeps/unix/sysv/linux/pwritev.c
5998         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
5999         * sysdeps/unix/sysv/linux/pwritev64.c
6000         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
6002 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
6004         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6005         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
6007 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
6009         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
6011 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
6013         [BZ #20240]
6014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
6015         (CFLAGS-s_modf-ppc32.c): New variable.
6016         (CFLAGS-s_modff-ppc32.c): Likewise.
6017         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
6018         (CFLAGS-s_modf-ppc64.c): Likewise.
6019         (CFLAGS-s_modff-ppc64.c): Likewise.
6021 2016-07-07  Andreas Schwab  <schwab@suse.de>
6023         [BZ #20263]
6024         * nptl/tst-robust10.c: New test.
6025         * nptl/Makefile (tests): Add tst-robust10.
6027 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
6029         [BZ #20263]
6030         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
6032 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
6034         * sysdeps/s390/linkmap.h (struct link_map_machine):
6035         Remove member gotplt and add member jmprel.
6036         * sysdeps/s390/s390-32/dl-machine.h
6037         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
6038         instead of gotplt with &got[3].
6039         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
6040         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6042 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
6044         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
6046 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6048         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
6049         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
6050         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
6051         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
6052         * libio/vtables.c (_IO_vtable_check)
6053         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
6054         * libio/libioP.h (IO_set_accept_foreign_vtables)
6055         [!PTR_MANGLE]: Do not call PTR_MANGLE.
6057 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
6059         [BZ #20314]
6060         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
6061         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
6062         $(common-objpfx)cmath.
6063         ($(common-objpfx)cstdlib): New target.
6064         ($(common-objpfx)cmath): Likewise.
6066 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
6068         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
6070 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6072         [BZ #20327]
6073         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
6074         are not part of the string.
6076 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6078         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
6079         * nptl/tst-cancel4-common.h (fifoname): New variable.
6080         (fifofd): Likewise.
6081         (cl_fifo): New function.
6082         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
6083         SIGINT.
6084         (tf_open): Add early cancel test.
6086 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
6088         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
6090 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
6092         * sysdeps/generic/ldsodefs.h
6093         (dl_symbol_visibility_binds_local_p): New inline function.
6094         * elf/dl-addr.c (determine_info): Treat hidden and internal
6095         symbols as local.
6096         * elf/dl-lookup.c (do_lookup_x): Likewise.
6097         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
6099 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
6101         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
6102         invalid exception for a sNaN input.
6103         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
6104         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
6105         (__nearbyint_vis3): Likewise
6106         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
6107         (__nearbyintf_vis3): Likewise
6108         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
6109         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
6110         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
6111         Likewise.
6112         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
6113         Likewise.
6115 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
6117         [BZ #20139]
6118         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
6119         (HAVE_AVX512DQ_ASM_SUPPORT): This.
6120         * sysdeps/x86_64/configure.ac: Require assembler from binutils
6121         2.24 or above.
6122         (HAVE_AVX512_ASM_SUPPORT): Removed.
6123         (HAVE_AVX512DQ_ASM_SUPPORT): New.
6124         * sysdeps/x86_64/configure: Regenerated.
6125         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
6126         check unconditional.
6127         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
6128         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6129         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6130         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
6131         Likewise.
6132         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
6133         Likewise.
6134         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
6135         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
6136         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6137         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6138         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
6139         Likewise.
6140         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
6141         Likewise.
6142         * sysdeps/x86_64/multiarch/memset.S: Likewise.
6143         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6144         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
6145         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
6146         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
6147         Likewise.
6148         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
6149         Likewise.
6150         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
6151         Likewise.
6152         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
6153         Likewise.
6154         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
6155         Likewise.
6156         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
6157         Likewise.
6158         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
6159         Likewise.
6160         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
6161         Likewise.
6162         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
6163         Likewise.
6164         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
6165         Likewise.
6166         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
6167         Likewise.
6169 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
6171         [BZ #20024]
6172         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
6173         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
6174         of this implementation of vector function.
6175         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
6176         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
6177         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
6178         Likewise.
6179         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
6180         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
6181         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
6182         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
6183         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
6184         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
6185         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
6186         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
6187         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
6188         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
6189         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
6190         for testing vector sincos with fixed ABI.
6191         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
6192         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
6193         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
6194         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
6195         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
6196         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
6197         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
6198         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
6199         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
6200         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
6201         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
6202         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
6203         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
6204         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
6205         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
6206         * sysdeps/x86_64/fpu/Makefile: Added new tests.
6208 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
6210         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
6212 2016-06-30  Anton Blanchard  <anton@samba.org>
6214         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
6215         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
6216         s_sinf-ppc64.
6217         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
6218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
6219         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
6220         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
6222 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6224         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6225         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
6226         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
6227         e_expf-ppc64.
6228         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
6229         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
6230         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
6231         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
6233 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
6235         [BZ #20277]
6236         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
6237         when SHARED is defined.
6239 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
6241         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
6242         (index_arch_Prefer_ERMS): Likewise.
6243         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
6244         __memcpy_erms for Prefer_ERMS.
6245         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
6246         (__memmove_erms): Enabled for libc.a.
6247         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
6248         __memmove_erms or Prefer_ERMS.
6249         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
6250         __mempcpy_erms for Prefer_ERMS.
6251         * sysdeps/x86_64/multiarch/memset.S (memset): Return
6252         __memset_erms for Prefer_ERMS.
6254 2016-06-30  Andreas Schwab  <schwab@suse.de>
6256         [BZ #20262]
6257         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
6258         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
6259         of memory.
6261 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
6263         [BZ #18645]
6264         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
6265         (test-extras): Add tst-cleanupx4aux.
6266         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
6267         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
6268         tst-cleanupx4aux.o.
6269         * nptl/tst-cleanupx4aux.c: New file.
6271 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
6273         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
6275 2016-06-29  Andreas Schwab  <schwab@suse.de>
6277         [BZ #20260]
6278         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
6279         address before the beginning of the string as an integer to avoid
6280         array-bounds warning.
6282 2016-06-28  Richard Henderson  <rth@redhat.com>
6284         * elf/elf.h (EM_BPF): New.
6285         (EM_NUM): Update.
6286         (R_BPF_NONE, R_BPF_MAP_FD): New.
6288         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
6289         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
6290         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
6291         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
6292         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
6293         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
6294         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
6295         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
6296         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
6297         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
6298         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
6299         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
6300         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
6301         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
6302         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
6303         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
6304         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
6305         (EM_NUM): Update.
6307 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
6309         [BZ #18960]
6310         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
6311         Set _nl_current_LC_CATEGORY_used to two instead of one.
6313 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
6315         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
6316         (do_test): ... this.
6317         (TEST_FUNCTION): New macro.
6318          Include test-skeleton.c.
6319         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
6320         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
6322 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
6324         [BZ #15479]
6325         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
6326         floating-point environment rather than just control word.
6327         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
6328         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
6329         floating-point environment, with "invalid" exceptions merged in,
6330         rather than just control word.
6331         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
6332         * math/libm-test.inc (trunc_test_data): Do not allow spurious
6333         "inexact" exceptions.
6335         [BZ #15479]
6336         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
6337         floating-point environment rather than just control word.
6338         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
6339         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
6340         floating-point environment, with "invalid" exceptions merged in,
6341         rather than just control word.
6342         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
6343         * math/libm-test.inc (floor_test_data): Do not allow spurious
6344         "inexact" exceptions.
6346         [BZ #15479]
6347         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
6348         floating-point environment rather than just control word.
6349         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
6350         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
6351         floating-point environment, with "invalid" exceptions merged in,
6352         rather than just control word.
6353         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
6354         * math/libm-test.inc (ceil_test_data): Do not allow spurious
6355         "inexact" exceptions.
6357 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
6359         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
6360         __libc_vfork.
6361         (__vfork) [IS_IN (libc)]: Remove alias.
6362         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
6363         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
6364         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
6366 2016-06-24  Torvald Riegel  <triegel@redhat.com>
6368         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
6369         of atomic_compare_and_exchange_bool_rel.
6370         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6371         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
6372         catomic_compare_and_exchange_bool_rel): Remove.
6373         * sysdeps/aarch64/atomic-machine.h
6374         (atomic_compare_and_exchange_bool_rel): Likewise.
6375         * sysdeps/alpha/atomic-machine.h
6376         (atomic_compare_and_exchange_bool_rel): Likewise.
6377         * sysdeps/arm/atomic-machine.h
6378         (atomic_compare_and_exchange_bool_rel): Likewise.
6379         * sysdeps/mips/atomic-machine.h
6380         (atomic_compare_and_exchange_bool_rel): Likewise.
6381         * sysdeps/microblaze/atomic-machine.h
6382         ( __arch_compare_and_exchange_bool_8_rel,
6383         __arch_compare_and_exchange_bool_16_rel): Likewise.
6384         * sysdeps/powerpc/atomic-machine.h
6385         ( __arch_compare_and_exchange_bool_8_rel,
6386         __arch_compare_and_exchange_bool_16_rel): Likewise.
6387         * sysdeps/powerpc/powerpc32/atomic-machine.h
6388         ( __arch_compare_and_exchange_bool_32_rel,
6389         __arch_compare_and_exchange_bool_64_rel): Likewise.
6390         * sysdeps/powerpc/powerpc64/atomic-machine.h
6391         ( __arch_compare_and_exchange_bool_32_rel,
6392         __arch_compare_and_exchange_bool_64_rel): Likewise.
6393         * sysdeps/tile/atomic-machine.h
6394         (atomic_compare_and_exchange_bool_rel): Likewise.
6396 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
6398         [BZ #20296]
6399         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
6400         when either argument is a NaN.
6401         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
6402         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
6404         * math/libm-test.inc (snan_value_ld): New macro.
6405         (isgreater_test_data): Add sNaN tests.
6406         (isgreaterequal_test_data): Likewise.
6407         (isless_test_data): Likewise.
6408         (islessequal_test_data): Likewise.
6409         (islessgreater_test_data): Likewise.
6410         (isunordered_test_data): Likewise.
6411         (nextafter_test_data): Likewise.
6412         (nexttoward_test_data): Likewise.
6413         (remainder_test_data): Likewise.
6414         (remquo_test_data): Likewise.
6415         (significand_test_data): Likewise.
6416         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
6418 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6420         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
6421         environment macros are defined.
6422         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
6424 2016-06-23  Florian Weimer  <fweimer@redhat.com>
6426         [BZ #20191]
6427         Implement vtable verification in libio.
6428         * Makerules (shlib.lds): Place __libc_IO_vtables section.
6429         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
6430         * debug/vdprintf_chk.c (__vdprintf_chk): Call
6431         _IO_new_file_init_internal instead of _IO_file_init.
6432         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
6433         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
6434         * libio/Makefile (routines): Add vtables.
6435         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
6436         (_IO_init): Remove, not for internal use.
6437         (_IO_init_internal): Declare, internal replacement for _IO_init.
6438         (_IO_file_init): Remove, not for internal use.
6439         (_IO_new_file_init): Remove, not for internal use.
6440         (_IO_new_file_init_internal): Declare, internal replacement for
6441         _IO_new_file_init.
6442         (_IO_old_file_init): Remove, not for internal use.
6443         (_IO_old_file_init_internal): Declare, internal replacement for
6444         _IO_old_file_init.
6445         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
6446         internal use.
6447         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
6448         Declare.
6449         (libio_vtable): New macro.
6450         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
6451         functions.
6452         * libio/fileops.c (_IO_new_file_init_internal): Rename from
6453         _IO_new_file_init.
6454         (_IO_new_file_init): New externally visible wrapper which disables
6455         vtable verification.
6456         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
6457         Define as vtables.
6458         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
6459         (_IO_init): New externally visible wrapper which disables
6460         vtable verification.
6461         * libio/iofdopen.c (_IO_new_fdopen): Call
6462         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
6463         comment.
6464         * libio/iofopen.c (__fopen_internal): Call
6465         _IO_new_file_init_internal instead of _IO_file_init.
6466         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
6467         Define as vtables.
6468         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
6469         _IO_new_file_init_internal instead of _IO_file_init.
6470         * libio/iopopen.c (_IO_new_popen): Likewise.
6471         (_IO_proc_jumps): Define as vtable.
6472         * libio/iovdprintf.c (_IO_vdprintf): Call
6473         _IO_new_file_init_internal instead of _IO_file_init.
6474         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
6475         (__open_memstream): Call _IO_init_internal instead of _IO_init.
6476         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
6477         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
6478         _IO_old_file_init.
6479         (_IO_old_file_init): New externally visible wrapper which disables
6480         vtable verification.
6481         (_IO_old_file_jumps): Define as vtable.
6482         * libio/oldiofdopen.c (_IO_old_fdopen): Call
6483         _IO_old_file_init_internal instead of _IO_old_file_init.
6484         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
6485         * libio/oldiopopen.c (_IO_old_popen): Likewise.
6486         (_IO_old_proc_jumps): Define as vtable.
6487         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
6488         Define as vtables.
6489         * libio/vtables.c: New file.
6490         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
6491         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
6492         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
6493         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
6494         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
6495         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
6496         instead of _IO_init.
6498 2016-06-23  Florian Weimer  <fweimer@redhat.com>
6500         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
6502 2016-06-23  Florian Weimer  <fweimer@redhat.com>
6504         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
6505         potentially unused.
6507 2016-06-22  Florian Weimer  <fweimer@redhat.com>
6509         * test-skeleton.c (write_message): New function.
6510         * malloc/tst-mallocfork2.c (write_message): Remove.
6511         * debug/tst-longjmp_chk2.c (write_indented): New function.
6512         (write_message): Remove.
6513         (stackoverflow_handler): Call write_indented.
6515 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
6517         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
6518         "inexact" exceptions after fnstenv.
6519         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
6520         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
6521         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
6523 2015-06-22  Zack Weinberg  <zackw@panix.com>
6525         * sysdeps/generic/bits/hwcap.h: Moved to ...
6526         * bits/hwcap.h: Here.
6528 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
6530         * sysdeps/aarch64/memcpy.S (memcpy):
6531         Further tuning for performance.
6533 2016-06-21  Florian Weimer  <fweimer@redhat.com>
6535         [BZ #20284]
6536         * malloc/arena.c (reused_arena): Do not return NULL if we start
6537         out with a non-corrupted arena.
6539 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6541         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
6542         * misc/tst-preadvwritev.c: New file.
6543         * misc/tst-preadvwritev64.c: Likewise.
6544         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
6545         usage.
6546         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
6547         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
6548         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
6549         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
6551 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
6553         [BZ #19654]
6554         * sysdeps/x86_64/fpu/Makefile: Added new tests.
6555         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
6556         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
6557         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
6558         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
6559         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
6560         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
6561         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
6562         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
6563         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
6564         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
6565         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
6566         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
6567         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
6568         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
6569         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
6570         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
6571         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
6572         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
6573         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
6574         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
6575         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
6576         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
6577         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
6578         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
6579         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
6581 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
6583         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
6584         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
6586 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
6588         * sysdeps/aarch64/memcpy.S (memcpy):
6589         Rewrite of optimized memcpy and memmove.
6590         * sysdeps/aarch64/memmove.S (memmove): Remove
6591         memmove code (merged into memcpy.S).
6593 2016-06-20  Florian Weimer  <fweimer@redhat.com>
6595         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
6596         * sysdeps/generic/dl-dtv.h: New file.
6597         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6598         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
6599         (dtv_t): Remove.
6600         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6601         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
6602         (dtv_t): Remove.
6603         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6604         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
6605         (dtv_t): Remove.
6606         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6607         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
6608         (dtv_t): Remove.
6609         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6610         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
6611         (dtv_t): Remove.
6612         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6613         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
6614         (dtv_t): Remove.
6615         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6616         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
6617         (dtv_t): Remove.
6618         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
6619         (dtv_t): Remove.
6620         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6621         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
6622         (dtv_t): Remove.
6623         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6624         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
6625         (dtv_t): Remove.
6626         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6627         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
6628         (dtv_t): Remove.
6629         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6630         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
6631         (dtv_t): Remove.
6632         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6633         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
6634         (dtv_t): Remove.
6635         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6636         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
6637         (dtv_t): Remove.
6638         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6639         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
6640         (dtv_t): Remove.
6641         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6642         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
6643         (dtv_t): Remove.
6645 2016-06-20  Florian Weimer  <fweimer@redhat.com>
6647         Revert symbol poisoning of  __malloc_initialize_hook.
6648         * include/stdc-predef.h (__malloc_initialize_hook): Remove
6649         poisoning.
6650         * malloc/Makefile: Remove un-poisoning.
6651         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
6652         instead of old__malloc_initialize_hook.
6653         * malloc/malloc-hooks.h: Likewise.
6654         * malloc/malloc.c: Likewise.
6655         * malloc/mcheck-init.c: Likewise.
6657 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
6659         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
6661 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
6663         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
6664         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
6665         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
6666         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
6668 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6670         * NEWS: Mention addition of nextup and nextdown.
6671         * manual/arith.texi: Document nextup and nextdown.
6672         * manual/libm-err-tab.pl: Add nextup and nextdown.
6673         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
6674         * math/Versions (libm): Add GLIBC_2.24.
6675         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
6676         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
6677         Add new test.
6678         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
6679         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
6680         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
6681         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
6682         (nextup_test_data): Likewise.
6683         (nextdown_test_data): Likewise.
6684         * math/s_nextdown.c: New file.
6685         * math/s_nextdownf.c: Likewise.
6686         * math/s_nextdownl.c: Likewise.
6687         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
6688         F(nextup): New function.
6689         F(nextdown): Likewise.
6690         * math/tgmath.h: Add nextup and nextdown.
6691         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
6692         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
6693         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
6694         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
6695         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
6696         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
6697         Add nextup and nextdown.
6698         (CFLAGS-nldbl-nextup.c): New variable.
6699         (CFLAGS-nldbl-nextdown.c): Likewise.
6700         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
6701         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
6702         * sysdeps/nacl/libm.abilist: Update.
6703         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6704         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6705         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6706         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6707         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6708         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6709         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6710         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6711         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6712         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6713         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6714         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
6716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6717         Likewise.
6718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
6719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
6720         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6721         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6722         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6723         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6724         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6725         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
6726         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
6727         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6728         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6729         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
6730         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6732 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6734         * manual/pattern.texi: Fix typos & grammar errors.
6736 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6738         * manual/search.texi: Fix typos & grammar errors.
6740 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6742         * manual/message.texi: Fix typos & grammar errors.
6744 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
6746         * manual/contrib.texi: Fix spelling typos.
6747         * manual/crypt.texi: Likewise.
6748         * manual/filesys.texi: Likewise.
6749         * manual/locale.texi: Likewise.
6750         * manual/message.texi: Likewise.
6751         * manual/nss.texi: Likewise.
6752         * manual/string.texi: Likewise.
6754 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6756         * manual/locale.texi: Fix typos & grammar errors.
6758 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6760         * manual/charset.texi: Fix typos & grammar errors.
6762 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6764         * manual/string.texi: Fix typos.
6766 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6768         * manual/ctype.texi: Fix typos.
6770 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6772         * manual/memory.texi: Fix various typos & grammar errors.
6774 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
6776         [BZ #20255]
6777         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
6778         * math/libm-test.inc (fdim_test_data): Add another test.
6780         [BZ #6796]
6781         [BZ #20255]
6782         [BZ #20256]
6783         * math/s_fdim.c: Include <math_private.h>.
6784         (__fdim): Use math_narrow_eval on result.
6785         * math/s_fdimf.c: Include <math_private.h>.
6786         (__fdimf): Use math_narrow_eval on result.
6787         * sysdeps/i386/fpu/s_fdim.S: Remove file.
6788         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
6789         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
6790         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
6791         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
6792         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
6793         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
6794         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
6795         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
6796         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
6797         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
6798         * math/libm-test.inc (fdim_test_data): Expect errno setting on
6799         overflow.  Add sNaN tests.
6801         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
6802         fpclassify.
6803         * math/s_fdimf.c (__fdimf): Likewise.
6804         * math/s_fdiml.c (__fdiml): Likewise.
6806 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6808         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6809         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
6810         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6811         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
6812         ifunc'ed strcasecmp/strncasecmp.
6813         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
6814         [EALIGN]: Removed.
6815         [END]: Likewise.
6816         [__strcasecmp]: Define instead of the above to control symbol name.
6817         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
6818         for __strcasecmp_power8.
6819         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
6820         for __strncasecmp_power8.
6821         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
6822         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
6823         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
6824         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
6825         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
6826         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
6828 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
6830         [BZ #20252]
6831         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
6832         arguments when second argument is a NaN.
6833         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
6834         qNaN tests.
6836         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
6837         (conj_test_data): Likewise.
6838         (copysign_test_data): Likewise.
6839         (creal_test_data): Likewise.
6840         (fma_test_data): Likewise.
6841         (fmod_test_data): Likewise.
6843         [BZ #20250]
6844         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
6845         itself.
6846         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
6847         zero input to itself.
6848         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
6849         Likewise.
6850         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
6851         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
6852         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
6853         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
6854         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
6856 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6858         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
6859         * nptl/tst-cancel4-common.c: New file.
6860         * nptl/tst-cancel4-common.h: Likewise.
6861         * nptl/tst-cancel4.c: Move common definitions to
6862         tst-cancel4-common.{c,h} file.
6863         * nptl/tst-cancel4_1.c: New test.
6864         * nptl/tst-cancel4_2.c: New test.
6866 2016-06-13  Florian Weimer  <fweimer@redhat.com>
6868         [BZ #20248]
6869         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
6870         (write_message): New function.
6871         (stackoverflow_handler): Call it instead of printf, to avoid
6872         excessive stack usage by printf.
6873         (do_test): Restore SIGSEGV, SIGBUS default handlers.
6875 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6877         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
6878         (prio_inherit_missing): Remove define.
6879         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6880         (__ASSUME_FUTEX_LOCK_PI): Likewise.
6881         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
6882         Likewise.
6883         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6884         (__ASSUME_FUTEX_LOCK_PI): Likewise.
6885         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6886         (__ASSUME_FUTEX_LOCK_PI): Likewise.
6887         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6888         (__ASSUME_FUTEX_LOCK_PI): Likewise.
6890 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
6892         [BZ #19670]
6893         [BZ #19672]
6895         * io/test-lfs.c (do_prepare): Use xmalloc.
6896         * io/tst-fcntl.c (do_prepare): Likewise.
6897         * libio/tst-fopenloc.c (do_bz17916): Likewise.
6898         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
6899         * login/tst-utmp.c (do_prepare): Likewise.
6900         * posix/tst-exec.c (do_prepare): Likewise.
6901         * posix/tst-pathconf.c (prepare): Likewise.
6902         * posix/tst-spawn.c (do_prepare): Likewise.
6903         * posix/tst-truncate.c (do_prepare): Likewise.
6904         * rt/tst-aio.c (do_prepare): Likewise.
6905         * rt/tst-aio64.c (do_prepare): Likewise.
6907 2016-06-11  Florian Weimer  <fweimer@redhat.com>
6909         [BZ #20237]
6910         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
6911         (get*ent): Set entidx to NULL during initialization.  If entidx is
6912         NULL, start iteration from the beginning.
6914 2016-06-11  Florian Weimer  <fweimer@redhat.com>
6916         * malloc/malloc.c (musable): Return correct size for dumped fake
6917         mmapped chunk.
6919 2016-06-11  Florian Weimer  <fweimer@redhat.com>
6921         [BZ #20222]
6922         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
6923         (_IO_cookie_write): Likewise.
6924         (_IO_cookie_seek): Likewise.
6925         (_IO_cookie_close): Likewise.
6926         (_IO_old_cookie_seek): Likewise.
6927         (set_callbacks): New function.
6928         (_IO_cookie_init): Call set_callbacks to copy callbacks.
6930 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
6932         * locale/programs/localedef.c (oldstyle_tables): Remove.
6933         * locale/programs/localedef.h (oldstyle_tables): Likewise.
6935 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
6937         [BZ #20240]
6938         * math/Makefile (CFLAGS-s_modf.c): New variable.
6939         (CFLAGS-s_modff.c): Likewise.
6940         (CFLAGS-s_modfl.c): Likewise.
6941         * math/libm-test.inc (modf_test_data): Add sNaN tests.
6943 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
6945         [BZ #20215]
6946         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
6947         [!__GNUC_PREREQ (3,2)]: Likewise.
6949 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
6951         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
6952         (msghdr.msg_controllen): Likewise.
6953         (cmsghdr.cmsg_len): Likewise.
6954         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
6955         ptw-oldsendmsg.
6956         (CFLAGS-oldrecvmsg.c): Remove rule.
6957         (CFLAGS-oldsendmsg.c): Likewise.
6958         (CFLAGS-recvmsg.c): Add rule.
6959         (CFLAGS-sendmsg.c): Likewise.
6960         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
6961         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
6962         (CFLAGS-recvmsg.c): Remove rule.
6963         (CFLAGS-sendmsg.c): Likewise.
6964         (CFLAGS-oldrecvmsg.c): Likewise.
6965         (CFLAGS-oldsendmsg.c): Likewise.
6966         (CFLAGS-recvmmsg.c): Likewise.
6967         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
6968         to kernel defined interfaces.
6969         (msghdr.msg_controllen): Likewise.
6970         (cmsghdr.cmsg_len): Likewise.
6971         (msghdr.__glibc_reserved1): Remove member.
6972         (msghdr.__glibc_reserved2): Likewise.
6973         (cmsghdr.__glibc_reserved1): Likewise.
6974         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
6975         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
6976         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
6977         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
6978         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
6979         version.
6980         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
6981         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
6982         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
6983         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
6984         Remove recvmsg and sendmsg.
6985         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
6986         Likewise.
6987         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
6988         Likewise.
6989         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
6990         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
6991         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
6992         Likewise.
6993         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
6994         Likewise.
6995         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
6996         [libc] (GLIBC_2.24): Likewise.
6997         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
6998         Likewise.
6999         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
7000         Likewise.
7001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
7002         [libc] (GLIBC_2.24): Likewise.
7003         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
7004         Likewise.
7005         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
7006         Likewise.
7007         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
7008         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
7009         Likewise.
7010         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
7011         Likewise.
7012         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
7013         Likewise.
7014         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
7015         Likewise.
7016         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
7017         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
7018         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
7019         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
7020         version for {recv,send,recm,sendm}msg.
7021         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7022         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7023         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7024         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7025         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7026         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7027         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7028         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7029         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7030         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7031         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7032         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7034         Likewise.
7035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7036         Likewise.
7037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7039         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7040         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7041         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7042         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7043         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7044         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7045         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
7046         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
7047         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7048         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7049         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7051 2016-06-10  Florian Weimer  <fweimer@redhat.com>
7053         [BZ #19564]
7054         Remove __malloc_initialize_hook from the API.
7055         * malloc/malloc.h (__malloc_initialize_hook): Remove.
7056         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
7057         #pragma GCC poison.
7058         * malloc/malloc-hooks.h: New file.
7059         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
7060         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
7061         (old__malloc_initialize_hook): Rename from
7062         __malloc_initialize_hook to evade poisoning.  Turn into compat
7063         symbol.
7064         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
7065         __malloc_initialize_hook.
7066         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
7067         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
7068         * manual/memory.texi (Hooks for Malloc): Remove
7069         __malloc_initialize_hook.  Adjust hook example.
7071 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
7073         [BZ #20235]
7074         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
7075         itself.
7076         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
7077         * math/libm-test.inc (log2_test_data): Add sNaN tests.
7079         [BZ #20234]
7080         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
7081         infinity or NaN input to itself.
7083         [BZ #20233]
7084         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
7085         to itself.
7087         [BZ #20232]
7088         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
7089         itself.
7091 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
7093         * sysdeps/x86_64/start.S (_start): Always indirect branch to
7094         __libc_start_main via GOT.
7096 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
7098         * sysdeps/x86_64/memcopy.h: New file.
7099         * sysdeps/x86_64/wordcopy.c: Likewise.
7101 2016-06-09  Florian Weimer  <fweimer@redhat.com>
7103         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
7104         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
7105         <cstdlib>.
7106         (optimization_barrier): New.
7107         (do_test): Use it.  Call quick_exit in the global namespace.
7108         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
7109         instead of <cstdlib>, <thread>.
7110         (optimization_barrier): New.
7111         (non_main_thread): Adjust declaration.  Call optimization_barrier.
7112         Call quick_exit in the global namespace.
7113         (do_test): Call optimization_barrier.  Use pthread_create,
7114         pthread_join instead of std::thread.
7116 2016-06-09  Andreas Schwab  <schwab@suse.de>
7118         [BZ #19755]
7119         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
7120         new entries in auto-propagate mode.
7121         * nscd/grpcache.c (cache_addgr): Likewise.
7123 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
7125         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
7126         New functions.
7127         (add_temp_file): Use them.
7129 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
7131         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
7133 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
7135         [BZ #20229]
7136         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
7137         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
7138         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
7140         [BZ #20228]
7141         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
7142         itself.
7143         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
7144         * math/libm-test.inc (log10_test_data): Add sNaN tests.
7146         [BZ #20227]
7147         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
7148         itself.
7149         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7150         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
7151         * math/libm-test.inc (log_test_data): Add sNaN tests.
7153         [BZ #20226]
7154         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
7155         itself.
7156         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
7157         * math/libm-test.inc (exp_test_data): Add sNaN tests.
7158         (exp10_test_data): Likewise.
7159         (expm1_test_data): Likewise.
7161         [BZ #20225]
7162         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
7163         itself.
7164         * math/s_ldexpf.c (__ldexpf): Likewise.
7165         * math/s_ldexpl.c (__ldexpl): Likewise.
7166         * math/w_scalbln.c (__w_scalbln): Likewise.
7167         * math/w_scalblnf.c (__w_scalblnf): Likewise.
7168         * math/w_scalblnl.c (__w_scalblnl): Likewise.
7169         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
7170         (scalbln_test_data): Likewise.
7172         [BZ #20224]
7173         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
7174         argument to itself.
7175         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
7177 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
7179         [BZ #19776]
7180         * sysdeps/x86_64/memcpy.S: Make it dummy.
7181         * sysdeps/x86_64/mempcpy.S: Likewise.
7182         * sysdeps/x86_64/memmove.S: New file.
7183         * sysdeps/x86_64/memmove_chk.S: Likewise.
7184         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
7185         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
7186         * sysdeps/x86_64/memmove.c: Removed.
7187         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
7188         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
7189         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
7190         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
7191         Likewise.
7192         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7193         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7194         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7195         memcpy-sse2-unaligned, memmove-avx-unaligned,
7196         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
7197         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7198         (__libc_ifunc_impl_list): Replace
7199         __memmove_chk_avx512_unaligned_2 with
7200         __memmove_chk_avx512_unaligned.  Remove
7201         __memmove_chk_avx_unaligned_2.  Replace
7202         __memmove_chk_sse2_unaligned_2 with
7203         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
7204         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
7205         with __memmove_avx512_unaligned.  Replace
7206         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
7207         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
7208         with __memcpy_chk_avx512_unaligned.  Remove
7209         __memcpy_chk_avx_unaligned_2.  Replace
7210         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
7211         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
7212         Replace __memcpy_avx512_unaligned_2 with
7213         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
7214         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
7215         with __mempcpy_chk_avx512_unaligned.  Remove
7216         __mempcpy_chk_avx_unaligned_2.  Replace
7217         __mempcpy_chk_sse2_unaligned_2 with
7218         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
7219         Replace __mempcpy_avx512_unaligned_2 with
7220         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
7221         Replace __mempcpy_sse2_unaligned_2 with
7222         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
7223         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
7224         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
7225         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
7226         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
7227         (ENTRY): Removed.
7228         (END): Likewise.
7229         (ENTRY_CHK): Likewise.
7230         (libc_hidden_builtin_def): Likewise.
7231         Don't include ../memcpy.S.
7232         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
7233         __memcpy_chk_avx512_unaligned_erms and
7234         __memcpy_chk_avx512_unaligned.  Use
7235         __memcpy_chk_avx_unaligned_erms and
7236         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
7237         Default to __memcpy_chk_sse2_unaligned.
7238         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
7239         Change function suffix from unaligned_2 to unaligned.
7240         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
7241         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
7242         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
7243         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
7244         (ENTRY): Removed.
7245         (END): Likewise.
7246         (ENTRY_CHK): Likewise.
7247         (libc_hidden_builtin_def): Likewise.
7248         Don't include ../mempcpy.S.
7249         (mempcpy): New.  Add a weak alias.
7250         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
7251         __mempcpy_chk_avx512_unaligned_erms and
7252         __mempcpy_chk_avx512_unaligned.  Use
7253         __mempcpy_chk_avx_unaligned_erms and
7254         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
7255         Default to __mempcpy_chk_sse2_unaligned.
7257 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
7259         [BZ #19881]
7260         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
7261         into ...
7262         * sysdeps/x86_64/memset.S: This.
7263         (__bzero): Removed.
7264         (__memset_tail): Likewise.
7265         (__memset_chk): Likewise.
7266         (memset): Likewise.
7267         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
7268         defined.
7269         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
7270         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
7271         (__memset_zero_constant_len_parameter): Check SHARED instead of
7272         PIC.
7273         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7274         memset-avx2 and memset-sse2-unaligned-erms.
7275         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7276         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
7277         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
7278         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
7279         (__bzero): Enabled.
7280         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
7281         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
7282         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
7283         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
7284         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
7285         (memset): Removed.
7286         (__memset_chk): Likewise.
7287         (MEMSET_SYMBOL): New.
7288         (libc_hidden_builtin_def): Replace __memset_sse2 with
7289         __memset_sse2_unaligned.
7290         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
7291         __memset_chk_sse2 and __memset_chk_avx2 with
7292         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
7293         Use __memset_chk_sse2_unaligned_erms or
7294         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
7295         __memset_chk_avx512_unaligned_erms and
7296         __memset_chk_avx512_unaligned.
7298 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7300         * math/gen-auto-libm-test.c (fp_format_desc): remove
7301         suffix member.
7302         (output_generic_value): Remove usage of suffix member,
7303         and the resulting unuse of the fp_format argument.
7304         (output_for_one_input_case): Remove unused fp_format
7305         parameter.
7307         * math/auto-libm-test-out: Regenerate.
7309         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
7310         usage with TEST_COND_ibm128.
7311         (TEST_COND_flt_32): Remove.
7312         (TEST_COND_dbl_64): Remove.
7313         (TEST_COND_ldbl_96_intel): Remove.
7314         (TEST_COND_ldbl_96_m68k): Remove.
7315         (TEST_COND_ldbl_128): Remove.
7317 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7319         * auto-libm-test-in:
7320         Replace flt-32 usage with binary32.
7321         Replace dbl-64 usage with binary64.
7322         Replace ldbl-intel-96 usage with intel96.
7323         Replace ldbl-m68k-96 usage with m68k96.
7324         Replace ldbl-128ibm usage with ibm128.
7325         Replace ldbl-128 usage with binary128.
7327         * auto-libm-test-out: Regenerate.
7329 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7331         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
7332         (parse_ulps): Dynamically generate type name matching
7333         string from all_floats.
7334         (get_ulps): Generate the ulps as an array instead.
7335         (output_ulps): Dynamically compose the type based
7336         on the number of supported formats, and print
7337         the indices as type specific helper macros.
7339         * math/libm-test.inc: Remove comment about CHOOSE.
7340         (ulp_data): Generate the type in libm-test-ulps.h.
7341         (ULP_IDX): New macro.
7342         (find_ulps): Update usage of max_ulp.
7344         * math/test-double-vlen2.h (CHOOSE): Remove.
7345         * math/test-double-vlen4.h (CHOOSE): Likewise.
7346         * math/test-double-vlen8.h (CHOOSE): Likewise.
7347         * math/test-float.c (CHOOSE): Likewise.
7348         * math/test-float-finite.c (CHOOSE): Likewise.
7349         * math/test-double.c (CHOOSE): Likewise.
7350         * math/test-double-finite.c (CHOOSE): Likewise.
7351         * math/test-idouble.c (CHOOSE): Likewise.
7352         * math/test-ifloat.c (CHOOSE): Likewise.
7353         * math/test-ildoubl.c (CHOOSE): Likewise.
7354         * math/test-ldouble-finite.c (CHOOSE): Likewise.
7355         * math/test-ldouble.c (CHOOSE): Likewise.
7357         * math/test-float.h (TEST_FLOAT): Remove.
7358         * math/test-double.h (TEST_DOUBLE): Likewise.
7359         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
7361 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7363         * math/gen-libm-test.pl: (apply_lit): New subroutine.
7364         (parse_args): Strip C suffix from floating point literals
7365         typed with 'f' and wrap them with LIT().
7367         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
7368         (test_ff_f_data_nexttoward): Rename to
7369         (test_fj_f_data): New struct.
7370         (nexttoward_test_data): Relabel tests as
7371         TEST_fj_f instead of TEST_ff_f.
7373 2016-06-08  Florian Weimer  <fweimer@redhat.com>
7375         Emacs bug 23726.
7376         * malloc/malloc.c (dumped_main_arena_start): Update comment.
7377         (__libc_realloc): Correct size computation for dumped fake mmapped
7378         chunks.
7380 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
7382         [BZ #20219]
7383         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
7384         to itself.
7385         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
7387         [BZ #20218]
7388         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
7389         to itself.
7390         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
7392 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
7394         [BZ #20195]
7395         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
7396         check to ...
7397         (init_cpu_features): Here.
7399 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
7401         [BZ #20214]
7402         * sysdeps/unix/sysv/linux/bits/in.h
7403         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
7404          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
7405         Define to 1.
7406         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
7407          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
7408         Define to 0.
7409         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
7410         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
7412 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
7414         [BZ #20198]
7415         * stdlib/Makefile (tests): Add tst-quick_exit, and
7416         tst-thread-quick_exit.
7417         [ifeq ($(have-cxx-thread_local),yes)]
7418         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
7419         (CFLAGS-tst-thread-quick_exit.o): Likewise.
7420         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
7421         (LDLIBS-tst-thread-quick_exit): Likewise.
7422         [ifneq ($(have-cxx-thread_local),yes)]
7423         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
7424         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
7425         If run_dtors is true call __call_tls_dtors.
7426         (exit): Call __run_exit_handlers with run_dtors set to true.
7427         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
7428         definition.
7429         * stdlib/quick_exit.c (quick_exit): Remove function.
7430         (__new_quick_exit): New function.
7431         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
7432         function.
7433         * stdlib/tst-quick_exit.cc: New file.
7434         * stdlib/tst-thread-quick_exit.cc: New file.
7435         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
7436         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
7437         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
7438         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
7439         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
7440         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
7441         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
7442         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
7443         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
7444         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
7445         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
7446         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
7447         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
7448         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
7449         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
7450         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
7451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
7452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
7453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
7454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
7455         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
7456         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
7457         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
7458         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
7459         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
7460         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
7461         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
7462         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
7463         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
7464         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
7466 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
7468         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
7469         a typo in comments.
7471 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
7473         [BZ #20213]
7474         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
7475         argument to itself.
7476         * math/libm-test.inc (asin_test_data): Add sNaN tests.
7478 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7480         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
7481         required flags.
7482         (CFLAGS-pwritev64.c): Likewise.
7483         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
7484         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
7485         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
7486         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
7487         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
7488         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
7489         syscall from auto-generation.
7490         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
7491         [WORDSIZE == 64] (pwritev64): Remove macro.
7492         [!PWRITEV] (PWRITEV): Likewise.
7493         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
7494         [!PWRITEV] (PWRITE): Likewise.
7495         [!PWRITEV] (OFF_T): Likewise.
7496         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
7497         (LO_HI_LONG): Remove macro.
7498         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
7499         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
7500         (PWRITEV): Remove macro.
7501         (PWRITEV_REPLACEMENTE): Likewise.
7502         (PWRITE): Likewise.
7503         (OFF_T): Likewise.
7504         (pwritev64): New function.
7505         * nptl/tst-cancel4.c (tf_writev): Add test.
7507         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
7508         required flags.
7509         (CFLAGS-preadv64.c): Likewise.
7510         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
7511         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
7512         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
7513         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
7514         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
7515         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
7516         syscall from auto-generation.
7517         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
7518         [WORDSIZE == 64] (preadv64): Remove macro.
7519         [!PREADV] (PREADV): Likewise.
7520         [!PREADV] (PREADV_REPLACEMENT): Likewise.
7521         [!PREADV] (PREAD): Likewise.
7522         [!PREADV] (OFF_T): Likewise.
7523         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
7524         (LO_HI_LONG): Remove macro.
7525         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
7526         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
7527         (PREADV): Remove macro.
7528         (PREADV_REPLACEMENTE): Likewise.
7529         (PREAD): Likewise.
7530         (OFF_T): Likewise.
7531         (preadv64): New function.
7532         * nptl/tst-cancel4.c (tf_preadv): Add test.
7534 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
7536         [BZ #20212]
7537         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
7538         argument to itself.
7539         * math/libm-test.inc (acos_test_data): Add sNaN tests.
7541 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7543         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
7544         New symbol defined as libc_hidden_def.
7545         (strcasestr): Became a weak alias to __strcasestr.
7546         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
7547         according to multi-arch support.  Move __stpncpy hidden
7548         definition from here to...
7549         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
7550         symbol stpncpy.
7551         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
7552         libc_hidden_builtin_def.
7553         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
7554         memset symbol to use when multi-arch support is available.
7556 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
7558         * dlfcn/tst-rec-dlopen.c: Include string.h.
7560 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
7562         * manual/install.texi: Remove mention of --without-tls
7563         * INSTALL: Regenerate.
7565 2016-06-05  Florian Weimer  <fweimer@redhat.com>
7567         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
7568         Remove.
7569         (call_function, interposed_malloc_called): New variables.
7570         (malloc): New function.
7571         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
7572         and clear call_function as needed.
7574 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
7576         * include/wchar.h (__wmemset): Use __typeof.
7578 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
7580         * include/wchar.h (__wmemset): Declare function without typeof.
7582 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
7584         [BZ #20205]
7585         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
7586         exponent when incrementing negative subnormal with low mantissa
7587         word zero.
7588         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
7589         Add another test.
7591 2016-06-03  Florian Weimer  <fweimer@redhat.com>
7593         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
7594         __wmemset instead of wmemset.
7596 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
7598         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
7599         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
7600         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
7601         __USE_KERNEL_IPV6_DEFS to 0.
7602         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
7603         Update comment.
7605 2016-06-01  Florian Weimer  <fweimer@redhat.com>
7607         [BZ #19861]
7608         Do not use IFUNC resolver with potentially unrelocated symbol.
7609         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
7610         (DEFINE_FORK): Remove macro and inline definition.
7611         (fork_alias): Renamed from fork_ifunc.
7612         (__fork_alias): Renamed from __fork_ifunc.
7614 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
7616         [BZ 19653]
7617         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
7618         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
7620 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7622         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
7623         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
7624         i386-linux-gnu).
7625         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
7626         Set to no.
7627         * sysdeps/mach/hurd/configure: Refresh.
7629 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7631         [BZ #20178]
7632         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
7633         on failure instead of exit.
7635 2016-05-30  Roland McGrath  <roland@hack.frob.com>
7637         [BZ #3629]
7638         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
7639         of POSIX.1-2008.
7641 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7643         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
7644           Use PLT entry for calling _hurd_self_sigstate.
7646 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
7648         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
7649         available logical processors with SMT level type sharing L2
7650         cache for Intel processors.
7652 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
7654         [BZ #20160]
7655         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
7656         argument to itself before returning the result.
7657         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
7658         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
7659         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
7660         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
7661         Likewise.
7662         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
7663         Likewise.
7664         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
7665         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
7666         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
7667         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
7668         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
7669         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
7671         [BZ #20160]
7672         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
7673         argument to itself before returning the result.
7674         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
7675         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
7676         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
7677         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
7678         Likewise.
7679         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7680         Likewise.
7681         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
7682         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
7683         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
7684         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
7685         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
7686         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
7688 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7690         * libm-test.inc: Replace usage of M_El with
7691         (lit_e): New macro.
7693 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7695         * libm-test.inc: Replace usage of M_PI_4l with
7696         (lit_pi_4_d): New macro.
7698 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7700         * libm-test.inc: Replace usage of M_PIl with
7701         (lit_pi): New macro.
7703 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7705         * libm-test.inc: Replace usage of M_PI2l with
7706         (lit_pi_2_d): New macro.
7708         * math/test-double.h (LITM): New macro.
7709         * math/test-float.h (LITM): Likewise.
7710         * math/test-ldouble.h (LITM): Likewise.
7712 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7714         * libm-test.inc (M_PI_34l): Rename to
7715         (lit_pi_3_m_4_d): New Macro.
7716         (M_PI_34_LOG10El): Rename to
7717         (lit_pi_3_m_4_ln10_m_d): New Macro.
7718         (M_PI2_LOG10El): Rename to
7719         (lit_pi_2_ln10_m_d):  New Macro.
7720         (M_PI4_LOG10El): Rename to
7721         (lit_pi_4_ln10_m_d):  New Macro.
7722         (M_PI_LOG10El): Rename to
7723         (lit_pi_ln10_d):  New Macro.
7725 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
7727         [BZ #20157]
7728         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
7729         determine whether to negate low half if [_ARCH_PPCGR], and integer
7730         comparison otherwise.
7731         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
7732         determine whether to negate low half.
7734         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
7735         (NO_TEST_INLINE_DOUBLE): Likewise.
7736         (TEST_COND_x86_64): Likewise.
7737         (TEST_COND_x86): Likewise.
7738         (M_PI_6l): Likewise.
7740 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7742         * math/libm-test.inc:
7743         (TEST_FLOAT): Change usage to TEST_COND_binary32.
7744         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
7745         (TEST_LDOUBLE): Update usage to evaluate as true if
7746         the guarded tests match the property being tested.
7747         (LDBL_MAX_EXP): Change to MAX_EXP.
7748         (LDBL_MIN_EXP): Change to MIN_EXP.
7749         (LDBL_MANT_DIG): Change to MANT_DIG, except for
7750         nexttoward tests.
7752 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7754         * math/libm-test.inc:
7755         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
7756         (TYPE_MIN): Likewise.
7757         (TYPE_TRUE_MIN): Likewise.
7758         (TYPE_MAX): Likewise.
7759         (MIN_EXP): Likewise.
7760         (MAX_EXP): Likewise.
7761         (MANT_DIG): Likewise.
7763         (FSTR_MAX): New macro.
7764         (__CONCATX): Likewise.
7765         (QTYPE_STR): Likewise.
7766         (TEST_COND_binary32): Likewise.
7767         (TEST_COND_binary64): Likewise.
7768         (TEST_COND_binary128): Likewise.
7769         (TEST_COND_ibm128): Likewise.
7770         (TEST_COND_intel96): Likewise.
7771         (TEST_COND_m68k96): Likewise.
7773         (TEST_COND_flt_32): Redefine as equivalent format test macro.
7774         (TEST_COND_dbl_64): Likewise.
7775         (TEST_COND_ldbl_96_intel): Likewise.
7776         (TEST_COND_ldbl_96_m68k): Likewise.
7777         (TEST_COND_ldbl_128): Likewise.
7778         (TEST_COND_ldbl_128ibm): Likewise.
7780         (plus_zero): Redefine using LIT macro.
7781         (minus_zero): Likewise.
7782         (plus_infty): Redefine as (INF).
7783         (minux_infty): Redefine as (-INF).
7784         (max_value): Redefine as TYPE_MAX.
7785         (min_value): Redefine as TYPE_MIN.
7786         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
7788         (print_float): Refactor to use snprintf to convert FLOAT values
7789         to string. This brings it closer to dropin replacement of strtof
7790         for the TS 18661 defined types.
7791         (update_stats): Likewise.
7792         (print_complex_function_ulps): Likewise.
7793         (print_max_error): Likewise.
7794         (print_complex_max_error): Likewise.
7795         (check_float_internal): Likewise.
7797         * math/test-float.h (PREFIX): New macro.
7798         (LIT): Likewise.
7799         (TYPE_STR): Likewise.
7800         (FTOSTR): Likewise.
7802         * math/test-double.h (PREFIX): New macro.
7803         (LIT): Likewise.
7804         (TYPE_STR): Likewise.
7805         (FTOSTR): Likewise.
7807         * math/test-ldouble.h (PREFIX): New macro.
7808         (LIT): Likewise.
7809         (TYPE_STR): Likewise.
7810         (FTOSTR): Likewise.
7812 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
7814         [BZ #20156]
7815         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
7816         to itself when zero or not finite.
7817         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
7818         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
7819         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
7820         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
7822 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
7824         [BZ #20153]
7825         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
7826         x * x + x for infinities and NaNs.
7828         [BZ #20151]
7829         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
7830         argument to itself before returning result.
7831         (__ieee754_y0l): Likewise.
7832         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
7833         (__ieee754_y1l).
7835         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
7836         (atan_test_data): Likewise.
7837         (ceil_test_data): Likewise.
7838         (cos_test_data): Likewise.
7839         (cosh_test_data): Likewise.
7840         (erf_test_data): Likewise.
7841         (exp2_test_data): Likewise.
7842         (fabs_test_data): Likewise.
7843         (floor_test_data): Likewise.
7844         (ilogb_test_data): Likewise.
7845         (j0_test_data): Likewise.
7846         (j1_test_data): Likewise.
7847         (jn_test_data): Likewise.
7848         (lgamma_test_data): Likewise.
7849         (lrint_test_data): Likewise.
7850         (llrint_test_data): Likewise.
7851         (logb_test_data): Likewise.
7852         (lround_test_data): Likewise.
7853         (llround_test_data): Likewise.
7854         (nearbyint_test_data): Likewise.
7855         (rint_test_data): Likewise.
7856         (round_test_data): Likewise.
7857         (sin_test_data): Likewise.
7858         (sincos_test_data): Likewise.
7859         (sinh_test_data): Likewise.
7860         (sqrt_test_data): Likewise.
7861         (tan_test_data): Likewise.
7862         (tanh_test_data): Likewise.
7863         (tgamma_test_data): Likewise.
7864         (trunc_test_data): Likewise.
7865         (y0_test_data): Likewise.
7866         (y1_test_data): Likewise.
7867         (yn_test_data): Likewise.
7869         * math/libm-test.inc: Update comment about NaN testing.
7870         (TEST_SNAN): New macro.
7871         (snan_value): Likewise.
7872         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
7873         (fpclassify_test_data): Add sNaN tests.
7874         (isfinite_test_data): Likewise.
7875         (isinf_test_data): Likewise.
7876         (isnan_test_data): Likewise.
7877         (isnormal_test_data): Likewise.
7878         (issignaling_test_data): Likewise.
7879         (signbit_test_data): Likewise.
7880         * math/gen-libm-test.pl (%beautify): Add snan_value.
7881         (show_exceptions): Add argument $test_snan.
7882         (parse_args): Handle snan_value as non-finite.  Update call to
7883         show_exceptions.
7884         * math/Makefile (libm-test-no-inline-cflags): Add
7885         -fsignaling-nans.
7887 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7889         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
7890         (CFLAGS-oldsendmsg.c): Add rule.
7891         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
7892         Correct recvmsg symbol name.
7893         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
7894         Likewise.
7896 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7898         * sysdeps/unix/sysv/linux/Makefile
7899         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
7900         oldsendmmsg.
7901         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
7902         sendmmsg.
7903         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7904         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7905         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7906         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7908         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7909         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7910         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
7911         Likewise.
7912         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7913         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
7914         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
7915         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
7916         iovlen and controllen fields to adjust to POSIX specification.
7917         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
7919         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
7920         and change to correct expected type.
7921         (msghdr.msg_controllen): Likewise.
7922         (cmsghdr.cmsg_len): Likewise.
7923         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
7924         expected POSIX assumption about the size.
7925         (msghdr.msg_controllen): Likewise.
7926         (msghdr.__glibc_reserved1): Likewise.
7927         (msghdr.__glibc_reserved2): Likewise.
7928         (cmsghdr.cmsg_len): Likewise.
7929         (cmsghdr.__glibc_reserved1): Likewise.
7930         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
7931         Add ptw-oldrecvmsg and ptw-oldsendmsg.
7932         (CFLAGS-sendmsg.c): Remove rule.
7933         (CFLAGS-recvmsg.c): Likewise.
7934         (CFLAGS-oldsendmsg.c): Add rule.
7935         (CFLAGS-oldrecvmsg.c): Likewise.
7936         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
7937         recvmsg and sendmsg.
7938         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
7939         Likewise.
7940         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
7941         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
7942         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
7943         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
7944         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
7945         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
7946         Likewise.
7947         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
7948         Likewise.
7949         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
7950         Likewise.
7951         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
7952         Likewise.
7953         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
7954         Likewise.
7955         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
7956         Likewise.
7957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
7958         (GLIBC_2.24): Likewise.
7959         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
7960         Likewise.
7961         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
7962         Likewise.
7963         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
7964         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
7965         Likewise.
7966         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
7967         Likewise.
7968         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
7969         Likewise.
7970         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
7971         (GLIBC_2.24): Likewise.
7972         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
7973         Likewise.
7974         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
7975         Likewise.
7976         * sysdeps/unix/sysv/linux/Makefile
7977         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
7978         (CFLAGS-sendmsg.c): Add rule.
7979         (CFLAGS-recvmsg.c): Likewise.
7980         (CFLAGS-oldsendmsg.c): Likewise.
7981         (CFLAGS-oldrecvmsg.c): Likewise.
7982         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
7983         initialization.
7984         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
7985         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
7986         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
7987         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
7988         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
7989         iovlen and controllen fields to adjust to POSIX specification.
7990         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
7991         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
7992         added recvmsg and sendmsg.
7993         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7994         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7995         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7996         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7997         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7998         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7999         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8000         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8001         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8002         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8003         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8004         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
8005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8006         Likewise.
8007         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
8008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8009         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8010         Likewise.
8011         Likewise.
8012         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8013         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8014         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8015         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8016         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8017         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8018         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
8019         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8020         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
8021         Likewise.
8022         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8023         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8025         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
8026         from auto-generation.
8027         (sendmsg): Likewise.
8028         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
8029         (sendmsg): Likewise.
8030         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
8031         (sendmsg): Likewise.
8032         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
8033         (sendmsg): Likewise.
8034         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
8035         (sendmsg): Likewise.
8036         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
8037         (sendmsg): Likewise.
8038         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
8039         Likewise.
8040         (sendmsg): Likewise.
8041         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
8042         (sendmsg): Likewise.
8043         * sysdeps/unix/sysv/linux/i386/kernel-features.h
8044         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8045         Remove.
8046         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8047         Likewise.
8048         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8049         Undefine.
8050         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8051         Likewise.
8052         * sysdeps/unix/sysv/linux/kernel-features.h
8053         (__ASSUME_SENDMSG_SYSCALL): Define.
8054         (__ASSUME_RECVMSG_SYSCALL): Likewise.
8055         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8056         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8057         Remove.
8058         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8059         Likewise.
8060         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8061         Undefine.
8062         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8063         Likewise.
8064         * sysdeps/unix/sysv/linux/s390/kernel-features.h
8065         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8066         Remove.
8067         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8068         Likewise.
8069         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8070         Undefine.
8071         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8072         Likewise.
8073         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8074         (__ASSUME_SENDMSG_SYSCALL): Undefine.
8075         (__ASSUME_RECVMSG_SYSCALL): Likewise.
8076         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8077         (__ASSUME_SENDMSG_SYSCALL): Likewise.
8078         (__ASSUME_RECVMSG_SYSCALL): Likewise.
8079         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8080         (__ASSUME_SENDMSG_SYSCALL): Likewise.
8081         (__ASSUME_RECVMSG_SYSCALL): Likewise.
8083 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8085         * stdlib/gen-tst-strtod-round.c: Add backslash to
8086         compile command in comment.
8087         (printfp): Remove the literal suffix, and define an infinite
8088         value as INF to avoid expansion clash with INFINITY.
8089         (round_str): Remove the literal suffix.
8090         (round_for_all): Likewise, remove the now duplicate ldbl-64
8091         entry, and remove some magic constants.
8093         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
8094         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
8095         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
8096         (_CONCAT): New macro.
8097         (CONCAT): Likewise.
8098         (CHOOSE_ld): Likewise.
8099         (CHOOSE_f): Likewise.
8100         (CHOOSE_d): Likewise.
8101         (FTYPE_MEMBER): Likewise.
8102         (BOOL_MEMBER): Likewise.
8103         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
8104         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
8105         (_XNTRY): Likewise.
8106         (XNTRY): Likewise.
8107         (_ENTRY): Likewise.
8108         (ENTRY): Likewise.
8109         (test_exactness): Generate members via macro.
8110         (test_results): Likewise.
8111         (test): Update members.
8112         (TEST): Redefine using new macros.
8113         (INF): New macro.
8114         (fetestmodes): New structure.
8115         (do_test): Refactor to be type generic.
8116         (test_in_one_mode): Refactor duplicate code into
8117         (GEN_ONE_TEST): New macro.
8119         * stdlib/tst-strtod-round-data.h: Regenerate.
8121         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
8122         Extend to pass additional arbitrary parameters to
8123         generators.
8125 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
8127         [BZ #15479]
8128         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
8129         floating-point state after first floating-point operation on
8130         input.  Restore full floating-point state instead of just rounding
8131         mode.
8132         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
8133         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
8134         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
8135         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
8136         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
8138         [BZ #15479]
8139         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
8140         floating-point state after first floating-point operation on
8141         input.  Restore full floating-point state instead of just rounding
8142         mode.
8143         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
8144         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
8145         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
8146         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
8147         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
8149 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8151         [BZ #19727]
8152         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
8153         valid high surrogate.
8154         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
8155         of an utf16 surrogate.
8156         * iconv/gconv_simple.c (BODY): Likewise.
8157         * iconvdata/bug-iconv12.c: New file.
8158         * iconvdata/Makefile (tests): Add bug-iconv12.
8160 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8162         [BZ #19726]
8163         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
8164         outptrp in case of an illegal input.
8165         * iconv/tst-iconv6.c: New file.
8166         * iconv/Makefile (tests): Add tst-iconv6.
8168 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8170         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
8171         an error in case of a value in range of an utf16 low surrogate.
8173 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8175         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
8176         an error in case of a value in range of an utf16 low surrogate.
8178 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8180         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
8181         Move to ...
8182         * sysdeps/s390/Makefile: ... here.
8183         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
8184         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
8185         (BRANCH_ON_COUNT): New define.
8186         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
8187         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
8188         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
8189         run on s390-32, too.
8190         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
8191         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
8192         run on s390-32, too.
8193         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
8194         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
8195         run on s390-32, too.
8197 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8199         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
8200         etf3eh or new vector loop-variant.
8202 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8204         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
8205         etf3eh or new vector loop-variant.
8207 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8209         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
8210         or new vector loop-variant.
8212 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8214         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
8215         Rename to TR_LOOP and usage of tr instead of troo instruction.
8217 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8219         * sysdeps/s390/multiarch/gconv_simple.c: New File.
8220         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
8222 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8224         * sysdeps/s390/multiarch/8bit-generic.c: New File.
8225         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
8226         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
8227         New override define.
8228         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
8230 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8232         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
8233         * sysdeps/s390/configure.ac: Add test for S390 vector register
8234         support in gcc.
8235         * sysdeps/s390/configure: Regenerated.
8237 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8239         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
8240         Install file from $(objpfx)gconv-modules.
8241         ($(objpfx)gconv-modules): Concatenate architecture specific file
8242         in variable sysdeps-gconv-modules and gconv-modules in src dir.
8243         * sysdeps/s390/gconv-modules: New file.
8244         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
8245         Deleted.
8246         ($(objpfx)gconv-modules-s390): Deleted.
8247         (sysdeps-gconv-modules): New variable.
8249 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
8251         [BZ #15479]
8252         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
8253         of immediate operand to rounding instruction.
8254         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
8255         Likewise.
8256         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
8257         Likewise.
8258         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
8259         Likewise.
8261 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8263         * math/libm-test.inc (MIN_EXP): Directly define as
8264         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
8266 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8268         * math/libm-test.inc (MANT_DIG): Directly define as
8269         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
8271 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8273         * stdlib/gen-tst-strtod-round.c (main):
8274           Change usage to more closely match the generated
8275           output.  Add usage and compilation instructions.
8276           (string_to_fp): Add and use FILE* parameter as
8277           output target.
8278           (print_fp): Likewise.
8279           (round_str): Likewise.
8280           (round_for_all): Likewise.
8281         * stdlib/tst-strtod-round.c (tests): Move into
8282         * stdlib/tst-strtod-round-data.h: New file.
8284 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
8286         [BZ #15479]
8287         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
8288         (__round): Do not force "inexact" exception.
8289         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
8290         variable.
8291         (__round): Do not force "inexact" exception.
8292         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
8293         (__roundf): Do not force "inexact" exception.
8294         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
8295         (__roundl): Do not force "inexact" exception.
8296         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
8297         (__roundl): Do not force "inexact" exception.
8298         * math/libm-test.inc (round_test_data): Do not allow spurious
8299         "inexact" exceptions.
8301         [BZ #15479]
8302         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
8303         exception in comment.
8304         (huge): Remove variable.
8305         (__floor): Do not force "inexact" exception.
8306         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
8307         "inexact" exception in comment.
8308         (huge): Remove variable.
8309         (__floor): Do not force "inexact" exception.
8310         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
8311         exception in comment.
8312         (huge): Remove variable.
8313         (__floorf): Do not force "inexact" exception.
8314         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
8315         exception in comment.
8316         (huge): Remove variable.
8317         (__floorl): Do not force "inexact" exception.
8319         [BZ #15479]
8320         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
8321         exception in comment.
8322         (huge): Remove variable.
8323         (__ceil): Do not force "inexact" exception.
8324         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
8325         "inexact" exception in comment.
8326         (huge): Remove variable.
8327         (__ceil): Do not force "inexact" exception.
8328         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
8329         (__ceilf): Do not force "inexact" exception.
8330         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
8331         exception in comment.
8332         (huge): Remove variable.
8333         (__ceill): Do not force "inexact" exception.
8335 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
8337         * config.h.in (BIND_NOW): New.
8338         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
8339         * configure: Regenerated.
8340         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
8341         indirect branch via the GOT slot.
8343 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8345         [BZ #19765]
8346         * sysdeps/s390/mempcpy.S: New File.
8347         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
8348         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
8349         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8350         Add mempcpy variants.
8351         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
8352         (memcpy): Adjust to be usable from mempcpy entry point.
8353         (__memcpy_mvcle): Likewise.
8354         * sysdeps/s390/s390-64/memcpy.S: Likewise.
8355         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
8356         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
8357         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
8358         (__memcpy_z10): Likewise.
8359         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
8361 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8363         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
8364         Remove __GI_ symbol.
8365         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
8366         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
8367         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
8368         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
8369         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
8370         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
8372 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8374         * sysdeps/s390/s390-64/memcpy.S (memcpy):
8375         Use cghi instead of chi to compare 64bit value.
8377 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8379         * sysdeps/s390/s390-32/memcpy.S (memcpy):
8380         Jump to 1MB check before executing mvc-loop.
8382 2016-05-24  Florian Weimer  <fweimer@redhat.com>
8384         [BZ #6527]
8385         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
8386         unconditionally.
8387         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
8389 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8391         * stdlib/tst-strtod6.c (do_test): Use new type generic
8392         invocation of the test function.
8393         (test): Refactor into ...
8394         (TEST_STRTOD): New macro base function.
8396 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8398         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
8399         (TEST_STRTOD): New macro.
8400         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
8402 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8404         * stdlib/tst-strtod6.c (do_test): Use new type generic
8405         invocation of the test function.
8406         (test): Refactor into ...
8407         (TEST_STRTOD): New macro base function.
8409 2016-05-23  Florian Weimer  <fweimer@redhat.com>
8411         CVE-2016-4429
8412         [BZ #20112]
8413         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
8414         payload.
8416 2016-05-23  Florian Weimer  <fweimer@redhat.com>
8418         [BZ #20111]
8419         * bits/sockaddr.h (_SS_SIZE): Define.
8420         * bits/socket.h (_SS_SIZE): Remove.
8421         (_SS_PADSIZE): Adjust to account for all padding.
8422         (struct sockaddr_storage): Update comment.  Avoid implicit
8423         padding.
8424         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
8425         (_SS_PADSIZE): Adjust to account for all padding.
8426         (struct sockaddr_storage): Update comment.  Avoid implicit
8427         padding.
8428         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
8429         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
8430         (_SS_PADSIZE): Adjust to account for all padding.
8431         (struct sockaddr_storage): Update comment.  Avoid implicit
8432         padding.
8433         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
8434         __SS_SIZE is 126 in this version.
8435         * inet/tst-sockaddr.c: New file.
8436         * inet/Makefile (tests): Add tst-sockaddr.c
8437         (tst-sockaddr.c): Compile with non-strict aliasing.
8439 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
8441         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
8442         [XPG3 || XPG4].
8443         (NL_ARGMAX): Also expect for [XPG3].
8444         (NL_LANGMAX): Likewise.
8445         (NL_MSGMAX): Likewise.
8446         (NL_NMAX): Likewise.
8447         (NL_SETMAX): Likewise.
8448         (NL_TEXTMAX): Likewise.
8449         (NZERO): Likewise.
8450         (TMP_MAX): Likewise.
8451         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
8452         variable.
8454         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
8455         (PF_MAX): Update value.
8456         (AF_KCM): New macro.
8457         (SOL_NETBEUI): Likewise.
8458         (SOL_LLC): Likewise.
8459         (SOL_DCCP): Likewise.
8460         (SOL_NETLINK): Likewise.
8461         (SOL_TIPC): Likewise.
8462         (SOL_RXRPC): Likewise.
8463         (SOL_PPPOL2TP): Likewise.
8464         (SOL_BLUETOOTH): Likewise.
8465         (SOL_PNPIPE): Likewise.
8466         (SOL_RDS): Likewise.
8467         (SOL_IUCV): Likewise.
8468         (SOL_CAIF): Likewise.
8469         (SOL_ALG): Likewise.
8470         (SOL_NFC): Likewise.
8471         (SOL_KCM): Likewise.
8472         (MSG_BATCH): New enum value and macro.
8474 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
8476         [BZ #18185]
8477         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
8478         sharing L2 cache to 2 for Knights Landing.
8480 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
8482         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
8483         (FTW_DP): Do not expect for [XPG3 || XPG4].
8484         (FTW_SL): Do not expect for [XPG3].
8485         (FTW_SLN): Likewise.
8486         (FTW_PHYS): Likewise.
8487         (FTW_MOUNT): Likewise.
8488         (FTW_DEPTH): Likewise.
8489         (FTW_CHDIR): Likewise.
8490         (nftw): Likewise.
8491         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
8492         variable.
8494 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
8496         * manual/errno.texi: Fix various typos & grammar errors.
8498 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
8500         * manual/intro.texi: Fix duplicated typo.
8502 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
8504         [BZ #13304]
8505         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
8506         <float.h>, <math_private.h> and <stdlib.h>.
8507         (add_split): New function.
8508         (mul_split): Likewise.
8509         (ext_val): New typedef.
8510         (store_ext_val): New function.
8511         (mul_ext_val): New function.
8512         (compare): New function.
8513         (add_split_ext): New function.
8514         (__fmal): After checking for Inf, NaN and zero, compute result as
8515         an exact sum of scaled double values in round-to-nearest before
8516         adding those up and adjusting for other rounding modes.
8517         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
8518         tests of fma.
8519         * math/auto-libm-test-out: Regenerated.
8521 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
8523         [BZ #20119]
8524         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
8525         processor level type mask for CPUID with EAX == 11.
8527 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
8529         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
8530         logical threads if the HTT bit is 0.
8531         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
8532         (index_cpu_HTT): Likewise.
8533         (reg_HTT): Likewise.
8535 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
8537         [BZ #20115]
8538         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
8539         Remove alignments on jump targets.
8541 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
8543         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
8544         (getpwent): Likewise.
8545         (setpwent): Likewise.
8546         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
8547         variable.
8549         * conform/data/search.h-data (insque): Do not expect for [XPG3].
8550         (remque): Likewise.
8551         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
8552         variable.
8554 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
8556         * math/libm-test.inc: Update comment not to refer to signs of NaNs
8557         not being tested.
8559 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
8561         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
8562         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
8563         call.
8564         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
8565         (__condvar_cleanup1): Likewise.
8567 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
8569         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
8570         New
8571         (__pthread_unwind): Renamed to ...
8572         (PTHREAD_UNWIND): This.
8573         (__pthread_enable_asynccancel): Replace
8574         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
8576 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
8578         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
8579         (CLONE_NEWCGROUP): New macro.
8581         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
8582         (Q_GETNEXTQUOTA): New macro.
8584 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
8586         [BZ #19907]
8587         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
8588         buffer updated by the previous run.
8589         * string/test-memcpy.c (do_one_test): Likewise.
8590         * benchtests/bench-memmove.c (do_one_test): Add a comment.
8591         * string/test-memmove.c (do_one_test): Likewise.
8593 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
8595         [BZ #20094]
8596         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
8597         not [__USE_XOPEN].
8598         (unlockpt): Likewise.
8599         (ptsname): Likewise.
8600         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
8601         variable.
8603         [BZ #20076]
8604         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
8605         instead of [__USE_UNIX98].
8606         (S_ISSOCK): Likewise.
8607         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
8608         variable.
8610         [BZ #20074]
8611         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
8612         [__USE_POSIX].
8613         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
8614         variable.
8616         [BZ #20051]
8617         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
8618         (ttyslot): Do not declare.
8619         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
8620         (ttyslot): New prototype.
8621         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
8622         variable.
8623         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8625 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8627         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
8629 2016-05-13  Florian Weimer  <fweimer@redhat.com>
8631         Fix race condition in tst-mallocfork2, use fewer resources.
8632         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
8633         to current process group.
8634         (signal_sender): Yield in the non-sleeping case.
8636 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
8638         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
8639         (ecvt): Likewise.
8640         (fcvt): Likewise.
8641         (gcvt): Likewise.
8642         (getsubopt): Likewise.
8643         (grantpt): Likewise.
8644         (initstate): Likewise.
8645         (l64a): Likewise.
8646         (mktemp): Likewise.
8647         (mkstemp): Likewise.
8648         (ptsname): Likewise.
8649         (random): Likewise.
8650         (realpath): Likewise.
8651         (setstate): Likewise.
8652         (srandom): Likewise.
8653         (ttyslot): Likewise.
8654         (unlockpt): Likewise.
8655         (valloc): Likewise.
8657         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
8658         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
8659         variable.
8661 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
8663         [BZ #20072]
8664         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
8665         init_cpu_features only if SHARED is defined.
8666         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
8668 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
8670         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
8671         non-inclusive caches on Intel processors.
8673 2016-05-13  Florian Weimer  <fweimer@redhat.com>
8675         * malloc/malloc.c (dumped_main_arena_start)
8676         (dumped_main_arena_end): New variables.
8677         (DUMPED_MAIN_ARENA_CHUNK): New macro.
8678         (do_check_chunk): Skip dumped fake mmapped chunks.
8679         (munmap_chunk): Likewise.
8680         (__libc_free): Do not adjust statistics for fake mmapped chunks.
8681         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
8682         mmapped chunks.
8683         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
8684         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
8685         and dumped_main_arena_end to cover the dumped heap.
8687 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
8689         * conform/data/time.h-data (getdate_err): Do not expect for
8690         [XPG3].
8691         (getdate): Likewise.
8692         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
8693         variable.
8695         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
8696         (F_ULOCK): Likewise.
8697         (F_TEST): Likewise.
8698         (F_TLOCK): Likewise.
8699         (useconds_t): Likewise.
8700         (intptr_t): Do not expect for [XPG3] or [XPG4].
8701         (brk): Do not expect for [XPG3]
8702         (fchown): Likewise.
8703         (fchdir): Likewise.
8704         (ftruncate): Likewise.
8705         (getdtablesize): Likewise.
8706         (gethostid): Likewise.
8707         (getpagesize): Likewise.
8708         (getpgid): Likewise.
8709         (getsid): Likewise.
8710         (getwd): Likewise.
8711         (lchown): Likewise.
8712         (lockf): Likewise.
8713         (readlink): Likewise.
8714         (sbrk): Likewise.
8715         (setpgrp): Likewise.
8716         (setregid): Likewise.
8717         (setreuid): Likewise.
8718         (symlink): Likewise.
8719         (sync): Likewise.
8720         (truncate): Likewise.
8721         (ualarm): Likewise.
8722         (usleep): Likewise.
8723         (vfork): Likewise.
8724         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
8725         variable.
8727         [BZ #20054]
8728         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
8729         not [__USE_UNIX98].
8730         * conform/data/unistd.h-data (gethostname): Do not expect for
8731         [XPG3].
8733         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
8734         [!POSIX] (S_IFBLK): Likewise.
8735         [!POSIX] (S_IFCHR): Likewise.
8736         [!POSIX] (S_IFIFO): Likewise.
8737         [!POSIX] (S_IFREG): Likewise.
8738         [!POSIX] (S_IFDIR): Likewise.
8739         [!POSIX] (S_IFLNK): Likewise.
8740         [!POSIX] (S_IFSOCK): Likewise.
8741         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
8742         variable.
8743         (test-xfail-XPG4/fcntl.h/conform): Likewise.
8745 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
8747         * sysdeps/aarch64/memset.S (__memset):
8748         Rewrite of optimized memset.
8750 2016-05-12  Florian Weimer  <fweimer@redhat.com>
8752         [BZ #19703]
8753         Partially async-signal-safe fork for single-threaded processes.
8754         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
8755         variable.  Do not acquire and reset/release malloc and libio locks
8756         in single-threaded processes.
8757         * malloc/tst-mallocfork2.c: New file.
8758         * malloc/Makefile (tests): Add it.
8760 2016-05-12  Florian Weimer  <fweimer@redhat.com>
8762         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
8763         argument.  Use scratch buffer instead of extend_alloca.
8764         (gethosts): Use scratch buffer instead of extend_alloca.
8765         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
8766         extend_alloca.
8767         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
8769 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
8771         [BZ #20055]
8772         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
8773         instead of [__USE_UNIX98].
8774         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
8775         [__USE_UNIX98].
8776         * conform/data/termios.h-data (tcgetsid): Do not expect for
8777         [XPG3].
8778         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
8779         variable.
8780         (test-xfail-XPG4/termios.h/conform): Likewise.
8782 2016-05-11  Florian Weimer  <fweimer@redhat.com>
8784         Do not use mcheck in localedef.
8785         * locale/programs/localedef.c (turn_on_mcheck)
8786         (__malloc_initialize_hook): Remove.
8788 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8790         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
8791         * sysdeps/s390/s390-64/Makefile: Likewise.
8793 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
8795         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
8796         Remove ifunc-defines.sym.
8797         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
8798         Likewise.
8799         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
8800         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
8801         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
8802         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
8803         rtld-global-offsets.sym.
8804         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
8805         * sysdeps/x86/cpu-features-offsets.sym: This.
8806         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
8807         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
8809 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
8811         [BZ #20073]
8812         * io/sys/stat.h (fchmod): Declare for
8813         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
8814         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
8815         variable.
8817         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
8818         [XPG3] (S_IFSOCK): Likewise.
8819         [XPG3] (S_ISVTX): Likewise.
8820         [XPG3] (S_ISLNK): Likewise.
8821         [XPG3] (S_ISSOCK): Likewise.
8822         [XPG3] (fchmod): Likewise.
8823         [XPG3] (lstat): Likewise.
8824         [XPG3] (mknod): Likewise.
8826         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
8827         [XPG3].  Expect type long and XFAIL for [XPG4].
8828         (st_blocks): Likewise.
8830         [BZ #20044]
8831         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
8832         (pthread_atfork): New prototype.
8833         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
8834         variable.
8836         [BZ #20043]
8837         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
8838         prototype.
8840 2016-05-10  Florian Weimer  <fweimer@redhat.com>
8842         [BZ #20017]
8843         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
8844         gmtime.
8846 2016-05-10  Florian Weimer  <fweimer@redhat.com>
8848         [BZ #19994]
8849         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
8850         flag in _res.options.
8852 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
8854         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
8855         [XPG3 || XPG4].
8856         (blksize_t): Likewise.
8857         (clockid_t): Likewise.
8858         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
8859         variable.
8860         (test-xfail-XPG4/sys/types.h/conform): Likewise.
8862 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
8864         * sysdeps/unix/sysv/linux/s390/init-first.c:
8865         Add VDSO_SYMBOL(getcpu).
8866         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
8867         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
8868         Add VDSO_SYMBOL(getcpu).
8869         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
8870         New define HAVE_GETCPU_VSYSCALL.
8871         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8873 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
8875         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
8876         instead of <sysdeps/x86_64/cacheinfo.c>.
8877         * sysdeps/x86_64/cacheinfo.c: Moved to ...
8878         * sysdeps/x86/cacheinfo.c: Here.
8880 2016-05-04  Florian Weimer  <fweimer@redhat.com>
8882         * malloc/malloc-internal.h: Adjust header file guard.
8884 2016-05-04  Florian Weimer  <fweimer@redhat.com>
8886         [BZ #19787]
8887         * inet/getnameinfo.c (check_sprintf_result): New function.
8888         (CHECKED_SNPRINTF): New macro.
8889         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
8890         to the host buffer.
8891         (gni_host_local): Use checked_copy to copy the host name.
8892         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
8893         (gni_serv_local): Use checked_copy to copy the service name.
8894         (getnameinfo): Remove unnecessary truncation of result buffers.
8896 2016-05-04  Florian Weimer  <fweimer@redhat.com>
8898         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
8899         in case of inet_ntop failure.
8901 2016-05-04  Florian Weimer  <fweimer@redhat.com>
8903         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
8904         avoid long lines.
8905         (gni_host_inet_numeric): Likewise.  Reduce scope of local
8906         variables.
8907         (gni_host_inet, gni_host_local): Add comment.
8908         (gni_host): Add comment.  Use temporary to avoid long lines.
8910 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8912         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
8913         registers specifiers where general purpose registers specifiers should
8914         have been used.
8916 2016-05-04  Florian Weimer  <fweimer@redhat.com>
8918         [BZ #19779]
8919         CVE-2016-1234
8920         Avoid copying names of directory entries.
8921         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
8922         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
8923         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
8924         (struct readdir_result): New type.
8925         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
8926         (GL_READDIR): New macros.
8927         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
8928         (convert_dirent, convert_dirent64): New functions.
8929         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
8930         convert_dirent64.  Adjust references to the readdir result.
8931         * sysdeps/unix/sysv/linux/i386/glob64.c:
8932         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
8933         * posix/bug-glob2.c (LONG_NAME): Define.
8934         (filesystem): Add LONG_NAME.
8935         (my_DIR): Increase the size of room_for_dirent.
8937 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
8939         [BZ #20041]
8940         * misc/sys/select.h (__need_timespec): Only define if
8941         [__USE_XOPEN2K].
8942         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
8943         variable.
8944         (test-xfail-XPG4/utmpx.h/conform): Likewise.
8945         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8946         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8948 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8949             Segher Boessenkool  <segher@gcc.gnu.org>
8951         [BZ #20004]
8952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
8953         (__novec_swapcontext): Add missing load.
8955 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
8957         [BZ #20023]
8958         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
8959         <time.h>.
8960         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
8961         variable.
8962         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8964 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
8967         flags CLONE_VM compare.
8969 2016-05-02  Florian Weimer  <fweimer@redhat.com>
8971         [BZ #20031]
8972         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
8973         completely empty.
8975 2016-05-02  Florian Weimer  <fweimer@redhat.com>
8977         [BZ #19573]
8978         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
8979         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
8980         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
8981         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
8982         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
8983         (hesiod_free_list): Mark as hidden.
8984         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
8985         res_set, res_get.
8986         * hesiod/hesiod.c: Remove unnecessary forward declarations.
8987         (init, __hesiod_res_get, __hesiod_res_set): Remove.
8988         (hesiod_init): Remove obsolete res_ninit call.
8989         (hesiod_end): Do not free resolver state.  Do not invoke callback.
8990         (hesiod_bind): Do not call init.
8991         (get_txt_records): Use res_mkquery, res_send instead of
8992         res_nmkquery, res_nsend.
8993         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
8994         instead of _nss_hesiod_init.
8995         (_nss_hesiod_initgroups_dyn): Likewise.
8996         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
8997         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
8998         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
9000 2016-05-02  Florian Weimer  <fweimer@redhat.com>
9002         * hesiod/hesiod_p.h (DEF_RHS): Remove.
9003         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
9005 2016-05-02  Florian Weimer  <fweimer@redhat.com>
9007         * hesiod/hesiod.h: Remove RCS keyword.
9008         * hesiod/hesiod_p.h: Likewise.
9010         * hesiod/hesiod.c: Likewise.
9012 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
9014         [BZ #12450]
9015         * locale/iso-639.def: Add Samogitian/sgs.
9017 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
9019         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
9021         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
9023 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
9024             Carlos O'Donell  <carlos@redhat.com>
9026         [BZ #19072]
9027         * grp/Makefile (headers): Add grp-merge.h
9028         (routines): Add grp-merge.
9029         * grp/getgrgid_r.c: Include grp-merge.h.
9030         (DEEPCOPY_FN): Define.
9031         (MERGE_FN): Define.
9032         * grp/getgrname_r.c: Include grp-merge.h.
9033         (DEEPCOPY_FN): Define.
9034         (MERGE_FN): Define.
9035         * grp/grp-merge.c: New file.
9036         * grp/grp-merge.h: New file.
9037         * include/grp-merge.h: New file.
9038         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
9039         __copy_grp@GLIBC_PRIVATE.
9040         * manual/nss.texi (Actions in the NSS configuration): Describe
9041         return, continue, and merge.
9042         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
9043         (DEEPCOPY_FN): Define.
9044         (MERGE_FN): Define.
9045         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
9046         (DEEPCOPY_FN): Define.
9047         (MERGE_FN): Define.
9048         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
9049         [!MERGE_FN]: Define __merge_einval.
9050         (CHECK_MERGE): Define.
9051         (REENTRANT_NAME): Process merge if do_merge is true.
9052         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
9053         (__nss_getent_r): Likewise.
9054         * nss/nsswitch.c (nss_parse_service_list): Likewise.
9055         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
9057 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9059         [BZ #20012]
9060         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
9061         length to calculate the buffer to read.
9062         (fmemopen_write): Set the buffer position based on bytes written.
9063         (fmemopen_seek): Return EINVAL for invalid whence modes.
9065         [BZ #19957]
9066         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
9067         tst-getpid2.
9068         (test): Add tst-clone2.
9069         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
9070         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
9071         pid/tid fields for CLONE_VM.
9072         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
9073         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
9074         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
9075         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
9076         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
9077         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
9078         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
9079         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
9080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
9081         Likewise.
9082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9083         Likewise.
9084         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
9085         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
9086         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
9087         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
9088         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
9089         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
9090         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
9091         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
9093 2016-04-29  Florian Weimer  <fweimer@redhat.com>
9095         [BZ #19642]
9096         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
9097         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
9098         (gni_serv_local, gni_serv): New functions extracted from
9099         getnameinfo.
9100         (getnameinfo): Call gni_host and gni_serv to perform the
9101         processing.  Always free scratch buffer.
9103 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9105         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
9106         remaining bytes in the dest string, with zeros.
9108 2016-04-29  Florian Weimer  <fweimer@redhat.com>
9110         [BZ #20010]
9111         CVE-2016-3706
9112         * sysdeps/posix/getaddrinfo.c
9113         (convert_hostent_to_gaih_addrtuple): New function.
9114         (gethosts): Call convert_hostent_to_gaih_addrtuple.
9115         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
9116         AF_INET data.
9118 2016-04-29  Florian Weimer  <fweimer@redhat.com>
9120         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
9121         callback function gl_readdir.
9122         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
9123         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
9124         (glob_in_dir): Remove len.  Use strdup instead of malloc and
9125         memcpy to copy the name.
9126         * manual/pattern.texi (Calling Glob): Document requirements for
9127         implementations of the gl_readdir callback function.
9128         * manual/examples/mkdirent.c: New example.
9129         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
9130         per the manual guidance.
9131         * posix/tst-gnuglob.c (my_readdir): Likewise.
9133 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
9135         [BZ #20014]
9136         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
9137         not [__USE_POSIX].
9138         (getchar_unlocked): Likewise.
9139         (putc_unlocked): Likewise.
9140         (putchar_unlocked): Likewise.
9141         (flockfile): Likewise.
9142         (ftrylockfile): Likewise.
9143         (funlockfile): Likewise.
9144         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
9145         variable.
9146         (test-xfail-XPG4/stdio.h/conform): Likewise.
9148         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
9149         Expect constant.
9150         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
9151         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
9152         variable.
9153         (test-xfail-XPG4/langinfo.h/conform): Likewise.
9154         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
9156         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
9157         [__USE_LARGEFILE64] (off64_t): Likewise.
9158         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
9159         variable.
9161 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9163         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
9165 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9167         * resolv/inet_addr.c: Reindent preprocessor conditionals.
9168         * resolv/res_init.c: Likewise.
9169         * resolv/res_mkquery.c: Likewise.
9171 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9173         * resolv/res_init.c (isascii): Do not define.  Use definition in
9174         <ctype.h>.
9175         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
9176         (LOG_AUTH): Remove.
9177         (SPRINTF): Remove, adjust caller.
9178         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
9180 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9182         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
9183         SUNSECURITY conditional.
9184         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
9186 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9188         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
9189         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
9190         Remove BSD-related preprocessor conditionals.
9191         * conf/portability.h: Remove.
9193 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9195         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
9196         * resolv/res_data.c: Likewise.
9198 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9200         * resolv/res_comp.c: Remove code conditional on __ultrix__.
9201         * resolv/res_data.c: Remove code conditional on ultrix.
9203 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9205         * resolv/res_init.c (RFC1535): Do not define.  Remove
9206         RFC1535 preprocessor conditionals.
9207         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
9208         because there configuration options which make the resolver
9209         behavior different.
9211 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9213         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
9214         RESOLVSORT preprocessor conditionals.
9215         * resolv/nss_dns/dns-host.c: Likewise.
9216         * resolv/res_init.c: Likewise.
9218 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9220         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
9221         is never defined.
9223 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9225         * inet/inet_lnaof.c: Remove SCSS keyword.
9226         * inet/inet_mkadr.c: Likewise.
9227         * inet/inet_net.c: Likewise.
9228         * inet/inet_netof.c: Likewise.
9229         * inet/rcmd.c: Likewise.
9230         * inet/rexec.c: Likewise.
9231         * inet/ruserpass.c: Likewise.
9233 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9235         * resolv/inet_addr.c: Remove _LIBC conditionals.
9236         * resolv/res_data.c: Likewise.
9237         * resolv/res_init.c: Likewise.
9238         * resolv/res_mkquery.c: Likewise.
9239         * resolv/res_libc.c: Update comment.
9240         * resolv/README: Update.
9242 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9244         * resolv/gethnamaddr.c: Remove SCSS keyword.
9245         * resolv/herror.c: Likewise.
9246         * resolv/inet_addr.c: Likewise.
9247         * resolv/inet_net_ntop.c: Likewise.
9248         * resolv/inet_net_pton.c: Likewise.
9249         * resolv/inet_neta.c: Likewise.
9250         * resolv/inet_ntop.c: Likewise.
9251         * resolv/inet_pton.c: Likewise.
9252         * resolv/ns_date.c: Remove RCS keyword.
9253         * resolv/ns_name.c: Likewise.
9254         * resolv/ns_netint.c: Likewise.
9255         * resolv/ns_parse.c: Likewise.
9256         * resolv/ns_print.c: Likewise.
9257         * resolv/ns_samedomain.c: Likewise.
9258         * resolv/ns_ttl.c: Likewise.
9259         * resolv/nsap_addr.c: Likewise.
9260         * resolv/res_comp.c: Remove SCSS and RCS keyword.
9261         * resolv/res_data.c: Remove RCS keyword.
9262         * resolv/res_debug.c: Remove SCSS and RCS keyword.
9263         * resolv/res_init.c: Likewise.
9264         * resolv/res_mkquery.c: Likewise.
9265         * resolv/res_query.c: Likewise.
9266         * resolv/res_send.c: Likewise.
9268 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
9270         * conform/data/stdio.h-data (fdopen): Expect also for
9271         [XPG3 || XPG4].
9273         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
9274         (fseeko): Likewise.
9275         (ftello): Likewise.
9276         (ftrylockfile): Likewise.
9277         (funlockfile): Likewise.
9278         (getc_unlocked): Likewise.
9279         (getchar_unlocked): Likewise.
9280         (putc_unlocked): Likewise.
9281         (putchar_unlocked): Likewise.
9283 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9285         [BZ #19868]
9286         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
9287         DNS packet syntax checks (which were not needed before).  Skip
9288         over non-PTR records.
9290 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9292         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
9293         definition.  Include <stddef.h> instead.
9295 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9297         [BZ #19831]
9298         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
9299         function.
9300         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
9301         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
9303 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9305         [BZ #19862]
9306         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
9307         (getanswer_r): Do not call syslog.
9308         (gaih_getanswer_slice): Likewise.
9309         * resolv/gethnamaddr.c (AskedForGot): Remove.
9310         (getanswer): Do not call syslog.
9311         (gethostbyaddr): Likewise.
9313 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
9315         * conform/data/signal.h-data (union sigval): Expect also if
9316         [XOPEN2K].
9317         (struct sigevent): Likewise.
9318         (SIGEV_NONE): Likewise.
9319         (SIGEV_SIGNAL): Likewise.
9320         (SIGEV_THREAD): Likewise.
9321         (SIGRTMIN): Likewise.
9322         (SIGRTMAX): Likewise.
9323         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
9324         variable.
9325         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
9327 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9329         [BZ #19830]
9330         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
9331         (gaih_getanswer_slice): Likewise.
9332         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
9333         Also check for availability of RR metadata.
9335 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9337         [BZ #19825]
9338         * resolv/res_send.c (send_vc): Remove early *resplen2
9339         initialization.  Set *resplen2 on socket error.  Call
9340         close_and_return_error for other errors.
9342 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
9344         * sysdeps/unix/sysv/linux/netiucv/iucv.h
9345         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
9346         (SCM_IUCV_TRGCLS): New define.
9348 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9350         [BZ #20005]
9351         * libio/fmemopen.c (fmemopen_write): Update internal position after
9352         write.
9353         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
9354         * stdio-common/tst-fmemopen4.c: New file..
9356 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
9358         [BZ #19996]
9359         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
9360         not [__USE_XOPEN2K].
9361         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
9362         variable.
9364         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
9365         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
9366         variable.
9368         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
9369         [__USE_XOPEN2K8].
9370         [__USE_LARGEFILE64] (off64_t): Likewise.
9371         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
9372         variable.
9374 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
9376         [BZ #19989]
9377         * libio/stdio.h (cuserid): Do not declare if
9378         [__USE_XOPEN2K && !__USE_GNU].
9379         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
9380         variable.
9382 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9384         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9385         (sysdep_routines): Add P8 and PPC64 strcspn targets.
9386         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9387         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
9388         ifunc'ed strcspn.
9389         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
9390         [EALIGN]: Removed.
9391         [END]: Likewise
9392         [STRSPN]: Define instead of the above to control symbol name.
9393         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
9394         New file.
9395         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
9396         Likewise.
9397         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
9398         Likewise.
9399         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
9400         Likewise.
9401         * sysdeps/powerpc/powerpc64/power8/strspn.S:
9402         [INITIAL_MASK]: New macro.
9403         [STRCSPN]: Likewise.
9404         [UPDATE_MASK]: Likewise.
9405         [USE_AS_STRCSPN]: Lisewise.
9407 2016-04-25  Florian Weimer  <fweimer@redhat.com>
9409         [BZ #19931]
9410         * stdio-common/tst-vfprintf-width-prec.c: New file.
9411         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
9412         (tests-special): Add tst-vfprintf-width-prec-mem.out.
9413         (generated): Add mtrace-related files.
9414         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
9415         (tst-%-mem.out): New pattern rule, replaces
9416         tst-printf-bz18872-mem.out.
9417         * stdio-common/vfprintf.c (vfprintf): When handling a precision
9418         specifier, deallocate any previously allocated work buffer.
9420 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
9422         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
9423         Add nop before __startcontext, add explaining comments.
9425 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
9427         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
9428         any more. Notably since IPV6_PKTINFO has been reintroduced with a
9429         completely different API.
9431         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
9432         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
9433         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
9434         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
9435         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
9436         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
9437         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
9438         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
9439         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
9440         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
9442 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
9444         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
9446 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
9448         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
9449         when it is the default of 0.
9451 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9453         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
9454         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9455         (sysdep_routines): Add new strcasestr targets.
9456         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9457         (__libc_ifunc_impl_list): Likewise.
9458         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
9459         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
9460         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
9461         * sysdeps/powerpc/powerpc64/power8/Makefile:
9462         New file to add strcasestr-ppc64 to sysdep_routines.
9463         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
9464         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
9466 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
9468         * benchtests/Makefile (wcsmbs-benchset): Include only for
9469         native builds and runs.
9470         (LOCALES): Likewise.
9471         (bench-build): Build timing-type here instead of the bench
9472         target.  Generate locale only for native builds.
9473         * benchtests/README: Add note for cross-building.
9475         * benchtests/Makefile (bench-clean): Clean up extra-objs.
9477         * benchtests/README: Update README to include instructions on
9478         using bench-build.
9480         * Makefile.in (bench-build): New target.
9481         * Rules (PHONY): Add bench-build target.
9482         * benchtests/Makefile (bench): Depend on bench-build.
9483         (bench-build): New target.
9485 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9487         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
9488         profil_reply_port.
9489         (profile_waiter): Do not initialize profil_reply_port.
9490         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
9491         frequency instead of tick length in us.
9493 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
9495         [BZ #18712]
9496         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
9497         (__old_mempcpy_small): Likewise.
9498         (__old_strcpy_small): Likewise.
9499         (__old_stpcpy_small): Likewise.
9500         (__old_strpbrk_c2): Fix compat symbol name.
9501         (__old_strpbrk_c3): Likewise.
9502         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
9503         (__mempcpy_small): Remove.
9504         (__strcpy_small): Remove.
9505         (__stpcpy_small): Remove.
9507 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
9509         [BZ #19400]
9510         * locale/iso-639.def: Add the Talossan/tzl language.
9512 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
9514         [BZ #16983]
9515         * locale/programs/ld-address.c (address_finish): Update postal_fmt
9516         comment.  Add "ln" to strchr check on postal_fmt.
9518 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
9520         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
9521         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
9522         tel_dom_fmt.
9524 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9526         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9527         (sysdep_routines): Added __strlen_power8.
9528         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
9529         __strlen_power8 entry.
9530         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
9531         Implementation for POWER8.
9532         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
9533         for __strlen_power8.
9534         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
9535         Implementation for POWER8.
9537 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
9539         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
9541 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
9543         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
9544         Goldmont and Airmont processors.
9546 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
9548         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
9549         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
9550         (__STRING2_SMALL_GET32): Remove.
9551         (memset): Remove.
9552         (__memset_1): Remove.
9553         (__memset_gc): Remove.
9554         (__mempcpy): Remove.
9555         (mempcpy): Remove.
9556         (__mempcpy_args): Remove.
9557         (strchr): Remove.
9558         (strcpy): Remove.
9559         (strcpy_args): Remove.
9560         (__stpcpy_args): Remove.
9561         (__strcmp_cc): Remove.
9562         (__strcmp_gc): Remove.
9563         (strstr): Remove.
9565 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
9567         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
9568         * nis/nis_call.c (nis_server_cache_add): Likewise.
9570 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9572         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
9574 2016-04-14  Florian Weimer  <fweimer@redhat.com>
9576         * malloc/arena.c (__malloc_fork_lock_parent)
9577         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
9578         internal_function attribute.
9580 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
9582         * stdio-common/printf_fp.c (__printf_fp_l):
9583         Rename ___printf_fp_l to __printf_fp_l and
9584         remove strong alias. Use libc_hidden_def instead
9585         of ldbl_hidden_def macro.
9587 2016-04-14  Florian Weimer  <fweimer@redhat.com>
9589         Remove malloc hooks from fork handler.  They are no longer needed
9590         because malloc runs right before fork, and no malloc calls from
9591         other fork handlers are not possible anymore.
9592         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
9593         declarations.
9594         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
9595         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
9596         (atfork_recursive_cntr): Remove.
9597         (__malloc_fork_lock_parent): Do not override malloc hooks and
9598         thread_arena.
9599         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
9600         thread_arena.
9601         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
9602         thread_arena instead of save_arena.
9604 2016-04-14  Florian Weimer  <fweimer@redhat.com>
9606         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
9607         (thread_atfork, thread_atfork_static): Remove.
9608         * sysdeps/mach/hurd/malloc-machine.h:
9609         (thread_atfork, thread_atfork_static): Remove.
9611 2016-04-14  Florian Weimer  <fweimer@redhat.com>
9613         [BZ #19431]
9614         Run the malloc fork handler as late as possible to avoid deadlocks.
9615         * malloc/malloc-internal.h: New file.
9616         * malloc/malloc.c: Include it.
9617         * malloc/arena.c (ATFORK_MEM): Remove.
9618         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
9619         Update comment.
9620         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
9621         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
9622         Remove outdated comment.
9623         (ptmalloc_init): Do not call thread_atfork.  Remove
9624         thread_atfork_static.
9625         * malloc/tst-malloc-fork-deadlock.c: New file.
9626         * Makefile (tests): Add tst-malloc-fork-deadlock.
9627         (tst-malloc-fork-deadlock): Link against libpthread.
9628         * manual/memory.texi (Aligned Memory Blocks): Update safety
9629         annotation comments.
9630         * sysdeps/nptl/fork.c (__libc_fork): Call
9631         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
9632         __malloc_fork_unlock_child.
9633         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
9635 2016-04-14  Florian Weimer  <fweimer@redhat.com>
9637         [BZ #19613]
9638         Remove union wait.
9639         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
9640         (w_stopsig, w_stopval): Remove.
9641         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
9642         stat_loc argument.
9643         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
9644         (__WAIT_STATUS_DEFN): Remove.
9645         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
9646         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
9647         (wait, wait3, wait4): Use int * for the stat_loc argument.
9648         * posix/wait.c (__wait): Likewise.
9649         * posix/wait3.c (__wait3): Likewise.
9650         * posix/wait4.c (__wait4): Likewise.
9651         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
9652         (__WAIT_STATUS_DEFN): Remove.
9653         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
9654         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
9655         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
9656         argument.
9657         * sysdeps/posix/wait.c (__libc_wait): Likewise.
9658         * sysdeps/posix/wait3.c (__wait3): Likewise.
9659         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
9660         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
9661         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
9662         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
9663         stat_loc argument.
9664         * manual/process.texi (BSD Wait Functions): Remove union wait.
9666 2016-04-13  Andreas Schwab  <schwab@suse.de>
9668         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
9669         (test-extras): Add tst-tlsalign-vars.
9670         * math/Makefile: Wrap long lines.
9671         (libm-vec-test-wrappers): Define.
9672         (test-extras): Add $(libm-vec-test-wrappers).
9673         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
9674         * nss/Makefile (extra-test-objs): Add nss_test1.os.
9675         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
9676         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
9677         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
9678         (extra-test-objs): Add corresponding objects.
9680 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
9682         [BZ #19928]
9683         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
9684         New.
9685         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
9686         times of shared cache size.
9687         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
9688         (VMOVNT): New.
9689         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
9690         (VMOVNT): Likewise.
9691         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
9692         (VMOVNT): Likewise.
9693         (VMOVU): Changed to movups for smaller code sizes.
9694         (VMOVA): Changed to movaps for smaller code sizes.
9695         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
9696         comments.
9697         (PREFETCH): New.
9698         (PREFETCH_SIZE): Likewise.
9699         (PREFETCHED_LOAD_SIZE): Likewise.
9700         (PREFETCH_ONE_SET): Likewise.
9701         Rewrite to use forward and backward loops, which move 4 vector
9702         registers at a time, to support overlapping addresses and use
9703         non temporal store if size is above the threshold and there is
9704         no overlap between destination and source.
9706 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
9708         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
9709         Include dl-vdso.
9710         * sysdeps/unix/sysv/linux/mips/Versions: Add
9711         __vdso_clock_gettime.
9712         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
9713         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
9714         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
9715         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
9716         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
9717         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
9718         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
9719         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
9720         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
9722 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9724         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
9725         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
9726         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
9727         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
9728         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
9729         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
9730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
9731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
9732         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
9733         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
9734         syscalls generation.
9735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9736         [__NR_pwrite64] (__NR_write): Remove define.
9737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9738         [__NR_pwrite64] (__NR_write): Remove define.
9739         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
9740         Remove define.
9741         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
9742         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
9743         Remove define.
9744         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
9745         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
9746         Linux implementation as base.
9747         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9749         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
9750         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
9751         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
9752         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
9753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
9754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
9755         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
9756         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
9757         syscall generation.
9758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9759         [__NR_pread64] (__NR_pread): Remove define.
9760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9761         [__NR_pread64] (__NR_pread): Likewise.
9762         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
9763         define.
9764         (__libc_pread): Use SYSCALL_LL macro on offset argument.
9765         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
9766         Remove define.
9767         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
9768         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
9769         Linux implementation as base.
9770         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9771         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
9772         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
9774         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
9775         definition.
9776         (__ALIGNMENT_COUNT): Likewise.
9777         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
9778         (__ALIGNMENT_COUNT): Likewise.
9779         (SYSCALL_LL): New define.
9780         (SYSCALL_LL64): Likewise.
9781         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
9782         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
9783         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
9784         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
9786         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9787         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
9788         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9789         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
9790         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9791         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
9793 2016-04-11  Florian Weimer  <fweimer@redhat.com>
9795         [BZ #19865]
9796         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
9797         original buffer before retry.
9799 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9801         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
9802         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
9803         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
9804         GLRO(dl_auxv) list.
9805         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
9806         including <ldsodefs.h>.
9807         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
9809 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
9811         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
9812         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
9813         $(CPPFLAGS).
9815 2016-04-09  Khem Raj  <raj.khem@gmail.com>
9817         [BZ #17950]
9818         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
9819         Add -mfpmath=387.
9821 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
9823         * sysdeps/i386/configure.ac: Change == to = when calling test.
9824         * sysdeps/x86_64/configure.ac: Likewise.
9825         * sysdeps/i386/configure: Regenerated.
9826         * sysdeps/x86_64/configure: Likewise.
9828 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
9830         [BZ #16137]
9831         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
9832         * benchtests/bench-strcoll.c (input_files): Likewise.
9833         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
9834         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
9835         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
9837 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
9839         [BZ #19929]
9840         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
9841         [__USE_XOPEN2K8 && !__USE_GNU].
9842         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
9843         variable.
9845         [BZ #19925]
9846         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
9847         define if [!__USE_MISC && __USE_XOPEN2K].
9848         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
9849         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
9850         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
9851         Likewise.
9852         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
9853         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
9854         variable.
9855         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
9857 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9859         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9860         (sysdep_routines): Add new strspn targets.
9861         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9862         (__libc_ifunc_impl_list): Add strspn.
9863         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
9864         New file.
9865         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
9866         Likewise.
9867         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
9868         Likewise.
9869         * sysdeps/powerpc/powerpc64/power8/strspn.S:
9870         Likewise.
9872 2016-04-07  Florian Weimer  <fweimer@redhat.com>
9874         * misc/hsearch_r.c: Include <limits.h>.
9876 2016-04-07  Florian Weimer  <fweimer@redhat.com>
9878         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
9880 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
9882         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
9883         (MEMCPY_SYMBOL): New.
9884         (MEMPCPY_SYMBOL): Likewise.
9885         (MEMMOVE_CHK_SYMBOL): Likewise.
9886         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
9887         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
9888         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
9889         Provide alias for memcpy in libc.a and ld.so.
9891 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
9893         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
9894         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
9895         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
9896         Disabled fro now.
9897         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
9898         symbols.  Properly check USE_MULTIARCH on __memset symbols.
9900 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
9902         * benchtests/Makefile (string-benchset): Add memcpy-large,
9903         memmove-large and memset-large.
9904         * benchtests/bench-memcpy-large.c: New file.
9905         * benchtests/bench-memmove-large.c: Likewise.
9906         * benchtests/bench-memmove-large.c: Likewise.
9907         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
9909 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
9911         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
9912         32-bit displacement to avoid long nop between instructions.
9914 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
9916         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
9917         a comment on VMOVU and VMOVA.
9919 2016-04-04  Florian Weimer  <fweimer@redhat.com>
9921         [BZ #19633]
9922         Use specified locale for number formatting in strfmon_l.
9923         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
9924         (__nl_lookup_word): New inline functions.
9925         * include/printf.h (__print_fp_l): Declare.
9926         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
9927         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
9928         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
9929         (___printf_fp): New function.
9930         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
9931         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
9932         * stdlib/tst-strfmon_l.c (do_test): New test.
9933         * stdlib/Makefile (tests): Add kt.
9934         (LOCALES): Build additional locales.
9935         (tst-strfmon_l.out): Require locales.
9937 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
9939         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
9940         if not in libc.
9941         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
9942         Likewise.
9943         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
9944         Likewise.
9945         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
9946         Likewise.
9948 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
9950         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
9951         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
9952         with unaligned_erms.
9953         (__memmove_erms): Skip if source == destination.
9954         (__memmove_unaligned_erms): Don't check source == destination
9955         first.
9957 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
9959         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
9960         bit_arch_Fast_Copy_Backward for Intel Core proessors.
9962 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9964         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
9965         * string/strspn.c (strspn): Likewise.
9967 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
9969         * benchtests/bench-memset.c (do_test): Support 64-byte
9970         alignment.
9971         (test_main): Test 64-byte alignment.
9973 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
9975         * benchtests/bench-memmove.c (test_main): Test 64-byte
9976         alignment.
9978 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
9980         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
9982 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9984         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
9985         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
9986         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
9988         * string/strpbrk.c (strpbrk): Rewrite function.
9989         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
9990         (__strpbrk_c2): Likewise.
9991         (__strpbrk_c3): Likewise.
9992         * string/string-inlines.c
9993         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
9994         Likewise.
9995         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
9996         Likewise.
9998         * string/strspn.c (strcspn): Rewrite function.
9999         * string/bits/string2.h (strspn): Use __builtin_strcspn.
10000         (__strspn_c1): Remove inline function.
10001         (__strspn_c2): Likewise.
10002         (__strspn_c3): Likewise.
10003         * string/string-inlines.c
10004         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
10005         compatibility symbol.
10006         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
10007         Likewise.
10008         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
10009         Likewise.
10010         * string/string-inlines.c: Include generic version.
10012 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
10013             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10015         * string/Version (libc): Add GLIBC_2.24.
10016         * string/strcspn.c (strcspn): Rewrite function.
10017         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
10018         (__strcspn_c1): Remove inline function.
10019         (__strcspn_c2): Likewise.
10020         (__strcspn_c3): Likewise.
10021         * string/string-inline.c
10022         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
10023         compatibility symbol.
10024         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
10025         Likewise.
10026         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
10027         Likewise.
10028         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
10030 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
10032         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
10033         Use ahi instead of aghi to adjust stack pointer.
10035 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10037         [BZ #19853]
10038         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
10039         TEST to take significant digits as second parameter.
10040         [TEST]: Redefine in terms of TEST_N taking 30
10041         significant digits.
10042         (do_test): Add test case to demonstrate precision
10043         failure in the ldbl-128ibm printf.
10044         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
10045         (__mpn_extract_long_double): Carry 7 extra intermediate
10046         bits of precision to aide computing difference when
10047         signs differ.
10049 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
10051         [BZ #19881]
10052         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10053         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
10054         memset-avx512-unaligned-erms.
10055         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10056         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
10057         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
10058         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
10059         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
10060         __memset_sse2_unaligned_erms, __memset_erms,
10061         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
10062         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
10063         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
10064         file.
10065         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
10066         Likewise.
10067         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
10068         Likewise.
10069         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
10070         Likewise.
10072 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
10074         [BZ #19776]
10075         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10076         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
10077         memmove-avx512-unaligned-erms.
10078         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10079         (__libc_ifunc_impl_list): Test
10080         __memmove_chk_avx512_unaligned_2,
10081         __memmove_chk_avx512_unaligned_erms,
10082         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
10083         __memmove_chk_sse2_unaligned_2,
10084         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
10085         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
10086         __memmove_avx512_unaligned_erms, __memmove_erms,
10087         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
10088         __memcpy_chk_avx512_unaligned_2,
10089         __memcpy_chk_avx512_unaligned_erms,
10090         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
10091         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
10092         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
10093         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
10094         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
10095         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
10096         __mempcpy_chk_avx512_unaligned_erms,
10097         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
10098         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
10099         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
10100         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
10101         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
10102         __mempcpy_erms.
10103         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
10104         file.
10105         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
10106         Likwise.
10107         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
10108         Likwise.
10109         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
10110         Likwise.
10112 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
10114         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
10115         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
10116         (La_s390_64_regs): Likewise.
10117         (La_s390_32_retval): Append vector register lrv_v24.
10118         (La_s390_64_retval): Likeweise.
10119         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
10120         Handle extended structs La_s390_32_regs and La_s390_32_retval.
10121         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
10122         Handle extended structs La_s390_64_regs and La_s390_64_retval.
10124 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
10126         [BZ #19916]
10127         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
10128         to create a non-vector/vector version for _dl_runtime_resolve and
10129         _dl_runtime_profile. Move implementation to ...
10130         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
10131         (_dl_runtime_resolve) Save and restore fpr/vrs.
10132         (_dl_runtime_profile) Save and restore vrs and fix some issues
10133         if _dl_call_pltexit is called.
10134         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
10135         Choose the correct resolver function if running on a machine with vx.
10136         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
10137         to create a non-vector/vector version for _dl_runtime_resolve and
10138         _dl_runtime_profile. Move implementation to ...
10139         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
10140         (_dl_runtime_resolve) Save and restore fpr/vrs.
10141         (_dl_runtime_profile) Save and restore vrs and fix some issues
10142         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
10143         Choose the correct resolver function if running on a machine with vx.
10145 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10147         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
10149 2016-03-31  Florian Weimer  <fweimer@redhat.com>
10151         [BZ #19509]
10152         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
10153         skip_map != NULL.
10154         * elf/tst-dlsym-error.c: New file.
10155         * elf/Makefile (tests): Add tst-dlsym-error.
10156         (tst-dlsym-error): Link against libdl.
10158 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
10160         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10161         (__ASSUME_FUTIMESAT): Remove macro.
10162         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
10164 2016-03-29  Florian Weimer  <fweimer@redhat.com>
10166         [BZ #19879]
10167         CVE-2016-3075
10168         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
10169         copy name.
10171 2016-03-29  Florian Weimer  <fweimer@redhat.com>
10173         [BZ #19837]
10174         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
10175         error if parse_line fails.
10177 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
10179         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
10180         (index_cpu_ERMS): Likewise.
10181         (reg_ERMS): Likewise.
10183 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
10185         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
10186         PER_LINUX_FDPIC): Add.
10188 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
10190         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10191         memcpy-avx512-no-vzeroupper.
10192         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
10193         to ...
10194         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
10195         (MEMCPY): Don't define.
10196         (MEMCPY_CHK): Likewise.
10197         (MEMPCPY): Likewise.
10198         (MEMPCPY_CHK): Likewise.
10199         (MEMPCPY_CHK): Renamed to ...
10200         (__mempcpy_chk_avx512_no_vzeroupper): This.
10201         (MEMPCPY_CHK): Renamed to ...
10202         (__mempcpy_chk_avx512_no_vzeroupper): This.
10203         (MEMCPY_CHK): Renamed to ...
10204         (__memmove_chk_avx512_no_vzeroupper): This.
10205         (MEMCPY): Renamed to ...
10206         (__memmove_avx512_no_vzeroupper): This.
10207         (__memcpy_avx512_no_vzeroupper): New alias.
10208         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
10210 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
10212         [BZ #18858]
10213         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10214         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
10215         and mempcpy-avx512-no-vzeroupper.
10216         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
10217         New.
10218         (MEMPCPY): Likewise.
10219         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
10220         (MEMPCPY_CHK): New.
10221         (MEMPCPY): Likewise.
10222         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
10223         (MEMPCPY): Likewise.
10224         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
10225         (MEMPCPY): Likewise.
10226         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
10227         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
10228         Likewise.
10229         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
10230         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
10232 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
10233              Amit Pawar  <Amit.Pawar@amd.com>
10235         [BZ #19583]
10236         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
10237         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
10238         processors.  Set Fast_Copy_Backward for AMD Excavator
10239         processors.
10240         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
10241         New.
10242         (index_arch_Fast_Unaligned_Copy): Likewise.
10243         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
10244         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
10246 2016-03-25  Florian Weimer  <fweimer@redhat.com>
10248         [BZ #19791]
10249         * resolv/res_send.c (close_and_return_error): New function.
10250         (send_dg): Initialize *resplen2 after reopen failure.  Call
10251         close_and_return_error for error returns.  On error paths without
10252         __res_iclose, initialze *resplen2 explicitly.  Update comment for
10253         successful return.
10255 2016-03-25  Florian Weimer  <fweimer@redhat.com>
10257         [BZ# 19860]
10258         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
10259         zero if the compiler does not provide the AVX512F bit.
10261 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
10263         [BZ #19848]
10264         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
10265         from 8 to 4.
10266         (__ieee754_powl): Compare integer exponent against 4 not 8.
10267         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
10268         from 8 to 4.
10269         (__ieee754_powl): Compare integer exponent against 4 not 8.
10270         * math/auto-libm-test-in: Add more tests of pow.
10271         * math/auto-libm-test-out: Regenerated.
10272         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
10273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10275 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
10277         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
10278         Make code unconditional.
10279         [!__NR_utimensat]: Remove conditional code.
10280         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
10281         Make code unconditional.
10282         [!__NR_utimensat]: Remove conditional code.
10283         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
10284         Make code unconditional.
10285         [!__NR_utimensat]: Remove conditional code.
10287 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
10289         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
10290         Make code unconditional.
10292 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
10294         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
10295         call-clobbered %eax on retry path.
10296         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
10298 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
10300         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
10301         Don't set %rcx twice before "rep movsb".
10303 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
10305         [BZ #19583]
10306         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
10307         inline.  Check family before setting family, model and
10308         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
10309         bits here.
10310         (init_cpu_features): Replace HAS_CPU_FEATURE and
10311         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
10312         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
10313         for Intel processors with usable AVX2.  Call get_common_indeces
10314         for other processors with family == NULL.
10315         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
10316         (CPU_FEATURES_ARCH_P): Likewise.
10317         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
10318         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
10320 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10322         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
10323         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
10324         $(shared-thread-library) instead of hardcoding the path to libpthread.
10326 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
10328         * sysdeps/unix/sysv/linux/kernel-features.h
10329         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
10330         * sysdeps/unix/sysv/linux/getdents.c
10331         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
10332         [!have_no_getdents64_defined]: Likewise.
10333         (__GETDENTS): Remove __have_no_getdents64 conditional.
10335 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
10337         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
10338         Remove macro.
10339         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
10340         <kernel-features.h>.
10341         (signalfd) [__NR_signalfd4]: Make code unconditional.
10342         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
10344 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10346         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
10347         style.
10349 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
10351         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
10352         (__pthread_enable_asynccancel): Use JUMPTARGET to call
10353         __pthread_unwind.
10354         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
10355         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
10356         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
10357         (__condvar_cleanup1): Likewise.
10359 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
10361         [BZ #19822]
10362         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
10363         move it to the final $@ location.
10365 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10367         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
10368         access where posix_spawn success and pid argument is null.
10369         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
10370         success case.
10372 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
10374         * sysdeps/mach/hurd/i386/c++-types.data: New file.
10376         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
10378         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
10379         and __fcntl.
10380         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
10381         __fcntl only.
10382         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
10383         adding attribute_hidden to __open and __fcntl.
10385         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
10386         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
10387         depend on libc-modules.h,
10388         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
10390 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
10392         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
10393         Remove macro.
10394         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
10395         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
10396         entry.
10398         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
10399         Remove macro.
10400         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
10401         include <kernel-features.h>.
10402         [!__ASSUME_FALLOCATE]: Remove conditional code.
10403         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
10405 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
10407         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
10408         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
10409         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
10410         (_ZGVdN4v_cos_avx2): Likewise.
10411         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
10412         (_ZGVdN4v_cos): Likewise.
10413         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
10414         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
10415         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
10416         (_ZGVdN4v_exp_avx2): Likewise.
10417         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
10418         (_ZGVdN4v_exp): Likewise.
10419         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
10420         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
10421         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
10422         (_ZGVdN4v_log_avx2): Likewise.
10423         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
10424         (_ZGVdN4v_log): Likewise.
10425         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
10426         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
10427         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
10428         (_ZGVdN4vv_pow_avx2): Likewise.
10429         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
10430         (_ZGVdN4vv_pow): Likewise.
10431         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
10432         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
10433         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
10434         (_ZGVdN4v_sin_avx2): Likewise.
10435         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
10436         (_ZGVdN4v_sin): Likewise.
10437         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
10438         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
10439         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
10440         (_ZGVdN4vvv_sincos_avx2): Likewise.
10441         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
10442         (_ZGVdN4vvv_sincos): Likewise.
10443         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
10444         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
10445         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
10446         (_ZGVbN4v_cosf_sse4): Likewise.
10447         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
10448         (_ZGVdN8v_cosf_avx2): Likewise.
10449         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
10450         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
10451         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
10452         (_ZGVbN4v_expf_sse4): Likewise.
10453         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
10454         (_ZGVdN8v_expf_avx2): Likewise.
10455         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
10456         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
10457         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
10458         (_ZGVbN4v_logf_sse4): Likewise.
10459         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
10460         (_ZGVdN8v_logf_avx2): Likewise.
10461         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
10462         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
10463         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
10464         (_ZGVbN4vv_powf_sse4): Likewise.
10465         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
10466         (_ZGVdN8vv_powf_avx2): Likewise.
10467         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
10468         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
10469         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
10470         (_ZGVbN4vvv_sincosf_sse4): Likewise.
10471         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
10472         (_ZGVdN8vvv_sincosf_avx2): Likewise.
10473         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
10474         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
10475         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
10476         (_ZGVbN4v_sinf_sse4): Likewise.
10477         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
10478         (_ZGVdN8v_sinf_avx2): Likewise.
10479         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
10480         Use JUMPTARGET to call callee.
10481         (WRAPPER_IMPL_SSE2_ff): Likewise.
10482         (WRAPPER_IMPL_SSE2_fFF): Likewise.
10483         (WRAPPER_IMPL_AVX): Likewise.
10484         (WRAPPER_IMPL_AVX_ff): Likewise.
10485         (WRAPPER_IMPL_AVX_fFF): Likewise.
10486         (WRAPPER_IMPL_AVX512): Likewise.
10487         (WRAPPER_IMPL_AVX512_ff): Likewise.
10488         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
10489         Likewise.
10490         (WRAPPER_IMPL_SSE2_ff): Likewise.
10491         (WRAPPER_IMPL_SSE2_fFF): Likewise.
10492         (WRAPPER_IMPL_AVX): Likewise.
10493         (WRAPPER_IMPL_AVX_ff): Likewise.
10494         (WRAPPER_IMPL_AVX_fFF): Likewise.
10495         (WRAPPER_IMPL_AVX512): Likewise.
10496         (WRAPPER_IMPL_AVX512_ff): Likewise.
10497         (WRAPPER_IMPL_AVX512_fFF): Likewise.
10499 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10501         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
10502         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
10503         qualifier.
10504         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
10505         internal_function qualifiers.
10507 2016-03-15  Carlos O'Donell <carlos@redhat.com>
10509         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
10510         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
10511         * math/atest-exp.c (exp_mpn): Mark chk unused.
10512         * math/atest-exp2.c (exp_mpn): Likwise.
10513         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
10514         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
10516 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
10518         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
10519         Remove macro.
10520         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
10521         <kernel-features.h>.
10522         [__NR_ppoll]: Make code unconditional.
10523         [!__ASSUME_PPOLL]: Remove conditional code.
10525         * sysdeps/unix/sysv/linux/kernel-features.h
10526         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
10527         (__ASSUME_ACCEPT4): Likewise.
10528         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10529         Define.
10530         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
10531         Likewise.
10532         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10533         Likewise.
10534         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
10535         Likewise.
10536         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
10537         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
10538         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10539         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
10540         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10541         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10542         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10543         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10544         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10545         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10546         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10547         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10548         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10549         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10550         * sysdeps/unix/sysv/linux/i386/kernel-features.h
10551         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10552         Likewise.
10553         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10554         Likewise.
10555         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
10556         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
10557         0x040300].
10558         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10559         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
10560         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10561         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
10562         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
10563         0x030300].
10564         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
10565         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10566         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
10567         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
10568         0x040300].
10569         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10570         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10571         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10572         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10573         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10574         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
10575         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
10576         0x030300].
10577         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10578         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10579         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10580         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10581         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10582         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10583         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10584         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10585         * sysdeps/unix/sysv/linux/s390/kernel-features.h
10586         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
10587         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
10588         0x040300].
10589         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10590         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10591         * sysdeps/unix/sysv/linux/sh/kernel-features.h
10592         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10593         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10594         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10595         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10596         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10597         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10598         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10599         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10600         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10601         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10602         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10603         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
10604         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10605         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10606         Likewise.
10607         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10608         Likewise.
10610 2016-03-15  Andreas Schwab  <schwab@suse.de>
10612         [BZ #19257]
10613         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
10614         statp->_u._ext.nscount as loop count.
10616 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
10618         * math/test-signgam-finite-c99.c: Also #undef
10619         __LIBC_INTERNAL_MATH_INLINES.
10620         * math/test-signgam-main.c: Likewise.
10622 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
10624         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
10625         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
10626         (MADV_FREE): Likewise.
10627         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
10628         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
10629         EPOLLEXCLUSIVE.
10631 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
10633         * timezone/README: Remove mention of checktab.awk. Mention wiki
10634         SharedSourceFiles.
10636 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
10638         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
10639         WUNTRACED.
10641 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10643         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
10644         order to match the type of p when calling atomic_exchange_acq().
10646 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10648         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
10649         cfi_offset calls.
10650         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
10651         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
10652         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
10653         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
10654         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
10656 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
10658         * timezone/checktab.awk: Removed.
10660 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
10662         * manual/math.texi (Errors in Math Functions): Document relaxed
10663         accuracy goals for IBM long double.
10664         * math/libm-test.inc (test_exceptions): Always allow spurious
10665         "underflow" and "inexact" exceptions for IBM long double.
10667 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
10669         [BZ #19762]
10670         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
10671         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
10672         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
10673         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
10674         (bit_arch_*): This for feature array.
10675         (bit_*): Renamed to ...
10676         (bit_cpu_*): This for cpu array.
10677         (index_*): Renamed to ...
10678         (index_arch_*): This for feature array.
10679         (index_*): Renamed to ...
10680         (index_cpu_*): This for cpu array.
10681         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
10682         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
10683         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
10684         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
10685         bit_##name with index_cpu_##name and bit_cpu_##name.
10686         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
10687         bit_##name with index_arch_##name and bit_arch_##name.
10689 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
10691         [BZ #19792]
10692         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
10693         Terminate FDE before return label.
10695 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
10697         [BZ #19790]
10698         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
10699         (rintl): Define as macro.
10700         [USE_AS_NEARBYINTL] (__rintl): Likewise.
10701         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
10702         of fesetround.  Ensure results are evaluated before end of scope.
10703         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
10704         USE_AS_NEARBYINTL and include s_rintl.c.
10705         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
10706         Disable exception traps in new environment.
10707         (libc_feholdsetround_ppc_ctx): Likewise.
10709 2016-03-08  Roland McGrath  <roland@hack.frob.com>
10711         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
10712         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
10713         (tst_audit10_aux) [__AVX512F__]: ... here.
10715 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
10717         * include/sys/auxv.h: New file.
10719 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
10721         [BZ #19759]
10722         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
10724 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10726         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
10727         operand modifier.
10728         (feclearexcept): Likewise.
10730 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10732         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
10733         to reflect the entire 32-bit HWCAP.
10734         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
10735         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
10737 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
10739         [BZ #19783]
10740         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
10741         $(test-via-rtld-prefix).
10742         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
10744 2016-03-08  Florian Weimer  <fweimer@redhat.com>
10746         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
10747         union wait.  Report any non-zero exit status as error.
10749 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10751         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
10752         configured with --enable-hardcoded-path-in-tests.
10754 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
10756         [BZ #19677]
10757         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
10758         (__ieee754_remainderl): Put zero low parts in canonical form.
10759         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
10760         file.  Based on
10761         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
10762         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
10763         with wrapper round test-fmodrem-ldbl-128ibm.c.
10764         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
10765         file.
10766         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
10767         Likewise.
10768         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
10769         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
10771 2016-03-07  Florian Weimer  <fweimer@redhat.com>
10773         [BZ #19610]
10774         * elf/ldconfig.c (opt_link): Update comment.
10775         (options): Update help string for option -X.
10776         (search_dir): Unlink stale symbolic link only if updating symbolic
10777         links.
10778         * elf/tst-ldconfig-X.sh: New file.
10779         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
10780         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
10782 2016-03-07  Andreas Schwab  <schwab@suse.de>
10784         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
10785         needed arguments.
10787 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
10789         [BZ #15333]
10790         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
10791         to lstat64.
10793 2016-03-07  Florian Weimer  <fweimer@redhat.com>
10795         * libio/filedoalloc.c (isatty): Remove.
10796         (local_isatty): Add comment.  Call __isatty directly.
10797         (_IO_file_doallocate): Update comment.  Assume _LIBC.
10798         * libio/wfiledoalloc.c (isatty): Remove.
10799         (_IO_wfile_doallocate): Update comment.
10801 2016-03-07  Florian Weimer  <fweimer@redhat.com>
10803         [BZ #19269]
10804         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
10805         tst-audit4-aux.o.
10806         (tst-audit10): Depend on tst-audit10-aux.o.
10807         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
10808         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
10809         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
10810         instead of inline AVX code.
10811         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
10812         instead of inline AVX512 code.
10813         * sysdeps/x86_64/tst-audit4-aux.c: New file
10814         * sysdeps/x86_64/tst-audit10-aux.c: New file
10816         [BZ #19648]
10817         * test-skeleton.c (main): Do not set RLIMIT_DATA.
10819 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10821         [BZ #14750]
10822         [BZ #10354]
10823         [BZ #18433]
10824         * include/sched.h (__clone): Add hidden prototype.
10825         (__clone2): Likewise.
10826         * include/unistd.h (__dup): Likewise.
10827         * posix/Makefile (tests): Add tst-spawn2.
10828         * posix/tst-spawn2.c: New file.
10829         * sysdeps/posix/dup.c (__dup): Add hidden definition.
10830         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
10831         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
10832         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
10833         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
10834         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
10835         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
10836         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
10837         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
10838         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
10839         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
10840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
10841         Likewise.
10842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10843         Likewise.
10844         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
10845         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
10846         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
10847         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
10848         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
10849         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
10850         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
10851         * sysdeps/unix/sysv/linux/nptl-signals.h
10852         (____nptl_is_internal_signal): New function.
10853         * sysdeps/unix/sysv/linux/spawni.c: New file.
10855         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
10856         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
10857         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
10858         * posix/tst-execvp2.c (do_test): Likewise.
10859         * posix/tst-execvp3.c (do_test): Likewise.
10860         * posix/tst-execvp4.c (do_test): Likewise.
10861         * posix/tst-execvpe1.c: New file.
10862         * posix/tst-execvpe2.c: Likewise.
10863         * posix/tst-execvpe3.c: Likewise.
10864         * posix/tst-execvpe4.c: Likewise.
10865         * posix/tst-execvpe5.c: Likewise.
10866         * posix/tst-execvpe6.c: Likewise.
10868         [BZ #19534]
10869         * posix/execl.c (execl): Remove dynamic memory allocation.
10870         * posix/execle.c (execle): Likewise.
10871         * posix/execlp.c (execlp): Likewise.
10873 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
10875         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
10876         Replace .text with .text.avx512.
10877         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
10878         Likewise.
10880 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
10882         * sysdeps/generic/libnsl.abilist: New file.
10883         * sysdeps/generic/libutil.abilist: New file.
10885 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
10887         [BZ #19762]
10888         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
10889         HAS_ARCH_FEATURE with Fast_Rep_String.
10890         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
10891         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
10892         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
10893         Likewise.
10894         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
10895         Likewise.
10896         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
10897         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
10898         Likewise.
10899         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
10900         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
10901         Likewise.
10903 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
10905         [BZ #19745]
10906         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
10907         with *%rax in call.
10909 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
10911         [BZ #19745]
10912         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
10913         with *__libc_start_main@GOTPCREL(%rip) in call.
10915 2016-03-04  Roland McGrath  <roland@hack.frob.com>
10917         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
10918         inside conditional for nonempty $(CXX).
10920         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
10921         nonempty.
10923         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
10924         to test for empty $(CXX) rather than $(CXX) of "no".
10926 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
10928         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
10930 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
10931             H.J. Lu  <hongjiu.lu@intel.com>
10933         [BZ #18880]
10934         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
10935         instead of Slow_BSF, and also check for Fast_Copy_Backward to
10936         enable __memcpy_ssse3_back.
10938 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
10940         [BZ #19758]
10941         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
10942         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
10944 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
10946         [BZ #19490]
10947         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
10948         (__fentry__): Likewise.
10950 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
10952         * gmon/Makefile (noprof): Add $(sysdep_noprof).
10953         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
10955 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
10957         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
10958         __mcount_internal directly.
10959         (C_LABEL(__fentry__)): Likewise.
10960         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
10961         directly.
10963 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
10965         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10966         (__start_context): Call __setcontext directly.
10968 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
10970         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10971         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
10972         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
10973         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
10974         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10975         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
10976         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
10977         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
10978         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10979         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
10980         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
10981         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
10982         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10983         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
10984         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
10985         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10986         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
10987         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10988         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
10989         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
10990         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
10991         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10992         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
10993         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
10994         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
10995         Remove conditional code.
10996         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10997         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
10998         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
10999         * sysdeps/unix/sysv/linux/sh/kernel-features.h
11000         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
11001         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11002         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
11003         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11004         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11005         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11006         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11007         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11009 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
11011         * NEWS (2.23): Fix typo in bug 19048 text.
11013 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
11015         [BZ #14259]
11016         * Makeconfig: Rename msgcatdir to localedir.
11017         Rename inst_msgcatdir to inst_localedir.
11018         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
11019         * config.make.in: Add localedir.
11020         * elf/Makefile ($(objpfx)sotruss): Use localedir.
11021         (ldd-rewrite): Likewise.
11022         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
11023         (install-others): Use inst_localedir.
11024         (CPPFLAGS): Use localedir.
11025         * locale/Makefile (locale-CPPFLAGS): Likewise.
11026         * po/Makefile (mo-installed): Use inst_localedir.
11028         [BZ #19575]
11029         * localedata/charmaps/GB18030: Update comments regarding PAU to
11030         non-PUA mappings.
11032 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
11034         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
11035         test for header.
11036         * sysdeps/unix/sysv/linux/configure: Regenerated.
11037         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
11038         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
11039         Remove conditional code.
11040         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
11042         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
11043         Define to 3.2.0.
11044         (arch_minimum_kernel): Likewise.
11045         * sysdeps/unix/sysv/linux/configure: Regenerated.
11046         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
11047         Define to 2.6.32.
11048         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
11049         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
11050         (arch_minimum_kernel): Define to 2.6.32.
11051         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
11052         * README: Document Linux 3.2 requirement.
11053         * manual/install.texi (Linux): Document Linux 3.2 headers
11054         requirement.
11055         * INSTALL: Regenerated.
11057 2016-02-24  Andreas Schwab  <schwab@suse.de>
11059         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
11060         if !NO_LONG_DOUBLE.
11062 2016-02-22  Roland McGrath  <roland@hack.frob.com>
11064         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
11065         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
11067 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
11069         [BZ #19512]
11070         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
11072 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
11074         * posix/tst-dir.c: Include libc-internal.h.
11076 2016-02-20  Florian Weimer  <fweimer@redhat.com>
11078         [BZ #19056]
11079         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
11080         * manual/filesys.texi (Reading/Closing Directory): Mention
11081         deprecaion.
11082         * posix/tst-dir.c (main): Disable deprecation warning in test.
11084 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
11086         [BZ #19679]
11087         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
11088         Renamed to ...
11089         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
11090         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
11091         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
11092         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
11093         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
11094         * sysdeps/x86_64/dl-trampoline.h
11095         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
11096         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
11098 2016-02-19  Mark Wielaard  <mjw@redhat.com>
11100         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
11102 2016-02-19  Mark Wielaard  <mjw@redhat.com>
11104         * elf/elf.h (R_386_GOT32X): New.
11105         (R_386_NUM): Update.
11106         (R_X86_64_GOTPCRELX: New.
11107         (R_X86_64_REX_GOTPCRELX): New.
11108         (R_X86_64_NUM): Update.
11110 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
11112         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
11114 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
11116         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
11117         assign attr->stackaddr to it, and adjust it down when
11118         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
11119         [_STACK_GROWS_UP]: Delete assert.
11120         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
11121         Implement stack grows up logic.
11122         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
11123         stack grows up logic.
11125 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11127         * NEWS: Update with 2.24 template.
11129 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
11131         [BZ #19678]
11132         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
11133         Ensure +0.0 is returned when taking the next value below the least
11134         positive value.
11136 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11138         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
11139         available.  Do not define NO_THREADS.
11140         * malloc/malloc.c: Do not check NO_THREADS.
11141         * malloc/arena.c: Likewise.
11143 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11145         * malloc/malloc.c (__libc_mallinfo): Update comment.
11146         (struct malloc_par): Remove max_total_mem member, it was always 0.
11147         (int_mallinfo): Store 0 into usmblks (no functional change).
11148         * malloc/hooks.c (struct malloc_state): Document that
11149         max_total_mem is always 0.
11150         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
11151         always 0.
11152         * manual/memory.texi (Statistics of Malloc): Likewise.
11154 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11156         * malloc/malloc.c (sysmalloc): Do not update arena_max.
11157         * malloc/arena.c (arena_max): Remove.
11158         (heap_trim, _int_new_arena): Do not update arena_max.
11160 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11162         * resolv/res_init.c (res_ninit): Update comment.
11164 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11166         [BZ #19505]
11167         * posix/spawn_int.h: Add headers and include guard.
11168         (__spawn_valid_fd): New function.
11169         * posix/spawn_faction_addopen.c
11170         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
11171         * posix/spawn_faction_addclose.c
11172         (posix_spawn_file_actions_addclose): Likewise.
11173         * posix/spawn_faction_adddup2.c
11174         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
11175         second file descriptor.
11176         * posix/spawn_valid_fd.c: New file.
11177         * posix/tst-posix_spawn-fd.c: New file.
11178         * posix/Makefile (routines): Add spawn_valid_fd.
11179         (tests): Add tst-posix_spawn-fd.
11181 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11183         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
11184         (do_test): Limit the number of arenas, so that we can use fewer
11185         outer threads.  Limit timeout to 3 seconds, in preparation for a
11186         larger TIMEOUT value.
11188 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
11190         [BZ #19674]
11191         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
11192         sign in overflowing and underflowing results when overflow or
11193         underflow is detected early.  Include sign in result before rather
11194         than after scaling.
11196         [BZ #19603]
11197         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
11198         (__ieee754_remainderl): Adjust sign of integer version of low part
11199         when taking absolute value of high part.
11200         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11201         * math/libm-test.inc (remainder_test_data): Add another test.
11202         (remquo_test_data): Likewise.
11204 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
11206         [BZ #19602]
11207         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
11208         equal high parts and both low parts zero specially.
11209         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
11210         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
11211         Add test-fmodl-ldbl-128ibm.
11213         [BZ #19595]
11214         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
11215         common logic for all cases of shifting subnormal results.  Do not
11216         insert sign bit in shifted mantissa.  Always pass -1023 as biased
11217         exponent to ldbl_insert_mantissa in subnormal case.
11219         [BZ #19594]
11220         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
11221         on high and low parts then adjust result and use
11222         ldbl_canonicalize_int if needed.
11224         [BZ #19593]
11225         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
11226         on high part and __floor or __ceil on low part then use
11227         ldbl_canonicalize_int if needed.
11229         [BZ #19592]
11230         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
11231         high and low parts then use ldbl_canonicalize_int if needed.
11233         [BZ #17899]
11234         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
11235         New function.
11236         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
11237         on high and low parts then use ldbl_canonicalize_int if needed.
11239 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11241         * configure: Regenerated.
11243         * po/libc.pot: Regenerated.
11245         * po/be.po: Updated translation.
11246         * po/bg.po: Likewise.
11247         * po/ca.po: Likewise.
11248         * po/cs.po: Likewise.
11249         * po/da.po: Likewise.
11250         * po/el.po: Likewise.
11251         * po/eo.po: Likewise.
11252         * po/es.po: Likewise.
11253         * po/fi.po: Likewise.
11254         * po/fr.po: Likewise.
11255         * po/gl.po: Likewise.
11256         * po/hr.po: Likewise.
11257         * po/hu.po: Likewise.
11258         * po/ia.po: Likewise.
11259         * po/id.po: Likewise.
11260         * po/it.po: Likewise.
11261         * po/ja.po: Likewise.
11262         * po/lt.po: Likewise.
11263         * po/nb.po: Likewise.
11264         * po/nl.po: Likewise.
11265         * po/pt_BR.po: Likewise.
11266         * po/rw.po: Likewise.
11267         * po/sk.po: Likewise.
11268         * po/sl.po: Likewise.
11269         * po/sv.po: Likewise.
11270         * po/tr.po: Likewise.
11271         * po/zh_CN.po: Likewise.
11272         * po/zh_TW.po: Likewise.
11274         * version.h (RELEAES): Set to "development".
11275         (VERSION): Set to 2.23.90.
11277         * version.h (RELEASE): Set to "stable".
11278         (VERSION): Set to 2.23.
11279         * include/feature.h (__GLIBC_MINOR__): Set to 23.
11281         * NEWS: Updated fixed bugs.
11283 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
11284             Wilco Dijkstra  <wdijkstr@arm.com>
11286         [BZ #19462]
11287         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
11288         (_STRING_INLINE_unaligned): This.
11289         * include/string.h: Include <string_private.h>.
11290         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
11291         _STRING_INLINE_unaligned.
11292         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
11293         (_STRING_INLINE_unaligned): New.
11294         * sysdeps/aarch64/string_private.h: New file.
11295         * sysdeps/generic/string_private.h: Likewise.
11296         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
11297         * sysdeps/s390/string_private.h: Likewise.
11298         * sysdeps/x86/string_private.h: Likewise.
11299         * sysdeps/m68k/m680x0/m68020/bits/string.h
11300         (_STRING_ARCH_unaligned): Renamed to ...
11301         (_STRING_INLINE_unaligned): This.
11302         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
11303         to ...
11304         (_STRING_INLINE_unaligned): This.
11305         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
11306         to ...
11307         (_STRING_INLINE_unaligned): This.
11308         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
11309         to ...
11310         (_STRING_INLINE_unaligned): This.
11312 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
11313             H.J. Lu  <hongjiu.lu@intel.com>
11315         [BZ #19590]
11316         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
11317         relocation.
11319 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
11321         [BZ #18665]
11322         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
11323         *herrno_p.
11324         (gaih_getanswer): Document functional behviour. Return tryagain
11325         if any result is tryagain.
11326         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
11327         when freed.
11328         * resolv/res_send.c: Add copyright text.
11329         (__libc_res_nsend): Document that MAXPACKET is expected.
11330         (send_vc): Document. Remove buffer reuse.
11331         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
11332         size of the buffer. Add Dprint for truncated UDP buffer.
11334 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
11336         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
11337         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
11338         * INSTALL: Regenerate.
11340 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
11341             Jonathan Wakely  <jwakely@redhat.com>
11342             Carlos O'Donell  <carlos@redhat.com>
11344         [BZ 19439]
11345         * math/Makefile (tests): Add test-math-isinff.
11346         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
11347         * math/bits/mathcalls.h [__USE_MISC]: Use
11348         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
11349         functions not in C++11 and which don't conflict e.g. isinff,
11350         isinfl etc.
11351         * math/test-math-isinff.cc: New file.
11353 2016-02-12  Florian Weimer  <fweimer@redhat.com>
11355         * misc/bug18240.c (do_test): Set RLIMIT_AS.
11357 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11359         [BZ #19529]
11360         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
11362 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11364         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
11366 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
11368         [BZ #19550]
11369         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
11370         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
11371         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
11372         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
11373         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
11374         New syscall entry.
11375         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
11376         New syscall entry.
11377         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
11378         syscall entry.
11380 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
11382         [BZ #18240]
11383         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
11384         unsigned int wraparound.
11386 2016-01-27  Florian Weimer  <fweimer@redhat.com>
11388         [BZ #18240]
11389         * misc/bug18240.c: New test.
11390         * misc/Makefile (tests): Add it.
11392 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
11393             Joseph Myers  <joseph@codesourcery.com>
11395         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
11396         load in branch delay slot when less than a word of input left.
11398 2016-01-27  Andreas Schwab  <schwab@suse.de>
11400         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
11401         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
11402         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
11403         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
11405 2016-01-26  David S. Miller  <davem@davemloft.net>
11407         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
11409 2016-01-25  David S. Miller  <davem@davemloft.net>
11411         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
11412         __sqrtl_finite.
11413         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
11414         instead using versioned_symbol.
11415         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
11416         of entries.
11418         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
11419         __sqrtl_finite to GLIBC_2.23
11421 2016-01-25  Ricchard Henderson  <rth@redhat.com>
11423         * sysdeps/alpha/fpu/libm-test-ulps: Update.
11425 2016-01-25  Andreas Schwab  <schwab@suse.de>
11427         [BZ #17514]
11428         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
11429         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
11430         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
11431         * nptl/tst-mutex-errorcheck.c: New file.
11433 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11435         [BZ #18560]
11436         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
11437         (IPCOP_semop): Likewise.
11438         (IPCOP_semget): Likewise.
11439         (IPCOP_semctl): Likewise.
11440         (IPCOP_msgsnd): Likewise.
11441         (IPCOP_msgrcv): Likewise.
11442         (IPCOP_msgget): Likewise.
11443         (IPCOP_msgctl): Likewise.
11444         (IPCOP_shmat): Likewise.
11445         (IPCOP_shmdt): Likewise.
11446         (IPCOP_shmget): Likewise.
11447         (IPCOP_shmctl): Likewise.
11449 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
11451         * string/tst-endian.c: Include <libc-internal.h>.
11452         (do_test): Ignore tautological-compare warnings around
11453         "htobeXX (beXXtoh (i)) != i" and
11454         "htoleXX (leXXtoh (i)) != i" if-statements.
11456 2016-01-24  David S. Miller  <davem@davemloft.net>
11458         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
11459         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
11460         alias.
11461         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
11462         __sqrtl_finite.
11464         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11466 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
11468         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
11469         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
11470         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
11472 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11474         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
11475         (thread_func): Use new function to simplify barrier check.
11476         (do_test): Use new function to simplify checking barrier exit
11477         code, and actually join the child thread.
11479 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11481         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
11482         semicolon.
11483         (__libc_tend): Likewise.
11484         (__libc_tabort): Likewise.
11486 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
11488         * sysdeps/nios2/libm-test-ulps: Update.
11489         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
11490         (__gtsf2): Likewise.
11491         (__unorddf2): Likewise.
11492         (__unordsf2): Likewise.
11493         (__ledf2): Likewise.
11495 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
11497         * nis/nis_table.c (__follow_path): Disable diagnostic for
11498         uninitialized variable that is a false positive for gcc 4.7.
11499         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
11501 2016-01-20  Roland McGrath  <roland@hack.frob.com>
11503         * sysdeps/nacl/lowlevellock-futex.h
11504         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
11505         Always evaluate PRIVATE argument.
11507 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
11509         [BZ #19490]
11510         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
11511         (pthread_cond_broadcast): Use ENTRY/END
11512         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
11513         (pthread_cond_signal): Likewise.
11514         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
11515         Likewise.
11516         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
11517         Likewise.
11518         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
11519         Likewise.
11521 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
11523         * sysdeps/ieee754/dbl-64/s_finite.c
11524         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
11525         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
11526         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
11527         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
11528         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
11530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
11531         (__gtsf2): Add as optional for libc.so.
11532         (__unordsf2): Likewise.
11533         (__signbit): Remove for libc.so.
11534         (__signbitl): Likewise.
11536 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
11538         * iconvdata/bug-iconv11.c (test_ibm93x):
11539         Use %zu printf format specifier for size_t argument.
11541 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
11543         * math/gen-libm-test.pl (parse_ulps): Do not reduce
11544         already-recorded ulps.
11545         * sysdeps/arm/libm-test-ulps: Regenerated.
11546         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
11547         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11548         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
11550 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
11551             Paul Pluzhnikov  <ppluzhnikov@google.com>
11553         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
11554         assembler not supporting AVX-512.
11556 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
11558         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11560 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
11562         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
11563         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11565         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11567         * sysdeps/arm/libm-test-ulps: Regenerated.
11569 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
11571         [BZ #19451]
11572         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
11574 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
11576         [BZ #19486]
11577         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
11578         * sysdeps/generic/fix-fp-int-convert-overflow.h
11579         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
11580         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
11581         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
11582         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
11583         Likewise.
11584         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
11585         Avoid conversions to long int where inexact exceptions
11586         could be raised.
11587         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
11588         Likewise.
11589         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
11590         Avoid conversions to long long int where inexact exceptions
11591         could be raised.
11592         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
11593         Likewise.
11595 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
11597         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
11598         * configure: Regenerated.
11600 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
11602         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
11604 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
11606         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
11607         outside of comment.
11609 2016-01-15  Torvald Riegel  <triegel@redhat.com>
11611         * nptl/tst-barrier1.c: Add description on first line.
11612         * nptl/tst-barrier2.c: Likewise.
11613         * nptl/tst-barrier3.c: Likewise.
11614         * nptl/tst-barrier4.c: Likewise.
11615         * nptl/tst-barrier5.c: Likewise.
11617 2016-01-15  Torvald Riegel  <triegel@redhat.com>
11619         [BZ #18868]
11620         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
11622 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
11624         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
11625         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
11626         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
11627         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
11628         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
11629         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
11630         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11631         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11632         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11633         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11634         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11636 2016-01-15  Torvald Riegel  <triegel@redhat.com>
11638         [BZ #13065]
11639         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
11640         new implementation.
11641         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
11642         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
11643         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
11644         (BARRIER_IN_THRESHOLD): New macro.
11645         * nptl/pthread_barrierattr_setpshared.c
11646         (pthread_barrierattr_setpshared): Clean up.
11647         * nptl/tst-barrier4.c: Correct comment.
11648         * nptl/tst-barrier5.c: New file.
11649         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
11650         (gen-as-const-headers): Remove lowlevelbarrier.sym.
11651         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
11652         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
11653         * nptl/lowlevelbarrier.sym: Remove.
11654         * nptl/DESIGN-barrier.txt: Remove.
11655         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
11656         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
11657         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
11658         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
11659         error.
11660         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
11661         implementation.
11663 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11665         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
11666         (do_child): Mask SIGRTMIN while thr is running.
11668 2016-01-15  Martin Sebor  <msebor@redhat.com>
11670         [BZ #19432]
11671         * iconvdata/Makefile: Add bug-iconv11.
11672         * iconvdata/bug-iconv11.c: New test.
11673         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
11674         * iconvdata/ibm933.c: Same.
11675         * iconvdata/ibm935.c: Same.
11676         * iconvdata/ibm937.c: Same.
11677         * iconvdata/ibm939.c: Same.
11679 2016-01-15  Martin Sebor  <msebor@redhat.com>
11681         [BZ #19443]
11682         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
11683         [DEBUG] (_ufc_set_bits): Declare used.
11684         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
11685         [DEBUG] (print_all): Declare used.
11686         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
11687         operands of the ternary ?: expression to target type.
11688         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
11689         calling the undeclared abort.
11690         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
11692 2016-01-15  Martin Sebor  <msebor@redhat.com>
11694         [BZ #18755]
11695         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
11696         warnings.
11697         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
11698         (__gai_create_helper_thread): Same.
11699         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
11700         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
11701         to suppress -Wmaybe-uninitialized warnings.
11703 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
11705         [BZ #19465]
11706         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
11707         inside if.
11708         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11709         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11710         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11712 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
11714         [BZ #19466]
11715         * time/tst-mktime2.c (time_t_max): Removed.
11716         (time_t_min): Likewise.
11717         (TYPE_SIGNED): New.
11718         (TYPE_MINIMUM): Likewise.
11719         (TYPE_MAXIMUM): Likewise.
11720         (TIME_T_MIN): Likewise.
11721         (TIME_T_MAX): Likewise.
11722         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
11723         and TIME_T_MIN.
11724         (do_test): Likewise.
11726 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
11728         [BZ #19467]
11729         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
11730         index_Fast_Unaligned_Load flag for Excavator family CPUs.
11732 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
11734         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
11736 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
11738         * benchtests/Makefile (PYTHON): Define.
11739         (bench-func): Use $(PYTHON) to run python scripts.
11740         ($(objpfx)bench-%.c): Likewise.
11742 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
11744         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
11745         leading slash when `file_name' is "/".
11747 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
11749         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
11750         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
11751         Likewise.
11752         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
11753         Likewise.
11754         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
11755         Likewise.
11756         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
11757         enum constant and macro.
11758         (PTRACE_SETSIGMASK): Likewise.
11759         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11760         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
11761         (PTRACE_GETSIGMASK): Likewise.
11762         (PTRACE_SETSIGMASK): Likewise.
11763         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11764         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
11765         Likewise.
11766         (PTRACE_SETSIGMASK): Likewise.
11767         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11768         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
11769         (PTRACE_GETSIGMASK): Likewise.
11770         (PTRACE_SETSIGMASK): Likewise.
11771         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11772         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
11773         Likewise.
11774         (PTRACE_SETSIGMASK): Likewise.
11775         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11776         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
11777         Likewise.
11778         (PTRACE_SETSIGMASK): Likewise.
11779         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11780         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
11781         Likewise.
11782         (PTRACE_SETSIGMASK): Likewise.
11783         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11785 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
11786             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11788         [BZ #19439]
11789         * math/bits/mathcalls.h
11790         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
11791         prototype.
11792         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
11794 2016-01-11  Andreas Schwab  <schwab@suse.de>
11796         [BZ #19253]
11797         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
11798         cache when TZDEFRULES was used.
11799         * time/tst-tzname.c: New file.
11800         * time/Makefile (test): Add tst-tzname.
11801         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
11802         * timezone/Makefile (test-zones): Add $(posixrules-file).
11803         ($(testdata)/$(posixrules-file)): New rule.
11805 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
11807         Fix doc quoting problems with Texinfo 5
11808         Without this change, in the info file output, Texinfo 5 quotes code
11809         in text with undirected single quotes 'like this' and generates
11810         code examples that with many PDF readers cannot be cut out of PDFs
11811         and pasted into code.
11812         * manual/libc.texinfo: Configure the libc manual like the GNU
11813         Emacs manual, by using @documentencoding and setting
11814         txicodequoteundirected and txicodequotebacktick.  This way,
11815         Texinfo 5 quotes code in text with directed single quotes ‘like
11816         this’ and produces examples that can be cut out of PDFs.  This
11817         change causes Texinfo 5 to generate info files that contain UTF-8
11818         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
11819         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
11821 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11823         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
11824         __libc_tabort, __libc_tend): New wrappers that enforce compiler
11825         barriers to their respective compiler built-ins.
11826         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
11827         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
11828         * sysdeps/powerpc/sysdep.h: Likewise.
11829         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
11830         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
11831         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
11833 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
11835         * scripts/config.guess: Revert previous shebang change.
11836         * scripts/config.sub: Likewise.
11837         * scripts/mkinstalldirs: Likewise.
11839 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11841         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
11842         PPC_FEATURE2_HAS_IEEE128.
11843         * sysdeps/powerpc/dl-procinfo.c:
11844         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
11846 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
11848         [BZ #19415]
11849         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
11850         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
11851         (_dl_lookup_address): Rewrite using function resolver trampoline.
11852         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
11853         two bits in address.
11855 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
11857         * longlong.h: Change !__SHMEDIA__ to
11858         (!defined (__SHMEDIA__) || !__SHMEDIA__).
11859         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
11861 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
11862             Joseph Myers  <joseph@codesourcery.com>
11863             Mark Shinwell  <shinwell@codesourcery.com>
11864             Andrew Stubbs  <ams@codesourcery.com>
11865             Rich Felker <dalias@libc.org>
11867         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
11869 2016-01-07  Richard Henderson  <rth@redhat.com>
11871         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
11873 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
11875         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
11876         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
11877         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
11878         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
11879         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
11881 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
11882             Joseph Myers  <joseph@codesourcery.com>
11884         * timezone/private.h: Update from tzcode 2015g.
11885         * timezone/tzfile.h: Likewise.
11886         * timezone/tzselect.ksh: Likewise.
11887         * timezone/zdump.c: Likewise.
11888         * timezone/zic.c: Likewise.
11889         * timezone/ialloc.c: Remove file.
11890         * timezone/scheck.c: Likewise.
11891         * timezone/Makefile (extra-objs): Remove variable.
11892         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
11893         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
11894         -Wno-maybe-uninitialized.
11895         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
11896         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
11897         (CFLAGS-ialloc.c): Remove variable.
11898         (CFLAGS-scheck.c): Likewise.
11899         * timezone/README: Update list of files from tzcode.
11901 2016-01-07  Khem Raj  <raj.khem@gmail.com>
11903         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
11904         instead of __fxprintf when _LIBC is undefined.
11906 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
11908         * catgets/test-gencat.sh: Remove space after shebang.
11909         * conform/GlibcConform.pm: Likewise.
11910         * conform/check-header-lists.sh: Likewise.
11911         * conform/conformtest.pl: Likewise.
11912         * conform/linknamespace.pl: Likewise.
11913         * conform/list-header-symbols.pl: Likewise.
11914         * debug/catchsegv.sh: Likewise.
11915         * elf/genrtldtbl.awk: Likewise.
11916         * elf/tst-pathopt.sh: Likewise.
11917         * elf/tst-rtld-load-self.sh: Likewise.
11918         * grp/tst_fgetgrent.sh: Likewise.
11919         * iconvdata/gen-8bit-gap-1.sh: Likewise.
11920         * iconvdata/gen-8bit-gap.sh: Likewise.
11921         * iconvdata/gen-8bit.sh: Likewise.
11922         * iconvdata/run-iconv-test.sh: Likewise.
11923         * intl/tst-gettext.sh: Likewise.
11924         * intl/tst-gettext2.sh: Likewise.
11925         * intl/tst-gettext4.sh: Likewise.
11926         * intl/tst-gettext6.sh: Likewise.
11927         * intl/tst-translit.sh: Likewise.
11928         * io/ftwtest-sh: Likewise.
11929         * libio/test-freopen.sh: Likewise.
11930         * locale/gen-translit.pl: Likewise.
11931         * malloc/tst-mtrace.sh: Likewise.
11932         * manual/check-safety.sh: Likewise.
11933         * manual/libc-texinfo.sh: Likewise.
11934         * manual/tsort.awk: Likewise.
11935         * manual/xtract-typefun.awk: Likewise.
11936         * nptl/tst-cancel-wrappers.sh: Likewise.
11937         * nptl/tst-tls6.sh: Likewise.
11938         * posix/globtest.sh: Likewise.
11939         * posix/tst-getconf.sh: Likewise.
11940         * posix/wordexp-tst.sh: Likewise.
11941         * scripts/check-c++-types.sh: Likewise.
11942         * scripts/check-local-headers.sh: Likewise.
11943         * scripts/config.guess: Likewise.
11944         * scripts/config.sub: Likewise.
11945         * scripts/cpp: Likewise.
11946         * scripts/cross-test-ssh.sh: Likewise.
11947         * scripts/documented.sh: Likewise.
11948         * scripts/evaluate-test.sh: Likewise.
11949         * scripts/gen-libc-abis: Likewise.
11950         * scripts/gen-sorted.awk: Likewise.
11951         * scripts/list-fixed-bugs.py: Likewise.
11952         * scripts/merge-test-results.sh: Likewise.
11953         * scripts/mkinstalldirs: Likewise.
11954         * scripts/rellns-sh: Likewise.
11955         * scripts/test-installation.pl: Likewise.
11956         * scripts/update-copyrights: Likewise.
11957         * stdio-common/tst-printf.sh: Likewise.
11958         * stdio-common/tst-unbputc.sh: Likewise.
11959         * stdlib/tst-fmtmsg.sh: Likewise.
11960         * stdlib/tst-setcontext3.sh: Likewise.
11961         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
11962         * sysdeps/unix/make-syscalls.sh: Likewise.
11964 2016-01-06  John David Anglin  <dave.anglin@bell.net>
11966         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
11967         asm stw with atomic_exchange_rel.  Add explanatory comment.
11968         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
11969         Likewise.
11971 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
11973         [BZ #19122]
11974         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
11975         * sysdeps/generic/dl-unistd.h: New file.
11976         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
11978 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
11980          [BZ #19122]
11981          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
11982          * sysdeps/generic/dl-mman.h: New file.
11983          * sysdeps/mach/hurd/dl-mman.h: Likewise.
11985 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
11987         * manual/texinfo.tex: Update to version 2016-01-04.21 with
11988         trailing whitespace removed.
11989         * scripts/config.guess: Update to version 2016-01-01.
11990         * scripts/config.sub: Update to version 2016-01-01.
11991         * scripts/move-if-change: Update from gnulib.
11993 2016-01-04  Anton Blanchard  <anton@samba.org>
11995         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
11996         for array indices.
11997         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
11999 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
12001         * NEWS: Update copyright dates.
12002         * catgets/gencat.c (print_version): Likewise.
12003         * csu/version.c (banner): Likewise.
12004         * debug/catchsegv.sh: Likewise.
12005         * debug/pcprofiledump.c (print_version): Likewise.
12006         * debug/xtrace.sh (do_version): Likewise.
12007         * elf/ldconfig.c (print_version): Likewise.
12008         * elf/ldd.bash.in: Likewise.
12009         * elf/pldd.c (print_version): Likewise.
12010         * elf/sotruss.sh: Likewise.
12011         * elf/sprof.c (print_version): Likewise.
12012         * iconv/iconv_prog.c (print_version): Likewise.
12013         * iconv/iconvconfig.c (print_version): Likewise.
12014         * locale/programs/locale.c (print_version): Likewise.
12015         * locale/programs/localedef.c (print_version): Likewise.
12016         * login/programs/pt_chown.c (print_version): Likewise.
12017         * malloc/memusage.sh (do_version): Likewise.
12018         * malloc/memusagestat.c (print_version): Likewise.
12019         * malloc/mtrace.pl: Likewise.
12020         * manual/libc.texinfo: Likewise.
12021         * nptl/version.c (banner): Likewise.
12022         * nscd/nscd.c (print_version): Likewise.
12023         * nss/getent.c (print_version): Likewise.
12024         * nss/makedb.c (print_version): Likewise.
12025         * posix/getconf.c (main): Likewise.
12026         * scripts/test-installation.pl: Likewise.
12027         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
12029         * All files with FSF copyright notices: Update copyright dates
12030         using scripts/update-copyrights.
12031         * intl/plural.c: Regenerated.
12032         * locale/programs/charmap-kw.h: Likewise.
12033         * locale/programs/locfile-kw.h: Likewise.
12035 2016-01-02  Helge Deller  <deller@gmx.de>
12037         [BZ #19285]
12038         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
12039         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
12040         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
12041         (MADV_xxK_PAGES): Remove.
12043 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
12045         [BZ #15421]
12046         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
12047         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
12048         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
12049         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
12051 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
12053         [BZ #19408]
12054         * sysdeps/unix/sysv/linux/personality.c: New file.
12055         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
12056         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
12057         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
12058         (sysdep_routines): Add personality.
12059         (tests): Add tst-personality.
12060         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
12061         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
12062         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
12063         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
12064         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
12065         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
12066         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
12067         Likewise.
12068         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
12069         Likewise.
12070         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
12071         Likewise.
12072         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
12073         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
12074         Likewise.
12076 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
12078         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
12079         (PATH_ARM_SYSTYPE): Remove.
12080         (PATH_CPUINFO): Likewise.
12081         (IO_BASE_FOOTBRIDGE): Likewise.
12082         (IO_SHIFT_FOOTBRIDGE): Likewise.
12083         (struct platform): Likewise.
12084         (init_iosys): Remove compatibility code for 2.4 kernels.
12085         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
12087 2015-12-29  Florian Weimer  <fweimer@redhat.com>
12089         * malloc/tst-malloc-thread-fail.c: New file.
12090         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
12091         (tst-malloc-thread-fail): Link against libpthread.
12093 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
12095         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
12096         (get_parser): New function.
12097         (main): New function.
12099 2015-12-29  Rob Wu  <rob@robwu.nl>
12101         [BZ #19369]
12102         * resolv/res_init.c (__res_vinit): Reset defdname before use.
12104 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
12106         [BZ #19270]
12107         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
12109 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
12111         [BZ #15421]
12112         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
12114 2015-12-23  Torvald Riegel  <triegel@redhat.com>
12116         [BZ #13690]
12117         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
12118         after releasing it.
12119         (__lll_robust_unlock): Likewise.
12120         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
12121         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
12122         (lll_robust_unlock): Likewise.
12123         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
12124         Prevent warnings in callers.
12126 2015-12-23  Florian Weimer  <fweimer@redhat.com>
12128         * malloc/arena.c (list_lock): Update comment.
12130 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12132         * sysdeps/powerpc/hwcapinfo.c: Export symbol
12133         __parse_hwcap_and_convert_at_platform to libc.a.
12135 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12137         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
12138         platform and feature support for POWER9.
12139         * sysdeps/powerpc/dl-procinfo.h: Likewise.
12140         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
12141         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
12142         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
12143         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
12144         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
12145         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
12146         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
12148 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12150         Harmonize generic stdio-lock support with nptl
12152         This fixes build when _IO_funlockfile is a macro, fixes build where
12153         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
12154         stack unwind.
12156         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
12157         _IO_release_lock ): Use cleanup attribute on new
12158         _IO_acquire_lock_file variable instead of assuming that
12159         _IO_release_lock will be called.
12160         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
12161         _IO_acquire_lock_needs_exceptions_enabled.
12162         (_IO_acquire_lock_clear_flags2): New macro.
12164 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12166         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
12168 2015-12-21  Florian Weimer  <fweimer@redhat.com>
12170         [BZ #19182]
12171         * malloc/arena.c (list_lock): Document lock ordering requirements.
12172         (free_list_lock): New lock.
12173         (ptmalloc_lock_all): Comment on free_list_lock.
12174         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
12175         (detach_arena): Update comment.  free_list_lock is now needed.
12176         (_int_new_arena): Use free_list_lock around detach_arena call.
12177         Acquire arena lock after list_lock.  Add comment, including FIXME
12178         about incorrect synchronization.
12179         (get_free_list): Switch to free_list_lock.
12180         (reused_arena): Acquire free_list_lock around detach_arena call
12181         and attached threads counter update.  Add two FIXMEs about
12182         incorrect synchronization.
12183         (arena_thread_freeres): Switch to free_list_lock.
12184         * malloc/malloc.c (struct malloc_state): Update comments to
12185         mention free_list_lock.
12187 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
12189         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
12190         Remove functions.
12191         (sloww, sloww1): Accept argument to offset quadrant.
12192         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
12193         quadrant.
12194         (__sin, __cos): Consolidate common code into new functions.
12195         (reduce_sincos_1, do_sincos_1): New functions.
12196         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
12198         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
12199         code to new functions.
12200         (reduce_sincos_2, do_sincos_2): New functions.
12201         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
12203         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
12204         common code for sincos.
12205         (__cos) [!IN_SINCOS]: Likewise.
12206         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
12207         New function.
12208         (__sincos): Use it.
12210 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
12212         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
12213         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
12214         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
12216 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
12218         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
12219         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
12220         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
12221         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
12222         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12223         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
12224         index_Prefer_No_VZEROUPPER): New feature.
12225         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
12226         Prefer_No_VZEROUPPER for Knights Landing.
12228 015-12-18  Torvald Riegel  <triegel@redhat.com>
12230         * math/atest-exp2.c (mp_exp_m1): Remove.
12232 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12234         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
12235         syscalls.
12236         (__SYSCALL0): New macro.
12237         (__SYSCALL1): Likewise.
12238         (__SYSCALL2): Likewise.
12239         (__SYSCALL3): Likewise.
12240         (__SYSCALL4): Likewise.
12241         (__SYSCALL5): Likewise.
12242         (__SYSCALL6): Likewise.
12243         (__SYSCALL_CONCAT_X): Likewise.
12244         (__SYSCALL_CONCAT): Likewise.
12245         (__SYSCALL_DIST): Likewise.
12246         (__SYSCALL_CALL): Likewise.
12248 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
12250         [BZ #19363]
12251         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
12253 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12255         [BZ #19375]
12256         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
12257         negative subnormals.
12259 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
12261         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
12262         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
12263         (INTERNAL_SYSCALL_NCS): Use it.
12264         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
12266 2015-12-16  Florian Weimer  <fweimer@redhat.com>
12268         [BZ #19243]
12269         * malloc/arena.c (get_free_list): Remove assert and adjust
12270         reference count handling.  Add comment about reused_arena
12271         interaction.
12272         (reused_arena): Add comments abount get_free_list interaction.
12273         * malloc/tst-malloc-thread-exit.c: New file.
12274         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
12275         (tst-malloc-thread-exit): Link against libpthread.
12277 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
12279         [BZ #19367]
12280         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
12281         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
12282         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
12283         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
12284         (index_Prefer_MAP_32BIT_EXEC): Likewise.
12286 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
12288         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
12289         Silvermont optimizations for Knights Landing.
12291 2015-12-15  Andreas Schwab  <schwab@suse.de>
12293         [BZ #17197]
12294         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
12295         immediately after emitting SI.
12296         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
12297         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
12298         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
12299         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
12300         * iconvdata/bug-iconv10.c: New file.
12301         * iconvdata/Makefile (tests): Add bug-iconv10.
12302         ($(objpfx)bug-iconv10.out): New rule.
12304 2015-12-15  Florian Weimer  <fweimer@redhat.com>
12306         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
12307         aliasing violation.
12309 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
12311         [BZ #18472]
12312         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
12313         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
12314         conditionals for them.
12315         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
12316         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
12317         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
12318         sys/kdaemon.h.
12319         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
12320         compat-only syscall, obsoleted in glibc 2.23.
12321         (create_module): Likewise.
12322         (get_kernel_syms): Likewise.
12323         (query_module): Likewise.
12324         (uselib): Likewise.
12325         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
12327 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
12329         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
12330         <linux/version.h>.
12331         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
12332         conditional code.
12333         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
12334         and ioshift_name initialization.
12336 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
12338         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
12339         Fix indentation.
12341 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
12343         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
12345 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
12347         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
12349 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
12350             Jakub Wilk  <jwilk@debian.org>
12352         [BZ #19347]
12353         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
12354         to change the group of the device to the tty group.
12356 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
12358         Split large string section; add truncation advice
12359         * manual/examples/strncat.c: Remove.
12360         This example was misleading, as the code would have undefined
12361         behavior if "hello" was longer than SIZE.  Anyway, the manual
12362         shouldn't encourage strncpy+strncat for this sort of thing.
12363         * manual/string.texi (Copying Strings and Arrays): Split into
12364         three sections Copying Strings and Arrays, Concatenating Strings,
12365         and Truncating Strings, as this section was way too long.  All
12366         cross-referenced changed.  Add advice about string-truncation
12367         functions.  Remove misleading strncat example.
12369 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
12371         * manual/nss.texi (NSS Modules Interface): Document
12372         NSS_STATUS_NOTFOUND and SUCCESS.
12374 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
12376         [BZ 18568]
12377         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
12378         201505L, for Unicode 8.
12380 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
12382         * locale/C-translit.h: Regenerate.
12384 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
12386         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
12387         and U+0153.
12389 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
12391         [BZ #19351]
12392         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
12393         expanding log(1+z), compare z rather than its square with epsilon
12394         to determine when to avoid evaluating the expansion.
12396         [BZ #19350]
12397         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
12398         Increase overflow threshold.
12400         [BZ #19349]
12401         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
12402         when small.
12404         * sysdeps/unix/sysv/linux/i386/kernel-features.h
12405         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
12406         New macro.
12407         [__LINUX_KERNEL_VERSION >= 0x040300]
12408         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
12409         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
12410         Likewise.
12411         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
12412         Likewise.
12413         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
12414         Likewise.
12415         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
12416         Likewise.
12417         [__LINUX_KERNEL_VERSION >= 0x040300]
12418         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
12419         [__LINUX_KERNEL_VERSION >= 0x040300]
12420         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
12421         [__LINUX_KERNEL_VERSION >= 0x040300]
12422         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
12423         [__LINUX_KERNEL_VERSION >= 0x040300]
12424         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
12425         [__LINUX_KERNEL_VERSION >= 0x040300]
12426         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
12427         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
12428         Likewise.
12429         [__LINUX_KERNEL_VERSION >= 0x040300]
12430         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
12431         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12432         Likewise.
12433         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
12434         Likewise.
12435         [__LINUX_KERNEL_VERSION >= 0x040300]
12436         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
12437         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12438         Likewise.
12439         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
12440         Likewise.
12441         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12442         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
12443         Likewise.
12444         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
12445         Likewise.
12446         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
12447         Likewise.
12448         [__LINUX_KERNEL_VERSION >= 0x040300]
12449         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
12450         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
12451         Likewise.
12452         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
12453         Likewise.
12454         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
12455         Likewise.
12456         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
12457         Likewise.
12458         [__LINUX_KERNEL_VERSION >= 0x040300]
12459         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
12460         [__LINUX_KERNEL_VERSION >= 0x040300]
12461         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
12462         [__LINUX_KERNEL_VERSION >= 0x040300]
12463         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
12464         [__LINUX_KERNEL_VERSION >= 0x040300]
12465         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
12466         [__LINUX_KERNEL_VERSION >= 0x040300]
12467         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
12468         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
12469         Likewise.
12470         [__LINUX_KERNEL_VERSION >= 0x040300]
12471         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
12472         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12473         Likewise.
12474         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
12475         Likewise.
12476         [__LINUX_KERNEL_VERSION >= 0x040300]
12477         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
12478         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12479         Likewise.
12480         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
12481         Likewise.
12482         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12483         (__ASSUME_SOCKET_SYSCALL): Likewise.
12484         (__ASSUME_BIND_SYSCALL): Likewise.
12485         (__ASSUME_CONNECT_SYSCALL): Likewise.
12486         (__ASSUME_LISTEN_SYSCALL): Likewise.
12487         (__ASSUME_ACCEPT_SYSCALL): Likewise.
12488         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
12489         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
12490         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
12491         (__ASSUME_SEND_SYSCALL): Likewise.
12492         (__ASSUME_SENDTO_SYSCALL): Likewise.
12493         (__ASSUME_RECV_SYSCALL): Likewise.
12494         (__ASSUME_RECVFROM_SYSCALL): Likewise.
12495         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
12496         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
12497         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
12498         (__ASSUME_SENDMSG_SYSCALL): Likewise.
12499         (__ASSUME_RECVMSG_SYSCALL): Likewise.
12500         * sysdeps/unix/sysv/linux/sh/kernel-features.h
12501         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
12502         Likewise.
12503         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
12504         Likewise.
12505         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
12506         Likewise.
12507         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
12508         Likewise.
12509         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
12510         Likewise.
12511         [__LINUX_KERNEL_VERSION >= 0x020625]
12512         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
12513         [__LINUX_KERNEL_VERSION >= 0x020625]
12514         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
12515         [__LINUX_KERNEL_VERSION >= 0x020625]
12516         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
12517         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
12518         Likewise.
12519         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
12520         Likewise.
12521         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
12522         Likewise.
12523         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
12524         Likewise.
12525         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
12526         Likewise.
12527         [__LINUX_KERNEL_VERSION >= 0x020625]
12528         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
12529         [__LINUX_KERNEL_VERSION >= 0x020625]
12530         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
12531         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
12532         Likewise.
12533         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
12534         Likewise.
12536 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
12538         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
12539         record the current if the current ABI and CPU support the FP64
12540         extension.
12541         (has-modd-spreg): Define to record the current if the current ABI and
12542         CPU support 32-bit floating point values in odd FPU registers.
12543         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
12544         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
12545         $(has-modd-spreg) equals yes.
12546         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
12547         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
12548         $(has-modd-spreg) equal yes.
12550 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
12552         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
12553         basename.
12555 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
12557         * benchtests/Makefile (bench-math): Move ffs and ffsll...
12558         (bench-string): ... here.
12559         (bench): Add bench-string.
12560         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
12561         to *-benchset to reflect what they are.
12562         (benchset): Adjust.
12564         * benchtests/sincos-inputs: Add inputs from sin-inputs and
12565         cos-inputs.
12567 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
12569         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
12570         __attribute__ ((__simd__)) for vector math function declarations.
12572 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
12574         Fix typo in strncat, wcsncat manual entries
12575         * manual/string.texi (Copying and Concatenation): Fix typos in
12576         sample implementations of strncat and wcsncat, by having them use
12577         the old value of the destination length, not the new one.
12579 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
12581         [BZ #16961]
12582         [BZ #16962]
12583         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
12584         string on the stack for strtod.
12585         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
12586         a string on the stack for strtof.
12587         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
12588         constructing a string on the stack for strtold.
12589         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
12590         __strtold_nan to GLIBC_PRIVATE.
12591         * math/test-nan-overflow.c: New file.
12592         * math/test-nan-payload.c: Likewise.
12593         * math/Makefile (tests): Add test-nan-overflow and
12594         test-nan-payload.
12596 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
12598         Consistency about byte vs character in string.texi
12599         * manual/string.texi (String and Array Utilities):
12600         Distinguish more carefully among bytes, multibyte characters,
12601         and wide characters.  Use "byte" when talking about C 'char',
12602         to distinguish it more clearly from multibyte characters.
12603         Say "wide character" or "multibyte character" instead of
12604         "character", when a wide or multibyte character is intended.
12605         Similarly for "multibyte string" versus "string".
12606         Define these terms more carefully.
12608 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
12610         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
12611         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
12612         Likewise.
12613         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
12614         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
12615         * sysdeps/sh/math_private.h: New file.
12616         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
12617         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
12618         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
12619         long double function name.
12620         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12621         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12622         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
12623         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
12624         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12625         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
12626         Remove __finitel, __isinfl, and __isnanl.
12627         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
12628         Likewise.
12629         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12630         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12631         Remove __finitel.
12632         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12633         Likewise.
12634         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12636 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
12638         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
12639         installed libmvec_nonshared.a.
12641 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12643         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
12644         (sysdep_routines): Likewise.
12645         (sysdep-rtld-routines): Likewise.
12646         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
12647         [$(subdir) = nptl](tests-static): test-get_hwcap-static
12648         * sysdeps/powerpc/Versions: Added new
12649         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
12650         * sysdeps/powerpc/hwcapinfo.c: New file.
12651         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
12652         and parse hwcap, hwcap2 and platform number information.
12653         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
12654         to store HWCAP+HWCAP2 and platform number.
12655         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
12656         for HWCAP+HWCAP2 and platform number in the TCB.
12657         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
12658         the HWCAP, HWCAP2 and platform number in the TCB.
12659         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
12660         (TLS_INIT_TP): Included calls to add the hwcap and
12661         at_platform values in the TCB in TP initialization.
12662         (TLS_DEFINE_INIT_TP): Likewise.
12663         (THREAD_GET_HWCAP): New macro.
12664         (THREAD_SET_HWCAP): Likewise.
12665         (THREAD_GET_AT_PLATFORM): Likewise.
12666         (THREAD_SET_AT_PLATFORM): Likewise.
12667         * sysdeps/powerpc/powerpc32/dl-machine.h:
12668         (dl_platform_init): New function that calls
12669         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
12670         powerpc32.
12671         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
12672         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
12673         this functionality, static linking case.
12674         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
12675         linking case.
12676         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
12677         __parse_hwcap_and_convert_at_platform for the static linking case.
12678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
12679         Included the new __parse_hwcap_and_convert_at_platform symbol in the
12680         ABI list for GLIBC 2.23.
12681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
12682         Likewise.
12683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
12684         Likewise.
12686 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
12688         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
12689         * configure: Regenerate.
12690         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
12691         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
12693 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
12695         * iconvdata/ibm930.c: Add comment explaining encoding uses.
12696         * iconvdata/ibm933.c: Likewise.
12697         * iconvdata/ibm935.c: Likewise.
12698         * iconvdata/ibm937.c: Likewise.
12699         * iconvdata/ibm939.c: Likewise.
12701 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12703         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
12704         pthread_join.
12705         * nptl/tst-cancel21.c (tf): Likewise.
12707 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
12709         [BZ #19313]
12710         * bits/typesizes.h (__CPU_MASK_TYPE): New.
12711         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
12712         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
12713         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
12714         Likewise.
12715         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
12716         Likewise.
12717         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
12718         Likewise.
12719         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
12720         Likewise.
12721         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
12722         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
12723         unsigned long int with __CPU_MASK_TYPE.
12725 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12727         * sysdeps/aarch64/libm-test-ulps: Regenerated.
12729 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
12731         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
12732         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
12733         t512.x.
12734         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
12736 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
12738         [BZ #19214]
12739         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
12740         argument to return extended model.  Update family and model
12741         with extended family and model when family == 0x0f.
12742         (init_cpu_features): Updated.
12744 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12746         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
12747         signed off_t, so 32bit bigger than 2GiB values are fine actually.
12749         * sysdeps/mach/hurd/mmap64.c: New file.
12751 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
12753         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
12754         rights for its main user thread in NEWTASK.
12756 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
12758         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
12759         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
12761 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
12763         [BZ #14259]
12764         * Makeconfig: Rename localedir to complocaledir.
12765         Rename inst_localedir to inst_complocaledir.
12766         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
12767         * config.make.in: Use complocaledir and libc_cv_complocaledir.
12768         * configure.ac: Use libc_cv_complocaledir.
12769         * configure: Regenerate.
12770         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
12771         -DCOMPLOCALEDIR.
12772         * locale/findlocale.c: Use COMPLOCALEDIR.
12773         * locale/loadarchive.c: Likewise.
12774         * locale/programs/locale.c: Likewise.
12775         * locale/programs/localedef.c: Likewise.
12776         * locale/programs/locarchive.c: Likewise.
12777         * localedata/Makefile: Use inst_complocaledir.
12778         * sysdeps/gnu/configure: Regenerate.
12779         * sysdeps/hppa/configure: Regenerate.
12780         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
12781         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
12782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
12783         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
12784         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
12785         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
12786         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
12788 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
12790         [BZ #19058]
12791         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
12792         AS_NEEDED.
12793         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
12794         workaround.
12795         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
12796         libmvec-static-only-routines): Added new file.
12797         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
12799 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12801         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
12802         of interrupted RPC instead of restoring it.
12804         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
12805         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
12806         libc_hidden_def.
12807         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
12808         into initialized data instead of common. Define rtld_hidden_data_def.
12809         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
12810         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
12811         libc_hidden_def.
12812         (if_freenameindex): Add libc_hidden_weak.
12813         (if_nameindex): Add libc_hidden_weak.
12814         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
12815         __open64.
12816         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
12817         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
12818         * sysdeps/mach/nanosleep.c: Include <time.h>
12819         (__nanosleep): Rename to __libc_nanosleep.
12820         (__nanosleep): Add weak_alias.
12821         (nanosleep): Update alias.
12823 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
12825         * stdlib/strtod_nan.c: New file.
12826         * stdlib/strtod_nan_double.h: Likewise.
12827         * stdlib/strtod_nan_float.h: Likewise.
12828         * stdlib/strtod_nan_main.c: Likewise.
12829         * stdlib/strtod_nan_narrow.h: Likewise.
12830         * stdlib/strtod_nan_wide.h: Likewise.
12831         * stdlib/strtof_nan.c: Likewise.
12832         * stdlib/strtold_nan.c: Likewise.
12833         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
12834         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
12835         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
12836         * wcsmbs/wcstod_nan.c: Likewise.
12837         * wcsmbs/wcstof_nan.c: Likewise.
12838         * wcsmbs/wcstold_nan.c: Likewise.
12839         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
12840         strtold_nan.
12841         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
12842         wcstof_nan.
12843         * include/stdlib.h (__strtof_nan): Declare and use
12844         libc_hidden_proto.
12845         (__strtod_nan): Likewise.
12846         (__strtold_nan): Likewise.
12847         (__wcstof_nan): Likewise.
12848         (__wcstod_nan): Likewise.
12849         (__wcstold_nan): Likewise.
12850         * include/wchar.h (____wcstoull_l_internal): Declare.
12851         * stdlib/strtod_l.c: Do not include <ieee754.h>.
12852         (____strtoull_l_internal): Remove declaration.
12853         (STRTOF_NAN): Define macro.
12854         (SET_MANTISSA): Remove macro.
12855         (STRTOULL): Likewise.
12856         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
12857         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
12858         (STRTOF_NAN): Define macro.
12859         (SET_MANTISSA): Remove macro.
12860         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
12861         (SET_MANTISSA): Remove macro.
12862         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
12863         macro.
12864         (SET_MANTISSA): Remove macro.
12865         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
12866         macro.
12867         (SET_MANTISSA): Remove macro.
12868         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
12869         (SET_MANTISSA): Remove macro.
12870         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
12871         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
12872         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
12874         [BZ #19266]
12875         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
12876         upper case and lower case letters inside NAN(), not using TOLOWER.
12877         * stdlib/tst-strtod-nan-locale-main.c: New file.
12878         * stdlib/tst-strtod-nan-locale.c: Likewise.
12879         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
12880         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
12881         Depend on $(gen-locales).
12882         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
12883         * wcsmbs/tst-wcstod-nan-locale.c: New file.
12884         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
12885         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
12886         Depend on $(gen-locales).
12887         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
12889 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
12891         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
12893         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
12894         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
12895         __finitel, __isinfl, and __isnanl.
12896         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
12897         Likewise.
12898         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12899         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
12900         __finitel.
12901         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12902         Likewise.
12903         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12905 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
12907         * malloc/memusage.c (me): Remove redundant getenv call.
12909 2015-10-24  Florian Weimer  <fweimer@redhat.com>
12911         [BZ #19143]
12912         [BZ #19164]
12913         * nptl/check-cpuset.h: Remove.
12914         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
12915         Remove CPU set size check.
12916         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
12917         Likewise.
12918         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
12919         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
12920         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
12921         (__pthread_setaffinity_new): Remove CPU set size check.
12922         * sysdeps/unix/sysv/linux/sched_setaffinity.c
12923         (__kernel_cpumask_size): Remove.
12924         (__sched_setaffinity_new): Remove CPU set size check.
12925         * manual/threads.texi (Default Thread Attributes): Remove stale
12926         reference to check_cpuset_attr, determine_cpumask_size in comment.
12927         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
12928         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
12929         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
12930         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
12931         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
12932         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
12933         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
12934         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
12935         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
12936         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
12937         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
12938         skeleton test file.
12939         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
12940         tst-affinity-pid.
12942 2015-11-24  Florian Weimer  <fweimer@redhat.com>
12944         * scripts/update-abilist.sh: New file.
12945         * Makefile (+subdir_targets): Add subdir_update-all-abi.
12946         * Makerules (update-all-abi-%, update-all-abi)
12947         (subdir_update-all-abi): New targets.
12948         * elf/Makefile (update-all-abi): New target.
12950 2015-11-24  Florian Weimer  <fweimer@redhat.com>
12952         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
12953         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
12954         (__libc_lock_define_initialized): Use it.
12955         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
12956         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
12957         * malloc/malloc.c (main_arena): Likewise.
12958         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
12959         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
12961 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
12963         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
12964         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
12965         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
12966         (PTRACE_O_MASK): Update value.
12967         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
12968         New value in enum __ptrace_setoptions.
12969         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
12970         (PTRACE_O_MASK): Update value.
12971         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
12972         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
12973         (PTRACE_O_MASK): Update value.
12974         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
12975         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
12976         (PTRACE_O_MASK): Update value.
12977         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
12978         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
12979         (PTRACE_O_MASK): Update value.
12980         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
12981         New value in enum __ptrace_setoptions.
12982         (PTRACE_O_MASK): Update value.
12983         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
12984         New value in enum __ptrace_setoptions.
12985         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
12986         (PTRACE_O_MASK): Update value.
12988         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
12989         New macro.
12990         (PACKET_AUXDATA): Likewise.
12991         (PACKET_ORIGDEV): Likewise.
12992         (PACKET_VERSION): Likewise.
12993         (PACKET_HDRLEN): Likewise.
12994         (PACKET_RESERVE): Likewise.
12995         (PACKET_TX_RING): Likewise.
12996         (PACKET_LOSS): Likewise.
12997         (PACKET_VNET_HDR): Likewise.
12998         (PACKET_TX_TIMESTAMP): Likewise.
12999         (PACKET_TIMESTAMP): Likewise.
13000         (PACKET_FANOUT): Likewise.
13001         (PACKET_TX_HAS_OFF): Likewise.
13002         (PACKET_QDISC_BYPASS): Likewise.
13003         (PACKET_ROLLOVER_STATS): Likewise.
13004         (PACKET_FANOUT_DATA): Likewise.
13005         (PACKET_MR_UNICAST): Likewise.
13007         [BZ #19242]
13008         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
13009         (TOUPPER): Likewise.
13010         * stdlib/tst-strtol-locale-main.c: New file.
13011         * stdlib/tst-strtol-locale.c: Likewise.
13012         * stdlib/Makefile (tests): Add tst-strtol-locale.
13013         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
13014         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
13015         Depend on $(gen-locales).
13016         * wcsmbs/tst-wcstol-locale.c: New file.
13017         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
13018         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
13019         tr_TR.ISO-8859-9.
13020         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
13021         Depend on $(gen-locales).
13023 2015-11-20  Roland McGrath  <roland@hack.frob.com>
13025         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
13026         __glibc_likely instead of __builtin_expect.  After falling back to
13027         dyncode_create in a non-ET_DYN case, use the allocate_code_data
13028         system interface to register the code pages as occupied.
13030 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
13032         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
13033         [!ARM_MATH_PRIVATE_H].
13034         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
13035         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
13036         [!HPPA_MATH_PRIVATE_H].
13037         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
13038         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
13039         to [!I386_MATH_PRIVATE_H].
13040         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
13041         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
13042         Change guard to [!M68K_MATH_PRIVATE_H].
13043         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
13044         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
13045         guard to [!MICROBLAZE_MATH_PRIVATE_H].
13046         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
13047         macro.
13048         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
13049         [!MIPS_MATH_PRIVATE_H].
13050         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
13051         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
13052         [!NIO2_MATH_PRIVATE_H].
13053         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
13054         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
13055         [!TILE_MATH_PRIVATE_H].
13056         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
13058         [BZ #15421]
13059         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
13060         initialize with 0 and define as weak alias of __signgam.
13061         * include/math.h [!_ISOMAC] (__signgam): Declare.
13062         * math/Makefile (libm-calls): Add w_lgamma_compat.
13063         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
13064         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
13065         test-signgam-ullong-init.
13066         (tests-static): Add test-signgam-uchar-static,
13067         test-signgam-uchar-init-static, test-signgam-uint-static,
13068         test-signgam-uint-init-static, test-signgam-ullong-static and
13069         test-signgam-ullong-init-static.
13070         (CFLAGS-test-signgam-uchar.c): New variable.
13071         (CFLAGS-test-signgam-uchar-init.c): Likewise.
13072         (CFLAGS-test-signgam-uchar-static.c): Likewise.
13073         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
13074         (CFLAGS-test-signgam-uint.c): Likewise.
13075         (CFLAGS-test-signgam-uint-init.c): Likewise.
13076         (CFLAGS-test-signgam-uint-static.c): Likewise.
13077         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
13078         (CFLAGS-test-signgam-ullong.c): Likewise.
13079         (CFLAGS-test-signgam-ullong-init.c): Likewise.
13080         (CFLAGS-test-signgam-ullong-static.c): Likewise.
13081         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
13082         * math/Versions (libm): Add GLIBC_2.23.
13083         * math/lgamma-compat.h: New file.
13084         * math/test-signgam-main.c: Likewise.
13085         * math/test-signgam-uchar-init-static.c: Likewise.
13086         * math/test-signgam-uchar-init.c: Likewise.
13087         * math/test-signgam-uchar-static.c: Likewise.
13088         * math/test-signgam-uchar.c: Likewise.
13089         * math/test-signgam-uint-init-static.c: Likewise.
13090         * math/test-signgam-uint-init.c: Likewise.
13091         * math/test-signgam-uint-static.c: Likewise.
13092         * math/test-signgam-uint.c: Likewise.
13093         * math/test-signgam-ullong-init-static.c: Likewise.
13094         * math/test-signgam-ullong-init.c: Likewise.
13095         * math/test-signgam-ullong-static.c: Likewise.
13096         * math/test-signgam-ullong.c: Likewise.
13097         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
13098         wrapper of w_lgamma_main.c.
13099         * math/w_lgamma_compat.c: New file.
13100         * math/w_lgamma_compatf.c: Likewise.
13101         * math/w_lgamma_compatl.c: Likewise.
13102         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
13103         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
13104         defining compatibility symbols.
13105         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
13106         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
13107         wrapper of w_lgammaf_main.c.
13108         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
13109         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
13110         defining compatibility symbols.
13111         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
13112         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
13113         wrapper of w_lgammal_main.c.
13114         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
13115         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
13116         defining compatibility symbols.
13117         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
13118         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
13119         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
13120         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
13121         <lgamma-compat.h>.
13122         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
13123         (__ieee754_gamma): Define as alias.
13124         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
13125         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
13126         <lgamma-compat.h>.
13127         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
13128         (__ieee754_gammaf): Define as alias.
13129         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
13130         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
13131         <lgamma-compat.h>.
13132         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
13133         (__ieee754_gammal): Define as alias.
13134         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
13135         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
13136         <math/w_lgamma_compat.c>.
13137         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
13138         Define as alias of __lgamma_compat and use in defining lgammal.
13139         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
13140         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
13141         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
13142         (USE_AS_COMPAT): New macro.
13143         (LGAMMA_OLD_VER): Undefine and redefine.
13144         (lgammal): Do not define here.
13145         (gammal): Only define here if [GAMMA_ALIAS].
13146         * conform/linknamespace.pl (@whitelist): Remove signgam.
13147         * sysdeps/nacl/libm.abilist: Update.
13148         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13149         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13150         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13151         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13152         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13153         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13154         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13155         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13156         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13157         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13158         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13159         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13161         Likewise.
13162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13163         Likewise.
13164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13165         Likewise.
13166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13167         Likewise.
13168         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13169         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13170         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13171         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13172         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13173         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13174         Likewise.
13175         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13176         Likewise.
13177         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13178         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13179         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13181 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13183         [BZ #16364]
13184         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
13185         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
13187 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
13189         * sysdeps/s390/fpu/bits/mathinline.h:
13190         Use __asm__ [__volatile__] instead of asm [volatile].
13191         * sysdeps/s390/abort-instr.h: Likewise.
13192         * sysdeps/s390/atomic-machine.h: Likewise.
13193         * sysdeps/s390/bits/string.h: Likewise.
13194         * sysdeps/s390/dl-tls.h: Likewise.
13195         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
13196         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
13197         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
13198         * sysdeps/s390/fpu/fesetround.c: Likewise.
13199         * sysdeps/s390/fpu/fpu_control.h: Likewise.
13200         * sysdeps/s390/fpu/s_fma.c: Likewise.
13201         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
13202         * sysdeps/s390/memusage.h: Likewise.
13203         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
13204         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
13205         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
13206         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
13207         * sysdeps/s390/nptl/tls.h: Likewise.
13208         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
13209         * sysdeps/s390/s390-32/backtrace.c: Likewise.
13210         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13211         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
13212         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13213         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
13214         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
13215         * sysdeps/s390/s390-64/backtrace.c: Likewise.
13216         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13217         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
13218         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
13219         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13220         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
13221         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
13222         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
13223         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
13224         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
13225         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
13226         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
13227         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13228         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
13229         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13230         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
13232 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13233             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13235         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
13236         Add lwarx hint, and use macro for acquire instruction.
13237         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
13238         Likewise.
13239         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
13240         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
13241         update to use new atomic macros.
13243 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13245         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
13246         (__lll_trylock_elision): Fix setting of adapt_count.
13247         * sysdeps/unix/sysv/linux/powerpc/htm.h
13248         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
13249         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
13250         (_ABORT_SYSCALL): Renumber, and clarify definition.
13251         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
13253 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13255         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
13256         after system headers to prevent MIN/MAX redefinition.  Define
13257         HAVE_ALLOCA to preserve builtin alloca usage.
13259 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
13261         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
13262         static and don't set or restore rounding.
13263         (__cos)[IN_SINCOS]: Likewise.
13264         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
13265         (__sincos): Set and restore rounding mode.  Remove check for infinite
13266         or NaN input.
13268         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
13270         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
13271         as used.
13273 2015-11-16  Florian Weimer  <fweimer@redhat.com>
13275         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
13277 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
13279         * config.make.in (have-glob-dat-reloc): New.
13280         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
13281         target supports GLOB_DAT relocaton. AC_SUBST.
13282         * configure: Regenerated.
13283         * elf/Makefile (tests): Add tst-prelink.
13284         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
13285         (tst-prelink-ENV): New.
13286         ($(objpfx)tst-prelink-conflict.out): Likewise.
13287         ($(objpfx)tst-prelink-cmp.out): Likewise.
13288         * sysdeps/x86/tst-prelink.c: Moved to ...
13289         * elf/tst-prelink.c: Here.
13290         * sysdeps/x86/tst-prelink.exp: Moved to ...
13291         * elf/tst-prelink.exp: Here.
13292         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
13293         (tst-prelink-ENV): Removed.
13294         ($(objpfx)tst-prelink-conflict.out): Likewise.
13295         ($(objpfx)tst-prelink-cmp.out): Likewise.
13296         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
13298 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
13300         [BZ #14551]
13301         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
13302         (__mpn_construct_long_double): If high part overflows to infinity,
13303         set errno and recompute overflowed result of the correct sign.
13304         * sysdeps/ieee754/ldbl-128ibm/Makefile
13305         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
13306         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
13307         $(libm).
13308         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
13310 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
13312         [BZ #15479]
13313         [BZ #19238]
13314         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
13315         floating-point state after first operation on input.  Restore full
13316         state rather than just rounding mode.
13317         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
13318         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
13319         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
13321         [BZ #19235]
13322         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
13323         add 0.5 to integer arguments.
13324         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
13325         Likewise.
13326         (.LC2): New object.
13328 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
13330         * scripts/pylintrc (reports): Set to no.
13332 2015-11-10  Roland McGrath  <roland@hack.frob.com>
13334         * elf/dl-load.c (open_verify): Take new argument FD.
13335         Skip __open call if passed FD is not -1.
13336         (_dl_map_object, open_path): Update callers.
13337         * elf/dl-sysdep-open.h: New file.
13338         * elf/dl-load.c: Include it.
13339         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
13340         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
13341         * sysdeps/nacl/dl-sysdep-open.h: New file.
13342         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
13343         from libc to rtld.
13345 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
13347         [BZ #19228]
13348         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
13349         and restore full floating-point state.
13350         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
13351         Likewise.
13352         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
13353         Likewise.
13354         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
13355         Likewise.
13356         * math/test-nearbyint-except-2.c: New file.
13357         * math/Makefile (tests): Add test-nearbyint-except-2.
13359 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
13361         [BZ #19178]
13362         * sysdeps/x86/Makefile (tests): Add tst-prelink.
13363         (tst-prelink-ENV): New.
13364         ($(objpfx)tst-prelink-conflict.out): Likewise.
13365         ($(objpfx)tst-prelink-cmp.out): Likewise.
13366         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
13367         * sysdeps/x86/tst-prelink.c: New file.
13368         * sysdeps/x86/tst-prelink.exp: Likewise.
13370 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
13372         * math/auto-libm-test-in: Add another test of pow.
13373         * math/auto-libm-test-out: Regenerated.
13374         * math/libm-test.inc (pow_test_data): Add another test.
13376 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13378         [BZ #19219]
13379         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
13380         weak_alias to nearbyintl.
13382 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
13384         * sysdeps/aarch64/bits/string.h: New file.
13385         (_STRING_ARCH_unaligned): Define.
13387 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
13389         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
13390         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
13391         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
13392         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
13393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
13395 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
13397         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
13398         for original name of the DSO.  Add it to the name list of the DSO
13399         if it is actually given.
13400         (_dl_map_object): Keep track of whether an audit module rewrote
13401         the file name.  If yes, pass the original name to
13402         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
13403         debugging is enabled, log the change of the file name.
13404         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
13405         _dl_map_object_from_fd.
13406         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
13407         * elf/tst-audit11.c: New file
13408         * elf/tst-auditmod11.c: New file.
13409         * elf/tst-audit11mod1.c: New file.
13410         * elf/tst-audit11mod2.c: New file.
13411         * elf/tst-audit11mod2.map: New file.
13412         * elf/tst-audit12.c: New file
13413         * elf/tst-auditmod12.c: New file.
13414         * elf/tst-audit12mod1.c: New file.
13415         * elf/tst-audit12mod2.c: New file.
13416         * elf/tst-audit12mod2.map: New file.
13417         * elf/tst-audit12mod3.c: New file.
13419 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
13421         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
13422         Don't create weak aliases,
13423         because versioned symbols are created later.
13424         * sysdeps/s390/s390-32/setjmp.S
13425         (setjmp, _setjmp): Remove weak and rename to an unique name
13426         in SHARED case due to existing versioned symbols.
13427         * sysdeps/s390/s390-64/setjmp.S: Likewise.
13428         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
13429         (getcontext): Create weak alias only in non SHARED case.
13430         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
13432 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
13434         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
13435         (__ASSUME_*_SYSCALL) Define new macros.
13436         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
13437         Remove socketcall syscalls.
13438         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
13439         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
13440         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
13441         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
13442         * sysdeps/unix/sysv/linux/send.c (__libc_send):
13443         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
13445 2015-11-09  Florian Weimer  <fweimer@redhat.com>
13447         [BZ #12926]
13448         Terminate process on invalid netlink response.
13449         * sysdeps/unix/sysv/linux/netlinkaccess.h
13450         (__netlink_assert_response): Declare.
13451         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
13452         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
13453         (sysdep_routines): Add netlink_assert_response.
13454         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
13455         __netlink_assert_response.
13456         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
13457         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
13458         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
13459         __netlink_assert_response.
13461 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
13463         [BZ #19178]
13464         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
13465         (RTYPE_CLASS_PLT): Likewise.
13466         (RTYPE_CLASS_COPY): Likewise.
13467         (RTYPE_CLASS_TLS): Likewise.
13468         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
13469         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
13470         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
13471         DL_DEBUG_PRELINK.
13473 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
13475         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
13476         calls with argument -0.5.
13477         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
13479         * configure.ac (libc_cv_z_nodelete): Remove configure test.
13480         (libc_cv_z_nodlopen): Likewise.
13481         (libc_cv_z_initfirst): Likewise.
13482         * configure: Regenerated.
13484 2015-11-06  Florian Weimer  <fweimer@redhat.com>
13486         Simplify abilist format to be line-based.
13487         * scripts/abilist.awk: Collect descriptors in the descs variable.
13488         (emit): Write descs variable and sort it
13489         externally, with sort.
13490         * sysdeps/**/*.abilist: Convert to new format.
13492 2015-11-06  Mark Wielaard  <mjw@redhat.com>
13494         [BZ #11460]
13495         * io/Makefile (routines): Add fts64.
13496         (tests): Add tst-fts and tst-fts-lfs.
13497         (CFLAGS-fts64.c): New.
13498         * io/Versions (GLIBC_2.23): New.
13499         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
13500         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
13501         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
13502         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
13503         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
13504         (FTSENT64): Likewise.
13505         (fts64_children): Likewise.
13506         (fts64_close): Likewise.
13507         (fts64_open): Likewise.
13508         (fts64_read): Likewise.
13509         (fts64_set): Likewise.
13510         * io/fts64.c: New file.
13511         * io/tst-fts.c: New test.
13512         * io/tst-fts-lfs.c: Likewise.
13513         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
13514         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
13515         fts64_set.
13516         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13517         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13518         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13519         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13520         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13521         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13522         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13523         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13524         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13525         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13526         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13527         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13528         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13530         Likewise.
13531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13532         Likewise.
13533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13535         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13536         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13537         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13538         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13539         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13540         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
13541         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
13542         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13543         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13544         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13545         * sysdeps/wordsize-64/fts.c: New file.
13546         * sysdeps/wordsize-64/fts64.c: Likewise.
13547         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
13548         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
13549         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
13550         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
13552 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
13554         * math/libm-test.inc (NON_FINITE): New macro.
13555         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
13556         * math/gen-libm-test.pl (show_exceptions): Add argument
13557         $non_finite.
13558         (parse_args): Update call to show_exceptions.
13559         * math/test-math-finite.h: New file.
13560         * math/test-math-no-finite.h: Likewise.
13561         * math/test-double-finite.c: Likewise.
13562         * math/test-float-finite.c: Likewise.
13563         * math/test-ldouble-finite.c: Likewise.
13564         * math/test-double.c: Include "test-math-no-finite.h".
13565         * math/test-float.c: Include "test-math-no-finite.h".
13566         * math/test-ldouble.c: Include "test-math-no-finite.h".
13567         * math/test-math-inline.h (TEST_FINITE): New macro.
13568         * math/test-math-vector.h (TEST_FINITE): Likewise.
13569         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
13570         (libm-tests): Add test-float-finite and test-double-finite.
13571         ($(objpfx)test-float-finite.o): New dependency on
13572         $(objpfx)libm-test.stmp.
13573         ($(objpfx)test-double-finite.o): Likewise.
13574         ($(objpfx)test-ldouble-finite.o): Likewise.
13575         (libm-test-no-inline-cflags): New variable.
13576         (libm-test-finite-cflags): Likewise.
13577         (CFLAGS-test-float-finite.c): Likewise.
13578         (CFLAGS-test-double-finite.c): Likewise.
13579         (CFLAGS-test-ldouble-finite.c): Likewise.
13580         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
13581         (CFLAGS-test-double.c): Likewise.
13582         (CFLAGS-test-ldouble.c): Likewise.
13584 2015-11-05  Roland McGrath  <roland@hack.frob.com>
13586         * io/fcntl.c (__fcntl): Add ... to prototype.
13587         * misc/ioctl.c (__ioctl): Likewise.
13588         * misc/syscall.c (syscall): Likewise.
13590 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
13592         * scripts/list-fixed-bugs.py: New file.
13594         [BZ #19213]
13595         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
13596         returned for argument 1.
13597         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
13598         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
13599         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
13600         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
13601         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
13602         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
13604         [BZ #19211]
13605         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
13606         __USE_XOPEN], not if [!__USE_ISOC99].
13607         (lgammaf): Likewise.
13608         (lgammal): Likewise.
13609         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
13610         (gammaf): Likewise.
13611         (gammal): Likewise.
13612         * math/test-signgam-finite-c11.c: New file.
13613         * math/test-signgam-finite-c99.c: Likewise.
13614         * math/test-signgam-finite.c: Likewise.
13615         * math/Makefile (tests): Add test-signgam-finite,
13616         test-signgam-finite-c99 and test-signgam-finite-c11.
13617         (CFLAGS-test-signgam-finite.c): New variable.
13618         (CFLAGS-test-signgam-finite-c99.c): Likewise.
13619         (CFLAGS-test-signgam-finite-c11.c): Likewise.
13621         [BZ #19212]
13622         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
13623         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
13624         500].
13625         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
13626         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
13627         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
13628         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
13629         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
13630         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
13631         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
13632         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
13633         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
13634         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
13636         [BZ #19209]
13637         * math/bits/math-finite.h (ldexp): Remove declaration.
13638         (ldexpf): Likewise.
13639         (ldexpl): Likewise.
13641         [BZ #19205]
13642         * math/bits/math-finite.h (acosf): Condition declaration on
13643         [__USE_ISOC99].
13644         (acosl): Likewise.
13645         (acoshf): Likewise.
13646         (acoshl): Likewise.
13647         (asinf): Likewise.
13648         (asinl): Likewise.
13649         (atan2f): Likewise.
13650         (atan2l): Likewise.
13651         (atanhf): Likewise.
13652         (atanhl): Likewise.
13653         (coshf): Likewise.
13654         (coshl): Likewise.
13655         (expf): Likewise.
13656         (expl): Likewise.
13657         (fmodf): Likewise.
13658         (fmodl): Likewise.
13659         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
13660         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
13661         (j0l): Likewise.
13662         (y0f): Likewise.
13663         (y0l): Likewise.
13664         (j1f): Likewise.
13665         (j1l): Likewise.
13666         (y1f): Likewise.
13667         (y1l): Likewise.
13668         (jnf): Likewise.
13669         (jnl): Likewise.
13670         (ynf): Likewise.
13671         (ynl): Likewise.
13672         (lgammaf_r): Condition declaration on [__USE_ISOC99].
13673         (lgammal_r): Likewise.
13674         (__lgamma_r_finite): New declaration.
13675         (__lgammaf_r_finite): Likewise.
13676         (__lgammal_r_finite): Likewise.
13677         (lgamma): Use __lgamma_r_finite.
13678         (lgammaf): Condition definition on [__USE_ISOC99].  Use
13679         __lgammaf_r_finite.
13680         (lgammal): Condition definition on [__USE_ISOC99].  Use
13681         __lgammal_r_finite.
13682         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
13683         __lgamma_r_finite.
13684         (gammaf): Condition definition on [__USE_ISOC99].  Use
13685         __lgammaf_r_finite.
13686         (gammal): Condition definition on [__USE_ISOC99].  Use
13687         __lgammal_r_finite.
13688         (logf): Condition declaration on [__USE_ISOC99].
13689         (logl): Likewise.
13690         (log10f): Likewise.
13691         (log10l): Likewise.
13692         (ldexpf): Likewise.
13693         (ldexpl): Likewise.
13694         (powf): Likewise.
13695         (powl): Likewise.
13696         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
13697         __USE_ISOC99].
13698         (remainderf): Condition declaration on [__USE_ISOC99].
13699         (remainderl): Likewise.
13700         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
13701         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
13702         (scalbl): Likewise.
13703         (sinhf): Condition declaration on [__USE_ISOC99].
13704         (sinhl): Likewise.
13705         (sqrtf): Likewise.
13706         (sqrtl): Likewise.
13708 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
13710         * sysdeps/arm/atomic-machine.h
13711         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
13712         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
13713         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
13714         Remove conditional code.
13715         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
13716         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
13717         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
13718         Change conditional to [__ASSEMBLER__].
13719         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
13720         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
13721         [!__ASSEMBLER__].
13722         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
13723         code.
13724         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
13725         conditional macro definitions.
13726         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
13727         (__arch_compare_and_exchange_val_16_acq): Likewise.
13728         (__arch_compare_and_exchange_val_32_acq): Likewise.
13729         (atomic_exchange_and_add): Likewise.
13730         (atomic_add): Likewise.
13731         (atomic_add_negative): Likewise.
13732         (atomic_add_zero): Likewise.
13733         (atomic_bit_set): Likewise.
13734         (atomic_bit_test_set): Likewise.
13735         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
13736         code unconditional.
13737         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13739         * math/test-math-errno.h: New file.
13740         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
13741         empty.
13742         (TEST_ERRNO): New macro.
13743         (TEST_EXCEPTIONS): Likewise.
13744         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
13745         (TEST_EXCEPTIONS): Likewise.
13746         * math/test-math-vector.h (TEST_ERRNO): Likewise.
13747         * math/test-double.c: Include "test-math-errno.h".
13748         * math/test-float.c: Likewise.
13749         * math/test-ldouble.c: Likewise.
13750         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
13751         code unconditional.
13752         (test_exceptions): Only run code if TEST_EXCEPTIONS.
13753         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
13754         unconditional.
13755         (test_errno): Only run code if TEST_ERRNO.
13756         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
13758 2015-11-04  Florian Weimer  <fweimer@redhat.com>
13760         * nptl/tst-once5.cc: Remove attribution.
13762 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
13764         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
13765         sqrt, tan, tanh, y0, y1 and yn.
13766         * math/auto-libm-test-out: Regenerated.
13767         * math/libm-test.inc (scalb_test_data): Add more tests.
13768         (scalbn_test_data): Likewise.
13769         (scalbln_test_data): Likewise.
13770         (signbit_test_data): Likewise.
13771         (sin_test_data): Likewise.
13772         (sincos_test_data): Likewise.
13773         (sinh_test_data): Likewise.
13774         (sqrt_test_data): Likewise.
13775         (tan_test_data): Likewise.
13776         (tanh_test_data): Likewise.
13777         (tgamma_test_data): Likewise.
13778         (y0_test_data): Likewise.
13779         (y1_test_data): Likewise.
13780         (yn_test_data): Likewise.
13781         (significand_test_data): Likewise.
13782         * sysdeps/i386/fpu/libm-test-ulps: Update.
13784 2015-11-03  David Kastrup  <dak@gnu.org>
13786         [BZ #18604]
13787         * assert/assert.h (assert): Don't macro-expand failed assertion
13788         expression in error message.
13789         * malloc/malloc.c (assert): Likewise.
13791 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
13793         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
13794         test.
13795         * configure: Regenerated.
13797 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
13799         * math/libm-test.inc (modf_test_data): Add more tests.
13800         (nearbyint_test_data): Likewise.
13801         (nextafter_test_data): Likewise.
13802         (nexttoward_test_data): Likewise.
13803         (pow_test_data): Likewise.
13804         (remainder_test_data): Likewise.
13805         (remquo_test_data): Likewise.
13806         (rint_test_data): Likewise.
13808         [BZ #19201]
13809         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
13810         Check for zero remainder in case of large exponents and ensure
13811         correct sign of result in that case.
13812         * math/libm-test.inc (remainder_test_data): Add more tests.
13814         [BZ #6799]
13815         * math/s_nextafter.c: Include <errno.h>.
13816         (__nextafter): Set errno on overflow and underflow.
13817         * math/s_nexttowardf.c: Include <errno.h>.
13818         (__nexttowardf): Set errno on overflow and underflow.
13819         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
13820         (__nextafterl): Set errno on overflow and underflow.
13821         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
13822         (__nexttoward): Set errno on overflow and underflow.
13823         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
13824         (__nexttowardf): Set errno on overflow and underflow.
13825         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
13826         (__nextafterf): Set errno on overflow and underflow.
13827         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
13828         (__nextafterl): Set errno on overflow and underflow.
13829         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
13830         (__nexttoward): Set errno on overflow and underflow.
13831         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
13832         (__nexttowardf): Set errno on overflow and underflow.
13833         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
13834         (__nextafterl): Set errno on overflow and underflow.
13835         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
13836         (__nexttoward): Set errno on overflow and underflow.
13837         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
13838         (__nexttowardf): Set errno on overflow and underflow.
13839         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
13840         (__nexttoward): Set errno on overflow and underflow.
13841         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
13842         (__nexttowardf): Set errno on overflow and underflow.
13843         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
13844         (__nldbl_nexttowardf): Set errno on overflow and underflow.
13845         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
13846         (__nextafterl): Set errno on overflow and underflow.
13847         * math/libm-test.inc (nextafter_test_data): Do not allow errno
13848         setting to be missing on overflow.  Add more tests.
13849         (nexttoward_test_data): Likewise.
13851         * configure.ac (libc_cv_initfini_array): Remove configure test.
13852         * configure: Regenerated.
13854 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
13856         [BZ #19189]
13857         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
13858         non-finite argument handle arguments with negative sign.
13860         * math/libm-test.inc (j0_test_data): Do not test sign of zero
13861         result from infinite argument.
13862         (j1_test_data): Likewise.
13863         (jn_test_data): Likewise.
13864         (y0_test_data): Likewise.
13865         (y1_test_data): Likewise.
13866         (yn_test_data): Likewise.
13868         [BZ #16171]
13869         * math/w_remainder.c (drem): Define as weak alias of __remainder.
13870         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
13871         * math/w_remainderf.c (dremf): Define as weak alias of
13872         __remainderf.
13873         * math/w_remainderl.c (dreml): Define as weak alias of
13874         __remainderl.
13875         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
13876         __remainder.
13877         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
13878         __remainderf.
13879         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
13880         __remainderl.
13881         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
13882         weak alias of remainderl.
13883         * sysdeps/ieee754/ldbl-opt/w_remainder.c
13884         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
13885         alias of __remainder.
13886         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
13887         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
13888         strong alias of __remainderl.
13889         (dreml): Use long_double_symbol.
13890         * math/Makefile (libm-calls): Remove w_drem.
13891         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
13892         (CFLAGS-nldbl-drem.c): Remove variable.
13893         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
13894         * math/w_drem.c: Remove file.
13895         * math/w_dremf.c: Likewise.
13896         * math/w_dreml.c: Likewise.
13897         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
13898         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
13899         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
13901         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
13902         * sysdeps/i386/configure: Regenerated.
13903         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
13904         * sysdeps/x86_64/configure: Regenerated.
13906         * configure.ac (libc_cv_asm_protected_directive): Remove configure
13907         test.
13908         (libc_cv_visibility_attribute): Likewise.
13909         (libc_cv_protected_data): Test unconditionally.
13910         (libc_cv_broken_visibility_attribute): Remove configure test.
13911         (libc_cv_have_sdata_section): Test unconditionally.
13912         * configure: Regenerated.
13914         * include/libc-internal.h (libc_max_align_t): Remove typedef.
13915         * include/scratch_buffer.h: Include <stddef.h> instead of
13916         <libc-internal.h>.
13917         (struct scratch_buffer): Use max_align_t instead of
13918         libc_max_align_t.
13920 2015-10-29  Florian Weimer  <fweimer@redhat.com>
13922         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
13923         instead of extend_alloca.  Change control flow to avoid a goto.
13924         Remove assert which is trivially always true.
13926 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
13928         [BZ #16068]
13929         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
13930         (FE_ALL_EXCEPT_X86): New macro.
13931         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
13932         FE_ALL_EXCEPT.  Ensure precision control is included in
13933         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
13934         handle "denormal operand exception" and clear FZ and DAZ bits.
13935         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
13936         (FE_ALL_EXCEPT_X86): New macro.
13937         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
13938         FE_ALL_EXCEPT.  Ensure precision control is included in
13939         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
13940         handle "denormal operand exception" and clear FZ and DAZ bits.
13941         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
13942         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
13943         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13944         test-fenv-x87 and test-fenv-sse-2.
13945         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
13947         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
13948         * math/test-double.h (BUILD_COMPLEX): New macro.
13949         * math/test-float.h (BUILD_COMPLEX): Likewise.
13950         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
13952         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
13953         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
13954         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
13955         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
13956         instead of DBL_DENORM_MIN in comment.
13957         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
13958         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
13959         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
13960         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
13961         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
13962         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
13964 2015-10-28  Florian Weimer  <fweimer@redhat.com>
13966         [BZ# 19048]
13967         * malloc/malloc.c (struct malloc_state): Update comment.  Add
13968         attached_threads member.
13969         (main_arena): Initialize attached_threads.
13970         * malloc/arena.c (list_lock): Update comment.
13971         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
13972         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
13973         (deattach_arena): New function.
13974         (_int_new_arena): Initialize arena reference count and deattach
13975         replaced arena.
13976         (get_free_list, reused_arena): Update reference count and deattach
13977         replaced arena.
13978         (arena_thread_freeres): Update arena reference count and only put
13979         unreferenced arenas on the free list.
13981 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
13983         [BZ #19181]
13984         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
13985         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
13986         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
13987         * math/test-fenv-clear-main.c: New file.
13988         * math/test-fenv-clear.c: Likewise.
13989         * math/Makefile (tests): Add test-fenv-clear.
13990         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
13991         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13992         test-fenv-clear-sse.
13993         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
13995         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
13996         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
13997         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
13999 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14001         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
14002         static libc.
14004 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
14006         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
14007         test.
14008         * sysdeps/i386/configure: Regenerated.
14009         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
14010         test.
14011         * sysdeps/x86_64/configure: Regenerated.
14012         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
14013         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14014         memset-avx2 unconditionally instead of conditionally on
14015         [$(config-cflags-avx2) = yes].
14016         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14017         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
14018         unconditional.
14019         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
14020         * sysdeps/x86_64/multiarch/memset_chk.S
14021         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
14022         to [IS_IN (libc) && SHARED].
14024 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
14026         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
14027         configure test.
14028         * sysdeps/arm/configure: Regenerated.
14029         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
14030         Define variable if not already defined.
14032         [BZ #17404]
14033         * sysdeps/mips/atomic-machine.h
14034         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
14035         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
14036         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
14038         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
14039         unconditional.
14040         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
14041         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14042         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
14043         unconditional.
14044         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14045         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
14046         unconditional.
14047         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14048         * stdlib/setenv.c
14049         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
14050         code unconditional.
14051         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
14052         Remove conditional code.
14053         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
14054         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
14055         unconditional.
14056         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
14057         code.
14058         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
14059         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
14060         unconditional.
14061         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
14062         code.
14063         * sysdeps/ieee754/ldbl-128/k_tanl.c
14064         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
14065         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14066         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
14067         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
14068         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14069         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
14070         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
14071         unconditional.
14072         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
14073         code.
14074         * sysdeps/ieee754/ldbl-96/k_tanl.c
14075         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
14076         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14078         * nptl/tst-initializers1-c11.c: New file.
14079         * nptl/tst-initializers1-gnu11.c: Likewise.
14080         * nptl/Makefile (tests): Add these new tests.
14081         (CFLAGS-tst-initializers1-c11.c): New variable.
14082         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
14084         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
14085         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
14086         instead of -std=gnu99.
14087         * configure.ac (systemtap): Test with -std=gnu11 instead of
14088         -std=gnu99.
14089         * configure: Regenerated.
14090         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
14091         in compilation command in comment.
14093         * sysdeps/nptl/configure.ac: Remove file.
14094         * sysdeps/nptl/configure: Remove generated file.
14095         * configure.ac (libc_cv_forced_unwind): Do not substitute.
14096         * configure: Regenerated.
14097         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
14098         * config.make.in (have-forced-unwind): Remove variable.
14099         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
14100         unconditional.
14101         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
14102         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
14103         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
14104         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
14105         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
14106         unconditional.
14108 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14110         [BZ #19174]
14111         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
14112         .skip_lock_out_of_tbegin_retries.
14113         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
14114         (__lll_lock_elision): Likewise, and respect a value of
14115         try_tbegin <= 0.
14117 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14119         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
14120         statement.
14122 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
14124         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
14125         variable.
14126         (test-xfail-ISO11/stdalign.h/conform): Likewise.
14127         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
14129         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
14130         of -std=c1x -D_ISOC11_SOURCE.
14132         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
14133         * configure: Regenerated.
14134         * manual/install.texi (Tools for Compilation): Document
14135         requirement for GCC 4.7 or later.
14136         * INSTALL: Regenerated.
14138 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
14140         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
14141         on CNT to a conditional jump to 'puntdata'.
14143 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
14145         * configure.ac (libc_cv_gcc___thread): Remove configure test.
14146         (libc_cv_gcc_tls_model_attr): Likewise.
14147         * configure: Regenerated.
14149         * configure.ac (libc_cv_need_minus_P): Remove configure test.
14150         * configure: Regenerated.
14151         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
14153 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
14155         * configure.ac (old_glibc_headers): Remove configure test.
14156         * configure: Regenerated.
14157         * config.make.in (old-glibc-headers): Remove variable.
14158         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
14159         (install): Remove dependency on remove-old-headers.
14160         (headers2_0): Remove variable.
14161         (remove-old-headers): Remove rule.
14163         * configure.ac (libc_cv_dot_text): Remove configure test.
14164         (libc_cv_asm_set_directive): Use .text instead of
14165         ${libc_cv_dot_text} in configure test.
14166         * configure: Regenerated.
14168 2015-10-26  Florian Weimer  <fweimer@redhat.com>
14170         [BZ #19168]
14171         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14173 2015-10-26  Florian Weimer  <fweimer@redhat.com>
14175         * configure.ac (CXX): Clear the variable if the C++ toolchain does
14176         not support static linking.
14177         * configure: Regenerate.
14179 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
14181         * math/libm-test.inc (check_float_internal): Do not special-case
14182         errors up to 0.5 ulp.
14184         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
14185         log2.
14186         * math/auto-libm-test-out: Regenerated.
14187         * math/libm-test.inc (MAX_EXP): New macro.
14188         (ilogb_test_data): Add more tests.
14189         (isfinite_test_data): Likewise.
14190         (isgreater_test_data): Likewise.
14191         (isgreaterequal_test_data): Likewise.
14192         (isinf_test_data): Likewise.
14193         (isless_test_data): Likewise.
14194         (islessequal_test_data): Likewise.
14195         (islessgreater_test_data): Likewise.
14196         (isnan_test_data): Likewise.
14197         (isnormal_test_data): Likewise.
14198         (issignaling_test_data): Likewise.
14199         (isunordered_test_data): Likewise.
14200         (j0_test_data): Likewise.
14201         (j1_test_data): Likewise.
14202         (jn_test_data): Likewise.
14203         (lgamma_test_data): Likewise.
14204         (log_test_data): Likewise.
14205         (log10_test_data): Likewise.
14206         (log1p_test_data): Likewise.
14207         (log2_test_data): Likewise.
14208         (logb_test_data): Likewise.
14209         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14211         [BZ #18611]
14212         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
14213         avoid excess range and precision on underflow.
14214         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14215         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
14216         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
14217         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
14218         underflow.
14219         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14220         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14221         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14222         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14223         * math/auto-libm-test-in: Do not allow missing errno setting for
14224         tests of j1 and jn.
14225         * math/auto-libm-test-out: Regenerated.
14227 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
14229         [BZ #15491]
14230         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
14231         floating-point environment instead of clearing all exceptions.
14232         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
14233         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
14234         merging in "invalid" exceptions from frndint.
14235         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
14236         * math/test-nearbyint-except.c: New file.
14237         * math/Makefile (tests): Add test-nearbyint-except.
14239 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
14241         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
14243         * sysdeps/tile/libm-test-ulps: Regenerated.
14245 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
14248         (__NR_sync_file_range2): Assume it is always defined.
14249         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
14250         (__NR_sync_file_range): Assume it is always defined.
14252 2015-10-22  Andreas Schwab  <schwab@suse.de>
14254         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
14255         INTERNAL_SYSCALL_ERRNO.
14256         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
14257         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
14258         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14259         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
14260         Likewise.
14261         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14263 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
14265         * io/tst-fcntl.c (fd): New static variable.
14266         (do_prepare): Open temporary file here....
14267         (do_test): ...not here.
14269         * io/ftwtest-sh: Also trap on exit to remove temporary files.
14271 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
14273         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
14274         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
14275         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
14276         Moved before "#ifdef __ASSEMBLER__".
14278 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
14280         [BZ #19156]
14281         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
14282         arguments very close to 0.
14284 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
14286         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
14287         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
14289 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
14291         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
14292         New.  Defined for GCC 5 and above when not compiling for
14293         profiling.
14294         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
14296         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
14297         Renamed to ...
14298         (CFLAGS-epoll_pwait.o): This.
14299         (CFLAGS-mmap.c): Renamed to ...
14300         (CFLAGS-mmap.o): This.
14301         (CFLAGS-mmap64.c): Renamed to ...
14302         (CFLAGS-mmap64.o): This.
14303         (CFLAGS-epoll_pwait.os): New.
14304         (CFLAGS-mmap.os): Likewise.
14305         (CFLAGS-mmap64.os): Likewise.
14306         (CFLAGS-semtimedop.os): Likewise.
14307         (CFLAGS-semtimedop.c): Renamed to ...
14308         (CFLAGS-semtimedop.o): This.
14310 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14312         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
14313         warning message.
14315 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
14317         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
14318         * Makefile ($(objpfx)c++-types-check.out): Filter out
14319         $(+gccwarn-c) instead of -Wstrict-prototypes.
14321         * io/fts.c (fts_open): Convert to prototype-style function
14322         definition.
14323         * malloc/mcheck.c (mcheck): Likewise.
14324         (mcheck_pedantic): Likewise.
14325         * posix/regexec.c (re_search_2_stub): Likewise.  Use
14326         internal_function.
14327         (re_search_internal): Likewise.
14328         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
14329         prototype-style function definition.
14330         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
14331         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
14332         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
14333         (xdr_utmpptr): Likewise.
14334         (xdr_utmparr): Likewise.
14335         (xdr_utmpidle): Likewise.
14336         (xdr_utmpidleptr): Likewise.
14337         (xdr_utmpidlearr): Likewise.
14339         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
14340         log, log10 and log2.
14341         * math/auto-libm-test-out: Regenerated.
14342         * math/libm-test.inc (fmod_test_data): Add more tests.
14343         (fpclassify_test_data): Likewise.
14344         (frexp_test_data): Likewise.
14345         (hypot_test_data): Likewise.
14346         (ilogb_test_data): Likewise.
14348 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
14350         * debug/fortify_fail.c (__fortify_fail): Convert to
14351         prototype-style function definition.  Use internal_function.
14352         * libio/genops.c (save_for_backup): Convert to prototype-style
14353         function definition.
14354         * libio/wgenops.c (save_for_wbackup): Likewise.
14355         * login/grantpt.c (grantpt): Likewise.
14356         * login/ptsname.c (ptsname): Likewise.
14357         (__ptsname_r): Likewise.
14358         * login/unlockpt.c (unlockpt): Likewise.
14359         * mach/msgserver.c (__mach_msg_server): Likewise.
14360         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
14361         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
14362         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
14363         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
14364         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
14365         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
14366         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
14367         Likewise.
14368         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
14369         internal_function.
14370         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
14371         prototype-style function definition.
14372         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
14373         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
14374         (__pthread_create_2_0): Likewise.
14375         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
14376         * nptl/register-atfork.c (__register_atfork): Likewise.
14377         * posix/glob.c (glob): Likewise.
14378         * posix/regcomp.c (re_comp): Likewise.
14379         * posix/regexec.c (re_exec): Likewise.
14380         * stdlib/add_n.c [__STDC__]: Make code unconditional.
14381         [!__STDC__]: Remove conditional code.
14382         * stdlib/cmp.c [__STDC__]: Make code unconditional.
14383         [!__STDC__]: Remove conditional code.
14384         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
14385         [!__STDC__]: Remove conditional code.
14386         * stdlib/divrem.c [__STDC__]: Make code unconditional.
14387         [!__STDC__]: Remove conditional code.
14388         * stdlib/lshift.c [__STDC__]: Make code unconditional.
14389         [!__STDC__]: Remove conditional code.
14390         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
14391         [!__STDC__]: Remove conditional code.
14392         * stdlib/mul.c [__STDC__]: Make code unconditional.
14393         [!__STDC__]: Remove conditional code.
14394         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
14395         [!__STDC__]: Remove conditional code.
14396         * stdlib/rshift.c [__STDC__]: Make code unconditional.
14397         [!__STDC__]: Remove conditional code.
14398         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
14399         function definition.
14400         (STRTOF): Likewise.
14401         * stdlib/strtod_l.c (__STRTOF): Likewise.
14402         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
14403         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
14404         (__strtol_l): Likewise.
14405         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
14406         [!__STDC__]: Remove conditional code.
14407         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
14408         definition.
14409         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
14410         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
14411         type.
14412         (__strcasecmp): Convert to prototype-style function definition.
14413         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
14414         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
14415         type.
14416         (__strncasecmp): Convert to prototype-style function definition.
14417         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
14418         * sunrpc/xdr.c (xdr_union): Likewise.
14419         * sunrpc/xdr_array.c (xdr_array): Likewise.
14420         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
14421         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
14422         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
14423         Likewise.
14424         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
14425         Likewise.
14426         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
14427         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
14428         Likewise.
14429         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
14430         (LOCALE_PARAM_PROTO): Likewise.
14431         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
14432         argument type.
14433         (ut_argument_spec): Remove macro.
14434         (ut_argument_spec_iso): Rename to ut_argument_spec.
14435         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
14436         prototype-style function definition.
14437         (memcpy_uppcase): Likewise.
14438         (__strftime_internal): Likewise.
14439         (my_strftime): Likewise.
14440         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
14441         (LOCALE_PARAM_DECL): Likewise.
14442         [_LIBC] (LOCALE_PARAM): Include argument type.
14443         (__strptime_internal): Convert to prototype-style function
14444         definition.
14445         (strptime): Likewise.
14446         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
14447         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
14448         type.
14449         (__wcscasecmp): Convert to prototype-style function definition.
14450         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
14451         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
14452         type.
14453         (__wcsncasecmp): Convert to prototype-style function definition.
14455         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
14456         function definition.
14457         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
14458         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
14459         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
14460         * elf/dl-minimal.c (_itoa): Likewise.
14461         * hurd/hurdmalloc.c (malloc): Likewise.
14462         (free): Likewise.
14463         (realloc): Likewise.
14464         * inet/inet6_option.c (inet6_option_space): Likewise.
14465         (inet6_option_init): Likewise.
14466         (inet6_option_append): Likewise.
14467         (inet6_option_alloc): Likewise.
14468         (inet6_option_next): Likewise.
14469         (inet6_option_find): Likewise.
14470         * io/ftw.c (FTW_NAME): Likewise.
14471         (NFTW_NAME): Likewise.
14472         (NFTW_NEW_NAME): Likewise.
14473         (NFTW_OLD_NAME): Likewise.
14474         * libio/iofwide.c (_IO_fwide): Likewise.
14475         * libio/strops.c (_IO_str_init_static_internal): Likewise.
14476         (_IO_str_init_static): Likewise.
14477         (_IO_str_init_readonly): Likewise.
14478         (_IO_str_overflow): Likewise.
14479         (_IO_str_underflow): Likewise.
14480         (_IO_str_count): Likewise.
14481         (_IO_str_seekoff): Likewise.
14482         (_IO_str_pbackfail): Likewise.
14483         (_IO_str_finish): Likewise.
14484         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
14485         (_IO_wstr_overflow): Likewise.
14486         (_IO_wstr_underflow): Likewise.
14487         (_IO_wstr_count): Likewise.
14488         (_IO_wstr_seekoff): Likewise.
14489         (_IO_wstr_pbackfail): Likewise.
14490         (_IO_wstr_finish): Likewise.
14491         * locale/programs/localedef.c (normalize_codeset): Likewise.
14492         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
14493         (add_locales_to_archive): Likewise.
14494         (delete_locales_from_archive): Likewise.
14495         * malloc/malloc.c (__libc_mallinfo): Likewise.
14496         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
14497         * misc/tsearch.c (__tfind): Likewise.
14498         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
14499         * nptl/pthread_attr_getdetachstate.c
14500         (__pthread_attr_getdetachstate): Likewise.
14501         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
14502         Likewise.
14503         * nptl/pthread_attr_getinheritsched.c
14504         (__pthread_attr_getinheritsched): Likewise.
14505         * nptl/pthread_attr_getschedparam.c
14506         (__pthread_attr_getschedparam): Likewise.
14507         * nptl/pthread_attr_getschedpolicy.c
14508         (__pthread_attr_getschedpolicy): Likewise.
14509         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
14510         Likewise.
14511         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
14512         Likewise.
14513         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
14514         Likewise.
14515         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
14516         Likewise.
14517         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
14518         (__pthread_attr_init_2_0): Likewise.
14519         * nptl/pthread_attr_setdetachstate.c
14520         (__pthread_attr_setdetachstate): Likewise.
14521         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
14522         Likewise.
14523         * nptl/pthread_attr_setinheritsched.c
14524         (__pthread_attr_setinheritsched): Likewise.
14525         * nptl/pthread_attr_setschedparam.c
14526         (__pthread_attr_setschedparam): Likewise.
14527         * nptl/pthread_attr_setschedpolicy.c
14528         (__pthread_attr_setschedpolicy): Likewise.
14529         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
14530         Likewise.
14531         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
14532         Likewise.
14533         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
14534         Likewise.
14535         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
14536         Likewise.
14537         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
14538         Likewise.
14539         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
14540         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
14541         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
14542         use internal_function.
14543         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
14544         prototype-style function definition.
14545         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
14546         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
14547         internal_function.
14548         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
14549         Convert to prototype-style function definition.
14550         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
14551         Likewise.
14552         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
14553         Likewise.
14554         (__pthread_mutex_unlock): Likewise.
14555         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
14556         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
14557         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
14558         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
14559         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
14560         * nss/makedb.c (process_input): Likewise.
14561         * posix/fnmatch.c (__strchrnul): Likewise.
14562         (__wcschrnul): Likewise.
14563         (fnmatch): Likewise.
14564         * posix/fnmatch_loop.c (FCT): Likewise.
14565         * posix/glob.c (globfree): Likewise.
14566         (__glob_pattern_type): Likewise.
14567         (__glob_pattern_p): Likewise.
14568         * posix/regcomp.c (re_compile_pattern): Likewise.
14569         (re_set_syntax): Likewise.
14570         (re_compile_fastmap): Likewise.
14571         (regcomp): Likewise.
14572         (regerror): Likewise.
14573         (regfree): Likewise.
14574         * posix/regexec.c (regexec): Likewise.
14575         (re_match): Likewise.
14576         (re_search): Likewise.
14577         (re_match_2): Likewise.
14578         (re_search_2): Likewise.
14579         (re_search_stub): Likewise.  Use internal_function
14580         (re_copy_regs): Likewise.
14581         (re_set_registers): Convert to prototype-style function
14582         definition.
14583         (prune_impossible_nodes): Likewise.  Use internal_function.
14584         * resolv/inet_net_pton.c (inet_net_pton): Convert to
14585         prototype-style function definition.
14586         (inet_net_pton_ipv4): Likewise.
14587         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14588         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
14589         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
14590         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
14591         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
14592         Make variadic.
14593         * time/strptime_l.c (localtime_r): Convert to prototype-style
14594         function definition.
14595         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
14596         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
14597         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
14598         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
14600         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
14601         definition.
14602         (_ufc_doit_r): Likewise.
14603         * crypt/crypt_util.c (_ufc_copymem): Likewise.
14604         (_ufc_output_conversion_r): Likewise.
14605         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
14606         * inet/rcmd.c (rcmd_af): Likewise.
14607         (rcmd): Likewise.
14608         (ruserok_af): Likewise.
14609         (ruserok): Likewise.
14610         (ruserok2_sa): Likewise.
14611         (ruserok_sa): Likewise.
14612         (iruserok_af): Likewise.
14613         (iruserok): Likewise.
14614         (__ivaliduser): Likewise.
14615         (__validuser2_sa): Likewise.
14616         * inet/rexec.c (rexec_af): Likewise.
14617         (rexec): Likewise.
14618         * inet/ruserpass.c (ruserpass): Likewise.
14619         * locale/programs/xmalloc.c (xcalloc): Likewise.
14620         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
14621         * math/w_drem.c (__drem): Likewise.
14622         * math/w_dremf.c (__dremf): Likewise.
14623         * math/w_dreml.c (__dreml): Likewise.
14624         * misc/daemon.c (daemon): Likewise.
14625         * resolv/res_debug.c (p_fqnname): Likewise.
14626         * stdlib/div.c (div): Likewise.
14627         * string/memcmp.c (memcmp_bytes): Likewise.
14628         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
14629         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
14631         * crypt/cert.c (main): Convert to prototype-style function
14632         definition.
14633         * io/pipe.c (__pipe): Likewise.
14634         * io/pipe2.c (__pipe2): Likewise.
14635         * misc/futimesat.c (futimesat): Likewise.
14636         * misc/utimes.c (__utimes): Likewise.
14637         * posix/execve.c (__execve): Likewise.
14638         * posix/execvp.c (execvp): Likewise.
14639         * posix/execvpe.c (__execvpe): Likewise.
14640         * posix/fexecve.c (fexecve): Likewise.
14641         * socket/socketpair.c (socketpair): Likewise.
14642         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
14643         * stdlib/erand48.c (erand48): Likewise.
14644         * stdlib/erand48_r.c (__erand48_r): Likewise.
14645         * stdlib/jrand48.c (jrand48): Likewise.
14646         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
14647         * stdlib/lcong48.c (lcong48): Likewise.
14648         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
14649         * stdlib/nrand48.c (nrand48): Likewise.
14650         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
14651         * stdlib/seed48.c (seed48): Likewise.
14652         * stdlib/seed48_r.c (__seed48_r): Likewise.
14653         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
14654         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
14655         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
14657 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
14659         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
14660         * configure: Regenerated.
14661         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
14662         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
14663         unconditional.
14664         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
14665         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
14666         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
14667         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
14668         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
14669         unconditional.
14670         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
14672         * posix/Makefile (CFLAGS-regex.c): Remove variable.
14673         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
14675         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
14676         function definition.
14677         * crypt/crypt_util.c (__encrypt_r): Likewise.
14678         * libio/genops.c (_IO_no_init): Likewise.
14679         * libio/iofopncook.c (_IO_fopencookie): Likewise.
14680         (_IO_old_fopencookie): Likewise.
14681         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
14682         * libio/iogetline.c (_IO_getline): Likewise.
14683         (_IO_getline_info): Likewise.
14684         * libio/iogetwline.c (_IO_getwline): Likewise.
14685         (_IO_getwline_info): Likewise.
14686         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
14687         * libio/vswprintf.c (_IO_vswprintf): Likewise.
14688         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
14689         (find_entry): Likewise.
14690         (iterate_table): Likewise.
14691         (lookup): Likewise.
14692         * login/forkpty.c (forkpty): Likewise.
14693         * misc/hsearch_r.c (__hsearch_r): Likewise.
14694         * misc/select.c (__select): Likewise.
14695         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
14696         Likewise.
14697         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
14698         Likewise.
14699         * nptl/old_pthread_cond_timedwait.c
14700         (__pthread_cond_timedwait_2_0): Likewise.
14701         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
14702         * nptl/pthread_barrierattr_getpshared.c
14703         (pthread_barrierattr_getpshared): Likewise.
14704         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
14705         Likewise.
14706         * nptl/pthread_mutex_setprioceiling.c
14707         (pthread_mutex_setprioceiling): Likewise.
14708         * nptl/pthread_mutexattr_getprioceiling.c
14709         (pthread_mutexattr_getprioceiling): Likewise.
14710         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
14711         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
14712         Likewise.
14713         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
14714         Likewise.
14715         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
14716         Likewise.
14717         * socket/recvfrom.c (__recvfrom): Likewise.
14718         * socket/sendto.c (__sendto): Likewise.
14719         * socket/setsockopt.c (__setsockopt): Likewise.
14720         * stdio-common/_itoa.c (_itoa): Likewise.
14721         * stdio-common/_itowa.c (_itowa): Likewise.
14722         * stdio-common/reg-printf.c (__register_printf_specifier):
14723         Likewise.
14724         (__register_printf_function): Likewise.
14725         * stdio-common/tempname.c (__path_search): Likewise.
14726         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
14727         * stdlib/mul_1.c (mpn_mul_1): Likewise.
14728         * stdlib/random_r.c (__initstate_r): Likewise.
14729         * stdlib/setenv.c (__add_to_environ): Likewise.
14730         * stdlib/submul_1.c (mpn_submul_1): Likewise.
14731         * streams/getpmsg.c (getpmsg): Likewise.
14732         * streams/putmsg.c (putmsg): Likewise.
14733         * streams/putpmsg.c (putpmsg): Likewise.
14734         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
14735         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
14736         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
14737         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
14738         * sunrpc/pm_getport.c (pmap_getport): Likewise.
14739         * sunrpc/svc_udp.c (cache_get): Likewise.
14740         * sunrpc/xdr_array.c (xdr_vector): Likewise.
14741         * sysdeps/mach/hurd/getcwd.c
14742         (__canonicalize_directory_name_internal): Likewise.
14743         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
14744         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
14745         * sysdeps/mach/hurd/select.c (__select): Likewise.
14746         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
14747         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
14748         * sysdeps/sparc/nptl/pthread_barrier_init.c
14749         (__pthread_barrier_init): Likewise.
14750         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
14751         (__pthread_cond_timedwait): Likewise.
14752         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
14753         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
14754         Likewise.
14755         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
14756         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
14757         Likewise.
14758         * sysvipc/semtimedop.c (semtimedop): Likewise.
14759         * time/setitimer.c (__setitimer): Likewise.
14760         * time/strftime_l.c (emacs_strftime): Likewise.
14762 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
14764         * config.make.in (have-ssp): Delete.
14765         (stack-protector): New variable.
14766         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
14767         cache test for -fstack-protector-strong.  Export stack_protector to
14768         the best ssp flag.
14769         * configure: Regenerated.
14770         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
14771         * nscd/Makefile (CFLAGS-nscd): Likewise.
14772         * resolv/Makefile (CFLAGS-libresolv): Likewise.
14774 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
14776         [BZ #19122]
14777         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
14778         attribute_hidden.
14780 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14782         [BZ #18743]
14783         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
14784         code to...
14785         (ELIDE_LOCK): ...here.
14786         (__get_new_count): New function with part of the code from
14787         __elide_lock that updates the value of adapt_count after a
14788         transaction abort.
14789         (__elided_trylock): Moved this code to...
14790         (ELIDE_TRYLOCK): ...here.
14792 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
14794         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
14795         * configure: Regenerate.
14796         * INSTALL: Regenerate.
14797         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
14798         and tweak grammar.
14800 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
14802         * login/programs/pt_chown.c: Include signal.h
14803         (main): Clear any signal mask from the parent process.
14805 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
14807         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
14808         * configure: Regenerated.
14809         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
14810         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
14811         $(gnu89-inline-CFLAGS).
14813         * configure.ac (libc_cv_asm_weak_directive): Remove configure
14814         test.
14815         (libc_cv_asm_weakext_directive): Likewise.
14816         * configure: Regenerated.
14817         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
14818         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
14819         * include/libc-symbols.h
14820         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
14821         #error.
14822         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
14823         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
14825         * sysdeps/arm/backtrace.c (__backtrace): Convert to
14826         prototype-style function definition.
14827         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
14828         * sysdeps/i386/ffs.c (__ffs): Likewise.
14829         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
14830         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
14831         Likewise.
14832         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
14833         Likewise.
14834         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
14835         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
14836         Likewise.
14837         * sysdeps/m68k/ffs.c (__ffs): Likewise.
14838         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
14839         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
14840         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
14841         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
14842         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
14843         * sysdeps/mach/hurd/access.c (__access): Likewise.
14844         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
14845         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
14846         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
14847         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
14848         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
14849         (cthread_getspecific): Likewise.
14850         (cthread_setspecific): Likewise.
14851         (__libc_getspecific): Likewise.
14852         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
14853         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
14854         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
14855         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
14856         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
14857         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
14858         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
14859         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
14860         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
14861         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
14862         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
14863         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
14864         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
14865         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
14866         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
14867         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
14868         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
14869         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
14870         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
14871         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
14872         * sysdeps/mach/hurd/link.c (__link): Likewise.
14873         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
14874         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
14875         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
14876         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
14877         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
14878         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
14879         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
14880         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
14881         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
14882         * sysdeps/mach/hurd/rename.c (rename): Likewise.
14883         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
14884         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
14885         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
14886         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
14887         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
14888         * sysdeps/mach/hurd/send.c (__send): Likewise.
14889         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
14890         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
14891         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
14892         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
14893         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
14894         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
14895         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
14896         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
14897         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
14898         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
14899         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
14900         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
14901         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
14902         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
14903         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
14904         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
14905         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
14906         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
14907         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
14908         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
14909         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
14910         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
14911         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
14912         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
14913         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
14914         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
14915         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
14916         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
14917         * sysdeps/posix/alarm.c (alarm): Likewise.
14918         * sysdeps/posix/cuserid.c (cuserid): Likewise.
14919         * sysdeps/posix/dirfd.c (dirfd): Likewise.
14920         * sysdeps/posix/dup.c (__dup): Likewise.
14921         * sysdeps/posix/dup2.c (__dup2): Likewise.
14922         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
14923         (main): Likewise.
14924         * sysdeps/posix/flock.c (__flock): Likewise.
14925         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
14926         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
14927         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
14928         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
14929         * sysdeps/posix/isatty.c (__isatty): Likewise.
14930         * sysdeps/posix/killpg.c (killpg): Likewise.
14931         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
14932         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
14933         * sysdeps/posix/raise.c (raise): Likewise.
14934         * sysdeps/posix/remove.c (remove): Likewise.
14935         * sysdeps/posix/rename.c (rename): Likewise.
14936         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
14937         * sysdeps/posix/seekdir.c (seekdir): Likewise.
14938         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
14939         * sysdeps/posix/sigignore.c (sigignore): Likewise.
14940         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
14941         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
14942         * sysdeps/posix/sigset.c (sigset): Likewise.
14943         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
14944         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
14945         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
14946         * sysdeps/posix/time.c (time): Likewise.
14947         * sysdeps/posix/ttyname.c (getttyname): Likewise.
14948         (ttyname): Likewise.
14949         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
14950         * sysdeps/posix/utime.c (utime): Likewise.
14951         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
14952         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
14953         Likewise.
14954         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
14955         (pthread_spin_trylock): Likewise.
14956         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
14957         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
14958         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
14959         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
14960         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
14961         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
14962         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
14963         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
14964         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
14965         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
14966         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
14967         * sysdeps/s390/ffs.c (__ffs): Likewise.
14968         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
14969         Likewise.
14970         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
14971         Likewise.
14972         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
14973         Likewise.
14974         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
14975         (pthread_barrier_destroy): Likewise.
14976         * sysdeps/sparc/nptl/pthread_barrier_wait.c
14977         (__pthread_barrier_wait): Likewise.
14978         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
14979         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
14980         (__pthread_barrier_wait): Likewise.
14981         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
14982         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
14983         (memcmp_not_common_alignment): Likewise.
14984         (MEMCMP): Likewise.
14985         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
14986         (_wordcopy_fwd_dest_aligned): Likewise.
14987         (_wordcopy_bwd_aligned): Likewise.
14988         (_wordcopy_bwd_dest_aligned): Likewise.
14989         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
14990         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
14991         * sysdeps/unix/bsd/stty.c (stty): Likewise.
14992         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
14993         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
14994         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
14995         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
14996         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
14997         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
14998         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
14999         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
15000         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
15001         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
15002         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
15003         * sysdeps/unix/stime.c (stime): Likewise.
15004         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
15005         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
15006         Likewise.  Use internal_function.
15007         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
15008         Convert to prototype-style function definition.
15009         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
15010         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
15011         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
15012         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
15013         Likewise.  Use internal_function.
15014         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
15015         prototype-style function definition
15016         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15017         Likewise.
15018         (__getlogin_r): Likewise.
15019         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
15020         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
15021         (__pthread_cond_broadcast): Likewise.
15022         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
15023         (__pthread_cond_destroy): Likewise.
15024         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
15025         (__pthread_cond_init): Likewise.
15026         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
15027         (__pthread_cond_signal): Likewise.
15028         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
15029         (__pthread_cond_wait): Likewise.
15030         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
15031         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
15032         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
15033         Likewise.
15034         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
15035         Likewise.
15036         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
15037         Likewise.
15038         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
15039         Likewise.
15040         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
15041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
15042         (__ftruncate64): Likewise.
15043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
15044         (truncate64): Likewise.
15045         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
15046         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
15047         (pthread_getcpuclockid): Likewise.
15048         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
15049         Likewise.
15050         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
15051         Likewise.
15052         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
15053         Likewise.
15054         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
15055         Likewise.
15056         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
15057         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
15058         (__libc_sigaction): Likewise.
15059         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
15060         Likewise.
15061         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
15062         (__sigprocmask): Likewise.
15063         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
15064         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
15065         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
15066         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
15067         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
15068         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
15069         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
15070         Likewise.
15071         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
15072         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
15073         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
15074         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
15075         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
15076         Likewise.
15077         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
15078         (__sigprocmask): Likewise.
15079         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
15080         (cfgetispeed): Likewise.
15081         (cfsetospeed): Likewise.
15082         (cfsetispeed): Likewise.
15083         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
15084         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
15085         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
15086         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
15087         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
15088         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
15089         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
15090         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
15091         Likewise.
15092         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
15093         Likewise.
15094         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
15095         Likewise.
15096         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
15097         Likewise.
15098         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
15100 2015-10-17  Florian Weimer  <fweimer@redhat.com>
15102         sunrpc: Rewrite with explicit TLS access using __thread.
15103         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
15104         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
15105         directly.
15106         (__rpc_thread_variables): Access thread_rpc_vars directly.
15107         Eliminate redundant assignment of the tvp variable.
15109 2015-10-17  Florian Weimer  <fweimer@redhat.com>
15111         malloc: Rewrite with explicit TLS access using __thread.
15112         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
15113         (tsd_setspecific, tsd_getspecific): Remove.
15114         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
15115         (tsd_setspecific, tsd_getspecific): Likewise.
15116         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
15117         (tsd_setspecific, tsd_getspecific): Likewise.
15118         * malloc/arena.c (thread_arena): New TLS variable.
15119         (arena_key): Remove variable.
15120         (arena_get): Use thread_arena.
15121         (arena_lookup): Remove macro.
15122         (malloc_atfork, free_atfork, ptmalloc_lock_all)
15123         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
15124         (_int_new_arena, get_free_list, reused_arena)
15125         (arena_thread_freeres): Use thread_arena.
15126         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
15127         tsd_getspecific, tsd_setspecific from safety annotations.
15128         (Allocating Cleared Space): Remove arena_lookup from safety
15129         annotations.
15131 2015-10-17  Florian Weimer  <fweimer@redhat.com>
15133         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
15134         struct scratch_buffer instead of extend_alloca.
15136 2015-10-17  Florian Weimer  <fweimer@redhat.com>
15138         * sysdeps/unix/sysv/linux/kernel-features.h
15139         (__ASSUME_SOCK_CLOEXEC): Remove.
15140         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
15141         (__have_paccept): Remove unused macro.
15142         * include/unistd.h (__have_sock_cloexec): Remove declaration.
15143         * misc/syslog.c (openlog_internal): Remove fallback code for
15144         !__ASSUME_SOCK_CLOEXEC.
15145         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
15146         missing SOCK_CLOEXEC.
15147         * nscd/connections.c (have_sock_cloexec): Remove definition.
15148         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
15149         * nscd/nscd_helper.c (open_socket): Remove fallback code for
15150         !__ASSUME_SOCK_CLOEXEC.
15151         * resolv/res_send.c (__have_o_nonblock): Remove definition.
15152         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
15153         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
15154         definition.
15155         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
15156         code for !__ASSUME_SOCK_CLOEXEC.
15158 2015-10-17  Florian Weimer  <fweimer@redhat.com>
15160         [BZ #18982]
15161         * manual/stdio.texi (Variable Arguments Output): Add portability
15162         note, explaining that vfprintf clobbers the va_list pointer.
15164 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
15166         * math/libm-test.inc (fabs_test_data): Add more tests.
15167         (fdim_test_data): Likewise.
15168         (fma_test_data): Likewise.
15169         (fmax_test_data): Likewise.
15170         (fmin_test_data): Likewise.
15171         (fmod_test_data): Likewise.
15173 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
15175         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
15176         data.
15178 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
15180         * math/libm-test.inc (ceil_test_data): Add more tests and more
15181         expectations for "inexact".
15182         (floor_test_data): Add more tests.
15183         (round_test_data): Likewise.
15184         (trunc_test_data): Likewise.
15186         * crypt/cert.c (good_bye): Convert to prototype-style function
15187         definition.
15188         (get8): Likewise.
15189         (put8): Likewise.
15190         * crypt/crypt-entry.c (crypt): Likewise.
15191         (__fcrypt): Likewise.
15192         * crypt/crypt_util.c (_ufc_prbits): Likewise.
15193         (_ufc_set_bits): Likewise.
15194         (_ufc_clearmem): Likewise.
15195         (__init_des_r): Likewise.
15196         (shuffle_sb): Likewise.
15197         (shuffle_sb): Likewise.
15198         (_ufc_setup_salt_r): Likewise.
15199         (_ufc_mk_keytab_r): Likewise.
15200         (_ufc_dofinalperm_r): Likewise.
15201         (encrypt): Likewise.
15202         (__setkey_r): Likewise.
15203         (setkey): Likewise.
15204         * crypt/md5.c (md5_init_ctx): Likewise.
15205         (md5_read_ctx): Likewise.
15206         (md5_finish_ctx): Likewise.
15207         (md5_stream): Likewise.
15208         (md5_buffer): Likewise.
15209         (md5_process_bytes): Likewise.
15210         * crypt/sha256.c (__sha256_init_ctx): Likewise.
15211         (__sha256_finish_ctx): Likewise.
15212         (__sha256_process_bytes): Likewise.
15213         * crypt/sha512.c (__sha512_init_ctx): Likewise.
15214         (__sha512_finish_ctx): Likewise.
15215         (__sha512_process_bytes): Likewise.
15216         * ctype/isctype.c (__isctype): Likewise.
15217         * debug/backtrace.c (__backtrace): Likewise.
15218         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
15219         * debug/fgets_chk.c (__fgets_chk): Likewise.
15220         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
15221         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
15222         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
15223         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
15224         * debug/memset_chk.c (__memset_chk): Likewise.
15225         * debug/strcat_chk.c (__strcat_chk): Likewise.
15226         * debug/strncat_chk.c (__strncat_chk): Likewise.
15227         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
15228         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
15229         * dirent/dirfd.c (dirfd): Likewise.
15230         * dirent/getdents.c (__getdirentries): Likewise.
15231         * dirent/getdents64.c (getdirentries64): Likewise.
15232         * dirent/rewinddir.c (__rewinddir): Likewise.
15233         * dirent/seekdir.c (seekdir): Likewise.
15234         * dirent/telldir.c (telldir): Likewise.
15235         * elf/sln.c (makesymlinks): Likewise.
15236         (makesymlink): Likewise.
15237         * gmon/gmon.c (__moncontrol): Likewise.
15238         (__monstartup): Likewise.
15239         (write_hist): Likewise.
15240         (write_call_graph): Likewise.
15241         (write_bb_counts): Likewise.
15242         * grp/setgroups.c (setgroups): Likewise.
15243         * inet/inet_lnaof.c (inet_lnaof): Likewise.
15244         * inet/inet_net.c (inet_network): Likewise.
15245         * inet/inet_netof.c (inet_netof): Likewise.
15246         * inet/rcmd.c (rresvport_af): Likewise.
15247         (rresvport): Likewise.
15248         * io/access.c (__access): Likewise.
15249         * io/chdir.c (__chdir): Likewise.
15250         * io/chmod.c (__chmod): Likewise.
15251         * io/chown.c (__chown): Likewise.
15252         * io/close.c (__close): Likewise.
15253         * io/creat.c (creat): Likewise.
15254         * io/creat64.c (creat64): Likewise.
15255         * io/dup.c (__dup): Likewise.
15256         * io/dup2.c (__dup2): Likewise.
15257         * io/dup3.c (__dup3): Likewise.
15258         * io/euidaccess.c (__euidaccess): Likewise.
15259         * io/faccessat.c (faccessat): Likewise.
15260         * io/fchmod.c (__fchmod): Likewise.
15261         * io/fchmodat.c (fchmodat): Likewise.
15262         * io/fchown.c (__fchown): Likewise.
15263         * io/fchownat.c (fchownat): Likewise.
15264         * io/fcntl.c (__fcntl): Likewise.
15265         * io/flock.c (__flock): Likewise.
15266         * io/fts.c (fts_load): Likewise.
15267         (fts_close): Likewise.
15268         (fts_read): Likewise.
15269         (fts_set): Likewise.
15270         (fts_children): Likewise.
15271         (fts_build): Likewise.
15272         (fts_stat): Likewise.
15273         (fts_sort): Likewise.
15274         (fts_alloc): Likewise.
15275         (fts_lfree): Likewise.
15276         (fts_palloc): Likewise.
15277         (fts_padjust): Likewise.
15278         (fts_maxarglen): Likewise.
15279         (fts_safe_changedir): Likewise.
15280         * io/getwd.c (getwd): Likewise.
15281         * io/isatty.c (__isatty): Likewise.
15282         * io/lchown.c (__lchown): Likewise.
15283         * io/link.c (__link): Likewise.
15284         * io/linkat.c (linkat): Likewise.
15285         * io/lseek.c (__libc_lseek): Likewise.
15286         * io/mkdir.c (__mkdir): Likewise.
15287         * io/mkdirat.c (mkdirat): Likewise.
15288         * io/mkfifo.c (mkfifo): Likewise.
15289         * io/mkfifoat.c (mkfifoat): Likewise.
15290         * io/open.c (__libc_open): Likewise.
15291         * io/open64.c (__libc_open64): Likewise.
15292         * io/readlink.c (__readlink): Likewise.
15293         * io/readlinkat.c (readlinkat): Likewise.
15294         * io/rmdir.c (__rmdir): Likewise.
15295         * io/symlink.c (__symlink): Likewise.
15296         * io/symlinkat.c (symlinkat): Likewise.
15297         * io/ttyname.c (ttyname): Likewise.
15298         * io/ttyname_r.c (__ttyname_r): Likewise.
15299         * io/umask.c (__umask): Likewise.
15300         * io/unlink.c (__unlink): Likewise.
15301         * io/unlinkat.c (unlinkat): Likewise.
15302         * io/utime.c (utime): Likewise.
15303         * libio/clearerr.c (clearerr): Likewise.
15304         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
15305         * libio/feof.c (_IO_feof): Likewise.
15306         * libio/feof_u.c (feof_unlocked): Likewise.
15307         * libio/ferror.c (_IO_ferror): Likewise.
15308         * libio/ferror_u.c (ferror_unlocked): Likewise.
15309         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
15310         * libio/fileno.c (__fileno): Likewise.
15311         * libio/fputc.c (fputc): Likewise.
15312         * libio/fputc_u.c (fputc_unlocked): Likewise.
15313         * libio/fputwc.c (fputwc): Likewise.
15314         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
15315         * libio/freopen.c (freopen): Likewise.
15316         * libio/freopen64.c (freopen64): Likewise.
15317         * libio/fseek.c (fseek): Likewise.
15318         * libio/fseeko.c (fseeko): Likewise.
15319         * libio/fseeko64.c (fseeko64): Likewise.
15320         * libio/ftello.c (__ftello): Likewise.
15321         * libio/ftello64.c (ftello64): Likewise.
15322         * libio/fwide.c (fwide): Likewise.
15323         * libio/genops.c (_IO_un_link): Likewise.
15324         (_IO_link_in): Likewise.
15325         (_IO_least_marker): Likewise.
15326         (_IO_switch_to_main_get_area): Likewise.
15327         (_IO_switch_to_backup_area): Likewise.
15328         (_IO_switch_to_get_mode): Likewise.
15329         (_IO_free_backup_area): Likewise.
15330         (_IO_switch_to_put_mode): Likewise.
15331         (__overflow): Likewise.
15332         (__underflow): Likewise.
15333         (__uflow): Likewise.
15334         (_IO_setb): Likewise.
15335         (_IO_doallocbuf): Likewise.
15336         (_IO_default_underflow): Likewise.
15337         (_IO_default_uflow): Likewise.
15338         (_IO_default_xsputn): Likewise.
15339         (_IO_sgetn): Likewise.
15340         (_IO_default_xsgetn): Likewise.
15341         (_IO_sync): Likewise.
15342         (_IO_default_setbuf): Likewise.
15343         (_IO_default_seekpos): Likewise.
15344         (_IO_default_doallocate): Likewise.
15345         (_IO_init): Likewise.
15346         (_IO_old_init): Likewise.
15347         (_IO_default_sync): Likewise.
15348         (_IO_default_finish): Likewise.
15349         (_IO_default_seekoff): Likewise.
15350         (_IO_sputbackc): Likewise.
15351         (_IO_sungetc): Likewise.
15352         (_IO_set_column): Likewise.
15353         (_IO_set_column): Likewise.
15354         (_IO_adjust_column): Likewise.
15355         (_IO_get_column): Likewise.
15356         (_IO_init_marker): Likewise.
15357         (_IO_remove_marker): Likewise.
15358         (_IO_marker_difference): Likewise.
15359         (_IO_marker_delta): Likewise.
15360         (_IO_seekmark): Likewise.
15361         (_IO_unsave_markers): Likewise.
15362         (_IO_nobackup_pbackfail): Likewise.
15363         (_IO_default_pbackfail): Likewise.
15364         (_IO_default_seek): Likewise.
15365         (_IO_default_stat): Likewise.
15366         (_IO_default_read): Likewise.
15367         (_IO_default_write): Likewise.
15368         (_IO_default_showmanyc): Likewise.
15369         (_IO_default_imbue): Likewise.
15370         (_IO_iter_next): Likewise.
15371         (_IO_iter_file): Likewise.
15372         * libio/getc.c (_IO_getc): Likewise.
15373         * libio/getwc.c (_IO_getwc): Likewise.
15374         * libio/iofclose.c (_IO_new_fclose): Likewise.
15375         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15376         * libio/iofflush.c (_IO_fflush): Likewise.
15377         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
15378         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
15379         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
15380         * libio/iofgets.c (_IO_fgets): Likewise.
15381         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
15382         * libio/iofgetws.c (fgetws): Likewise.
15383         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
15384         * libio/iofopen64.c (_IO_fopen64): Likewise.
15385         * libio/iofopncook.c (_IO_cookie_read): Likewise.
15386         (_IO_cookie_write): Likewise.
15387         (_IO_cookie_seek): Likewise.
15388         (_IO_cookie_close): Likewise.
15389         (_IO_cookie_seekoff): Likewise.
15390         (_IO_old_cookie_seek): Likewise.
15391         * libio/iofputs.c (_IO_fputs): Likewise.
15392         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
15393         * libio/iofputws.c (fputws): Likewise.
15394         * libio/iofputws_u.c (fputws_unlocked): Likewise.
15395         * libio/iofread.c (_IO_fread): Likewise.
15396         * libio/iofread_u.c (__fread_unlocked): Likewise.
15397         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
15398         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
15399         * libio/ioftell.c (_IO_ftell): Likewise.
15400         * libio/iofwrite.c (_IO_fwrite): Likewise.
15401         * libio/iogetdelim.c (_IO_getdelim): Likewise.
15402         * libio/iogets.c (_IO_gets): Likewise.
15403         * libio/iopadn.c (_IO_padn): Likewise.
15404         * libio/iopopen.c (_IO_new_proc_open): Likewise.
15405         (_IO_new_popen): Likewise.
15406         (_IO_new_proc_close): Likewise.
15407         * libio/ioputs.c (_IO_puts): Likewise.
15408         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
15409         (_IO_seekoff): Likewise.
15410         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
15411         (_IO_seekpos): Likewise.
15412         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
15413         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
15414         * libio/ioungetc.c (_IO_ungetc): Likewise.
15415         * libio/ioungetwc.c (ungetwc): Likewise.
15416         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15417         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
15418         * libio/iowpadn.c (_IO_wpadn): Likewise.
15419         * libio/libc_fatal.c (__libc_fatal): Likewise.
15420         * libio/memstream.c (__open_memstream): Likewise.
15421         (_IO_mem_sync): Likewise.
15422         (_IO_mem_finish): Likewise.
15423         * libio/oldfileops.c (_IO_old_file_init): Likewise.
15424         (_IO_old_file_close_it): Likewise.
15425         (_IO_old_file_finish): Likewise.
15426         (_IO_old_file_fopen): Likewise.
15427         (_IO_old_file_attach): Likewise.
15428         (_IO_old_file_setbuf): Likewise.
15429         (_IO_old_do_write): Likewise.
15430         (old_do_write): Likewise.
15431         (_IO_old_file_underflow): Likewise.
15432         (_IO_old_file_overflow): Likewise.
15433         (_IO_old_file_sync): Likewise.
15434         (_IO_old_file_seekoff): Likewise.
15435         (_IO_old_file_write): Likewise.
15436         (_IO_old_file_xsputn): Likewise.
15437         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
15438         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15439         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
15440         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
15441         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
15442         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
15443         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
15444         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
15445         (_IO_old_popen): Likewise.
15446         (_IO_old_proc_close): Likewise.
15447         * libio/oldpclose.c (__old_pclose): Likewise.
15448         * libio/pclose.c (__new_pclose): Likewise.
15449         * libio/peekc.c (_IO_peekc_locked): Likewise.
15450         * libio/putc.c (_IO_putc): Likewise.
15451         * libio/putc_u.c (putc_unlocked): Likewise.
15452         * libio/putchar.c (putchar): Likewise.
15453         * libio/putchar_u.c (putchar_unlocked): Likewise.
15454         * libio/putwc.c (putwc): Likewise.
15455         * libio/putwc_u.c (putwc_unlocked): Likewise.
15456         * libio/putwchar.c (putwchar): Likewise.
15457         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
15458         * libio/rewind.c (rewind): Likewise.
15459         * libio/setbuf.c (setbuf): Likewise.
15460         * libio/setlinebuf.c (setlinebuf): Likewise.
15461         * libio/vasprintf.c (_IO_vasprintf): Likewise.
15462         * libio/vscanf.c (_IO_vscanf): Likewise.
15463         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
15464         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
15465         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
15466         * libio/wgenops.c (_IO_least_wmarker): Likewise.
15467         (_IO_switch_to_main_wget_area): Likewise.
15468         (_IO_switch_to_wbackup_area): Likewise.
15469         (_IO_wsetb): Likewise.
15470         (_IO_wdefault_pbackfail): Likewise.
15471         (_IO_wdefault_finish): Likewise.
15472         (_IO_wdefault_uflow): Likewise.
15473         (__woverflow): Likewise.
15474         (__wuflow): Likewise.
15475         (__wunderflow): Likewise.
15476         (_IO_wdefault_xsputn): Likewise.
15477         (_IO_wdefault_xsgetn): Likewise.
15478         (_IO_wdoallocbuf): Likewise.
15479         (_IO_wdefault_doallocate): Likewise.
15480         (_IO_switch_to_wget_mode): Likewise.
15481         (_IO_free_wbackup_area): Likewise.
15482         (_IO_switch_to_wput_mode): Likewise.
15483         (_IO_sputbackwc): Likewise.
15484         (_IO_sungetwc): Likewise.
15485         (_IO_adjust_wcolumn): Likewise.
15486         (_IO_init_wmarker): Likewise.
15487         (_IO_wmarker_delta): Likewise.
15488         (_IO_seekwmark): Likewise.
15489         (_IO_unsave_wmarkers): Likewise.
15490         * libio/wmemstream.c (open_wmemstream): Likewise.
15491         (_IO_wmem_sync): Likewise.
15492         (_IO_wmem_finish): Likewise.
15493         * locale/nl_langinfo.c (nl_langinfo): Likewise.
15494         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
15495         * locale/programs/simple-hash.c (init_hash): Likewise.
15496         (delete_hash): Likewise.
15497         (insert_entry): Likewise.
15498         (set_entry): Likewise.
15499         (next_prime): Likewise.
15500         (is_prime): Likewise.
15501         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
15502         (xmalloc): Likewise.
15503         (xrealloc): Likewise.
15504         * locale/programs/xstrdup.c (xstrdup): Likewise.
15505         * localedata/collate-test.c (xstrcoll): Likewise.
15506         * localedata/xfrm-test.c (xstrcmp): Likewise.
15507         * login/getlogin_r.c (__getlogin_r): Likewise.
15508         * login/getpt.c (__posix_openpt): Likewise.
15509         * login/login_tty.c (login_tty): Likewise.
15510         * login/setlogin.c (setlogin): Likewise.
15511         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
15512         (mach_msg_destroy_port): Likewise.
15513         (mach_msg_destroy_memory): Likewise.
15514         * malloc/mcheck.c (flood): Likewise.
15515         * misc/acct.c (acct): Likewise.
15516         * misc/brk.c (__brk): Likewise.
15517         * misc/chflags.c (chflags): Likewise.
15518         * misc/chroot.c (chroot): Likewise.
15519         * misc/fchflags.c (fchflags): Likewise.
15520         * misc/fstab.c (getfsspec): Likewise.
15521         (getfsfile): Likewise.
15522         * misc/fsync.c (fsync): Likewise.
15523         * misc/ftruncate.c (__ftruncate): Likewise.
15524         * misc/ftruncate64.c (__ftruncate64): Likewise.
15525         * misc/getdomain.c (getdomainname): Likewise.
15526         (getdomainname): Likewise.
15527         * misc/gethostname.c (__gethostname): Likewise.
15528         * misc/getpass.c (getpass): Likewise.
15529         * misc/getttyent.c (skip): Likewise.
15530         (value): Likewise.
15531         * misc/gtty.c (gtty): Likewise.
15532         * misc/hsearch.c (hsearch): Likewise.
15533         (hcreate): Likewise.
15534         * misc/hsearch_r.c (__hcreate_r): Likewise.
15535         (__hdestroy_r): Likewise.
15536         * misc/ioctl.c (__ioctl): Likewise.
15537         * misc/mkdtemp.c (mkdtemp): Likewise.
15538         * misc/mkostemp.c (mkostemp): Likewise.
15539         * misc/mkostemp64.c (mkostemp64): Likewise.
15540         * misc/mkostemps.c (mkostemps): Likewise.
15541         * misc/mkostemps64.c (mkostemps64): Likewise.
15542         * misc/mkstemp.c (mkstemp): Likewise.
15543         * misc/mkstemp64.c (mkstemp64): Likewise.
15544         * misc/mkstemps.c (mkstemps): Likewise.
15545         * misc/mkstemps64.c (mkstemps64): Likewise.
15546         * misc/mktemp.c (__mktemp): Likewise.
15547         * misc/preadv.c (preadv): Likewise.
15548         * misc/preadv64.c (preadv64): Likewise.
15549         * misc/pwritev.c (pwritev): Likewise.
15550         * misc/pwritev64.c (pwritev64): Likewise.
15551         * misc/readv.c (__readv): Likewise.
15552         * misc/revoke.c (revoke): Likewise.
15553         * misc/setdomain.c (setdomainname): Likewise.
15554         * misc/setegid.c (setegid): Likewise.
15555         * misc/seteuid.c (seteuid): Likewise.
15556         * misc/sethostid.c (sethostid): Likewise.
15557         * misc/sethostname.c (sethostname): Likewise.
15558         * misc/setregid.c (__setregid): Likewise.
15559         * misc/setreuid.c (__setreuid): Likewise.
15560         * misc/sstk.c (sstk): Likewise.
15561         * misc/stty.c (stty): Likewise.
15562         * misc/syscall.c (syscall): Likewise.
15563         * misc/syslog.c (setlogmask): Likewise.
15564         * misc/truncate.c (__truncate): Likewise.
15565         * misc/truncate64.c (truncate64): Likewise.
15566         * misc/ualarm.c (ualarm): Likewise.
15567         * misc/usleep.c (usleep): Likewise.
15568         * misc/ustat.c (ustat): Likewise.
15569         * misc/writev.c (__writev): Likewise.
15570         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
15571         * nptl/old_pthread_cond_broadcast.c
15572         (__pthread_cond_broadcast_2_0): Likewise.
15573         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
15574         Likewise.
15575         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
15576         Likewise.
15577         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
15578         Likewise.
15579         * nptl/pt-raise.c (raise): Likewise.
15580         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
15581         Likewise.
15582         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
15583         * nptl/pthread_barrierattr_destroy.c
15584         (pthread_barrierattr_destroy): Likewise.
15585         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
15586         Likewise.
15587         * nptl/pthread_barrierattr_setpshared.c
15588         (pthread_barrierattr_setpshared): Likewise.
15589         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
15590         Likewise.
15591         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
15592         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
15593         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
15594         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
15595         Likewise.
15596         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
15597         Likewise.
15598         * nptl/pthread_condattr_getpshared.c
15599         (pthread_condattr_getpshared): Likewise.
15600         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
15601         Likewise.
15602         * nptl/pthread_condattr_setpshared.c
15603         (pthread_condattr_setpshared): Likewise.
15604         * nptl/pthread_detach.c (pthread_detach): Likewise.
15605         * nptl/pthread_equal.c (__pthread_equal): Likewise.
15606         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
15607         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
15608         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
15609         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
15610         Likewise.
15611         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
15612         Likewise.
15613         * nptl/pthread_mutex_getprioceiling.c
15614         (pthread_mutex_getprioceiling): Likewise.
15615         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
15616         Likewise.
15617         * nptl/pthread_mutexattr_getprotocol.c
15618         (pthread_mutexattr_getprotocol): Likewise.
15619         * nptl/pthread_mutexattr_getpshared.c
15620         (pthread_mutexattr_getpshared): Likewise.
15621         * nptl/pthread_mutexattr_getrobust.c
15622         (pthread_mutexattr_getrobust): Likewise.
15623         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
15624         Likewise.
15625         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
15626         Likewise.
15627         * nptl/pthread_mutexattr_setprioceiling.c
15628         (pthread_mutexattr_setprioceiling): Likewise.
15629         * nptl/pthread_mutexattr_setprotocol.c
15630         (pthread_mutexattr_setprotocol): Likewise.
15631         * nptl/pthread_mutexattr_setpshared.c
15632         (pthread_mutexattr_setpshared): Likewise.
15633         * nptl/pthread_mutexattr_setrobust.c
15634         (pthread_mutexattr_setrobust): Likewise.
15635         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
15636         Likewise.
15637         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
15638         Likewise.
15639         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
15640         Likewise.
15641         * nptl/pthread_rwlockattr_getkind_np.c
15642         (pthread_rwlockattr_getkind_np): Likewise.
15643         * nptl/pthread_rwlockattr_getpshared.c
15644         (pthread_rwlockattr_getpshared): Likewise.
15645         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
15646         Likewise.
15647         * nptl/pthread_rwlockattr_setkind_np.c
15648         (pthread_rwlockattr_setkind_np): Likewise.
15649         * nptl/pthread_rwlockattr_setpshared.c
15650         (pthread_rwlockattr_setpshared): Likewise.
15651         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
15652         Likewise.
15653         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
15654         Likewise.
15655         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
15656         Likewise.
15657         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
15658         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
15659         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
15660         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
15661         * nptl/sem_close.c (sem_close): Likewise.
15662         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
15663         * nptl/sem_init.c (__old_sem_init): Likewise.
15664         * nptl/sigaction.c (__sigaction): Likewise.
15665         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
15666         * posix/_exit.c (_exit): Likewise.
15667         * posix/alarm.c (alarm): Likewise.
15668         * posix/confstr.c (confstr): Likewise.
15669         * posix/fpathconf.c (__fpathconf): Likewise.
15670         * posix/getgroups.c (__getgroups): Likewise.
15671         * posix/getpgid.c (__getpgid): Likewise.
15672         * posix/group_member.c (__group_member): Likewise.
15673         * posix/pathconf.c (__pathconf): Likewise.
15674         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
15675         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
15676         * posix/setgid.c (__setgid): Likewise.
15677         * posix/setpgid.c (__setpgid): Likewise.
15678         * posix/setuid.c (__setuid): Likewise.
15679         * posix/sleep.c (__sleep): Likewise.
15680         * posix/sysconf.c (__sysconf): Likewise.
15681         * posix/times.c (__times): Likewise.
15682         * posix/uname.c (__uname): Likewise.
15683         * posix/waitid.c (__waitid): Likewise.
15684         * pwd/getpw.c (__getpw): Likewise.
15685         * resolv/base64.c (b64_pton): Likewise.
15686         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
15687         * resolv/gethnamaddr.c (Dprintf): Likewise.
15688         (gethostbyname): Likewise.
15689         (gethostbyname2): Likewise.
15690         (gethostbyaddr): Likewise.
15691         (_sethtent): Likewise.
15692         (_gethtbyname): Likewise.
15693         (_gethtbyname2): Likewise.
15694         (_gethtbyaddr): Likewise.
15695         (map_v4v6_address): Likewise.
15696         (map_v4v6_hostent): Likewise.
15697         (addrsort): Likewise.
15698         (ht_sethostent): Likewise.
15699         (ht_gethostbyname): Likewise.
15700         (ht_gethostbyaddr): Likewise.
15701         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
15702         (inet_net_ntop_ipv4): Likewise.
15703         * resolv/inet_neta.c (inet_neta): Likewise.
15704         * resolv/inet_ntop.c (inet_ntop): Likewise.
15705         (inet_ntop4): Likewise.
15706         (inet_ntop6): Likewise.
15707         * resolv/inet_pton.c (__inet_pton): Likewise.
15708         (inet_pton4): Likewise.
15709         (inet_pton6): Likewise.
15710         * resolv/res_debug.c (loc_aton): Likewise.
15711         (loc_ntoa): Likewise.
15712         * resource/getpriority.c (__getpriority): Likewise.
15713         * resource/getrusage.c (__getrusage): Likewise.
15714         * resource/nice.c (nice): Likewise.
15715         * resource/setpriority.c (__setpriority): Likewise.
15716         * resource/setrlimit64.c (setrlimit64): Likewise.
15717         * resource/vlimit.c (vlimit): Likewise.
15718         * resource/vtimes.c (vtimes): Likewise.
15719         * rt/aio_error.c (aio_error): Likewise.
15720         * rt/aio_return.c (aio_return): Likewise.
15721         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
15722         * signal/kill.c (__kill): Likewise.
15723         * signal/killpg.c (killpg): Likewise.
15724         * signal/raise.c (raise): Likewise.
15725         * signal/sigaction.c (__sigaction): Likewise.
15726         * signal/sigaddset.c (sigaddset): Likewise.
15727         * signal/sigaltstack.c (sigaltstack): Likewise.
15728         * signal/sigandset.c (sigandset): Likewise.
15729         * signal/sigblock.c (__sigblock): Likewise.
15730         * signal/sigdelset.c (sigdelset): Likewise.
15731         * signal/sigempty.c (sigemptyset): Likewise.
15732         * signal/sigfillset.c (sigfillset): Likewise.
15733         * signal/sighold.c (sighold): Likewise.
15734         * signal/sigignore.c (sigignore): Likewise.
15735         * signal/sigintr.c (siginterrupt): Likewise.
15736         * signal/sigisempty.c (sigisemptyset): Likewise.
15737         * signal/sigismem.c (sigismember): Likewise.
15738         * signal/signal.c (signal): Likewise.
15739         * signal/sigorset.c (sigorset): Likewise.
15740         * signal/sigpause.c (__sigpause): Likewise.
15741         * signal/sigpending.c (sigpending): Likewise.
15742         * signal/sigprocmask.c (__sigprocmask): Likewise.
15743         * signal/sigrelse.c (sigrelse): Likewise.
15744         * signal/sigreturn.c (__sigreturn): Likewise.
15745         * signal/sigset.c (sigset): Likewise.
15746         * signal/sigsetmask.c (__sigsetmask): Likewise.
15747         * signal/sigstack.c (sigstack): Likewise.
15748         * signal/sigsuspend.c (__sigsuspend): Likewise.
15749         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
15750         * signal/sysv_signal.c (__sysv_signal): Likewise.
15751         * socket/accept.c (accept): Likewise.
15752         * socket/accept4.c (__libc_accept4): Likewise.
15753         * socket/bind.c (__bind): Likewise.
15754         * socket/connect.c (__connect): Likewise.
15755         * socket/getpeername.c (getpeername): Likewise.
15756         * socket/getsockname.c (__getsockname): Likewise.
15757         * socket/getsockopt.c (getsockopt): Likewise.
15758         * socket/listen.c (__listen): Likewise.
15759         * socket/recv.c (__recv): Likewise.
15760         * socket/recvmsg.c (__recvmsg): Likewise.
15761         * socket/send.c (__send): Likewise.
15762         * socket/sendmsg.c (__sendmsg): Likewise.
15763         * socket/shutdown.c (shutdown): Likewise.
15764         * socket/sockatmark.c (sockatmark): Likewise.
15765         * socket/socket.c (__socket): Likewise.
15766         * stdio-common/ctermid.c (ctermid): Likewise.
15767         * stdio-common/cuserid.c (cuserid): Likewise.
15768         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
15769         * stdio-common/remove.c (remove): Likewise.
15770         * stdio-common/rename.c (rename): Likewise.
15771         * stdio-common/renameat.c (renameat): Likewise.
15772         * stdio-common/tempname.c (__gen_tempname): Likewise.
15773         * stdio-common/xbug.c (InitBuffer): Likewise.
15774         (AppendToBuffer): Likewise.
15775         (ReadFile): Likewise.
15776         * stdlib/a64l.c (a64l): Likewise.
15777         * stdlib/drand48_r.c (drand48_r): Likewise.
15778         * stdlib/getcontext.c (getcontext): Likewise.
15779         * stdlib/getenv.c (getenv): Likewise.
15780         * stdlib/l64a.c (l64a): Likewise.
15781         * stdlib/llabs.c (llabs): Likewise.
15782         * stdlib/lldiv.c (lldiv): Likewise.
15783         * stdlib/lrand48_r.c (lrand48_r): Likewise.
15784         * stdlib/mrand48_r.c (mrand48_r): Likewise.
15785         * stdlib/putenv.c (putenv): Likewise.
15786         * stdlib/random.c (__srandom): Likewise.
15787         (__initstate): Likewise.
15788         (__setstate): Likewise.
15789         * stdlib/random_r.c (__srandom_r): Likewise.
15790         (__setstate_r): Likewise.
15791         (__random_r): Likewise.
15792         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
15793         * stdlib/setcontext.c (setcontext): Likewise.
15794         * stdlib/setenv.c (setenv): Likewise.
15795         (unsetenv): Likewise.
15796         * stdlib/srand48.c (srand48): Likewise.
15797         * stdlib/srand48_r.c (__srand48_r): Likewise.
15798         * stdlib/swapcontext.c (swapcontext): Likewise.
15799         * stdlib/system.c (__libc_system): Likewise.
15800         * stdlib/tst-strtod.c (expand): Likewise.
15801         * stdlib/tst-strtol.c (expand): Likewise.
15802         * stdlib/tst-strtoll.c (expand): Likewise.
15803         * streams/fattach.c (fattach): Likewise.
15804         * streams/fdetach.c (fdetach): Likewise.
15805         * streams/getmsg.c (getmsg): Likewise.
15806         * streams/isastream.c (isastream): Likewise.
15807         * string/ffs.c (__ffs): Likewise.
15808         * string/ffsll.c (ffsll): Likewise.
15809         * string/memcmp.c (memcmp_common_alignment): Likewise.
15810         (memcmp_not_common_alignment): Likewise.
15811         (MEMCMP): Likewise.
15812         * string/memcpy.c (memcpy): Likewise.
15813         * string/memmove.c (MEMMOVE): Likewise.
15814         * string/memset.c (memset): Likewise.
15815         * string/rawmemchr.c (RAWMEMCHR): Likewise.
15816         * string/strchrnul.c (STRCHRNUL): Likewise.
15817         * string/strerror.c (strerror): Likewise.
15818         * string/strndup.c (__strndup): Likewise.
15819         * string/strverscmp.c (__strverscmp): Likewise.
15820         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
15821         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
15822         (clnttcp_freeres): Likewise.
15823         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
15824         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
15825         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
15826         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
15827         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
15828         (xdr_callhdr): Likewise.
15829         * sunrpc/rpcinfo.c (udpping): Likewise.
15830         (tcpping): Likewise.
15831         (pstatus): Likewise.
15832         (pmapdump): Likewise.
15833         (brdcst): Likewise.
15834         (deletereg): Likewise.
15835         (getprognum): Likewise.
15836         (getvers): Likewise.
15837         (get_inet_address): Likewise.
15838         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
15839         * sunrpc/svc_udp.c (svcudp_create): Likewise.
15840         (svcudp_stat): Likewise.
15841         (svcudp_recv): Likewise.
15842         (svcudp_reply): Likewise.
15843         (svcudp_getargs): Likewise.
15844         (svcudp_freeargs): Likewise.
15845         (svcudp_destroy): Likewise.
15846         * sunrpc/xdr.c (xdr_bytes): Likewise.
15847         (xdr_netobj): Likewise.
15848         (xdr_string): Likewise.
15849         (xdr_wrapstring): Likewise.
15850         * sunrpc/xdr_float.c (xdr_float): Likewise.
15851         (xdr_double): Likewise.
15852         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
15853         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
15854         * sysvipc/ftok.c (ftok): Likewise.
15855         * sysvipc/msgctl.c (msgctl): Likewise.
15856         * sysvipc/msgget.c (msgget): Likewise.
15857         * sysvipc/msgrcv.c (msgrcv): Likewise.
15858         * sysvipc/msgsnd.c (msgsnd): Likewise.
15859         * sysvipc/semget.c (semget): Likewise.
15860         * sysvipc/semop.c (semop): Likewise.
15861         * sysvipc/shmat.c (shmat): Likewise.
15862         * sysvipc/shmctl.c (shmctl): Likewise.
15863         * sysvipc/shmdt.c (shmdt): Likewise.
15864         * sysvipc/shmget.c (shmget): Likewise.
15865         * termios/cfmakeraw.c (cfmakeraw): Likewise.
15866         * termios/speed.c (cfgetospeed): Likewise.
15867         (cfgetispeed): Likewise.
15868         (cfsetospeed): Likewise.
15869         (cfsetispeed): Likewise.
15870         * termios/tcflow.c (tcflow): Likewise.
15871         * termios/tcflush.c (tcflush): Likewise.
15872         * termios/tcgetattr.c (__tcgetattr): Likewise.
15873         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
15874         * termios/tcgetsid.c (tcgetsid): Likewise.
15875         * termios/tcsendbrk.c (tcsendbreak): Likewise.
15876         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
15877         * time/adjtime.c (__adjtime): Likewise.
15878         * time/dysize.c (dysize): Likewise.
15879         * time/ftime.c (ftime): Likewise.
15880         * time/getitimer.c (__getitimer): Likewise.
15881         * time/gettimeofday.c (__gettimeofday): Likewise.
15882         * time/gmtime.c (__gmtime_r): Likewise.
15883         (gmtime): Likewise.
15884         * time/localtime.c (__localtime_r): Likewise.
15885         (localtime): Likewise.
15886         * time/offtime.c (__offtime): Likewise.
15887         * time/settimeofday.c (__settimeofday): Likewise.
15888         * time/stime.c (stime): Likewise.
15889         * time/strftime_l.c (tm_diff): Likewise.
15890         (iso_week_days): Likewise.
15891         * time/strptime.c (strptime): Likewise.
15892         * time/time.c (time): Likewise.
15893         * time/timespec_get.c (timespec_get): Likewise.
15894         * time/tzset.c (tzset_internal): Likewise.
15895         (compute_change): Likewise.
15896         (__tz_compute): Likewise.
15897         * wcsmbs/btowc.c (__btowc): Likewise.
15898         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
15899         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
15900         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
15901         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
15902         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
15903         * wcsmbs/wcscat.c (__wcscat): Likewise.
15904         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
15905         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
15906         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
15907         * wcsmbs/wcscspn.c (wcscspn): Likewise.
15908         * wcsmbs/wcsdup.c (wcsdup): Likewise.
15909         * wcsmbs/wcslen.c (__wcslen): Likewise.
15910         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
15911         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
15912         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
15913         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
15914         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
15915         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
15916         * wcsmbs/wcsspn.c (wcsspn): Likewise.
15917         * wcsmbs/wcsstr.c (wcsstr): Likewise.
15918         * wcsmbs/wcstok.c (wcstok): Likewise.
15919         * wcsmbs/wctob.c (wctob): Likewise.
15920         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
15921         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15922         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
15923         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
15924         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
15925         * wcsmbs/wmemset.c (__wmemset): Likewise.
15926         * wctype/wcfuncs.c (__towlower): Likewise.
15927         (__towupper): Likewise.
15929         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
15930         (lll_unlock_elision): Add adapt_count parameter.
15932 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
15934         * sysdeps/nptl/configure.ac: Do not give errors based on the
15935         results of top-level configure tests.
15936         * sysdeps/nptl/configure: Regenerated.
15938         * configure.ac (libc_cv_Bgroup): Remove configure test.
15939         * configure: Regenerated.
15940         * config.make.in (have-Bgroup): Remove variable.
15942         * configure.ac (sizeof_long_double): Remove configure test.
15943         * configure: Regenerated.
15944         * config.make.in (sizeof-long-double): Remove variable.
15946         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
15947         * configure: Regenerated.
15948         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
15949         variable.
15950         (exceptions): Likewise.
15951         * sysdeps/arm/configure: Regenerated.
15952         * config.make.in (exceptions): Remove variable.
15953         * Makeconfig (uses-callbacks): Use -fexceptions instead of
15954         $(exceptions).
15955         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
15956         (CFLAGS-vdprintf_chk.c): Likewise.
15957         (CFLAGS-printf_chk.c): Likewise.
15958         (CFLAGS-fprintf_chk.c): Likewise.
15959         (CFLAGS-vprintf_chk.c): Likewise.
15960         (CFLAGS-vfprintf_chk.c): Likewise.
15961         (CFLAGS-gets_chk.c): Likewise.
15962         (CFLAGS-fgets_chk.c): Likewise.
15963         (CFLAGS-fgets_u_chk.c): Likewise.
15964         (CFLAGS-fread_chk.c): Likewise.
15965         (CFLAGS-fread_u_chk.c): Likewise.
15966         (CFLAGS-wprintf_chk.c): Likewise.
15967         (CFLAGS-fwprintf_chk.c): Likewise.
15968         (CFLAGS-vwprintf_chk.c): Likewise.
15969         (CFLAGS-vfwprintf_chk.c): Likewise.
15970         (CFLAGS-fgetws_chk.c): Likewise.
15971         (CFLAGS-fgetws_u_chk.c): Likewise.
15972         * libio/Makefile (CFLAGS-fileops.c): Likewise.
15973         (CFLAGS-fputc.c): Likewise.
15974         (CFLAGS-fputwc.c): Likewise.
15975         (CFLAGS-freopen64.c): Likewise.
15976         (CFLAGS-freopen.c): Likewise.
15977         (CFLAGS-fseek.c): Likewise.
15978         (CFLAGS-fseeko64.c): Likewise.
15979         (CFLAGS-fseeko.c): Likewise.
15980         (CFLAGS-ftello64.c): Likewise.
15981         (CFLAGS-ftello.c): Likewise.
15982         (CFLAGS-fwide.c): Likewise.
15983         (CFLAGS-genops.c): Likewise.
15984         (CFLAGS-getc.c): Likewise.
15985         (CFLAGS-getchar.c): Likewise.
15986         (CFLAGS-getwc.c): Likewise.
15987         (CFLAGS-getwchar.c): Likewise.
15988         (CFLAGS-iofclose.c): Likewise.
15989         (CFLAGS-iofflush.c): Likewise.
15990         (CFLAGS-iofgetpos64.c): Likewise.
15991         (CFLAGS-iofgetpos.c): Likewise.
15992         (CFLAGS-iofgets.c): Likewise.
15993         (CFLAGS-iofgetws.c): Likewise.
15994         (CFLAGS-iofputs.c): Likewise.
15995         (CFLAGS-iofputws.c): Likewise.
15996         (CFLAGS-iofread.c): Likewise.
15997         (CFLAGS-iofsetpos64.c): Likewise.
15998         (CFLAGS-iofsetpos.c): Likewise.
15999         (CFLAGS-ioftell.c): Likewise.
16000         (CFLAGS-iofwrite.c): Likewise.
16001         (CFLAGS-iogetdelim.c): Likewise.
16002         (CFLAGS-iogetline.c): Likewise.
16003         (CFLAGS-iogets.c): Likewise.
16004         (CFLAGS-iogetwline.c): Likewise.
16005         (CFLAGS-ioputs.c): Likewise.
16006         (CFLAGS-ioseekoff.c): Likewise.
16007         (CFLAGS-ioseekpos.c): Likewise.
16008         (CFLAGS-iosetbuffer.c): Likewise.
16009         (CFLAGS-iosetvbuf.c): Likewise.
16010         (CFLAGS-ioungetc.c): Likewise.
16011         (CFLAGS-ioungetwc.c): Likewise.
16012         (CFLAGS-oldfileops.c): Likewise.
16013         (CFLAGS-oldiofclose.c): Likewise.
16014         (CFLAGS-oldiofgetpos64.c): Likewise.
16015         (CFLAGS-oldiofgetpos.c): Likewise.
16016         (CFLAGS-oldiofsetpos64.c): Likewise.
16017         (CFLAGS-oldiofsetpos.c): Likewise.
16018         (CFLAGS-peekc.c): Likewise.
16019         (CFLAGS-putc.c): Likewise.
16020         (CFLAGS-putchar.c): Likewise.
16021         (CFLAGS-putwc.c): Likewise.
16022         (CFLAGS-putwchar.c): Likewise.
16023         (CFLAGS-rewind.c): Likewise.
16024         (CFLAGS-wfileops.c): Likewise.
16025         (CFLAGS-wgenops.c): Likewise.
16026         (CFLAGS-oldiofopen.c): Likewise.
16027         (CFLAGS-iofopen.c): Likewise.
16028         (CFLAGS-iofopen64.c): Likewise.
16029         (CFLAGS-oldtmpfile.c): Likewise.
16030         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
16031         (CFLAGS-fprintf.c): Likewise.
16032         (CFLAGS-printf.c): Likewise.
16033         (CFLAGS-vfwprintf.c): Likewise.
16034         (CFLAGS-vfscanf.c): Likewise.
16035         (CFLAGS-vfwscanf.c): Likewise.
16036         (CFLAGS-fscanf.c): Likewise.
16037         (CFLAGS-scanf.c): Likewise.
16038         (CFLAGS-isoc99_vfscanf.c): Likewise.
16039         (CFLAGS-isoc99_vscanf.c): Likewise.
16040         (CFLAGS-isoc99_fscanf.c): Likewise.
16041         (CFLAGS-isoc99_scanf.c): Likewise.
16042         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
16043         (CFLAGS-isoc99_fwscanf.c): Likewise.
16044         (CFLAGS-isoc99_vwscanf.c): Likewise.
16045         (CFLAGS-isoc99_vfwscanf.c): Likewise.
16047         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
16048         after mkstemp64.
16049         * login/tst-utmp.c (do_prepare): Likewise.
16050         * rt/tst-aio.c (do_prepare): Likewise.
16051         * rt/tst-aio64.c (do_prepare): Likewise.
16053 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16055         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
16056         (__lll_lock_elision): Remove adapt_count decrement...
16057         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
16058         (__lll_trylock_elision): Likewise.
16059         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
16060         (__lll_unlock_elision): ... to here. And utilize
16061         new adapt_count parameter.
16062         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
16063         (__lll_unlock_elision): Update to include adapt_count
16064         parameter.
16065         (lll_unlock_elision): Pass pointer to adapt_count
16066         variable.
16068 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16070         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
16071         Add elision adapt_count parameter to list of arguments.
16072         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
16073         (lll_unlock_elision): Update with new parameter list
16074         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
16075         (lll_unlock_elision): Likewise.
16076         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
16077         (lll_unlock_elision): Likewise.
16079 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
16081         [BZ #19122]
16082         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
16083         attribute_hidden.
16085         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
16086         attribute_hidden.
16087         [IS_IN (rtld)] (__strdup): Likewise.
16088         [IS_IN (rtld)] (__strerror_r): Likewise.
16089         [IS_IN (rtld)] (__strsep_g): Likewise.
16090         [IS_IN (rtld)] (memchr): Likewise.
16091         [IS_IN (rtld)] (memcmp): Likewise.
16092         [IS_IN (rtld)] (memcpy): Likewise.
16093         [IS_IN (rtld)] (memmove): Likewise.
16094         [IS_IN (rtld)] (memset): Likewise.
16095         [IS_IN (rtld)] (rawmemchr): Likewise.
16096         [IS_IN (rtld)] (stpcpy): Likewise.
16097         [IS_IN (rtld)] (strchr): Likewise.
16098         [IS_IN (rtld)] (strcmp): Likewise.
16099         [IS_IN (rtld)] (strlen): Likewise.
16100         [IS_IN (rtld)] (strnlen): Likewise.
16101         [IS_IN (rtld)] (strsep): Likewise.
16103         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
16104         attribute_hidden.
16105         [IS_IN (rtld)] (__strtoul_internal): Likewise.
16107         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
16108         attribute_hidden.
16109         [IS_IN (rtld)] (__libc_sigaction): Likewise.
16111         * include/setjmp.h (__longjmp): Add attribute_hidden.
16112         [IS_IN (rtld)] (__sigsetjmp): Likewise.
16114         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
16115         Add attribute_hidden.
16117         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
16118         [IS_IN (rtld)] (__open): Likewise.
16119         [IS_IN (rtld)] (__fcntl): Likewise.
16121         * include/dirent.h (__opendirat): Add attribute_hidden.
16122         (__getdents): Likewise.
16123         (__getdents64): Likewise.
16124         (__alloc_dir): Likewise.
16125         [IS_IN (rtld)] (__closedir): Likewise.
16126         [IS_IN (rtld)] (__fdopendir): Likewise.
16127         [IS_IN (rtld)] (__readdir): Likewise.
16128         [IS_IN (rtld)] (__readdir64): Likewise.
16129         [IS_IN (rtld)] (__rewinddir): Likewise.
16131         * include/dlfcn.h (_dl_catch_error): Moved to ...
16132         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
16133         attribute_hidden.
16135         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
16136         (_itoa_word): Likewise.
16138         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
16139         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
16140         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
16141         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
16142         (_dl_higher_prime_number): Likewise.
16143         (_dl_debug_printf_c): Likewise.
16144         (_dl_signal_cerror): Likewise.
16145         (_dl_receive_error): Likewise.
16146         (_dl_reloc_bad_type): Likewise.
16147         (_dl_resolve_conflicts): Likewise.
16148         (_dl_check_all_versions): Likewise.
16149         (_dl_check_map_versions): Likewise.
16150         (_dl_sort_fini): Likewise.
16151         (_dl_debug_initialize): Likewise.
16152         (_dl_init_paths): Likewise.
16153         (_dl_show_auxv): Likewise.
16154         (_dl_next_ld_env_entry): Likewise.
16155         (_dl_important_hwcaps): Likewise.
16156         (_dl_load_cache_lookup): Likewise.
16157         (_dl_update_slotinfo): Likewise.
16158         (_dl_show_scope): Likewise.
16160         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
16161         attribute_hidden.
16162         (_wordcopy_fwd_dest_aligned): Likewise.
16163         (_wordcopy_bwd_aligned): Likewise.
16164         (_wordcopy_bwd_dest_aligned): Likewise.
16166         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
16167         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
16168         Likewise.
16169         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
16170         Likewise.
16171         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
16173 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
16175         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
16176         GCC 5 requirement.
16178 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
16180         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
16181         test.
16182         * sysdeps/i386/configure: Regenerated.
16183         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
16184         code unconditional.
16186         * configure.ac (libc_cv_asm_previous_directive): Remove configure
16187         test.
16188         (libc_cv_asm_popsection_directive): Likewise.
16189         * configure: Regenerated.
16190         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
16191         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
16192         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
16193         (__make_section_unallocated): Make definition unconditional.
16194         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
16195         Remove conditional definition.
16196         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
16197         (__make_section_unallocated): Likewise.
16199         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
16200         * configure: Regenerated.
16201         * config.make.in (static-libgcc): Remove variable.
16202         * Makerules (build-shlib-helper): Use -static-libgcc instead of
16203         $(static-libgcc).
16204         (build-module-helper): Likewise.
16206         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
16207         * configure: Regenerated.
16209 2015-10-15  Florian Weimer  <fweimer@redhat.com>
16211         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
16212         (struct char_buffer): New type.
16213         (char_buffer_start, char_buffer_size, char_buffer_error)
16214         (char_buffer_rewind, char_buffer_add): New functions.
16215         (ADDW): Remove macro, replaced by the char_buffer_add function.
16216         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
16217         of extend_alloca.  Make control flow more explicit.
16219 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
16221         [BZ #19137]
16222         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
16223         Add -fomit-frame-pointer.
16224         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
16226 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
16228         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
16229         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
16230         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
16231         only if !__GNUC_PREREQ (5,0).
16232         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
16233         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
16234         (INTERNAL_SYSCALL_NCS): Likewise.
16235         (LOADREGS_0): New macro for GCC 5.
16236         (ASMARGS_0): Likewise.
16237         (LOADREGS_1): Likewise.
16238         (ASMARGS_1): Likewise.
16239         (LOADREGS_2): Likewise.
16240         (ASMARGS_2): Likewise.
16241         (LOADREGS_3): Likewise.
16242         (ASMARGS_3): Likewise.
16243         (LOADREGS_4): Likewise.
16244         (ASMARGS_4): Likewise.
16245         (LOADREGS_5): Likewise.
16246         (ASMARGS_5): Likewise.
16247         (LOADREGS_6): Likewise.
16248         (ASMARGS_6): Likewise.
16250 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
16252         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
16253         -fomit-frame-pointer.
16254         (CFLAGS-mmap64.c): Likewise.
16255         (CFLAGS-semtimedop.c): Likewise.
16256         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
16257         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
16258         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16259         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
16261 2015-10-15  Florian Weimer  <fweimer@redhat.com>
16263         [BZ #18928]
16264         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
16265         _dl_pointer_guard member.
16266         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
16267         initializer.
16268         (security_init): Always set up pointer guard.
16269         (process_envvars): Do not process LD_POINTER_GUARD.
16271 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
16273         [BZ #19134]
16274         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
16275         (.LC2): Likewise.
16276         (.LC3): Likewise.
16277         (__lround): Do not add 0.5 to integer or out-of-range arguments.
16279 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16281         [BZ #19129]
16282         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
16283         r0 and r1.
16285 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
16287         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
16289 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
16291         * include/stap-probe.h: Fix macro definition formatting.
16293 2015-10-14  Florian Weimer  <fweimer@redhat.com>
16295         [BZ #19074]
16296         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
16297         load and store num_ifs.
16299 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
16301         [BZ #18822]
16302         * sysdeps/unix/sysv/linux/sched_getaffinity.c
16303         (__sched_getaffinity_new): Add libc_hidden_proto and
16304         libc_hidden_def.
16306 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
16308         [BZ #19007]
16309         * scripts/localplt.awk: Also allow GOT references.
16310         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
16311         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
16312         with "+ REL R_386_GLOB_DAT".
16313         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
16314         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
16316 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
16318         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
16319         INLINE_SYSCALL_ERROR_RETURN_VALUE.
16320         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
16321         Likewise.
16322         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
16323         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
16324         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
16325         INTERNAL_SYSCALLINTERNAL_SYSCALL and
16326         INLINE_SYSCALL_ERROR_RETURN_VALUE.
16327         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
16328         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
16329         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
16330         Likewise.
16331         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
16333 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
16335         [BZ #19125]
16336         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
16337         <math_private.h> and <stdint.h>.
16338         (__llround): Avoid conversions to and from long long int, and
16339         subtractions, where those might raise spurious exceptions.
16340         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
16341         <math_private.h> and <stdint.h>.
16342         (__llroundf): Avoid conversions to and from long long int, and
16343         subtractions, where those might raise spurious exceptions.
16345 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
16347         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
16348         INLINE_SYSCALL_ERROR_RETURN_VALUE.
16349         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
16350         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
16351         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
16352         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
16353         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
16354         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
16355         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
16356         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
16357         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16358         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
16359         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
16360         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
16361         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
16362         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
16363         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
16364         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
16365         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
16366         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
16367         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
16368         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
16369         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
16370         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
16371         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
16372         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
16373         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
16374         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
16375         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
16376         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
16377         (__xstat64_conv): Likewise.
16378         (__xstat32_conv): Likewise.
16380 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
16382         * sysdeps/unix/sysv/linux/sysdep.h: New file.
16383         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
16384         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
16385         <sysdeps/unix/sysv/linux/sysdep.h>.
16386         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
16387         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
16388         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
16389         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
16390         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
16391         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
16392         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
16393         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
16394         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
16395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16397         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16398         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16399         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16400         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
16401         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16402         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
16403         (sysdep-dl-routines): Add sysdep.
16404         [$(subdir) == nptl] (libpthread-routines): Likewise.
16405         [$(subdir) == rt] (librt-routines): Likewise.
16406         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
16407         PIC when branching to SYSCALL_ERROR_LABEL.
16408         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
16409         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
16410         <sysdeps/unix/sysv/linux/sysdep.h>.
16411         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
16412         (SYSCALL_ERROR_ERRNO): Removed.
16413         (SYSCALL_ERROR_HANDLER): Changed to empty.
16414         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
16415         (__syscall_error): New prototype.
16416         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
16417         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
16419 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
16421         [BZ #19124]
16422         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
16423         (_dl_runtime_resolve_avx512): Make it a hidden alias of
16424         _dl_runtime_resolve_avx.
16425         (_dl_runtime_profile_avx512): Make it a hidden alias of
16426         _dl_runtime_profile_avx.
16428 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
16430         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
16431         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
16432         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
16433         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
16435         [BZ #16422]
16436         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
16437         New configure test.
16438         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
16439         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
16440         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
16441         <math_private.h> and <stdint.h>.
16442         (__llrint): Avoid conversions to long long int where those might
16443         raise spurious exceptions.
16444         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
16445         <math_private.h> and <stdint.h>.
16446         (__llrintf): Avoid conversions to long long int where those might
16447         raise spurious exceptions.
16449 2015-10-12  Andreas Schwab  <schwab@suse.de>
16451         [BZ #18969]
16452         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
16453         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
16454         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
16455         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
16456         $(gen-locales).
16457         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
16458         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
16459         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
16460         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
16461         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
16462         $(gen-locales).
16463         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
16464         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
16465         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
16466         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
16467         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
16468         ($(objpfx)tst-ftell-active-handler.out)
16469         ($(objpfx)tst-ftell-append.out)
16470         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
16471         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
16472         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
16473         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
16474         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
16475         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
16476         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
16477         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
16478         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
16479         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
16480         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
16481         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
16482         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
16483         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
16484         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
16485         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
16486         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
16487         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
16488         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
16489         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
16490         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
16491         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
16492         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
16493         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
16494         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
16495         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
16496         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
16497         $(gen-locales).
16498         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
16499         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
16500         $(gen-locales).
16501         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
16502         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
16503         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
16504         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
16505         $(gen-locales).
16506         * libio/tst_wprintf2.c (main): Use explicit locale.
16507         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
16509 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16511         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
16512         __msg_sig_post.
16513         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
16515 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
16517         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
16518         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16520         * sysdeps/arm/libm-test-ulps: Regenerated.
16522         [BZ #15470]
16523         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
16525         [BZ #16399]
16526         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
16527         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
16528         and <fix-fp-int-convert-overflow.h>.
16529         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
16530         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16531         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
16532         and <fix-fp-int-convert-overflow.h>.
16533         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
16534         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16535         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
16536         <fix-fp-int-convert-overflow.h>.
16537         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
16538         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16539         * sysdeps/ieee754/dbl-64/s_lround.c: Include
16540         <fix-fp-int-convert-overflow.h>.
16541         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
16542         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16543         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
16544         and <fix-fp-int-convert-overflow.h>.
16545         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
16546         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16547         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
16548         <limits.h> and <fix-fp-int-convert-overflow.h>.
16549         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
16550         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16551         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
16552         and <fix-fp-int-convert-overflow.h>.
16553         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
16554         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16555         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
16556         and <fix-fp-int-convert-overflow.h>.
16557         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
16558         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16559         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
16561 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
16563         [BZ #18589]
16564         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
16565         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
16566         $(gen-locales).
16568 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16569             Phil Blundell <pb@pbcl.net>
16571         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
16572         * nptl/tst-cancel26.c: New file.
16573         * nptl/tst-cancel27.c: Likewise.
16575 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
16577         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
16578         __ILP32__ isn't defined.
16579         (lrint): Likewise.
16580         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
16581         (lrintf): Likewise.
16582         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
16583         (lrintl): Likewise.
16584         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
16585         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
16586         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
16588 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16590         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
16591         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
16593         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
16594         file.
16595         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
16596         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
16598 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
16600         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
16601         configure test.
16602         * sysdeps/i386/configure: Regenerated.
16603         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
16604         configure test.
16605         * sysdeps/x86_64/configure: Regenerated.
16606         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
16607         Make code unconditional.
16609         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
16610         test.
16611         * sysdeps/i386/configure: Regenerated.
16612         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
16613         test.
16614         * sysdeps/x86_64/configure: Regenerated.
16615         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
16616         Make code unconditional.
16617         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
16618         Likewise.
16619         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
16620         Likewise.
16621         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16622         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
16623         code unconditional.
16624         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16625         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
16626         code unconditional.
16627         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16628         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
16629         code unconditional.
16630         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
16631         code unconditional.
16632         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16633         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
16634         code unconditional.
16635         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16636         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
16637         code unconditional.
16638         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16639         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
16640         code unconditional.
16641         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16642         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
16643         code unconditional.
16644         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16645         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
16647         [BZ #19095]
16648         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
16649         mantissa to long int before shifting left.
16651 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
16653         [BZ #19094]
16654         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
16655         <limits.h>.
16656         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16657         when result overflows but exception would not result from cast.
16658         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
16659         <limits.h>.
16660         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16661         when result overflows but exception would not result from cast.
16662         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
16663         <limits.h>.
16664         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16665         when result overflows but exception would not result from cast.
16666         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
16667         <limits.h>.
16668         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16669         when result overflows but exception would not result from cast.
16670         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
16671         <limits.h>.
16672         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16673         when result overflows but exception would not result from cast.
16674         * math/libm-test.inc (lrint_test_data): Add more tests.
16675         (llrint_test_data): Likewise.
16677 2015-10-08  Roland McGrath  <roland@hack.frob.com>
16679         [BZ #18872]
16680         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
16681         Move out from under [$(run-built-tests) = yes] conditional.
16682         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
16683         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
16685 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
16687         [BZ #18589]
16688         * string/Makefile (tests): Add bug-strcoll2.
16689         (LOCALES): Add cs_CZ.UTF-8.
16690         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
16692         [BZ #18589]
16693         * string/bug-strcoll2.c: New file.
16694         * locale/categories.def: Revert commit
16695         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
16696         * locale/langinfo.h: Likewise.
16697         * locale/localeinfo.h: Likewise.
16698         * locale/C-collate.c: Likewise.
16699         * locale/programs/ld-collate.c (collate_output): Likewise.
16700         * string/strcoll_l.c (STRDIFF): Likewise.
16701         (STRCOLL): Likewise.
16702         * wcsmbs/wcscoll_l.c: Likewise.
16704 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
16706         * math/libm-test.inc (lround_test_data): Do not expect the absence
16707         of "inexact" for some tests with non-integer arguments.
16708         (llround_test_data): Likewise.
16710         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
16711         test.
16712         (libc_cv_cc_sse2avx): Likewise.
16713         * sysdeps/i386/configure: Regenerated.
16714         * sysdeps/i386/i686/multiarch/Makefile
16715         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
16716         [$(subdir) = math].
16717         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
16718         code unconditional.
16719         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
16720         Likewise.
16721         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
16722         Likewise.
16723         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
16724         Likewise.
16725         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
16726         test.
16727         (libc_cv_cc_sse2avx): Likewise.
16728         * sysdeps/x86_64/configure: Regenerated.
16729         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
16730         unconditional.
16731         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
16732         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
16733         unconditional.
16734         (_dl_runtime_profile)
16735         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
16736         conditional code.
16737         * sysdeps/x86_64/fpu/multiarch/Makefile
16738         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
16739         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
16740         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16741         * sysdeps/x86_64/fpu/multiarch/e_exp.c
16742         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16743         * sysdeps/x86_64/fpu/multiarch/e_log.c
16744         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16745         * sysdeps/x86_64/fpu/multiarch/s_atan.c
16746         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16747         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
16748         Likewise.
16749         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
16750         Likewise.
16751         * sysdeps/x86_64/fpu/multiarch/s_sin.c
16752         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16753         * sysdeps/x86_64/fpu/multiarch/s_tan.c
16754         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16755         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
16756         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
16757         (HAVE_SSE2AVX_SUPPORT): Likewise.
16759 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
16761         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
16762         instead of #pragma optimize.
16764 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
16766         [BZ #17195]
16767         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
16768         as is similarly done in systrim and _int_free already.
16770 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16772         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
16774 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
16776         [BZ #19088]
16777         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
16778         <limits.h>.
16779         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
16780         overflows but exception would not result from cast.
16781         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
16782         and <limits.h>.
16783         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
16784         overflows but exception would not result from cast.
16785         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
16786         <limits.h>.
16787         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
16788         overflows but exception would not result from cast.
16789         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
16790         <limits.h>.
16791         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
16792         overflows but exception would not result from cast.
16793         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
16794         <limits.h>.
16795         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
16796         overflows but exception would not result from cast.
16797         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
16798         <limits.h>.
16799         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
16800         overflows but exception would not result from cast.
16801         * math/libm-test.inc (lround_test_data): Add more tests.
16802         (llround_test_data): Likewise.
16804 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
16806         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
16807         (CFLAGS-ialloc.c): Ditto.
16808         (CFLAGS-scheck.c): Ditto.
16810 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
16812         [BZ #19086]
16813         * manual/filesys.texi (Storage Allocation): Fix argument order for
16814         posix_fallocate64.
16816 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
16818         [BZ #19085]
16819         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
16820         exponent below 48 inside case for non-overflowing exponent.
16821         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
16823 2015-10-07  Florian Weimer  <fweimer@redhat.com>
16825         * iconvdata/cp737.h (from_idx): Add const.
16826         * iconvdata/cp775.h (from_idx): Likewise.
16828 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
16830         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
16831         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
16832         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
16834         [BZ #19079]
16835         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
16836         file, conditioned on [!_LP64].
16837         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
16838         [!_LP64] (__lround): Do not define as function or alias.
16839         [!_LP64] (lround): Likewise.
16840         [!_LP64] (__lroundl): Likewise.
16841         [!_LP64] (lroundl): Likewise.
16842         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
16843         macro.
16844         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
16845         Likewise.
16847 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
16849         * math/libm-test.inc (lrint_test_data): Add more tests.
16850         (llrint_test_data): Likewise.
16851         (lround_test_data): Likewise.
16852         (llround_test_data): Likewise.
16854         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
16855         (llrint_test_data): Add tests used for lrint.
16857         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
16858         test.
16859         * sysdeps/i386/configure: Regenerated.
16860         * sysdeps/i386/i686/multiarch/Makefile
16861         [$(config-cflags-sse4) = yes]: Make code unconditional.
16862         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
16863         Likewise.
16864         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
16865         Likewise.
16866         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
16867         test.
16868         * sysdeps/x86_64/configure: Regenerated.
16869         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
16870         Make code unconditional.
16871         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
16872         Likewise.
16873         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
16874         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
16876         * scripts/rpm2dynsym.sh: Remove file.
16878 2015-10-06  Florian Weimer  <fweimer@redhat.com>
16880         * configure.ac (libc_cv_cxx_thread_local): Define.
16881         * configure: Regenerate.
16882         * config.make.in (have-cxx-thread_local): Define.
16883         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
16884         (LDLIBS-tst-thread_local1): Define.
16885         (tests): Add tst-thread_local1.
16886         [have-cxx-thread_local != yes] (tests-unsupported): Add
16887         tst-thread_local1.
16888         * nptl/tst-thread_local1.cc: New file.
16890 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
16892         [BZ #19078]
16893         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
16894         (u_thres): Likewise.
16895         (__expl): Determine whether to call __kernel_standard_l based on
16896         value of result, not argument.
16898         * math/libm-test.inc (scalb_test_data): Add more expectations for
16899         the "inexact" exception.
16901         [BZ #19077]
16902         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
16903         0.0L for argument 1.0L.
16905         [BZ #19076]
16906         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
16907         constant 0.0L when computing infinite result.
16909 2015-10-06  Florian Weimer  <fweimer@redhat.com>
16911         [BZ #10432]
16912         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
16913         malloc_usable_size.
16915 2015-10-06  Florian Weimer  <fweimer@redhat.com>
16917         [BZ #19018]
16918         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
16919         Mangle function pointer before storing it.
16920         (__call_tls_dtors): Demangle function pointer before calling it.
16922 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
16924         [BZ #19012]
16925         * iconv/gconv_db.c (gen_steps): Check for additional errors.
16926         Clean up on failure.
16928 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
16930         [BZ #19071]
16931         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
16932         long int variable to store possibly incremented high part of
16933         mantissa.
16934         * math/libm-test.inc (lround_test_data): Add tests used for
16935         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
16936         for tests requiring 64-bit long.  Do not condition tests on
16937         [TEST_FLOAT] unnecessarily.
16938         (llround_test_data): Add tests used for lround.  Add another
16939         expectation for the "inexact" exception.  Do not condition tests
16940         on [TEST_FLOAT] unnecessarily.
16942         [BZ #887]
16943         [BZ #19049]
16944         [BZ #19050]
16945         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
16946         * sysdeps/ieee754/dbl-64/e_log10.c: Include
16947         <fix-int-fp-convert-zero.h>.
16948         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16949         * sysdeps/ieee754/dbl-64/e_log2.c: Include
16950         <fix-int-fp-convert-zero.h>.
16951         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16952         * sysdeps/ieee754/dbl-64/s_erf.c: Include
16953         <fix-int-fp-convert-zero.h>.
16954         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16955         * sysdeps/ieee754/dbl-64/s_logb.c: Include
16956         <fix-int-fp-convert-zero.h>.
16957         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16958         * sysdeps/ieee754/flt-32/e_log10f.c: Include
16959         <fix-int-fp-convert-zero.h>.
16960         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16961         * sysdeps/ieee754/flt-32/e_log2f.c: Include
16962         <fix-int-fp-convert-zero.h>.
16963         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16964         * sysdeps/ieee754/flt-32/s_erff.c: Include
16965         <fix-int-fp-convert-zero.h>.
16966         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16967         * sysdeps/ieee754/flt-32/s_logbf.c: Include
16968         <fix-int-fp-convert-zero.h>.
16969         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16970         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
16971         <fix-int-fp-convert-zero.h>.
16972         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16973         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
16974         <fix-int-fp-convert-zero.h>.
16975         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16976         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
16977         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
16978         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
16979         file.
16980         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
16982 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
16984         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16986 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
16988         [BZ #19059]
16989         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
16990         overflowing computation.
16991         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
16992         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
16993         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
16994         Likewise.
16995         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
16996         Likewise.
16997         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
16998         Likewise.
16999         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17000         Likewise.
17001         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
17002         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
17003         Likewise.
17004         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
17005         Likewise.
17006         * math/libm-test.inc (nexttoward_test_data): Add more tests.
17008         * nss/rewrite_field.c (__nss_rewrite_field): Use
17009         internal_function.
17010         * nss/valid_field.c (__nss_valid_field): Likewise.
17011         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
17013 2015-10-02  Florian Weimer  <fweimer@redhat.com>
17015         [BZ #18724]
17016         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
17017         (__nss_invalid_field_characters, __nss_valid_field)
17018         (__nss_valid_list_field, __nss_rewrite_field): Declare.
17019         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
17020         tst-field.c: New file.
17021         * nss/Makefile (routines): Add valid_field, rewrite_field.
17022         (tests-static): Define unconditionally.
17023         (tests): Include tests-static.
17024         [build-static-nss] (tests-static): Use append.
17025         [build-static-nss] (tests): Remove modification.
17026         * nss/getent.c (print_group): Call putgrent.  Report error.
17027         (print_gshadow): Call putsgent.  Report error.
17028         (print_passwd): Call putpwent.  Report error.
17029         (print_shadow): Call putspent.  Report error.
17030         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
17031         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
17032         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
17033         name, password, directory, shell fields for valid syntax.  Rewrite
17034         GECOS field to match syntax.
17035         * pwd/Makefile (tests): Add tst-putpwent.
17036         * pwd/tst-putpwent.c: New file.
17037         * grp/putgrent.c (putgrent): Convert to ISO function definition.
17038         Check grName, grpasswd, gr_mem fields for valid syntax.
17039         Change loop variable i to size_t.
17040         * grp/Makefile (tests): Add tst-putgrent.
17041         * grp/tst-putgrent.c: New file.
17042         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
17043         valid syntax.
17044         * shadow/Makefile (tests): Add tst-putspent.
17045         * shadow/tst-putspent.c: New file.
17046         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
17047         sg_mem fields for valid syntax.
17048         * gshadow/Makefile (tests): Add tst-putsgent.
17049         * gshadow/tst-putsgent.c: New file.
17051 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
17053         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
17054         assembly instructions.
17056 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
17058         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
17059         prefix from operands.
17061 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
17063         [BZ #16347]
17064         [BZ #19046]
17065         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
17066         <libc-internal.h>.
17067         (MAXLGM): Do not use diagnostic control macros.
17068         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
17069         threshold for ldbl-128ibm.
17070         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
17071         instead of multiplying by log then subtracting.
17072         * math/auto-libm-test-in: Add more tests of lgamma.
17073         * math/auto-libm-test-out: Regenerated.
17075         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
17076         (TYPE_HEX_DIG): Likewise.
17077         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
17078         precisions when printing floating-point numbers.
17079         (check_float_internal): Likewise.
17081 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
17083         [BZ #16620]
17084         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
17085         of log (10) rounded downward to 48 bits.
17086         (log10_low): Use corresponding low part of log (10).
17088         [BZ #19032]
17089         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
17090         compute result as (x - x) / (x - x) not as 0 / 0.
17091         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
17092         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
17094         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17095         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
17096         and expm1.
17097         * math/auto-libm-test-out: Regenerated.
17098         * math/libm-test.inc (acos_test_data): Add more tests.
17099         (asin_test_data): Likewise.
17100         (asinh_test_data): Likewise.
17101         (atan_test_data): Likewise.
17102         (atanh_test_data): Likewise.
17103         (atan2_test_data): Likewise.
17104         (cbrt_test_data): Likewise.
17105         (ceil_test_data): Likewise.
17106         (copysign_test_data): Likewise.
17107         (cos_test_data): Likewise.
17108         (cosh_test_data): Likewise.
17109         (erf_test_data): Likewise.
17110         (erfc_test_data): Likewise.
17111         (exp_test_data): Likewise.
17112         (exp10_test_data): Likewise.
17113         (exp2_test_data): Likewise.
17114         (expm1_test_data): Likewise.
17115         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17117 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
17119         [BZ #19006]
17120         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
17121         to ...
17122         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
17123         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
17124         to ...
17125         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
17126         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
17127         to ...
17128         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
17129         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
17130         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
17131         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
17132         to ...
17133         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
17134         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
17135         Moved to ...
17136         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
17137         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
17138         Moved to ...
17139         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
17140         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
17141         to ...
17142         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
17143         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
17144         Moved to ...
17145         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
17146         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
17147         to ...
17148         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
17149         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
17150         Removed.
17151         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
17152         Likewise.
17153         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
17154         Likewise.
17155         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
17156         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
17157         Likewise.
17158         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
17159         Likewise.
17160         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
17161         Likewise.
17162         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
17163         Likewise.
17164         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
17165         Likewise.
17166         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
17167         Likewise.
17168         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
17169         Likewise.
17170         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
17171         Likewise.
17172         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
17173         Likewise.
17174         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
17175         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
17176         Likewise.
17177         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
17178         Likewise.
17179         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
17180         Likewise.
17181         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
17182         Likewise.
17183         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
17184         Likewise.
17185         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
17186         Replace ../i486/pthread_cond_timedwait.S with
17187         ../pthread_cond_timedwait.S.
17189 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
17191         * math/libm-test.inc (acos_test_data): Refine expectations for
17192         errno and "inexact" exceptions.
17193         (acosh_test_data): Likewise.
17194         (asin_test_data): Likewise.
17195         (asinh_test_data): Likewise.
17196         (atan_test_data): Likewise.
17197         (atanh_test_data): Likewise.
17198         (atan2_test_data): Likewise.
17199         (cbrt_test_data): Likewise.
17200         (ceil_test_data): Likewise.
17201         (copysign_test_data): Likewise.
17202         (cosh_test_data): Likewise.
17203         (erf_test_data): Likewise.
17204         (erfc_test_data): Likewise.
17205         (exp_test_data): Likewise.
17206         (exp10_test_data): Likewise.
17207         (exp2_test_data): Likewise.
17208         (expm1_test_data): Likewise.
17209         (fabs_test_data): Likewise.
17210         (floor_test_data): Likewise.
17211         (fma_test_data): Likewise.
17212         (fmax_test_data): Likewise.
17213         (fmin_test_data): Likewise.
17214         (fmod_test_data): Likewise.
17215         (fpclassify_test_data): Likewise.
17216         (frexp_test_data): Likewise.
17217         (hypot_test_data): Likewise.
17218         (ilogb_test_data): Likewise.
17219         (isgreater_test_data): Likewise.
17220         (isgreaterequal_test_data): Likewise.
17221         (isinf_test_data): Likewise.
17222         (isless_test_data): Likewise.
17223         (islessequal_test_data): Likewise.
17224         (islessgreater_test_data): Likewise.
17225         (isnan_test_data): Likewise.
17226         (isnormal_test_data): Likewise.
17227         (issignaling_test_data): Likewise.
17228         (isunordered_test_data): Likewise.
17229         (j0_test_data): Likewise.
17230         (j1_test_data): Likewise.
17231         (jn_test_data): Likewise.
17232         (lgamma_test_data): Likewise.
17233         (lrint_test_data): Likewise.
17234         (llrint_test_data): Likewise.
17235         (log_test_data): Likewise.
17236         (log10_test_data): Likewise.
17237         (log1p_test_data): Likewise.
17238         (log2_test_data): Likewise.
17239         (logb_test_data): Likewise.
17240         (lround_test_data): Likewise.
17241         (llround_test_data): Likewise.
17242         (modf_test_data): Likewise.
17243         (nearbyint_test_data): Likewise.
17244         (nextafter_test_data): Likewise.
17245         (nexttoward_test_data): Likewise.
17246         (pow_test_data): Likewise.
17247         (remainder_test_data): Likewise.
17248         (remquo_test_data): Likewise.
17249         (rint_test_data): Likewise.
17250         (round_test_data): Likewise.
17251         (signbit_test_data): Likewise.
17252         (sinh_test_data): Likewise.
17253         (sqrt_test_data): Likewise.
17254         (tanh_test_data): Likewise.
17255         (tgamma_test_data): Likewise.
17256         (trunc_test_data): Likewise.
17257         (y0_test_data): Likewise.
17258         (y1_test_data): Likewise.
17259         (yn_test_data): Likewise.
17260         (significand_test_data): Likewise.
17262 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
17264         * manual/filesys.texi (Storage Allocation): Document that
17265         posix_fallocate emulation fails when fd is open with O_WRONLY.
17267 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
17269         [BZ #19016]
17270         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
17271         allow more cases with X^2 + Y^2 >= 0.5.
17272         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
17273         normal element in sum instead of special-casing based on values of
17274         arguments.
17275         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
17276         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
17277         -1 as normal element in sum instead of special-casing based on
17278         values of arguments.
17279         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
17280         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
17281         (__x2y2m1): Update comment.
17282         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
17283         as normal element in sum instead of special-casing based on values
17284         of arguments.
17285         * math/s_clog.c (__clog): Handle more cases using log1p without
17286         hypot.
17287         * math/s_clog10.c (__clog10): Likewise.
17288         * math/s_clog10f.c (__clog10f): Likewise.
17289         * math/s_clog10l.c (__clog10l): Likewise.
17290         * math/s_clogf.c (__clogf): Likewise.
17291         * math/s_clogl.c (__clogl): Likewise.
17292         * math/auto-libm-test-in: Add more tests of clog and clog10.
17293         * math/auto-libm-test-out: Regenerated.
17294         * sysdeps/i386/fpu/libm-test-ulps: Update.
17295         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17297 2015-09-28  Martin Sebor  <msebor@redhat.com>
17299         [BZ #18969]
17300         * string/Makefile (LOCALES): Define.
17301         (gen-locales.mk): Include.
17302         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
17303         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
17304         * string/tst-strxfrm2.c (do_test): Print the name of the locale
17305         on setlocale failure.
17307 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
17309         [BZ #18985]
17310         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
17311         (__strftime_internal): Likewise.
17312         * time/tst-strftime.c (do_bz18985): New test.
17313         (do_test): Call it.
17315 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
17317         [BZ #18956]
17318         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
17319         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
17320         extracting high part.
17321         * math/auto-libm-test-in: Add another test of pow.
17322         * math/auto-libm-test-out: Regenerated.
17323         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17325 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
17327         [BZ #18825]
17328         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
17329         New macro.
17330         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
17331         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
17332         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
17333         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
17334         DBL_NARROW_EVAL, reloading the PIC register as needed.
17335         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
17336         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
17337         FLT_NARROW_EVAL.  Use separate return path for case when first
17338         argument is NaN.
17339         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
17340         DEFINE_LDBL_MIN.
17341         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
17342         PIC register.
17343         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
17344         math_check_force_underflow_nonneg.
17345         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
17346         underflow for subnormal result.
17347         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
17348         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
17349         math_check_force_underflow_nonneg.
17350         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
17351         math_check_force_underflow.
17352         * sysdeps/x86_64/fpu/x86_64-math-asm.h
17353         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
17354         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
17355         DEFINE_LDBL_MIN.
17356         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
17357         * math/auto-libm-test-in: Add more tests of pow.
17358         * math/auto-libm-test-out: Regenerated.
17360 2015-09-25  Florian Weimer  <fweimer@redhat.com>
17362         * nss/bug17079.c (init_test_items): Add diagnostic for
17363         inconsistent entries.
17364         (test_buffer_size): Skip inconsistent entries.
17366 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
17368         [BZ #13304]
17369         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
17370         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
17371         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
17373         [BZ #13304]
17374         * sysdeps/microblaze/s_fma.c: New file.
17375         * sysdeps/microblaze/s_fmaf.c: Likewise.
17376         * sysdeps/microblaze/sfp-machine.h: Likewise.
17378 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
17380         [BZ #17250]
17381         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
17382         member.
17384 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
17386         [BZ #18803]
17387         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
17388         (MO): New macro.
17389         (__ieee754_hypot) [PIC]: Load PIC register.
17390         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
17391         DBL_NARROW_EVAL.
17392         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
17393         math_check_force_underflow_nonneg in case where result might be
17394         tiny.
17395         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
17396         Likewise.
17397         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
17398         Likewise.
17399         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
17400         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
17401         * math/auto-libm-test-in: Add more tests of hypot.
17402         * math/auto-libm-test-out: Regenerated.
17404 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
17406         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
17408 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
17410         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
17411         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
17412         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
17413         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
17414         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
17415         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
17416         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
17418         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
17419         LOAD_PIC_REG.
17421         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
17422         (FLT_CHECK_FORCE_UFLOW): Likewise.
17423         (DBL_CHECK_FORCE_UFLOW): Likewise.
17424         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
17425         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
17426         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
17427         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
17428         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
17429         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
17430         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
17431         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
17432         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
17433         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17434         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
17435         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
17436         (flt_min): Replace with use of DEFINE_FLT_MIN.
17437         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
17438         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
17439         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17440         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
17441         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
17442         (flt_min): Replace with use of DEFINE_FLT_MIN.
17443         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
17444         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
17445         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17446         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
17447         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
17448         (flt_min): Replace with use of DEFINE_FLT_MIN.
17449         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
17450         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
17451         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
17452         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
17453         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
17454         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
17455         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
17456         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
17457         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17458         (__atan): Use DBL_CHECK_FORCE_UFLOW.
17459         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
17460         (flt_min): Replace with use of DEFINE_FLT_MIN.
17461         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
17462         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
17463         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17464         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
17465         main computation.
17466         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
17467         (flt_min): Replace with use of DEFINE_FLT_MIN.
17468         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
17469         main computation.
17470         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
17471         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17472         (MO): New macro.
17473         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
17474         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
17475         (flt_min): Replace with use of DEFINE_FLT_MIN.
17476         (MO): New macro.
17477         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
17478         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
17479         (__log1pl): Use MO.
17481         [BZ #19003]
17482         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
17483         $(config-cflags-nofma).
17485 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17487         * sysdeps/aarch64/libm-test-ulps: Regenerated.
17489 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
17491         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
17492         (TWO127): Likewise.
17494         * sysdeps/generic/math_private.h (fabs_tg): New macro.
17495         (min_of_type): Likewise.
17496         (math_check_force_underflow): Likewise.
17497         (math_check_force_underflow_nonneg): Likewise.
17498         (math_check_force_underflow_complex): Likewise.
17499         * math/e_exp2l.c (__ieee754_exp2l): Use
17500         math_check_force_underflow_nonneg.
17501         * math/k_casinh.c (__kernel_casinh): Likewise.
17502         * math/k_casinhf.c (__kernel_casinhf): Likewise.
17503         * math/k_casinhl.c (__kernel_casinhl): Likewise.
17504         * math/s_catan.c (__catan): Use
17505         math_check_force_underflow_complex.
17506         * math/s_catanf.c (__catanf): Likewise.
17507         * math/s_catanh.c (__catanh): Likewise.
17508         * math/s_catanhf.c (__catanhf): Likewise.
17509         * math/s_catanhl.c (__catanhl): Likewise.
17510         * math/s_catanl.c (__catanl): Likewise.
17511         * math/s_ccosh.c (__ccosh): Likewise.
17512         * math/s_ccoshf.c (__ccoshf): Likewise.
17513         * math/s_ccoshl.c (__ccoshl): Likewise.
17514         * math/s_cexp.c (__cexp): Likewise.
17515         * math/s_cexpf.c (__cexpf): Likewise.
17516         * math/s_cexpl.c (__cexpl): Likewise.
17517         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
17518         * math/s_clog10.c (__clog10): Likewise.
17519         * math/s_clog10f.c (__clog10f): Likewise.
17520         * math/s_clog10l.c (__clog10l): Likewise.
17521         * math/s_clogf.c (__clogf): Likewise.
17522         * math/s_clogl.c (__clogl): Likewise.
17523         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
17524         * math/s_csinf.c (__csinf): Likewise.
17525         * math/s_csinh.c (__csinh): Likewise.
17526         * math/s_csinhf.c (__csinhf): Likewise.
17527         * math/s_csinhl.c (__csinhl): Likewise.
17528         * math/s_csinl.c (__csinl): Likewise.
17529         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
17530         * math/s_csqrtf.c (__csqrtf): Likewise.
17531         * math/s_csqrtl.c (__csqrtl): Likewise.
17532         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
17533         * math/s_ctanf.c (__ctanf): Likewise.
17534         * math/s_ctanh.c (__ctanh): Likewise.
17535         * math/s_ctanhf.c (__ctanhf): Likewise.
17536         * math/s_ctanhl.c (__ctanhl): Likewise.
17537         * math/s_ctanl.c (__ctanl): Likewise.
17538         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
17539         instead of volatile.
17540         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
17541         math_check_force_underflow.
17542         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
17543         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
17544         volatile when forcing underflow.
17545         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
17546         math_check_force_underflow_nonneg.
17547         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
17548         Likewise.
17549         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
17550         math_check_force_underflow.
17551         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
17552         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17553         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17554         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
17555         math_check_force_underflow_nonneg.
17556         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
17557         math_check_force_underflow.
17558         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
17559         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
17560         instead of volatile.
17561         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
17562         math_check_force_underflow.
17563         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
17564         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
17565         math_check_force_underflow_nonneg.
17566         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
17567         math_check_force_underflow.
17568         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
17569         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
17570         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
17571         math_check_force_underflow_nonneg.
17572         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
17573         Likewise.
17574         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
17575         math_check_force_underflow.
17576         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
17577         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
17578         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
17579         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
17580         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
17581         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
17582         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
17583         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
17584         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
17585         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
17586         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
17587         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
17588         Likewise.
17589         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
17590         math_check_force_underflow_nonneg.
17591         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
17592         Likewise.
17593         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
17594         math_check_force_underflow.
17595         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
17596         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
17597         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
17598         Likewise.
17599         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
17600         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
17601         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
17602         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
17603         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
17604         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
17605         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
17606         instead of volatile.
17607         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
17608         math_check_force_underflow.
17609         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
17610         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
17611         math_check_force_underflow.
17612         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
17613         Likewise.
17614         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
17615         Use math_check_force_underflow_nonneg.
17616         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
17617         math_check_force_underflow.
17618         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
17619         Likewise.
17620         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
17621         Likewise.
17622         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17623         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
17624         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
17625         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
17626         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
17627         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
17628         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
17629         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
17630         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
17631         math_check_force_underflow_nonneg.
17632         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
17633         math_check_force_underflow.
17634         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
17635         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
17636         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
17637         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
17638         math_check_force_underflow_nonneg.
17639         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
17640         math_check_force_underflow.
17641         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
17642         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
17643         instead of volatile.
17644         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
17645         math_check_force_underflow.
17647         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
17648         * stdlib/strtod_l.c: Include <math_private.h>.
17649         (overflow_value): Use math_narrow_eval.
17650         (underflow_value): Likewise.
17651         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
17652         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
17653         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
17654         (__ieee754_gamma_r): Likewise.
17655         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
17656         Likewise.
17657         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
17658         Likewise.
17659         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
17660         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
17661         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
17662         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
17663         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
17664         (__ieee754_gammaf_r): Likewise.
17665         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
17666         Likewise.
17667         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
17668         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
17669         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
17670         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
17671         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
17672         volatile.
17673         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
17674         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
17675         math_narrow_eval.
17676         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
17677         Likewise.
17678         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17679         Likewise.
17680         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
17681         Likewise.
17682         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
17683         volatile.
17684         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
17685         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
17686         math_narrow_eval.
17687         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
17688         Likewise.
17689         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
17690         Likewise.
17692 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
17694         * nptl/Versions: Remove ignored symbols.
17696 2015-09-22  Florian Weimer  <fweimer@redhat.com>
17698         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
17699         * nss/Makefile (tests): Update.
17701 2015-09-22  Florian Weimer  <fweimer@redhat.com>
17703         * nss/bug18287.c: New file.
17704         * nss/Makefile (tests): Add bug18287.
17706 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17708         * mach/Versions (__mach_host_self_): Add symbol.
17710 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17712         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
17713         vm_page_size.
17715 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17717         Really fix sysdeps/i386/fpu/s_scalbn.S build
17719         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
17720         (libc: GLIBC_2_22): Remove unused version set.
17722 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
17724         * config.make.in (enable-timezone-tools): New variable.
17725         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
17726         (enable_timezone_tools): Export to generated files.
17727         * configure: Regenerate.
17728         * INSTALL: Regenerate.
17729         * manual/install.texi (--disable-timezone-tools): Document new flag.
17730         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
17731         ifeq ($(enable-timezone-tools),yes) check.
17733 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
17735         * timezone/Makefile: Revert previous change.
17737         [BZ #18980]
17738         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
17739         (DEFINE_DBL_MIN): Likewise.
17740         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
17741         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
17742         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
17743         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
17744         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
17745         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17746         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
17747         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
17748         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
17749         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17750         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
17751         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
17752         (flt_min): Replace with use of DEFINE_FLT_MIN.
17753         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
17754         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
17755         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17756         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
17757         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
17758         (flt_min): Replace with use of DEFINE_FLT_MIN.
17759         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
17760         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
17761         (flt_min): Replace with use of DEFINE_FLT_MIN.
17762         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
17763         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
17764         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
17765         (__ieee754_hypot): Use DBL_NARROW_EVAL.
17766         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
17767         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
17768         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
17769         (__ieee754_pow): Use DBL_NARROW_EVAL.
17770         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
17771         (__ieee754_powf): Use FLT_NARROW_EVAL.
17772         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
17773         (__ieee754_expf_sse2): Convert double-precision result to single
17774         precision.
17775         * sysdeps/i386/fpu/libm-test-ulps: Update.
17777 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17779         * timezone/Makefile: Ignore unused variable errors due to private.h
17780         (time_t_min) and (time_t_max).
17781         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
17782         Likewise.
17784 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
17786         [BZ #18981]
17787         * sysdeps/i386/fpu/i386-math-asm.h: New file.
17788         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
17789         (__ieee754_scalb): Use DBL_NARROW_EVAL.
17790         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
17791         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
17792         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
17793         (__scalbn): Use DBL_NARROW_EVAL.
17794         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
17795         (__scalbnf): Use FLT_NARROW_EVAL.
17797 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17799         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
17800         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
17801         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
17802         * stdio-common/printf_fp.c (___printf_fp):
17803         Use signbit to get the sign. Use isinf macro to allow inlining.
17804         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
17805         * stdio-common/printf_size.c (__printf_size): Likewise.
17807 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
17809         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
17811 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
17813         [BZ #18980]
17814         * sysdeps/generic/math_private.h: Include <float.h>.
17815         (math_narrow_eval): New macro.
17816         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
17817         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
17818         math_narrow_eval on overflowing return value.
17819         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
17820         Likewise.
17821         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17822         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
17823         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
17824         Likewise.
17825         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
17827 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17829         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
17830         * math/Makefile: Remove isinf_ns.c.
17831         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
17832         * math/multc3.c (__multc3): Likewise.
17833         * math/s_casin.c (__casin): Likewise.
17834         * math/s_casinf.c (__casinf): Likewise.
17835         * math/s_casinl.c (__casinl): Likewise.
17836         * math/s_cproj.c (__cproj): Likewise.
17837         * math/s_cprojf.c (__cprojf): Likewise.
17838         * math/s_cprojl.c (__cprofl): Likewise.
17839         * math/s_ctan.c (__ctan): Likewise.
17840         * math/s_ctanf.c (__ctanf): Likewise.
17841         * math/s_ctanh.c (__ctanh): Likewise.
17842         * math/s_ctanhf.c (__ctanhf): Likewise.
17843         * math/s_ctanhl.c (__ctanhl): Likewise.
17844         * math/s_ctanl.c (__ctanl): Likewise.
17845         * math/w_fmod.c (__fmod): Likewise.
17846         * math/w_fmodf.c (__fmodf): Likewise.
17847         * math/w_fmodl.c (_fmodl): Likewise.
17848         * math/w_remainder.c (__remainder): Likewise.
17849         * math/w_remainderf.c (__remainderf): Likewise.
17850         * math/w_remainderl.c (__remainderl): Likewise.
17851         * math/w_scalb.c (__scalb): Likewise.
17852         * math/w_scalbf.c (__scalbf): Likewise.
17853         * math/w_scalbl.c (__scalbl): Likewise.
17854         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
17855         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
17856         with isinf.
17857         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
17858         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
17859         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
17860         __isinf_nsf with isinf.
17861         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
17862         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
17863         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
17864         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
17865         with isinf.
17866         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
17867         __isinf_nsl with isinf.
17868         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
17869         with isinf.
17870         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
17871         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
17872         __isinf_nsl with isinf.
17873         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
17874         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
17875         with isinf.
17877 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17879         * resolv/base64.c (rcsid): Remove unused static.
17880         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
17881         static.  (tqpi1): Likewise.
17882         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
17883         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
17884         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
17885         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
17886         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
17887         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
17888         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
17889         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
17890         Likewise.
17892 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
17894         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
17895         <nptl/pthreadP.h>.
17896         (_longjmp_unwind): Use __libc_ptf_call.
17897         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
17899 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
17901         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
17902         * sysdeps/arm/__longjmp.S: Likewise.
17904 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17906         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
17907         Use __builtin_signbit.
17908         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
17909         Use __builtin_signbitf.
17910         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
17911         Use __builtin_signbitl.
17912         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
17913         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
17915 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17917         [BZ #15367]
17918         [BZ #17441]
17920         * math/Makefile: Build test-snan.c with -fsignaling-nans.
17921         * math/math.h (fpclassify): Use __builtin_fpclassify when
17922         available.  (signbit): Use __builtin_signbit(f/l).
17923         (isfinite): Use__builtin_isfinite.  (isnormal): Use
17924         __builtin_isnormal.  (isnan): Use __builtin_isnan.
17925         (isinf): Use __builtin_isinf_sign.
17927 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17929         * benchtests/Makefile: Add bench-math-inlines, link with libm.
17930         * benchtests/bench-math-inlines.c: New benchmark.
17931         * benchtests/bench-util.h: New file.
17932         * benchtests/bench-util.c: New file.
17933         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
17935 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
17937         * elf/tst-dlmopen1.c: Define TEST_SO.
17938         (do_test): Use TEST_SO.
17940         * elf/dl-load.c: Include libc-internal.h.
17941         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
17943 2015-09-18  Vincent Bernat  <vincent@bernat.im>
17945         [BZ #17887]
17946         * time/strptime_l.c (__strptime_internal): Make %z accept
17947         [+-]HH:MM time zones.
17949 2015-09-18  Vincent Bernat  <vincent@bernat.im>
17951         [BZ #17886]
17952         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
17953         valid time zone.
17955 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
17957         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
17958         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
17959         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17960         (__ASSUME_FDATASYNC): Delete.
17962 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
17964         * conform/linknamespace.pl: Require weak undefined symbols to be
17965         in the standard namespace.
17966         (%strong_syms): Rename to %seen_syms.
17967         (%strong_seen): Rename to %seen_where.
17969 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
17971         [BZ #18970]
17972         * misc/error.c (error): Replace pthread_setcancelstate with
17973         __pthread_setcancelstate.
17974         (error_at_line): Likewise.
17975         * posix/wordexp.c (parse_comm): Likewise.
17976         * stdlib/fmtmsg.c (fmtmsg): Likewise.
17977         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
17978         (__pthread_setcancelstate): This.
17979         (pthread_setcancelstate): Add an alias.
17980         * nptl/nptl-init.c (pthread_functions): Replace
17981         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
17982         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
17983         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
17984         hidden_proto.
17985         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
17986         it with hidden_def.
17987         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
17988         (pthread_setcancelstate): Renamed to ...
17989         (__pthread_setcancelstate): This.
17990         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
17991         __libc_ptf_call with __pthread_setcancelstate.
17993 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
17994             Andreas Schwab  <schwab@suse.de>
17996         [BZ #17118]
17997         * math/s_ctan.c (__ctan): Determine sign of zero real part of
17998         result when imaginary part of argument is infinite using sine and
17999         cosine.
18000         * math/s_ctanf.c (__ctanf): Likewise.
18001         * math/s_ctanl.c (__ctanl): Likewise.
18002         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
18003         of result when real part of argument is infinite using sine and
18004         cosine.
18005         * math/s_ctanhf.c (__ctanhf): Likewise.
18006         * math/s_ctanhl.c (__ctanhl): Likewise.
18007         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
18008         (ctanh_test_data): Add more tests of ctanh.
18010 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
18012         [BZ #15384]
18013         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
18014         bit-mask as in subtraction.
18015         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
18016         Likewise.
18017         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
18018         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
18019         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
18021         [BZ #18951]
18022         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
18023         underflow exception for small results.
18024         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
18025         Likewise.
18026         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
18027         Likewise.
18028         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
18029         Likewise.
18030         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
18031         Likewise.
18032         * math/auto-libm-test-in: Add more tests of tgamma.
18033         * math/auto-libm-test-out: Regenerated.
18035 2015-09-17  Andreas Schwab  <schwab@suse.de>
18037         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
18039 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
18041         [BZ #18977]
18042         * math/bits/mathcalls.h
18043         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
18044         not declare.
18045         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
18046         Likewise.
18047         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
18048         Likewise.
18049         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
18050         Likewise.
18051         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
18052         Likewise.
18053         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
18054         Likewise.
18055         * conform/data/math.h-data
18056         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
18057         function.
18058         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
18059         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
18060         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
18061         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
18062         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
18063         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
18064         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
18065         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
18066         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
18067         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
18068         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
18070         [BZ #6803]
18071         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
18072         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
18073         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
18074         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
18075         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
18076         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
18077         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
18078         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
18079         [NO_LONG_DOUBLE] (scalbnl): Likewise.
18080         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
18081         Likewise.
18082         [NO_LONG_DOUBLE] (scalbnl): Likewise.
18083         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
18084         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
18085         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
18086         long_double_symbol calls.
18087         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
18088         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
18089         strong alias of __ldexpl.
18090         (scalbnl): Define using long_double_symbol.
18091         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
18092         Remove alias.
18093         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
18094         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
18095         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
18096         (scalbln_test_data): Add more errno expectations.
18098 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
18100         Cache the host port like we cache the task port.  This way we do not
18101         need to call the kernel just to get the port.  Furthermore, we no
18102         longer increase the reference count on every invocation of
18103         `mach_host_self'.
18105         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
18106         Protect declarations against the macro expansion.
18107         * mach/mach_init.c (__mach_host_self_): New variable.
18108         (mach_init): Initialize `__mach_host_self_'.
18109         * mach/mach_init.h (__mach_host_self_): New declaration.
18110         (__mach_host_self, mach_host_self): New macros.
18111         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
18112         Release reference.
18114 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
18116         [BZ #4404]
18117         * po/de.po: Update from Translation Project.
18119         [BZ #16415]
18120         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
18121         (__expm1l): Remove code to handle positive infinity and overflow.
18122         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
18123         variable.
18124         (__expm1l): Remove code to handle positive infinity and overflow.
18126 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
18127             Paul Pluzhnikov  <ppluzhnikov@google.com>
18129         [BZ #18872]
18130         * stdio-common/Makefile (tst-printf-bz18872): New test.
18131         (tst-printf-bz18872-mem.out): Likewise.
18132         * stdio-common/tst-printf-bz18872.sh: Generate new test.
18133         * stdio-common/vfprintf.c: Fix memory leaks.
18135 2015-09-16  Andreas Schwab  <schwab@suse.de>
18137         [BZ #17244]
18138         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
18139         Remove extra va_start/va_end calls.
18141         [BZ #17243]
18142         * posix/execl.c (execl): Add missing va_end.
18143         * posix/execle.c (execle): Likewise.
18144         * posix/execlp.c (execlp): Likewise.
18146 2015-09-15  Roland McGrath  <roland@hack.frob.com>
18148         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
18149         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
18151 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
18153         [BZ #18967]
18154         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
18155         undefine around includes of <bits/mathcalls.h>.
18156         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
18157         not declare function.
18158         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
18159         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
18160         (scalb): Likewise.
18161         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
18162         not define macro.
18163         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
18164         variable.
18165         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
18166         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
18167         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
18169         [BZ #18857]
18170         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
18171         return non-finite argument without doing ordered comparisons on
18172         it.
18174         [BZ #16296]
18175         * math/fenv.h (fegetround): Use __attribute_pure__.
18176         * include/fenv.h (__fegetround): Likewise.
18178         [BZ #18595]
18179         * math/s_ctan.c (__ctan): Force underflow exception for results
18180         whose real or imaginary part has small absolute value.
18181         * math/s_ctanf.c (__ctanf): Likewise.
18182         * math/s_ctanh.c (__ctanh): Likewise.
18183         * math/s_ctanhf.c (__ctanhf): Likewise.
18184         * math/s_ctanhl.c (__ctanhl): Likewise.
18185         * math/s_ctanl.c (__ctanl): Likewise.
18186         * math/auto-libm-test-in: Do not allow missing underflow for ctan
18187         and ctanh.  Add more tests of ctan and ctanh.
18189         [BZ #15918]
18190         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
18191         handling of cases where one argument is an infinity.
18193         [BZ #18875]
18194         [BZ #18966]
18195         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
18196         (MO): New macro.
18197         (__ieee754_exp10): For small results, force underflow exception
18198         and remove excess range and precision from return value.
18199         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
18200         (MO): New macro.
18201         (__ieee754_exp10f): For small results, force underflow exception
18202         and remove excess range and precision from return value.
18203         * math/auto-libm-test-in: Add more tests of exp10.
18204         * math/auto-libm-test-out: Regenerated.
18206 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
18208         [BZ #18875]
18209         [BZ #18961]
18210         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
18211         (MO): New macro.
18212         (__ieee754_exp): For small results, force underflow exception and
18213         remove excess range and precision from return value.
18214         (__exp_finite): Likewise.
18215         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
18216         (MO): New macro.
18217         (__ieee754_expf): For small results, force underflow exception and
18218         remove excess range and precision from return value.
18219         (__expf_finite): Likewise.
18220         * math/auto-libm-test-in: Add more tests of exp.
18221         * math/auto-libm-test-out: Regenerated.
18223         [BZ #16521]
18224         [BZ #18875]
18225         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
18226         small results.
18227         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
18228         (MO): New macro.
18229         (__ieee754_exp2): For small results, force underflow exception and
18230         remove excess range and precision from return value.
18231         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
18232         (MO): New macro.
18233         (__ieee754_exp2f): For small results, force underflow exception
18234         and remove excess range and precision from return value.
18235         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
18236         (MO): New macro.
18237         (__ieee754_exp2l): Force underflow exception for small results.
18238         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
18239         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
18240         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
18241         (MO): New macro.
18242         (__ieee754_exp2l): Force underflow exception for small results.
18243         * math/auto-libm-test-in: Add more tests or exp2.
18244         * math/auto-libm-test-out: Regenerated.
18246 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
18248         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
18250         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
18251         /dev/null.
18253 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18255         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
18256         io fs process)): Drop spurious backslash.
18258 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
18260         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
18261         Use sysinfo system call instead of parsing /proc/meminfo.
18262         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
18263         Likewise.
18265 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
18267         [BZ #16985]
18268         * programs/localedef.c (main): Display argv[remaining] when
18269         output_path is NULL.
18271 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
18273         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18274         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
18275         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
18276         tanh.
18277         * math/auto-libm-test-out: Regenerated.
18278         * sysdeps/i386/fpu/libm-test-ulps: Update.
18279         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
18280         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18283 2015-09-11  Roland McGrath  <roland@hack.frob.com>
18285         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
18286         Use 'override' keyword to freeze the value here, preventing
18287         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
18289 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
18291         [BZ #14912]
18292         * sysdeps/aarch64/bits/atomic.h: Move to ...
18293         * sysdeps/aarch64/atomic-machine.h: ...here.
18294         (_AARCH64_BITS_ATOMIC_H): Rename macro to
18295         _AARCH64_ATOMIC_MACHINE_H.
18296         * sysdeps/alpha/bits/atomic.h: Move to ...
18297         * sysdeps/alpha/atomic-machine.h: ...here.
18298         * sysdeps/arm/bits/atomic.h: Move to ...
18299         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
18300         * bits/atomic.h: Move to ...
18301         * sysdeps/generic/atomic-machine.h: ...here.
18302         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18303         * sysdeps/i386/bits/atomic.h: Move to ...
18304         * sysdeps/i386/atomic-machine.h: ...here.
18305         * sysdeps/ia64/bits/atomic.h: Move to ...
18306         * sysdeps/ia64/atomic-machine.h: ...here.
18307         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
18308         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
18309         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18310         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
18311         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
18312         * sysdeps/microblaze/bits/atomic.h: Move to ...
18313         * sysdeps/microblaze/atomic-machine.h: ...here.
18314         * sysdeps/mips/bits/atomic.h: Move to ...
18315         * sysdeps/mips/atomic-machine.h: ...here.
18316         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
18317         * sysdeps/powerpc/bits/atomic.h: Move to ...
18318         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
18319         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
18320         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
18321         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
18322         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
18323         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
18324         <atomic-machine.h> instead of <bits/atomic.h>.
18325         * sysdeps/s390/bits/atomic.h: Move to ...
18326         * sysdeps/s390/atomic-machine.h: ...here.
18327         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
18328         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
18329         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18330         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
18331         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
18332         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
18333         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
18334         * sysdeps/tile/bits/atomic.h: Move to ...
18335         * sysdeps/tile/atomic-machine.h: ...here.
18336         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
18337         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
18338         <sysdeps/tile/atomic-machine.h> instead of
18339         <sysdeps/tile/bits/atomic.h>.
18340         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18341         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
18342         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
18343         <sysdeps/tile/atomic-machine.h> instead of
18344         <sysdeps/tile/bits/atomic.h>.
18345         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18346         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
18347         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
18348         <sysdeps/arm/atomic-machine.h> instead of
18349         <sysdeps/arm/bits/atomic.h>.
18350         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
18351         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
18352         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18353         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
18354         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
18355         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18356         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
18357         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
18358         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
18359         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
18360         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
18361         * sysdeps/x86_64/bits/atomic.h: Move to ...
18362         * sysdeps/x86_64/atomic-machine.h: ...here.
18363         * include/atomic.h: Include <atomic-machine.h> instead of
18364         <bits/atomic.h>.
18366         * sysdeps/mips/mips32/libm-test-ulps: Update.
18367         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18369         [BZ #18952]
18370         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
18371         not convert non-integer negative arguments to int to determine the
18372         value of signgam.
18373         * math/auto-libm-test-in: Add more tests of lgamma.
18374         * math/auto-libm-test-out: Regenerated.
18376         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
18377         cosh, csqrt, erfc, expm1 and lgamma.
18378         * math/auto-libm-test-out: Regenerated.
18379         * sysdeps/i386/fpu/libm-test-ulps: Update.
18380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18382 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
18384         [BZ #2542]
18385         [BZ #2543]
18386         [BZ #2558]
18387         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
18388         __lgamma_neg for arguments from -28.0 to -2.0.
18389         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
18390         __lgamma_negf for arguments from -15.0 to -2.0.
18391         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18392         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
18393         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
18394         Call __lgamma_negl for arguments from -33.0 to -2.0.
18395         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
18396         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
18397         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
18398         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
18399         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
18400         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
18401         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
18402         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
18403         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
18404         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
18405         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
18406         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
18407         (__lgamma_neg): Likewise.
18408         (__lgamma_negl): Likewise.
18409         (__lgamma_product): Likewise.
18410         (__lgamma_productl): Likewise.
18411         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
18412         * math/auto-libm-test-in: Add more tests of lgamma.
18413         * math/auto-libm-test-out: Regenerated.
18414         * sysdeps/i386/fpu/libm-test-ulps: Update.
18415         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18417 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
18419         [BZ #18675]
18420         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
18422 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
18424         [BZ #14912]
18425         * bits/libc-lock.h: Move to ...
18426         * sysdeps/generic/libc-lock.h: ...here.
18427         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
18428         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
18429         * sysdeps/mach/hurd/libc-lock.h: ...here.
18430         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
18431         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
18432         * sysdeps/mach/bits/libc-lock.h: Move to ...
18433         * sysdeps/mach/libc-lock.h: ...here.
18434         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
18435         * sysdeps/nptl/bits/libc-lock.h: Move to ...
18436         * sysdeps/nptl/libc-lock.h: ...here.
18437         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
18438         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
18439         * sysdeps/nptl/libc-lockP.h: ...here.
18440         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
18441         * crypt/crypt_util.c: Include <libc-lock.h> instead of
18442         <bits/libc-lock.h>.
18443         * dirent/scandir-tail.c: Likewise.
18444         * dlfcn/dlerror.c: Likewise.
18445         * elf/dl-close.c: Likewise.
18446         * elf/dl-iteratephdr.c: Likewise.
18447         * elf/dl-lookup.c: Likewise.
18448         * elf/dl-open.c: Likewise.
18449         * elf/dl-support.c: Likewise.
18450         * elf/dl-writev.h: Likewise.
18451         * elf/rtld.c: Likewise.
18452         * grp/fgetgrent.c: Likewise.
18453         * gshadow/fgetsgent.c: Likewise.
18454         * gshadow/sgetsgent.c: Likewise.
18455         * iconv/gconv_conf.c: Likewise.
18456         * iconv/gconv_db.c: Likewise.
18457         * iconv/gconv_dl.c: Likewise.
18458         * iconv/gconv_int.h: Likewise.
18459         * iconv/gconv_trans.c: Likewise.
18460         * include/link.h: Likewise.
18461         * inet/getnameinfo.c: Likewise.
18462         * inet/getnetgrent.c: Likewise.
18463         * inet/getnetgrent_r.c: Likewise.
18464         * intl/bindtextdom.c: Likewise.
18465         * intl/dcigettext.c: Likewise.
18466         * intl/finddomain.c: Likewise.
18467         * intl/gettextP.h: Likewise.
18468         * intl/loadmsgcat.c: Likewise.
18469         * intl/localealias.c: Likewise.
18470         * intl/textdomain.c: Likewise.
18471         * libidn/idn-stub.c: Likewise.
18472         * libio/libioP.h: Likewise.
18473         * locale/duplocale.c: Likewise.
18474         * locale/freelocale.c: Likewise.
18475         * locale/newlocale.c: Likewise.
18476         * locale/setlocale.c: Likewise.
18477         * login/getutent_r.c: Likewise.
18478         * login/getutid_r.c: Likewise.
18479         * login/getutline_r.c: Likewise.
18480         * login/utmp-private.h: Likewise.
18481         * login/utmpname.c: Likewise.
18482         * malloc/mtrace.c: Likewise.
18483         * misc/efgcvt.c: Likewise.
18484         * misc/error.c: Likewise.
18485         * misc/fstab.c: Likewise.
18486         * misc/getpass.c: Likewise.
18487         * misc/mntent.c: Likewise.
18488         * misc/syslog.c: Likewise.
18489         * nis/nis_call.c: Likewise.
18490         * nis/nis_callback.c: Likewise.
18491         * nis/nss-default.c: Likewise.
18492         * nis/nss_compat/compat-grp.c: Likewise.
18493         * nis/nss_compat/compat-initgroups.c: Likewise.
18494         * nis/nss_compat/compat-pwd.c: Likewise.
18495         * nis/nss_compat/compat-spwd.c: Likewise.
18496         * nis/nss_nis/nis-alias.c: Likewise.
18497         * nis/nss_nis/nis-ethers.c: Likewise.
18498         * nis/nss_nis/nis-grp.c: Likewise.
18499         * nis/nss_nis/nis-hosts.c: Likewise.
18500         * nis/nss_nis/nis-network.c: Likewise.
18501         * nis/nss_nis/nis-proto.c: Likewise.
18502         * nis/nss_nis/nis-pwd.c: Likewise.
18503         * nis/nss_nis/nis-rpc.c: Likewise.
18504         * nis/nss_nis/nis-service.c: Likewise.
18505         * nis/nss_nis/nis-spwd.c: Likewise.
18506         * nis/nss_nisplus/nisplus-alias.c: Likewise.
18507         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
18508         * nis/nss_nisplus/nisplus-grp.c: Likewise.
18509         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
18510         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
18511         * nis/nss_nisplus/nisplus-network.c: Likewise.
18512         * nis/nss_nisplus/nisplus-proto.c: Likewise.
18513         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
18514         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
18515         * nis/nss_nisplus/nisplus-service.c: Likewise.
18516         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
18517         * nis/ypclnt.c: Likewise.
18518         * nptl/libc_pthread_init.c: Likewise.
18519         * nss/getXXbyYY.c: Likewise.
18520         * nss/getXXent.c: Likewise.
18521         * nss/getXXent_r.c: Likewise.
18522         * nss/nss_db/db-XXX.c: Likewise.
18523         * nss/nss_db/db-netgrp.c: Likewise.
18524         * nss/nss_db/nss_db.h: Likewise.
18525         * nss/nss_files/files-XXX.c: Likewise.
18526         * nss/nss_files/files-alias.c: Likewise.
18527         * nss/nsswitch.c: Likewise.
18528         * posix/regex_internal.h: Likewise.
18529         * posix/wordexp.c: Likewise.
18530         * pwd/fgetpwent.c: Likewise.
18531         * resolv/res_hconf.c: Likewise.
18532         * resolv/res_libc.c: Likewise.
18533         * shadow/fgetspent.c: Likewise.
18534         * shadow/lckpwdf.c: Likewise.
18535         * shadow/sgetspent.c: Likewise.
18536         * socket/opensock.c: Likewise.
18537         * stdio-common/reg-modifier.c: Likewise.
18538         * stdio-common/reg-printf.c: Likewise.
18539         * stdio-common/reg-type.c: Likewise.
18540         * stdio-common/vfprintf.c: Likewise.
18541         * stdio-common/vfscanf.c: Likewise.
18542         * stdlib/abort.c: Likewise.
18543         * stdlib/cxa_atexit.c: Likewise.
18544         * stdlib/fmtmsg.c: Likewise.
18545         * stdlib/random.c: Likewise.
18546         * stdlib/setenv.c: Likewise.
18547         * string/strsignal.c: Likewise.
18548         * sunrpc/auth_none.c: Likewise.
18549         * sunrpc/bindrsvprt.c: Likewise.
18550         * sunrpc/create_xid.c: Likewise.
18551         * sunrpc/key_call.c: Likewise.
18552         * sunrpc/rpc_thread.c: Likewise.
18553         * sysdeps/arm/backtrace.c: Likewise.
18554         * sysdeps/generic/ldsodefs.h: Likewise.
18555         * sysdeps/generic/stdio-lock.h: Likewise.
18556         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
18557         * sysdeps/i386/backtrace.c: Likewise.
18558         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
18559         * sysdeps/m68k/backtrace.c: Likewise.
18560         * sysdeps/mach/hurd/cthreads.c: Likewise.
18561         * sysdeps/mach/hurd/dirstream.h: Likewise.
18562         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
18563         * sysdeps/nptl/malloc-machine.h: Likewise.
18564         * sysdeps/nptl/stdio-lock.h: Likewise.
18565         * sysdeps/posix/dirstream.h: Likewise.
18566         * sysdeps/posix/getaddrinfo.c: Likewise.
18567         * sysdeps/posix/system.c: Likewise.
18568         * sysdeps/pthread/aio_suspend.c: Likewise.
18569         * sysdeps/s390/s390-32/backtrace.c: Likewise.
18570         * sysdeps/s390/s390-64/backtrace.c: Likewise.
18571         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18572         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
18573         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
18574         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
18575         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
18576         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
18577         * sysdeps/unix/sysv/linux/system.c: Likewise.
18578         * sysdeps/x86_64/backtrace.c: Likewise.
18579         * time/alt_digit.c: Likewise.
18580         * time/era.c: Likewise.
18581         * time/tzset.c: Likewise.
18582         * wcsmbs/wcsmbsload.c: Likewise.
18583         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
18584         instead of <bits/libc-lock.h> in comment.
18586 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
18588         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
18589         Only use .set mips2 if the current ISA is below mips2.
18590         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
18591         Likewise.
18592         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
18593         mips32r2 if the current ISA is below mips32r2.
18594         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
18595         (TLS_IE): Updated to use the TLD_RDHWR macro.
18596         (TLS_LE): Likewise.
18597         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
18598         __ASSEMBLER__ condition.
18600 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18602         Fix parallel build of before-compile targets.
18604         * sysdeps/mach/Makefile ($(patsubst
18605         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
18606         mach-before-compile target.
18607         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
18608         io fs process)): Move rule to dedicated hurd-before-compile target.
18610 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18612         Fix rules generating headers in hurd/ and mach/ when initial make call
18613         has subdir= explicitly set.
18615         * sysdeps/mach/Makefile ($(patsubst
18616         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
18617         calling $(MAKE).
18618         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
18619         io fs process)): Force subdir to hurd when calling $(MAKE).
18620         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
18621         subdir to mach when calling $(MAKE).
18623 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
18625         Check sysheaders when looking for Mach and Hurd headers
18627         * sysdeps/mach/configure.ac: Add sysheaders check.
18628         * sysdeps/mach/configure: Regenerate.
18629         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
18630         * sysdeps/mach/hurd/configure: Regenerate.
18632 2015-09-04  Roland McGrath  <roland@hack.frob.com>
18634         [BZ #18921]
18635         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
18636         Fix inverted sense of test of 'o_directory_works' value.
18637         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
18638         Bernhard Voelker <mail@bernhard-voelker.de>.
18640 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
18642         [BZ #14912]
18643         * bits/linkmap.h: Move to ...
18644         * sysdeps/generic/linkmap.h: ...here.
18645         * sysdeps/aarch64/bits/linkmap.h: Move to ...
18646         * sysdeps/aarch64/linkmap.h: ...here.
18647         * sysdeps/arm/bits/linkmap.h: Move to ...
18648         * sysdeps/arm/linkmap.h: ...here.
18649         * sysdeps/hppa/bits/linkmap.h: Move to ...
18650         * sysdeps/hppa/linkmap.h: ...here.
18651         * sysdeps/ia64/bits/linkmap.h: Move to ...
18652         * sysdeps/ia64/linkmap.h: ...here.
18653         * sysdeps/mips/bits/linkmap.h: Move to ...
18654         * sysdeps/mips/linkmap.h: ...here.
18655         * sysdeps/s390/bits/linkmap.h: Move to ...
18656         * sysdeps/s390/linkmap.h: ...here.
18657         * sysdeps/sh/bits/linkmap.h: Move to ...
18658         * sysdeps/sh/linkmap.h: ...here.
18659         * sysdeps/x86/bits/linkmap.h: Move to ...
18660         * sysdeps/x86/linkmap.h: ...here.
18661         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
18663 2015-09-04  Andreas Schwab  <schwab@suse.de>
18665         [BZ #18635]
18666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
18667         (__makecontext): Terminate FDE before return label.
18668         (__novec_makecontext): Likewise.
18670 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18672         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
18673         first member of struct sv in syscall macro.
18675 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
18677         [BZ #14912]
18678         * bits/stdio-lock.h: Move to ...
18679         * sysdeps/generic/stdio-lock.h: ...here.
18680         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
18681         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
18682         * sysdeps/nptl/stdio-lock.h: ...here.
18683         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
18684         * include/libio.h: Include <stdio-lock.h> instead of
18685         <bits/stdio-lock.h>.
18686         * sysdeps/nptl/fork.c: Likewise.
18687         * sysdeps/pthread/flockfile.c: Likewise.
18688         * sysdeps/pthread/ftrylockfile.c: Likewise.
18689         * sysdeps/pthread/funlockfile.c: Likewise.
18691         [BZ #14912]
18692         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
18693         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
18694         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
18695         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
18696         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
18697         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
18698         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
18700 2015-09-03  Roland McGrath  <roland@hack.frob.com>
18702         * elf/Makefile (test-xfail-tst-protected1a): New variable.
18703         (test-xfail-tst-protected1b): New variable.
18705 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
18707         [BZ #14912]
18708         * bits/libc-tsd.h: Move to ...
18709         * sysdeps/generic/libc-tsd.h: ...here.
18710         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
18711         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
18712         * sysdeps/mach/hurd/libc-tsd.h: ...here.
18713         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
18714         * include/ctype.h: Include <libc-tsd.h> instead of
18715         <bits/libc-tsd.h>.
18716         * include/rpc/rpc.h: Likewise.
18717         * locale/localeinfo.h: Likewise.
18718         * sunrpc/rpc_thread.c: Likewise.
18719         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
18720         * sysdeps/nptl/malloc-machine.h: Likewise.
18722         * Makefile (headers): Remove bits/libc-lock.h.
18723         * libio/Makefile (headers): Remove bits/stdio-lock.h.
18725         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
18726         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
18727         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
18728         <bits/stdio-lock.h>.
18729         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
18730         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
18732 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
18734         [BZ #18757]
18735         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
18736         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
18737         BZ #18757.
18739 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
18741         * malloc/mtrace.pl: Filter out NULL entries.
18743 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
18745         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
18746         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
18747         macro.
18749         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
18750         (TCP_CC_INFO): Likewise.
18751         (TCP_SAVE_SYN): Likewise.
18752         (TCP_SAVED_SYN): Likewise.
18754 2015-08-31  Brett Neumeier <brett@neumeier.us>
18756         [BZ #18870]
18757         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
18759 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
18761         [BZ #18873]
18762         Fix broken overflow check in posix_fallocate
18763         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
18764         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
18765         Fix parenthesization typo.
18767 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
18769         [BZ #18887]
18770         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
18771         tst-mntent-blank-passno.
18772         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
18773         * misc/tst-mntent-blank-corrupt.c: New test.
18774         * misc/tst-mntent-blank-passno.c: New test ripped from ...
18775         * misc/tst-mntent.c (do_test): ... here.
18777 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
18779         [BZ #4404]
18780         * po/de.po: Fix SIGALRM typo.
18782 2015-08-28  James Perkins  <james@loowit.net>
18784         * time/tst-strptime2.c (tests): Replace short list of test
18785         strings for strptime %z specifier with code which exhaustively
18786         tests every combination of sign and 0 to 5 digits. Tests for
18787         rejection of invalid strings.
18789 2015-08-28  James Perkins  <james@loowit.net>
18791         [BZ #16141]
18792         * time/strptime_l.c (__strptime_internal): Fix %z minutes
18793         calculation, removing incorrect decimal time rounding, so that
18794         all minute values result in a valid seconds value.
18795         * time/strptime_l.c (__strptime_internal): Extend %z time zone
18796         offset range limits to UTC-99:59 through UTC+99:59 to parse
18797         current and historical use cases.
18798         * time/tst-strptime2.c (tests): Modify and add tests for the
18799         strptime %z input field descriptor, specifically conversion of
18800         minutes to seconds and validating an offset range of -9959 to
18801         +9959.
18803 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18804             Dmitry V. Levin  <ldv@altlinux.org>
18806         [BZ #18877]
18807         * posix/Makefile (tests): Add tst-mmap-offset.
18808         * posix/tst-mmap.c: New file.
18809         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
18810         offset calculation for negative values.
18812 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18814         * sysdeps/i386/init-arch.h: New file.
18815         * sysdeps/i386/i586/init-arch.h: Likewise.
18816         * sysdeps/i386/i686/init-arch.h: Likewise.
18817         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
18818         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
18819         * sysdeps/x86/cpu-features.h (bit_I586): New.
18820         (bit_I686): Likewise.
18821         (bit_CX8): Likewise.
18822         (bit_CMOV): Likewise.
18823         (index_CX8): Likewise.
18824         (index_CMOV): Likewise.
18825         (index_I586): Likewise.
18826         (index_I686): Likewise.
18827         (reg_CX8): Likewise.
18828         (reg_CMOV): Likewise.
18829         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
18830         available at compile-time.
18831         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
18832         available at compile-time.
18833         * sysdeps/x86/init-arch.h (USE_I586): New macro.
18834         (USE_I686): Likewise.
18836 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18838         * sysdeps/i386/bcopy.S: New file.
18839         * sysdeps/i386/bzero.S: Likewise.
18840         * sysdeps/i386/memcpy.S: Likewise.
18841         * sysdeps/i386/memmove.S: Likewise.
18842         * sysdeps/i386/mempcpy.S: Likewise.
18843         * sysdeps/i386/memset.S: Likewise.
18844         * sysdeps/i386/bzero.c: Removed.
18845         * sysdeps/i386/memset.c: Likewise.
18846         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
18847         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
18848         * sysdeps/i386/i586/memset_chk.S: Likewise.
18849         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
18850         * sysdeps/i386/memcpy_chk.S: Here.
18851         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
18852         * sysdeps/i386/memmove_chk.S: Here.
18853         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
18854         * sysdeps/i386/mempcpy_chk.S: Likewise.
18855         * sysdeps/i386/i686/memset_chk.S: Moved to ...
18856         * sysdeps/i386/memset_chk.S: Likewise.
18858 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
18860         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
18861         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
18862         file, move DIAG_POP_NEEDS_COMMENT to end of file.
18863         * soft-fp/fmadf4.c: Ditto.
18864         * soft-fp/fmatf4.c: Ditto.
18866 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18868         * sysdeps/i386/i586/Implies: Removed.
18869         * sysdeps/i386/i686/Implies: Likewise.
18871 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18873         * sysdeps/i386/i486/strlen.S: Moved to ...
18874         * sysdeps/i386/strlen.S: Here.
18876 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18878         * sysdeps/i386/i486/strcat.S: Moved to ...
18879         * sysdeps/i386/strcat.S: Here.
18881 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18883         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
18884         * sysdeps/i386/pthread_spin_trylock.S: Here.
18885         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
18886         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
18888 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18890         * sysdeps/i386/i486/string-inlines.c: Moved to ...
18891         * sysdeps/i386/string-inlines.c: Here.
18893 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18895         * sysdeps/i386/i486/htonl.S: Moved ...
18896         * sysdeps/i386/htonl.S: here.
18898 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18900         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
18901         * sysdeps/i386/bits/atomic.h: Here.
18903 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18905         * sysdeps/i386/i486/Versions: Removed.
18907 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
18909         [BZ #2898]
18910         * misc/mktemp.c: Add mkdtemp to the link_warning message.
18911         Based on patch by Aurelien Jarno.
18913 2015-08-26  Stan Shebs  <stanshebs@google.com>
18915         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
18916         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
18918 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18920         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
18921         * sysdeps/powerpc/dl-procinfo.c:
18922         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
18923         feature so it shows when LD_SHOW_AUXV=1.
18925 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18927         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
18928         (__arch_compare_and_exchange_val_32_acq): Remove and use common
18929         definition.  ISA 2.07B no longer requires full sync.
18931 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
18933         [BZ #18863]
18934         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
18935         (si_call_addr): Define.
18936         (si_syscall): Define.
18937         (si_arch): Define.
18939 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
18941         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
18942         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
18943         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
18944         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
18945         (__memset_zero_constant_len_parameter): New.
18946         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
18947         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
18948         (__memset_zero_constant_len_parameter): Don't define if
18949         __memset_chk or USE_AS_BZERO are defined.
18951         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
18952         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
18953         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
18955         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
18956         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
18957         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
18958         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
18959         comments.
18960         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
18961         -mno-mmx for $(all-rtld-routines).
18962         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
18963         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
18964         i386.
18966 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
18968         * sysdeps/generic/unwind.h
18969         (_Unwind_Word): Use __mode__(__unwind_word__)
18970         instead of __mode__(__word__).
18971         (_Unwind_Sword): Likewise.
18973         * sysdeps/s390/s390-64/utf8-utf16-z9.c
18974         (MAX_NEEDED_INPUT): New define.
18975         (MAX_NEEDED_OUTPUT): New define.
18977         * NEWS: New item for IBM z13 string optimizations.
18979         * sysdeps/s390/multiarch/memrchr-c.c: New File.
18980         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
18981         * sysdeps/s390/multiarch/memrchr.c: Likewise.
18982         * sysdeps/s390/multiarch/Makefile
18983         (sysdep_routines): Add memrchr functions.
18984         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
18985         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
18987         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
18988         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
18989         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
18990         * sysdeps/s390/multiarch/Makefile
18991         (sysdep_routines): Add wmemcmp functions.
18992         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
18993         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
18994         * benchtests/bench-wmemcmp.c: New File.
18995         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
18997         * sysdeps/s390/multiarch/wmemset-c.c: New File.
18998         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
18999         * sysdeps/s390/multiarch/wmemset.c: Likewise.
19000         * sysdeps/s390/multiarch/Makefile
19001         (sysdep_routines): Add wmemset functions.
19002         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
19003         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
19004         * wcsmbs/wmemset.c: Use WMEMSET if defined.
19005         * string/test-memset.c: Add wmemset support.
19006         * wcsmbs/test-wmemset.c: New File.
19007         * wcsmbs/Makefile (strop-tests): Add wmemset.
19008         * benchtests/bench-memset.c: Add wmemset support.
19009         * benchtests/bench-wmemset.c: New File.
19010         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
19012         * sysdeps/s390/multiarch/memccpy-c.c: New File.
19013         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
19014         * sysdeps/s390/multiarch/memccpy.c: Likewise.
19015         * sysdeps/s390/multiarch/Makefile
19016         (sysdep_routines): Add memccpy functions.
19017         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
19018         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
19019         * string/memccpy.c: Use MEMCCPY if defined.
19021         * sysdeps/s390/multiarch/memchr-vx.S: New File.
19022         * sysdeps/s390/multiarch/memchr.c: Likewise.
19023         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
19024         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
19025         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
19026         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
19027         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
19028         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
19029         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
19030         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
19031         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
19032         and rawmemchr functions.
19033         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
19034         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
19035         and wmemchr.
19036         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
19037         * string/test-memchr.c: Add wmemchr support.
19038         * wcsmbs/test-wmemchr.c: New File.
19039         * wcsmbs/Makefile (strop-tests): Add wmemchr.
19040         * benchtests/bench-memchr.c: Add wmemchr support.
19041         * benchtests/bench-wmemchr.c: New File.
19042         * benchtests/Makefile (wcsmbs-bench): wmemchr.
19044         * sysdeps/s390/multiarch/strcspn-c.c: New File.
19045         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
19046         * sysdeps/s390/multiarch/strcspn.c: Likewise.
19047         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
19048         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
19049         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
19050         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
19051         wcscspn functions.
19052         * sysdeps/s390/multiarch/ifunc-impl-list.c
19053         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
19054         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
19055         * string/test-strcspn.c: Add wcscspn support.
19056         * wcsmbs/test-wcscspn.c: New File.
19057         * wcsmbs/Makefile (strop-tests): Add wcscspn.
19058         * benchtests/bench-strcspn.c: Add wcscspn support.
19059         * benchtests/bench-wcscspn.c: New File.
19060         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
19062         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
19063         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
19064         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
19065         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
19066         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
19067         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
19068         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
19069         wcspbrk functions.
19070         * sysdeps/s390/multiarch/ifunc-impl-list.c
19071         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
19072         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
19073         * string/test-strpbrk.c: Add wcspbrk support.
19074         * wcsmbs/test-wcspbrk.c: New File.
19075         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
19076         * benchtests/bench-strpbrk.c: Add wcspbrk support.
19077         * benchtests/bench-wcspbrk.c: New File.
19078         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
19080         * sysdeps/s390/multiarch/strspn-c.c: New File.
19081         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
19082         * sysdeps/s390/multiarch/strspn.c: Likewise.
19083         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
19084         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
19085         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
19086         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
19087         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
19088         wcsspn functions.
19089         * sysdeps/s390/multiarch/ifunc-impl-list.c
19090         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
19091         * string/test-strspn.c: Add wcsspn support.
19092         * wcsmbs/test-wcsspn.c: New File.
19093         * wcsmbs/Makefile (strop-tests): Add wcsspn.
19094         * benchtests/bench-strspn.c: Add wcsspn support.
19095         * benchtests/bench-wcsspn.c: New File.
19096         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
19098         * sysdeps/s390/multiarch/strrchr-c.c: New File.
19099         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
19100         * sysdeps/s390/multiarch/strrchr.c: Likewise.
19101         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
19102         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
19103         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
19104         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
19105         wcsrchr functions.
19106         * sysdeps/s390/multiarch/ifunc-impl-list.c
19107         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
19108         * benchtests/bench-wcsrchr.c: New File.
19109         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
19111         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
19112         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
19113         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
19114         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
19115         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
19116         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
19117         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
19118         wcschrnul functions.
19119         * sysdeps/s390/multiarch/ifunc-impl-list.c
19120         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
19121         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
19122         * string/test-strchr.c: Add wcschrnul support.
19123         * wcsmbs/test-wcschrnul.c: New File.
19124         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
19125         * benchtests/bench-strchr.c: Add wcschrnul support.
19126         * benchtests/bench-wcschrnul.c: New File.
19127         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
19129         * sysdeps/s390/multiarch/strchr-c.c: New File.
19130         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
19131         * sysdeps/s390/multiarch/strchr.c: Likewise.
19132         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
19133         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
19134         * sysdeps/s390/multiarch/wcschr.c: Likewise.
19135         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
19136         wcschr functions.
19137         * sysdeps/s390/multiarch/ifunc-impl-list.c
19138         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
19139         * string/strchr.c (STRCHR): Define and use macro.
19140         * benchtests/bench-wcschr.c: New File.
19141         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
19143         * sysdeps/s390/multiarch/strncmp-c.c: New File.
19144         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
19145         * sysdeps/s390/multiarch/strncmp.c: Likewise.
19146         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
19147         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
19148         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
19149         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
19150         wcsncmp functions.
19151         * sysdeps/s390/multiarch/ifunc-impl-list.c
19152         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
19153         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
19154         * benchtests/bench-strncmp.c: Add wcsncmp support.
19155         * benchtests/bench-wcsncmp.c: New File.
19156         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
19158         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
19159         * sysdeps/s390/multiarch/strcmp.c: Likewise.
19160         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
19161         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
19162         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
19163         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
19164         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
19165         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
19166         wcscmp functions.
19167         * sysdeps/s390/multiarch/ifunc-impl-list.c
19168         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
19169         * string/strcmp.c (STRCMP): Define and use macro.
19170         * benchtests/bench-wcscmp.c: New File.
19171         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
19172         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
19173         instead of _HAVE_STRING_ARCH_memchr.
19175         * sysdeps/s390/multiarch/strncat-c.c: New File.
19176         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
19177         * sysdeps/s390/multiarch/strncat.c: Likewise.
19178         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
19179         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
19180         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
19181         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
19182         wcsncat functions.
19183         * sysdeps/s390/multiarch/ifunc-impl-list.c
19184         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
19185         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
19186         * string/test-strncat.c: Add wcsncat support.
19187         * wcsmbs/test-wcsncat.c: New File.
19188         * wcsmbs/Makefile (strop-tests): Add wcsncat.
19189         * benchtests/bench-strncat.c: Add wcsncat support.
19190         * benchtests/bench-wcsncat.c: New File.
19191         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
19193         * sysdeps/s390/multiarch/strcat-c.c: New File.
19194         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
19195         * sysdeps/s390/multiarch/strcat.c: Likewise.
19196         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
19197         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
19198         * sysdeps/s390/multiarch/wcscat.c: Likewise.
19199         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
19200         wcscat functions.
19201         * sysdeps/s390/multiarch/ifunc-impl-list.c
19202         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
19203         * string/strcat.c (STRCAT): Define and use macro.
19204         * wcsmbs/wcscat.c: Use WCSCAT if defined.
19205         * string/test-strcat.c: Add wcscat support.
19206         * wcsmbs/test-wcscat.c: New File.
19207         * wcsmbs/Makefile (strop-tests): Add wcscat.
19208         * benchtests/bench-strcat.c: Add wcscat support.
19209         * benchtests/bench-wcscat.c: New File.
19210         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
19212         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
19213         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
19214         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
19215         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
19216         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
19217         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
19218         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
19219         wcpncpy functions.
19220         * sysdeps/s390/multiarch/ifunc-impl-list.c
19221         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
19222         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
19223         * string/test-stpncpy.c: Add wcpncpy support.
19224         * wcsmbs/test-wcpncpy.c: New File.
19225         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
19226         * benchtests/bench-stpncpy.c: Add wcpncpy support.
19227         * benchtests/bench-wcpncpy.c: New File.
19228         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
19230         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
19231         * sysdeps/s390/multiarch/strncpy.c: Likewise.
19232         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
19233         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
19234         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
19235         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
19236         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
19237         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
19238         wcsncpy functions.
19239         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
19240         * sysdeps/s390/multiarch/ifunc-impl-list.c
19241         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
19242         * string/test-strncpy.c: Add wcsncpy support.
19243         * wcsmbs/test-wcsncpy.c: New File.
19244         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
19245         * benchtests/bench-strncpy.c: Add wcsncpy support.
19246         * benchtests/bench-wcsncpy.c: New File.
19247         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
19249         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
19250         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
19251         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
19252         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
19253         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
19254         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
19255         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
19256         wcpcpy functions.
19257         * string/stpcpy.c: Use STPCPY if defined.
19258         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
19259         * sysdeps/s390/multiarch/ifunc-impl-list.c
19260         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
19261         * string/test-stpcpy.c: Add wcpcpy support.
19262         * wcsmbs/test-wcpcpy.c: New File.
19263         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
19264         * benchtests/bench-stpcpy.c: Add wcpcpy support.
19265         * benchtests/bench-wcpcpy.c: New File.
19266         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
19268         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
19269         * sysdeps/s390/multiarch/strcpy.c: Likewise.
19270         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
19271         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
19272         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
19273         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
19274         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
19275         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
19276         wcscpy functions.
19277         * sysdeps/s390/multiarch/ifunc-impl-list.c
19278         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
19279         * benchtests/bench-wcscpy.c: New File.
19280         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
19282         * sysdeps/s390/multiarch/strnlen-c.c: New File.
19283         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
19284         * sysdeps/s390/multiarch/strnlen.c: Likewise.
19285         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
19286         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
19287         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
19288         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
19289         wcsnlen functions.
19290         * sysdeps/s390/multiarch/ifunc-impl-list.c
19291         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
19292         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
19293         * string/test-strnlen.c: Add wcsnlen support.
19294         * wcsmbs/test-wcsnlen.c: New File.
19295         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
19296         * benchtests/bench-strnlen.c: Add wcsnlen support.
19297         * benchtests/bench-wcsnlen.c: New File.
19298         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
19300         * sysdeps/s390/multiarch/Makefile: New File.
19301         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
19302         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
19303         * sysdeps/s390/multiarch/strlen.c: Likewise.
19304         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
19305         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
19306         * sysdeps/s390/multiarch/wcslen.c: Likewise.
19307         * string/strlen.c (STRLEN): Define and use macro.
19308         * sysdeps/s390/multiarch/ifunc-impl-list.c
19309         (IFUNC_VX_IMPL): New macro function.
19310         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
19311         * benchtests/Makefile (wcsmbs-bench): New variable.
19312         (string-bench-all): Added wcsmbs-bench.
19313         * benchtests/bench-wcslen.c: New File.
19315         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
19316         s390_vx_libc_ifunc2): New macro function.
19318         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
19319         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
19320         assembler support.
19321         * sysdeps/s390/configure: Regenerated.
19323         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
19324         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
19326         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
19327         * sysdeps/s390/dl-procinfo.h: Add vector capability.
19328         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
19330         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
19331         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
19332         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
19333         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
19334         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
19335         (memcmp, bcmp): Use __memcmp_default as alias source.
19336         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
19337         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
19338         Rename to __memcmp_default.
19339         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
19340         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
19341         (memcpy): Use __memcpy_default as alias source.
19342         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
19343         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
19344         Rename to __memcpy_default.
19345         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
19346         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
19347         (memset): Use __memset_default as alias source.
19348         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
19349         * sysdeps/s390/s390-32/memset.S (__memset_g5):
19350         Rename to __memset_default.
19351         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
19352         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
19353         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
19354         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
19355         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
19356         (memcmp, bcmp): Use __memcmp_default as alias source.
19357         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
19358         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
19359         Rename to __memcmp_default.
19360         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
19361         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
19362         (memcpy): Use __memcpy_default as alias source.
19363         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
19364         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
19365         Rename to __memcpy_default.
19366         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
19367         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
19368         (memset): Use __memset_default as alias source.
19369         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
19370         * sysdeps/s390/s390-64/memset.S (__memset_z900):
19371         Rename to __memset_default.
19372         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
19373         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
19375         [BZ #18610]
19376         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
19377         __ieee_instruction_pointer to __unused.
19378         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
19379         __ieee_instruction_pointer.
19380         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
19381         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
19382         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
19383         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
19384         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
19385         Mark dxc-field as reserved.
19387 2015-08-25  Roland McGrath  <roland@hack.frob.com>
19389         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
19390         if the weak reference is not null.
19392 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
19394         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
19396         [BZ #11214]
19397         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
19399 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19401         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
19402         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
19403         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
19404         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
19405         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
19406         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
19407         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
19408         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
19409         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
19410         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
19411         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
19412         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
19413         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
19414         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
19415         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
19416         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
19417         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
19418         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
19420 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19422         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
19423         register other than r0 for tabort, it has special meaning.
19424         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
19425         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
19426         transaction before starting syscall.
19428 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19430         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
19432 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
19434         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
19436         * sysdeps/x86_64/rtld-memcmp.c: Removed.
19437         * sysdeps/x86_64/rtld-memset.S: Likewise.
19438         * sysdeps/x86_64/rtld-strchr.S: Likewise.
19439         * sysdeps/x86_64/rtld-strlen.S: Likewise.
19440         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
19441         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
19443         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
19445 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
19447         * debug/strcpy_chk.c: Improve performance.
19448         * debug/stpcpy_chk.c: Likewise.
19449         * sysdeps/x86_64/strcpy_chk.S: Remove.
19450         * sysdeps/x86_64/stpcpy_chk.S: Remove.
19452         [BZ #18240]
19453         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
19455 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
19457         [BZ #15128]
19458         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
19459         ifuncmain8.
19460         (modules-names): Add ifuncmod8.
19461         ($(objpfx)ifuncmain8): New rule.
19462         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
19463         <cpuid.h>.
19464         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
19465         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
19466         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
19467         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
19468         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
19469         * sysdeps/x86_64/dl-trampoline.h: Likewise.
19470         * sysdeps/x86_64/ifuncmain8.c: New file.
19471         * sysdeps/x86_64/ifuncmod8.c: Likewise.
19472         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
19473         Removed.
19474         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
19475         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
19476         Change rtld_savespace_sse to __glibc_unused2.
19477         (RTLD_CHECK_FOREIGN_CALL): Removed.
19478         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
19479         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
19480         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
19482 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
19484         * sysdeps/aarch64/bzero.S (__bzero): Remove.
19486 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
19488         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
19489         Unconditionally set __fpcr to avoid uninialized warning.
19490         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
19492 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19494         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
19495         is corrupt.
19497         * malloc/arena.c (arena_get2): Drop unused argument.
19498         (arena_lock): Adjust.
19499         (arena_get_retry): Likewise.
19501 2015-08-24  Andreas Schwab  <schwab@suse.de>
19503         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
19504         Don't define.
19505         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
19506         (__ASSUME_IPC64): Don't undef.
19507         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
19508         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19509         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19510         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
19511         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
19512         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
19513         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
19514         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
19515         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
19516         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
19517         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
19518         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
19519         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
19520         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
19521         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
19522         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
19523         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
19524         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
19525         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
19526         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
19527         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
19529 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
19531         * manual/Makefile (install): Only build manual when perl is available.
19533 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19535         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
19536         '#undef memcpy' by '#undef memchr'.
19538 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19540         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
19541         memchr not point to the internal __GI_memchr implementation.
19543 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
19545         * timezone/Makefile (CFLAGS-zdump.c): Remove
19546         -Wno-strict-prototypes.
19547         (CFLAGS-zic.c): Likewise.
19548         (CFLAGS-ialloc.c): Likewise.
19549         (CFLAGS-scheck.c): Likewise.
19551         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
19552         -Wno-error=undef.
19554 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
19556         * i386/i686/multiarch/strcasestr-c.c: Removed.
19557         * x86_64/multiarch/strcasestr.c: Likewise.
19558         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19559         Remove strcasestr.
19561 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
19563         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
19565         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
19566         variables for high and low parts before possibly modifying them.
19568 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
19570         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
19571         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
19572         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
19573         of "multiarch/init-arch.h".
19574         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
19575         * sysdeps/x86/init-arch.h: This.
19577 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
19579         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
19580         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
19582 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
19584         [BZ #17787]
19585         * manual/macros.texi: Add twoexp macro.
19586         * manual/filesys.texi: Fix exponents.
19587         * manual/llio.texi: Likewise.
19588         * manual/stdio.texi: Likewise.
19590 2015-08-20  Florian Weimer  <fweimer@redhat.com>
19592         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
19593         incorrect use.
19595 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
19597         [BZ #18370]
19598         * math/s_csqrt.c (__csqrt): Force underflow exception for results
19599         whose real or imaginary part has small absolute value.
19600         * math/s_csqrtf.c (__csqrtf): Likewise.
19601         * math/s_csqrtl.c (__csqrtl): Likewise.
19602         * math/auto-libm-test-in: Add more tests of csqrt.
19603         * math/auto-libm-test-out: Regenerated.
19604         * sysdeps/i386/fpu/libm-test-ulps: Update.
19606 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
19608         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
19609         __ppc_set_ppr_very_low): New functions.
19610         * manual/platform.texi: Add documentation about
19611         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
19613 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
19615         * string/stpncpy.c (stpncpy): Improve performance using
19616         __strnlen/memcpy/memset.
19618 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
19620         [BZ #18796]
19621         * scripts/test-installation.pl: Don't add -lmvec to build options if
19622         libmvec wasn't built.
19624 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
19626         [BZ #14341]
19627         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
19628         case when there is a gap between DT_REL and DT_JMPREL sections.
19629         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
19630         (LDFLAGS-tst-split-dynreloc): New.
19631         (tst-split-dynreloc-ENV): Likewise.
19632         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
19633         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
19635 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
19637         [BZ #18822]
19638         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
19639         attribute_hidden.
19640         (__xstat64_conv): Likewise.
19641         (__xstat32_conv): Likewise.
19643 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
19645         [BZ #18822]
19646         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
19647         Don't load %ebx when calling __setcontext.  Call __setcontext
19648         with HIDDEN_JUMPTARGET.
19649         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
19650         libc_hidden_def.
19652 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
19654         * sysdeps/i386/i686/Makefile
19655         [$(subdir) == string] (sysdep_routines): Moved to ...
19656         * sysdeps/i386/Makefile: Here.
19657         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
19658         * sysdeps/i386/cacheinfo.c: Here.
19659         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
19660         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
19661         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
19662         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
19664 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
19666         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
19667         __i586__ is defined.
19668         (HAS_I686): Defined to 1 if __i686__ is defined.
19670 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
19672         * elf/Makefile [$(have-z-execstack) = yes]
19673         (CPPFLAGS-tst-execstack.c): New variable.
19675         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
19676         conditional to [defined UTMPX || _HAVE_UT_TYPE].
19677         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
19678         UTMPX || _HAVE_UT_TV].
19679         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
19680         UTMPX || _HAVE_UT_TV - 0].
19682 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
19684         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
19685         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
19686         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
19688 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19690         * sysdeps/powerpc/dl-procinfo.c:
19691         (_dl_powerpc_cap_flags): Added missing strings for some
19692         hwcap features.
19693         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
19695 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
19697         Port the 0x7efe...feff pattern to GCC 6.
19698         See Steve Ellcey's bug report in:
19699         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
19700         * string/memrchr.c (MEMRCHR):
19701         * string/rawmemchr.c (RAWMEMCHR):
19702         * string/strchr.c (strchr):
19703         * string/strchrnul.c (STRCHRNUL):
19704         Rewrite code to avoid issues with signed shift overflow.
19706 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
19708         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
19709         whether cpuid is available only if HAS_CPUID is 0.
19710         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
19711         (HAS_I586): Likewise.
19712         (HAS_I686): Likewise.
19714 2015-08-18  Zack Weinberg  <zackw@panix.com>
19716         * misc/Versions (libc): Add GLIBC_2.23.
19718 2015-08-18  Alan Modra  <amodra@gmail.com>
19720         [BZ #18421]
19721         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
19722         .Lp__global.
19723         (_start): Load %dp via .Lp__global.
19724         [!SHARED]: Use .section .rodata.
19726 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19728         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
19729         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
19731 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19733         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
19734         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
19736 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19738         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
19739         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
19741 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19743         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
19744         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
19746 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19748         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
19749         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
19751 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19753         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
19754         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
19756 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19758         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
19760 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19762         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
19763         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
19764         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19765         (__ASSUME_LWS_CAS): Delete.
19767 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19769         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
19770         * sysdeps/hppa/configure: Regenerated.
19771         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
19772         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
19773         * sysdeps/hppa/nptl/tls.h: Likewise.
19775 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
19777         [BZ #18823]
19778         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
19779         for scaling up small arguments.
19780         * math/s_csqrtf.c (__csqrtf): Likewise.
19781         * math/s_csqrtl.c (__csqrtl): Likewise.
19782         * math/auto-libm-test-in: Add more tests of csqrt.
19783         * math/auto-libm-test-out: Regenerated.
19785 2015-08-17  Andreas Schwab  <schwab@suse.de>
19787         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
19788         version set GLIBC_2.19.
19790 2015-08-16  Zack Weinberg  <zackw@panix.com>
19792         [BZ #18681]
19793         * misc/regexp.h: This interface is no longer supported.
19794         Remove all contents, leaving only an #error directive.
19795         * misc/regexp.c (loc1, loc2, locs, step, advance):
19796         Demote to compatibility symbols.
19798 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
19800         [BZ #18084]
19801         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
19802         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
19803         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
19804         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
19805         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
19806         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
19807         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
19808         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
19809         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
19811 2015-08-15  Zack Weinberg  <zackw@panix.com>
19813         [BZ #18795]
19814         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
19815         buffer length is known to be too large, not if it's known to be
19816         small enough.
19817         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
19818         overflow at runtime, involving a length parameter, twice: once
19819         with a compile-time constant length parameter, once without.
19821 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
19823         [BZ #18824]
19824         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
19825         scaling x * y up instead of down.
19826         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19827         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19828         * math/auto-libm-test-in: Add more tests of fma.
19829         * math/auto-libm-test-out: Regenerated.
19831 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
19833         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19835 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19837         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
19838         unnecessary movq.
19839         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
19840         Likewise.
19842 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
19844         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
19845         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
19846         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
19847         and tgamma.
19848         * math/auto-libm-test-out: Regenerated.
19849         * sysdeps/i386/fpu/libm-test-ulps: Update.
19850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19852         [BZ #16520]
19853         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
19854         (__tanh): Force underflow exception for arguments with small
19855         absolute value.
19856         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
19857         (__tanhf): Force underflow exception for arguments with small
19858         absolute value.
19859         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
19860         (__tanhl): Force underflow exception for arguments with small
19861         absolute value.
19862         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
19863         (__tanhl): Force underflow exception for arguments with small
19864         absolute value.
19865         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
19866         (__tanhl): Force underflow exception for arguments with small
19867         absolute value.
19868         * math/auto-libm-test-in: Add more tests of tanh.
19869         * math/auto-libm-test-out: Regenerated.
19870         * sysdeps/i386/fpu/libm-test-ulps: Update.
19872 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
19874         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
19875         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
19877 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
19879         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
19880         <cpuid.h>.
19882 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
19884         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
19885         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
19887 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
19889         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
19890         Remove $(objpfx)init-arch.o.
19891         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
19892         init-arch.
19893         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
19894         (INIT_ARCH_EXT): Defined as empty.
19895         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
19896         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
19897         __init_cpu_features call.  Replace HAS_XXX with
19898         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
19899         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
19900         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
19901         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
19902         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
19903         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
19904         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
19905         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
19906         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
19907         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
19908         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
19909         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
19910         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
19911         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
19912         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
19913         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
19914         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
19915         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
19916         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
19917         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
19918         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
19919         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
19920         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
19921         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
19922         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
19923         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
19924         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
19925         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
19926         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
19927         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
19928         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
19929         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
19930         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
19931         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
19932         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
19933         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
19935 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
19937         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
19938         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
19939         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
19940         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
19941         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
19942         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
19943         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
19944         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
19945         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
19946         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
19947         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
19948         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
19949         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
19950         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19951         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19952         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19953         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19954         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19955         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19956         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19957         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19958         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19959         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19960         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19961         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19962         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19963         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19964         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19965         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19966         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19967         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19968         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19969         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19970         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19971         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19972         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19973         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19974         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19975         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19976         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19977         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19978         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19979         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19981 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
19983         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
19984         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
19985         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
19986         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19987         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19988         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
19989         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19990         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
19991         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
19992         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19993         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19994         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
19995         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
19996         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
19997         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
19998         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
19999         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
20000         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
20001         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
20002         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
20003         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
20004         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
20005         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
20006         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20007         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20008         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
20009         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
20010         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
20011         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
20012         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
20013         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
20014         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
20015         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
20016         * sysdeps/x86_64/multiarch/memset.S: Likewise.
20017         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20018         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
20019         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
20020         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20021         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
20022         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
20023         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
20024         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
20025         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
20027 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20029         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
20030         (dl_platform_init): Call init_cpu_features.
20031         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
20032         * sysdeps/i386/i686/cacheinfo.c
20033         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
20034         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
20035         * sysdeps/i386/i686/multiarch/Versions: Removed.
20036         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
20037         Removed.
20038         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
20039         * sysdeps/unix/sysv/linux/x86/Makefile
20040         (libpthread-sysdep_routines): Remove init-arch.
20041         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
20042         <sysdeps/x86_64/dl-procinfo.c> instead of
20043         sysdeps/generic/dl-procinfo.c>.
20044         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
20045         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
20046         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
20047         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
20048         [$(subdir) == elf] (tests-static): Add
20049         tst-get-cpu-features-static.
20050         * sysdeps/x86/Versions: New file.
20051         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
20052         * sysdeps/x86/cpu-features.c: Likewise.
20053         * sysdeps/x86/cpu-features.h: Likewise.
20054         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
20055         * sysdeps/x86/libc-start.c: Likewise.
20056         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
20057         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
20058         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
20059         * sysdeps/x86_64/dl-procinfo.c: Likewise.
20060         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
20061         Assume USE_MULTIARCH is defined and don't check it.
20062         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
20063         (is_amd): Likewise.
20064         (max_cpuid): Likewise.
20065         (intel_check_word): Likewise.
20066         (__cache_sysconf): Don't call __init_cpu_features.
20067         (__x86_preferred_memory_instruction): Removed.
20068         (init_cacheinfo): Don't call __init_cpu_features. Replace
20069         __cpu_features with GLRO(dl_x86_cpu_features).
20070         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
20071         (dl_platform_init): Call init_cpu_features.
20072         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
20073         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
20074         * sysdeps/x86_64/multiarch/Versions: Removed.
20075         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
20076         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
20077         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
20078         Removed.
20079         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
20081 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
20083         [BZ #18820]
20084         * libio/Makefile (test-fmemopen-mem): New test.
20085         * libio/test-fmemopen.c (do_bz18820): New test.
20086         * libio/fmemopen.c (__fmemopen): Fix memory leak.
20087         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
20089 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
20091         [BZ #16734]
20092         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
20093         (FREE_BUF): Delete.
20094         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
20095         * libio/genops.c (_IO_setb): Use malloc and free directly.
20096         (_IO_default_doallocate, _IO_default_finish): Likewise.
20097         ( _IO_unbuffer_all): Likewise.
20098         ( libc_freeres_fn): Likewise.
20099         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
20100         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
20101         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
20102         (_IO_wdefault_doallocate): Likewise.
20104 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
20106         [BZ #18086]
20107         * sysdeps/posix/nice.c (nice): Restore old errno.
20108         * posix/tst-nice.c (do_test): Add test for BZ #18086.
20110 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
20112         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
20114 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20116         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
20117         __bcopy and add a weak_alias to bcopy.
20118         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
20119         for static build.
20121         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
20122         cleanup macro usage.
20123         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
20124         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
20125         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
20126         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
20127         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
20128         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
20129         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
20130         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
20131         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
20132         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
20133         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
20134         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
20135         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
20136         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
20137         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
20138         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
20139         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
20140         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
20141         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
20143         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
20144         libc_hidden_def.
20145         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
20147         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
20148         (sysdep_routines): Add strstr-ppc64.
20149         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
20151 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
20153         [BZ #18778]
20154         * elf/Makefile (tests): Add Add tst-nodelete2.
20155         (modules-names): Add tst-nodelete2mod.
20156         (tst-nodelete2mod.so-no-z-defs): New.
20157         ($(objpfx)tst-nodelete2): Likewise.
20158         ($(objpfx)tst-nodelete2.out): Likewise.
20159         (LDFLAGS-tst-nodelete2): Likewise.
20160         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
20161         out of loop through all loaded libraries.
20162         * elf/tst-nodelete2.c: New file.
20163         * elf/tst-nodelete2mod.c: Likewise.
20164         * elf/tst-znodelete-zlib.cc: Delete.
20166 2015-08-11  Andreas Schwab  <schwab@suse.de>
20168         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
20169         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
20170         (__openat64_nocancel): Likewise.
20172 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
20174         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
20175         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
20176         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
20177         * math/auto-libm-test-out: Regenerated.
20178         * sysdeps/i386/fpu/libm-test-ulps: Update.
20179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20181 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
20183         [BZ #18790]
20184         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
20185         threshold for returning +/- 1.
20186         * math/auto-libm-test-in: Add more tests of tanh.
20187         * math/auto-libm-test-out: Regenerated.
20188         * sysdeps/i386/fpu/libm-test-ulps: Update.
20190 2015-08-10  Andreas Schwab  <schwab@suse.de>
20192         [BZ #18781]
20193         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
20194         MORE_OFLAGS to oflag.
20195         * io/test-lfs.c (do_test): Test openat64.
20197 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
20199         [BZ #18789]
20200         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
20201         smaller threshold for returning the argument.
20202         * math/auto-libm-test-in: Add more tests of sinh.
20203         * math/auto-libm-test-out: Regenerated.
20204         * sysdeps/i386/fpu/libm-test-ulps: Update.
20206 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
20208         [BZ #18674]
20209         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
20210         break.
20212 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
20214         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
20215         (generated): Don't add $(addprefix z.,$(tzfiles)).
20217 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
20219         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
20220         * scripts/sysd-rules.awk: Likewise.
20222 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
20224         * iconvdata/tst-tables.sh: Change echo -n to printf.
20225         * nss/db-Makefile: Likewise.
20226         * posix/tst-getconf.sh: Likewise.
20227         * stdio-common/tst-unbputc.sh: Likewise.
20229 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
20231         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
20232         MADV_*_PAGES defines behind this feature check.
20234 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
20236         [BZ #18480]
20237         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
20238         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
20239         Define.
20240         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
20241         LOAD_REGS_5, LOAD_REGS_6): Update.
20242         (INTERNAL_SYSCALL): Update using new LOAD defines.
20243         (INTERNAL_SYSCALL_NCS): Likewise.
20244         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
20246 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
20248         [BZ #16734]
20249         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
20251 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
20253         [BZ #17905]
20254         * catgets/Makefile (tst-catgets-mem): New test.
20255         * catgets/catgets.c (catopen): Don't use unbounded alloca.
20256         * catgets/open_catalog.c (__open_catalog): Likewise.
20257         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
20259 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
20261         [BZ #18787]
20262         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
20263         clobber registers.
20264         (atomic_compare_and_exchange_val_acq): Use register asms to assign
20265         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
20266         Cast return to __typeof (oldval).
20268 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
20270         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
20271         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
20272         and delete sys/syscall.h include.
20274 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
20276         [BZ #16517]
20277         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
20278         (tan): Force underflow exception for arguments with small absolute
20279         value.
20280         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
20281         (__kernel_tanf): Force underflow exception for arguments with
20282         small absolute value.
20283         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
20284         (__kernel_tanl): Force underflow exception for arguments with
20285         small absolute value.
20286         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
20287         (__kernel_tanl): Force underflow exception for arguments with
20288         small absolute value.
20289         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
20290         (__kernel_tanl): Force underflow exception for arguments with
20291         small absolute value.
20292         * math/auto-libm-test-in: Add more tests of tan.
20293         * math/auto-libm-test-out: Regenerated.
20295 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20297         Fix sysdeps/i386/fpu/s_scalbn.S build
20299         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
20301 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
20303         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
20305 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20307         Fix gcrt0.o compilation
20309         When static-start-installed-name is different from
20310         start-installed-name, we must not use the shared objects.
20312         * csu/Makefile
20313         (extra-objs): Add gmon-start.o when building shared library and
20314         $(static-start-installed-name) is different from
20315         $(start-installed-name).
20316         $(objpfx)g$(static-start-installed-name): When building shared
20317         library and $(static-start-installed-name) is different from
20318         $(static-start-installed-name), revert to non-shared rule,
20319         i.e. using $(objpfx)% and gmon-start.o.
20321 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
20323         [BZ #16519]
20324         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
20325         (__ieee754_sinh): Force underflow exception for arguments with
20326         small absolute value.
20327         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
20328         (__ieee754_sinhf): Force underflow exception for arguments with
20329         small absolute value.
20330         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
20331         (__ieee754_sinhl): Force underflow exception for arguments with
20332         small absolute value.
20333         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
20334         (__ieee754_sinhl): Force underflow exception for arguments with
20335         small absolute value.
20336         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
20337         (__ieee754_sinhl): Force underflow exception for arguments with
20338         small absolute value.
20339         * math/auto-libm-test-in: Add more tests of sinh.
20340         * math/auto-libm-test-out: Regenerated.
20341         * sysdeps/i386/fpu/libm-test-ulps: Update.
20343 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
20345         * libio/oldfileops.c: Include unistd.h.
20347 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
20349         * stdlib/isomac.c: Include ctype.h.
20351 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
20353         * dirent/tst-seekdir.c (main): Converted to ...
20354         (do_test): ... this.
20355         (TEST_FUNCTION): New macro.
20356         Include test-skeleton.c.
20357         * elf/tst-dlmodcount.c (main): Converted to ...
20358         (do_test): ... this.
20359         (TEST_FUNCTION): New macro.
20360         Include test-skeleton.c.
20361         * elf/tst-order-main.c (main): Converted to ...
20362         (do_test): ... this.
20363         (TEST_FUNCTION): New macro.
20364         Include test-skeleton.c.
20365         * elf/tst-pie2.c (main): Converted to ...
20366         (do_test): ... this.
20367         (TEST_FUNCTION): New macro.
20368         Include test-skeleton.c.
20369         * inet/tst-ether_aton.c (main): Converted to ...
20370         (do_test): ... this.
20371         (TEST_FUNCTION): New macro.
20372         Include test-skeleton.c.
20373         * misc/tst-mntent.c (main): Converted to ...
20374         (do_test): ... this.
20375         (TEST_FUNCTION): New macro.
20376         Include test-skeleton.c.
20377         * misc/tst-tsearch.c (main): Converted to ...
20378         (do_test): ... this.
20379         (TEST_FUNCTION): New macro.
20380         Include test-skeleton.c.
20381         * posix/tst-regexloc.c (main): Converted to ...
20382         (do_test): ... this.
20383         (TEST_FUNCTION): New macro.
20384         Include test-skeleton.c.
20385         * resolv/tst-aton.c (main): Converted to ...
20386         (do_test): ... this.
20387         (TEST_FUNCTION): New macro.
20388         Include test-skeleton.c.
20389         * stdio-common/test-fwrite.c (main): Converted to ...
20390         (do_test): ... this.
20391         (TEST_FUNCTION): New macro.
20392         Include test-skeleton.c.
20393         * stdio-common/tst-ferror.c (main): Converted to ...
20394         (do_test): ... this.
20395         (TEST_FUNCTION): New macro.
20396         Include test-skeleton.c.
20397         * stdio-common/tst-printf.c (main): Converted to ...
20398         (do_test): ... this.
20399         (TEST_FUNCTION): New macro.
20400         Include test-skeleton.c.
20401         * stdio-common/tst-printfsz.c (main): Converted to ...
20402         (do_test): ... this.
20403         (TEST_FUNCTION): New macro.
20404         Include test-skeleton.c.
20405         * stdlib/tst-strtod.c (main): Converted to ...
20406         (do_test): ... this.
20407         (TEST_FUNCTION): New macro.
20408         Include test-skeleton.c.
20409         * string/tst-strlen.c (main): Converted to ...
20410         (do_test): ... this.
20411         (TEST_FUNCTION): New macro.
20412         Include test-skeleton.c.
20413         * string/tst-svc.c (main): Converted to ...
20414         (do_test): ... this.
20415         (TEST_FUNCTION): New macro.
20416         Include test-skeleton.c.
20417         * time/tst-strptime.c (main): Converted to ...
20418         (do_test): ... this.
20419         (TEST_FUNCTION): New macro.
20420         Include test-skeleton.c.
20421         * timezone/tst-timezone.c (main): Converted to ...
20422         (do_test): ... this.
20423         (TEST_FUNCTION): New macro.
20424         Include test-skeleton.c.
20426 2015-08-05  Zack Weinberg  <zackw@panix.com>
20428         * misc/regexp.h: Update comments.
20430 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
20432         [BZ #18635]
20433         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
20434         before return label.
20436 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20438         [BZ #18661]
20439         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
20440         when calling __errno_location.
20441         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
20442         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
20444 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20446         [BZ #18661]
20447         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
20448         (__lll_timedwait_tid): Align stack to 16 bytes when calling
20449         __gettimeofday.
20451 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20453         [BZ #18661]
20454         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
20455         (__start_context): Don't use pop to restore %rdi so that stack
20456         is aligned to 16 bytes when calling __setcontext.
20458 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20460         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
20461         only for libc.
20462         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
20464 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20466         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
20467         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
20468         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
20470 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20472         * string/memccpy.c (memccpy):
20473         Improve performance by using memchr/memcpy/__mempcpy.
20475 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20477         * string/strncpy.c (strncpy):
20478         Improve performance by using __strnlen/memcpy.
20480 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20482         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
20483         Optimize to avoid an unnecessary FPCR read.
20485 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20487         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
20488         Optimize to reduce FPCR/FPSR accesses.
20490 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20492         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
20493         dead->data[category] != NULL.
20495 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
20497         [BZ #18647]
20498         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
20499         and |x| close to 1, use absolute value of x when computing log.
20500         * math/auto-libm-test-in: Add more tests of pow.
20501         * math/auto-libm-test-out: Regenerated.
20503 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20505         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
20506         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
20507         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
20509 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
20511         [BZ #18525]
20512         * locales/km_KH: Remove timezone definition.
20513         * locales/lo_LA: Likewise.
20514         * locales/my_MM: Likewise.
20515         * locales/nan_TW@latin: Likewise.
20516         * locales/th_TH: Likewise.
20517         * locales/uk_UA: Likewise.
20519 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
20521         [BZ #18265]
20522         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
20523         (wcsncat): Likewise.
20524         (wcscmp): Likewise.
20525         (wcsncmp): Likewise.
20527 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
20529         * test-skeleton.c (usage): New function.
20530         (main): Call usage when opt is '?'.
20532 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
20534         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
20535         before first use.
20537 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
20539         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
20540         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
20541         in there too.
20543 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
20545         * version.h (RELEASE): Set to "development".
20546         (VERSION): Set to "2.22.90"
20548         * version.h (RELEASE): Set to "stable".
20549         (VERSION): Set to "2.22"
20550         * include/features.h (__GLIBC_MINOR__): Set to 22.
20552 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
20554         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
20555         Restructure macro to avoid "value computed is not used" warning.
20556         (atomic_compare_and_exchange_val_acq): Likewise.
20558 2015-08-04  Andreas Schwab  <schwab@suse.de>
20560         [BZ #18635]
20561         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
20562         ret.
20563         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
20565 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
20567         * po/pl.po: Updated translation.
20568         * po/uk.po: Likewise.
20569         * po/fi.po: Likewise.
20570         * po/ko.po: Likewise.
20571         * po/ru.po: Likewise.
20572         * po/vi.po: Likewise.
20574 2015-07-31  Zack Weinberg  <zackw@panix.com>
20576         [BZ #18681]
20577         * regexp.h: Add unconditional #warning stating that this header
20578         will be removed soon.  Revise banner comment to match.
20579         (compile): Consistently use ERROR instead of RETURN to report
20580         errors (partial fix for bz#18681).
20581         * regexp.c: Don't include regexp.h. Remove some unnecessary
20582         declarations.
20584 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
20586         * po/libc.pot: Regenerated.
20588 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
20590         [BZ #18740]
20591         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
20592         float-vlen4-arch-ext-cflags): Removed.
20593         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
20594         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
20596 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
20598         [BZ #14113]
20599         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
20600         aligned to __aligned__.
20601         (pthread_cond_t, pthread_rwlock_t): Likewise.
20603 2015-07-30  Torvald Riegel  <triegel@redhat.com>
20605         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
20607 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
20609         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
20610         (struct sigaction): Change sa_flags from a long to an int, and add
20611         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
20613 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
20615         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
20616         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
20617         sysdeps/generic/sysdep.h include.
20618         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
20619         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
20620         sysdeps/hppa/sysdep.h.
20621         (ENTRY, PSEUDO): Undefine before defining.
20623 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
20625         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
20626         from scratch to use INTERNAL_SYSCALL.
20628 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
20630         [BZ #18078]
20631         * scripts/check-localplt.awk: Support alternate relocations.
20632         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
20633         sections.
20634         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
20635         malloc entries with + REL R_386_GLOB_DAT.
20636         * sysdeps/x86_64/localplt.data: New file.
20638 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
20640         [BZ #18731]
20641         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
20642         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20643         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20645 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
20647         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
20649 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
20651         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
20652         directly in terms of __sync_fetch_and_add and delete (int) cast.
20654 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
20656         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
20657         the -D_ASM_IA64_CURRENT_H flag.
20659 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
20661         [BZ #18641]
20662         * pwd/pwd.h (putpwent): Delete __nonnull markings.
20664 2015-07-27  Andreas Schwab  <schwab@suse.de>
20666         * conform/conformtest.pl (checknamespace): Filter out string
20667         literals while tokenizing.
20669 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
20671         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
20672         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
20673         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
20675 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
20677         * nptl/tst-join7mod.c: Add #include <string.h>.
20679 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
20681         * sysdeps/nios2/libm-test-ulps: Update.
20683 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
20685         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
20686         Fix order of arguments to the rt_sigprocmask syscall.
20687         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
20688         Likewise.
20690 2015-07-24  Roland McGrath  <roland@hack.frob.com>
20692         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
20694 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20696         [BZ #18457]
20697         * nptl/Makefile (tests): New test case tst-join7.
20698         (modules-names): New test case module tst-join7mod.
20699         * nptl/tst-join7.c: New file.
20700         * nptl/tst-join7mod.c: New file.
20701         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
20702         all translation units in libc.so, libpthread.so and rtld.
20704 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20706         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20708 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
20710         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
20711         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
20712         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
20713         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
20714         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
20715         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
20716         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
20717         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
20718         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
20719         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
20720         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
20721         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
20722         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
20723         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
20724         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
20725         implementation.
20727 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20729         [BZ #17711]
20730         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
20731         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
20732         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
20733         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
20734         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
20735         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
20737 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20739         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
20740         instead of just saying load lock in the comments.
20742 2015-07-23  Roland McGrath  <roland@hack.frob.com>
20744         * sysdeps/unix/Subdirs: Moved ...
20745         * sysdeps/posix/Subdirs: ... here.
20746         * login/pty.h (struct termios, struct winsize): Add forward decls.
20747         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
20748         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
20749         * sysdeps/arm/nacl/libc.abilist: Updated.
20750         * sysdeps/nacl/libutil.abilist: New file.
20752         * bits/signum.h: Update comments to mention 1003.1-2013 too.
20753         (SIGWINCH): New macro.
20755         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
20756         * sysdeps/arm/nacl/libc.abilist: Add it.
20758 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
20760         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
20762 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
20764         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
20765         Swap __glibc_reserved0 and sa_flags order.
20767 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
20769         [BZ #18657]
20770         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
20771         are pending TLS destructor calls.
20772         * include/link.h (struct link_map): Add concurrency note for
20773         L_TLS_DTOR_COUNT.
20774         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
20775         Don't touch the link map flag.  Atomically increment
20776         l_tls_dtor_count.
20777         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
20778         Avoid taking the load lock and don't touch the link map flag.
20779         * stdlib/tst-tls-atexit-nodelete.c: New test case.
20780         * stdlib/Makefile (tests): Use it.
20781         * stdlib/tst-tls-atexit.c (do_test): dlopen
20782         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
20783         to allow tst-tls-atexit-nodelete test case to use it.
20785 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
20787         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
20788         to bits/types.h.
20789         (msgqnum_t): New typedef.
20790         (msglen_t): Likewise.
20791         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
20792         and msg_qbytes type to msglen_t.
20794 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
20796         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
20797         pad0 to __glibc_reserved0.
20798         (struct stat64): Likewise.
20800 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
20802         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
20803         Change sa_flags from a long to an int and add __glibc_reserved0 before
20804         it for padding.
20806 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
20808         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
20809         anonymous by deleting "siginfo" name.
20811 2015-07-21  Roland McGrath  <roland@hack.frob.com>
20813         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
20814         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
20815         rather than __nacl_irt_filename.
20816         * sysdeps/nacl/xstat.c (__xstat): Likewise.
20818         * NEWS: New item for arm-nacl port.
20819         * sysdeps/arm/nacl/libc.abilist: New file.
20820         * sysdeps/nacl/ld.abilist: New file.
20821         * sysdeps/nacl/libBrokenLocale.abilist: New file.
20822         * sysdeps/nacl/libanl.abilist: New file.
20823         * sysdeps/nacl/libcrypt.abilist: New file.
20824         * sysdeps/nacl/libdl.abilist: New file.
20825         * sysdeps/nacl/libm.abilist: New file.
20826         * sysdeps/nacl/libpthread.abilist: New file.
20827         * sysdeps/nacl/libresolv.abilist: New file.
20828         * sysdeps/nacl/librt.abilist: New file.
20830 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
20832         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
20833         __startcontext to initialize the new context.
20834         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
20835         up CFI directive to forbid further backtracing.
20837 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
20839         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
20840         reference.
20841         * charmaps/ANSI_X3.4-1968: Likewise.
20842         * charmaps/BS_4730: Likewise.
20843         * charmaps/BS_VIEWDATA: Likewise.
20844         * charmaps/CP1250: Likewise.
20845         * charmaps/CP1251: Likewise.
20846         * charmaps/CP1252: Likewise.
20847         * charmaps/CP1253: Likewise.
20848         * charmaps/CP1254: Likewise.
20849         * charmaps/CP1255: Likewise.
20850         * charmaps/CP1256: Likewise.
20851         * charmaps/CSN_369103: Likewise.
20852         * charmaps/EBCDIC-DK-NO: Likewise.
20853         * charmaps/GB_1988-80: Likewise.
20854         * charmaps/GREEK-CCITT: Likewise.
20855         * charmaps/GREEK7: Likewise.
20856         * charmaps/INIS-8: Likewise.
20857         * charmaps/ISIRI-3342: Likewise.
20858         * charmaps/ISO_2033-1983: Likewise.
20859         * charmaps/ISO_5427-EXT: Likewise.
20860         * locales/POSIX: Likewise.
20861         * locales/ar_SA: Likewise.
20862         * locales/be_BY: Likewise.
20863         * locales/be_BY@latin: Likewise.
20864         * locales/ca_ES: Likewise.
20865         * locales/cs_CZ: Likewise.
20866         * locales/da_DK: Likewise.
20867         * locales/de_BE: Likewise.
20868         * locales/de_CH: Likewise.
20869         * locales/de_LU: Likewise.
20870         * locales/en_AU: Likewise.
20871         * locales/en_BW: Likewise.
20872         * locales/en_CA: Likewise.
20873         * locales/en_DK: Likewise.
20874         * locales/en_GB: Likewise.
20875         * locales/en_IE: Likewise.
20876         * locales/en_NZ: Likewise.
20877         * locales/en_ZA: Likewise.
20878         * locales/en_ZW: Likewise.
20879         * locales/es_AR: Likewise.
20880         * locales/es_BO: Likewise.
20881         * locales/es_CL: Likewise.
20882         * locales/es_CO: Likewise.
20883         * locales/es_DO: Likewise.
20884         * locales/es_EC: Likewise.
20885         * locales/es_ES: Likewise.
20886         * locales/es_HN: Likewise.
20887         * locales/es_MX: Likewise.
20888         * locales/es_PA: Likewise.
20889         * locales/es_PE: Likewise.
20890         * locales/es_PY: Likewise.
20891         * locales/es_SV: Likewise.
20892         * locales/es_US: Likewise.
20893         * locales/es_UY: Likewise.
20894         * locales/es_VE: Likewise.
20895         * locales/et_EE: Likewise.
20896         * locales/fa_IR: Likewise.
20897         * locales/fo_FO: Likewise.
20898         * locales/fr_CA: Likewise.
20899         * locales/fr_CH: Likewise.
20900         * locales/gv_GB: Likewise.
20901         * locales/he_IL: Likewise.
20902         * locales/hr_HR: Likewise.
20903         * locales/id_ID: Likewise.
20904         * locales/is_IS: Likewise.
20905         * locales/it_CH: Likewise.
20906         * locales/iw_IL: Likewise.
20907         * locales/kl_GL: Likewise.
20908         * locales/ko_KR: Likewise.
20909         * locales/kw_GB: Likewise.
20910         * locales/lg_UG: Likewise.
20911         * locales/lt_LT: Likewise.
20912         * locales/lv_LV: Likewise.
20913         * locales/mi_NZ: Likewise.
20914         * locales/nhn_MX: Likewise.
20915         * locales/nl_BE: Likewise.
20916         * locales/pl_PL: Likewise.
20917         * locales/sk_SK: Likewise.
20918         * locales/sl_SI: Likewise.
20919         * locales/sv_FI: Likewise.
20920         * locales/tl_PH: Likewise.
20921         * locales/tr_TR: Likewise.
20922         * locales/vi_VN: Likewise.
20924 2015-07-21  Khem Raj  <raj.khem@gmail.com>
20926         [BZ #17475]
20927         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
20928         of tu_IN and bh_IN.
20930 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
20932         [BZ #18694]
20933         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
20934         bits/wordsize.h.
20935         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
20937 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20939         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
20940         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
20941         (spawn_thread): New function.
20942         (load): Rename to reg_dtor_and_close.  Move dlopen to...
20943         (do_test): ... here.  Use IS_LOADED to test for its
20944         availability.
20946 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
20948         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
20950 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
20952         [BZ #18696]
20953         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
20954         si_addr_bnd.
20955         (si_lower): New.
20956         (si_upper): Likewise.
20958 2015-07-16  David S. Miller  <davem@davemloft.net>
20960         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
20962 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20964         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
20965         buffer.
20966         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
20967         fail output information.
20969 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20971         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
20972         and strstr-ppc64..
20973         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
20974         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
20975         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
20976         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
20977         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
20979 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
20981         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
20982         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
20983         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
20984         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
20986 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
20988         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
20989         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
20990         rtld_hidden_proto.
20991         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
20993 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20995         * tst-nodelete-opened.c (do_test): Add comment to clarify how
20996         the test can fail.
20998         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
21000         [BZ #18676]
21001         * elf/tst-nodelete-opened.c: New test case.
21002         * elf/tst-nodelete-opened-lib.c: New test case module.
21003         * elf/Makefile (tests, modules-names): Use them.
21004         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
21005         early.
21007 2015-07-15  David S. Miller  <davem@davemloft.net>
21009         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
21010         futex-intenal.h
21011         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
21012         * sysdeps/sparc/sparc64/Makefile: Likewise.
21013         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
21014         Remove space from macro define.
21015         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
21017 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
21019         [BZ #17475]
21020         * locale/iso-639.def: Update Bhili and Tulu language codes as
21021         per iso639-3.
21023 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
21025         * elf/tst-leaks1.c (main): Converted to ...
21026         (do_test): ... this.
21027         (TEST_FUNCTION): New macro.
21028         Include test-skeleton.c.
21029         * localedata/tst-langinfo.c (main): Converted to ...
21030         (do_test): ... this.
21031         (TEST_FUNCTION): New macro.
21032         Include test-skeleton.c.
21033         * math/test-fpucw.c (main): Converted to ...
21034         (do_test): ... this.
21035         (TEST_FUNCTION): New macro.
21036         Include test-skeleton.c.
21037         * math/test-tgmath.c (main): Converted to ...
21038         (do_test): ... this.
21039         (TEST_FUNCTION): New macro.
21040         Include test-skeleton.c.
21041         * math/test-tgmath2.c (main): Converted to ...
21042         (do_test): ... this.
21043         (TEST_FUNCTION): New macro.
21044         Include test-skeleton.c.
21045         * setjmp/tst-setjmp.c (main): Converted to ...
21046         (do_test): ... this.
21047         (TEST_FUNCTION): New macro.
21048         Include test-skeleton.c.
21049         * stdio-common/tst-sscanf.c (main): Converted to ...
21050         (do_test): ... this.
21051         (TEST_FUNCTION): New macro.
21052         Include test-skeleton.c.
21053         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
21054         (do_test): ... this.
21055         (TEST_FUNCTION): New macro.
21056         Include test-skeleton.c.
21058         * elf/tst-audit9.c (main): Converted to ...
21059         (do_test): ... this.
21060         (TEST_FUNCTION): New macro.
21061         Include test-skeleton.c.
21063 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
21065         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
21067 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
21069         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
21070         New variable.
21072 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
21074         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21076 2015-07-14  Roland McGrath  <roland@hack.frob.com>
21078         * sysdeps/generic/dl-fileid.h: New file.
21079         * sysdeps/posix/dl-fileid.h: New file.
21080         * sysdeps/nacl/dl-fileid.h: New file.
21081         * include/link.h: Include <dl-fileid.h>.
21082         (struct link_map): Replace l_dev and l_ino with l_file_id.
21083         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
21084         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
21085         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
21087 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21089         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
21091 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21093         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
21094         Add iff $CXX is set.
21095         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
21096         Likewise.
21097         (tst-nodelete-zmodiff): Likewise.
21098         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
21100 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21102         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
21104 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
21106         * sysdeps/aarch64/fpu/math_private.h
21107         (define math_opt_barrier): Add AArch64 version.
21108         (math_force_eval): Likewise.
21110 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
21112         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
21114 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
21116         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
21117         %ld with %jd and cast to intmax_t.
21118         (do_test_length_zero): Likewise.
21120 2015-07-10  Roland McGrath  <roland@hack.frob.com>
21122         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
21124 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
21126         * sysdeps/tile/libm-test-ulps: Regenerated.
21128         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
21129         Comment out the whole function, not just its body.
21131 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21133         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
21134         locks.
21136         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
21138 2015-07-10  Torvald Riegel  <triegel@redhat.com>
21140         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
21141         (sem_assume_only_signals_cause_futex_EINTR): Remove.
21143 2015-07-10  Torvald Riegel  <triegel@redhat.com>
21145         * sysdeps/nptl/futex-internal.h: New file.
21146         * sysdeps/nacl/futex-internal.h: New file.
21147         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
21148         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
21149         error checking.
21150         (setxid_unmark_thread): Likewise.
21151         (__nptl_setxid): Likewise.
21152         (__wait_lookup_done): Likewise.
21153         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
21154         * nptl/nptl-init.c (sighandler_setxid): Likewise.
21155         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
21156         * nptl/pthread_once.c (clear_once_control): Likewise.
21157         (__pthread_once_slow): Likewise.
21158         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
21159         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
21160         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
21161         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
21162         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
21163         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
21164         Likewise.
21165         (__pthread_rwlock_rdlock): Likewise.
21166         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
21167         Likewise.
21168         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
21169         Likewise.
21170         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
21171         Likewise.
21172         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
21173         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
21174         Likewise.
21175         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
21176         __ASSUME_PRIVATE_FUTEX check.
21177         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
21178         Check that shared futexes are supported.
21179         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
21180         wrappers with error checking.
21181         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
21182         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
21183         * nptl/pthread_barrierattr_setpshared.c
21184         (pthread_barrierattr_setpshared): Check that shared futexes are
21185         supported.
21186         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
21187         Likewise.
21188         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
21189         Likewise.
21190         * nptl/sem_init.c (futex_private_if_supported): Remove.
21191         (__new_sem_init): Adapt and check that shared futexes are supported.
21192         * nptl/sem_open.c (sem_open): Likewise.
21193         * nptl/sem_post.c (futex_wake): Remove.
21194         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
21195         (do_futex_wait): Use futex wrappers with error checking.
21196         * nptl/sem_wait.c: Include lowlevellock.h.
21197         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
21198         Use futex_supports_pshared.
21199         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
21200         Use futex wrappers with error checking.
21201         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
21202         Likewise.
21203         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
21204         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
21205         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
21206         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
21207         (futex_wake): Likewise.
21208         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
21209         (do_futex_wait): Use futex wrappers with error checking.
21210         (__new_sem_wait_slow): Update EINTR handling.
21211         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
21213 2015-07-09  Martin Sebor  <msebor@redhat.com>
21215         [BZ #18435]
21216         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
21217         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
21218         * nptl/Makefile (test-xfail-tst-once5): Define.
21220 2015-07-09  Roland McGrath  <roland@hack.frob.com>
21222         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
21223         * elf/dl-minimal.c: For readability, reorder some definitions and
21224         introduce more page breaks.  Include <stdio.h>.
21225         (__libc_fatal): New function.
21227         * include/unistd.h: Add rtld_hidden_proto for _exit.
21228         * posix/_exit.c: Add rtld_hidden_def.
21229         * sysdeps/mach/hurd/_exit.c: Likewise.
21230         * sysdeps/nacl/_exit.c: Likewise.
21231         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
21232         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
21234 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
21236         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
21237         bndmov encoding with zero displacement.
21239 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
21240             H.J. Lu  <hongjiu.lu@intel.com>
21242         [BZ #18134]
21243         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
21244         * sysdeps/i386/configure: Regenerated.
21245         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
21246         (_dl_runtime_profile): Save and restore Intel MPX return bound
21247         registers when calling _dl_call_pltexit.  Add
21248         PRESERVE_BND_REGS_PREFIX before return.
21249         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
21250         (LRV_BND1_OFFSET): Likewise.
21251         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
21252         lrv_bnd1.
21253         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
21254         typo in bndmov encoding.
21255         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
21256         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
21257         branch instructions to preserve bounds.
21259 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
21262         [GLIBC_2.22]: Add fmemopen.
21264 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21266         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
21267         returns an error, also try to use host port from __mach_host_self for
21268         the __vm_wire call.
21269         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
21271 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21273         [BZ #18400]
21274         [BZ #18648]
21275         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
21276         Fix pr_uid and pr_gid members.
21277         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
21278         definition to elf_greg_t.
21280 2015-07-08  Roland McGrath  <roland@hack.frob.com>
21282         [BZ #18383]
21283         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
21284         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
21285         * sysdeps/arm/configure: Regenerated.
21286         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
21287         (test-xfail-tst-tlsalign-static): Variable removed.
21289         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
21290         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
21291         rather than explicit 'ln -s'.
21293         * resolv/rpc/netdb.h: New file.
21294         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
21296 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21298         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
21299         length buffers.
21300         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
21301         test-skeleton.c.
21303         [BZ #6544]
21304         [BZ #11216]
21305         [BZ #12836]
21306         [BZ #13151]
21307         [BZ #13152]
21308         [BZ #14292]
21309         * include/stdio.h (fmemopen): Remove hidden prototype.
21310         (__fmemopen): Add new hidden prototype.
21311         * libio/Makefile: Add oldfmemopen object.
21312         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
21313         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
21314         compliance.
21315         * libio/oldfmemopen.c: New file: old fmemopen implementation for
21316         symbol compatibility.
21317         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
21318         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
21319         fmemopen.
21320         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
21321         on append and read mode.
21322         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
21323         fmemopen.
21324         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
21325         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
21326         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
21327         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
21328         Likewise.
21329         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
21330         [GLIBC_2.22]: Likewise.
21331         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
21332         Likewise.
21333         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
21334         Likewise.
21335         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
21336         [GLIBC_2.22]: Likewise.
21337         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
21338         [GLIBC_2.22]: Likewise.
21339         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
21340         [GLIBC_2.22]: Likewise.
21341         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
21342         [GLIBC_2.22]: Likewise.
21343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
21344         [GLIBC_2.22]: Likewise.
21345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
21346         [GLIBC_2.22]: Likewise.
21347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
21348         [GLIBC_2.22]: Likewise.
21349         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
21350         Likewise.
21351         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
21352         Likewise.
21353         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
21354         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
21355         [GLIBC_2.22]: Likewise.
21356         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
21357         [GLIBC_2.22]: Likewise.
21358         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
21359         [GLIBC_2.22]: Likewise.
21360         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
21361         [GLIBC_2.22]: Likewise.
21362         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
21363         Likewise.
21364         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
21365         Likewise.
21366         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
21367         Likewise.
21368         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
21369         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
21371 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
21373         [BZ #18643]
21374         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
21375         IPV6_PATHMTU, and IPV6_DONTFRAG.
21377 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
21379         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
21380         and _IO_UNBUFFERED.
21381         * libio/oldfileops.c: Likewise.
21382         * libio/wfileops.c: Likewise.
21384 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
21386         * nscd/selinux.c: Delete selinux/flask.h include.
21388 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
21390         [BZ #18641]
21391         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
21392         (putpwent): Likewise.
21393         (getpwnam): Likewise.
21394         (getpwent_r): Likewise.
21395         (getpwuid_r): Likewise.
21396         (getpwnam_r): Likewise.
21397         (fgetpwent_r): Likewise.
21399 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
21401         [BZ #18557]
21402         * inet/rcmd.c (__validuser2_sa): Check user first to
21403         short-circuit host check.
21405 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
21406             Mikhail Ilin  <m.ilin@samsung.com>
21408         [BZ #17833]
21409         * elf/Makefile (tests): Add tst-nodelete.
21410         (modules-names): Add tst-nodelete-uniquemod.
21411         (tst-nodelete-uniquemod.so-no-z-defs): New.
21412         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
21413         (tst-nodelete-zmod.so-no-z-defs): Likewise.
21414         ($(objpfx)tst-nodelete): Likewise.
21415         ($(objpfx)tst-nodelete.out): Likewise.
21416         (LDFLAGS-tst-nodelete): Likewise.
21417         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
21418         * elf/dl-close.c (_dl_close_worker): Add a parameter to
21419         implement forced object deletion.
21420         (_dl_close): Pass false to _dl_close_worker.
21421         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
21422         * elf/tst-nodelete.cc: New file.
21423         * elf/tst-nodeletelib.cc: Likewise.
21424         * elf/tst-znodeletelib.cc: Likewise.
21425         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
21427 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
21429         [BZ #18508]
21430         * stdlib/Makefile ($(objpfx)tst-makecontext3):
21431         Depend on $(libdl).
21432         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
21433         is not called infinitely times.
21434         (backtrace_helper): New function.
21435         (trace_arg): New struct.
21436         (st1): Enlarge stack size.
21437         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21438         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
21439         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21440         Likewise.
21442 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
21444         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21446 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
21448         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
21449         Include sys/types.h instead of bits/types.h.
21450         Remove inclusion of bits/wordsize.h.
21452 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
21454         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
21455         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
21456         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
21457         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
21458         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
21459         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
21461 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
21463         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
21464         link-defines.sym.
21465         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
21466         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
21467         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
21468         and LR_SIZE.
21469         * sysdeps/i386/link-defines.sym: New file.
21471 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
21473         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
21474         (modules-names): Add tst-auditmod3a tst-auditmod3b.
21475         ($(objpfx)tst-audit3): New rule.
21476         ($(objpfx)tst-audit3.out): Likewise.
21477         * sysdeps/i386/tst-audit3.c: New file.
21478         * sysdeps/i386/tst-audit3.h: Likewise.
21479         * sysdeps/i386/tst-auditmod3a.c: Likewise.
21480         * sysdeps/i386/tst-auditmod3b.c: Likewise.
21482 2015-07-07  Torvald Riegel  <triegel@redhat.com>
21484         [BZ #18633]
21485         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
21486         pointer in C code.
21487         (__strcat_c): Likewise.
21488         (__strcat_g): Likewise.
21490 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
21492         [BZ #18592]
21493         * misc/sbrk.c: Set errno to ENOMEM on overflow.
21495 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
21497         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
21498         New function.  (__ieee754_sqrtf): New function.
21499         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
21500         New function.
21501         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
21502         New function.
21504 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
21506         * sysdeps/ieee754/support.c: Remove unused file.
21508 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21510         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
21511         registers instead of d ones so the layout is kernel abi compatible.
21512         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
21513         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
21514         Likewise.
21516 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21518         * sysdeps/aarch64/libm-test-ulps: Regenerated.
21520 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
21522         [BZ #18619]
21523         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
21524         and return argument in case of subnormal argument.
21526 2015-07-01  Martin Sebor  <msebor@redhat.com>
21528         [BZ #18435]
21529         * nptl/Makefile: Add tst-once5.cc.
21530         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
21531         Remove macro redefinitions.
21532         * nptl/tst-once5.cc: New test.
21534 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
21536         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
21538         * sysdeps/arm/libm-test-ulps: Regenerated.
21540         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
21541         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21543 2015-06-30  Torvald Riegel  <triegel@redhat.com>
21545         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
21546         lll_lock_wait_private and lll_futex_wake probes.
21548         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
21549         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
21550         Likewise.
21551         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
21552         atomic_spin_nop.
21553         * sysdeps/x86_64/bits/atomic.h: Likewise.
21554         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
21555         to atomic_spin_nop and move ...
21556         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
21557         ... here and ...
21558         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
21559         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
21560         atomic_spin_nop instead of BUSY_WAIT_NOP.
21561         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
21562         Likewise.
21563         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
21564         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
21565         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
21566         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
21567         instead of atomic_delay.
21569 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
21571         [BZ #18613]
21572         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
21573         X_ADJ not X when adjusting exponent.
21574         (__ieee754_gamma_r): Do intermediate computations in
21575         round-to-nearest then adjust overflowing and underflowing results
21576         as needed.
21577         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
21578         of X_ADJ not X when adjusting exponent.
21579         (__ieee754_gammaf_r): Do intermediate computations in
21580         round-to-nearest then adjust overflowing and underflowing results
21581         as needed.
21582         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
21583         log of X_ADJ not X when adjusting exponent.
21584         (__ieee754_gammal_r): Do intermediate computations in
21585         round-to-nearest then adjust overflowing and underflowing results
21586         as needed.  Use 1.0L not 1.0f as numerator of division.
21587         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
21588         log of X_ADJ not X when adjusting exponent.
21589         (__ieee754_gammal_r): Do intermediate computations in
21590         round-to-nearest then adjust overflowing and underflowing results
21591         as needed.  Use 1.0L not 1.0f as numerator of division.
21592         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
21593         of X_ADJ not X when adjusting exponent.
21594         (__ieee754_gammal_r): Do intermediate computations in
21595         round-to-nearest then adjust overflowing and underflowing results
21596         as needed.  Use 1.0L not 1.0f as numerator of division.
21597         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
21598         to auto-libm-test-in.
21599         (tgamma_test): Use ALL_RM_TEST.
21600         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
21601         tests of tgamma with spurious-overflow.
21602         * math/auto-libm-test-out: Regenerated.
21603         * math/gen-libm-have-vector-test.sh: Do not check for START.
21604         * sysdeps/i386/fpu/libm-test-ulps: Update.
21605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21607         [BZ #18612]
21608         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
21609         arguments, just return 0.5 times the argument, with underflow
21610         forced as needed.
21611         * math/auto-libm-test-in: Add more tests of j1.
21612         * math/auto-libm-test-out: Regenerated.
21614         [BZ #16559]
21615         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
21616         (__ieee754_j1): Force underflow exception for small results.
21617         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
21618         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
21619         (__ieee754_j1f): Force underflow exception for small results.
21620         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
21621         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
21622         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21623         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
21624         (__ieee754_j1l): Force underflow exception for small results.
21625         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
21626         * math/auto-libm-test-in: Add more tests of j1 and jn.
21627         * math/auto-libm-test-out: Regenerated.
21629         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
21630         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
21631         (PF_MPLS): Likewise.
21632         (AF_IB): Likewise.
21633         (AF_MPLS): Likewise.
21634         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
21635         value and macro.
21636         (MS_RMT_MASK): Include MS_LAZYTIME.
21638 2015-06-26  Mel Gorman  <mgorman@suse.de>
21640         [BZ #18502]
21641         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
21642         already minimal.
21644 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
21646         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
21647         (DT_MIPS_NUM): Update.
21648         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
21649         DT_MIPS_RLD_MAP_REL.
21651 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
21653         [BZ #16559]
21654         [BZ #18602]
21655         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
21656         round-to-nearest internally then recompute results that
21657         underflowed to zero in the original rounding mode.
21658         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
21659         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
21660         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21661         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
21662         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
21663         * sysdeps/i386/fpu/libm-test-ulps: Update.
21664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21666 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
21668         * NEWS: Fixed description of link with vector math library.
21670 2015-06-25  Andreas Schwab  <schwab@suse.de>
21672         [BZ #18549]
21673         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
21674         * libio/test-fmemopen.c (do_test): Add test for it.
21676 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
21678         [BZ #17841]
21679         * Makeconfig (no-pie-ldflag): New.
21680         (+link): Set to $(+link-pie) if default to PIE.
21681         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
21682         * config.make.in (build-pie-default): New.
21683         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
21684         is default.  AC_SUBST.
21685         * configure: Regenerated.
21686         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
21688 2015-06-24  Roland McGrath  <roland@hack.frob.com>
21690         * nptl/descr.h (struct pthread): Change type of field setxid_futex
21691         to 'unsigned int'.
21693         * resolv/gai_misc.h (struct waitlist): Change type of field
21694         counterp to 'volatile unsigned int *'.
21695         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
21696         FUTEXADDR and OLDVAL.
21697         * resolv/getaddrinfo_a.c (getaddrinfo_a):
21698         Give local variable TOTAL type 'volatile unsigned int'.
21699         (struct async_waitlist): Change type of field counter to 'unsigned int'.
21700         * resolv/gai_suspend.c (gai_suspend):
21701         Give local variable CNTR type 'unsigned int'.
21703         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
21704         counterp to 'volatile unsigned int *'.
21705         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
21706         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
21707         (aio_suspend): Give local variable CNTR type 'unsigned int'.
21708         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
21709         Give local variable TOTAL type 'volatile unsigned int'.
21710         (struct async_waitlist): Change type of field counter to 'unsigned int'.
21712 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
21714         [BZ #18383]
21715         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
21716         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
21717         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
21718         comment for i386/x86-64.
21719         (test-xfail-tst-tlsalign-extern-static): Removed.
21721 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
21723         * math/test-double.h: New file.
21724         * math/test-float.h: Likewise.
21725         * math/test-ldouble.h: Likewise.
21726         * math/test-math-inline.h: Likewise.
21727         * math/test-math-no-inline.h: Likewise.
21728         * math/test-math-scalar.h: Likewise.
21729         * math/test-math-vector.h: Likewise.
21730         * math/test-vec-loop.h: Remove file.  Contents moved into
21731         test-math-vector.h.
21732         * math/libm-test.inc (MATHCONST): Do not document macro.
21733         * math/test-double.c: Include test-double.h, test-math-no-inline.h
21734         and test-math-scalar.h.
21735         (FUNC): Remove macro.
21736         (FUNC_TEST): Likewise.
21737         (FLOAT): Likewise.
21738         (MATHCONST): Likewise.
21739         (PRINTF_EXPR): Likewise.
21740         (PRINTF_XEXPR): Likewise.
21741         (PRINTF_NEXPR): Likewise.
21742         (TEST_DOUBLE): Likewise.
21743         (TEST_MATHVEC): Likewise.
21744         (__NO_MATH_INLINES): Likewise.
21745         * math/test-float.c: Include test-float.h, test-math-no-inline.h
21746         and test-math-scalar.h.
21747         (FUNC): Remove macro.
21748         (FUNC_TEST): Likewise.
21749         (FLOAT): Likewise.
21750         (MATHCONST): Likewise.
21751         (PRINTF_EXPR): Likewise.
21752         (PRINTF_XEXPR): Likewise.
21753         (PRINTF_NEXPR): Likewise.
21754         (TEST_FLOAT): Likewise.
21755         (TEST_MATHVEC): Likewise.
21756         (__NO_MATH_INLINES): Likewise.
21757         * math/test-idouble.c: Include test-double.h, test-math-inline.h
21758         and test-math-scalar.h.
21759         (FUNC): Remove macro.
21760         (FUNC_TEST): Likewise.
21761         (FLOAT): Likewise.
21762         (MATHCONST): Likewise.
21763         (PRINTF_EXPR): Likewise.
21764         (PRINTF_XEXPR): Likewise.
21765         (PRINTF_NEXPR): Likewise.
21766         (TEST_DOUBLE): Likewise.
21767         (TEST_MATHVEC): Likewise.
21768         (TEST_INLINE): Likewise.
21769         (__NO_MATH_INLINES): Likewise.
21770         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
21771         test-math-scalar.h.
21772         (FUNC): Remove macro.
21773         (FUNC_TEST): Likewise.
21774         (FLOAT): Likewise.
21775         (MATHCONST): Likewise.
21776         (PRINTF_EXPR): Likewise.
21777         (PRINTF_XEXPR): Likewise.
21778         (PRINTF_NEXPR): Likewise.
21779         (TEST_FLOAT): Likewise.
21780         (TEST_MATHVEC): Likewise.
21781         (TEST_INLINE): Likewise.
21782         (__NO_MATH_INLINES): Likewise.
21783         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
21784         and test-math-scalar.h.
21785         (FUNC): Remove macro.
21786         (FUNC_TEST): Likewise.
21787         (FLOAT): Likewise.
21788         (MATHCONST): Likewise.
21789         (PRINTF_EXPR): Likewise.
21790         (PRINTF_XEXPR): Likewise.
21791         (PRINTF_NEXPR): Likewise.
21792         (TEST_LDOUBLE): Likewise.
21793         (TEST_MATHVEC): Likewise.
21794         (TEST_INLINE): Likewise.
21795         (__NO_MATH_INLINES): Likewise.
21796         * math/test-ldouble.c: Include test-ldouble.h,
21797         test-math-no-inline.h and test-math-scalar.h.
21798         (FUNC): Remove macro.
21799         (FUNC_TEST): Likewise.
21800         (FLOAT): Likewise.
21801         (MATHCONST): Likewise.
21802         (PRINTF_EXPR): Likewise.
21803         (PRINTF_XEXPR): Likewise.
21804         (PRINTF_NEXPR): Likewise.
21805         (TEST_LDOUBLE): Likewise.
21806         (TEST_MATHVEC): Likewise.
21807         (__NO_MATH_INLINES): Likewise.
21808         * math/test-double-vlen2.h: Include test-double.h,
21809         test-math-no-inline.h and test-math-vector.h.
21810         (FLOAT): Remove macro.
21811         (FUNC): Likewise.
21812         (MATHCONST): Likewise.
21813         (PRINTF_EXPR): Likewise.
21814         (PRINTF_XEXPR): Likewise.
21815         (PRINTF_NEXPR): Likewise.
21816         (TEST_DOUBLE): Likewise.
21817         (TEST_MATHVEC): Likewise.
21818         (__NO_MATH_INLINES): Likewise.
21819         (CNCT): Likewise.
21820         (CONCAT): Likewise.
21821         (WRAPPER_NAME): Likewise.
21822         (WRAPPER_DECL): Likewise.
21823         (WRAPPER_DECL_ff): Likewise.
21824         (WRAPPER_DECL_fFF): Likewise.
21825         (VECTOR_WRAPPER): Likewise.
21826         (VECTOR_WRAPPER_ff): Likewise.
21827         (VECTOR_WRAPPER_fFF): Likewise.
21828         (VEC_LEN): New macro.
21829         * math/test-double-vlen4.h: Include test-double.h,
21830         test-math-no-inline.h and test-math-vector.h.
21831         (FLOAT): Remove macro.
21832         (FUNC): Likewise.
21833         (MATHCONST): Likewise.
21834         (PRINTF_EXPR): Likewise.
21835         (PRINTF_XEXPR): Likewise.
21836         (PRINTF_NEXPR): Likewise.
21837         (TEST_DOUBLE): Likewise.
21838         (TEST_MATHVEC): Likewise.
21839         (__NO_MATH_INLINES): Likewise.
21840         (CNCT): Likewise.
21841         (CONCAT): Likewise.
21842         (WRAPPER_NAME): Likewise.
21843         (WRAPPER_DECL): Likewise.
21844         (WRAPPER_DECL_ff): Likewise.
21845         (WRAPPER_DECL_fFF): Likewise.
21846         (VECTOR_WRAPPER): Likewise.
21847         (VECTOR_WRAPPER_ff): Likewise.
21848         (VECTOR_WRAPPER_fFF): Likewise.
21849         (VEC_LEN): New macro.
21850         * math/test-double-vlen8.h: Include test-double.h,
21851         test-math-no-inline.h and test-math-vector.h.
21852         (FLOAT): Remove macro.
21853         (FUNC): Likewise.
21854         (MATHCONST): Likewise.
21855         (PRINTF_EXPR): Likewise.
21856         (PRINTF_XEXPR): Likewise.
21857         (PRINTF_NEXPR): Likewise.
21858         (TEST_DOUBLE): Likewise.
21859         (TEST_MATHVEC): Likewise.
21860         (__NO_MATH_INLINES): Likewise.
21861         (CNCT): Likewise.
21862         (CONCAT): Likewise.
21863         (WRAPPER_NAME): Likewise.
21864         (WRAPPER_DECL): Likewise.
21865         (WRAPPER_DECL_ff): Likewise.
21866         (WRAPPER_DECL_fFF): Likewise.
21867         (VECTOR_WRAPPER): Likewise.
21868         (VECTOR_WRAPPER_ff): Likewise.
21869         (VECTOR_WRAPPER_fFF): Likewise.
21870         (VEC_LEN): New macro.
21871         * math/test-float-vlen4.h: Include test-float.h,
21872         test-math-no-inline.h and test-math-vector.h.
21873         (FLOAT): Remove macro.
21874         (FUNC): Likewise.
21875         (MATHCONST): Likewise.
21876         (PRINTF_EXPR): Likewise.
21877         (PRINTF_XEXPR): Likewise.
21878         (PRINTF_NEXPR): Likewise.
21879         (TEST_FLOAT): Likewise.
21880         (TEST_MATHVEC): Likewise.
21881         (__NO_MATH_INLINES): Likewise.
21882         (CNCT): Likewise.
21883         (CONCAT): Likewise.
21884         (WRAPPER_NAME): Likewise.
21885         (WRAPPER_DECL): Likewise.
21886         (WRAPPER_DECL_ff): Likewise.
21887         (WRAPPER_DECL_fFF): Likewise.
21888         (VECTOR_WRAPPER): Likewise.
21889         (VECTOR_WRAPPER_ff): Likewise.
21890         (VECTOR_WRAPPER_fFF): Likewise.
21891         (VEC_LEN): New macro.
21892         * math/test-float-vlen8.h: Include test-float.h,
21893         test-math-no-inline.h and test-math-vector.h.
21894         (FLOAT): Remove macro.
21895         (FUNC): Likewise.
21896         (MATHCONST): Likewise.
21897         (PRINTF_EXPR): Likewise.
21898         (PRINTF_XEXPR): Likewise.
21899         (PRINTF_NEXPR): Likewise.
21900         (TEST_FLOAT): Likewise.
21901         (TEST_MATHVEC): Likewise.
21902         (__NO_MATH_INLINES): Likewise.
21903         (CNCT): Likewise.
21904         (CONCAT): Likewise.
21905         (WRAPPER_NAME): Likewise.
21906         (WRAPPER_DECL): Likewise.
21907         (WRAPPER_DECL_ff): Likewise.
21908         (WRAPPER_DECL_fFF): Likewise.
21909         (VECTOR_WRAPPER): Likewise.
21910         (VECTOR_WRAPPER_ff): Likewise.
21911         (VECTOR_WRAPPER_fFF): Likewise.
21912         (VEC_LEN): New macro.
21913         * math/test-float-vlen16.h: Include test-float.h,
21914         test-math-no-inline.h and test-math-vector.h.
21915         (FLOAT): Remove macro.
21916         (FUNC): Likewise.
21917         (MATHCONST): Likewise.
21918         (PRINTF_EXPR): Likewise.
21919         (PRINTF_XEXPR): Likewise.
21920         (PRINTF_NEXPR): Likewise.
21921         (TEST_FLOAT): Likewise.
21922         (TEST_MATHVEC): Likewise.
21923         (__NO_MATH_INLINES): Likewise.
21924         (CNCT): Likewise.
21925         (CONCAT): Likewise.
21926         (WRAPPER_NAME): Likewise.
21927         (WRAPPER_DECL): Likewise.
21928         (WRAPPER_DECL_ff): Likewise.
21929         (WRAPPER_DECL_fFF): Likewise.
21930         (VECTOR_WRAPPER): Likewise.
21931         (VECTOR_WRAPPER_ff): Likewise.
21932         (VECTOR_WRAPPER_fFF): Likewise.
21933         (VEC_LEN): New macro.
21934         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
21935         test-vec-loop.h.
21936         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
21937         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
21938         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
21939         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
21940         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
21941         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
21942         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
21944 2015-06-24  Roland McGrath  <roland@hack.frob.com>
21946         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
21947         (__getlogin_r): ... this.
21949 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
21951         [BZ #18594]
21952         * math/s_ccosh.c (__ccosh): Compare with least normal value
21953         instead of comparing class with FP_SUBNORMAL.
21954         * math/s_ccoshf.c (__ccoshf): Likewise.
21955         * math/s_ccoshl.c (__ccoshl): Likewise.
21956         * math/s_cexp.c (__cexp): Likewise.
21957         * math/s_cexpf.c (__cexpf): Likewise.
21958         * math/s_cexpl.c (__cexpl): Likewise.
21959         * math/s_csin.c (__csin): Likewise.
21960         * math/s_csinf.c (__csinf): Likewise.
21961         * math/s_csinh.c (__csinh): Likewise.
21962         * math/s_csinhf.c (__csinhf): Likewise.
21963         * math/s_csinhl.c (__csinhl): Likewise.
21964         * math/s_csinl.c (__csinl): Likewise.
21965         * math/s_ctan.c (__ctan): Likewise.
21966         * math/s_ctanf.c (__ctanf): Likewise.
21967         * math/s_ctanh.c (__ctanh): Likewise.
21968         * math/s_ctanhf.c (__ctanhf): Likewise.
21969         * math/s_ctanhl.c (__ctanhl): Likewise.
21970         * math/s_ctanl.c (__ctanl): Likewise.
21971         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
21972         csin, csinh, ctan and ctanh.
21973         * math/auto-libm-test-out: Regenerated.
21974         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
21975         * sysdeps/i386/fpu/libm-test-ulps: Update.
21976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21978 2015-06-24  Roland McGrath  <roland@hack.frob.com>
21980         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
21981         return value is wrong, print the expected value too.
21983 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
21985         [BZ #18585]
21986         * elf/readlib.c (is_gdb_python_file): New.
21987         (process_file): Don't issue errors on filenames with -gdb.py
21988         suffix.
21990 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
21992         * math/auto-libm-test-in: Add more tests of csin and csinh.
21993         * math/auto-libm-test-out: Regenerated.
21994         * math/libm-test.inc (csin_test_data): Remove tests moved to
21995         auto-libm-test-in.
21996         (csinh_test_data): Likewise.
21998         [BZ #18593]
21999         * math/s_csin.c (__csin): Negate before rather than after possibly
22000         overflowing multiplication.
22001         * math/s_csinf.c (__csinf): Likewise.
22002         * math/s_csinh.c (__csinh): Likewise.
22003         * math/s_csinhf.c (__csinhf): Likewise.
22004         * math/s_csinhl.c (__csinhl): Likewise.
22005         * math/s_csinl.c (__csinl): Likewise.
22006         * math/auto-libm-test-in: Add some tests of csin and csinh.
22007         * math/auto-libm-test-out: Regenerated.
22008         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
22009         (csinh_test_data): Likewise.
22010         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22012         [BZ #18586]
22013         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
22014         underflow exception for small results.
22016 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
22018         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
22019         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
22020         variable and included header.
22021         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
22022         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
22023         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
22024         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
22025         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
22026         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
22027         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
22028         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
22029         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
22030         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
22031         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
22032         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
22033         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
22034         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
22035         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
22036         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
22038 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
22040         [BZ #16526]
22041         [BZ #16538]
22042         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
22043         (__sin): Force underflow exception for arguments with small
22044         absolute value.
22045         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
22046         (__kernel_sinf): Force underflow exception for arguments with
22047         small absolute value.
22048         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
22049         (__kernel_sincosl): Force underflow exception for arguments with
22050         small absolute value.
22051         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
22052         (__kernel_sinl): Force underflow exception for arguments with
22053         small absolute value.
22054         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
22055         (__kernel_sincosl): Force underflow exception for arguments with
22056         small absolute value.
22057         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
22058         (__kernel_sinl): Force underflow exception for arguments with
22059         small absolute value.
22060         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
22061         (__kernel_sinl): Force underflow exception for arguments with
22062         small absolute value.
22063         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
22064         (__kernel_sinf): Force underflow exception for arguments with
22065         small absolute value.
22066         * math/auto-libm-test-in: Add more tests of sin and sincos.
22067         * math/auto-libm-test-out: Regenerated.
22069         [BZ #18245]
22070         [BZ #18583]
22071         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
22072         (__kernel_standard_l): Use feholdexcept and fesetenv around
22073         conversion to double instead of special-casing overflow and
22074         underflow.
22075         * math/libm-test.inc (fmod_test_data): Add more tests.
22076         (remainder_test_data): Likewise.
22077         (sqrt_test_data): Likewise.
22079 2015-06-23  Torvald Riegel  <triegel@redhat.com>
22081         [BZ #17403]
22082         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
22083         atomic_read_barrier, atomic_write_barrier): Define.
22084         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
22085         atomic_read_barrier, atomic_write_barrier): Define.
22087 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
22089         * math/Makefile [$(PERL) != no]
22090         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
22091         dependency on libm-test.stmp below the inclusion of Rules.
22093 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
22095         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
22096         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
22097         and included header.
22098         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
22099         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
22100         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
22101         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
22102         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
22103         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
22104         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
22105         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
22106         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
22107         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
22108         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
22109         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
22110         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
22111         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
22112         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
22113         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
22114         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
22115         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
22116         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
22118 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
22120         [BZ #18371]
22121         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
22122         intermediate but not final result might underflow.
22123         * math/s_csqrtf.c (__csqrtf): Likewise.
22124         * math/s_csqrtl.c (__csqrtl): Likewise.
22125         * math/auto-libm-test-in: Add more tests of csqrt.
22126         * math/auto-libm-test-out: Regenerated.
22127         * sysdeps/i386/fpu/libm-test-ulps: Update.
22129         [BZ #18219]
22130         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
22131         threshold on absolute value of exponent for which scaling is used.
22132         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
22133         * math/auto-libm-test-in: Add more tests of exp2.
22134         * math/auto-libm-test-out: Regenerated.
22136 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
22138         [BZ #17977]
22139         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
22140         when initializing interface list, based on the bug analysis
22141         and the patch proposed by Eric Newton.
22142         * resolv/tst-res_hconf_reorder.c: New test.
22143         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
22144         tst-res_hconf_reorder.
22145         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
22146         and $(shared-thread-library).
22147         (tst-res_hconf_reorder-ENV): New variable.
22149         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
22150         in comment.
22152 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
22154         [BZ #16353]
22155         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
22156         (__expm1): Force underflow exception for arguments with small
22157         absolute value.
22158         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
22159         (__expm1f): Force underflow exception for arguments with small
22160         absolute value.
22161         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
22162         (__expm1): Force underflow exception for arguments with small
22163         absolute value.
22164         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
22165         (__expm1f): Force underflow exception for arguments with small
22166         absolute value.
22167         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
22168         Check for small arguments before calling __expm1.
22169         * math/auto-libm-test-in: Do not mark underflow exceptions as
22170         possibly missing for bug 16353.
22171         * math/auto-libm-test-out: Regenerated.
22173 2015-06-22  Andreas Schwab  <schwab@suse.de>
22175         [BZ #18513]
22176         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
22177         PTR queries.
22179 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
22181         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
22183         * string/strcoll_l.c: Remove unused struct element idxnow.
22185 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
22187         [BZ #18569]
22188         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
22189         underflow and return argument in case of subnormal argument.
22190         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
22191         Likewise.
22192         * math/auto-libm-test-in: Add more tests of expm1.
22193         * math/auto-libm-test-out: Regenerated.
22195         [BZ #16361]
22196         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
22197         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
22198         tiny results.
22199         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
22200         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
22201         tiny results.
22202         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
22203         mark underflow exceptions as possibly missing for bug 16361.
22204         * math/auto-libm-test-out: Regenerated.
22206 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
22208         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
22209         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
22210         Remove variable.
22211         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
22212         (test-xfail-XOPEN2K8/utmpx.h/conform).
22214         * conform/conformtest.pl ($xerrors): New variable.
22215         (note_error): New function.
22216         (compiletest): New argument $xfail.  Use not_error.
22217         (runtest): Likewise.
22218         (top level): Handle xfail- lines.  Update calls to compiletest and
22219         runtest.  Handle xfail- and optional- in headers listed with
22220         allow-header.
22221         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
22222         (O_EXEC): Likewise.
22223         (O_SEARCH): Likewise.
22224         * conform/data/stropts.h-data (ioctl): Likewise.
22225         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
22226         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
22227         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
22228         (msghdr.msg_controllen): Likewise.
22229         (cmsghdr.cmsg_len): Likewise.
22230         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
22231         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
22232         variable.
22233         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
22234         (test-xfail-XPG4/stropts.h/conform): Likewise.
22235         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
22236         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
22237         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
22238         (test-xfail-UNIX98/stropts.h/conform): Likewise.
22239         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
22240         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
22241         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
22242         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
22243         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
22244         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
22245         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
22246         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
22247         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
22248         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
22249         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
22250         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
22251         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
22252         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
22253         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
22255 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
22257         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
22258         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
22259         definitions for proper unfolding of __MATHDECL_VEC.
22261 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
22263         * benchtests/bench-strcoll.c:
22264         Include string.h.
22265         (main): Remove unused variable res.
22267 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
22269         * timezone/Makefile (%/UTC %/Universal):
22270         Generate test-result files for UTC and Universal.
22272 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
22274         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
22276 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
22278         [BZ #16350]
22279         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
22280         for arguments with small absolute value.
22281         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
22282         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
22283         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
22284         (__asinh): Force underflow exception for arguments with small
22285         absolute value.
22286         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
22287         (__asinhf): Force underflow exception for arguments with small
22288         absolute value.
22289         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
22290         (__asinhl): Force underflow exception for arguments with small
22291         absolute value.
22292         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
22293         (__asinhl): Force underflow exception for arguments with small
22294         absolute value.
22295         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
22296         (__asinhl): Force underflow exception for arguments with small
22297         absolute value.
22298         * math/auto-libm-test-in: Do not mark underflow exceptions as
22299         possibly missing for bug 16350.
22300         * math/auto-libm-test-out: Regenerated.
22302         * include/bits/ipc.h: Remove file.
22303         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
22304         variable.
22305         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
22306         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
22307         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
22308         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
22309         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
22310         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
22311         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
22312         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
22313         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
22315         * math/auto-libm-test-in: Remove spurious underflow allowance for
22316         tests of cexp.
22317         * math/auto-libm-test-out: Regenerated.
22319         [BZ #18558]
22320         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
22321         unconditional definition.
22322         (MCAST_BLOCK_SOURCE): Likewise.
22323         (MCAST_UNBLOCK_SOURCE): Likewise.
22324         (MCAST_LEAVE_GROUP): Likewise.
22325         (MCAST_JOIN_SOURCE_GROUP): Likewise.
22326         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
22327         (MCAST_MSFILTER): Likewise.
22328         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
22329         Remove variable.
22330         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
22331         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
22332         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
22333         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
22334         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
22336 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
22338         * NEWS: Mention addition of x86_64 vector sincosf.
22339         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
22340         * math/test-float-vlen4.h: Likewise.
22341         * math/test-float-vlen8.h: Likewise.
22342         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22343         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
22344         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22345         * sysdeps/x86_64/fpu/Versions: New versions added.
22346         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22347         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22348         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22349         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
22350         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
22351         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
22352         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
22353         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
22354         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
22355         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
22356         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
22357         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
22358         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
22359         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
22360         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
22361         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
22362         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
22363         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
22364         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22365         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22366         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22367         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22368         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22369         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22371         * NEWS: Mention addition of x86_64 vector sincos.
22372         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
22373         * math/math.h (__MATHDECL_VEC): New macro.
22374         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
22375         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
22376         declaration under condition.
22377         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
22378         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
22379         TEST_VEC_LOOP change.
22380         * math/test-double-vlen4.h: Likewise.
22381         * math/test-double-vlen8.h: Likewise.
22382         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
22383         * math/test-float-vlen4.h: Likewise.
22384         * math/test-float-vlen8.h: Likewise.
22385         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22386         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
22387         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22388         * sysdeps/x86_64/fpu/Versions: New versions added.
22389         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22390         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22391         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22392         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
22393         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
22394         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
22395         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
22396         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
22397         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
22398         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
22399         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
22400         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
22401         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
22402         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
22403         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
22404         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
22405         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
22406         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
22407         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22408         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
22409         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22410         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22411         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22412         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
22414         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22415         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22416         redirections for powf.
22417         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22418         * sysdeps/x86_64/fpu/Versions: New versions added.
22419         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22420         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22421         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22422         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
22423         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
22424         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
22425         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
22426         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
22427         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
22428         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
22429         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
22430         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
22431         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
22432         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
22433         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
22434         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
22435         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
22436         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
22437         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22438         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22439         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22440         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22441         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22442         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22443         * math/test-float-vlen16.h: Fixed 2 argument macro.
22444         * math/test-float-vlen4.h: Likewise.
22445         * math/test-float-vlen8.h: Likewise.
22446         * NEWS: Mention addition of x86_64 vector powf.
22448 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
22450         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22451         and redefine.
22452         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22453         and redefine.
22454         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
22455         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22456         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22458         [BZ #18553]
22459         * resource/getpriority.c (getpriority): Rename to __getpriority
22460         and define as weak alias of __getpriority.
22461         * resource/setpriority.c (setpriority): Rename to __setpriority
22462         and define as weak alias of __setpriority.
22463         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
22464         __getpriority and define as weak alias of __getpriority.
22465         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
22466         __setpriority and define as weak alias of __setpriority.
22467         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
22468         strong name.
22469         (setpriority): Use __setpriority as strong name.
22470         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
22471         __getpriority and define as weak alias of __getpriority.
22472         * include/sys/resource.h (__getpriority): Declare.  Use
22473         libc_hidden_proto.
22474         (__setpriority): Likewise.
22475         (getpriority): Don't use libc_hidden_proto.
22476         (setpriority): Likewise.
22477         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
22478         getpriority.  Call __setpriority instead of setpriority.
22479         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
22480         Remove variable.
22482         [BZ #18547]
22483         * misc/getttyent.c (getttynam): Rename to __getttynam and define
22484         as weak alias of __getttynam.  Use prototype function definition.
22485         Call __setttyent, __getttyent and __endttyent instead of
22486         setttyent, getttyent and endttyent.
22487         (getttyent): Rename to __getttyent and define as weak alias of
22488         __getttyent.  Call __setttyent instead of setttyent.  Call
22489         __fgets_unlocked instead of fgets_unlocked.
22490         (setttyent): Rename to __setttyent and define as weak alias of
22491         __setttyent.
22492         (endttyent): Rename to __endttyent and define as weak alias of
22493         __endttyent.
22494         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
22495         (__setttyent): Likewise.
22496         (__endttyent): Likewise.
22497         (getttyent): Don't use libc_hidden_proto.
22498         (setttyent): Likewise.
22499         (endttyent): Likewise.
22500         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
22501         __endttyent instead of setttyent, getttyent and endttyent.
22502         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
22503         Remove variable.
22505         [BZ #18546]
22506         * socket/recv.c (__recv): Use libc_hidden_def.
22507         * socket/socket.c (__socket): Likewise.
22508         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
22509         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
22510         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
22511         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
22512         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
22513         libc_hidden_def.
22514         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
22515         libc_hidden_weak.
22516         * include/sys/socket.h (__socket): Do not use attribute_hidden.
22517         Use libc_hidden_proto.
22518         (__recv): Likewise.
22519         * socket/Versions (libc): Export __recv and __socket at version
22520         GLIBC_PRIVATE.
22521         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
22522         instead of recv.
22523         (init_mq_netlink): Call __socket instead of socket.
22524         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
22525         Remove variable.
22527         [BZ #18545]
22528         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
22529         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
22530         hidden_weak.
22531         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
22532         define as alias of __mq_timedsend.  Use hidden_weak.
22533         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
22534         __mq_timedsend as strong name.
22535         (mq_timedreceive): Use __mq_timedreceive as strong name.
22536         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
22537         (__mq_timedreceive): Likewise.
22538         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
22539         __mq_timedreceive instead of mq_timedreceive.
22540         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
22541         instead of mq_timedsend.
22542         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
22543         Remove variable.
22545         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
22546         hidden_def and hidden_weak instead of libc_hidden_def and
22547         libc_hidden_weak.
22548         (top level): Refer to hidden_def in comment.
22549         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
22550         macro.  Use it instead of libc_hidden_def.
22551         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
22552         specify __GI_* name explicitly.
22553         (mq_timedreceive): Likewise.
22554         (mq_setattr): Likewise.
22556         [BZ #18544]
22557         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
22558         __pthread_barrier_init and define as weak alias of
22559         __pthread_barrier_init.
22560         * sysdeps/sparc/nptl/pthread_barrier_init.c
22561         (pthread_barrier_init): Likewise.
22562         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
22563         __pthread_barrier_wait and define as weak alias of
22564         __pthread_barrier_wait.
22565         * sysdeps/sparc/nptl/pthread_barrier_wait.c
22566         (pthread_barrier_wait): Likewise.
22567         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
22568         (pthread_barrier_wait): Likewise.
22569         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
22570         (pthread_barrier_wait): Likewise.
22571         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
22572         (pthread_barrier_wait): Likewise.
22573         * nptl/Versions (libpthread): Export __pthread_barrier_init and
22574         __pthread_barrier_wait at version GLIBC_PRIVATE.
22575         * include/pthread.h (__pthread_barrier_init): Declare.
22576         (__pthread_barrier_wait): Likewise.
22577         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
22578         Call __pthread_barrier_wait instead of pthread_barrier_wait.
22579         (helper_thread): Likewise.
22580         (init_mq_netlink): Call __pthread_barrier_init instead of
22581         pthread_barrier_init.
22583         [BZ #18542]
22584         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
22585         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
22586         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
22587         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
22588         vswscanf.
22589         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
22590         Remove variable.
22592         [BZ #18540]
22593         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
22594         strong alias of _IO_fflush.  Use libc_hidden_def.
22595         * libio/iofflush_u.c (fflush_unlocked): Rename to
22596         __fflush_unlocked and define as weak alias of __fflush_unlocked.
22597         Use libc_hidden_weak.
22598         * include/stdio.h (__fflush_unlocked): Declare.  Use
22599         libc_hidden_proto.
22600         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
22601         fflush_unlocked.
22602         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
22603         Remove variable.
22605         [BZ #18539]
22606         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
22607         define as weak alias of __addseverity.
22608         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
22609         Remove variable.
22610         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
22611         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
22612         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
22614         [BZ #18536]
22615         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
22616         (__tfind): Likewise.
22617         (__tdelete): Likewise.
22618         (__twalk): Likewise.
22619         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
22620         __twalk to GLIBC_PRIVATE.
22621         * include/search.h (__tsearch): Use libc_hidden_proto.
22622         (__tfind): Likewise.
22623         (__tdelete): Likewise.
22624         (__twalk): Likewise.
22625         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
22626         Call __tdelete instead of tdelete.
22627         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
22628         tfind.  Call __tsearch instead of tsearch.
22629         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
22630         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
22631         Remove variable.
22632         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
22634         [BZ #18534]
22635         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
22636         (dprintf): Define as a weak alias of __dprintf, not a strong
22637         alias.
22638         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
22639         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
22640         dprintf.
22641         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
22642         Remove variable.
22643         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
22644         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
22646         [BZ #18533]
22647         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
22648         not a strong alias.
22649         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
22650         Remove variable.
22652         [BZ #18532]
22653         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
22654         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
22655         (in6addr_loopback): Rename to __in6addr_loopback and define as
22656         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
22657         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
22658         libc_hidden_proto.
22659         (__in6addr_any): Likewise.
22660         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
22661         in6addr_any.
22662         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
22663         variable.
22664         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
22666 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
22668         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
22669         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
22670         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
22671         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22672         redirections for pow.
22673         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22674         * sysdeps/x86_64/fpu/Versions: New versions added.
22675         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22676         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22677         build of SSE, AVX2 and AVX512 IFUNC versions.
22678         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
22679         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
22680         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
22681         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
22682         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
22683         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
22684         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
22685         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
22686         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
22687         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
22688         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
22689         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
22690         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
22691         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
22692         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
22693         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22694         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
22695         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22696         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22697         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22698         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
22699         * NEWS: Mention addition of x86_64 vector pow.
22701         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22702         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22703         redirections for expf.
22704         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22705         * sysdeps/x86_64/fpu/Versions: New versions added.
22706         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22707         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22708         build of SSE, AVX2 and AVX512 IFUNC versions.
22709         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
22710         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
22711         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
22712         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
22713         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
22714         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
22715         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
22716         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
22717         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
22718         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
22719         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
22720         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
22721         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
22722         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
22723         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22724         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22725         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22726         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22727         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22728         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22729         * NEWS: Mention addition of x86_64 vector expf.
22731         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
22732         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
22733         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
22734         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22735         redirections for exp.
22736         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22737         * sysdeps/x86_64/fpu/Versions: New versions added.
22738         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22739         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22740         build of SSE, AVX2 and AVX512 IFUNC versions.
22741         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
22742         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
22743         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
22744         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
22745         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
22746         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
22747         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
22748         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
22749         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
22750         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
22751         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
22752         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
22753         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
22754         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
22755         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22756         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
22757         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22758         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22759         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22760         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
22761         * NEWS: Mention addition of x86_64 vector exp.
22763         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22764         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22765         redirections for logf.
22766         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22767         * sysdeps/x86_64/fpu/Versions: New versions added.
22768         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22769         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22770         build of SSE, AVX2 and AVX512 IFUNC versions.
22771         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
22772         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
22773         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
22774         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
22775         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
22776         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
22777         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
22778         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
22779         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
22780         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
22781         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
22782         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
22783         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
22784         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
22785         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22786         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22787         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22788         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22789         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22790         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22791         * NEWS: Mention addition of x86_64 vector logf.
22793         * bits/libm-simd-decl-stubs.h: Added stubs for log.
22794         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
22795         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
22796         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22797         redirections for log.
22798         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22799         * sysdeps/x86_64/fpu/Versions: New versions added.
22800         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22801         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22802         build of SSE, AVX2 and AVX512 IFUNC versions.
22803         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
22804         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
22805         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
22806         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
22807         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
22808         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
22809         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
22810         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
22811         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
22812         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
22813         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
22814         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
22815         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
22816         test.
22817         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
22818         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22819         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
22820         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22821         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22822         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22823         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
22824         * NEWS: Mention addition of x86_64 vector log.
22826 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22828         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
22829         cfi_adjust_cfa_offset argument.
22830         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
22831         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
22833         [BZ #18034]
22834         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
22835         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
22836         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
22837         ordering using ldar.
22838         (_dl_tlsdesc_dynamic): Likewise.
22839         (_dl_tlsdesc_return_lazy): Likewise.
22840         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
22841         relaxed atomics instead of volatile and synchronize with release store.
22842         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
22843         volatile.
22844         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
22846 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
22848         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22849         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
22850         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22851         * sysdeps/x86_64/fpu/Versions: New versions added.
22852         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22853         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22854         build of SSE, AVX2 and AVX512 IFUNC versions.
22855         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
22856         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
22857         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
22858         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
22859         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
22860         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
22861         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
22862         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
22863         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
22864         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
22865         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
22866         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
22867         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
22868         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
22869         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22870         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22871         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22872         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22873         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22874         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22875         * NEWS: Mention addition of x86_64 vector sinf.
22877 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
22879         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
22880         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
22881         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
22882         Remove variable.
22883         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
22884         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
22886 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
22888         [BZ #18530]
22889         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
22890         strong alias of _IO_fputs.  Use libc_hidden_def.
22891         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
22892         and define as weak alias of __fputs_unlocked.  Use
22893         libc_hidden_weak.
22894         * include/stdio.h (__fputs_unlocked): Declare.  Use
22895         libc_hidden_proto.
22896         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
22897         fputs_unlocked.
22899         [BZ #18529]
22900         * resolv/netdb.h [__USE_POSIX]: Change condition to
22901         [__USE_XOPEN2K].
22902         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
22903         not expect.
22904         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
22905         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
22906         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
22907         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
22908         [XPG4 || UNIX98] (AI_ALL): Likewise.
22909         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
22910         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
22911         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
22912         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
22913         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
22914         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
22915         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
22916         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
22917         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
22918         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
22919         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
22920         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
22921         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
22922         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
22923         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
22924         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
22925         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
22926         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
22927         [XPG4 || UNIX98] (gai_strerror): Likewise.
22928         [XPG4 || UNIX98] (getaddrinfo): Likewise.
22929         [XPG4 || UNIX98] (getnameinfo): Likewise.
22931         [BZ #18528]
22932         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
22933         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
22934         __USE_XOPEN2K8].
22935         (getgrent): Likewise.
22936         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
22937         expect.
22938         [XPG3 || POSIX2008] (endgrent): Likewise.
22939         [XPG3] (setgrent): Likewise.
22940         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
22941         variable.
22942         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
22944         [BZ #18527]
22945         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
22946         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
22947         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
22948         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
22949         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
22950         * include/unistd.h (__getlogin_r): Declare.  Use
22951         libc_hidden_proto.
22952         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
22953         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
22954         variable.
22955         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
22956         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
22957         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
22959 2015-06-12  Martin Sebor  <msebor@redhat.com>
22961         [BZ #18512]
22962         * Makerules (check-install-supported): New target.
22963         (install): Add check-install-supported as a dependency.
22964         * manual/install.texi (Installing the C Library): Document
22965         that overriding prefix and exec_prefix is not supported.
22966         Mention DESTDIR.
22967         * INSTALL: Regenerate from the above.
22969 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
22971         [BZ #18519]
22972         * posix/Versions (libc): Export __libc_pread at version
22973         GLIBC_PRIVATE.
22974         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
22975         instead of pread.
22976         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
22977         variable.
22979         [BZ #18522]
22980         * misc/efgcvt_r.c
22981         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
22982         (cvt_symbol): Use weak_alias instead of strong_alias.
22983         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
22984         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
22985         Remove variable.
22986         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
22987         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
22989         [BZ #18520]
22990         * inet/herrno.c (h_errno): Rename to __h_errno.
22991         (__libc_h_errno): Define as alias of __h_errno not h_errno.
22992         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
22993         to __h_errno instead of h_errno.
22994         * nptl/herrno.c (h_errno): Rename to __h_errno.
22995         (__h_errno_location): Refer to __h_errno not h_errno.
22996         * resolv/Versions (h_errno): Rename to __h_errno.
22997         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
22998         Remove variable.
22999         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
23001 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
23003         * configure.ac: More strict check for AVX512 assembler support.
23004         * configure: Regenerated.
23006         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
23007         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
23008         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
23009         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
23010         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23011         * sysdeps/x86_64/fpu/Versions: New versions added.
23012         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23013         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
23014         Added build of SSE, AVX2 and AVX512 IFUNC versions.
23015         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
23016         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
23017         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
23018         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
23019         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
23020         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
23021         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
23022         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
23023         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
23024         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
23025         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
23026         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
23027         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
23028         test.
23029         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
23030         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
23031         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
23032         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
23033         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
23034         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
23035         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
23036         * NEWS: Mention addition of x86_64 vector sin.
23038 2015-06-11  Florian Weimer  <fweimer@redhat.com>
23040         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
23041         comment.
23043 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
23045         [BZ #18479]
23046         * nptl/pt-interp.c: New file.
23047         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
23048         Add pt-interp.
23049         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
23050         $(common-objpfx)runtime-linker.h.
23052 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
23054         * Makeconfig (+interp): Remove unused variable.
23055         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
23056         only.  Depend on $(common-objpfx)runtime-linker.h instead of
23057         $(elf-objpfx)runtime-linker.h.
23058         ($(elf-objpfx)runtime-linker.h): Rename to
23059         $(common-objpfx)runtime-linker.h and move ...
23060         * Makerules [$(build-shared) = yes]: ... here.
23061         * elf/interp.c: Include <runtime-linker.h> instead of
23062         <elf/runtime-linker.h>.
23064 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23066         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
23067         (__gettimeofday_syscall): Remove vsyscall fallback.
23068         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
23069         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
23070         Add syscall fallback function.
23071         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
23072         if vDSO is not present.
23073         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
23074         fallback function.
23075         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
23076         present.
23077         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
23078         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
23080 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
23082         [BZ #18497]
23083         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
23084         of wcscmp.
23085         (wcscmp): Define as weak alias of WCSCMP.
23086         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
23087         wcscoll.
23088         (USE_HIDDEN_DEF): Define.
23089         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
23090         __wcscoll.  Don't use libc_hidden_weak.
23091         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
23092         wcscmp.
23093         * sysdeps/i386/i686/multiarch/wcscmp-c.c
23094         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
23095         __GI_wcscmp.
23096         (weak_alias): Undefine and redefine.
23097         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
23098         __wcscmp and define as weak alias of __wcscmp.
23099         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
23100         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
23101         (__wcscoll): Likewise.
23102         (wcscmp): Don't use libc_hidden_proto.
23103         (wcscoll): Likewise.
23104         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
23105         wcscoll.
23106         * posix/regexec.c (check_node_accept_bytes): Likewise.
23107         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
23108         variable.
23109         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
23110         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
23112         [BZ #18507]
23113         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
23114         __fstatvfs and define as weak alias of __fstatvfs.  Use
23115         libc_hidden_weak.
23116         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
23117         and define as weak alias of __statvfs.  Use libc_hidden_weak.
23118         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
23119         Define as alias of __fstatvfs, not fstatvfs.
23120         (fstatvfs64): Likewise.
23121         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
23122         Define as alias of __statvfs, not statvfs.
23123         (statvfs64): Likewise.
23124         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
23125         Remove variable.
23127 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23130         (HAVE_GETCPU_VSYSCALL): Define.
23131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23132         (HAVE_GETCPU_VSYSCALL): Likewise.
23133         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
23134         * sysdeps/unix/sysv/linux/sched_getcpu.c
23135         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
23136         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
23137         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
23138         prototype.
23139         * sysdeps/unix/sysv/linux/x86_64/init-first.c
23140         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
23141         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
23142         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
23143         Define.
23144         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
23145         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23146         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
23147         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23149 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
23151         * sysdeps/x86_64/fpu/Makefile: New file.
23152         * sysdeps/x86_64/fpu/Versions: New file.
23153         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
23154         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
23155         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
23156         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
23157         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
23158         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
23159         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
23160         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
23161         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
23162         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
23163         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
23164         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
23165         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
23166         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
23167         Added build of SSE, AVX2 and AVX512 IFUNC versions.
23168         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
23169         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
23170         * sysdeps/x86_64/configure.ac: Options for libmvec build.
23171         * sysdeps/x86_64/configure: Regenerated.
23172         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
23173         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
23174         * manual/install.texi (Configuring and compiling): Document
23175         --disable-mathvec.
23176         * INSTALL: Regenerated.
23177         * NEWS: Mention addition of libmvec and x86_64 vector cos.
23179         * math/Makefile: Added rules for vector tests.
23180         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
23181         declaration under condition.
23182         * math/test-double-vlen2.h: New file.
23183         * math/test-double-vlen4.h: New file.
23184         * math/test-double-vlen8.h: New file.
23185         * math/test-vec-loop.h: Added initialization macro.
23186         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
23187         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
23188         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
23189         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
23190         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
23191         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
23192         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
23193         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
23194         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
23195         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
23196         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
23198         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23199         * sysdeps/x86_64/fpu/Versions: New versions added.
23200         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
23201         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
23202         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
23203         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
23204         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
23205         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
23206         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
23207         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
23208         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
23209         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
23210         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
23211         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
23212         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
23213         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
23214         Added build of SSE, AVX2 and AVX512 IFUNC versions.
23215         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
23216         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
23217         * NEWS: Mention addition of x86_64 vector cosf.
23219         * math/Makefile: Added CFLAGS for new tests.
23220         * math/test-float-vlen16.h: New file.
23221         * math/test-float-vlen4.h: New file.
23222         * math/test-float-vlen8.h: New file.
23223         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
23224         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
23225         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23226         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
23227         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
23228         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
23229         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
23230         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
23231         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
23232         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
23233         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
23235 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
23237         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
23238         * locale/programs/ld-ctype.c: Likewise.
23240 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
23242         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
23243         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
23244         bit_ZMM16_31_state): New macro.
23245         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23246         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
23248 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
23250         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
23252 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
23254         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
23256 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
23258         [BZ #18498]
23259         * libio/memstream.c (open_memstream): Rename to __open_memstream
23260         and define as weak alias of __open_memstream.
23261         * include/stdio.h (__open_memstream): Declare.  Use
23262         libc_hidden_proto.
23263         (open_memstream): Don't use libc_hidden_proto.
23264         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
23265         open_memstream.
23266         * posix/getopt.c (_getopt_internal_r): Likewise.
23267         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
23268         variable.
23269         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
23270         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
23271         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
23273         [BZ #18496]
23274         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
23275         instead of wcrtomb.
23277         [BZ #18483]
23278         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
23279         [__USE_XOPEN2K8].  Remove redundant #endif.
23280         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
23281         Remove redundant #if.
23282         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
23283         Remove variable.
23284         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
23285         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
23287         [BZ #18495]
23288         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
23289         (__iswlower): Likewise.
23290         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
23291         (__iswlower): Likewise.
23292         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
23293         instead of towlower.
23294         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
23295         instead of iswlower.  Call __towupper instead of towupper.
23296         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
23297         instead of iswalnum.
23299 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23301         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
23302         errors to stderr.
23304 2015-06-05  Florian Weimer  <fweimer@redhat.com>
23306         [BZ #15661]
23307         [BZ #17322]
23308         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
23309         Check for overflow properly.  Check for O_APPEND.  Ignore large
23310         file system block sizes.  Add comments about problems.
23311         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
23312         * manual/filesys.texi (Storage Allocation): New node.
23314 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23316         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
23317         cancellable syscalls.
23318         (SYS_ify): Add guard to no redefine it.
23319         (INLINE_SYSCALL): Likewise.
23320         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
23321         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
23322         SYSCALL_CANCEL instead.
23323         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
23324         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
23325         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
23326         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
23327         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
23328         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
23329         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
23330         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
23331         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
23332         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
23333         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
23334         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
23335         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
23336         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
23337         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
23338         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
23339         Likewise.
23340         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
23341         (__libc_pread64): Likewise.
23342         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
23343         (__libc_preadv): Likewise.
23344         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
23345         (__libc_readv64): Likewise.
23346         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
23347         (__libc_pwrite): Likewise.
23348         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
23349         (__libc_pwrite64): Likewise.
23350         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
23351         (__libc_pwritev): Likewise.
23352         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
23353         (__libc_pwritev64): Likewise.
23354         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
23355         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
23356         (sync_file_range): Likewise.
23357         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
23358         Likewise.
23359         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
23360         Likewise.
23361         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
23362         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
23363         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
23364         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
23365         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
23366         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
23367         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
23368         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
23369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
23370         Likewise.
23371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
23372         (__libc_read64): Likewise.
23373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
23374         Likewise.
23375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
23376         Likewise.
23377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
23378         Likewise.
23379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
23380         Likewise.
23381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
23382         (__libc_pread64): Likewise.
23383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
23384         Likewise.
23385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
23386         (__libc_pwrite64): Likewise.
23387         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
23388         (sync_file_range): Likewise.
23389         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
23390         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
23391         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
23392         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
23393         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
23394         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
23395         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
23396         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
23397         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
23398         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
23399         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
23400         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
23401         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
23402         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
23403         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
23404         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
23405         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
23406         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
23407         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
23408         Likewise.
23409         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
23410         Likewise.
23411         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
23412         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
23413         Likewise.
23414         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
23415         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
23416         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
23417         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
23418         Likewise.
23419         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
23420         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
23421         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
23422         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
23423         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
23425 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
23427         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
23428         Include dl-vdso.
23429         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
23430         Use VDSO routines for gettimeofday, clock_gettime if
23431         available.
23432         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
23433         Declare VDSO symbols.
23434         * sysdeps/unix/sysv/linux/arm/sysdep.h:
23435         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
23436         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
23437         * sysdeps/unix/sysv/linux/arm/Versions: Add
23438         __vdso_clock_gettime.
23440 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23442         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
23443         be an inline implementation regardless of library is built within.
23444         (open_not_cancel_2): Likewise.
23445         (__read_nocancel): Likewise.
23446         (__write_nocancel): Likewise.
23447         (openat_not_cancel): Likewise.
23448         (openat_not_cancel_3): Likewise.
23449         (openat64_not_cancel): Likewise.
23450         (openat64_not_cancel_3): Likewise.
23451         (__close_nocancel): Likewise.
23452         (pause_not_cancel): Likewise.
23453         (nanosleep_not_cancel): Likewise.
23454         (sigsuspend_not_cancel): Likewise.
23456 2015-06-04  Torvald Riegel  <triegel@redhat.com>
23458         [BZ #14958]
23459         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
23460         wake-up.
23461         (__pthread_rwlock_rdlock_slow): Likewise.
23462         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
23463         Likewise.
23464         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
23465         Likewise.
23466         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
23467         * nptl/tst-rwlock16.c: New file.
23468         * nptl/Makefile (tests): Add new test.
23470 2015-06-04  Torvald Riegel  <triegel@redhat.com>
23472         [BZ #18324]
23473         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
23474         missing wake-up of readers.
23475         * nptl/tst-rwlock15.c: New file.
23476         * nptl/Makefile (tests): Add new test.
23478 2015-06-03  Roland McGrath  <roland@hack.frob.com>
23480         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
23481         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
23482         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
23483         and __nacl_supply_interface_rtld.
23484         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
23485         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
23486         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
23487         Add __nacl_supply_interface_rtld.
23488         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
23490 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
23492         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
23493         isfinite.
23494         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23495         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
23497 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
23499         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
23500         __signbit* with standard C99 macros.
23501         * math/e_exp10l.c: Likewise.
23502         * math/e_exp2l.c: Likewise.
23503         * math/e_scalb.c: Likewise.
23504         * math/e_scalbf.c: Likewise.
23505         * math/e_scalbl.c: Likewise.
23506         * math/s_ldexp.c: Likewise.
23507         * math/s_ldexpf.c: Likewise.
23508         * math/s_ldexpl.c: Likewise.
23509         * math/w_atan2.c: Likewise.
23510         * math/w_atan2f.c: Likewise.
23511         * math/w_atan2l.c: Likewise.
23512         * math/w_cosh.c: Likewise.
23513         * math/w_coshf.c: Likewise.
23514         * math/w_coshl.c: Likewise.
23515         * math/w_exp10.c: Likewise.
23516         * math/w_exp10f.c: Likewise.
23517         * math/w_exp10l.c: Likewise.
23518         * math/w_exp2.c: Likewise.
23519         * math/w_exp2f.c: Likewise.
23520         * math/w_exp2l.c: Likewise.
23521         * math/w_fmod.c: Likewise.
23522         * math/w_fmodf.c: Likewise.
23523         * math/w_fmodl.c: Likewise.
23524         * math/w_hypot.c: Likewise.
23525         * math/w_hypotf.c: Likewise.
23526         * math/w_hypotl.c: Likewise.
23527         * math/w_jnl.c: Likewise.
23528         * math/w_lgamma.c: Likewise.
23529         * math/w_lgamma_r.c: Likewise.
23530         * math/w_lgammaf.c: Likewise.
23531         * math/w_lgammaf_r.c: Likewise.
23532         * math/w_lgammal.c: Likewise.
23533         * math/w_lgammal_r.c: Likewise.
23534         * math/w_pow.c: Likewise.
23535         * math/w_powf.c: Likewise.
23536         * math/w_powl.c: Likewise.
23537         * math/w_remainder.c: Likewise.
23538         * math/w_remainderf.c: Likewise.
23539         * math/w_remainderl.c: Likewise.
23540         * math/w_scalb.c: Likewise.
23541         * math/w_scalbf.c: Likewise.
23542         * math/w_scalbl.c: Likewise.
23543         * math/w_scalbln.c: Likewise.
23544         * math/w_scalblnf.c: Likewise.
23545         * math/w_scalblnl.c: Likewise.
23546         * math/w_sinh.c: Likewise.
23547         * math/w_sinhf.c: Likewise.
23548         * math/w_sinhl.c: Likewise.
23549         * math/w_tgamma.c: Likewise.
23550         * math/w_tgammaf.c: Likewise.
23551         * math/w_tgammal.c: Likewise.
23552         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23553         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
23554         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23555         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23556         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23557         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23558         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
23559         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23560         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23561         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23562         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23563         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
23564         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23565         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23566         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23567         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23568         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23569         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
23570         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23571         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23572         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23573         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23574         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23575         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23576         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
23577         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23578         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
23579         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23580         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23581         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23582         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
23583         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
23584         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
23585         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
23586         * stdio-common/printf_fp.c: Likewise.
23587         * stdio-common/printf_fphex.c: Likewise.
23588         * stdio-common/printf_size.c: Likewise.
23590 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
23592         [BZ #18470]
23593         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
23594         strnlen.
23595         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
23596         Remove variable.
23597         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
23598         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
23599         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
23600         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
23601         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
23602         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
23603         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
23604         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
23605         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
23606         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
23608         [BZ #18468]
23609         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
23610         weak alias of __wmemchr.  Use libc_hidden_weak.
23611         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
23612         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
23613         instead of wmemchr.
23615 2015-06-02  Roland McGrath  <roland@hack.frob.com>
23617         [BZ #18383]
23618         * elf/tst-tlsalign-extern.c: New file.
23619         * elf/tst-tlsalign-extern-static.c: New file.
23620         * elf/tst-tlsalign-vars.c: New file.
23621         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
23622         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
23623         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
23624         ($(objpfx)tst-tlsalign-extern-static): Likewise.
23625         (test-xfail-tst-tlsalign-extern-static): New variable.
23627 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
23629         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
23630         Use variable name _sc_err instead of err.
23631         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
23632         instead of ret.
23633         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
23634         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
23635         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
23636         (INLINE_SYSCALL): Likewise.
23638         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
23639         * include/string.h (__strnlen): Use libc_hidden_proto.
23640         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
23641         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
23642         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
23643         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
23644         (libc_hidden_def): Undefine and redefine.
23645         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
23646         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
23647         __GI_strnlen.
23648         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
23649         libc_hidden_def.
23650         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
23652         [BZ #18469]
23653         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
23654         weak alias of __towlower.  Use libc_hidden_weak.
23655         (towupper): Rename to __towupper and define as weak alias of
23656         __towupper.  Use libc_hidden_weak.
23657         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
23658         (__towupper): Likewise.
23659         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
23660         __towlower instead of towlower.
23662 2015-06-02  Roland McGrath  <roland@hack.frob.com>
23664         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
23665         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
23667 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23669         * sysdeps/aarch64/libm-test-ulps: Update.
23671 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23673         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
23674         Define.
23675         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23676         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
23677         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
23678         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23679         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
23680         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
23681         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
23683 2015-06-01  Martin Sebor  <msebor@redhat.com>
23685         [BZ #18116]
23686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
23687         (__setcontext): Use extended four-operand version of mtsf whenever
23688         possible.
23689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
23690         (__novec_swapcontext): Likewise.
23692 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
23694         * benchtests/scripts/compare_bench.py: New file.
23695         * benchtests/scripts/import_bench.py (mean): New function.
23696         (split_list): Likewise.
23697         (do_for_all_timings): Likewise.
23698         (compress_timings): Likewise.
23700         * benchtests/scripts/import_bench.py: New file.
23701         * benchtests/scripts/validate_benchout.py: Import import_bench
23702         instead of jsonschema.
23703         (validate_bench): Remove function.
23704         (main): Use import_bench.
23706 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
23708         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
23709         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
23711 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23713         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23715 2015-05-28  Roland McGrath  <roland@hack.frob.com>
23717         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
23718         set THREAD_SELF->tid to a magic value and futex-wake it.
23719         Pass its address to the thread_exit system call.
23720         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
23721         bit is clear.
23722         * sysdeps/nacl/lowlevellock.h: New file.
23723         * sysdeps/nacl/lll_timedwait_tid.c: New file.
23725         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
23726         Add TIMEOUT to current time, don't subtract it.
23728 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
23730         [BZ #2981]
23731         [BZ #18422]
23732         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
23733         ($(objpfx)tst-audit2.out): Also depend on
23734         $(objpfx)tst-auditmod9b.so.
23735         * elf/tst-audit2.c: Include <dlfcn.h>.
23736         (calloc_called): New.
23737         (calloc): Allow to be called more than once.
23738         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
23740 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
23742         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
23743         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
23745 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
23747         * stdlib/monetary.h: Fix comment.
23749 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
23751         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
23752         Avoid using variables in #defines that might cause shadowing.
23753         (INTERNAL_VSYSCALL_CALL): Likewise.
23755 2015-05-26  Roland McGrath  <roland@hack.frob.com>
23757         * sysdeps/nacl/lll_timedlock_wait.c: New file.
23759         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
23760         * nptl/lll_timedlock_wait.c: ... to this new file.
23761         * nptl/Makefile (libpthread-routines): Add it.
23762         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
23763         * nptl/lll_timedwait_tid.c: ... to this new file.
23764         * nptl/Makefile (libpthread-routines): Add it.
23765         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
23766         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
23767         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
23768         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
23769         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
23770         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
23771         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
23772         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
23773         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
23774         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
23776 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23778         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
23779         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
23780         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
23781         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
23782         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
23783         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
23784         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23785         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23786         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23787         * sysdeps/unix/sysv/linux/tile/sysdep.h
23788         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23789         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
23790         using vDSO syscall macro.
23792 2015-05-26  Andriy Rysin  <arysin@gmail.com>
23794         [BZ #17293]
23795         * uk_UA: Fix sorting order for Ukrainian locale
23797 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
23799         * stdlib/monetary.h: Fix comment.
23801 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23803         [BZ #18234]
23804         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
23805         st_mtim and st_ctim members.
23806         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
23807         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
23808         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
23809         (struct stat64): Likewise.
23810         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
23811         (struct stat64): Likewise.
23812         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
23813         (struct stat64): Likewise.
23815 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23817         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
23818         Define and include sysdep-vdso.h.
23819         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
23820         Likewise.
23821         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
23822         Likewise.
23823         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
23824         Define with VDSO_SYMBOL and use PTR_MANGLE.
23825         (__vdso_clock_gettime): Likewise.
23826         (__vdso_clock_getres): Likewise.
23827         (_libc_vdso_platform_setup): Likewise.
23828         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
23829         Likewise.
23830         (_libc_vdso_platform_setup): Likewise.
23831         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
23832         Likewise.
23833         (__vdso_clock_gettime): Likewise.
23834         (__vdso_clock_getres): Likewise.
23835         (__vdso_get_tbfreq): Likewise.
23836         (__vdso_getcpu): Likewise.
23837         (__vdso_time): Likewise.
23838         (__vdso_sigtramp_rt64): Likewise.
23839         (__vdso_signtramp32): Likewise.
23840         (__vdso_sigtramp_rt32): Likewise.
23841         (_libc_vdso_platform_setup): Likewise.
23842         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
23843         Likewise.
23844         (__vdso_clock_gettime): Likewise.
23845         (__vdso_clock_getres): Likewise.
23846         (_libc_vdso_platform_setup): Likewise.
23847         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
23848         Likewise.
23849         (__vdso_clock_gettime): Likewise.
23850         (_libc_vdso_platform_setup): Likewise.
23851         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
23852         Likewise.
23853         (__vdso_getcpu): Likewise.
23854         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
23855         Use VDSO_SYMBOL macro to define.
23856         (__vdso_clock_gettime): Likewise.
23857         (__vdso_clock_getres): Likewise.
23858         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
23859         Likewise.
23860         (__vdso_clock_gettime): Likewise.
23861         (__vdso_clock_getres): Likewise.
23862         (__vdso_get_tbfreq): Likewise.
23863         (__vdso_getcpu): Likewise.
23864         (__vdso_time): Likewise.
23865         (__vdso_sigtramp_rt64): Likewise.
23866         (__vdso_signtramp32): Likewise.
23867         (__vdso_sigtramp_rt32): Likewise.
23868         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
23869         Likewise.
23870         (__vdso_clock_gettime): Likewise.
23871         (__vdso_clock_getres): Likewise.
23872         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
23873         Likewise.
23874         (__vdso_clock_gettime): Likewise.
23875         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
23876         Likewise.
23877         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
23878         macro.
23879         (INTERNAL_VSYSCALL): Likewise.
23880         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
23881         Remove macro.
23882         (INTERNAL_VSYSCALL): Likewise.
23883         (INTERNAL_VSYSCALL_NCS): Likewise.
23884         (INTERNAL_VSYSCALL_CALL): New macro.
23885         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
23886         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
23887         Likewise.
23888         (INTERNAL_VSYSCALL): Likewise.
23889         (INTERNAL_VSYSCALL_NCS): Likewise.
23890         (INTERNAL_VSYSCALL_CALL): New macro.
23891         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
23892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23893         (INLINE_VSYSCALL): Remove macro.
23894         (INTERNAL_VSYSCALL): Remove macro.
23895         (INTERNAL_VSYSCALL_NCS): Remove macro.
23896         (INTERNAL_VSYSCALL_CALL): New macro.
23897         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
23898         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
23899         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
23900         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
23901         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
23902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23903         (INLINE_VSYSCALL): Remove macro.
23904         (INTERNAL_VSYSCALL): Likewise.
23905         (INTERNAL_VSYSCALL_NCS): Likewise.
23906         (INTERNAL_VSYSCALL_CALL): New macro.
23907         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
23908         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
23909         PTR_DEMANGLE on vDSO pointer.
23910         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
23911         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
23912         macro.
23913         (INTERNAL_SYSCALL): Likewise.
23914         (INTERNAL_VSYSCALL_NCS): Remove macro.
23915         (INTERNAL_VSYSCALL_CALL): New macro.
23916         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
23917         Remove macro.
23918         (INTERNAL_VSYSCALL): Likewise.
23919         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
23920         sysdep-vdso.h instead of libc-vdso.h.
23921         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
23922         definition.
23923         (INLINE_VSYSCALL): Likewise.
23924         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
23925         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
23926         definition.
23927         (INLINE_VSYSCALL): Likewise.
23928         (INTERNAL_VSYSCALL): Likewise.
23929         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
23930         * sysdeps/unix/sysv/linux/timespec_get.c
23931         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
23932         (timespec_get): Use ANSI prototype.
23933         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
23934         and definition for Linux.
23936 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
23938         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
23939         * include/libc-symbols.h: libmvec_hidden_* macro series added.
23941 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23943         [BZ #2981]
23944         [BZ #18410]
23945         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
23946         for missing DT_PLTRELSZ.
23948 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
23950         Remove obsolete aliases that broke 'locale -a'
23951         [BZ #18412]
23952         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
23953         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
23954         breaking some applications that use 'locale -a' output.
23955         Change the encoding of this file from Latin-1 to ASCII to avoid
23956         other potential problems with people grepping this file.
23958 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23960         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
23961         -fasynchronous-unwind-tables.
23962         (CFLAGS-sendto.c): Likewise.
23963         (CFLAGS-sendmsg.c): Likewise.
23964         (CFLAGS-connect.c): Likewise.
23965         (CFLAGS-recvmsg.c): Likewise.
23966         (CFLAGS-recvfrom.c): Likewise.
23967         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
23968         (SOCKETCALL): New macro: non-cancellable socketcall.
23969         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
23970         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
23971         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
23972         * sysdeps/unix/sysv/linux/accept.c: New file.
23973         * sysdeps/unix/sysv/linux/bind.c: Likewise.
23974         * sysdeps/unix/sysv/linux/connect.c: Likewise.
23975         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
23976         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
23977         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
23978         * sysdeps/unix/sysv/linux/listen.c: Likewise.
23979         * sysdeps/unix/sysv/linux/recv.c: Likewise.
23980         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
23981         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
23982         * sysdeps/unix/sysv/linux/send.c: Likewise.
23983         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
23984         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
23985         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
23986         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
23987         * sysdeps/unix/sysv/linux/socket.c: Likewise.
23988         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
23989         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
23990         prototype.
23991         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
23992         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
23993         instead of __internal_xxx function.
23994         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
23995         prototype.
23996         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
23997         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
23998         instead of __internal_xxx function.
23999         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
24000         prototype.
24001         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
24002         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
24003         instead of __internal_xxx function.
24004         * sysdeps/unix/sysv/linux/accept.S: Remove file.
24005         * sysdeps/unix/sysv/linux/bind.S: Likewise.
24006         * sysdeps/unix/sysv/linux/connect.S: Likewise.
24007         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
24008         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
24009         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
24010         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
24011         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
24012         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
24013         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
24014         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
24015         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
24016         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
24017         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
24018         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
24019         * sysdeps/unix/sysv/linux/listen.S: Likewise.
24020         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
24021         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
24022         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
24023         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
24024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
24025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
24026         * sysdeps/unix/sysv/linux/recv.S: Likewise.
24027         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
24028         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
24029         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
24030         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
24031         * sysdeps/unix/sysv/linux/send.S: Likewise.
24032         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
24033         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
24034         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
24035         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
24036         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
24037         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
24038         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
24039         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
24040         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
24041         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
24042         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
24043         socketcall is implemented in GLIBC.
24045 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
24047         * soft-fp/fmadf4.c: Include <libc-internal.h>.
24048         (__fma): Ignore uninitialized warnings around packing.
24049         * soft-fp/fmasf4.c: Include <libc-internal.h>.
24050         (__fmaf): Ignore uninitialized warnings around packing.
24051         * soft-fp/fmatf4.c: Include <libc-internal.h>.
24052         (__fmal): Ignore uninitialized warnings around packing.
24054         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
24055         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
24056         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
24057         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
24059         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
24060         switch statement into default case.
24061         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
24063         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
24064         a conditional in forcing "inexact".
24065         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
24066         Likewise.
24068 2015-05-22  Roland McGrath  <roland@hack.frob.com>
24070         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
24071         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
24072         for each INTERNAL_SYSCALL use.
24074 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
24076         [BZ #438]
24077         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
24078         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
24079         variable.
24081         [BZ #18444]
24082         * string/basename.c (basename): Rename to __basename and define as
24083         weak alias of __basename.  Use libc_hidden_weak.
24084         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
24085         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
24086         __basename instead of basename.
24087         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
24088         Remove variable.
24089         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
24091 2015-05-18  Florian Weimer  <fweimer@redhat.com>
24093         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
24094         (_IO_JUMPS_FILE_plus): New.
24095         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
24096         _IO_CAST_FIELD_ACCESS.
24097         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
24098         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
24099         * libio/freopen.c (freopen): Likewise.
24100         * libio/freopen64.c (freopen64): Likewise.
24101         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
24102         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
24103         * libio/iofwide.c (_IO_fwide): Likewise.
24104         * libio/memstream.c (open_memstream): Likewise.
24105         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
24106         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
24107         * libio/oldiopopen.c (_IO_old_popen): Likewise.
24109 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
24111         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
24112         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
24113         NADJ.
24114         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
24115         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
24116         NADJ.
24117         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
24118         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
24119         NADJ.
24121         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
24122         (p == 4) case.
24124         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
24125         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
24126         Remove variable.
24127         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
24128         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
24129         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
24131 2015-05-21  Florian Weimer  <fweimer@redhat.com>
24133         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
24134         Adjust jump table label generation macros.
24136 2015-05-21  Florian Weimer  <fweimer@redhat.com>
24138         * stdio-common/vfprintf.c (vfprintf): Move local variables
24139         args_malloced, specs, specs_malloced, and the code after
24140         do_positional to the printf_positional function.
24141         (printf_positional): New function.
24143 2015-05-21  Florian Weimer  <fweimer@redhat.com>
24145         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
24146         function.
24147         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
24148         STEP4_TABLE, process_arg): Move macro definitions
24149         out of the vfprintf function.  (Cosmetic change only.)
24151 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
24153         * benchtests/Makefile (stdio-common-bench): Define.
24154         (benchset): Add stdio-common-bench.
24155         * sprintf-inputs: New file.
24156         * sprintf-source.c: New file.
24158 2015-05-21  Andreas Schwab  <schwab@suse.de>
24160         [BZ #13028]
24161         [BZ #17053]
24162         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
24163         of struct __res_state.
24164         * resolv/res_send.c (__libc_res_nsend): Likewise.
24165         (get_nsaddr): New function.
24166         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
24167         statp directly.
24169 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
24171         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
24172         -D_POSIX_C_SOURCE=199506L.
24174         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
24176         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
24177         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
24178         Do not mention otherwise.
24179         [POSIX] (_XOPEN_VERSION): Do not expect.
24180         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
24181         [POSIX] (_POSIX2_C_BIND): Likewise.
24182         [POSIX] (_POSIX2_VERSION): Likewise.
24183         [POSIX] (_XOPEN_XPG2): Likewise.
24184         [POSIX] (_XOPEN_XPG3): Likewise.
24185         [POSIX] (_XOPEN_XPG4): Likewise.
24186         [POSIX] (_XOPEN_UNIX): Likewise.
24187         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
24188         [POSIX] (_POSIX_BARRIERS): Likewise.
24189         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
24190         [POSIX] (_POSIX_CPUTIME): Likewise.
24191         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
24192         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
24193         [POSIX] (_POSIX_SHELL): Likewise.
24194         [POSIX] (_POSIX_SPAWN): Likewise.
24195         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
24196         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
24197         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
24198         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
24199         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
24200         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
24201         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
24202         [POSIX] (_XBS5_LP64_OFF64): Likewise.
24203         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
24204         [POSIX] (_POSIX_TIMEOUTS): Likewise.
24205         [POSIX] (_POSIX2_PBS): Likewise.
24206         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
24207         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
24208         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
24209         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
24210         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
24211         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
24212         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
24213         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
24214         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
24215         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
24216         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
24217         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
24218         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
24219         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
24220         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
24221         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
24222         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
24223         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
24224         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
24225         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
24226         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
24227         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
24228         [POSIX] (_SC_2_C_BIND): Likewise.
24229         [POSIX] (_SC_2_C_VERSION): Likewise.
24230         [POSIX] (_SC_2_PBS): Likewise.
24231         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
24232         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
24233         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
24234         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
24235         [POSIX] (_SC_2_PBS_TRACK): Likewise.
24236         [POSIX] (_SC_ATEXIT_MAX): Likewise.
24237         [POSIX] (_SC_BARRIERS): Likewise.
24238         [POSIX] (_SC_BASE): Likewise.
24239         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
24240         [POSIX] (_SC_DEVICE_IO): Likewise.
24241         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
24242         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
24243         [POSIX] (_SC_FD_MGMT): Likewise.
24244         [POSIX] (_SC_FIFO): Likewise.
24245         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
24246         [POSIX] (_SC_FILE_LOCKING): Likewise.
24247         [POSIX] (_SC_FILE_SYSTEM): Likewise.
24248         [POSIX] (_SC_IOV_MAX): Likewise.
24249         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
24250         [POSIX] (_SC_NETWORKING): Likewise.
24251         [POSIX] (_SC_PAGE_SIZE): Likewise.
24252         [POSIX] (_SC_PASS_MAX): Likewise.
24253         [POSIX] (_SC_PIPE): Likewise.
24254         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
24255         [POSIX] (_SC_REGEXP): Likewise.
24256         [POSIX] (_SC_SHELL): Likewise.
24257         [POSIX] (_SC_SIGNALS): Likewise.
24258         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
24259         [POSIX] (_SC_SPIN_LOCKS): Likewise.
24260         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
24261         [POSIX] (_SC_USER_GROUPS): Likewise.
24262         [POSIX] (_SC_USER_GROUPS_R): Likewise.
24263         [POSIX] (_SC_STREAMS): Likewise.
24264         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
24265         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
24266         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
24267         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
24268         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
24269         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
24270         [POSIX] (_PC_FILESIZEBITS): Likewise.
24271         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
24272         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
24273         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
24274         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
24275         [POSIX] (uid_t): Likewise.
24276         [POSIX] (gid_t): Likewise.
24277         [POSIX] (off_t): Likewise.
24278         [POSIX] (pid_t): Likewise.
24279         [POSIX] (cuserid): Allow.
24280         (_SC_2_CHAR_TERM): Require constant.
24281         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
24282         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
24283         variable.
24285 2015-05-20  Roland McGrath  <roland@hack.frob.com>
24287         * sysdeps/nacl/pthread-pids.h: New file.
24288         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
24289         (create_thread): Use __nacl_get_tid to initialize PD->tid.
24291         * nptl/pthread-pids.h: New file.
24292         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
24293         * nptl/nptl-init.c: Include <pthread-pids.h>.
24294         (__pthread_initialize_minimal_internal):
24295         Call __pthread_initialize_pids instead of set_tid_address syscall.
24297         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
24298         * sysdeps/posix/usleep.c: ... here.
24300 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24302         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
24303         call_pselect6 object.
24304         [$(subdir) = io]: Remove call_sync_file_range object.
24305         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
24306         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
24307         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
24308         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
24310 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
24312         * math/s_cproj.c: Add include "math_private.h".
24313         * math/s_cprojf.c: Likewise.
24314         * math/s_cprojl.c: Likewise.
24316 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
24318         [BZ #18244]
24319         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
24320         high mantissa bit when testing whether P is a NaN.
24321         * math/libm-test.inc (remainder_test_data): Add more tests.
24322         (remquo_test_data): Likewise.
24324         [BZ #18049]
24325         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
24326         below -32, return the argument, with underflow if subnormal.
24327         * math/auto-libm-test-in: Add more tests of atanh.
24328         * math/auto-libm-test-out: Regenerated.
24330 2015-05-19  Roland McGrath  <roland@hack.frob.com>
24332         [BZ #18434]
24333         * nptl/tst-sem15.c: New file.
24334         * nptl/Makefile (tests): Add it.
24335         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
24336         s/<</>>/ to fix typo in EOVERFLOW check.
24337         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
24339 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24341         * manual/strings.texi (envz_remove): Fix typo in safety
24342         annotations.
24344 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
24345             Steve Ellcey  <sellcey@imgtec.com>
24347         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
24348         in order to avoid strict alias warnings.
24349         (iruserok_af): Ditto for ra.
24351 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
24353         [BZ #17581]
24354         * malloc/hooks.c
24355         (magicbyte): Convert to a function and avoid returning 0x01.
24356         (mem2mem_check): Avoid using a length byte equal to the magic byte.
24357         (mem2chunk_check): Fix unsigned comparisons to zero.
24358         Hoist defs of sz and magic.
24360 2015-05-19  Richard Henderson  <rth@redhat.com>
24362         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
24364         * sysdeps/alpha/fpu/libm-test-ulps: Update.
24366 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24368         [BZ #16159]
24369         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
24370         * malloc/arena.c (arena_lock): Check if arena is corrupt.
24371         (reused_arena): Find a non-corrupt arena.
24372         (heap_trim): Pass arena to unlink.
24373         * malloc/hooks.c (malloc_check_get_size): Pass arena to
24374         malloc_printerr.
24375         (top_check): Likewise.
24376         (free_check): Likewise.
24377         (realloc_check): Likewise.
24378         * malloc/malloc.c (malloc_printerr): Add arena argument.
24379         (unlink): Likewise.
24380         (munmap_chunk): Adjust.
24381         (ARENA_CORRUPTION_BIT): New macro.
24382         (arena_is_corrupt): Likewise.
24383         (set_arena_corrupt): Likewise.
24384         (sysmalloc): Use mmap if there are no usable arenas.
24385         (_int_malloc): Likewise.
24386         (__libc_malloc): Don't fail if arena_get returns NULL.
24387         (_mid_memalign): Likewise.
24388         (__libc_calloc): Likewise.
24389         (__libc_realloc): Adjust for additional argument to
24390         malloc_printerr.
24391         (_int_free): Likewise.
24392         (malloc_consolidate): Likewise.
24393         (_int_realloc): Likewise.
24394         (_int_memalign): Don't touch corrupt arenas.
24395         * malloc/tst-malloc-backtrace.c: New test case.
24397         * Makefile (summarize-tests): Fix return value on success.
24399         * manual/string.texi (Envz Functions): Add envz_remove.
24401 2015-05-18  Roland McGrath  <roland@hack.frob.com>
24403         * sysdeps/posix/opendir.c: Include <stdbool.h>.
24404         (invalid_name): New function, broken out of ...
24405         (__opendirat): ... here.  Call it.
24406         (need_isdir_precheck): New function, broken out of ...
24407         (__opendirat): ... here.  Call it.
24408         Use __fxstatat64, not __xstatat64.
24409         (opendir_oflags): New function, broken out of ...
24410         (__opendirat): ... here.  Call it.
24411         (opendir_tail): New function, broken out of ...
24412         (__opendirat): ... here.  Call it.
24413         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
24414         opendir_tail, rather than punting to __opendirat.
24415         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
24417 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24419         * .gitignore: Ignore generated *.pyc.
24421 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
24423         * include/stdio.h: Define __need_wint_t.
24424         * test-skeleton.c: Avoid `for' loop initial declaration.
24425         * nptl/tst-initializers1.c: Use test-skeleton.c.
24427 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24429         [BZ #18418]
24430         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
24432 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
24434         [BZ #16352]
24435         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
24436         (__ieee754_atanh): Force underflow exception for results with
24437         small absolute value.
24438         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
24439         (__ieee754_atanhf): Force underflow exception for results with
24440         small absolute value.
24441         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
24442         (__ieee754_atanh): Force underflow exception for results with
24443         small absolute value.
24444         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
24445         (__ieee754_atanhf): Force underflow exception for results with
24446         small absolute value.
24447         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
24448         (__ieee754_atanhl): Force underflow exception for results with
24449         small absolute value.
24450         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
24451         (__ieee754_atanhl): Force underflow exception for results with
24452         small absolute value.
24453         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
24454         (__ieee754_atanhl): Force underflow exception for results with
24455         small absolute value.
24456         * math/auto-libm-test-in: Do not allow missing underflow
24457         exceptions from atanh.
24458         * math/auto-libm-test-out: Regenerated.
24460         [BZ #18221]
24461         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
24462         2**-28 as threshold for returning x or +/- 1/x.
24463         * math/auto-libm-test-in: Add more tests of tan.
24464         * math/auto-libm-test-out: Regenerated.
24466         [BZ #18220]
24467         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
24468         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
24469         * math/auto-libm-test-in: Add another test of lgamma.
24470         * math/auto-libm-test-out: Regenerated.
24472 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
24474         * stdio-common/printf_fp.c (___printf_fp): Use abs.
24475         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
24476         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
24477         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
24478         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
24479         (ADD2A): Use fabs.  (SUB2A): Use fabs.
24480         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
24481         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
24482         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
24483         (log1): Use fabs.  (my_log2): Use fabs.
24484         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
24485         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
24486         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
24487         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
24488         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
24489         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
24490         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
24491         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
24492         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
24493         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
24494         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
24496 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
24498         [BZ #18217]
24499         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
24500         as threshold for returning 1 - x.
24501         * math/auto-libm-test-in: Add more tests of erfc.
24502         * math/auto-libm-test-out: Regenerated.
24504 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
24506         [BZ #18196]
24507         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
24508         threshold for large arguments.
24509         * math/auto-libm-test-in: Add another test of atan.
24510         * math/auto-libm-test-out: Regenerated.
24512         [BZ #16339]
24513         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
24514         (__log1p): Force underflow exception for results with small
24515         absolute value.
24516         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
24517         (__log1pf): Force underflow exception for results with small
24518         absolute value.
24519         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
24520         (__log1p): Force underflow exception for results with small
24521         absolute value.
24522         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
24523         (__log1pf): Force underflow exception for results with small
24524         absolute value.
24525         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
24526         (__log1pl): Force underflow exception for results with small
24527         absolute value.
24528         * math/auto-libm-test-in: Do not allow missing underflow
24529         exceptions from log1p.
24530         * math/auto-libm-test-out: Regenerated.
24532 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
24533             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24535         [BZ #16704]
24536         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
24538 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
24540         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
24541         (libmvec): New variable.
24542         * configure.ac: Added option for mathvec build.
24543         * configure: Regenerated.
24544         * mathvec/Depend: New file.
24545         * mathvec/Makefile: New file.
24546         * shlib-versions: Added libmvec.
24547         * math/Makefile: Added rule for libm.so installation.
24549         * bits/math-vector.h: New file.
24550         * bits/libm-simd-decl-stubs.h: New header.
24551         * math/Makefile (headers): Added new header
24552         libm-simd-decl-stubs.h.
24553         * math/math.h (__MATHCALL_VEC): New macro.
24555         * math/gen-libm-have-vector-test.sh: Script generates series of macros
24556         for conditions in testing functions.
24557         * math/Makefile: Added call of libm-have-vector-test.sh.
24558         * math/libm-test.inc (HAVE_VECTOR): New macros.
24560         * math/libm-test.inc: START refactored.
24561         * math/test-double.c (TEST_MATHVEC): Add define.
24562         * math/test-float.c: Likewise.
24563         * math/test-idouble.c: Likewise.
24564         * math/test-ifloat.c: Likewise.
24565         * math/test-ildoubl.c: Likewise.
24566         * math/test-ldouble.c: Likewise.
24567         * sysdeps/generic/math-tests-arch.h
24568         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
24569         architecture check.
24571         * math/test-double.c (FUNC_TEST): New macro.
24572         * math/test-float.c: Likewise.
24573         * math/test-idouble.c: Likewise.
24574         * math/test-ifloat.c: Likewise.
24575         * math/test-ildoubl.c: Likewise.
24576         * math/test-ldouble.c: Likewise.
24577         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
24579 2015-05-13  Roland McGrath  <roland@hack.frob.com>
24581         * sysdeps/nacl/fdopendir.c: New file.
24583         * dirent/scandir-tail.c: New file.
24584         * dirent/scandir64-tail.c: New file.
24585         * dirent/Makefile (routines): Add them.
24586         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
24587         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
24588         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
24589         [!SCANDIR] (SCANDIR_TAIL): New macro.
24590         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
24591         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
24592         (SCANDIRAT): Macro removed.
24593         (SCANDIR_TAIL): New macro.
24594         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
24595         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
24596         (SCANDIRAT): Just call __opendirat and __scandir_tail.
24597         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
24598         (READDIR): Macro removed.
24599         (SCANDIR_TAIL): New macro.
24600         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
24601         (SCANDIR_TAIL): New macro.
24603         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
24604         * dirent/scandir-cancel.c: ... to this new file.
24605         * dirent/Makefile (routines): Add it.
24606         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
24607         * sysdeps/unix/sysv/linux/i386/scandir64.c
24608         (SKIP_SCANDIR_CANCEL): Macro removed.
24609         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
24611         * dirent/tst-scandir.c: New file.
24612         * dirent/tst-scandir64.c: New file.
24613         * dirent/Makefile (tests): Add them.
24615 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
24617         [BZ #18409]
24618         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
24620 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24622         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
24623         list.
24625 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
24627         * benchtests/bench-strcoll.c: New benchmark.
24628         * benchtests/Makefile: Generate locales and run benchmark.
24629         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
24630         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
24631         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
24632         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
24633         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
24634         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
24635         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
24636         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
24637         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
24638         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
24639         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
24640         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
24641         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
24642         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
24643         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
24644         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
24645         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
24646         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
24647         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
24648         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
24649         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
24650         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
24651         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
24652         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
24654 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
24656         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
24657         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24659 2015-05-12  Roland McGrath  <roland@hack.frob.com>
24661         * posix/uname-values.h: New file.
24662         * posix/uname.c: Include that instead of <config-name.h>.
24663         * sysdeps/nacl/uname-values.h: New file.
24664         * sysdeps/arm/nacl/uname-values.h: New file.
24666 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
24668         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
24669         splitting into fields.
24671 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
24673         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
24674         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
24675         * locale/localeinfo.h: Add enum collation_encoding_type.
24676         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
24677         * programs/ld-collate.c (collate_output): Add encoding type info.
24678         * string/strcoll_l.c (STRDIFF): New function.
24679         * (STRCOLL): Use STRDIFF to skip over equal prefix.
24680         * wcsmbs/wcscoll_l.c: Define STRDIFF.
24682 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
24684         [BZ #18397]
24685         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
24686         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
24687         <fpu_control.h> instead of <math/fpu_control.c>.
24688         * sysdeps/mips/mips32/fpu/Makefile: New file.
24690 2015-05-11  Andreas Schwab  <schwab@suse.de>
24692         [BZ #18007]
24693         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
24694         nss_endgrent.
24695         (_nss_compat_endgrent): Call nss_endgrent.
24696         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
24697         nss_endpwent.
24698         (_nss_compat_endpwent): Call nss_endpwent.
24699         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
24700         needent, call nss_setspent only if non-zero.
24701         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
24702         (internal_endspent): Don't call nss_endspent.
24703         (_nss_compat_endspent): Call nss_endspent.
24704         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
24705         Remove.  All uses removed.
24706         (internal_setent): Remove parameter stayopen, add parameter
24707         stream.  Use it instead of global variable.
24708         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
24709         (internal_endent, internal_getent): Add parameter stream.  Use it
24710         instead of global variable.
24711         (CONCAT(_nss_files_end,ENTNAME))
24712         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
24713         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
24714         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
24715         uses removed.
24716         (internal_setent, internal_endent): Add parameter stream.  Use it
24717         instead of global variable.
24718         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
24719         stream.
24720         (get_next_alias): Add parameter stream.
24721         (_nss_files_getaliasent_r): Pass global stream.
24722         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
24723         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
24724         (_nss_files_gethostbyname4_r): Pass local stream to
24725         internal_setent, internal_getent and internal_endent.  Remove
24726         locking.
24728 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
24730         * tst-strfmon1.c (tests): Update expected currency symbol.
24732 2015-05-08  Roland McGrath  <roland@hack.frob.com>
24734         * sysdeps/nacl/gethostname.c: New file.
24736 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
24738         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
24739         and sinh.
24740         * math/auto-libm-test-out: Regenerated.
24741         * sysdeps/i386/fpu/libm-test-ulps: Update.
24742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24744 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
24746         [BZ #18125]
24747         * stdlib/tst-setcontext3.c: New file.
24748         * stdlib/tst-setcontext3.sh: New file.
24749         * stdlib/Makefile (tests): Add tst-setcontext3.
24750         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
24751         to verify test program created output file.
24752         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
24753         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
24754         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
24755         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
24757 2015-05-06  Roland McGrath  <roland@hack.frob.com>
24759         [BZ #18383]
24760         * elf/tst-tlsalign.c: New file.
24761         * elf/tst-tlsalign-static.c: New file.
24762         * elf/tst-tlsalign-lib.c: New file.
24763         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
24764         (tests-static): Add tst-tlsalign-static.
24765         (modules-names): Add tst-tlsalign-lib.
24766         (test-xfail-tst-tlsalign): New variable.
24767         (test-xfail-tst-tlsalign-static): New variable.
24769         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
24770         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
24772 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
24774         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
24775         csqrt, erfc, sin and sincos.
24776         * math/auto-libm-test-out: Regenerated.
24777         * sysdeps/i386/fpu/libm-test-ulps: Update.
24778         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24780 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24782         * sysdeps/aarch64/libm-test-ulps: Update.
24784 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
24786         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
24787         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
24788         * math/auto-libm-test-out: Regenerated.
24789         * sysdeps/i386/fpu/libm-test-ulps: Update.
24790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24792 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
24794         [BZ #18265]
24795         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
24796         (wcsncpy): Likewise.
24798 2015-05-05  Florian Weimer  <fweimer@redhat.com>
24800         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
24801         Assume __ASSUME_FALLOCATE is always true.
24802         * sysdeps/unix/sysv/linux/posix_fallocate64.c
24803         (__posix_fallocate64_l64): Likweise.
24804         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
24805         (posix_fallocate): Likewise.
24806         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
24807         (__posix_fallocate64_l64): Likewise.
24808         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24809         [!__ASSUME_FALLOCATE]: Add comment.
24811 2015-05-05  Florian Weimer  <fweimer@redhat.com>
24813         * sysdeps/unix/sysv/linux/i386/Makefile
24814         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
24815         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
24816         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
24817         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
24818         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
24819         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
24820         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
24822 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
24824         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
24825         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
24826         tgamma.
24827         * math/auto-libm-test-out: Regenerated.
24828         * sysdeps/i386/fpu/libm-test-ulps: Update.
24829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24831 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
24833         * math/auto-libm-test-in: Add more tests of tgamma.
24834         * math/auto-libm-test-out: Regenerated.
24835         * sysdeps/i386/fpu/libm-test-ulps: Update.
24836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24838         * math/auto-libm-test-in: Add more tests of tanh.
24839         * math/auto-libm-test-out: Regenerated.
24840         * sysdeps/i386/fpu/libm-test-ulps: Update.
24841         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24843         * math/auto-libm-test-in: Add more tests of tan.
24844         * math/auto-libm-test-out: Regenerated.
24845         * sysdeps/i386/fpu/libm-test-ulps: Update.
24846         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24848         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
24849         * math/auto-libm-test-out: Regenerated.
24850         * sysdeps/i386/fpu/libm-test-ulps: Update.
24851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24853         * math/auto-libm-test-in: Add another test of pow.
24854         * math/auto-libm-test-out: Regenerated.
24855         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24857         * math/auto-libm-test-in: Add more tests of lgamma.
24858         * math/auto-libm-test-out: Regenerated.
24859         * sysdeps/i386/fpu/libm-test-ulps: Update.
24860         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24862         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
24863         log1p.
24864         * math/auto-libm-test-out: Regenerated.
24865         * sysdeps/i386/fpu/libm-test-ulps: Update.
24866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24868 2015-05-01  Mark Wielaard  <mjw@redhat.com>
24870         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
24871         Elf64_Chdr structs and ELFCOMPRESS constants.
24873 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
24875         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
24876         expm1.
24877         * math/auto-libm-test-out: Regenerated.
24878         * sysdeps/i386/fpu/libm-test-ulps: Update.
24879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24881         * math/auto-libm-test-in: Add more tests of erf and erfc.
24882         * math/auto-libm-test-out: Regenerated.
24883         * sysdeps/i386/fpu/libm-test-ulps: Update.
24884         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24886 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24888         * config.h.in (HAVE_AARCH64_BE): Add.
24890 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
24892         * math/auto-libm-test-in: Add more tests of csqrt.
24893         * math/auto-libm-test-out: Regenerated.
24894         * sysdeps/i386/fpu/libm-test-ulps: Update.
24895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24897         * math/auto-libm-test-in: Add more tests of cosh and sinh.
24898         * math/auto-libm-test-out: Regenerated.
24899         * sysdeps/i386/fpu/libm-test-ulps: Update.
24900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24902         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
24904 2015-04-29  Roland McGrath  <roland@hack.frob.com>
24906         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
24907         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
24909         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
24910         (euidaccess, eaccess): Define as weak aliases.
24912         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
24913         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
24914         but __suseconds_t is often 'long int' so some sources assume that
24915         type is being used (e.g. they use %ld to print tv_usec).
24917 2015-04-29  Florian Weimer  <fweimer@redhat.com>
24919         [BZ #18007]
24920         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
24921         (CVE-2014-8121)
24922         * nss/tst-nss-getpwent.c: New file.
24923         * nss/Makefile (tests): Add new test.
24925 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
24927         [BZ #18346]
24928         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
24929         exponents less than 48 as cases where high part of mantissa needs
24930         examining to determine whether argument is integral.
24931         * math/libm-test.inc (round_test_data): Add more tests.
24933 2015-04-28  Mark Wielaard  <mjw@redhat.com>
24935         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
24937 2015-04-27  David S. Miller  <davem@davemloft.net>
24939         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
24940         __tls_get_addr.
24941         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
24943 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
24945         [BZ#18333]
24946         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
24948 2015-04-27  Florian Weimer  <fweimer@redhat.com>
24950         [BZ#18333]
24951         * time/tzset.c (parse_tzname): Return error on memory allocation
24952         failure.
24953         * test-skeleton.c (struct temp_name_list): Change type of name
24954         member to non-const.
24955         (add_temp_file): Create a copy of the file name.
24956         (delete_temp_files): Deallocate memory.
24957         (create_temp_file): Add comment.
24959 2015-04-24  Florian Weimer  <fweimer@redhat.com>
24961         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
24962         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
24964 2015-04-24  Roland McGrath  <roland@hack.frob.com>
24966         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
24967         * sysdeps/arm/configure: Regenerated.
24969 2015-04-24  Florian Weimer  <fweimer@redhat.com>
24971         [BZ #17715]
24972         * time/tzfile.c (__tzfile_read): Check for large values of
24973         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
24974         * time/tzset.c (__tzstring_len): New function, based on the old
24975         __tzstring function.
24976         (__tzstring): Call __tzstring_len.
24977         (parse_tzname): New helper function extracted from
24978         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
24979         the input string.
24980         (parse_offset): New helper function extracted from
24981         __tzset_parse_tz.  Replace switch with fallthrough with
24982         initialization before sscanf.
24983         (parse_rule): Likewise.
24984         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
24985         new-style function definition.
24986         * timezone/Makefile (tests): Add tst-tzset.
24987         (tst-tzset.out): Dependencies on time zone files.
24988         (tst-tzset-ENV): Set TZDIR.
24989         (testdata/XT%): Copy crafted time zone files.
24990         * timezone/README: Mention crafted time zone files.
24991         * timezone/testdata/XT1, timezone/testdata/XT2,
24992         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
24993         files.
24994         * timezone/tst-tzset.c: New test.
24996 2015-04-24  Florian Weimer  <fweimer@redhat.com>
24998         * Makeconfig (+gccwarn): Remove -Winline.
25000 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
25002         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
25004 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
25006         * NEWS: Mention sysconf() cache information support for s390.
25007         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
25009 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
25011         * math/k_casinh.c (__kernel_casinh): Use __copysign.
25012         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
25013         (__nearbyint): Likewise.
25014         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
25015         (copysignl): Likewise.
25017 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
25019         [BZ #18287]
25020         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
25021         based on padding.  (CVE-2015-1781)
25023 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25025         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
25026         libc-vdso.h.
25027         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
25028         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
25029         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
25030         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
25031         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
25032         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
25033         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
25034         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
25035         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25036         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
25037         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
25038         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
25039         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
25040         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
25041         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
25042         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
25043         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
25044         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
25045         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
25046         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
25047         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
25048         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
25049         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
25051 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
25053         * stdlib/setenv.c (__add_to_environ):
25054         Dump core quickly if setenv (..., NULL, ...) is called.
25055         This time, do it the right way, and pacify GCC with a pragma.
25057 2015-04-17  Roland McGrath  <roland@hack.frob.com>
25059         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
25060         IMAP->l_prev cannot be null, and #if out the code for the contrary
25061         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
25062         believe that NS (&_dl_ns[NSID]) could point outside the array.
25064         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
25065         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
25066         before using NSID as an index.
25068 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
25070         [BZ #17825]
25071         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
25072         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
25073         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
25075 2015-04-17  Roland McGrath  <roland@hack.frob.com>
25077         Add preliminary port to Google Native Client on ARM.
25078         * abi-tags (.*-.*-nacl.*): New entry.
25079         * sysdeps/arm/nacl: New directory.
25080         * sysdeps/nacl: New directory.
25082 2015-04-16  David S. Miller  <davem@davemloft.net>
25084         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
25085         lowlevellock-futex.h
25087 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
25089         * sysdeps/tile/configure.ac: New file.
25090         * sysdeps/tile/configure: Regenerated.
25092 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25094         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
25095         conditionals for weak_alias and libc_hidden_weak.
25096         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
25097         libc_hidden_weak and weak_alias.
25098         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
25099         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
25100         and weak_alias for static one.
25102 2015-04-15  David S. Miller  <davem@davemloft.net>
25104         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
25106 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25108         [BZ #18206]
25109         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
25110           Use signed comparision instead of substraction to avoid
25111           overflow bug.
25112         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
25113           Take the sign of ret.
25114         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
25115           Do not expect precise return values. Only the sign matters.
25116         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
25117         * wcsmbs/test-wcsncmp.c: New File.
25118         * string/test-strncmp.c: Add wcsncmp support.
25120 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25122         [BZ #6792]
25123         * math/w_log1p.c: New file.
25124         * math/w_log1pf.c: Likewise.
25125         * math/w_log1pl.c: Likewise.
25126         * math/Makefile (libm-calls): Add w_log1p.
25127         * math/s_log1pl.c (log1pl): Remove weak_alias.
25128         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
25129         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
25130         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
25131         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
25132         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
25133         [NO_LONG_DOUBLE] (log1pl): Likewise.
25134         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
25135         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
25136         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
25137         (log1p): Remove long_double_symbol.
25138         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
25139         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
25140         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
25141         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
25142         remove weak_alias for corresponding log1p function.
25143         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
25144         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
25145         * sysdeps/ia64/fpu/w_log1p.c: New file.
25146         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
25147         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
25148         * math/libm-test.inc (log1p_test_data): Add errno expectations.
25150 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
25152         [BZ #18247]
25153         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
25154         decimal exponent by 1.
25155         * stdlib/tst-strtod-round-data: Add more tests.
25156         * stdlib/tst-strtod-round.c (tests): Regenerated.
25158 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
25160         * math/auto-libm-test-in: Add more tests of clog and clog10.
25161         * math/auto-libm-test-out: Regenerated.
25162         * sysdeps/i386/fpu/libm-test-ulps: Update.
25163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25165 2015-04-09  Roland McGrath  <roland@hack.frob.com>
25167         * Makeconfig (module-cppflags): Exclude all .v.i files.
25168         (skip-module-cppflags): Variable removed.
25170         * configure.ac (libc_config_ok): Initialize before reading
25171         preconfigure scripts, not after.
25172         * configure: Regenerated.
25174         * test-skeleton.c (TIMEOUT): Move #define to top level.
25175         (main): Grok environment variable TEST_DIRECT.  If set, print
25176         test expectation details into that file and then behave as if
25177         given --direct.
25179 2015-04-09  Florian Weimer  <fweimer@redhat.com>
25181         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
25182         warning on 32-bit.
25184 2015-04-08  David S. Miller  <davem@davemloft.net>
25186         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25188 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
25190         * math/auto-libm-test-in: Add more tests of atanh.
25191         * math/auto-libm-test-out: Regenerated.
25192         * sysdeps/i386/fpu/libm-test-ulps: Update.
25193         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25195         * math/auto-libm-test-in: Add more tests of atan.
25196         * math/auto-libm-test-out: Regenerated.
25197         * sysdeps/i386/fpu/libm-test-ulps: Update.
25198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25200 2015-04-08  Florian Weimer  <fweimer@redhat.com>
25202         * elf/pldd.c (main): Rewrite to use struct
25203         scratch_buffer instead of extend_alloca.
25204         * elf/pldd-xx.c (find_maps): Likewise.
25205         * grp/initgroups.c: Include <scratch_buffer.h> instead of
25206         <alloca.h>.
25207         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
25208         scratch_buffer instead of extend_alloca.
25209         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
25210         grp/compat-initgroups.c.
25211         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
25212         Rewrite to use struct scratch_buffer instead of extend_alloca.
25213         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
25214         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
25216 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
25218         * math/auto-libm-test-in: Add more tests of cbrt.
25219         * math/auto-libm-test-out: Regenerated.
25220         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25222         * math/auto-libm-test-in: Add more tests of cabs.
25223         * math/auto-libm-test-out: Regenerated.
25224         * sysdeps/i386/fpu/libm-test-ulps: Update.
25225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25227         [BZ #18210]
25228         [BZ #18211]
25229         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
25230         (__ieee754_atan2): Set FE_TONEAREST mode for internal
25231         computations.
25232         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
25233         clog10.
25234         * math/auto-libm-test-out: Regenerated.
25235         * sysdeps/i386/fpu/libm-test-ulps: Update.
25236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25238         [BZ #18197]
25239         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
25240         (atan): Set FE_TONEAREST mode for internal computations.
25241         * math/auto-libm-test-in: Add more tests of atan.
25242         * math/auto-libm-test-out: Regenerated.
25244 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
25246         [BZ #17930]
25247         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
25249 2015-04-07  Florian Weimer  <fweimer@redhat.com>
25251         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
25253 2015-04-07  Florian Weimer  <fweimer@redhat.com>
25255         * include/scratch_buffer.h: New file.
25256         * malloc/scratch_buffer_grow.c: Likewise.
25257         * malloc/scratch_buffer_grow_preserve.c: Likewise.
25258         * malloc/scratch_buffer_set_array_size.c: Likewise.
25259         * malloc/tst-scratch_buffer.c: Likewise.
25260         * malloc/Makefile (routines): Add scratch_buffer_grow.
25261         (tests): Add test case.
25262         * malloc/Versions (GLIBC_PRIVATE): Export
25263         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
25264         __libc_scratch_buffer_set_array_size.
25266 2015-04-06  Richard Henderson  <rth@redhat.com>
25268         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
25269         * sysdeps/alpha/fpu/libm-test-ulps: Update.
25271         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
25272         unsigned int before printing.
25274 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25276         [BZ #17596]
25277         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
25278         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
25280 2015-04-02  Florian Weimer  <fweimer@redhat.com>
25282         * include/libc-internal.h (libc_max_align_t): Define.
25284 2015-04-02  Andreas Schwab  <schwab@suse.de>
25286         [BZ #16850]
25287         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
25289 2015-04-02  Mel Gorman  <mgorman@suse.de>
25291         [BZ #17195]
25292         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
25293         as well as the main arena.
25295 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
25297         [BZ #18185]
25298         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
25299         sharing L2 cache to 2 for Silvermont/Knights Landing.
25301 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
25303         [BZ #17711]
25304         * config.make.in (have-protected-data): New.
25305         * configure.ac: Check linker support for protected data symbol.
25306         * configure: Regenerated.
25307         * elf/Makefile (modules-names): Add tst-protected1moda and
25308         tst-protected1modb if $(have-protected-data) is yes.
25309         (tests): Add tst-protected1a and tst-protected1b if
25310         $(have-protected-data) is yes.
25311         ($(objpfx)tst-protected1a): New.
25312         ($(objpfx)tst-protected1b): Likewise.
25313         (tst-protected1modb.so-no-z-defs): Likewise.
25314         * elf/tst-protected1a.c: New file.
25315         * elf/tst-protected1b.c: Likewise.
25316         * elf/tst-protected1mod.h: Likewise.
25317         * elf/tst-protected1moda.c: Likewise.
25318         * elf/tst-protected1modb.c: Likewise.
25320 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
25322         [BZ #17711]
25323         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
25324         indicates it is called from do_lookup_x on relocation against
25325         protected data, skip the data definion in the executable from
25326         copy reloc.
25327         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
25328         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
25329         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
25330         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
25331         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
25332         otherwise to 0.
25333         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
25334         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
25335         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
25336         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
25337         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
25338         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
25340 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
25342         * sysdeps/nptl/pthread.h: Remove duplicate definition of
25343         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
25345 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
25347         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
25348         THREAD_SETMEM_NC.
25349         * sysdeps/x86_64/nptl/tls.h: Ditto.
25351 2015-03-27  Roland McGrath  <roland@hack.frob.com>
25353         * dlfcn/tststatic.c (main): Converted to ...
25354         (do_test): ... this.
25355         (TEST_FUNCTION): New macro.
25356         Include test-skeleton.c.
25358 2015-03-26  Alan Modra  <amodra@gmail.com>
25360         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
25361         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
25362         zero for undefined weak.
25363         (elf_machine_plt_conflict): Similarly.
25365 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
25367         * math/auto-libm-test-in: Add more tests of acosh, asinh and
25368         atanh.
25369         * math/auto-libm-test-out: Regenerated.
25370         * sysdeps/i386/fpu/libm-test-ulps: Update.
25371         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25373         * math/auto-libm-test-in: Add another test of asin.
25374         * math/auto-libm-test-out: Regenerated.
25375         * sysdeps/i386/fpu/libm-test-ulps: Update.
25376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25378         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
25379         Remove macro.
25380         (LLL_EBX_REG): Likewise.
25381         (LLL_ENTER_KERNEL): Likewise.
25383         * math/auto-libm-test-in: Add more tests of asin.
25384         * math/auto-libm-test-out: Regenerated.
25385         * sysdeps/i386/fpu/libm-test-ulps: Update.
25386         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25388         [BZ #18138]
25389         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
25390         libc_do_syscall_args): New structure.
25391         (INTERNAL_SYSCALL_MAIN_0): New macro.
25392         (INTERNAL_SYSCALL_MAIN_1): Likewise.
25393         (INTERNAL_SYSCALL_MAIN_2): Likewise.
25394         (INTERNAL_SYSCALL_MAIN_3): Likewise.
25395         (INTERNAL_SYSCALL_MAIN_4): Likewise.
25396         (INTERNAL_SYSCALL_MAIN_5): Likewise.
25397         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
25398         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
25399         Replace conditional definitions by conditional definitions of ....
25400         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
25401         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
25402         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
25403         (libpthread-sysdep_routines): Add libc-do-syscall.
25404         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
25405         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
25406         to __NR_futex not 240.
25408 2015-03-25  Alan Modra  <amodra@gmail.com>
25410         * NEWS: Advertise TLS optimization.
25411         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
25412         (DT_PPC_NUM): Increment.
25413         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
25414         (CHECK_STATIC_TLS): Use here.
25415         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
25416         TLS descriptors.
25417         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
25418         * sysdeps/powerpc/dl-tls.c: New file.
25419         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
25420         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
25421         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
25422         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
25423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
25424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
25425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
25427 2015-03-25  Alan Modra  <amodra@gmail.com>
25429         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
25430         for overlapping .opd entries" to "support...".
25431         * sysdeps/powerpc/powerpc64/configure: Regenerate
25433 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
25435         * math/auto-libm-test-in: Add more tests of acos.
25436         * math/auto-libm-test-out: Regenerated.
25437         * sysdeps/i386/fpu/libm-test-ulps: Update.
25438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25440         * math/auto-libm-test-in: Add more tests of expm1.
25441         * math/auto-libm-test-out: Regenerated.
25442         * sysdeps/i386/fpu/libm-test-ulps: Update.
25443         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25445 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
25447         * math/auto-libm-test-in: Add more tests of cosh and sinh.
25448         * math/auto-libm-test-out: Regenerated.
25449         * sysdeps/i386/fpu/libm-test-ulps: Update.
25450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25452         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25453         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25455         * math/auto-libm-test-in: Add more tests of log2.
25456         * math/auto-libm-test-out: Regenerated.
25457         * sysdeps/i386/fpu/libm-test-ulps: Update.
25458         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25460 2015-03-23  Roland McGrath  <roland@hack.frob.com>
25462         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
25463         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
25464         _IO_IS_APPENDING bit in READ_WRITE instead.
25466 2015-03-23  Florian Weimer  <fweimer@redhat.com>
25468         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
25469         (__determine_cpumask_size): Replace extend_alloca with a
25470         variable-length array.  Do not treat res == 0 as an error.
25472 2015-03-23  Florian Weimer  <fweimer@redhat.com>
25474         [BZ #18100]
25475         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
25476         and integer overflow.
25477         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
25478         (main): Add integer overflow tests.
25479         * manual/pattern.texi (Calling Wordexp): Document additional use
25480         for WRDE_SYNTAX.
25482 2015-03-23  Alan Modra  <amodra@gmail.com>
25484         * config.h.in: Remove HAVE_ASM_PPC_REL16.
25485         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
25486         and false branch of conditional.
25487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
25488         Likewise.
25490 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
25492         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
25493         libc-modules.h
25494         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
25495         unused declaration of _hurd_intr_rpc_msg_in_trap.
25496         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
25497         defined instead of whether it is non-zero.
25498         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
25499         input constraint instead of both input and output constraint.  Use ecx
25500         clobber instead of %ecx.
25501         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
25502         mutex_unlock): Use a statement expression instead of an expression list.
25503         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
25504         type to vm_size_t instead of vm_address_t.
25505         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
25506         defined instead of whether it is non-zero.
25507         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
25508         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
25509         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
25510         comparisons with mapaddr.
25511         * nscd/nscd-client.h: Include <time.h>.
25512         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
25513         9th parameter to __vm_region instead of int.
25514         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
25515         * scripts/check-local-headers.sh (exclude): Add device/,
25516         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
25517         cthreads.h.
25519 2015-03-19  Roland McGrath  <roland@hack.frob.com>
25521         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
25522         to account for alignment padding.
25523         * sysdeps/arm/memmove.S: Likewise.
25525 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
25527         * sysdeps/unix/sysv/linux/generic/README: New file.
25529 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
25531         [BZ #18138]
25532         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
25533         (futex_abstimed_wait)
25534         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
25535         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
25536         of lll_futex_timed_wait.
25538 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
25540         [BZ #17542]
25541         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
25543 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
25545         [BZ #17090]
25546         [BZ #17620]
25547         [BZ #17621]
25548         [BZ #17628]
25549         * NEWS: Update.
25550         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
25551         entries with Static TLS too.  Skip entries past the end of the
25552         allocated DTV, from Alan Modra.
25553         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
25554         Static TLS DTV entry set up from...
25555         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
25556         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
25557         * nptl/allocatestack.c (init_one_static_tls): ... and here...
25558         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
25559         for Static TLS.
25560         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
25561         that the slot we find is associated with the given map before
25562         using its generation count.
25563         * nptl_db/db_info.c: Include ldsodefs.h.
25564         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
25565         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
25566         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
25567         (link_map::l_tls_offset): New struct field.
25568         (dtv_t::counter): Likewise.
25569         (rtld_global): New struct.
25570         (_rtld_global): New rtld variable.
25571         (dl_tls_dtv_slotinfo_list): New rtld global field.
25572         (dtv_slotinfo_list): New struct.
25573         (dtv_slotinfo): Likewise.
25574         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
25575         (td_lookup): Rename to...
25576         (td_mod_lookup): ... this.  Use new mod parameter instead of
25577         LIBPTHREAD_SO.
25578         * nptl_db/td_thr_tlsbase.c: Include link.h.
25579         (dtv_slotinfo_list, dtv_slotinfo): New functions.
25580         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
25581         addresses even if the DTV is out of date or missing them.
25582         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
25583         index zero-length arrays.
25584         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
25585         (td_lookup): Make it a macro implemented in terms of...
25586         (td_mod_lookup): ... this declaration.
25587         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
25588         (DB_MAIN_VARIABLE): Likewise.
25590 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
25592         [BZ #18134]
25593         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
25595 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
25597         * stdlib/setenv.c (__add_to_environ): Revert previous change.
25599 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
25601         [BZ #18128]
25602         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
25603         (atomic_add, atomic_increment_and_test)
25604         (atomic_decrement_and_test): Fix 64-bit arithmetic.
25606 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
25608         * stdlib/setenv.c (__add_to_environ):
25609         Dump core quickly if setenv (..., NULL, ...) is called.
25611 2015-03-13  Roland McGrath  <roland@hack.frob.com>
25613         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
25614         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
25615         all the necessary asm magic in one place.
25616         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
25617         using those.
25619 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
25621         [BZ #14906]
25622         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
25623         traced file mtime. Use consistent log message.
25624         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
25625         (register_traced_file): Call install_watches. Always set mtime.
25626         (invalidate_cache): Iterate over all trace files. Call install_watches.
25627         (inotify_check_files): Don't inline. Handle watching parent
25628         directories and configuration file movement in and out.
25629         (handle_inotify_events): New function.
25630         (main_loop_poll): Call handle_inotify_events.
25631         (main_loop_epoll): Likewise.
25632         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
25633         (struct traced_file): Use array of inotify fds. Add parent directory,
25634         and basename.
25635         (struct database_dyn): Remove unused file_mtime.
25636         (init_traced_file): New inline function.
25637         (define_traced_file): New macro.
25638         * nss/nss_db/db-init.c: Use define_traced_file.
25639         (_nss_db_init): Use init_traced_file.
25640         * nss/nss_files/files-init.c: Use define_traced_file.
25641         (_nss_files_init): Use init_traced_file.
25643 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
25645         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
25646         [_LIBC]: Do not include <stdlib.h>.
25647         [!_LIBC] (abort): Remove declaration.
25648         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
25649         _FP_STATIC_ASSERT instead of conditionally calling abort.
25650         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
25651         (_FP_EXTEND_CNAN): Likewise.
25652         (FP_TRUNC): Likewise.
25653         (__FP_CLZ): Likewise.
25654         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
25656 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
25658         * manual/string.texi (XPG basename): Fix prototype.
25660 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
25662         [BZ #18080]
25663         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
25664         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
25665         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
25666         (__setcontext): Likewise.
25667         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
25668         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
25669         Call rt_sigprocmask syscall one time to set new signal mask
25670         and retrieve the current signal mask instead of two calls.
25671         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
25672         (__swapcontext): Likewise.
25673         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
25674         * stdlib/tst-setcontext2.c: New file.
25676 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
25678         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25680 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
25682         [BZ #18093]
25683         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
25684         the wrong size.
25686 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
25688         [BZ #18043]
25689         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
25691 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
25693         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
25694         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
25695         Remove define.
25696         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
25697         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
25698         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
25699         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
25700         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
25701         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
25702         define.
25703         * nptl_db/td_symbol_list.c (td_lookup): Remove
25704         HAVE_ASM_GLOBAL_DOT_NAME code.
25705         * sysdeps/powerpc/powerpc64/configure.ac: Remove
25706         HAVE_ASM_GLOBAL_DOT_NAME check.
25707         * sysdeps/powerpc/powerpc64/configure: Regenerate.
25708         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
25709         (DOT_LABEL): Remove define.
25710         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
25711         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
25712         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
25713         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
25714         (__TLS_GET_ADDR): Likewise.
25715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
25716         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
25718 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
25720         [BZ #18111]
25721         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
25722         (_FPU_SETCW): Initialize cw from fpsr before storing.
25723         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
25724         (fesetexceptflag): Rewrite using fpu_control.h.
25725         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
25727 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
25729         [BZ #18110]
25730         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
25731         asms.
25732         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
25734 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
25736         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
25737         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
25738         abort.
25739         (_FP_FMA): Likewise.
25740         (_FP_DIV): Likewise.
25742 2015-03-10  Roland McGrath  <roland@hack.frob.com>
25744         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
25745         with 0 in that case.
25746         * Makefile (summarize-tests): New canned sequence, factored out of
25747         commands for targets tests and xtests.  Display summary lines that
25748         don't start with PASS: or XFAIL: rather than ones that do start with
25749         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
25750         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
25751         do start with ERROR: or FAIL:.
25752         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
25753         (except for [$(build-shared) = yes]).
25754         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
25755         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
25756         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
25757         * nptl/Makefile: Revert 2015-03-04 changes.
25758         [$(CXX) empty] (tests-unsupported): New variable.
25759         * debug/Makefile: Likewise.
25761         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
25762         gnulib file.  Replace __attribute with __attribute__ throughout.
25764 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
25766         * sysdeps/hppa/fpu/libm-test-ulps: Update.
25768 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
25770         [BZ #18104]
25771         * math/auto-libm-test-in: Add another test of pow.
25772         * math/auto-libm-test-out: Regenerated.
25774 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25776         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
25777         $(config-cflags-nofma).
25779 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
25781         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
25782         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
25783         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
25784         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
25785         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
25786         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
25787         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
25788         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
25789         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
25790         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
25791         Add comment on closing #endif.
25793 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
25795         * posix/wordexp.c (CHAR_IN_SET): New macro.
25796         (parse_param): Use it.
25798 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25800         * sysdeps/powerpc/fpu/libm-test-ulps: update.
25802 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
25804         [BZ #18043]
25805         * posix/wordexp.c (parse_param): Fix buffer overflow.
25806         * posix/wordexp-test.c (test_case): Add test case.
25808 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
25810         [BZ #18042]
25811         * posix/wordexp.c (parse_backtick): Fix off-by-one.
25812         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
25814 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
25816         [BZ #18043]
25817         * posix/wordexp-test.c (test_case): Add test for BZ #18043
25818         (do_bz18043): Delete.
25819         (at_page_end): New.
25820         (testit): Refactor to have words at the edge of unreadable page.
25822 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
25824         [BZ #16734]
25825         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
25826         Cleanup read-only streams as well.
25827         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
25829 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25831         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
25832         <bits/libc-lockP.h>
25834 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
25836         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
25837         on [__KERNEL__].
25838         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
25839         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
25840         * soft-fp/op-common.h (_FP_DECL): Likewise.
25842 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
25844         * elf/ifuncdep2.c (global): Replace
25845         __attribute__((visibility("protected"))) with
25846         asm (".protected global").
25847         * elf/ifuncmod1.c (global): Likewise.
25848         * elf/ifuncmod5.c (global): Likewise.
25850 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
25852         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
25853         <asm/sfp-machine.h> instead of <sfp-machine.h>.
25855 2015-03-06  Roland McGrath  <roland@hack.frob.com>
25857         * manual/install.texi (Configuring and compiling):
25858         Document test-wrapper-env-only.
25859         * INSTALL: Regenerated.
25861 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
25863         [BZ #18043]
25864         * posix/wordexp.c (parse_param): Fix buffer overflow.
25865         * posix/wordexp-test.c (do_bz18043): Add test case.
25867 2015-03-06  Vincent Bernat  <vincent@bernat.im>
25869         * time/tst-strptime2.c (do_test): Ensure failing tests are
25870         reported correctly.
25871         * time/tst-strptime3.c (do_test): Likewise.
25873 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
25875         Fix aio_error thread-safety.
25876         * sysdeps/pthread/aio_error.c: New file
25877         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
25878         synchronization.
25880 2015-03-06  Florian Weimer  <fweimer@redhat.com>
25882         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
25883         (group_number, vfprintf): Use it.
25884         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
25885         (JUMP, REF): Use it.
25886         (WORK_BUFFER_SIZE): New enum constant.
25887         (process_arg, vfprintf): Use it.
25889 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
25891         * manual/errno.texi (Error Messages): Complete example function
25892         by adding missing #define.
25893         (program_invocation_name): Add statement indicating GNU
25894         extension and reference which header file declares the variable.
25895         (program_invocation_short_name): Likewise.
25897 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
25899         * manual/errno.texi (Error Messages): Delete strerror ISO C89
25900         compatibility note.
25902 2015-03-05  Roland McGrath  <roland@hack.frob.com>
25904         * Makeconfig (test-wrapper-env-only): New variable.
25905         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
25906         then use that with $(test-wrapper-env-only) rather than using
25907         $(test-wrapper-env) $(run-program-env) $($*-ENV).
25909 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
25911         [BZ #18082]
25912         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
25913         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
25914         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
25915         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
25916         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
25917         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
25918         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
25919         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
25920         Likewise.
25921         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
25922         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
25923         Likewise.
25924         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
25925         Likewise.
25926         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
25927         Likewise.
25928         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
25929         Likewise.
25930         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
25931         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
25932         Likewise.
25933         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
25934         Likewise.
25935         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
25936         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
25938 2015-03-04  Roland McGrath  <roland@hack.frob.com>
25940         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
25941         (ETH_ALEN): New macro.
25942         (struct ether_addr): Use it for length of ether_addr_octet.
25944         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
25945         (setdb): Don't call __nss_configure_lookup for "rpc".
25946         (do_test): Don't call test_rpc.
25947         (output_rpcent, test_rpc): Functions moved ...
25948         * sunrpc/test-rpcent.c: ... to this new file.
25949         * sunrpc/Makefile (tests): Add it.
25951         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
25952         __xpg_sigpause.
25953         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
25954         * nptl/tst-signal6.c: Likewise.
25955         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
25956         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
25958         * configure.ac (libc_cv_cxx_link_ok): New check.
25959         Reset CXX to empty if it fails to link.
25960         * configure: Regenerated.
25961         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
25962         bug-atexit3-lib only if $(CXX) is nonempty.
25963         * nptl/Makefile (tests): Likewise for tst-cancel24.
25964         (tests, tests-static): Likewise for tst-cancel24-static.
25965         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
25966         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
25967         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
25968         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
25970 2015-03-04  Andreas Schwab  <schwab@suse.de>
25972         [BZ #17631]
25973         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
25974         for non-GCC compilers.
25975         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
25976         Likewise.
25978 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
25980         [BZ #17776]
25981         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
25982         integer before bitwise and assembly operations.
25983         (feclearexcept): Likewise.
25984         * math/test-fenvinline.c: New file.
25985         * math/Makefile: Add test-fenvinline test.
25987 2015-03-03  Alan Modra  <amodra@gmail.com>
25989         [BZ #16512]
25990         * scripts/localplt.awk: Strip off symbol version.
25991         * NEWS: Mention bug fix.
25993 2015-03-02  Roland McGrath  <roland@hack.frob.com>
25995         * sysdeps/pthread/timer_routines.c
25996         (timer_free_list, thread_free_list, thread_active_list): Make static.
25998 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
26000         [BZ #17779]
26001         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26002         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
26003         Undefine.
26004         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26005         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
26006         Likewise.
26007         * sysdeps/unix/sysv/linux/sh/kernel-features.h
26008         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
26009         Likewise.
26011 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
26013         [BZ #18036]
26014         * posix/fnmatch_loop.c (END): Detect invalid pattern.
26015         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
26017 2015-03-02  Andreas Schwab  <schwab@suse.de>
26019         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
26020         variable name.
26022 2015-03-02  Florian Weimer  <fweimer@redhat.com>
26024         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
26025         Return error status.
26027 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
26029         [BZ #15969]
26030         * locale/findlocale.c (_nl_find_locale): Introduce const
26031         version of loc_name and drop unsafe type casts.
26033 2015-02-27  Roland McGrath  <roland@hack.frob.com>
26035         * dlfcn/tststatic2.c (main): Converted to ...
26036         (do_test): ... this.
26037         (TEST_FUNCTION): New macro.
26038         Include test-skeleton.c.
26040 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
26042         [BZ #17711]
26043         * elf/Makefile (tests): Add vismain only if PIE is enabled.
26044         (tests-pie): Add vismain.
26045         (CFLAGS-vismain.c): New.
26046         * elf/vismain.c: Add comments for PIE requirement.
26048 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
26050         [BZ #18046]
26051         [BZ #18047]
26052         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
26053         0x1p-56L as threshold for just returning the argument.
26054         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
26055         0x1p-32L as threshold for just returning the argument.
26056         * math/auto-libm-test-in: Add more tests of atanh.
26057         * math/auto-libm-test-out: Regenerated.
26058         * sysdeps/i386/fpu/libm-test-ulps: Update.
26059         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
26061 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
26063         * string/bcopy.c (bcopy): Call memmove for performance.
26065 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
26067         * string/bzero.c (__bzero): Call memset for performance.
26069 2015-02-27  John David Anglin  <dave.anglin@bell.net>
26071         [BZ #18068]
26072         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
26073         to 00100000.
26075 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
26077         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
26079 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
26081         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
26082         (__kernel_standard): Use CSTR macro when setting exc.name.
26083         * sysdeps/ieee754/Makefile [$(subdir) = math]
26084         (CFLAGS-k_standard.c): Remove variable.
26086         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
26087         setting p and q from "else if" to "else".
26088         (qzero): Likewise.
26089         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
26090         (qone): Likewise.
26091         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
26092         (qzerof): Likewise.
26093         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
26094         (qonef): Likewise.
26095         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
26096         (qzero): Likewise.
26097         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
26098         (qone): Likewise.
26100         [BZ #18038]
26101         [BZ #18039]
26102         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
26103         return pi/2 for arguments below 0x1p-113L.
26104         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
26105         return pi/2 for arguments below 0x1p-106L.
26106         * math/auto-libm-test-in: Add more tests of acos.
26107         * math/auto-libm-test-out: Regenerated.
26109         [BZ #16351]
26110         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
26111         (MO): New macro.
26112         (__ieee754_asin): Force underflow exception for results with small
26113         absolute value.
26114         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
26115         (MO): New macro.
26116         (__ieee754_asinf): Force underflow exception for results with
26117         small absolute value.
26118         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
26119         (__ieee754_asin): Force underflow exception for results with small
26120         absolute value.
26121         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
26122         (__ieee754_asinf): Force underflow exception for results with
26123         small absolute value.
26124         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
26125         (__ieee754_asinl): Force underflow exception for results with
26126         small absolute value.
26127         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
26128         (__ieee754_asinl): Force underflow exception for results with
26129         small absolute value.
26130         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
26131         (__ieee754_asinl): Force underflow exception for results with
26132         small absolute value.
26133         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
26134         Include <math.h>.
26135         * math/auto-libm-test-in: Do not mark underflow exceptions as
26136         possibly missing for bug 16351.
26137         * math/auto-libm-test-out: Regenerated.
26139         [BZ #18030]
26140         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
26141         of power of 2 down when low part has opposite sign.
26142         * math/libm-test.inc (logb_test_data): Add more tests.
26144 2015-02-26  Andreas Schwab  <schwab@suse.de>
26146         [BZ #18032]
26147         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
26148         over collating symbol inside a bracket expression.  Minor cleanup.
26149         * posix/tst-fnmatch3.c (do_test): Add test case.
26151 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
26153         [BZ #18029]
26154         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
26155         Adjust exponent of power of 2 down when low part has opposite
26156         sign.
26157         * math/libm-test.inc (ilogb_test_data): Add more tests.
26159 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
26161         [BZ #15969]
26162         * locale/findlocale.c (_nl_find_locale): Fix constness error in
26163         the previous change.
26165         [BZ #15969]
26166         * locale/findlocale.c (_nl_find_locale): Retry archive search
26167         after alias expansion.
26169 2015-02-25  Roland McGrath  <roland@hack.frob.com>
26171         * iconv/tst-iconv3.c (main): Converted to ...
26172         (do_test): ... this.
26173         (TEST_FUNCTION): New macro.
26174         Include test-skeleton.c.
26176         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
26177         (convert): Make function static.
26178         (test_unalign): Likewise.  Add const to argument pointee types.
26179         (main): Replace with static function do_test.
26180         Print "Succeeded." only if RET is zero.
26181         (TEST_FUNCTION): New macro.
26182         Include test-skeleton.c.
26184         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
26185         returns a null pointer.
26187 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26189         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
26190         to __memcpy_ppc only for static builds.
26192 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
26194         [BZ #18020]
26195         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
26196         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
26197         * math/auto-libm-test-in: Add more tests of asinh.
26198         * math/auto-libm-test-out: Regenerated.
26199         * sysdeps/i386/fpu/libm-test-ulps: Update.
26200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26202 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
26204         [BZ #15850]
26205         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
26206         and ip6_mtuinfo definitions here.
26207         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
26208         in this define too.  Update comment.
26210 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
26212         * elf/sprof.c (load_shobj): Tweak error message to match others.
26214 2015-02-24  Kevin Easton  <kevin@guarana.org>
26216         [BZ #16145] (partial fix)
26217         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
26218         to reduce lock contention.
26220 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
26222         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
26223         (struct timex): Update time comment.
26224         (ADJ_SETOFFSET): Define.
26226 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
26228         [BZ #18019]
26229         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
26230         2**56 not 2**28 as threshold for log (2x) formula.
26231         * math/auto-libm-test-in: Add more tests of acosh.
26232         * math/auto-libm-test-out: Regenerated.
26233         * sysdeps/i386/fpu/libm-test-ulps: Update.
26234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26236 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
26238         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
26239         parenthesis around the buf assignment.
26240         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
26242 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
26244         [BZ #16783]
26245         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
26246         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
26247         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
26248         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
26249         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
26250         * math/libm-test.inc (scalb_test_data): Add more tests.
26252 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
26254         [BZ #17916]
26255         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
26256         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
26258 2015-02-24  Eric Rannaud  <e@nanocritical.com>
26260         [BZ #17523]
26261         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
26262         * io/bits/fcntl2.h (open): Use it.
26263         (openat): Likewise.
26264         * io/open.c (__libc_open): Likewise.
26265         * io/open64.c (__libc_open64): Likewise.
26266         * io/open64_2.c (__open64_2): Likewise.
26267         * io/open_2.c (__open_2): Likewise.
26268         * io/openat.c (__openat): Likewise.
26269         * io/openat64.c (__openat64): Likewise.
26270         * io/openat64_2.c (__openat64_2): Likewise.
26271         * io/openat_2.c (__openat_2): Likewise.
26272         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
26273         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
26274         * sysdeps/posix/open64.c (__libc_open64): Likewise.
26275         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
26276         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
26277         (__open_nocancel): Likewise.
26278         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
26279         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
26280         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
26282 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26284         [BZ #14841]
26285         * resolv/gethnamaddr.c (getanswer): Skip logging if
26286         RES_USE_DNSSEC is set.
26287         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
26289 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
26291         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
26293 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
26295         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
26296         201304L, for Unicode 7.
26298 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
26300         [BZ #17836]
26301         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
26302         shared library.  Add gmon-start.os otherwise.
26303         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
26304         $(objpfx)gmon-start.os if builing shared library.
26305         ($(objpfx)g$(static-start-installed-name)): Likewise.
26307 2015-02-23  Andreas Schwab  <schwab@suse.de>
26309         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
26311 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
26313         [BZ #17269]
26314         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
26315         (enlarge_userbuf): Likewise.
26317 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
26319         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
26320         * math/atest-exp.c (TIMEOUT): Adjust to 200.
26321         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
26322         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
26324 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
26326         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
26327         expression inside statement expression.
26329 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
26331         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
26332         <sysdeps/nptl/lowlevellock.h> and remove macros and
26333         functions that are now defined there.
26334         (SYS_futex): Remove.
26335         (lll_compare_and_swap): Remove.
26336         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
26338 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
26340         [BZ #17999]
26341         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
26342         instead of scandirat.
26343         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
26344         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
26345         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
26346         __scandirat.
26347         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
26348         (__scandirat): Declare.  Use libc_hidden_proto.
26349         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
26350         Remove variable.
26351         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
26353 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
26355         [BZ #15319]
26356         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
26357         (MO): New macro.
26358         (__ieee754_atan2): For results with small absolute value, force
26359         underflow exception and remove excess range and precision from
26360         return value.
26361         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
26362         (MO): New macro.
26363         (__ieee754_atan2f): For results with small absolute value, force
26364         underflow exception and remove excess range and precision from
26365         return value.
26366         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
26367         (MO): New macro.
26368         (__atan): For results with small absolute value, force underflow
26369         exception and remove excess range and precision from return value.
26370         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
26371         (MO): New macro.
26372         (__atanf): For results with small absolute value, force underflow
26373         exception and remove excess range and precision from return value.
26374         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
26375         <math.h>.
26376         (__ieee754_atan2): Force underflow exception for results with
26377         small absolute value.
26378         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
26379         <math_private.h>.
26380         (atan): Force underflow exception for results with small absolute
26381         value.
26382         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
26383         (__atanf): Force underflow exception for results with small
26384         absolute value.
26385         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
26386         <math.h>.
26387         (__atanl): Force underflow exception for results with small
26388         absolute value.
26389         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
26390         (__atanl): Force underflow exception for results with small
26391         absolute value.
26392         * sysdeps/x86/fpu/bits/mathinline.h
26393         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
26394         (__ieee754_atan2): Only define inline for long double.
26395         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
26396         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
26397         * math/auto-libm-test-in: Do not mark underflow exceptions as
26398         possibly missing for bug 15319.  Add more tests of atan2.
26399         * math/auto-libm-test-out: Regenerated.
26400         * math/libm-test.inc (casin_test_data): Do not mark underflow
26401         exceptions as possibly missing for bug 15319.
26402         (casinh_test_data): Likewise.
26403         * sysdeps/i386/fpu/libm-test-ulps: Update.
26405 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
26407         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
26408         * sysdeps/mips/bits/endian.h: Fix comments.
26410 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
26412         [BZ #17996]
26413         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
26414         (hdestroy_r): Likewise.
26415         (hsearch_r): Likewise.
26416         (__hcreate_r): Declare and use libc_hidden_proto.
26417         (__hdestroy_r): Likewise.
26418         (__hsearch_r): Likewise.
26419         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
26420         (hcreate): Call __hcreate_r instead of hcreate_r.
26421         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
26422         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
26423         as weak alias of __hcreate_r.
26424         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
26425         __hdestroy_r.
26426         (hsearch_r): Rename to __hsearch_r and define as weak alias of
26427         __hsearch_r.
26428         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
26429         Remove variable.
26430         (test-xfail-XPG4/search.h/linknamespace): Likewise.
26431         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
26432         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
26433         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
26435 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26437         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
26438         arena_lock into a single arena_get.
26440 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
26442         * dl-reloc.c: Inlucde libc-internal.h.
26443         (_dl_try_allocate_static_tls): Call ALIGN_UP.
26444         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
26445         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
26446         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
26447         (grow_heap): Likewise.
26448         * malloc/malloc.c: Include libc-internal.h.
26449         (do_check_malloc): Call powerof2.
26450         (sysmalloc): Use pagesize. Call ALIGN_UP.
26451         (systrim): Use pagesize.
26452         (mremap_chunk): Use pagesize. Call ALIGN_UP.
26453         (__libc_valloc): Use pagesize.
26454         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
26456 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
26458         [BZ #17991]
26459         * include/sys/resource.h (__getrlimit64): Declare.  Use
26460         libc_hidden_proto.
26461         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
26462         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
26463         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
26464         getrlimit64.
26465         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
26466         __getrlimit64.
26467         [!getrlimit64] (getrlimit64): Define as weak alias of
26468         __getrlimit64.  Use libc_hidden_weak.
26469         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
26470         using __getrlimit64 not __new_getrlimit64.
26471         (__GI_getrlimit64): Likewise.
26472         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
26473         Likewise.
26474         (__GI_getrlimit64): Likewise.
26475         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
26476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
26477         (getrlimit): Add __getrlimit64 alias.
26478         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
26479         Likewise.
26480         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
26481         Remove variable.
26482         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
26483         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
26485 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
26487         * libio/fileops.c: Add missing sys/mman.h
26488         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
26490 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
26492         * manual/math.texi (Errors in Math Functions): Clarify goals
26493         regarding inexact and underflow exceptions.
26495 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
26497         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
26498         * sysdeps/mips/memset.S: Ditto.
26500 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
26502         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
26504 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
26506         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
26507         (__v1longjmp): Remove versioned symbol.
26508         (__v1siglongjmp): Remove alias and versioned symbol.
26509         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
26510         (__v2siglongjmp): Likewise.
26512 2015-02-16  Torvald Riegel  <triegel@redhat.com>
26514         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
26516 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
26518         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
26520 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
26522         [BZ #17987]
26523         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
26524         zero result does not depend on the sign resulting from
26525         subtraction.
26526         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
26527         Likewise.
26528         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
26529         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
26530         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
26531         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
26532         * math/libm-test.inc (remquo_test_data): Add more tests.
26534 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
26536         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
26537         Problem reported by J William Piggott.
26539 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
26541         [BZ #17978]
26542         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
26543         products 4 * y and 2 * y where those would overflow.
26544         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
26545         Likewise.
26546         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
26547         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
26548         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
26549         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
26550         * math/libm-test.inc (remquo_test_data): Add more tests.
26552         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
26554         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
26555         [defined _COMPILING_NEWLIB].
26556         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
26557         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
26559         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
26560         [!defined __mips_isa_rev || __mips_isa_rev < 6].
26562 2015-02-16  Torvald Riegel  <triegel@redhat.com>
26564         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
26565         acquired.
26567 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
26569         [BZ #17792]
26570         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
26571         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
26572         HOST_STACK_END_ADDR): Likewise.
26574 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
26576         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
26577         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
26578         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
26580 2015-02-13  Roland McGrath  <roland@hack.frob.com>
26582         * sysdeps/generic/c++-types.data: New file.
26583         * sysdeps/generic/ld.abilist: New file.
26584         * sysdeps/generic/libBrokenLocale.abilist: New file.
26585         * sysdeps/generic/libanl.abilist: New file.
26586         * sysdeps/generic/libc.abilist: New file.
26587         * sysdeps/generic/libcrypt.abilist: New file.
26588         * sysdeps/generic/libdl.abilist: New file.
26589         * sysdeps/generic/libm.abilist: New file.
26590         * sysdeps/generic/libpthread.abilist: New file.
26591         * sysdeps/generic/libresolv.abilist: New file.
26592         * sysdeps/generic/librt.abilist: New file.
26594 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
26596         [BZ #17569]
26597         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
26598         Compute absolute value of x as modified by fmod, not original
26599         value of x.
26600         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
26601         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
26602         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
26603         RUN_TEST_ffI_f1_mod8.
26604         (remquo_test_data): Add more tests.
26606 2015-02-13  Roland McGrath  <roland@hack.frob.com>
26608         * sysdeps/init_array/pt-crti.S: New file.
26610 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
26612         [BZ #17967]
26613         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
26614         __builtin_fmaf instead of relying on contraction of a * b + c.
26616 2015-02-12  J William Piggott  <elseifthen@gmx.com>
26618         [BZ #17969]
26619         * manual/time.texi: correct the zoneinfo path in the TZ Variable
26620         node.
26622 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
26624         [BZ #17964]
26625         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
26626         __builtin_fma instead of relying on contraction of a * b + c.
26628 2015-02-12  Roland McGrath  <roland@hack.frob.com>
26630         * Makeconfig (ASFLAGS): Add -Werror=undef.
26631         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
26632         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
26633         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
26635         * Makeconfig (after-link): New variable.
26636         (+link-pie, +link-pie-tests): Use it.
26637         (+link-static, +link-static-tests): Likewise.
26638         (+link, +link-tests): Likewise.
26639         * Makerules (build-module, build-module-asneeded): Likewise.
26640         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
26641         Likewise.
26642         * elf/Makefile ($(objpfx)ld.so): Likewise.
26644 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
26646         [BZ #17965]
26647         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
26648         both struct timeval and struct timespec.
26650 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
26652         [BZ #16560]
26653         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26654         and redefine.
26655         (__ieee754_exp2l): Do not multiply small fractional parts by
26656         M_LN2l.
26657         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
26658         small argument.
26659         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
26660         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
26661         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
26662         * math/auto-libm-test-in: Add more tests of exp2.
26663         * math/auto-libm-test-out: Regenerated.
26665 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26667         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
26668         unaligned path.
26670 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26672         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
26673         little endian.
26675 2015-02-12  Andreas Schwab  <schwab@suse.de>
26677         [BZ #15790]
26678         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
26679         Filter out elision flags from value returned in kind.
26680         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
26681         * nptl/tst-pthread-mutexattr.c: New file.
26683 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26685         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
26686         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
26687         into gnu-gnu, and update comment to refer to abi-tags.
26689 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
26691         [BZ #15467]
26692         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
26693         (__sincos): Set errno to EDOM for infinite argument.
26694         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
26695         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
26696         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
26697         (__sincosl): Set errno to EDOM for infinite argument.
26698         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
26699         (__sincosl): Set errno to EDOM for infinite argument.
26700         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
26701         (__sincosl): Set errno to EDOM for infinite argument.
26702         * math/libm-test.inc (sincos_test_data): Test errno setting.
26704 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
26706         * string/strxfrm_l.c: Remove #define STRCMP.
26707         * string/strcoll_l.c: Remove #define STRLEN.
26708         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
26709         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
26711 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
26713         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
26714         * sysdeps/mips/mips32/sfp-machine.h: ... here.
26715         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
26716         * sysdeps/mips/mips64/Makefile: ... here.
26717         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
26718         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
26719         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
26720         * sysdeps/mips/mips64/sfp-machine.h: ... here.
26721         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
26722         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
26723         * sysdeps/mips/mips64/n64/Implies: Likewise.
26725 2015-02-10  Roland McGrath  <roland@hack.frob.com>
26727         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
26728         <sys/time.h>, <string.h>, and <errno.h>.
26729         (dest_offset, dest_address, value, zero): Remove unused variables.
26730         (ldouble): Remove typedef.
26731         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
26732         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
26733         1).  Fix code style.
26734         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
26735         (check): Function removed.
26736         (CHECK): New macro.
26737         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
26738         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
26739         Don't call set_sigaction_FP and remove_sigaction_FP here.
26740         (ldouble_test): Just use 'long double' as macro argument, no need for
26741         the 'ldouble' typedef.
26742         (do_test): Set up SIGFPE handler at start, using plain signal rather
26743         than sigaction.  Fix code style.
26745 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
26747         [BZ #17949]
26748         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
26749         jump label.
26751 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
26753         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
26754         * sysdeps/powerpc/powerpc32/configure: Regenerated.
26756         * sysdeps/powerpc/configure.ac: Remove file.
26757         * sysdeps/powerpc/configure: Likewise.
26759         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
26760         [sysdep_routines]: Remove wordcopy-power6 object.
26761         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
26762         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
26763         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
26764         (__memmove_ppc32): Likewise.
26765         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
26766         file.
26767         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
26768         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
26769         Remove preprocessor.
26771         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
26772         [sysdep_routines]: Remove wide chars objects.
26773         [wcsmbs]: New rule for wide char objects.
26775         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26776         Remove wordcopy-power6 obejct.
26777         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
26778         Use local call for wordcopy and memcpy symbols.
26779         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
26780         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
26781         implementation for loader.
26782         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
26784         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26785         Remove wordcopy-power7 object.
26786         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
26787         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
26788         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
26789         (_wordcopy_fwd_dest_aligned): Likewise.
26790         (_wordcopy_bwd_aligned): Likewise.
26791         (_wordcopy_bwd_dest_aligned): Likewise.
26793         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
26794         Rewrite to call __memmove_ppc instead of include default
26795         implementation.
26797         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26798         Remove wide chars objects.
26799         [wcsmbs]: New rule for wide char objects.
26801 2015-02-09  Andreas Schwab  <schwab@suse.de>
26803         [BZ #17912]
26804         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
26805         in terms of __O_DIRECTORY.
26807 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26809         * time/getdate.c: Include <stdbool.h>.
26810         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
26811         call PTR_MANGLE.
26812         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
26813         PTR_DEMANGLE.
26815 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
26817         Add ersatz _Static_assert on older C hosts
26818         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
26819         pre-C11 C platform that is not known to support _Static_assert.
26821 2015-02-07  Richard Braun  <rbraun@sceen.net>
26823         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
26824         sigstate.
26825         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
26827 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26829         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
26830         priority against unexistent AIO_PRIO_DELTA_MAX.
26831         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
26832         instead of int.
26833         * misc/fchflags.c (fchflags): Likewise.
26834         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
26835         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
26836         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
26837         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
26838         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
26839         Declare macros.
26840         [__USE_MISC] (chflags, fchflags): Declare functions.
26841         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
26842         EINVAL when nfds is greater than FD_SETSIZE.
26843         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
26844         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
26845         45.
26846         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
26847         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
26848         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
26849         MACH_RCV_TIMED_OUT.
26850         * hurd/hurd/signal.h (_hurd_self_sigstate,
26851         _hurd_critical_section_lock, _hurd_critical_section_unlock):
26852         Explicit casts from void *.
26853         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
26854         * abi-tags: Rename gnu-gnu os into gnu.
26856         [BZ #4719]
26857         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
26858         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
26859         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
26860         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
26861         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
26862         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
26864         [BZ #17944]
26865         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
26866         duplicates ADDR->sun_path with sockaddr LEN limitation.
26867         * sysdeps/mach/hurd/connect.c: Include <string.h>
26868         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
26869         * sysdeps/mach/hurd/sendmsg.c: Likewise.
26870         * sysdeps/mach/hurd/sendto.c: Likewise.
26871         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
26872         implementing it by hand.
26874 2015-02-06  Roland McGrath  <roland@hack.frob.com>
26876         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
26877         Use sfi_breg on ldr.
26878         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
26879         Likewise.
26881         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
26882         it's defined.
26883         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
26884         Test SIGSETXID only if it's defined.
26886         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
26888         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
26889         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
26891         * nptl/tst-align2.c: Moved ...
26892         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
26893         * nptl/Makefile (tests): Remove tst-align2.
26894         * sysdeps/unix/sysv/linux/Makefile
26895         [$(subdir) = nptl] (tests): Add tst-align-clone.
26896         * nptl/tst-getpid1.c: Moved ...
26897         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
26898         * nptl/tst-getpid2.c: Moved ...
26899         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
26900         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
26901         * sysdeps/unix/sysv/linux/Makefile
26902         [$(subdir) = nptl] (tests): ... here.
26903         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
26904         * sysdeps/unix/sysv/linux/Makefile
26905         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
26907         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
26908         Drop trailing \n from perror argument.  Use return rather than exit.
26910         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
26911         on [SA_SIGINFO].
26912         * nptl/tst-cancel21.c (do_test): Likewise.
26913         * debug/tst-backtrace6.c: Include <signal.h> first thing.
26914         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
26915         [!SA_SIGINFO]: Make it a stub test.
26917         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
26918         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
26920         * posix/tst-getlogin.c: Move to ...
26921         * login/tst-getlogin.c: ... here.
26922         * posix/Makefile (tests): Move tst-getlogin to ...
26923         * login/Makefile (tests): ... here.
26925         * libio/tst-atime.c (do_test): Move local variables SV and E
26926         inside [ST_NOATIME] conditional.
26928         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
26930         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
26932         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
26933         (wait_code): New function replaces macro.
26934         Call nanosleep rather than syscall.
26936         * nptl/pt-system.c: Rewritten.  Put everything under
26937         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
26938         Use IFUNC to redirect when possible.
26940         * nptl/pt-longjmp.c: Rewritten.  Put everything under
26941         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
26942         Use IFUNC to redirect when possible.
26944         * nptl/pt-fork.c: Rewritten.  Put everything under
26945         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
26946         Use IFUNC to redirect when possible.
26947         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
26949         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
26950         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
26951         unconditionally nowadays.  This included the only reference to
26952         __vdso_clock_gettime that appears outside libc proper.
26953         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
26954         Remove version set (containing only __vdso_clock_gettime).
26955         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
26956         Add attribute_hidden.
26957         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
26958         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
26959         libc_hidden_data_def.
26960         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
26961         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
26963         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
26964         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
26965         setrpcent, and getrpcport to ...
26966         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
26967         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
26968         getrpcbynumber_r, and getrpcent_r to ...
26969         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
26970         * inet/getrpcbyname.c: Moved ...
26971         * sunrpc/getrpcbyname.c: ... here.
26972         * inet/getrpcbyname_r.c: Moved ...
26973         * sunrpc/getrpcbyname_r.c: ... here.
26974         * inet/getrpcbynumber.c: Moved ...
26975         * sunrpc/getrpcbynumber.c: ... here.
26976         * inet/getrpcbynumber_r.c: Moved ...
26977         * sunrpc/getrpcbynumber_r.c: ... here.
26978         * inet/getrpcent.c: Moved ...
26979         * sunrpc/getrpcent.c: ... here.
26980         * inet/getrpcent_r.c: Moved ...
26981         * sunrpc/getrpcent_r.c: ... here.
26982         * inet/Makefile (routines): Move those to ...
26983         * sunrpc/Makefile (routines): ... here.
26984         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
26985         the $(subdirs) list.
26986         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
26987         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
26988         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
26989         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
26991         * elf/Makefile (routines): Include $(all-dl-routines), not just
26992         $(dl-routines).
26993         (rtld-routines): Likewise.  Use = rather than :=.
26994         * sysdeps/aarch64/Makefile [$(subdir) = elf]
26995         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
26996         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
26997         * sysdeps/arm/Makefile: Likewise.
26998         * sysdeps/i386/Makefile: Likewise.
26999         * sysdeps/x86_64/Makefile: Likewise.
27000         * sysdeps/hppa/Makefile [$(subdir) = elf]
27001         (sysdep_routines, sysdep-rtld-routines): Don't add
27002         $(sysdep-dl-routines) to these.
27003         * sysdeps/ia64/Makefile: Likewise.
27004         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
27005         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
27006         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
27007         Don't add dl-static to these; sysdep-dl-routines alone is enough.
27008         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
27009         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
27010         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
27011         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
27012         * sysdeps/powerpc/Makefile [$(subdir) = elf]
27013         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
27014         these; sysdep-dl-routines alone is enough.
27016 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
27018         [BZ #17932]
27019         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
27020         where multiplication results in zero and third argument is finite
27021         and nonzero.
27022         * math/auto-libm-test-in: Add more tests of fma.
27023         * math/auto-libm-test-out: Regenerated.
27025         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
27026         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
27027         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
27028         (_FP_CMP_EQ): Likewise.
27029         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
27031         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
27032         extra argument CHECK_NAN.  Redefine as wrapper around
27033         _FP_EXTEND_CNAN.
27035 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
27037         * version.h (RELEASE): Set to "stable".
27038         (VERSION): Set to "2.21"
27039         * include/features.h (__GLIBC_MINOR__): Set to 21.
27041         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
27043 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
27044             Paul Eggert  <eggert@cs.ucla.edu>
27046         [BZ #16618]
27047         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
27048         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
27049         size in bytes. Store needed elements in wpmax. Use needed size
27050         in bytes for extend_alloca.
27052 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
27054         * manual/install.texi: Latest tested versions are GCC 4.9.2,
27055         binutls 2.25, and texinfo 5.2.
27056         * INSTALL: Regenerate.
27057         * sysdeps/nios2/configure: Regenerate.
27058         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
27059         * manual/contrib.texi: Update.
27060         * po/be.po: Update.
27061         * po/bg.po: Update.
27062         * po/ca.po: Update.
27063         * po/cs.po: Update.
27064         * po/da.po: Update.
27065         * po/de.po: Update.
27066         * po/el.po: Update.
27067         * po/eo.po: Update.
27068         * po/es.po: Update.
27069         * po/fi.po: Update.
27070         * po/fr.po: Update.
27071         * po/gl.po: Update.
27072         * po/hr.po: Update.
27073         * po/hu.po: Update.
27074         * po/ia.po: Update.
27075         * po/id.po: Update.
27076         * po/it.po: Update.
27077         * po/ja.po: Update.
27078         * po/ko.po: Update.
27079         * po/lt.po: Update.
27080         * po/nb.po: Update.
27081         * po/nl.po: Update.
27082         * po/pl.po: Update.
27083         * po/pt_BR.po: Update.
27084         * po/ru.po: Update.
27085         * po/rw.po: Update.
27086         * po/sk.po: Update.
27087         * po/sl.po: Update.
27088         * po/sv.po: Update.
27089         * po/tr.po: Update.
27090         * po/uk.po: Update.
27091         * po/vi.po: Update.
27092         * po/zh_CN.po: Update.
27093         * po/zh_TW.po: Update.
27095         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
27096         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
27097         * sysdeps/hppa/dl-irel.h: Remove #warning.
27098         * sysdeps/hppa/entry.h: Provide prototype for
27099         __canonicalize_funcptr_for_compare and cast argument.
27100         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
27101         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
27102         * sysdeps/hppa/sotruss-lib.c: New file.
27103         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
27104         (atomic_compare_and_exchange_val_acq): Use __typeof__.
27105         (atomic_compare_and_exchange_bool_acq): Likewise.
27106         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
27107         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
27109         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
27110         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
27111         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
27113 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
27115         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
27116         called function in non-PIC case.
27118 2015-01-31  David S. Miller  <davem@davemloft.net>
27120         * sysdeps/sparc/sparc32/bits/atomic.h
27121         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
27122         unlock not after it.
27123         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
27124         volatile register usage warnings from the compiler.
27126         * sysdeps/sparc/nptl/sem_init.c: Delete.
27127         * sysdeps/sparc/nptl/sem_post.c: Delete.
27128         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
27129         * sysdeps/sparc/nptl/sem_wait.c: Delete.
27130         * sysdeps/sparc/sparc32/sem_init.c: New file.
27131         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
27132         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
27133         padding explicitly initialized.
27134         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
27135         padding for in-semaphore spinlock.
27136         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
27137         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
27138         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
27139         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
27140         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
27141         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
27142         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
27143         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
27144         version.
27145         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
27146         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
27148 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
27150         [BZ #17801]
27151         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27152         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
27153         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
27154         New.
27155         (index_AVX_Fast_Unaligned_Load): Likewise.
27156         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
27157         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
27158         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
27159         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
27160         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
27161         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
27162         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
27163         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
27164         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
27166 2015-01-29  Andreas Schwab  <schwab@suse.de>
27168         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
27170 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
27172         [BZ #17892]
27173         * nscd/nscd_stat.c (send_stats): Initialize DATA.
27175 2015-01-28  Martin Sebor  <msebor@redhat.com>
27177         * math/README.libm-test: Clarify. Add "How to read the test output."
27179 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
27181         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
27182         Define to 0.
27184 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
27186         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
27187         (__HAVE_64B_ATOMICS): Define to 0.
27189 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
27191         [BZ #17885]
27192         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
27193         value to set as new flag.
27195         [BZ #16576]
27196         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
27197         and use _ARCH_PPCSQ instead.
27198         (__ieee754_sqrt): Likewise.
27199         (__ieee754_sqrtf): Likewise.
27200         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
27201         _ARCH_PPCSQ is defined.
27202         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
27203         fsqrt instruction.
27204         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
27205         _ARCH_PPCSQ is defined.
27206         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
27207         fsqrts instruction.
27208         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
27210 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27212         * iconv/loop.c: Suppress array out of bound warning caused by GCC
27213         bug (GCC BZ #64739).
27215 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
27217         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
27218         Mark _retval as used.
27219         (lll_futex_wake_unlock): Likewise.
27220         (lll_futex_timed_wait_requeue_pi): Likewise.
27222         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
27223         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
27224         register variables.
27226         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
27227         libm_hidden_def.
27229         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
27230         (__bswap_64): Mark as __always_inline.
27232 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
27234         [BZ #15378]
27235         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
27236         when none of the search directories exist.
27238 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
27240         [BZ #17869]
27241         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
27242         power8 in .machine directive.
27244         [BZ #17868]
27245         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
27246         set dependency from opd value.
27248 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
27250         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27251         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
27252         architecture.
27254 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
27256         [BZ #17870]
27257         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
27258         with uint64_t.
27259         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
27260         (uint64_t) 1.
27261         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
27262         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
27263         Replace 1UL with (uint64_t) 1.
27264         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
27265         int with uint64_t.
27267 2015-01-23  Roland McGrath  <roland@hack.frob.com>
27269         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
27270         (if_freenameindex): Likewise.
27272         * resource/getrlimit64.c: Add missing libc_hidden_def.
27274 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
27276         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
27277         __label__.
27278         (_FP_FMA): Likewise.
27279         (_FP_TO_INT_ROUND): Likewise.
27280         (_FP_FROM_INT): Likewise.
27282 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27284         [BZ #16418]
27285         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
27286         Make code racy and cancel safe.
27288 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
27290         * sysdeps/arm/unwind-resume.h: Fix copyright year.
27291         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
27292         attribution.
27294         * pwd/tst-getpw.c: Rewrite.
27296         [BZ #17702]
27297         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
27298         (modules-names): Add moddummy1 and moddummy2.
27299         ($(objpfx)tst-rec-dlopen): Define.
27300         * dlfcn/moddummy1.c: New file.
27301         * dlfcn/moddummy2.c: New file.
27302         * dlfcn/tst-rec-dlopen.c: New file.
27303         * elf/dl-cache.c (_dl_load_cache_lookup):
27304         Return char*. Copy result with alloca/strcpy/strdup.
27305         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
27306         returns char*. Free cached. If not saving realname
27307         free cached.
27308         * elf/dl-open.c (dl_open_worker): Do not assert that
27309         _r_debug->r_state is RT_CONSISTENT.
27310         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
27311         returns char*.
27313 2015-01-21  Torvald Riegel  <triegel@redhat.com>
27314             Carlos O'Donell  <carlos@redhat.com>
27316         [BZ #12674]
27317         * nptl/sem_waitcommon.c: New file.
27318         * nptl/sem_wait.c: Include sem_waitcommon.c.
27319         (__sem_wait_cleanup, do_futex_wait): Remove.
27320         (__new_sem_wait): Adapt.
27321         (__new_sem_trywait): New function.
27322         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
27323         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
27324         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
27325         (sem_timedwait): Adapt.
27326         * nptl/sem_post.c (__new_sem_post): Adapt.
27327         (futex_wake): New function.
27328         (__old_sem_post): Add release MO fence.
27329         * nptl/sem_open.c (sem_open): Adapt.
27330         * nptl/sem_init.c (__new_sem_init): Adapt.
27331         (futex_private_if_supported): New function.
27332         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
27333         (__old_sem_getvalue): Add using previous code.
27334         * sysdeps/nptl/internaltypes.h: Adapt.
27335         * nptl/tst-sem13.c (do_test): Adapt.
27336         * nptl/tst-sem11.c (main): Adapt.
27337         * nptl/sem_trywait.c: Remove.
27338         * nptl/DESIGN-sem.txt: Remove.
27339         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
27340         (gen-as-const-headers): Remove structsem.sym.
27341         * nptl/structsem.sym: Remove.
27342         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
27343         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
27344         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
27345         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
27346         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
27347         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
27348         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
27349         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
27350         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
27351         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
27352         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
27353         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
27354         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
27355         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
27356         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
27357         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
27358         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
27359         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
27360         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
27361         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
27362         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
27363         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
27365 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
27367         * INSTALL: Regenerated.
27369         * po/libc.pot: Regenerated.
27371 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
27372             Sandra Loosemore  <sandra@codesourcery.com>
27373             Andrew Jenner  <andrew@codesourcery.com>
27374             Joseph Myers  <joseph@codesourcery.com>
27375             Nathan Sidwell  <nathan@codesourcery.com>
27377         * NEWS: Mention new Nios II port.
27378         * sysdeps/nios2/Implies: New file.
27379         * sysdeps/nios2/Makefile: New file.
27380         * sysdeps/nios2/Subdirs: New file.
27381         * sysdeps/nios2/Versions: New file.
27382         * sysdeps/nios2/__longjmp.S: New file.
27383         * sysdeps/nios2/abort-instr.h: New file.
27384         * sysdeps/nios2/backtrace.c: New file.
27385         * sysdeps/nios2/bits/endian.h: New file.
27386         * sysdeps/nios2/bits/fenv.h: New file.
27387         * sysdeps/nios2/bits/link.h: New file.
27388         * sysdeps/nios2/bits/setjmp.h: New file.
27389         * sysdeps/nios2/bsd-_setjmp.S: New file.
27390         * sysdeps/nios2/bsd-setjmp.S: New file.
27391         * sysdeps/nios2/configure: New generated file.
27392         * sysdeps/nios2/configure.ac: New file.
27393         * sysdeps/nios2/crti.S: New file.
27394         * sysdeps/nios2/crtn.S: New file.
27395         * sysdeps/nios2/dl-init.c: New file.
27396         * sysdeps/nios2/dl-machine.h: New file.
27397         * sysdeps/nios2/dl-sysdep.h: New file.
27398         * sysdeps/nios2/dl-tls.h: New file.
27399         * sysdeps/nios2/dl-trampoline.S: New file.
27400         * sysdeps/nios2/gccframe.h: New file.
27401         * sysdeps/nios2/gmp-mparam.h: New file.
27402         * sysdeps/nios2/jmpbuf-offsets.h: New file.
27403         * sysdeps/nios2/jmpbuf-unwind.h: New file.
27404         * sysdeps/nios2/ldsodefs.h: New file.
27405         * sysdeps/nios2/libc-tls.c: New file.
27406         * sysdeps/nios2/libm-test-ulps: New file.
27407         * sysdeps/nios2/machine-gmon.h: New file.
27408         * sysdeps/nios2/math-tests.h: New file.
27409         * sysdeps/nios2/math_private.h: New file.
27410         * sysdeps/nios2/memusage.h: New file.
27411         * sysdeps/nios2/nptl/Makefile: New file.
27412         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
27413         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
27414         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
27415         * sysdeps/nios2/nptl/pthreaddef.h: New file.
27416         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
27417         * sysdeps/nios2/nptl/tls.h: New file.
27418         * sysdeps/nios2/preconfigure: New file.
27419         * sysdeps/nios2/s_fma.c: New file.
27420         * sysdeps/nios2/s_fmaf.c: New file.
27421         * sysdeps/nios2/setjmp.S: New file.
27422         * sysdeps/nios2/sfp-machine.h: New file.
27423         * sysdeps/nios2/sotruss-lib.c: New file.
27424         * sysdeps/nios2/stackguard-macros.h: New file.
27425         * sysdeps/nios2/stackinfo.h: New file.
27426         * sysdeps/nios2/start.S: New file.
27427         * sysdeps/nios2/sysdep.h: New file.
27428         * sysdeps/nios2/tls-macros.h: New file.
27429         * sysdeps/nios2/tst-audit.h: New file.
27430         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
27431         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
27432         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
27433         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
27434         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
27435         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
27436         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
27437         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
27438         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
27439         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
27440         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
27441         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
27442         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
27443         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
27444         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
27445         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
27446         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
27447         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
27448         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
27449         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
27450         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
27451         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
27452         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
27453         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
27454         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
27455         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
27456         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
27457         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
27458         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
27459         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
27460         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
27461         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
27462         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
27463         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
27464         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
27465         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
27466         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
27467         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
27468         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
27469         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
27470         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
27471         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
27472         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
27473         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
27475 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
27477         [BZ #17844]
27478         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
27479         (getutent): Use weak_alias in non SHARED case
27480         and default_symbol_version in SHARED case.
27481         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
27482         (getutent_r, pututline): Likewise.
27483         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
27484         (getutid): Likewise.
27485         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
27486         (getutid_r): Likewise.
27487         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
27488         (getutline): Likewise.
27489         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
27490         (getutline_r): Likewise.
27491         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
27492         (updwtmp): Likewise.
27494 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
27496         [BZ #17848]
27497         * sysdeps/s390/s390-32/memcmp.S
27498         (memcmp_g5): Rename to __memcmp_g5.
27499         * sysdeps/s390/s390-32/memcpy.S
27500         (memcpy_g5): Rename to __memcpy_g5.
27501         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27502         (memcpy_mvcle) Rename to __memcpy_mvcle.
27503         * sysdeps/s390/s390-32/memset.S
27504         (memset_g5): Rename to __memset_g5.
27505         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
27506         (IFUNC_RESOLVE): Prefix ifunc-resolve function
27507         and use prefixed functions.
27508         * sysdeps/s390/s390-32/multiarch/memcmp.S
27509         (memcmp_z196): Rename to __memcmp_z196.
27510         (memcmp_z10): Rename to __memcmp_z10.
27511         (memcmp): Set alias to __memcmp_g5.
27512         (bcmp): Set alias to __memcmp_g5.
27513         * sysdeps/s390/s390-32/multiarch/memcpy.S
27514         (memcpy_z196): Rename to __memcpy_z196.
27515         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27516         (memcpy_z10): Rename to __memcpy_z10.
27517         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27518         (memcpy): Set alias to __memcpy_g5.
27519         * sysdeps/s390/s390-32/multiarch/memset.S
27520         (memset_z196): Rename to __memset_z196.
27521         Jump to __memset_mvcle instead of memset_mvcle.
27522         (memset_z10): Rename to __memset_z10.
27523         Jump to __memset_mvcle instead of memset_mvcle.
27524         (memset_mvcle) Rename to __memset_mvcle.
27525         (memset): Set alias to __memset_g5.
27526         * sysdeps/s390/s390-64/memcmp.S
27527         (memcmp_z900): Rename to __memcmp_z900.
27528         * sysdeps/s390/s390-64/memcpy.S
27529         (memcpy_z900): Rename to __memcpy_z900.
27530         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27531         (memcpy_mvcle) Rename to __memcpy_mvcle.
27532         * sysdeps/s390/s390-64/memset.S
27533         (memset_z900): Rename to __memset_z900.
27534         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
27535         (IFUNC_RESOLVE): Prefix ifunc-resolve function
27536         and use prefixed functions.
27537         * sysdeps/s390/s390-64/multiarch/memcmp.S
27538         (memcmp_z196): Rename to __memcmp_z196.
27539         (memcmp_z10): Rename to __memcmp_z10.
27540         (memcmp): Set alias to __memcmp_z900.
27541         (bcmp): Set alias to __memcmp_z900.
27542         * sysdeps/s390/s390-64/multiarch/memcpy.S
27543         (memcpy_z196): Rename to __memcpy_z196.
27544         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27545         (memcpy_z10): Rename to __memcpy_z10.
27546         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27547         (memcpy): Set alias to __memcpy_z900.
27548         * sysdeps/s390/s390-64/multiarch/memset.S
27549         (memset_z196): Rename to __memset_z196.
27550         Jump to __memset_mvcle instead of memset_mvcle.
27551         (memset_z10): Rename to __memset_z10.
27552         Jump to __memset_mvcle instead of memset_mvcle.
27553         (memset_mvcle) Rename to __memset_mvcle.
27554         (memset): Set alias to __memset_z900.
27556 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
27558         [BZ #17748]
27559         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
27560         __fesetenv instead of fesetenv.
27562 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27564         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
27565         macro.
27567 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27569         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
27570         regression on LE.
27572         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
27573         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
27574         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
27575         strncmp-power8 object.
27576         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27577         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
27578         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
27579         * NEWS: Update.
27581 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27582             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27584         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
27585         trailing byte check.
27587 2015-01-13  David S. Miller  <davem@davemloft.net>
27589         * include/signal.h (__sigreturn): Guard with __USE_MISC.
27591 2015-01-13  Roland McGrath  <roland@hack.frob.com>
27593         * login/logout.c (logout): Use memset rather than bzero.
27594         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
27595         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
27596         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
27597         (_gethtbyaddr): Likewise.
27598         * locale/programs/simple-hash.c (bcopy): Macro removed.
27600 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27602         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27603         Add strcmp-power8 object.
27604         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27605         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
27606         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
27607         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
27608         __strcmp_power8 implementation.
27609         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
27610         * NEWS: Update.
27612         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27613         Add strncpy-power8 and stpncpy-power8 objects.
27614         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27615         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
27616         implementations.
27617         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
27618         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
27619         __stpncpy_power8 implementation.
27620         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
27621         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
27622         __strncpy_power8 implementation.
27623         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
27624         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
27625         * NEWS: Update.
27627         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
27628         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
27629         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
27631         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
27632         strncat-power8 object.
27633         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
27634         __strcat_power8 implementation.
27635         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27636         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
27637         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
27638         optimized strcat for power8.
27640         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
27641         strcpy-power8 and stpcpy-power8 objects.
27642         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27643         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
27644         implementations.
27645         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
27646         multiarch stpcpy implementation for POWER8.
27647         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
27648         multiarch strcpy implementation for POWER8.
27649         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
27650         __strcpy_power8 function.
27651         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
27652         stpcpy for POWER8.
27653         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
27654         strcpy for POWER8.
27655         * NEWS: Update.
27657 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
27659         [BZ #16009]
27660         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
27661         weights and rules. Use do_xfrm_cached if data fits in cache,
27662         do_xfrm otherwise.  Moved former main loop to...
27663         * (do_xfrm_cached): New function.
27664         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
27665         find_idx, find_position and stack_push.
27666         * (find_idx): New function.
27667         * (find_position): Likewise.
27668         * localedata/sort-test.sh: Added test run for do_xfrm.
27669         * localedata/xfrm-test.c (main): Added command line option
27670         -nocache to run the test with strings that are too large for
27671         the STRXFRM cache.
27673 2015-01-13  Torvald Riegel  <triegel@redhat.com>
27675         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
27676         variable to lll_futex_wake call, not the value itself.
27678 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
27680         [BZ #17803]
27681         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
27682         twom64.  Adjust value to 0x1p-64L.
27683         (__scalblnl): Only return standard underflowing result for K <=
27684         -64 not K <= -63; adjust exponent for underflowing result by 64
27685         not 63.
27686         * math/libm-test.inc (scalbn_test_data): Add more tests.
27687         (scalbln_test_data): Likewise.
27689         [BZ #17834]
27690         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
27691         0x1p63L.
27692         (__scalblnl): Get new exponent of adjusted subnormal value from ES
27693         not HX.
27694         * math/libm-test.inc (scalbn_test_data): Add more tests.
27695         (scalbln_test_data): Likewise.
27697 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27698             Stefani Seibold  <stefani@seibold.net>
27700         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
27701         (sysdep_routines): Add dl-vdso here, ...
27702         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
27703         (sysdep_routines): ... not here.
27704         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
27705         fallback when vDSO is not presented.
27706         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
27707         Define with libc_hidden_proto/libc_hidden_data_def definitions.
27708         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
27709         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
27710         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
27711         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
27712         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
27713         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
27714         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
27715         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
27716         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
27717         fallback configurable symbol when vDSO is not available.
27718         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
27719         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
27720         be able to redefine fallback symbol when vDSO is not available.
27721         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
27722         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
27724 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27726         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
27727         (TLS_INIT_TP): Add tm_capable initialization.
27728         (TLS_DEFINE_INIT_TP): Likewise.
27729         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
27730         TCB.
27731         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
27732         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
27733         calculation.
27734         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
27735         transactoion is lock elision is built and TCB tm_capable is set.
27736         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
27737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27738         (INTERNAL_SYSCALL_NCS): Likewise.
27739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27740         (INTERNAL_SYSCALL_NCS): Likewise.
27741         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
27743         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
27744         for powerpc.
27745         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
27746         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
27747         and remove it for 32 bits case.
27748         [pthread_rwlock_t] (__rwelision): New field for lock elision.
27749         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
27750         initialization.
27751         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
27752         Disable lock elision with rdlocks if elision is not available.
27754         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
27755         (sysdep_routines): Add lock elision objects.
27756         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
27757         [pthread_mutex_t] (__spins): Rework to add lock elision field.
27758         [pthread_mutex_t] (__elision): Add field.
27759         [__PTHREAD_SPINS]: Adjust to init lock elision field.
27760         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
27761         elision definitions for powerpc.
27762         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
27763         implementation of lock elision for powerpc.
27764         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
27765         implementation of timed lock elision for powerpc.
27766         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
27767         implementation of trylock with lock elision for powerpc.
27768         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
27769         implementaion of unlock for lock elision for powerpc.
27770         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
27771         automatic enable lock elision for mutexes.
27772         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
27773         transaction execution definitions for powerpc.
27774         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
27775         definitions.
27776         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
27777         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
27778         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
27779         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
27780         * NEWS: Update.
27782 2015-01-09  Roland McGrath  <roland@hack.frob.com>
27784         * sysdeps/posix/shm-directory.c: Use <> rather than ""
27785         for #include of <shm-directory.h>.
27787 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
27789         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
27790         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
27792 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
27794         [BZ #17791]
27795         * NEWS: Mention bug fix.
27796         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
27797         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
27798         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
27800 2015-01-09  Torvald Riegel <triegel@redhat.com>
27802         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
27804 2015-01-09  Torvald Riegel <triegel@redhat.com>
27806         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
27808 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
27810         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
27811         pointer and cast to uintptr_t.
27813 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
27815         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
27816         removed.
27817         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
27819 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
27821         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
27822         of 0.
27824 2015-01-08  Roland McGrath  <roland@hack.frob.com>
27826         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
27827         <nptl/pthreadP.h> instead.
27828         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
27830         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
27831         already defined.
27832         [__SIGRTMIN] (init): Function removed.
27833         [__SIGRTMIN] (initialized): Variable removed.
27834         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
27835         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
27836         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
27837         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
27838         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
27839         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
27840         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
27841         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
27842         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
27843         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
27844         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
27845         * sysdeps/nptl/allocrtsig.c: New file.
27846         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
27847         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
27848         * sysdeps/generic/testrtsig.h: File removed.
27850         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
27851         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
27853         * nptl/nptl-init.c (pthread_functions): Conditionalize
27854         .ptr__nptl_setxid initialization on [SIGSETXID].
27856         * sysdeps/nptl/sys/procfs.h: New file.
27857         * nptl_db/Makefile (headers): Add it.
27858         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
27860         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
27861         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
27862         * nptl/pthread_attr_setaffinity.c: Include it.
27863         * nptl/pthread_setattr_default_np.c: Likewise.
27864         * nptl/check-cpuset.h: New file.
27866 2015-01-08  Richard Henderson  <rth@redhat.com>
27868         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
27869         (CFLAGS-tst-execstack-prog.c): Likewise.
27870         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
27872 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
27873             Sandra Loosemore  <sandra@codesourcery.com>
27874             Andrew Jenner  <andrew@codesourcery.com>
27875             Joseph Myers  <joseph@codesourcery.com>
27876             Nathan Sidwell  <nathan@codesourcery.com>
27878         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
27879         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
27880         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
27881         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
27882         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
27883         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
27884         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
27885         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
27886         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
27887         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
27888         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
27889         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
27890         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
27891         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
27892         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
27893         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
27894         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
27896 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27898         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
27899         timespec struct member in syscall macro.
27900         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
27901         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
27902         first timeval struct member in syscall macro.
27903         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
27905 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
27907         [BZ #17748]
27908         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
27909         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
27910         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
27911         __feupdateenv and define as weak alias of __feupdateenv.  Use
27912         libm_hidden_weak.
27913         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
27914         libm_hidden_def.
27915         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
27916         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
27917         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
27918         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
27919         libm_hidden_def.
27920         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
27921         __feupdateenv and define as weak alias of __feupdateenv.  Use
27922         libm_hidden_weak.
27923         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
27924         libm_hidden_def.
27925         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
27926         __feupdateenv and define as weak alias of __feupdateenv.  Use
27927         libm_hidden_weak.
27928         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
27929         libm_hidden_def.
27930         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
27931         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
27932         (__feupdateenv): Likewise.
27933         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
27934         __feupdateenv and define as weak alias of __feupdateenv.  Use
27935         libm_hidden_weak.
27936         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27937         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
27938         libm_hidden_def.
27939         * sysdeps/tile/math_private.h (__feupdateenv): New inline
27940         function.
27941         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
27942         libm_hidden_def.
27943         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
27944         __feupdateenv instead of feupdateenv.
27945         (default_libc_feupdateenv_test): Likewise.
27946         (libc_feresetround_ctx): Likewise.
27948 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27950         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
27951         prototype.
27953 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
27955         * posix/regcomp.c (parse_bracket_exp): Initialize type to
27956         COLL_SYM in a couple of places to avoid uninitialized variable
27957         wanings on tilegx gcc 4.8.2.
27959 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
27961         * sysdeps/aarch64/strcpy.S: New file.
27962         * sysdeps/aarch64/stpcpy.S: New file.
27963         * NEWS: Updated.
27965 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
27967         * sysdeps/aarch64/strrchr.S: New file.
27968         * NEWS: Updated.
27970 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
27972         [BZ #17658]
27973         * stdlib/setenv.c: Fix memory leak when setting large,
27974         duplicate string.
27976 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
27978         [BZ #17273]
27979         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
27980         and tabs from buffer before parsing fstab entry.
27981         * misc/tst-mntent.c (main): Add test for mount entry with
27982         trailing spaces and tabs.
27984 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
27986         [BZ #17748]
27987         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
27988         * math/fesetround.c (fesetround): Rename to __fesetround and
27989         define as weak alias of __fesetround.  Use libm_hidden_weak.
27990         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
27991         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
27992         * sysdeps/arm/fesetround.c (fesetround): Likewise.
27993         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
27994         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
27995         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
27996         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
27997         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
27998         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
27999         __fesetround_inline.
28000         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
28001         __fesetround_inline instead of __fesetround.
28002         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
28003         __fesetround and define as weak alias of __fesetround.  Use
28004         libm_hidden_weak.  Call __fesetround_inline instead of
28005         __fesetround.
28006         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
28007         __fesetround and define as weak alias of __fesetround.  Use
28008         libm_hidden_weak.
28009         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
28010         Likewise.
28011         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
28012         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28013         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
28014         * sysdeps/tile/math_private.h (__fesetround): New inline function.
28015         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
28016         __fesetround and define as weak alias of __fesetround.  Use
28017         libm_hidden_weak.
28018         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
28019         __fesetround instead of fesetround.
28020         (default_libc_feholdexcept_setround): Likewise.
28021         (libc_feholdsetround_ctx): Likewise.
28022         (libc_feholdsetround_noex_ctx): Likewise.
28024         [BZ #17748]
28025         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
28026         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
28027         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
28028         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
28029         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
28030         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
28031         define as weak alias of __fesetenv.  Use libm_hidden_weak.
28032         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
28033         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
28034         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
28035         define as weak alias of __fesetenv.  Use libm_hidden_weak.
28036         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
28037         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
28038         define as weak alias of __fesetenv.  Use libm_hidden_weak.
28039         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
28040         libm_hidden_def.
28041         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
28042         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
28043         Likewise.
28044         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
28045         define as weak alias of __fesetenv.  Use libm_hidden_weak.
28046         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
28047         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
28048         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
28049         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
28050         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
28051         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
28052         __fesetenv instead of fesetenv.
28053         (libc_feresetround_noex_ctx): Likewise.
28054         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
28055         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
28056         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
28057         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
28058         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
28059         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
28060         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
28061         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
28062         (__feupdateenv): Likewise.
28063         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
28064         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28065         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
28066         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
28068 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
28070         [BZ #17806]
28071         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
28072         addresses have been freed.
28074 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
28076         * resolv/res_init.c (__res_vinit): Improve comments about nserv
28077         and nservall.
28079 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
28081         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
28082         Clean up check_pf allocation pattern. addresses
28084 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28086         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
28087         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
28088         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
28089         * nptl/pthread_exit.c (__pthread_exit): Likewise.
28090         * nptl/pthread_join.c (pthread_join): Likewise.
28091         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
28092         * sysdeps/posix/waitid.c (__waitid): Likewise.
28093         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
28094         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
28095         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
28096         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
28097         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
28098         Likewise.
28099         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
28100         (__libc_pread64): Likewise.
28101         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
28102         (__libc_pwrite): Likewise.
28103         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
28104         (__libc_pwrite64): Likewsie.
28105         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
28106         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
28107         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
28108         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
28109         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
28110         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
28111         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
28112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
28113         Likewise.
28114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
28115         (__libc_pread64): Likewise.
28116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
28117         Likewise.
28118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
28119         (__libc_pwrite64): Likewise.
28120         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
28121         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
28122         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
28123         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
28124         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
28125         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
28126         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
28127         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
28128         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
28129         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
28130         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
28131         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
28132         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
28133         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
28134         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
28135         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
28136         Likewise.
28138 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
28140         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
28141         (CFLAGS-test-double.c): Likewise.
28142         (CFLAGS-test-ldouble.c): Likewise.
28143         (CPPFLAGS-test-ifloat.c): Likewise.
28144         (CPPFLAGS-test-idouble.c): Likewise.
28145         (CPPFLAGS-test-ildoubl.c): Likewise.
28146         (CFLAGS-test-test-fenv.c): Remove variable.
28147         (CFLAGS-test-misc.c): Likewise.
28149 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
28151         [BZ #17797]
28152         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
28153         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
28154         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
28155         CLOCKS_PER_SEC == 1000000.
28156         * time/clocktest.c (main): Replace %ld with %jd and cast to
28157         intmax_t.
28159 2015-01-05  Roland McGrath  <roland@hack.frob.com>
28161         * sysdeps/generic/unwind-resume.h: New file.
28162         * sysdeps/gnu/unwind-resume.c: Include it.
28163         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
28164         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
28165         argument list.
28166         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
28167         global rather than static.
28168         (_Unwind_Resume): Update user.
28169         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
28170         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
28171         rather than static.  Add __attribute__ ((cold)).
28172         (_Unwind_Resume, __gcc_personality_v0): Update callers.
28173         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
28174         * sysdeps/arm/arm-unwind-resume.S: New file.
28175         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
28176         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
28177         * sysdeps/arm/Makefile [$(subdir) = csu]
28178         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
28179         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
28180         Add rt-arm-unwind-resume.
28181         [$(subdir) = nptl]
28182         (libpthread-sysdep_routines, libpthread-shared-only-routines):
28183         Add pt-arm-unwind-resume.
28184         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
28185         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
28187 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
28189         [BZ #17748]
28190         * include/fenv.h (__feholdexcept): Declare.  Use
28191         libm_hidden_proto.
28192         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
28193         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
28194         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28195         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
28196         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
28197         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
28198         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
28199         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28200         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
28201         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
28202         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
28203         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
28204         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
28205         (feholdexcept): Likewise.
28206         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28207         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
28208         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
28209         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28210         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
28211         __feholdexcept instead of feholdexcept.
28212         (default_libc_feholdexcept_setround): Likewise.
28214 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
28216         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
28217         to avoid using stl/str to align destination.
28219 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
28221         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
28223 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
28225         [BZ #17796]
28226         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
28227         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
28228         Define as weak alias not strong alias.
28230 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
28232         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
28233         bltzal with addiupc.
28234         (RTLD_START): Ditto.
28236 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
28238         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
28239         for __vdso_* functions in declarations.
28240         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
28241         definitions.
28242         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
28243         INTERNAL_VSYSCALL): Use struct return types to check for error.
28245         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
28246         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
28247         function with cast from llround().
28248         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
28249         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
28250         Define.
28252 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
28254         [BZ #17793]
28255         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
28256         Define as weak alias not strong alias.
28258         [BZ #17635]
28259         * ctype/ctype-c99.c: New file.  isblank implementation moved from
28260         ...
28261         * ctype/ctype-extn.c: ... here.
28262         (__isblank_l): Move to ...
28263         * ctype/ctype-c99_l.c: ... here.  New file.
28264         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
28265         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
28266         Remove variable.
28267         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
28268         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
28269         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
28270         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
28271         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
28273         [BZ #17777]
28274         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
28275         (posix_fadvise64): Define as weak alias not strong alias.
28276         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28277         (posix_fallocate64): Likewise.
28278         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
28279         Remove variable.
28280         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
28281         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
28282         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
28283         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
28284         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
28286 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
28288         [BZ #16191]
28289         * NEWS: Mention bug fix.
28290         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
28291         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
28292         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
28293         (HOST_STACK_END_ADDR): Likewise.
28295 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
28297         [BZ #17748]
28298         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
28299         * math/fegetround.c (fegetround): Rename to __fegetround and
28300         define as weak alias of __fegetround.  Use libm_hidden_weak.
28301         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
28302         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
28303         * sysdeps/arm/fegetround.c (fegetround): Likewise.
28304         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
28305         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
28306         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
28307         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
28308         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
28309         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
28310         Undefine after rather than before function definition; use
28311         parentheses around function name in definition.
28312         (__fegetround): Also undefine macro after function definition.
28313         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
28314         __fegetround and define as weak alias of __fegetround.  Use
28315         libm_hidden_weak.  Do not undefine as macro.
28316         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
28317         Likewise.
28318         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
28319         __fegetround and define as weak alias of __fegetround.  Use
28320         libm_hidden_weak.
28321         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28322         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
28323         * sysdeps/tile/math_private.h (__fegetround): New inline function.
28324         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
28325         __fegetround and define as weak alias of __fegetround.  Use
28326         libm_hidden_weak.
28327         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
28328         __fegetround instead of fegetround.
28330         [BZ #17782]
28331         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
28332         Condition macro definition on [__USE_MISC].
28334         [BZ #17781]
28335         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
28336         (struct sigaction): Change type of sa_flags field to int.
28338         [BZ #17780]
28339         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
28340         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
28341         __glibc_reserved0.
28343         * nptl/version.c (banner): Use single year in copyright notice.
28345         * NEWS: Update copyright dates.
28346         * catgets/gencat.c (print_version): Likewise.
28347         * csu/version.c (banner): Likewise.
28348         * debug/catchsegv.sh: Likewise.
28349         * debug/pcprofiledump.c (print_version): Likewise.
28350         * debug/xtrace.sh (do_version): Likewise.
28351         * elf/ldconfig.c (print_version): Likewise.
28352         * elf/ldd.bash.in: Likewise.
28353         * elf/pldd.c (print_version): Likewise.
28354         * elf/sotruss.sh: Likewise.
28355         * elf/sprof.c (print_version): Likewise.
28356         * iconv/iconv_prog.c (print_version): Likewise.
28357         * iconv/iconvconfig.c (print_version): Likewise.
28358         * locale/programs/locale.c (print_version): Likewise.
28359         * locale/programs/localedef.c (print_version): Likewise.
28360         * login/programs/pt_chown.c (print_version): Likewise.
28361         * malloc/memusage.sh (do_version): Likewise.
28362         * malloc/memusagestat.c (print_version): Likewise.
28363         * malloc/mtrace.pl: Likewise.
28364         * manual/libc.texinfo: Likewise.
28365         * nptl/version.c (banner): Likewise.
28366         * nscd/nscd.c (print_version): Likewise.
28367         * nss/getent.c (print_version): Likewise.
28368         * nss/makedb.c (print_version): Likewise.
28369         * posix/getconf.c (main): Likewise.
28370         * scripts/test-installation.pl: Likewise.
28371         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
28373 2015-01-02  Will Newton  <will.newton@linaro.org>
28375         * sysdeps/arm/armv7/configure: Removed.
28376         * sysdeps/arm/armv7/configure.ac: Likewise.
28378 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
28380         * All files with FSF copyright notices: Update copyright dates
28381         using scripts/update-copyrights.
28382         * intl/plural.c: Regenerated.
28383         * locale/programs/charmap-kw.h: Likewise.
28384         * locale/programs/locfile-kw.h: Likewise.
28386 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28388         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
28390 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
28392         [BZ #17748]
28393         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
28394         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
28395         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
28396         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
28397         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
28398         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
28399         define as weak alias of __fegetenv.  Use libm_hidden_weak.
28400         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
28401         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
28402         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
28403         define as weak alias of __fegetenv.  Use libm_hidden_weak.
28404         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
28405         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
28406         define as weak alias of __fegetenv.  Use libm_hidden_weak.
28407         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
28408         libm_hidden_def.
28409         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
28410         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
28411         Likewise.
28412         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
28413         define as weak alias of __fegetenv.  Use libm_hidden_weak.
28414         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
28415         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
28416         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
28417         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
28418         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
28419         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
28420         __fegetenv instead of fegetenv.
28421         (libc_feholdsetround_noex_ctx): Likewise.
28423 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
28425         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
28426         (Elf_MIPS_ABIFlags_v0): New structure.
28427         (EF_MIPS_FP64): Define.
28428         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
28429         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
28430         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
28431         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
28432         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
28433         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
28434         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
28435         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
28436         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
28437         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
28438         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
28439         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
28440         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
28441         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
28442         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
28443         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
28444         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
28445         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
28446         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
28447         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
28448         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
28449         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
28450         field.
28451         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
28452         EF_MIPS_FP64.
28453         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
28454         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
28455         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
28456         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
28457         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
28458         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
28459         * sysdeps/mips/tst-abi-interlink.c: Likewise.
28460         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
28461         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
28462         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
28463         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
28464         record the current FP ABI extension.
28465         (mips-mode-switch): Define to show if kernel headers support mode
28466         switching.
28467         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
28468         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
28469         supported SYSV ABI version to 3.
28470         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
28471         feature.
28473 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28474             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28476         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
28477         path.
28478         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
28480 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
28482         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
28483         __fegetround and redefine to call __fegetround.  Remove condition
28484         on [!__NO_MATH_INLINES].
28485         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
28486         function.
28487         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
28488         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
28489         Remove macro.
28490         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
28491         instead of <fenv_libc.h>.
28492         (__llrintl): Call fegetround instead of __fegetround.
28493         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
28494         instead of <fenv_libc.h>.
28495         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
28496         (__lrintl): Call fegetround instead of __fegetround.
28497         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
28498         instead of <fenv_libc.h>.
28499         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
28500         (__rintl): Call fegetround instead of __fegetround.
28502 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
28504         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
28505         arrays.
28507 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
28509         [BZ #17775]
28510         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
28511         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
28512         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
28514 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
28516         * sysdeps/i386/tls-macros.h: Include <features.h>.
28517         (TLS_LE): Use non-PIC version for GCC >= 5.0.
28518         (TLS_IE): Likewise.
28519         (TLS_LD): Likewise.
28520         (TLS_GD): Likewise.
28521         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
28522         define for GCC >= 5.0.
28524 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
28526         * math/test-fenv.c (test_single_exception, set_single_exc,
28527         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
28528         feexcp_mask_test, feenable_test, fe_single_test): Add
28529         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
28530         case where they are not used.
28531         * math/libm-test.inc: Likewise.
28532         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
28533         unused in the absence of FP rounding/exception support.
28534         * stdio-common/tst-printf-round.c: Likewise.
28535         * stdlib/tst-strtod-round.c: Likewise.
28536         * stdlib/tst-strtod-underflow.c: Likewise.
28538 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
28540         [BZ #17723]
28541         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
28542         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
28543         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
28544         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
28545         libm_hidden_weak.
28546         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
28547         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
28548         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
28549         libm_hidden_def.
28550         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
28551         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
28552         libm_hidden_weak.
28553         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
28554         Likewise.
28555         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
28556         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
28557         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
28558         libm_hidden_weak.
28559         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
28560         libm_hidden_def.
28561         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
28562         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
28563         (__feraiseexcept): Likewise.
28564         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
28565         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
28566         libm_hidden_weak.
28567         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
28568         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
28569         libm_hidden_def.
28570         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
28571         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
28572         Use libm_hidden_def.
28573         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
28574         libm_hidden_def.
28575         (feraiseexcept): Define as weak not strong alias.  Use
28576         libm_hidden_weak.
28577         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
28578         New inline function.  Factored out of ...
28579         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
28580         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
28581         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
28582         feraiseexcept.
28583         * math/w_acos.c (__acos): Likewise.
28584         * math/w_asin.c (__asin): Likewise.
28585         * math/w_ilogb.c (__ilogb): Likewise.
28586         * math/w_j0.c (y0): Likewise.
28587         * math/w_j1.c (y1): Likewise.
28588         * math/w_jn.c (yn): Likewise.
28589         * math/w_log.c (__log): Likewise.
28590         * math/w_log10.c (__log10): Likewise.
28591         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
28592         * sysdeps/aarch64/fpu/math_private.h
28593         (libc_feupdateenv_test_aarch64): Likewise.
28594         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
28595         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
28596         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
28597         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
28598         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
28599         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
28600         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
28601         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
28602         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28603         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
28605 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
28607         [BZ #17732]
28608         * io/test-utime.c (main): Replace %ld with %jd and cast to
28609         intmax_t.
28610         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
28611         * nptl/tst-mutex5.c: Include <stdint.h>.
28612         (do_test): Replace %ld with %jd and cast to intmax_t.
28613         * posix/tst-regex.c (run_test): Likewise.
28614         (run_test_backwards): Likewise.
28615         * rt/tst-clock.c: Include <stdint.h>.
28616         (clock_test): Replace %ld with %jd and cast to intmax_t.
28617         * rt/tst-cpuclock1.c: Include <stdint.h>.
28618         (do_test): Replace %lu with %ju and cast to uintmax_t.
28619         * rt/tst-cpuclock2.c: Include <stdint.h>.
28620         (do_test): Replace %lu with %ju and cast to uintmax_t.
28621         * rt/tst-mqueue1.c: Include <stdint.h>.
28622         (check_attrs): Replace %ld with %jd and cast to intmax_t.
28623         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
28624         intmax_t.
28625         * rt/tst-mqueue4.c (do_test): Likewise.
28626         * rt/tst-timer4.c: Include <stdint.h>.
28627         (check_ts): Replace %ld with %jd and cast to intmax_t.
28628         (do_test): Likewise.
28629         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
28630         and cast to intmax_t.
28631         * sysdeps/pthread/tst-timer.c (main): Likewise.
28632         * time/clocktest.c (main): Likewise.
28633         * time/tst-posixtz.c (do_test): Likewise.
28634         * timezone/tst-timezone.c (main): Likewise.
28636 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
28637             H.J. Lu  <hongjiu.lu@intel.com>
28639         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
28640         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
28641         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
28642         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
28643         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
28644         version if bit_Fast_Unaligned_Load is set.
28645         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28646         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28647         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28648         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28649         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28650         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28651         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28652         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
28653         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
28654         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
28655         to 4.
28656         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
28657         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
28658         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
28659         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
28661 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
28663         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
28664         instead of #if to avoid a Wundef warning.
28665         * stdlib/tst-limits.c (do_test): Likewise.
28667         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
28668         parallel other exception macros.
28669         (fegetenv): Convert from macro to extern inline so that it applies
28670         retroactively to inline functions already seen by the compiler.
28671         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
28673         * posix/Makefile (before-compile): Use $(objpfx) for
28674         posix-conf-vars-def.h.
28676 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28678         * posix/getconf.c (main): Use size_t for type of I.
28679         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
28680         NSPEC.
28682         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
28683         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
28684         * posix/posix-envs.def: Likewise.
28685         * sysdeps/posix/sysconf.c: Likewise.
28686         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
28687         (specs): Remove array.
28688         * scripts/gen-posix-conf-vars.awk: Support generation of specs
28689         array.
28691         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
28692         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
28693         (__sysconf): Use CONF_IS_* macros.
28695         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
28696         ($(objpfx)posix-conf-vars-def.h): New target.
28697         * posix/posix-conf-vars.list: New file.
28698         * posix/posix-conf-vars.h: New file.
28699         * posix/confstr.c: Include posix-conf-vars.h.
28700         (confstr): Use CONF_IS_* macros.
28701         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
28702         CONF_IS_* macros.
28703         * scripts/gen-posix-conf-vars.awk: New file.
28705 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
28707         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
28708         fegetround): Add no-op macros to avoid linknamespace issues.
28710         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
28711         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
28713         * sysdeps/unix/sysv/linux/tile/sysdep.h
28714         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
28715         assembly-specific section to avoid a redefinition warning.
28717         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
28718         long before casting to pointer to avoid a cast warning.
28720 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
28722         * sysdeps/tile/tilegx/Implies: New file.
28724 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
28726         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
28728 2014-12-23  Florian Weimer  <fweimer@redhat.com>
28730         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
28732 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
28734         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
28735         not define.
28736         * sysdeps/unix/sysv/linux/utimes.c: Do not include
28737         <kernel-features.h>.
28738         (__utimes) [__NR_utimes]: Make code unconditional.
28739         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
28740         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
28741         (__ASSUME_UTIMES): Do not undefine.
28742         * sysdeps/unix/sysv/linux/tile/kernel-features.h
28743         (__ASSUME_UTIMES): Likewise.
28744         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28745         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
28746         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
28747         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
28749 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
28751         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
28753 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
28755         [BZ #17747]
28756         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
28757         alias to weak alias for j0l, y0l.
28758         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
28759         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
28761         [BZ #17746]
28762         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
28763         conversion.
28765 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
28767         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
28768         to zero if not already defined.
28770 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
28772         [BZ #17724]
28773         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
28774         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
28775         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
28776         (char *) casts added.
28777         * sysdeps/ieee754/k_standardf.c: New file.
28778         * sysdeps/ieee754/k_standardl.c: Likewise.
28779         * math/Makefile (libm-support): Remove k_standard.
28780         (libm-calls): Add k_standard.
28782 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
28784         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
28785         Optimize to avoid an unnecessary FPCR read.
28787 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
28789         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
28790         Optimize to reduce FPCR/FPSR accesses.
28792 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
28794         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
28795         Call libc_fetestexcept_aarch64.
28797 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
28799         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
28800         Call libc_fesetround_aarch64.
28802 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
28804         [BZ #17733]
28805         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
28806         (__bind): Do not define as weak alias.
28807         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
28808         define.
28809         (__getsockname): Do not define as weak alias.
28811 2014-12-22  Will Newton  <will.newton@linaro.org>
28813         * manual/install.texi: Document that we require bison 2.7
28814         or above.
28815         * INSTALL: Regenerate.
28816         * configure.ac: Use AC_CHECK_PROG_VER instead of
28817         AC_PATH_PROG when checking for bison and check for
28818         version 2.7 or above.
28819         * configure: Regenerate.
28821 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
28823         [BZ #17745]
28824         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
28825         * sysdeps/tile/ffsll.c (ffsll): To here.
28827         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
28829 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
28831         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
28832         if not defined.
28833         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
28834         definition.
28835         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
28836         hidden ___tls_get_addr.
28837         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
28838         hidden __tls_get_addr.
28839         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
28840         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
28841         Likewise.
28843 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
28845         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
28846         _dl_init call.
28848 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
28850         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
28851         from "call _dl_init@PLT".
28852         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
28854 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
28856         * manual/search.texi: (Array Sort Function): Clarify stable sorting
28857         guarantees.
28859 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
28861         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
28863 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
28865         [BZ #17744]
28866         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
28867         strnlen.
28869 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
28871         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
28872         of multu on MIPSr6.
28873         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
28874         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
28875         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
28876         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
28877         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
28879 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
28881         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
28882         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
28883         (PTR_SUBU): Use subu for mips32r6/mips64r6.
28884         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
28885         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
28886         mips32r6/mips64r6.
28887         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
28889 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
28891         * string/strncat.c (STRNCAT): Simplify implementation.
28893 2014-12-19  David S. Miller  <davem@davemloft.net>
28895         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
28896         access the quad as both a long double and as a series of 4 words.
28898         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
28899         link_map->l_info array access.
28901 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
28903         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
28905         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
28906         * math/atest-exp2.c (TIMEOUT): Likewise.
28907         * math/atest-sincos.c (TIMEOUT): Likewise.
28909 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
28911         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
28912         -Wno-error with -fno-builtin-lround.
28914 2014-12-19  Torvald Riegel  <triegel@redhat.com>
28916         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
28917         Contains futex constants and functions moved over from ...
28918         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
28919         <lowlevellock-futex.h>.
28920         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
28921         (lll_timedwait_tid): Add comments and parentheses around macro
28922         arguments.
28924 2014-12-19  Torvald Riegel  <triegel@redhat.com>
28926         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
28927         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
28928         (__lll_private_flag): Remove.
28929         (lll_futex_wait): Likewise.
28930         (lll_futex_timed_wait): Likewise.
28931         (lll_futex_wake): Likewise.
28932         (lll_futex_requeue): Likewise.
28933         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
28934         (__lll_timedwait_tid): Spell out argument names.
28935         (lll_timedwait_tid): Add comments and parentheses around macro
28936         arguments.
28937         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
28938         LLL_SHARED and LLL_PRIVATE usable from assembly code.
28940 2014-12-19  Torvald Riegel  <triegel@redhat.com>
28942         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
28943         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
28944         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28945         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
28946         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
28947         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
28948         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
28949         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
28950         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
28951         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
28952         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
28953         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
28954         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
28955         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
28956         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
28957         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
28958         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
28959         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
28960         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
28962 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
28964         * sysdeps/x86_64/x32/Makefile: New file.
28966 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
28968         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
28969         1L with (mp_limb_t) 1.
28971 2014-12-17  Roland McGrath  <roland@hack.frob.com>
28973         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
28974         * nptl/libc_pthread_init.c: ... here.
28975         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
28976         * nptl/register-atfork.c: ... here.
28978         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
28979         Use pthread_sigmask rather than INTERNAL_SYSCALL.
28980         Use assert_perror to check its return value.
28981         (__gai_create_helper_thread): Likewise.
28983         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
28985         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
28987 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
28989         [BZ #17725]
28990         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
28991         __profil_counter.
28992         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
28993         Likewise.
28994         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
28995         Likewise.
28996         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
28997         Likewise.
28998         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
28999         (profil_counter): Likewise.
29000         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
29001         (profil_counter): Likewise.
29002         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
29003         Likewise.
29004         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
29005         Likewise.
29006         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
29007         (profil_counter): Likewise.
29008         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
29009         Likewise.
29010         [!__profil_counter] (profil_counter): Define as weak alias of
29011         __profil_counter.
29012         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
29013         (profil_counter): Rename to __profil_counter.
29014         [!__profil_counter] (profil_counter): Define as weak alias of
29015         __profil_counter.
29016         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
29017         (profil_counter): Rename to __profil_counter.
29018         [!__profil_counter] (profil_counter): Define as weak alias of
29019         __profil_counter.
29020         * sysdeps/posix/profil.c: Update comment referring to
29021         profil_counter.
29022         (__profil): Use __profil_counter instead of profil_counter.
29023         * sysdeps/posix/sprofil.c (profil_counter): Rename to
29024         __profil_counter.  Use __profil_counter_ushort and
29025         __profil_counter_uint in definitions.
29026         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
29027         instead of profil_counter_uint and profil_counter_ushort.
29029         [BZ #17722]
29030         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
29031         define as weak alias of __inet_makeaddr.
29032         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
29033         as weak alias of __inet_addr.
29034         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
29035         as weak alias of __inet_pton.  Use libc_hidden_weak.
29036         * include/arpa/inet.h (__inet_pton): Declare.  Use
29037         libc_hidden_proto.
29038         (inet_makeaddr): Don't use libc_hidden_proto.
29039         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
29040         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
29041         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
29042         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
29043         Remove variable.
29044         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
29045         (test-xfail-POSIX/time.h/linknamespace): Likewise.
29047 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
29049         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
29051 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
29053         * stdio-common/bug-vfprintf-nargs.c (do_test):
29054         Cast value to intptr_t to avoid format warning
29055         for usage with PRIdPTR printing macro.
29057 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
29059         * libio/tst-widetext.c (do_test):
29060         Use format type %td instead of %Zd for ptrdiff_t
29061         in order to avoid format warning.
29063 2014-12-17  Andreas Schwab  <schwab@suse.de>
29065         * nscd/mem.c (gc): Add size_t cast to match printf format.
29067 2014-12-16  Roland McGrath  <roland@hack.frob.com>
29069         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
29070         (init): Apply PTR_MANGLE to pointers before storing them.
29071         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
29072         before using them.
29074 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
29076         [BZ #17719]
29077         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
29078         define as weak alias of __memrchr.
29079         (__memrchr): Do not define as strong alias of memrchr.
29080         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
29081         Remove variable.
29082         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
29083         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
29084         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
29086         [BZ #17717]
29087         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
29088         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
29089         (if_indextoname): Rename to __if_indextoname and define as weak
29090         alias of __if_indextoname.  Use libc_hidden_weak.
29091         (if_freenameindex): Rename to __if_freenameindex and define as
29092         weak alias of __if_freenameindex.
29093         (if_nameindex): Rename to __if_nameindex and define as weak alias
29094         of __if_nameindex.
29095         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
29096         __if_nametoindex and define as weak alias of __if_nametoindex.
29097         Use libc_hidden_weak.
29098         (if_freenameindex): Rename to __if_freenameindex and define as
29099         weak alias of __if_freenameindex.
29100         (if_nameindex): Rename to __if_nameindex and define as weak alias
29101         of __if_nameindex.
29102         (if_indextoname): Rename to __if_indextoname and define as weak
29103         alias of __if_indextoname.  Use libc_hidden_weak.
29104         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
29105         __if_nametoindex and define as weak alias of __if_nametoindex.
29106         Use libc_hidden_weak.
29107         (if_freenameindex): Rename to __if_freenameindex and define as
29108         weak alias of __if_freenameindex.  Use libc_hidden_weak.
29109         (if_nameindex_netlink): Use __if_freenameindex instead of
29110         if_freenameindex.
29111         (if_nameindex): Rename to __if_nameindex and define as weak alias
29112         of __if_nameindex.  Use libc_hidden_weak.
29113         (if_indextoname): Rename to __if_indextoname and define as weak
29114         alias of __if_indextoname.  Use libc_hidden_weak.
29115         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
29116         libc_hidden_proto.
29117         [!_ISOMAC] (__if_freenameindex): Likewise.
29118         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
29119         if_nametoindex.
29120         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
29121         variable.
29122         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
29123         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
29124         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
29125         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
29126         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
29127         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
29128         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
29130         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
29131         Remove variable.
29132         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
29133         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
29135 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29137         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
29138         subscript above bounds'
29140         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
29141         bounds.
29143 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
29145         * libio/tst-fopenloc.c: Use test-skeleton.c.
29147         * stdlib/tst-bsearch.c: Use test-skeleton.c.
29148         (entry): Rename to ITEM.
29149         (do_test, comp): Adjust.
29151         * stdio-common/tst-fseek.c: Use test-skeleton.c.
29153 2014-12-16  Torvald Riegel  <triegel@redhat.com>
29155         * string/tester.c: Include <libc-internal.h>.
29156         (test_memset): Ignore -Wmemset-transposed-args.
29158 2014-12-16  Torvald Riegel  <triegel@redhat.com>
29160         * misc/tst-mntent2.c (do_test): Fix warning.
29162 2014-12-16  Torvald Riegel  <triegel@redhat.com>
29164         * elf/tst-unique4lib.cc(a): Mark as used.
29166 2014-12-16  Florian Weimer  <fweimer@redhat.com>
29168         [BZ #17630]
29169         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
29170         names.
29172 2014-12-16  Allan McRae  <allan@archlinux.org>
29174         * stdio-common/Makefile (tests): Re-add bug26.
29176 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
29178         [BZ #17657]
29179         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
29180         static array.
29182 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
29184         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
29185         (__lll_lock_wait): Likewise.
29186         (__lll_timedlock_wait): Likewise.
29187         (__lll_timedwait_tid): Likewise.
29188         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
29189         (__lll_robust_timedlock_wait): Likewise.
29190         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
29191         (lll_cond_trylock): Likewise.
29192         (__lll_lock): Likewise.
29193         (__lll_robust_lock): Likewise.
29194         (__lll_cond_lock): Likewise.
29195         (lll_robust_cond_lock): Likewise.
29196         (__lll_timedlock): Likewise.
29197         (__lll_robust_timedlock): Likewise.
29198         (__lll_unlock): Likewise.
29199         (__lll_robust_unlock): Likewise.
29200         (lll_wait_tid): Likewise.
29201         (lll_timedwait_tid): Likewise.
29203 2014-12-15  Torvald Riegel  <triegel@redhat.com>
29205         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
29207 2014-12-15  Torvald Riegel  <triegel@redhat.com>
29209         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
29211 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
29213         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
29214         * stdio-common/tst-sprintf.c: Likewise.
29216 2014-12-15  Torvald Riegel  <triegel@redhat.com>
29218         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
29220 2014-12-15  Jeff Law  <law@redhat.com>
29222         [BZ #16617]
29223         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
29224         on the heap.  (CVE-2012-3406)
29225         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
29226         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
29227         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
29229 2014-12-15  Will Newton  <will.newton@linaro.org>
29231         * manual/install.texi: Bump required version of texinfo
29232         to 4.7 from 4.5.
29233         * INSTALL: Regenerated.
29234         * configure.ac: Check for makeinfo version 4.7 and above.
29235         * configure: Regenerated.
29237 2014-12-12  Roland McGrath  <roland@hack.frob.com>
29239         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
29240         PREFIX, string constant to insert between directory and name.
29241         * sysdeps/posix/shm_open.c: Update caller.
29242         * sysdeps/posix/shm_unlink.c: Likewise.
29243         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
29244         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
29245         (SEM_SHM_PREFIX): New macro.
29246         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
29247         [$(have-thread-library) = no].
29248         * nptl/Makefile (libpthread-routines): Add shm-directory.
29249         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
29250         * sysdeps/nptl/shm-directory.h: New file.
29251         * sysdeps/posix/shm-directory.c
29252         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
29253         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
29254         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
29255         INTERNAL_SYSCALL.
29256         (__where_is_shmfs): Function removed.
29257         (mountpoint, defaultmount, defaultdir, __namedsem_once):
29258         Variables removed.
29259         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
29260         Use SHM_GET_NAME.
29261         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
29263         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
29264         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
29265         unconditional for use inside libpthread.
29266         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
29268 2014-12-12  Roland McGrath  <roland@hack.frob.com>
29270         * nptl/pthread_getaffinity.c: New file.
29271         * nptl/pthread_setaffinity.c: New file.
29272         * nptl/pthread_getname.c: New file.
29273         * nptl/pthread_setname.c: New file.
29275         * nptl/pthread_create.c (START_THREAD_DEFN)
29276         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
29278 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
29279             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29281         * resolv/res_send.c (send_vc): Disable warning resplen may
29282         be used uninitialized.
29284 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
29286         * nptl/tst-mutex6.c
29287         (ATTR_NULL): New define checks ATTR against NULL.
29288         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
29289         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
29291 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
29293         [BZ #17581]
29294         * malloc/hooks.c
29295         (mem2mem_check): Revert my previous change.
29296         (malloc_check_get_size): Revert my previous change.
29297         (mem2chunk_check): Revert my previous change.
29299 2014-12-11  Roland McGrath  <roland@hack.frob.com>
29301         * sysdeps/posix/shm-directory.c: New file.
29302         * sysdeps/posix/shm-directory.h: New file.
29303         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
29304         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
29305         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
29306         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
29307         Transmute EPERM to EACCES.
29308         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
29309         from ...
29310         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
29311         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
29313 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29315         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
29316         pointer and cast to uintptr_t.
29317         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
29318         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
29319         Add cast to avoid warning.
29320         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
29322 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
29324         * nptl/semaphore.h: Move to ...
29325         * sysdeps/pthread/semaphore.h: ... here.
29326         * Makefile (installed-headers): Change nptl/semaphore.h to
29327         sysdeps/pthread/semaphore.h.
29329 2014-12-11  Roland McGrath  <roland@hack.frob.com>
29331         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
29332         generated error format strings.
29334         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
29335         -Wformat-extra-args warnings for scanf formats.
29336         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
29337         test of zero-length format (duh).
29338         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
29339         corner-case scanf format test.
29340         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
29341         generated fprintf format string.
29342         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
29343         corner-case sprintf format tests.
29344         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
29345         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
29346         -Wformat-extra-args warnings throughout.
29347         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
29348         (CFLAGS-scanf4.c): Likewise.
29349         (CFLAGS-scanf7.c): Likewise.
29350         (CFLAGS-tst-sprintf.c): Likewise.
29351         (CFLAGS-tst-printf.c): Likewise.
29352         (CFLAGS-tst-printfsz.c): Likewise.
29354 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
29356         * include/cpio.h: New file.
29357         * include/fmtmsg.h: Likewise.
29359         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
29360         corresponding format argument to size_t.
29361         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
29362         arguments.
29363         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
29364         corresponding format argument to size_t.
29365         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
29366         arguments.
29367         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
29368         corresponding format argument to size_t.
29369         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
29370         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
29371         (CFLAGS-tst-mbswcs2.c): Likewise.
29372         (CFLAGS-tst-mbswcs3.c): Likewise.
29373         (CFLAGS-tst-mbswcs4.c): Likewise.
29374         (CFLAGS-tst-mbswcs5.c): Likewise.
29375         (CFLAGS-tst-trans.c): Likewise.
29377 2014-12-11  Roland McGrath  <roland@hack.frob.com>
29379         * posix/regexbug1.c (main): Use "%s" format with regerror results,
29380         rather than assuming they won't contain any '%'s.
29382 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
29384         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
29385         inhibit_loop_to_libcall to avoid recursive calls.
29386         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
29387         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
29389 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
29391         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
29392         prototype.
29394 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
29396         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
29397         integer value instead of boolean.
29399 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
29401         * malloc/malloc.c: Fix powerof2 check.
29403 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
29405         * locale/programs/locfile.h (maybe_swap_uint32):
29406         Remove inline and add unused attribute.
29408 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
29410         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
29411         Truncating assembler expression to a .long expression.
29413 2014-12-11  Andreas Schwab  <schwab@suse.de>
29415         * elf/rtld.c (struct map_args): Constify str member.
29416         (do_preload): Constify fname argument.
29418 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29420         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
29421         constants definition.
29423 2014-12-11  Andreas Schwab  <schwab@suse.de>
29425         [BZ #16657]
29426         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
29427         FORCE_ELISION instead of DO_ELISION.
29428         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
29429         Remove.
29430         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
29431         Likewise.
29433         * iconvdata/gconv-modules: Remove duplicate entry.
29435 2014-12-11  Will Newton  <will.newton@linaro.org>
29437         Merge gettext 0.19.3 into intl/.
29439         This involves a number of cosmetic changes to comments
29440         and ANSI function definitions and prototypes throughout
29441         all the files. The gettext copyright header is used but
29442         with the date ranges taken from the glibc copy.
29444         * NEWS: Add gettext merge to 2.21.
29445         * intl/bindtextdom.c: Switch to gettext copyright.
29446         Use ANSI definitions and prototypes.
29447         Use gl_* locking primitives rather than __libc_* ones.
29448         Use __builtin_expect rather than __glibc_likely/unlikely.
29449         * intl/dcgettext.c: Switch to gettext copyright.
29450         Use ANSI definitions and prototypes.
29451         * intl/dcigettext.c: Switch to gettext copyright.
29452         Use ANSI definitions and prototypes.
29453         (INTDIV0_RAISES_SIGFPE): New define.
29454         Use gl_* locking primitives rather than __libc_* ones.
29455         Include eval-plural.h instead of plural-eval.c.
29456         Use __builtin_expect rather than __glibc_likely/unlikely.
29457         * intl/dcngettext.c: Switch to gettext copyright.
29458         Use ANSI definitions and prototypes.
29459         * intl/dgettext.c: Likewise.
29460         * intl/dngettext.c: Likewise.
29461         * intl/plural-eval.c: Renamed to...
29462         * intl/eval-plural.h: ...this.
29463         * intl/explodename.c: Switch to gettext copyright.
29464         Use ANSI definitions and prototypes.
29465         (_nl_explode_name): Use strchr instead of __rawmemchr.
29466         * intl/finddomain.c: Switch to gettext copyright.
29467         Use ANSI definitions and prototypes.
29468         Use gl_* locking primitives rather than __libc_* ones.
29469         (_nl_find_domain): Use malloc rather than alloca for
29470         allocation of temporary locale name.
29471         * intl/gettext.c: Switch to gettext copyright.
29472         Use ANSI definitions and prototypes.
29473         * intl/gettextP.h: Switch to gettext copyright.
29474         Use ANSI definitions and prototypes.
29475         Use gl_* locking primitives rather than __libc_* ones.
29476         * intl/gmo.h: Switch to gettext copyright.
29477         (struct sysdep_string): Move struct segment_pair outside of
29478         struct definition.
29479         * intl/hash-string.c: Use ANSI definitions and prototypes.
29480         * intl/hash-string.h: Switch to gettext copyright.
29481         Use ANSI definitions and prototypes.
29482         * intl/l10nflist.c: Switch to gettext copyright.
29483         Use ANSI definitions and prototypes.
29484         (_nl_normalize_codeset): Avoid integer overflow.
29485         * intl/loadinfo.h: Switch to gettext copyright.
29486         Use ANSI definitions and prototypes.
29487         (LIBINTL_DLL_EXPORTED): New define.
29488         (PATH_SEPARATOR): New define.
29489         * intl/loadmsgcat.c: Switch to gettext copyright.
29490         * intl/localealias.c: Switch to gettext copyright.
29491         Use ANSI definitions and prototypes.
29492         (_nl_expand_alias): Use PATH_SEPARATOR.
29493         * intl/ngettext.c: Switch to gettext copyright.
29494         Use ANSI definitions and prototypes.
29495         * intl/plural-exp.c: Likewise.
29496         * intl/plural-exp.h: Switch to gettext copyright.
29497         Use ANSI definitions and prototypes.
29498         (struct expression): Move definition of enum operator outside
29499         of struct definition.
29500         * intl/plural.c: Regenerate.
29501         * intl/plural.y: Switch to gettext copyright.
29502         Use ANSI definitions and prototypes.
29503         Port to bison 3.0.
29504         * intl/textdomain.c: Switch to gettext copyright.
29505         Use ANSI definitions and prototypes.
29506         Use gl_* locking primitives rather than __libc_* ones.
29508 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
29510         * debug/warning-nop.c: Add used atrribute.
29512 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
29514         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
29516         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
29517         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
29518         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
29520 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
29521             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29523         [BZ #17634]
29524         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
29525         Undefine after defining function.  Define as weak alias of
29526         __wcschr.  Use libc_hidden_weak.
29527         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
29528         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
29529         (libc_hidden_def): Also define __GI___wcschr alias.
29530         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
29531         __wcschr and define as weak alias of __wcschr.
29532         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
29533         __wcschr.
29534         [!WCSCHR] (DEFAULT_WCSCHR): Define.
29535         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
29536         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
29537         libc_hidden_weak.  Do not use libc_hidden_def.
29538         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
29539         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
29540         __GI___wcschr alias.
29541         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
29542         [IS_IN (libc)] (wcschr): Define as macro expanding to
29543         __redirect_wcschr.
29544         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
29545         [IS_IN (libc)] (__wcschr_power6): Likewise.
29546         [IS_IN (libc)] (__wcschr_power7): Likewise.
29547         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
29548         instead of wcschr.
29549         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
29550         __libc_wcschr.
29551         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
29552         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
29553         __wcschr and define as weak alias of __wcschr.  Use
29554         libc_hidden_builtin_def.
29555         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
29556         as weak alias of __wcschr.  Use libc_hidden_weak.
29557         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
29558         wcschr.
29559         * time/era.c (_nl_init_era_entries): Likewise.
29560         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
29561         variable.
29562         (test-xfail-XPG3/time.h/linknamespace): Likewise.
29563         (test-xfail-XPG4/time.h/linknamespace): Likewise.
29565 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
29567         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
29568         format for long int variable.
29570 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
29572         [BZ #10672]
29573         * manual/search.texi: (Array Sort Function): Remove claim how to make
29574         qsort stable.
29576 2014-12-10  Andreas Schwab  <schwab@suse.de>
29578         [BZ #12847]
29579         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
29580         user-controlled locks.
29582 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
29584         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
29585         register.
29587 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
29589         * configure.ac (--disable-werror): New configure option.
29590         (enable_werror): New AC_SUBST.
29591         * configure: Regenerated.
29592         * config.make.in (enable-werror): New variable.
29593         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
29594         -Wno-error=undef.
29595         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
29596         * manual/install.texi (Configuring and compiling): Document
29597         --disable-werror.
29598         * INSTALL: Regenerated.
29599         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
29600         (CFLAGS-tst-chk2.c): Likewise.
29601         (CFLAGS-tst-chk3.c): Likewise.
29602         (CFLAGS-tst-chk4.cc): Likewise.
29603         (CFLAGS-tst-chk5.cc): Likewise.
29604         (CFLAGS-tst-chk6.cc): Likewise.
29605         (CFLAGS-tst-lfschk1.c): Likewise.
29606         (CFLAGS-tst-lfschk2.c): Likewise.
29607         (CFLAGS-tst-lfschk3.c): Likewise.
29608         (CFLAGS-tst-lfschk4.cc): Likewise.
29609         (CFLAGS-tst-lfschk5.cc): Likewise.
29610         (CFLAGS-tst-lfschk6.cc): Likewise.
29612         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
29613         (main): Disable -Wdeprecated-declarations around calls to
29614         register_printf_function.
29616         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
29617         (do_test): Disable -Wdiv-by-zero around some calls to
29618         fwrite_unlocked and fread_unlocked.
29620         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
29621         (DIAG_POP_NEEDS_COMMENT): Likewise.
29622         (_DIAG_STR1): Likewise.
29623         (_DIAG_STR): Likewise.
29624         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
29625         * stdio-common/bug21.c: Include <libc-internal.h>.
29626         (do_test): Disable -Wformat around call to sscanf.
29627         * stdio-common/scanf14.c: Include <libc-internal.h>.
29628         (main): Disable -Wformat around some calls to scanf functions.
29630 2014-12-09  Torvald Riegel  <triegel@redhat.com>
29632         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
29634 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29636         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
29637         stack variable alignment.
29639 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
29641         [BZ #17682]
29642         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
29643         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
29644         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
29645         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
29646         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
29647         __getrlimit instead of getrlimit.
29648         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
29649         __gettimeofday instead of gettimeofday.
29650         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
29651         Likewise.
29652         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
29653         Likewise.
29654         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
29655         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
29656         Remove variable.
29657         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
29658         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
29660 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29662         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
29663         for wide-character tests.
29665 2014-12-04  Roland McGrath  <roland@hack.frob.com>
29667         * io/openat64.c: #include <libc-internal.h>
29668         (__openat64): Prototypify.  Use ignore_value on MODE.
29669         * io/openat.c: Likewise.
29670         * misc/reboot.c: #include <libc-internal.h>
29671         (reboot): Prototypify.  Use ignore_value on HOWTO.
29672         * misc/ptrace.c: #include <libc-internal.h>
29673         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
29675 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
29677         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
29678         XPG4, UNIX98 and XOPEN2K.
29679         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
29680         Remove variable.
29681         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
29683 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29685         * libio/fileops.c: Use ISO C style for function definitions.
29686         * libio/iofopen.c: Likewise.
29687         * libio/wfileops.c: Likewise.
29689         [BZ #17653]
29690         * libio/fileops.c (_IO_new_file_underflow): Unset cached
29691         offset on EOF.
29692         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
29693         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
29694         (fgets_func): Function pointer to fgets and fgetws.
29695         (do_ftell_test): Add test to verify ftell value after read
29696         EOF.
29697         (do_test): Set fgets_func.
29699         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
29700         O_TRUNC flag for w and w+ modes.
29701         (do_rewind_test): Likewise.
29702         (do_ftell_test): Likewise.
29703         (do_write_test): Likewise.
29705         [BZ #17647]
29706         * libio/fileops.c (do_ftell): Seek only when there are
29707         unflushed writes.
29708         * libio/wfileops.c (do_ftell_wide): Likewise.
29709         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
29710         test case.
29711         (do_one_test): Call it.
29713 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
29715         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
29716         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
29717         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
29718         Remove variable.
29719         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
29720         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
29721         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
29723 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
29725         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
29726         Remove variable.
29727         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
29729         [BZ #17668]
29730         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
29731         as weak alias of __getifaddrs.  Use libc_hidden_weak.
29732         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
29733         __freeifaddrs.  Use libc_hidden_weak.
29734         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
29735         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
29736         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
29737         __freeifaddrs.  Use libc_hidden_weak.
29738         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
29739         __getifaddrs and define as weak alias of __getifaddrs.  Use
29740         libc_hidden_weak.
29741         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
29742         __freeifaddrs.  Use libc_hidden_weak.
29743         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
29744         Remove variable.
29745         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
29746         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
29748 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
29750         [BZ #17601]
29751         * sysdeps/mips/start.S (__start): Use indirect jump to call
29752         __libc_start_main.
29754 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
29756         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
29758         * nptl/tst-mutex1.c: Include <stdbool.h>.
29759         [!ATTR] (ATTR_NULL): New macro.
29760         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
29761         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
29762         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
29764         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
29765         to char *.
29767         [BZ #17665]
29768         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
29769         Change conditional to [__USE_MISC].
29771         [BZ #17664]
29772         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
29773         fgets_unlocked.
29774         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
29775         __fgets_unlocked.
29776         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
29777         fgets_unlocked.
29778         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
29779         Remove variable.
29780         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
29781         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
29782         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
29783         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
29784         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
29785         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
29786         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
29787         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
29788         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
29790         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
29792 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29794         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29795         Remove strpbrk objects.
29796         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29797         (__libc_ifunc_impl_list): Remove strpbrk implementation.
29798         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
29799         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
29800         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
29801         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
29803         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29804         Remove strcspn objects.
29805         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29806         (__libc_ifunc_impl_list): Remove strcspn implementation.
29807         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
29808         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
29809         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
29810         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
29812         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29813         Remove strspn objetcs.
29814         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29815         (__libc_ifunc_impl_list): Remove strspn implementation.
29816         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
29817         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
29818         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
29819         * sysdeps/powerpc/powerpc64/strspn.S: New file.
29821 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
29823         [BZ #17581]
29824         * malloc/hooks.c
29825         (mem2mem_check): Add a terminator to the chain of checking blocks.
29826         (malloc_check_get_size): Use it here.
29827         (mem2chunk_check): Ditto.
29829 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29831         * sysdeps/powerpc/powerpc64/strtok.S: New file.
29832         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
29834 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
29836         * bits/ioctl-types.h: Indent preprocessor directives correctly.
29838         * nptl/nptl-init.c: Include libc-internal.h.
29839         (__pthread_initialize_minimal_internal): Use ROUND_UP.
29841         * elf/ldconfig.c (search_dir): Expand comment.
29843 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
29845         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
29846         variable.
29847         (linknamespace-symlist-stdlibs-tests): Likewise.
29848         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
29849         instead of $(objpfx)symlist-stdlibs.
29850         (linknamespace-libs-isoc): New variable.
29851         (linknamespace-libs): Use $(linknamespace-libs-isoc).
29852         (linknamespace-libs-ISO): New variable.
29853         (linknamespace-libs-ISO99): Likewise.
29854         (linknamespace-libs-ISO11): Likewise.
29855         (linknamespace-libs-XPG3): Likewise.
29856         (linknamespace-libs-XPG4): Likewise.
29857         (linknamespace-libs-POSIX): Likewise.
29858         (linknamespace-libs-UNIX98): Likewise.
29859         (linknamespace-libs-XOPEN2K): Likewise.
29860         (linknamespace-libs-POSIX2008): Likewise.
29861         (linknamespace-libs-XOPEN2K8): Likewise.
29862         ($(objpfx)symlist-stdlibs): Replace by
29863         $(linknamespace-symlist-stdlibs-tests).  Use
29864         $(linknamespace-libs-$*) as set of libraries.
29865         ($(linknamespace-header-tests)): Update dependencies.  Use
29866         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
29867         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
29868         * conform/linknamespace.pl: Remove comment about considering
29869         definitions of symbols from irrelevant libraries.
29871 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
29873         [BZ #13862]
29874         * elf/dl-tls.c: Include <atomic.h>.
29875         (oom): Remove #ifdef SHARED/#endif.
29876         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
29877         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
29878         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
29879         big enough.
29880         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
29881         * nptl/Makefile (tests): Add tst-stack4.
29882         (modules-names): Add tst-stack4mod.
29883         ($(objpfx)tst-stack4): New.
29884         (tst-stack4mod.sos): Likewise.
29885         ($(objpfx)tst-stack4.out): Likewise.
29886         ($(tst-stack4mod.sos)): Likewise.
29887         (clean): Likewise.
29888         * nptl/tst-stack4.c: New file.
29889         * nptl/tst-stack4mod.c: Likewise.
29891 2014-11-27  J. Brown  <jb999@gmx.de>
29893         * sysdeps/x86/bits/string.h: Add recent CPUs.
29895 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
29897         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
29898         sigblock.
29900         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
29901         feof.
29903         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
29904         variable.
29906 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
29908         * nscd/connections.c: Include libc-internal.h because of macro
29909         usage ignore_value.
29911 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29913         * string/bits/string3.h (__warn_memset_zero_len): Don't
29914         declare for gcc newer than 5.0.
29915         (memset): Don't test for zero-length __LEN for gcc newer than
29916         5.0.
29918 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
29920         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
29921         size_t for %zu format.
29923         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
29924         difference, not %ju.
29926 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
29928         * include/libc-internal.h (ignore_value): New macro.
29929         * nscd/connections.c (restart): Wrap calls to setuid and setgid
29930         with ignore_value.
29932         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
29933         definition.
29935         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
29936         pthread_cleanup_push to void *.
29938         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
29939         Undefine.
29941         [BZ #16619]
29942         [BZ #16740]
29943         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
29944         instead of 1L << 52.
29946         * libio/bug-rewind.c (do_test): Check fwscanf return values.
29947         * libio/bug-rewind2.c (do_test): Likewise.
29949         * debug/test-stpcpy_chk-ifunc.c: Remove file.
29950         * debug/test-strcpy_chk-ifunc.c: Likewise.
29951         * wcsmbs/test-wcschr-ifunc.c: Likewise.
29952         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29953         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29954         * wcsmbs/test-wcslen-ifunc.c: Likewise.
29955         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29956         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29957         * Rules [$(multi-arch) = no] (tests): Do not filter out
29958         $(tests-ifunc).
29959         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
29960         * debug/Makefile (tests-ifunc): Remove variable.
29961         (tests): Do not add $(tests-ifunc).
29962         * wcsmbs/Makefile (tests-ifunc): Remove variable.
29963         (tests): Do not add $(tests-ifunc).
29964         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
29965         [TEST_IFUNC]: Remove conditionals.
29966         * string/test-string.h (TEST_IFUNC): Remove macro.
29967         [TEST_IFUNC]: Remove conditionals.
29969         * string/test-strchr.c [!WIDE] (L): New macro.
29970         [WIDE] (L): Likewise.
29971         (check1): Use CHAR instead of char.  Use L on string and character
29972         constants.
29974 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
29976         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
29977         tests.
29978         * sysdeps/powerpc/bits/atomic.h
29979         (__arch_atomic_exchange_and_add_32_acq): Add definition.
29980         (__arch_atomic_exchange_and_add_32_rel): Likewise.
29981         (atomic_exchange_and_add_acq): Likewise.
29982         (atomic_exchange_and_add_rel): Likewise.
29983         * sysdeps/powerpc/powerpc32/bits/atomic.h
29984         (__arch_atomic_exchange_and_add_64_acq): Add definition.
29985         (__arch_atomic_exchange_and_add_64_rel): Likewise.
29986         * sysdeps/powerpc/powerpc64/bits/atomic.h
29987         (__arch_atomic_exchange_and_add_64_acq): Add definition.
29988         (__arch_atomic_exchange_and_add_64_rel): Likewise.
29990 2014-11-26  Torvald Riegel  <triegel@redhat.com>
29992         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
29993         Change synchronization of __sched_fifo_min_prio and
29994         __sched_fifo_max_prio.
29995         * nptl/pthread_mutexattr_getprioceiling.c
29996         (pthread_mutexattr_getprioceiling): Likewise.
29997         * nptl/pthread_mutexattr_setprioceiling.c
29998         (pthread_mutexattr_setprioceiling): Likewise.
29999         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
30000         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
30001         Likewise.
30003 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
30005         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
30006         void.
30008 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
30010         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
30011         third argument const.
30013 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
30015         fnmatch: work around GCC compiler warning bug with uninit var
30016         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
30017         This works around a bug with x86-64 GCC 4.9.2 and earlier
30018         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
30019         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
30020         used uninitialized in this function [-Wmaybe-uninitialized]".
30022 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
30024         * posix/bug-regex31.c (main): Return RES not 0.
30026 2014-11-25  Anton Blanchard <anton@samba.org>
30028         * sysdeps/powerpc/bits/atomic.h
30029         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
30031 2014-11-24  Sterling Augustine  <saugustine@google.com>
30033         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
30035 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
30037         [BZ #17608]
30038         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
30040 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
30042         [BZ #17633]
30043         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
30044         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
30045         variable.
30046         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
30047         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
30049 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
30051         * string/strncpy.c (strncpy): Improve performance by using memset.
30053 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
30055         * string/strcpy.c (strcpy):
30056         Improve performance by using strlen and memcpy.
30058 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
30060         * string/strcoll_l.c (get_next_seq): __always_inline.
30061         * string/strcoll_l.c (do_compare): __always_inline.
30063 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30065         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
30066         defined.
30067         * include/mqueue.h: Likewise.
30068         * include/stdlib.h: Likewise.
30070         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
30071         (get_null_defines): Adjust.
30072         * sunrpc/Makefile: Adjust comment.
30073         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
30074         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
30075         (CFLAGS-interp.c): Likewise.
30076         (CFLAGS-ldconfig.c): Likewise.
30077         (CPPFLAGS-.os): Likewise.
30078         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30079         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
30080         * extra-modules.mk (extra-modules.mk): Likewise.
30081         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
30082         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
30083         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
30084         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
30085         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
30086         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
30087         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
30088         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
30089         * iconvdata/Makefile (CPPFLAGS): Likewise.
30090         (cpp-srcs-left): Add libof for all iconvdata routines.
30091         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
30092         * include/assert.h: Likewise.
30093         * include/ctype.h: Likewise.
30094         * include/errno.h: Likewise.
30095         * include/libc-symbols.h: Likewise.
30096         * include/math.h: Likewise.
30097         * include/netdb.h: Likewise.
30098         * include/resolv.h: Likewise.
30099         * include/stdio.h: Likewise.
30100         * include/stdlib.h: Likewise.
30101         * include/string.h: Likewise.
30102         * include/sys/stat.h: Likewise.
30103         * include/wctype.h: Likewise.
30104         * intl/l10nflist.c: Likewise.
30105         * libidn/idn-stub.c: Likewise.
30106         * libio/libioP.h: Likewise.
30107         * nptl/libc_multiple_threads.c: Likewise.
30108         * nptl/pthreadP.h: Likewise.
30109         * posix/regex_internal.h: Likewise.
30110         * resolv/res_hconf.c: Likewise.
30111         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
30112         * sysdeps/arm/memmove.S: Likewise.
30113         * sysdeps/arm/sysdep.h: Likewise.
30114         * sysdeps/generic/_itoa.h: Likewise.
30115         * sysdeps/generic/symbol-hacks.h: Likewise.
30116         * sysdeps/gnu/errlist.awk: Likewise.
30117         * sysdeps/gnu/errlist.c: Likewise.
30118         * sysdeps/i386/i586/memcpy.S: Likewise.
30119         * sysdeps/i386/i586/memset.S: Likewise.
30120         * sysdeps/i386/i686/memcpy.S: Likewise.
30121         * sysdeps/i386/i686/memmove.S: Likewise.
30122         * sysdeps/i386/i686/mempcpy.S: Likewise.
30123         * sysdeps/i386/i686/memset.S: Likewise.
30124         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30125         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30126         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
30127         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
30128         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30129         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30130         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
30131         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30132         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30133         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30134         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30135         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30136         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30137         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30138         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30139         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30140         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
30141         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
30142         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
30143         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30144         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30145         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30146         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30147         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30148         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30149         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30150         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
30151         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30152         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
30153         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
30154         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30155         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30156         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30157         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30158         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30159         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
30160         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30161         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30162         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30163         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30164         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30165         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30166         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30167         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
30168         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30169         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30170         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
30171         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
30172         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30173         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
30174         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30175         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
30176         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
30177         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30178         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
30179         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
30180         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30181         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
30182         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
30183         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30184         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
30185         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30186         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
30187         * sysdeps/nptl/bits/libc-lock.h: Likewise.
30188         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
30189         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
30190         * sysdeps/posix/closedir.c: Likewise.
30191         * sysdeps/posix/opendir.c: Likewise.
30192         * sysdeps/posix/readdir.c: Likewise.
30193         * sysdeps/posix/rewinddir.c: Likewise.
30194         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
30195         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
30196         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
30197         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
30198         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30199         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
30200         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
30201         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
30202         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
30203         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
30204         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
30205         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
30206         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
30207         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
30208         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
30209         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
30210         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
30211         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
30212         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
30213         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
30214         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
30215         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
30216         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
30217         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
30218         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
30219         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
30220         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
30221         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
30222         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
30223         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
30224         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
30225         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
30226         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
30227         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
30228         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
30229         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
30230         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
30231         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30232         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
30233         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
30234         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
30235         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
30236         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
30237         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
30238         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
30239         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
30240         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
30241         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
30242         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
30243         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
30244         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
30245         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
30246         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
30247         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
30248         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
30249         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
30250         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
30251         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
30252         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
30253         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
30254         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
30255         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
30256         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
30257         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
30258         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
30259         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
30260         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
30261         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
30262         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
30263         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
30264         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
30265         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
30266         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
30267         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
30268         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
30269         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
30270         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
30271         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
30272         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
30273         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
30274         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
30275         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
30276         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
30277         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
30278         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
30279         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
30280         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
30281         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30282         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30283         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30284         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
30285         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
30286         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
30287         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
30288         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30289         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
30290         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
30291         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30292         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
30293         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
30294         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30295         * sysdeps/unix/alpha/sysdep.S: Likewise.
30296         * sysdeps/unix/alpha/sysdep.h: Likewise.
30297         * sysdeps/unix/make-syscalls.sh: Likewise.
30298         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
30299         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
30300         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
30301         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
30302         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
30303         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
30304         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
30305         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
30306         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
30307         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
30308         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
30309         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
30310         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30311         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
30312         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
30313         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
30314         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30315         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
30316         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
30317         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
30318         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
30319         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
30320         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
30321         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
30322         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
30323         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
30324         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
30325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
30326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
30327         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
30328         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
30329         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
30330         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
30331         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30332         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
30333         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
30334         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
30335         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30336         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
30337         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
30338         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30339         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
30340         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30341         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
30342         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
30343         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
30344         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30345         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30346         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
30347         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30348         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
30349         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
30350         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
30351         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
30352         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
30353         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
30354         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
30355         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30356         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
30357         * sysdeps/x86_64/memcpy.S: Likewise.
30358         * sysdeps/x86_64/memmove.c: Likewise.
30359         * sysdeps/x86_64/memset.S: Likewise.
30360         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
30361         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
30362         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
30363         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
30364         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
30365         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30366         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30367         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
30368         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
30369         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
30370         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
30371         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
30372         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
30373         * sysdeps/x86_64/multiarch/memset.S: Likewise.
30374         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30375         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
30376         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
30377         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
30378         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
30379         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
30380         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
30381         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30382         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30383         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
30384         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
30385         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
30386         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30387         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
30388         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
30389         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
30390         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
30391         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
30392         * sysdeps/x86_64/strcmp.S: Likewise.
30394         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
30396         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
30397         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
30398         * elf/rtld-Rules: Likewise.
30399         * elf/setup-vdso.h: Likewise.
30400         * include/assert.h: Likewise.
30401         * include/bits/stdlib-float.h: Likewise.
30402         * include/errno.h: Likewise.
30403         * include/sys/stat.h: Likewise.
30404         * include/unistd.h: Likewise.
30405         * sysdeps/aarch64/setjmp.S: Likewise.
30406         * sysdeps/alpha/setjmp.S: Likewise.
30407         * sysdeps/arm/__longjmp.S: Likewise.
30408         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
30409         * sysdeps/arm/setjmp.S: Likewise.
30410         * sysdeps/arm/sysdep.h: Likewise.
30411         * sysdeps/generic/_itoa.h: Likewise.
30412         * sysdeps/generic/dl-sysdep.h: Likewise.
30413         * sysdeps/generic/ldsodefs.h: Likewise.
30414         * sysdeps/i386/dl-tls.h: Likewise.
30415         * sysdeps/i386/setjmp.S: Likewise.
30416         * sysdeps/m68k/setjmp.c: Likewise.
30417         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
30418         * sysdeps/mach/hurd/opendir.c: Likewise.
30419         * sysdeps/posix/getcwd.c: Likewise.
30420         * sysdeps/posix/opendir.c: Likewise.
30421         * sysdeps/posix/profil.c: Likewise.
30422         * sysdeps/powerpc/dl-procinfo.h: Likewise.
30423         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
30424         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
30425         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
30426         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
30427         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
30428         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
30429         * sysdeps/s390/dl-tls.h: Likewise.
30430         * sysdeps/s390/s390-32/setjmp.S: Likewise.
30431         * sysdeps/s390/s390-64/setjmp.S: Likewise.
30432         * sysdeps/sh/sh3/setjmp.S: Likewise.
30433         * sysdeps/sh/sh4/setjmp.S: Likewise.
30434         * sysdeps/unix/alpha/sysdep.h: Likewise.
30435         * sysdeps/unix/arm/sysdep.S: Likewise.
30436         * sysdeps/unix/i386/sysdep.S: Likewise.
30437         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
30438         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
30439         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
30440         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
30441         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30442         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
30443         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
30444         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30445         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
30446         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
30447         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
30448         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
30449         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
30450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30452         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
30453         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30454         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30455         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30456         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30457         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
30458         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30459         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30460         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
30461         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
30462         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
30463         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30464         * sysdeps/unix/x86_64/sysdep.S: Likewise.
30465         * sysdeps/x86_64/setjmp.S: Likewise.
30467         * include/math.h: Use IS_IN instead of IS_IN_libm.
30468         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
30469         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30470         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
30471         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
30472         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30473         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
30474         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
30475         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30476         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30477         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
30478         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
30479         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
30480         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
30481         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
30482         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
30483         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
30484         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
30485         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
30486         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
30487         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
30488         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
30489         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
30490         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
30491         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
30492         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
30493         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
30494         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
30495         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
30496         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
30497         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
30498         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
30499         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
30500         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
30501         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
30502         Likewise.
30503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
30504         Likewise.
30505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
30506         Likewise.
30507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
30508         Likewise.
30509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
30510         Likewise.
30511         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
30512         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
30513         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
30514         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30515         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30516         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30517         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
30518         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
30519         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
30520         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
30521         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
30522         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
30523         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
30524         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
30525         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
30526         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
30527         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
30528         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
30529         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
30530         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
30531         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
30532         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
30533         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
30534         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
30535         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
30536         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
30537         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
30539         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
30540         * nptl/pthreadP.h: Likewise.
30541         * nptl_db/structs.def: Likewise.
30542         * sysdeps/arm/sysdep.h: Likewise.
30543         * sysdeps/nptl/bits/libc-lock.h: Likewise.
30544         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
30545         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
30546         * sysdeps/unix/alpha/sysdep.h: Likewise.
30547         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
30548         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
30549         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
30550         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
30551         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
30552         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
30553         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30554         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
30555         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30556         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
30557         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
30558         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
30559         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
30560         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
30561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
30562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
30563         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
30564         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
30565         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
30566         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
30567         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
30568         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
30569         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
30570         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
30571         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
30572         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
30574         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
30575         * nptl/pthreadP.h: Likewise.
30576         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
30577         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
30578         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
30579         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
30580         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
30581         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
30582         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30583         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
30584         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
30585         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
30586         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
30587         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
30588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
30589         Likewise.
30590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
30591         Likewise.
30592         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
30593         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
30594         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
30595         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
30596         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
30597         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
30598         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
30599         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
30601         * dlfcn/dladdr.c: Use IS_IN.
30602         * dlfcn/dladdr1.c: Likewise.
30603         * dlfcn/dlclose.c: Likewise.
30604         * dlfcn/dlerror.c: Likewise.
30605         * dlfcn/dlinfo.c: Likewise.
30606         * dlfcn/dlmopen.c: Likewise.
30607         * dlfcn/dlopen.c: Likewise.
30608         * dlfcn/dlsym.c: Likewise.
30609         * dlfcn/dlvsym.c: Likewise.
30611         * include/ifaddrs.h: Use IS_IN.
30612         * inet/check_pf.c: Likewise.
30613         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
30614         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
30616         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
30617         IS_IN_ldconfig.
30618         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
30619         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
30621         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
30622         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
30623         IS_IN (libc).
30625         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
30627         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
30628         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30629         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
30630         * include/libc-symbols.h (IS_IN_LIB): New macro.
30631         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
30632         * include/netdb.h: Likewise.
30633         * include/stap-probe.h: Remove all uses of IN_LIB.
30635         * Makeconfig (module-cppflags-real): Define MODULE_NAME
30636         instead of IN_MODULE.
30637         * include/libc-symbols.h (IN_MODULE): Define using
30638         MODULE_NAME.
30639         (PASTE_NAME, PASTE_NAME1): New macros.
30640         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
30641         of IN_LIB.
30642         (STAP_PROBE_ASM): Likewise.
30644 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30646         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
30647         __mach_init in dlopened libc.
30649 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
30651         * sysdeps/arm/preconfigure.ac: Delete EABI check.
30652         * sysdeps/arm/preconfigure: Regenerate.
30654 2014-11-21  Roland McGrath  <roland@hack.frob.com>
30656         * nptl/pthread_create.c (__pthread_create_2_1): Set
30657         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
30658         when copying values from IATTR into PD.
30660 2014-11-21  Will Newton  <will.newton@linaro.org>
30661             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
30663         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
30664         Refactor inline-asm.  Also add comment.
30666         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
30667         ElfW macro instead of hardcoded Elf64 types.
30668         (la_aarch64_gnu_pltenter): Likewise.
30669         * sysdeps/aarch64/dl-machine.h
30670         (elf_machine_runtime_setup): Use ElfW(Addr).
30672         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
30673         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
30674         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
30675         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
30676         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
30677         (R_AARCH64_TLS_DTPMOD64): Rename to ..
30678         (R_AARCH64_TLS_DTPMOD): This.
30679         (R_AARCH64_TLS_DTPREL64): Rename to ...
30680         (R_AARCH64_TLS_DTPREL): This.
30681         (R_AARCH64_TLS_TPREL64): Rename to ...
30682         (R_AARCH64_TLS_TPREL): This.
30683         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
30684         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
30685         R_AARCH64_TLS_TPREL64.
30686         (elf_machine_rela): Likewise.
30688 2014-11-21  Torvald Riegel  <triegel@redhat.com>
30690         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
30691         by setting it to 0.  64b atomics are not supported currently.
30693 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30695         [BZ #16469]
30696         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
30697         search domain names.
30699 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30701         [BZ #16469]
30702         * NEWS: Update.
30703         * resolv/res_query.c (__libc_res_nquerydomain): Retain
30704         trailing dot.
30705         * posix/tst-getaddrinfo5.c: New.
30706         * posix/Makefile (tests): Add it.
30708 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30710         [BZ #14498]
30711         * NEWS: Fixed.
30712         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
30713         after parsing line but before break_if_match.
30714         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
30715         if there is a protocol mismatch.
30717 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
30719         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
30720         because the potential race is on the user-supplied stream.
30722 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30724         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
30725         string literal if not passed a buffer.
30726         * manual/job.texi (ctermid): Update reasoning, note deviation
30727         from posix, suggest mtasurace when not passed a buffer, for
30728         future non-preliminary safety notes.
30730 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30732         * manual/users.texi (cuserid): Fix MT-Safety note for the case
30733         of not passing it a buffer.
30734         Reported by Peng Haitao.
30736 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30738         * manual/Makefile ($(objpfx)stamp-summary): Require
30739         check-safety.sh to pass.
30740         * manual/check-safety.sh: Wish for verification that every
30741         @deftypefn and @deftypefun is followed by a @safety remark.
30743 2014-11-20  Roland McGrath  <roland@hack.frob.com>
30745         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
30747         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
30748         PTHREAD_CANCEL_ASYNCHRONOUS.
30749         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
30750         send SIGCANCEL.
30752         * nptl/default-sched.h: New file.
30753         * sysdeps/unix/sysv/linux/default-sched.h: New file.
30754         * nptl/pthread_create.c: Include it.
30755         (__pthread_create_2_1): Use collect_default_sched instead of making
30756         Linux syscalls here directly.
30758 2014-11-20  Torvald Riegel  <triegel@redhat.com>
30760         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
30761         __pthread_once): Use C11 atomics.
30763 2014-11-20  Torvald Riegel  <triegel@redhat.com>
30765         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
30767 2014-11-20  Torvald Riegel  <triegel@redhat.com>
30769         * include/atomic.h (__atomic_link_error, __atomic_check_size,
30770         atomic_thread_fence_acquire, atomic_thread_fence_release,
30771         atomic_thread_fence_seq_cst, atomic_load_relaxed,
30772         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
30773         atomic_compare_exchange_weak_relaxed,
30774         atomic_compare_exchange_weak_acquire,
30775         atomic_compare_exchange_weak_release,
30776         atomic_exchange_acquire, atomic_exchange_release,
30777         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
30778         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
30779         atomic_fetch_and_acquire,
30780         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
30782 2014-11-20  Torvald Riegel  <triegel@redhat.com>
30784         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
30785         USE_ATOMIC_COMPILER_BUILTINS): Define.
30786         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
30787         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30788         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
30789         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30790         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
30791         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30792         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
30793         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30794         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
30795         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30796         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
30797         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30798         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
30799         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30800         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
30801         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30802         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
30803         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30804         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
30805         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30806         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
30807         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30808         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
30809         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30810         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
30811         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30812         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
30813         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30814         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
30815         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30816         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
30817         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30818         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
30819         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30820         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
30821         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30822         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
30823         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30824         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
30825         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30827 2014-11-19  Roland McGrath  <roland@hack.frob.com>
30829         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
30830         the sched_priority value here.  It was already checked when the user
30831         called pthread_attr_setschedparam.
30833         * nptl/tst-bad-schedattr.c: New file.
30834         * nptl/Makefile (tests): Add it.
30836 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
30837             Florian Weimer  <fweimer@redhat.com>
30838             Joseph Myers  <joseph@codesourcery.com>
30839             Adam Conrad  <adconrad@0c3.net>
30840             Andreas Schwab  <schwab@suse.de>
30841             Brooks  <bmoses@google.com>
30843         [BZ #17625]
30844         * wordexp-test.c (__dso_handle): Add prototype.
30845         (__register_atfork): Likewise.
30846         (__app_register_atfork): New function.
30847         (registered_forks): New global.
30848         (register_fork): New function.
30849         (test_case): Add 3 new tests for WRDE_CMDSUB.
30850         (main): Call __app_register_atfork.
30851         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
30852         fork count is non-zero fail the test.
30853         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
30854         is set.
30855         (parse_dollars): Remove check for WRDE_NOCMD.
30856         (parse_dquote): Likewise.
30858 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30860         * Makeconfig (built-modules): List non-library modules to be
30861         built.
30862         (module-cppflags): Include libc-modules.h for
30863         everything except shlib-versions.v.i.
30864         (CPPFLAGS): Use it.
30865         (before-compile): Add libc-modules.h.
30866         ($(common-objpfx)libc-modules.h,
30867         $(common-objpfx)libc-modules.stmp): New targets.
30868         (common-generated): Add libc-modules.h and libc-modules.stmp.
30869         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
30870         * include/libc-symbols.h: Don't include libc-modules.h.
30871         * include/libc-modules.h: Remove file.
30872         * scripts/gen-libc-modules.awk: New script to generate
30873         libc-modules.h.
30874         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
30875         Depend on libc-modules.stmp.
30877         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
30879         * Makeconfig (in-module): Get value of libof set for the
30880         translation unit.
30881         (CPPFLAGS): Use $(in-module).
30882         * Makerules: Don't suffix routine names for nonlib.
30883         * include/libc-modules.h: New file.
30884         * include/libc-symbols.h: Include libc-modules.h
30885         (IS_IN): New macro to replace IS_IN_* macros.
30886         * elf/Makefile: Set libof-* for each routine.
30887         * elf/rtld-Rules: Likewise.
30888         * extra-modules.mk: Likewise.
30889         * iconv/Makefile: Likewise.
30890         * iconvdata/Makefile: Likewise.
30891         * locale/Makefile: Likewise.
30892         * malloc/Makefile: Likewise.
30893         * nss/Makefile: Likewise.
30894         * sysdeps/gnu/Makefile: Likewise.
30895         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
30896         * sysdeps/unix/sysv/linux/Makefile: Likewise.
30897         * sysdeps/s390/s390-64/Makefile: Likewise.
30898         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
30899         CPPFLAGS for nscd instead of nonlib.
30901 2014-11-18  Roland McGrath  <roland@hack.frob.com>
30903         * nptl/createthread.c: New file.
30905         * nptl/createthread.c: Moved ...
30906         * sysdeps/unix/sysv/linux/createthread.c: ... here.
30908         * nptl/createthread.c: Add proper top-line comment.
30909         (do_clone): Folded into ...
30910         (create_thread): ... here.  Take new arguments STOPPED_START and
30911         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
30912         increment __nptl_threads, do event-reporting logic, do
30913         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
30914         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
30915         resource cleanup if sched_setaffinity or sched_setscheduler fails,
30916         just send SIGCANCEL.
30917         * nptl/pthread_create.c: Forward-declare create_thread before
30918         including createthread.c.
30919         (start_thread): Use new macro START_THREAD_DEFN to replace defining
30920         declaration, and new macro START_THREAD_SELF to replace argument.
30921         Remove return statement.
30922         (report_thread_creation): New function.
30923         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
30924         synchronization logic, and __nptl_nthreads increment here, around
30925         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
30926         PD->parent_cancelhandling here, before create_thread.  When
30927         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
30928         __deallocate_stack, and ENOMEM translation here.
30930 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
30932         [BZ #17616]
30933         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
30934         (mptwo): Rename to __mptwo.
30935         (__inv): Use __mptwo instead of mptwo.
30936         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
30937         (mptwo): Rename to __mptwo.
30938         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
30939         of mpone and __mptwo instead of mptwo.
30940         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
30941         instead of mpone.
30942         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30943         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
30944         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
30945         of mpone and __mptwo instead of mptwo.
30946         (__mpranred): Use __mpone instead of mpone.
30947         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
30948         variable.
30949         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
30950         (test-xfail-ISO99/math.h/linknamespace): Likewise.
30951         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
30952         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
30953         (test-xfail-ISO11/math.h/linknamespace): Likewise.
30954         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
30955         (test-xfail-XPG3/math.h/linknamespace): Likewise.
30956         (test-xfail-XPG4/math.h/linknamespace): Likewise.
30957         (test-xfail-POSIX/math.h/linknamespace): Likewise.
30958         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
30959         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
30960         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
30961         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
30962         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
30963         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
30964         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
30965         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
30966         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
30967         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
30969 2014-11-18  Tom de Vries  <tom@codesoucery.com>
30971         * manual/signal.texi (Primitives Interrupted by Signals): In section,
30972         replace BSD Handler xref with BSD Signal Handling.
30974 2014-11-17  Richard Henderson  <rth@redhat.com>
30976         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
30977         (_FP_PACK_RAW_2): Remove.
30978         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
30979         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
30980         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
30981         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
30982         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
30983         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
30984         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
30985         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
30986         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
30987         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
30988         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
30989         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
30990         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
30991         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
30992         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
30993         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
30995 2014-11-14  Roland McGrath  <roland@hack.frob.com>
30997         * signal/signal.h [__USE_MISC]
30998         (struct sigvec): Remove type.
30999         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
31000         (sigvec): Remove declaration.
31001         * sysdeps/posix/sigvec.c: Moved ...
31002         * signal/sigvec.c: ... here, replacing old file.
31003         (struct sigvec): New type, copied from old signal.h definition.
31004         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
31005         (__sigvec): Convert definition to prototype.
31006         (sigvec): Replace weak_alias with compat_symbol.
31007         * signal/Versions (libc: GLIBC_2.21): New version set.
31008         * include/signal.h: Remove __sigvec declaration.
31009         * sysdeps/unix/bsd/sigvec.c: Remove file.
31010         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
31011         * manual/signal.texi (BSD Handler): Remove subsection.
31012         Move siginterrupt up to ...
31013         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
31014         (Blocking in BSD): Fold subsection into its parent.
31015         * NEWS: Mention sigvec removal.
31017 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
31019         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
31020         (DLA_FMS): Make definition conditional only on [__FMA4__].
31021         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
31022         definition.
31024         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
31025         Make definition conditional only on [PROF].
31026         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
31027         definition.
31028         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
31029         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
31031         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
31032         !__GNUC__].
31033         * include/signal.h (__sigpause): Move declaration above call to
31034         libc_hidden_proto.
31035         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
31036         variable.
31037         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
31038         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
31040 2014-11-14  David S. Miller  <davem@davemloft.net>
31042         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
31043         Define before including <string/memcpy.c> and <string/mempcpy.c>.
31045 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
31047         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
31048         * configure: Regenerated.
31049         * manual/install.texi (Tools for Compilation): Document a
31050         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
31051         compiler verified to work.
31052         * INSTALL: Regenerated.
31054         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
31055         redeclare with asm name.
31056         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
31057         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
31058         including <string.h>.
31059         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
31060         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
31061         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
31062         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
31063         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
31064         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
31065         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
31067 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
31069         * stdlib/strtol.c (__strtol): Use prototype definition.
31071         [BZ #17594]
31072         * stdlib/strtol.c (SYM__): New macro.
31073         (SYM__1): Likewise.
31074         (__strtol): Likewise.
31075         (strtol): Rename to __strtol and define as weak alias of
31076         __strtol.  Use libc_hidden_weak.
31078 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31080         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
31081         Use numbered labels in inline assembly.
31083 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31085         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
31086         Add setjmp LIBC_PROBE.
31087         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
31088         Likewise.
31089         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
31090         Add longjmp, longjmp_target LIBC_PROBE.
31091         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
31092         Likewise.
31094 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31096         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
31097         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
31098         to get rid of unused variable warning.
31100 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31102         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
31103         Check for unwind_backtrace ==  NULL only in SHARED case.
31104         (__backchain_backtrace): Compile only in SHARED case.
31105         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
31106         Likewise.
31107         (__backchain_backtrace): Declare as static.
31109 2014-11-12  Roland McGrath  <roland@hack.frob.com>
31111         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
31112         (__libc_multiple_threads_ptr): Variable moved ...
31113         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
31115 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
31117         * conform/GlibcConform.pm: New file.
31118         * conform/conformtest.pl: Use GlibcConform module.
31119         * conform/linknamespace.pl: New file.
31120         * conform/list-header-symbols.pl: Likewise.
31121         * conform/Makefile (linknamespace-symlists-base): New variable.
31122         (linknamespace-symlists-tests): Likewise.
31123         (linknamespace-header-base): Likewise.
31124         (linknamespace-header-tests): Likewise.
31125         (tests-special): Add new tests.
31126         ($(linknamespace-symlists-tests)): New rule.
31127         (linknamespace-libs): New variable.
31128         ($(objpfx)symlist-stdlibs): New rule.
31129         ($(linknamespace-header-tests)): Likewise.
31130         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
31131         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
31132         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
31133         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
31134         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
31135         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
31136         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
31137         (test-xfail-ISO/math.h/linknamespace): Likewise.
31138         (test-xfail-ISO/signal.h/linknamespace): Likewise.
31139         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
31140         (test-xfail-ISO/time.h/linknamespace): Likewise.
31141         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
31142         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
31143         (test-xfail-ISO99/math.h/linknamespace): Likewise.
31144         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
31145         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
31146         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
31147         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
31148         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
31149         (test-xfail-ISO11/math.h/linknamespace): Likewise.
31150         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
31151         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
31152         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
31153         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
31154         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
31155         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
31156         (test-xfail-XPG3/math.h/linknamespace): Likewise.
31157         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
31158         (test-xfail-XPG3/search.h/linknamespace): Likewise.
31159         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
31160         (test-xfail-XPG3/time.h/linknamespace): Likewise.
31161         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
31162         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
31163         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
31164         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
31165         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
31166         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
31167         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
31168         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
31169         (test-xfail-XPG4/math.h/linknamespace): Likewise.
31170         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
31171         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
31172         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
31173         (test-xfail-XPG4/search.h/linknamespace): Likewise.
31174         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
31175         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
31176         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
31177         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
31178         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
31179         (test-xfail-XPG4/time.h/linknamespace): Likewise.
31180         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
31181         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
31182         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
31183         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
31184         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
31185         (test-xfail-POSIX/math.h/linknamespace): Likewise.
31186         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
31187         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
31188         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
31189         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
31190         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
31191         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
31192         (test-xfail-POSIX/time.h/linknamespace): Likewise.
31193         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
31194         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
31195         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
31196         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
31197         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
31198         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
31199         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
31200         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
31201         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
31202         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
31203         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
31204         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
31205         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
31206         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
31207         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
31208         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
31209         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
31210         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
31211         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
31212         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
31213         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
31214         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
31215         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
31216         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
31217         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
31218         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
31219         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
31220         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
31221         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
31222         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
31223         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
31224         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
31225         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
31226         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
31227         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
31228         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
31229         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
31230         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
31231         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
31232         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
31233         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
31234         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
31235         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
31236         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
31237         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
31238         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
31239         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
31240         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
31241         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
31242         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
31243         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
31244         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
31245         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
31246         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
31247         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
31248         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
31249         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
31250         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
31251         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
31252         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
31253         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
31254         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
31255         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
31256         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
31257         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
31258         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
31259         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
31260         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
31261         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
31262         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
31263         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
31264         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
31265         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
31266         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
31267         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
31268         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
31269         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
31270         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
31271         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
31272         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
31273         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
31274         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
31275         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
31276         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
31277         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
31278         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
31279         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
31280         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
31281         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
31282         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
31283         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
31284         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
31285         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
31286         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
31287         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
31288         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
31289         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
31290         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
31292         [BZ #17589]
31293         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
31294         of fgets_unlocked.
31296         [BZ #17585]
31297         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
31298         (memmem): Rename to __memmem and define as weak alias of
31299         __memmem.  Use libc_hidden_weak.
31300         (__memmem): Use libc_hidden_def.
31301         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
31302         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
31303         memmem.
31305         [BZ #17582]
31306         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
31307         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
31308         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
31309         and define as weak alias of __fgets_unlocked.  Use
31310         libc_hidden_weak.
31311         (__fgets_unlocked): Use libc_hidden_def.
31312         * include/stdio.h (__fgets_unlocked): Declare.  Use
31313         libc_hidden_proto.
31314         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
31315         __fgets_unlocked instead of fgets_unlocked.
31316         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
31317         (GET_NPROCS_CONF_PARSER): Likewise.
31318         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
31319         (GET_NPROCS_CONF_PARSER): Likewise.
31321         [BZ #17574]
31322         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
31323         weak alias of __wmemset.  Use libc_hidden_weak.
31324         (__wmemset): Use libc_hidden_def.
31325         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
31326         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
31327         of wmemset.
31329         [BZ #17573]
31330         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
31331         with asm name __mempcpy.
31332         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
31334         [BZ #17572]
31335         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
31336         and define as weak alias of __rawmemchr.
31337         (__rawmemchr): Do not define as strong alias of rawmemchr.
31339         [BZ #17571]
31340         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
31341         alias of __qsort_r.
31342         (qsort): Call __qsort_r instead of qsort_r.
31343         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
31344         (__qsort_r): Declare.  Call libc_hidden_proto.
31345         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
31346         instead of qsort_r.
31347         * nscd/gai.c (__qsort_r): Define to qsort_r.
31348         * posix/tst-rfc3484.c (__qsort_r): Likewise.
31349         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
31350         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
31352         [BZ #17570]
31353         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
31354         define as weak alias of __malloc_info.
31356         [BZ #17584]
31357         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
31358         as weak alias of __rewinddir.  Don't use libc_hidden_def.
31359         (__rewinddir): Use libc_hidden_def.
31360         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
31361         as weak alias of __rewinddir.  Don't use libc_hidden_def.
31362         (__rewinddir): Use libc_hidden_def.
31363         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
31364         weak alias of __rewinddir.  Don't use libc_hidden_def.
31365         (__rewinddir): Use libc_hidden_def.
31366         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
31367         (__rewinddir): Use libc_hidden_proto.
31368         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
31369         rewinddir.
31370         (__getcwd): Use __rewinddir instead of rewinddir.
31372         [BZ #17583]
31373         * libio/fileno.c (fileno): Rename to __fileno and define as weak
31374         alias of __fileno.  Use libc_hidden_weak.
31375         (__fileno): Use libc_hidden_def.
31376         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
31377         * libio/ftello.c (ftello): Rename to __ftello and define as weak
31378         alias of __ftello.
31379         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
31380         __ftello.
31381         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
31382         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
31383         libc_hidden_def.
31384         (fread_unlocked): Don't use libc_hidden_ver.
31385         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
31386         and define as weak alias of __fread_unlocked.  Don't use
31387         libc_hidden_def.
31388         (__fread_unlocked): Use libc_hidden_def.
31389         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
31390         (ftello): Don't use libc_hidden_proto.
31391         (__ftello): Declare.  Use libc_hidden_proto.
31392         (fread_unlocked): Don't use libc_hidden_proto.
31393         (__fread_unlocked): Declare.  Use libc_hidden_proto.
31394         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
31395         and __ftello instead of fileno, fread_unlocked and ftello.
31397 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31399         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
31400         GOT12.
31401         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
31402         Likewise.
31403         (_dl_start_user): Likewise.
31404         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
31406 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
31407             Siddhesh Poyarekar  <siddhesh@redhat.com>
31409         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
31410         Move argv and envp down instead of moving argc up.
31411         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
31413 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
31415         [BZ #17506]
31416         * test-skeleton.c (main): Return successful if one of
31417         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
31418         * string/tst-strcoll-overflow.c: Define expected status.
31420 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
31422         [BZ #17475]
31423         * locale/iso-639.def: Define Bhili and Tulu language codes.
31425 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
31427         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
31429 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
31431         [BZ #17555]
31432         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
31434 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
31436         * configure.ac: Updated check of minimal required version to
31437         2.22.
31438         * manual/install.texi (Tools for Compilation): Updated version
31439         number.
31440         * configure: Regenerated.
31441         * INSTALL: Likewise.
31443 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
31445         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
31446         __tls_get_addr.
31448 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
31450         * include/sys/wait.h (__libc_waitpid): Remove declaration.
31451         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
31452         (__waitpid): Don't define as alias.  Use libc_hidden_def not
31453         libc_hidden_weak.
31454         (waitpid): Define as alias of __waitpid.
31455         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
31456         __waitpid.
31457         (__waitpid): Don't define as alias.  Use libc_hidden_def not
31458         libc_hidden_weak.
31459         (waitpid): Define as alias of __waitpid.
31460         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
31461         __libc_waitpid alias.
31462         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
31463         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
31464         Likewise.
31465         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
31466         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
31467         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
31468         alias.
31469         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
31470         __waitpid.
31471         (__waitpid): Don't define as alias.  Use libc_hidden_def not
31472         libc_hidden_weak.
31473         (waitpid): Define as alias of __waitpid.
31475 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
31477         * manual/llio.texi: Add comment that write safety has been
31478         fixed in Linux.
31480         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
31481         (localplt-build-dso): Add elf/ld.so.
31482         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
31483         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
31484         and free for ld.so.
31485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
31486         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
31487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
31488         Likewise.
31489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
31490         Likewise.
31491         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
31492         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
31493         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
31494         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
31495         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
31496         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
31497         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
31498         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
31499         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
31500         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
31501         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
31503 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
31505         [BZ #14132]
31506         * include/libc-symbols.h (INTUSE): Remove macro.
31507         (INTDEF): Likewise.
31508         (INTVARDEF): Likewise.
31509         (_INTVARDEF): Likewise.
31510         (INTDEF2): Likewise.
31511         (INTVARDEF2): Likewise.
31512         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
31513         rtld_hidden_def instead of INTVARDEF.
31514         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
31515         (_dl_starting_up_internal): Remove declaration.
31516         (_dl_starting_up): Use rtld_hidden_proto.
31517         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
31518         declaration.
31519         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
31520         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
31521         _dl_starting_up.
31522         * elf/dl-writev.h (_dl_writev): Likewise.
31523         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
31524         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
31525         _dl_starting_up_internal.
31527 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31529         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
31530         test-skeleton.c.
31532 2014-11-05  Will Newton  <will.newton@linaro.org>
31534         * benchtests/Makefile: (bench-malloc): Add malloc thread
31535         scalability benchmark.
31536         * benchtests/bench-malloc-threads.c: New file.
31538 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
31540         * sysdeps/aarch64/strchrnul.S: New file.
31542 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31544         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
31545         definition.
31546         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
31547         Likwise.
31548         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
31549         Likewise.
31550         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
31551         Likewise.
31552         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
31553         Likewise.
31554         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
31555         Likewise.
31557 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
31559         * catgets/test-gencat.c: Use test-skeleton.c.
31560         * catgets/tst-catgets.c: Likewise.
31561         * csu/tst-empty.c: Likewise.
31562         * elf/tst-audit2.c: Likewise.
31563         * elf/tst-global1.c: Likewise.
31564         * elf/tst-pathopt.c: Likewise.
31565         * elf/tst-piemod1.c: Likewise.
31566         * elf/tst-tls10.c: Likewise.
31567         * elf/tst-tls11.c: Likewise.
31568         * elf/tst-tls12.c: Likewise.
31569         * gnulib/tst-gcc.c: Likewise.
31570         * iconvdata/tst-e2big.c: Likewise.
31571         * iconvdata/tst-loading.c: Likewise.
31572         * iconv/tst-iconv1.c: Likewise.
31573         * iconv/tst-iconv2.c: Likewise.
31574         * inet/test-inet6_opt.c: Likewise.
31575         * inet/tst-gethnm.c: Likewise.
31576         * inet/tst-network.c: Likewise.
31577         * inet/tst-ntoa.c: Likewise.
31578         * intl/tst-codeset.c: Likewise.
31579         * intl/tst-gettext2.c: Likewise.
31580         * intl/tst-gettext3.c: Likewise.
31581         * intl/tst-ngettext.c: Likewise.
31582         * intl/tst-translit.c: Likewise.
31583         * io/test-stat.c: Likewise.
31584         * libio/test-fmemopen.c: Likewise.
31585         * libio/tst-freopen.c: Likewise.
31586         * libio/tst-sscanf.c: Likewise.
31587         * libio/tst-ungetwc1.c: Likewise.
31588         * libio/tst-ungetwc2.c: Likewise.
31589         * libio/tst-widetext.c: Likewise.
31590         * localedata/tst-ctype.c: Likewise.
31591         * localedata/tst-digits.c: Likewise.
31592         * localedata/tst-leaks.c: Likewise.
31593         * localedata/tst-mbswcs1.c: Likewise.
31594         * localedata/tst-mbswcs2.c: Likewise.
31595         * localedata/tst-mbswcs3.c: Likewise.
31596         * localedata/tst-mbswcs4.c: Likewise.
31597         * localedata/tst-mbswcs5.c: Likewise.
31598         * localedata/tst-setlocale.c: Likewise.
31599         * localedata/tst-trans.c: Likewise.
31600         * localedata/tst-wctype.c: Likewise.
31601         * localedata/tst-xlocale1.c: Likewise.
31602         * login/tst-grantpt.c: Likewise.
31603         * malloc/tst-calloc.c: Likewise.
31604         * malloc/tst-malloc.c: Likewise.
31605         * malloc/tst-mallocstate.c: Likewise.
31606         * malloc/tst-mcheck.c: Likewise.
31607         * malloc/tst-mtrace.c: Likewise.
31608         * malloc/tst-obstack.c: Likewise.
31609         * math/atest-exp2.c: Likewise.
31610         * math/atest-exp.c: Likewise.
31611         * math/atest-sincos.c: Likewise.
31612         * math/test-matherr.c: Likewise.
31613         * math/test-misc.c: Likewise.
31614         * math/test-powl.c: Likewise.
31615         * math/tst-definitions.c: Likewise.
31616         * misc/tst-dirname.c: Likewise.
31617         * misc/tst-efgcvt.c: Likewise.
31618         * misc/tst-fdset.c: Likewise.
31619         * misc/tst-hsearch.c: Likewise.
31620         * misc/tst-mntent2.c: Likewise.
31621         * nptl/tst-sem7.c: Likewise.
31622         * nptl/tst-sem8.c: Likewise.
31623         * nptl/tst-sem9.c: Likewise.
31624         * nss/test-netdb.c: Likewise.
31625         * posix/tst-fnmatch.c: Likewise.
31626         * posix/tst-getlogin.c: Likewise.
31627         * posix/tst-gnuglob.c: Likewise.
31628         * posix/tst-mmap.c: Likewise.
31629         * pwd/tst-getpw.c: Likewise.
31630         * resolv/tst-inet_ntop.c: Likewise.
31631         * rt/tst-timer.c: Likewise.
31632         * stdio-common/test-fseek.c: Likewise.
31633         * stdio-common/test-popen.c: Likewise.
31634         * stdio-common/test-vfprintf.c: Likewise.
31635         * stdio-common/tst-cookie.c: Likewise.
31636         * stdio-common/tst-fileno.c: Likewise.
31637         * stdio-common/tst-gets.c: Likewise.
31638         * stdio-common/tst-obprintf.c: Likewise.
31639         * stdio-common/tst-perror.c: Likewise.
31640         * stdio-common/tst-sprintf2.c: Likewise.
31641         * stdio-common/tst-sprintf3.c: Likewise.
31642         * stdio-common/tst-sprintf.c: Likewise.
31643         * stdio-common/tst-swprintf.c: Likewise.
31644         * stdio-common/tst-tmpnam.c: Likewise.
31645         * stdio-common/tst-unbputc.c: Likewise.
31646         * stdio-common/tst-wc-printf.c: Likewise.
31647         * stdlib/tst-environ.c: Likewise.
31648         * stdlib/tst-fmtmsg.c: Likewise.
31649         * stdlib/tst-limits.c: Likewise.
31650         * stdlib/tst-rand48-2.c: Likewise.
31651         * stdlib/tst-rand48.c: Likewise.
31652         * stdlib/tst-random2.c: Likewise.
31653         * stdlib/tst-random.c: Likewise.
31654         * stdlib/tst-strtol.c: Likewise.
31655         * stdlib/tst-strtoll.c: Likewise.
31656         * stdlib/tst-tls-atexit.c: Likewise.
31657         * stdlib/tst-xpg-basename.c: Likewise.
31658         * string/test-ffs.c: Likewise.
31659         * string/tst-bswap.c: Likewise.
31660         * string/tst-inlcall.c: Likewise.
31661         * string/tst-strtok.c: Likewise.
31662         * string/tst-strxfrm.c: Likewise.
31663         * sysdeps/x86_64/tst-audit10.c: Likewise.
31664         * sysdeps/x86_64/tst-audit3.c: Likewise.
31665         * sysdeps/x86_64/tst-audit4.c: Likewise.
31666         * sysdeps/x86_64/tst-audit5.c: Likewise.
31667         * time/tst-ftime_l.c: Likewise.
31668         * time/tst-getdate.c: Likewise.
31669         * time/tst-mktime3.c: Likewise.
31670         * time/tst-mktime.c: Likewise.
31671         * time/tst-posixtz.c: Likewise.
31672         * time/tst-strptime2.c: Likewise.
31673         * time/tst-strptime3.c: Likewise.
31674         * wcsmbs/tst-btowc.c: Likewise.
31675         * wcsmbs/tst-mbrtowc.c: Likewise.
31676         * wcsmbs/tst-mbsrtowcs.c: Likewise.
31677         * wcsmbs/tst-wchar-h.c: Likewise.
31678         * wcsmbs/tst-wcpncpy.c: Likewise.
31679         * wcsmbs/tst-wcrtomb.c: Likewise.
31680         * wcsmbs/tst-wcsnlen.c: Likewise.
31681         * wcsmbs/tst-wcstof.c: Likewise.
31683 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
31685         [BZ #14132]
31686         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
31687         INTDEF.
31688         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
31689         declaration.
31690         (_dl_mcount): Use rtld_hidden_proto.
31691         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
31692         _dl_mcount.
31693         * elf/rtld.c (_rtld_global_ro): Likewise.
31695         [BZ #14132]
31696         * elf/dl-init.c (_dl_init): Don't use INTDEF.
31697         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
31698         of _dl_init_internal.
31699         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
31700         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
31701         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
31702         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
31703         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
31704         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
31705         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
31706         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
31707         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
31708         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
31709         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
31710         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
31711         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
31712         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
31713         * sysdeps/tile/dl-start.S (_start): Likewise.
31714         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
31715         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
31717         [BZ #14132]
31718         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
31719         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
31720         (rtld_progname): Make macro definition unconditional.
31721         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
31722         INTDEF.
31723         (dlmopen_doit): Do not use INTUSE with _dl_argv.
31724         (dl_main): Likewise.
31725         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
31726         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
31727         instead of _dl_argv_internal.
31728         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
31729         __GI__dl_argv instead of INTUSE(_dl_argv).
31730         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
31731         __GI__dl_argv instead of _dl_argv_internal.
31733         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
31734         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
31735         macro.
31736         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
31737         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
31738         New macro.
31739         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
31740         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
31741         macro.
31742         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
31743         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
31745 2014-11-04  Andreas Schwab  <schwab@suse.de>
31747         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
31749 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31751         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
31752         mtvsrd instruction in binary form.
31754 2014-11-03  Andreas Schwab  <schwab@suse.de>
31756         [BZ #17522]
31757         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
31758         for less than MB_LEN_MAX use a local buffer of that size.
31759         * libio/tst-fputws.c: New file.
31760         * libio/Makefile (tests): Add tst-fputws.
31762 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
31764         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
31765         the size of the fpu_fr.fpu_dregs[] array.
31767 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
31769         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
31770         (__nanosleep): Do not define as alias.
31771         (nanosleep): Define as alias of __nanosleep.
31772         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
31773         __libc_nanosleep name.
31775 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
31777         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
31778         install.texi in comment.
31780 2014-10-31  Torvald Riegel  <triegel@redhat.com>
31782         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
31783         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
31784         ... add here and use lwsync or sync ...
31785         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
31786         ... and add here using lwsync.
31788 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
31790         * elf/dl-machine-reject-phdr.h: New file.
31791         * elf/dl-load.c: #include that.
31792         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
31793         if that returned true.
31795 2014-10-31  Roland McGrath  <roland@hack.frob.com>
31797         [BZ #17496]
31798         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
31799         gen-as-const-headers chunk.  Add a big scare comment after the last
31800         safe place to touch before-compile.
31802 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
31804         * manual/install.texi (Tools for Compilation): Update autoconf
31805         version requirements.
31806         * INSTALL: Regenerated.
31808         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
31809         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
31810         (__libc_pselect): Likewise.
31812         [BZ #14138]
31813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
31814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31818 2014-10-31  Torvald Riegel  <triegel@redhat.com>
31820         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
31821         correct barrier instruction.
31822         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
31823         Likewise.
31824         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
31825         Likewise.
31827 2014-10-30  Roland McGrath  <roland@hack.frob.com>
31829         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
31830         after defining inlines.  Instead, just use parens to defeat macro
31831         expansion of __isctype in its declaration.
31833 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
31835         * include/sys/uio.h (__libc_readv): Remove declaration.
31836         (__libc_writev): Likewise.
31837         * misc/readv.c (__libc_readv): Rename to __readv.
31838         (__readv): Do not define as alias.
31839         (readv): Define as alias of __readv.
31840         * misc/writev.c (__libc_writev): Rename to __writev.
31841         (__writev): Do not define as alias.
31842         (writev): Define as alias of __writev.
31843         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
31844         (__readv): Do not define as alias.
31845         (readv): Define unconditionally as alias of __readv.
31846         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
31847         (__writev): Do not define as alias.
31848         (writev): Define unconditionally as alias of __writev.
31849         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
31850         name.
31851         (writev): Do not define __libc_writev name.
31853 2014-10-30  Roland McGrath  <roland@hack.frob.com>
31855         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
31856         (convert_charseq): New function, broken out of ...
31857         (use_from_charmap): ... here.  Call it.
31858         (use_to_charmap): Use convert_charseq and free instead of duplicating
31859         its code with a variable-length stack struct.
31861 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
31863         * include/fcntl.h (__libc_creat): Remove declaration.
31864         * io/creat.c (__libc_creat): Rename to creat.
31865         (creat): Do not define as alias.
31866         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
31867         of creat instead of __libc_creat.
31868         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
31869         to creat.
31870         (creat): Do not define as alias.
31871         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
31872         __libc_creat.
31873         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
31874         __libc_creat name.
31875         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
31876         Likewise.
31878 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
31880         * manual/llio.texi: Add comments discussing why write() may be
31881         considered MT-unsafe on Linux.
31883 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
31885         * dl-load.c (local_strdup): Remove.
31886         (expand_dynamic_string_token): Use __strdup.
31887         (decompose_rpath): Likewise.
31888         (_dl_map_object): Likewise.
31890 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
31892         [BZ #14132]
31893         * sysdeps/generic/unwind-dw2-fde.c
31894         (__register_frame_info_bases_internal): Do not declare.
31895         (__register_frame_info_table_bases_internal): Likewise.
31896         (__deregister_frame_info_bases_internal): Likewise.
31897         (__register_frame_info_bases): Declare and use hidden_proto before
31898         definition.  Use hidden_def instead of INTDEF.
31899         (__register_frame_info_table_bases): Likewise.
31900         (__deregister_frame_info_bases): Likewise.
31901         (__register_frame_info): Do not use INTUSE.
31902         (__register_frame): Likewise.
31903         (__register_frame_info_table): Likewise.
31904         (__register_frame_table): Likewise.
31905         (__deregister_frame_info): Likewise.
31906         (__deregister_frame): Likewise.
31908 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
31910         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31911         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
31912         not undefine.
31913         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
31914         Likewise.
31915         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
31916         Likewise.
31918 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
31920         [BZ #14138]
31921         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
31922         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
31923         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
31924         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
31925         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
31926         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
31927         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
31928         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
31929         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
31930         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
31931         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
31932         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
31933         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
31934         syscall.
31935         (setfsuid): Likewise.
31936         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
31937         (setfsuid): Likewise.
31938         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
31939         (setfsuid): Likewise.
31940         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
31941         Likewise.
31942         (setfsuid): Likewise.
31943         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
31944         (setfsuid): Likewise.
31945         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
31946         Likewise.
31947         (setfsuid): Likewise.
31949 2014-10-27  Andreas Schwab  <schwab@suse.de>
31951         [BZ #17501]
31952         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
31953         check for Slow_SSE4_2 feature bit.
31954         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
31955         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
31956         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
31957         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
31959 2014-10-24  Roland McGrath  <roland@hack.frob.com>
31961         * configure.ac: Validate compiler version with a empirical test of
31962         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
31963         $CC -v output.
31964         * configure: Regenerated.
31966         * inet/htons.c (htons): Prototypify.
31967         * inet/htonl.c (htonl): Likewise.
31969 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
31971         * string/strncat.c (strncat): Improve performance by using strlen.
31973 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
31975         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
31977 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
31979         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
31980         Call libc_fetestexcept_aarch64.
31982 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
31984         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
31985         Call libc_feholdexcept_aarch64.
31987 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
31989         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
31990         Call get_rounding_mode.
31992 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
31994         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
31995         Simplify logic.
31997 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
31999         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
32000         Simplify logic.
32002 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
32004         [BZ #14138]
32005         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
32006         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
32007         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
32008         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
32009         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
32010         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
32011         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
32012         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
32013         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
32014         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
32015         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
32016         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
32017         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
32018         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
32019         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
32020         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
32021         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
32022         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
32023         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
32024         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
32025         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
32026         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
32027         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
32028         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
32029         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
32030         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
32031         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
32032         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
32033         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
32034         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
32035         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
32036         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
32037         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
32038         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
32039         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
32040         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
32041         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
32042         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
32043         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
32044         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
32045         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
32046         syscall.
32047         (geteuid): Likewise.
32048         (getgid): Likewise.
32049         (getuid): Likewise.
32050         (getresgid): Likewise.
32051         (getresuid): Likewise.
32052         (getgroups): Likewise.
32053         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
32054         (geteuid): Likewise.
32055         (getgid): Likewise.
32056         (getuid): Likewise.
32057         (getresgid): Likewise.
32058         (getresuid): Likewise.
32059         (getgroups): Likewise.
32060         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
32061         (geteuid): Likewise.
32062         (getgid): Likewise.
32063         (getuid): Likewise.
32064         (getresgid): Likewise.
32065         (getresuid): Likewise.
32066         (getgroups): Likewise.
32067         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
32068         Likewise.
32069         (geteuid): Likewise.
32070         (getgid): Likewise.
32071         (getuid): Likewise.
32072         (getresgid): Likewise.
32073         (getresuid): Likewise.
32074         (getgroups): Likewise.
32075         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
32076         (geteuid): Likewise.
32077         (getgid): Likewise.
32078         (getuid): Likewise.
32079         (getresgid): Likewise.
32080         (getresuid): Likewise.
32081         (getgroups): Likewise.
32082         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
32083         Likewise.
32084         (geteuid): Likewise.
32085         (getgid): Likewise.
32086         (getuid): Likewise.
32087         (getgroups): Likewise.
32089         [BZ #14138]
32090         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
32091         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
32092         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
32093         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
32094         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
32095         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
32096         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
32097         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
32098         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
32099         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
32100         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
32101         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
32102         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
32103         __chown.
32104         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
32105         (lchown): Likewise.
32106         (fchown): Likewise.
32107         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
32108         Likewise.
32109         (lchown): Likewise.
32110         (fchown): Likewise.
32111         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
32112         (lchown): Likewise.
32113         (fchown): Likewise.
32114         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
32115         Likewise.
32116         (lchown): Likewise.
32117         (fchown): Likewise.
32119 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
32121         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
32122         Simplify logic.
32124 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
32126         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
32127         Cleanup logic.
32129 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
32131         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
32132         Remove unused include.
32134 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
32136         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
32137         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
32138         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
32139         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
32141 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
32142             Helge Deller <deller@gmx.de>
32144         [BZ #17508]
32145         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
32146         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
32147         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
32149 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
32151         [BZ #14132]
32152         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
32153         Remove macro definition.
32154         (__ashrdi3_v_glibc20): Likewise.
32155         (__lshrdi3_v_glibc20): Likewise.
32156         (__cmpdi2_v_glibc20): Likewise.
32157         (__ucmpdi2_v_glibc20): Likewise.
32158         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
32159         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
32160         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
32161         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
32162         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
32163         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
32165 2014-10-22  Roland McGrath  <roland@hack.frob.com>
32167         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
32168         old GNU extension [0] syntax.
32169         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
32170         alloca rather than an array member with variable length.
32171         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
32172         * nscd/nscd.c (invalidate_db): New function, broken out of ...
32173         (parse_opt): ... here.  Likewise use alloca there.
32174         Validate the -i argument before checking for rootness.
32175         (send_shutdown): New function, broken out of ...
32176         (parse_opt): ... here.
32178 2014-10-22  Roland McGrath  <roland@hack.frob.com>
32180         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
32181         macro to get at the _rt_local_ro field.
32182         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
32183         ([PIC] case) or _dl_hwcap ([!PIC] case).
32184         * sysdeps/arm/setjmp.S: Likewise.
32186         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
32187         * sysdeps/arm/configure.ac: New check to define it.
32188         * sysdeps/arm/configure: Regenerated.
32189         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
32190         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
32191         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
32192         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
32193         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
32194         Use move/movt pair instead of a load.
32195         (LDST_GLOBAL): Macro removed.
32196         (LDR_GLOBAL): New macro replaces it.
32197         (LDR_HIDDEN): New macro.
32198         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
32199         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
32201         * setjmp/tst-setjmp-static.c: New file.
32202         * setjmp/Makefile (tests): Add it.
32203         (tests-static): New variable.
32205 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
32207         [BZ #17485]
32208         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
32210 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
32212         [BZ #14132]
32213         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
32215 2014-10-21  Roland McGrath  <roland@hack.frob.com>
32217         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
32219 2014-10-20  Roland McGrath  <roland@hack.frob.com>
32221         * io/fts.c (dirent_not_directory): New function.
32222         (fts_build): Call it.
32224 2014-10-20  Roland McGrath  <roland@hack.frob.com>
32226         * nptl/version.c (__nptl_main): Use normal __write rather than
32227         INTERNAL_SYSCALL.
32228         (banner): Update copyright years.
32230         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
32231         gettimeofday.
32232         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
32233         * nptl/pthread_cond_timedwait.c: Likewise.
32234         * nptl/pthread_mutex_timedlock.c: Likewise.
32235         * nptl/sem_timedwait.c: Likewise.
32237         * sysdeps/nptl/bits/libc-lock.h
32238         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
32239         (__libc_lock_init_recursive): Return void, not 0.
32240         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
32241         (__libc_rwlock_init): Likewise.
32242         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
32244 2014-10-20  Torvald Riegel  <triegel@redhat.com>
32246         [BZ #15215]
32247         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
32248         (__pthread_once_slow): ... here.
32249         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
32250         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
32252 2014-10-20  Torvald Riegel  <triegel@redhat.com>
32254         [BZ #15215]
32255         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
32256         __PTHREAD_ONCE_FORK_GEN_INCR): New.
32257         * sysdeps/nptl/fork.c (__libc_fork): Use them.
32258         * nptl/pthread_once.c (__pthread_once): Likewise.
32259         Update comments.
32261 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
32263         [BZ #14138]
32264         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
32265         name.
32266         (writev): Use __libc_writev as strong name.
32267         * sysdeps/unix/sysv/linux/readv.c: Remove file.
32268         * sysdeps/unix/sysv/linux/writev.c: Likewise.
32270 2014-10-17  Roland McGrath  <roland@hack.frob.com>
32272         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
32274         * sysdeps/i386/nptl/tls.h
32275         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
32276         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
32277         New macros.
32278         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
32279         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
32280         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
32281         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
32282         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
32283         Call CHECK_THREAD_SYSINFO instead of doing an assert.
32285         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
32286         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
32287         on [__NR_futex].
32288         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
32289         broken out of ...
32290         (__pthread_mutex_init): ... here.  Call it.
32291         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
32292         Conditionalize PI cases on [__NR_futex].
32293         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
32294         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
32295         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
32297         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
32298         conditional on [SIGSETXID].
32299         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
32300         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
32301         is defined.  Likewise for SIGSETXID.
32302         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
32303         Conditionalize definitions on [SIGSETXID].
32304         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
32305         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
32306         unblocking on [SIGCANCEL].
32308         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
32309         [__NR_set_robust_list].
32311 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
32313         * string/strcoll_l.c (get_next_seq): Fix up formatting.
32314         (do_compare): Likewise.
32316 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
32318         [BZ #15884]
32319         * string/strcoll_l.c: Don't include stdio.h.
32320         (coll_seq): Remove members idxarr and rulearr.
32321         (get_next_seq_cached): Remove function.
32322         (get_next_seq): Likewise.
32323         (get_next_seq_nocache): Rename to get_next_seq.
32324         (do_compare): Remove function.
32325         (do_compare_nocache): Rename to do_compare.
32326         (STRCOLL): Remove weight and rules cache.
32328 2014-10-16  Roland McGrath  <roland@hack.frob.com>
32330         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
32331         * sysdeps/arm/sfp-machine.h: ... to here.
32332         * sysdeps/arm/Implies: Remove arm/soft-fp.
32334 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
32336         * conform/data/sys/utsname.h-data (*_t): Allow.
32337         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
32338         [POSIX] (WEXITED): Do not expect constant.
32339         [POSIX] (WSTOPPED): Likewise.
32340         [POSIX] (WNOHANG): Likewise.
32341         [POSIX] (WNOWAIT): Likewise.
32342         [POSIX] (siginfo_t): Do not expect type or elements.
32343         [POSIX] (pid_t): Do not expect type.
32344         [POSIX] (signal.h): Do not allow header.
32345         [POSIX] (sys/resource.h): Likewise.
32346         [POSIX] (si_*): Do not allow pattern.
32347         [POSIX] (W*): Likewise.
32348         [POSIX] (P_*): Likewise.
32349         [POSIX] (BUS_*): Likewise.
32350         [POSIX] (CLD_*): Likewise.
32351         [POSIX] (FPE_*): Likewise.
32352         [POSIX] (ILL_*): Likewise.
32353         [POSIX] (POLL_*): Likewise.
32354         [POSIX] (SEGV_*): Likewise.
32355         [POSIX] (SI_*): Likewise.
32356         [POSIX] (TRAP_*): Likewise.
32357         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
32358         variable.
32360 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
32362         [BZ #12926]
32363         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
32364         infinite loop when __recvmsg returns 0.
32366 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
32368         * CANCEL-FCT-WAIVE: Remove file.
32369         * CANCEL-FILE-WAIVE: Likewise.
32371         [BZ #14132]
32372         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
32373         instead of INTVARDEF.
32374         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
32375         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
32376         rtld_hidden_data_def instead of INTVARDEF.
32377         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
32378         * elf/dl-deps.c (expand_dst): Likewise.
32379         * elf/dl-load.c (_dl_dst_count): Likewise.
32380         (_dl_dst_substitute): Likewise.
32381         (decompose_rpath): Likewise.
32382         (_dl_init_paths): Likewise.
32383         (open_path): Likewise.
32384         (_dl_map_object): Likewise.
32385         * elf/rtld.c (dl_main): Likewise.
32386         (process_dl_audit): Likewise.
32387         (process_envvars): Likewise.
32388         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
32389         Remove declaration.
32390         (__libc_enable_secure): Use rtld_hidden_proto.
32392 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32394         * elf/dl-load.c
32395         (add_path): New function broken out of _dl_rtld_di_serinfo.
32396         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
32398 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
32400         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
32401         parentheses around macro arguments.
32402         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
32403         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
32404         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
32405         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
32406         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
32407         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
32408         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
32409         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
32410         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
32411         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
32412         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
32413         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
32414         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
32415         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
32416         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
32417         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
32418         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
32419         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
32420         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
32421         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
32422         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
32423         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
32424         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
32425         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
32426         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
32427         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
32428         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
32429         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
32430         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
32431         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
32432         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
32433         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
32434         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
32435         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
32436         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
32437         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
32438         Likewise.
32439         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
32440         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
32441         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
32442         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
32443         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
32444         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
32445         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
32446         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
32447         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
32448         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
32449         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
32450         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
32451         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
32452         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
32453         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
32454         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
32455         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
32456         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
32457         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
32458         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
32459         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
32460         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
32461         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
32462         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
32463         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
32464         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
32465         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
32466         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
32467         (_FP_FRAC_SRS_1): Likewise.
32468         (_FP_FRAC_CLZ_1): Likewise.
32469         (_FP_MUL_MEAT_1_imm): Likewise.
32470         (_FP_MUL_MEAT_1_wide): Likewise.
32471         (_FP_MUL_MEAT_1_hard): Likewise.
32472         (_FP_SQRT_MEAT_1): Likewise.
32473         (_FP_FRAC_ASSEMBLE_1): Likewise.
32474         (_FP_FRAC_DISASSEMBLE_1): Likewise.
32475         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
32476         (__FP_CLZ_2): Likewise.
32477         (_FP_MUL_MEAT_2_wide): Likewise.
32478         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
32479         (_FP_MUL_MEAT_2_gmp): Likewise.
32480         (_FP_MUL_MEAT_2_120_240_double): Likewise.
32481         (_FP_SQRT_MEAT_2): Likewise.
32482         (_FP_FRAC_ASSEMBLE_2): Likewise.
32483         (_FP_FRAC_DISASSEMBLE_2): Likewise.
32484         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
32485         (_FP_FRAC_CLZ_4): Likewise.
32486         (_FP_MUL_MEAT_4_wide): Likewise.
32487         (_FP_MUL_MEAT_4_gmp): Likewise.
32488         (_FP_SQRT_MEAT_4): Likewise.
32489         (_FP_FRAC_ASSEMBLE_4): Likewise.
32490         (_FP_FRAC_DISASSEMBLE_4): Likewise.
32491         * soft-fp/op-common.h (_FP_CMP): Likewise.
32492         (_FP_CMP_EQ): Likewise.
32493         (_FP_CMP_UNORD): Likewise.
32494         (_FP_TO_INT): Likewise.
32495         (_FP_FROM_INT): Likewise.
32496         [!__FP_CLZ] (__FP_CLZ): Likewise.
32497         (_FP_DIV_HELP_imm): Likewise.
32498         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
32499         Likewise.
32500         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
32501         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
32502         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
32503         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
32504         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
32505         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
32506         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
32507         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
32508         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
32509         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
32510         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
32511         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
32512         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
32513         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
32514         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
32515         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
32516         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
32517         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
32518         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
32519         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
32520         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
32521         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
32522         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
32523         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
32524         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
32525         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
32526         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
32527         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
32528         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
32529         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
32530         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
32531         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
32532         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
32533         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
32534         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
32535         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
32536         (FP_UNPACK_RAW_SP): Likewise.
32537         (FP_PACK_RAW_S): Likewise.
32538         (FP_PACK_RAW_SP): Likewise.
32539         (FP_UNPACK_S): Likewise.
32540         (FP_UNPACK_SP): Likewise.
32541         (FP_UNPACK_SEMIRAW_S): Likewise.
32542         (FP_UNPACK_SEMIRAW_SP): Likewise.
32543         (FP_PACK_S): Likewise.
32544         (FP_PACK_SP): Likewise.
32545         (FP_PACK_SEMIRAW_S): Likewise.
32546         (FP_PACK_SEMIRAW_SP): Likewise.
32547         (_FP_SQRT_MEAT_S): Likewise.
32548         (FP_CMP_S): Likewise.
32549         (FP_CMP_EQ_S): Likewise.
32550         (FP_CMP_UNORD_S): Likewise.
32551         (FP_TO_INT_S): Likewise.
32552         (FP_FROM_INT_S): Likewise.
32554         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
32556         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
32557         (FP_EX_INVALID_IMZ): Likewise.
32558         (FP_EX_INVALID_IMZ_FMA): Likewise.
32559         (FP_EX_INVALID_ISI): Likewise.
32560         (FP_EX_INVALID_ZDZ): Likewise.
32561         (FP_EX_INVALID_IDI): Likewise.
32562         (FP_EX_INVALID_SQRT): Likewise.
32563         (FP_EX_INVALID_CVI): Likewise.
32564         (FP_EX_INVALID_VC): Likewise.
32565         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
32566         "invalid" exceptions.
32567         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
32568         (_FP_ADD_INTERNAL): Likewise.
32569         (_FP_MUL): Likewise.
32570         (_FP_FMA): Likewise.
32571         (_FP_DIV): Likewise.
32572         (_FP_CMP_CHECK_NAN): Likewise.
32573         (_FP_SQRT): Likewise.
32574         (_FP_TO_INT): Likewise.
32575         (FP_EXTEND): Likewise.
32577 2014-10-09  Allan McRae  <allan@archlinux.org>
32579         * po/fr.po: Update French translation from translation project.
32581 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
32583         [BZ #14132]
32584         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
32585         of INTDEF.
32586         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
32587         (__cxa_atexit): Use libc_hidden_proto.
32588         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
32590         [BZ #14132]
32591         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
32592         declaration.
32593         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
32594         [!_ISOMAC] (__iswspace_l_internal): Likewise.
32595         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
32596         [!_ISOMAC] (__iswctype_internal): Likewise.
32597         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
32598         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
32599         alias.
32600         (fcntl): Remove __fcntl_internal alias.
32601         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
32602         __connect_internal alias.
32603         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
32604         Likewise.
32606         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
32607         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
32608         FP_DENORM_ZERO.
32609         (_FP_CHECK_FLUSH_ZERO): New macro.
32610         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
32611         (_FP_CMP): Likewise.
32612         (_FP_CMP_EQ): Likewise.
32613         (_FP_TO_INT): Do not set inexact for subnormal arguments if
32614         FP_DENORM_ZERO.
32615         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
32616         (FP_TRUNC): Likewise.
32618         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
32619         treated as invalid conversion, not as normal exponent.
32621         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
32622         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
32623         (_FP_CMP_EQ): Likewise.
32624         (_FP_CMP_UNORD): Likewise.
32625         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
32626         (FP_CMP_EQ_D): Likewise.
32627         (FP_CMP_UNORD_D): Likewise.
32628         * soft-fp/extended.h (FP_CMP_E): Likewise.
32629         (FP_CMP_EQ_E): Likewise.
32630         (FP_CMP_UNORD_E): Likewise.
32631         * soft-fp/quad.h (FP_CMP_Q): Likewise.
32632         (FP_CMP_EQ_Q): Likewise.
32633         (FP_CMP_UNORD_Q): Likewise.
32634         * soft-fp/single.h (FP_CMP_S): Likewise.
32635         (FP_CMP_EQ_S): Likewise.
32636         (FP_CMP_UNORD_S): Likewise.
32637         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
32638         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
32639         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
32640         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
32641         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
32642         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
32643         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
32644         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
32645         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
32646         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
32647         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
32648         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
32649         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
32650         to FP_CMP_Q.
32651         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
32652         FP_CMP_Q.
32653         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
32654         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
32655         FP_CMP_EQ_Q.
32656         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
32657         FP_CMP_Q.
32658         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
32659         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
32660         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
32661         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
32662         FP_CMP_EQ_Q.
32663         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
32664         FP_CMP_Q.
32665         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
32666         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
32667         FP_CMP_EQ_Q.
32668         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
32669         FP_CMP_Q.
32670         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
32671         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
32672         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
32673         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
32674         FP_CMP_EQ_Q.
32676         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
32677         a subnormal result, set the underflow exception if trapping on
32678         underflow is enabled.
32679         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
32680         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
32681         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
32682         redefine to 0.
32683         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
32684         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
32685         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
32686         * soft-fp/extendxftf2.c (__extendxftf2): Use
32687         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
32689         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
32690         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
32691         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
32692         FP_HANDLE_EXCEPTIONS.
32693         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
32694         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
32695         FP_HANDLE_EXCEPTIONS.
32696         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
32697         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
32698         FP_HANDLE_EXCEPTIONS.
32699         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
32700         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
32701         FP_HANDLE_EXCEPTIONS.
32703 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
32705         [BZ #14132]
32706         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
32707         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
32708         use INTUSE.
32709         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
32710         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
32711         Remove alias.
32712         (__adjtimex): Define using libc_hidden_ver.
32713         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
32714         Remove declaration.
32715         (ntp_gettime): Call __adjtimex directly.
32716         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
32717         Remove declaration.
32718         (ntp_gettimex): Call __adjtimex directly.
32719         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
32720         __adjtimex_internal alias.
32722 2014-10-08  Roland McGrath  <roland@hack.frob.com>
32724         [BZ #17460]
32725         * nscd/nscd.c (more_help): Rewrite list of tables collection
32726         using xstrdup and asprintf.
32728         * nscd/nscd_conf.c: Remove local xstrdup declaration.
32730 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32731             Roland McGrath  <roland@hack.frob.com>
32733         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
32734         (do_lookup_unique): ... local function 'enter' here; update callers.
32736 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
32738         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
32739         compat_symbol calls on [SHARED].
32740         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
32741         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
32742         Remove.
32743         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
32744         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
32745         (oldsetrlimit): Remove.
32746         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
32747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
32748         (lchown): New syscall entry.
32749         (oldsetrlimit): Remove.
32750         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
32751         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
32752         (oldsetrlimit): Remove.
32753         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
32755         [BZ #14138]
32756         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
32757         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
32758         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
32759         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
32760         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
32761         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
32762         (fchown): Likewise.
32763         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
32764         (fchown): Likewise.
32765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
32766         Likewise.
32768 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32770         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
32771         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
32772         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
32773         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
32774         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
32775         Likewise.
32776         (__old_sem_post): Likewise.
32778 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
32780         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
32781         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
32782         HAVE_CLOCK_GETTIME_VSYSCALL macros.
32783         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
32784         Use INLINE_VSYSCALL macro.
32785         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
32786         __vdso_clock_gettime.
32787         * sysdeps/unix/sysv/linux/tile/init-first.c
32788         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
32789         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
32790         __vdso_clock_gettime.
32792         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
32793         to set up frame more cleanly.
32795         * sysdeps/tile/memcmp.c: New file.
32797         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
32799         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
32800         * sysdeps/tile/tilegx/strcasestr.c: New file.
32801         * sysdeps/tile/tilegx/strnlen.c: New file.
32802         * sysdeps/tile/tilegx/strstr.c: New file.
32804         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
32806 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
32808         * nptl/tst-setuid3.c: Write errors to stdout.
32810 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32812         * elf/dl-deps.c
32813         (preload): New functions broken out of _dl_map_object_deps.
32814         (_dl_map_object_deps):  Remove a nested function. Update call sites.
32816 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
32818         [BZ #14138]
32819         * sysdeps/unix/sysv/linux/execve.c: Remove file.
32820         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
32822 2014-10-01  Steve Ellcey  <sellcey@mips.com>
32824         * sysdeps/mips/strcmp.S: New.
32826 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
32828         [BZ #14138]
32829         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
32830         (linkat): Likewise.
32831         (mkdirat): Likewise.
32832         (readlinkat): Likewise.
32833         (renameat): Likewise.
32834         (symlinkat): Likewise.
32835         (unlinkat): Likewise.
32836         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
32837         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
32838         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
32839         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
32840         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
32841         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
32842         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
32844 2014-09-30  Will Newton  <will.newton@linaro.org>
32846         * math/math.h: Define long double math functions if
32847         _LIBC_TEST is defined.
32848         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
32850         * localedata/Makefile: Move assignment to tests-special
32851         into an ifdef testing run-built-tests.
32852         * timezone/Makefile: Likewise.
32854 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
32856         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
32857         with $(BASH) not $(SHELL).
32859 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
32860             Matthew LeGendre  <legendre1@llnl.gov>
32862         [BZ #17411]
32863         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
32864         l_reloc_result.
32866 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32868         * stdio-common/printf_fp.c
32869         (hack_digit): New function, broken out of ...
32870         (__printf_fp): ... local function here.  Update call sites.
32871         hack_digit now takes an additional parameter that is a pointer
32872         to a struct of the referenced locals.  Those locals moved inside
32873         the struct and references updated.
32875 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
32877         * aclocal.m4: Require autoconf 2.69.
32878         * configure: Regenerated.
32879         * sysdeps/aarch64/configure: Likewise.
32880         * sysdeps/alpha/configure: Likewise.
32881         * sysdeps/arm/armv7/configure: Likewise.
32882         * sysdeps/arm/configure: Likewise.
32883         * sysdeps/ia64/configure: Likewise.
32884         * sysdeps/mach/configure: Likewise.
32885         * sysdeps/mips/configure: Likewise.
32886         * sysdeps/s390/configure: Likewise.
32887         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
32888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
32890         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
32891         file.
32892         * sysdeps/ia64/configure.ac: Likewise.
32894 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
32896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
32897         specify symbol version for ld.so.  Do not include entry for
32898         libpthread.
32899         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
32900         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
32901         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
32903         [BZ #14171]
32904         * Makeconfig [$(build-shared) = yes]
32905         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
32906         makefiles.
32907         [$(build-shared) = yes && $(soversions.mk-done) = t]
32908         ($(common-objpfx)gnu/lib-names.h): Remove rule.
32909         [$(build-shared) = yes && $(soversions.mk-done) = t]
32910         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
32911         to Makerules.
32912         [$(build-shared) = yes && $(soversions.mk-done) = t]
32913         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
32914         here.
32915         [$(build-shared) = yes && $(soversions.mk-done) = t]
32916         (common-generated): Don't append gnu/lib-names.h and
32917         gnu/lib-names.stmp here.
32918         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
32919         (lib-names-h-abi): New variable.
32920         [$(build-shared) = yes && $(soversions.mk-done) = t]
32921         (lib-names-stmp-abi): Likewise.
32922         [$(build-shared) = yes && $(soversions.mk-done) = t &&
32923         abi-variants] (before-compile): Append
32924         $(common-objpfx)$(lib-names-h-abi).
32925         [$(build-shared) = yes && $(soversions.mk-done) = t &&
32926         abi-variants] (common-generated): Append gnu/lib-names.h.
32927         [$(build-shared) = yes && $(soversions.mk-done) = t &&
32928         abi-variants] (install-others-nosubdir): Depend on
32929         $(inst_includedir)/$(lib-names-h-abi).
32930         [$(build-shared) = yes && $(soversions.mk-done) = t &&
32931         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
32932         [$(build-shared) = yes && $(soversions.mk-done) = t]
32933         ($(common-objpfx)$(lib-names-h-abi)): New rule.
32934         [$(build-shared) = yes && $(soversions.mk-done) = t]
32935         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
32936         [$(build-shared) = yes && $(soversions.mk-done) = t]
32937         (common-generated): Append $(lib-names-h-abi) and
32938         $(lib-names-stmp-abi).
32939         * scripts/lib-names.awk: Do not handle multi being set.
32940         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
32941         Remove variable.
32942         (abi-lp64_be-ld-soname): Likewise.
32943         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
32944         Likewise.
32945         (abi-hard-ld-soname): Likewise.
32946         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
32947         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
32948         Remove variable.
32949         (abi-o32_hard-ld-soname): Likewise.
32950         (abi-o32_soft_2008-ld-soname): Likewise.
32951         (abi-o32_hard_2008-ld-soname): Likewise.
32952         (abi-n32_soft-ld-soname): Likewise.
32953         (abi-n32_hard-ld-soname): Likewise.
32954         (abi-n32_soft_2008-ld-soname): Likewise.
32955         (abi-n32_hard_2008-ld-soname): Likewise.
32956         (abi-n64_soft-ld-soname): Likewise.
32957         (abi-n64_hard-ld-soname): Likewise.
32958         (abi-n64_soft_2008-ld-soname): Likewise.
32959         (abi-n64_hard_2008-ld-soname): Likewise.
32960         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
32961         Likewise.
32962         (abi-64-v2-ld-soname): Likewise.
32963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
32964         ld.so entries.
32965         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
32966         variable.
32967         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
32968         entry.
32969         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
32970         variable.
32971         (abi-64-ld-soname): Likewise.
32972         (abi-x32-ld-soname): Likewise.
32973         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
32974         entry.
32975         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
32977 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
32979         [BZ #14138]
32980         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
32981         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
32982         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
32983         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
32984         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
32985         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
32986         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
32987         syscall entry for GLIBC_2.2 symbol version.
32988         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
32989         Likewise.
32990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
32991         (setrlimit): Likewise.
32992         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
32993         Likewise.
32995 2014-09-23  Will Newton  <will.newton@linaro.org>
32997         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
32998         _LINUX_ARM_SYSDEP_H include guard too.
32999         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
33000         define.
33002 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
33004         * sysdeps/unix/sysv/linux/eventfd.c:
33005         Make first argument unsigned.
33006         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
33007         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
33009 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
33011         [BZ #16852]
33012         * socket/recvmmsg.c (recvmmsg): Drop const argument.
33013         * socket/sys/socket.h: Likewise.
33014         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
33016 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33018         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
33020 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
33022         * time/tst-ftime.c: New test.
33023         * time/Makefile (tests): Add tst-ftime.
33025 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
33027         * soft-fp/extended.h: Fix comment formatting.
33028         * soft-fp/op-1.h: Likewise.
33029         * soft-fp/op-2.h: Likewise.
33030         * soft-fp/op-4.h: Likewise.
33031         * soft-fp/op-8.h: Likewise.
33032         * soft-fp/op-common.h: Likewise.
33033         * soft-fp/soft-fp.h: Likewise.
33035         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
33037 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
33039         [BZ #6652]
33040         * Makeconfig (soversions-default-setname): Remove variable.
33041         ($(common-objpfx)soversions.i): Don't pass default_setname to
33042         soversions.awk.
33043         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
33044         oldest_abi to abi-versions.awk.
33045         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
33046         * config.make.in (oldest-abi): Remove variable.
33047         * configure.ac (--enable-oldest-abi): Remove configure option.
33048         * configure: Regenerated.
33049         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
33050         text.
33051         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
33052         * scripts/soversions.awk: Do not handle default_setname variable.
33053         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
33054         variable.
33055         * sysdeps/mach/hurd/configure: Regenerated.
33056         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
33057         variable.
33058         * sysdeps/unix/sysv/linux/configure: Regenerated.
33060 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33062         * elf/Makefile (CFLAGS-interp.c): Remove.
33063         ($(elf-objpfx)runtime-linker.h): Generate header with linker
33064         path string.
33065         * elf/interp.c: Include generated runtime-linker.h
33067         * Makerules (lib%.so): Don't include $(+interp) in
33068         prerequisites.
33069         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
33070         * dlfcn/eval.c: Remove file.
33072         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
33073         macros.
33075         [BZ #17266]
33076         * misc/sys/cdefs.h: Define __extern_always_inline for clang
33077         4.2 and newer.
33079         [BZ #17370]
33080         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
33082 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33083             Jakub Jelinek  <jakub@redhat.com>
33085         [BZ #17266]
33086         * libio/stdio.h: Check definition of __fortify_function
33087         instead of __extern_always_inline to include bits/stdio2.h.
33088         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
33089         check if __extern_always_inline is defined.
33090         [__USE_MISC || __USE_XOPEN]: Likewise.
33091         [__USE_ISOC99] Likewise.
33092         * misc/sys/cdefs.h (__fortify_function): Define only if
33093         __extern_always_inline is defined.
33094         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
33095         __extern_always_inline and __extern_inline only for g++-4.3
33096         and newer or a compatible gcc.
33098 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
33100         [BZ #17371]
33101         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
33102         last change to handle zero prefix length.
33104 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33106         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
33107         _SC_REGEX_VERSION.
33109         * posix/getconf.c (vars): Add _POSIX_IPV6 and
33110         _POSIX_RAW_SOCKETS.
33112 2014-09-13  Allan McRae  <allan@archlinux.org>
33114         * po/ru.po: Update Russian translation from translation project.
33116 2014-09-12  Roland McGrath  <roland@hack.frob.com>
33118         * locale/programs/locale.c (show_locale_vars): Inline local function
33119         into its sole call site.  Clean up some style nits.
33120         (print_item): New function, broken out of ...
33121         (show_info): ... local function here.  Clean up style nits.
33123         * locale/programs/ld-ctype.c (set_one_default): New function, broken
33124         out of ...
33125         (set_class_defaults): ... local function set_default here.
33126         Define set_default as a macro locally to pass constant parameters.
33127         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
33128         rather than a shared local.
33130         * stdlib/rpmatch.c (try): New function, broken out of ...
33131         (rpmatch): ... local function here.  Also, prototypify definition.
33133 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
33135         * scripts/soversions.awk: Do not handle configuration names.
33136         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
33137         vendor and os variables to soversions.awk.
33138         * configure.ac: Do not modify gnu-* host_os.
33139         * configure: Regenerated
33140         * shlib-versions: Remove first column with configuration names.
33141         * nptl/shlib-versions: Likewise.
33142         * nptl_db/shlib-versions: Likewise.
33143         * sysdeps/hppa/shlib-versions: Likewise.
33144         * sysdeps/m68k/shlib-versions: Likewise.
33145         * sysdeps/mach/hurd/shlib-versions: Likewise.
33146         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
33147         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
33148         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
33149         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
33150         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
33151         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
33152         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
33153         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
33154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
33155         Likewise.
33156         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
33157         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
33158         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
33159         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
33160         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
33161         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
33162         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
33163         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
33165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
33166         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
33167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
33168         Regenerated.
33169         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
33170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
33171         Condition symbol version definitions on [HAVE_ELFV2_ABI].
33173         * shlib-versions: Remove OS-specific entries.  Moved to files in
33174         sysdeps.
33175         * sysdeps/mach/hurd/shlib-versions: New file.
33176         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
33178         * nptl/shlib-versions: Remove architecture-specific entries.
33179         Moved to files in sysdeps.
33180         * shlib-versions: Likewise.
33181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
33182         file.
33183         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
33184         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
33185         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
33186         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
33188         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
33189         (UDP_NO_CHECK6_RX): Likewise.
33191 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33193         * sysdeps/posix/sysconf.c (__sysconf): Spell
33194         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
33196 2014-08-12  Florian Weimer  <fweimer@redhat.com>
33198         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
33199         loading.
33200         * iconv/Versions (__gconv_transliterate): Export for use from
33201         gconv modules.
33202         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
33203         (struct __gconv_trans_data, __gconv_trans_fct,
33204         __gconv_trans_context_fct, __gconv_trans_query_fct,
33205         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
33206         definitions.
33207         (struct __gconv_step_data): Remove __trans member.
33208         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
33209         longer hidden.  Remove unused trans_data argument.
33210         * iconv/gconv_int.h (struct trans_struct): Remove definition.
33211         (__gconv_translit_find): Remove declaration.
33212         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
33213         prototype.
33214         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
33215         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
33216         trans_data argument.  Add hidden definition.
33217         (__gconv_translit_find): Remove.
33218         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
33219         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
33220         * iconv/skeleton.c: Remove transliteration initialization.
33221         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
33222         __gconv_step_data initialization.
33223         * libio/iofwide.c (__libio_translit_): Remove.
33224         (_IO_fwide): Adjust struct __gconv_step_data initialization.
33225         * wcsmbs/btowc.c (__btowc): Likewise.
33226         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
33227         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
33228         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
33229         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
33230         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
33231         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
33232         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
33233         * wcsmbs/wctob.c (wctob): Likewise.
33235 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33237         [BZ #16194]
33238         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
33239         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
33240         register usage.
33241         * sysdeps/x86/Makefile: Adjust.
33243 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
33244             Roland McGrath  <roland@hack.frob.com>
33246         * locale/weight.h: Add include guard.
33247         (findidx): Make static rather than auto; take new parameters
33248         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
33249         * locale/weightwc.h: Likewise.
33250         * posix/fnmatch_loop.c
33251         (FCT): Change type of EXTRA from int32_t to wint_t.
33252         Don't include either header inside the function.
33253         Call FINDIDX rather than findidx, and pass new arguments.
33254         #undef FINDIDX at the end of the file.
33255         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
33256         FINDIDX before including fnmatch_loop.c for the non-wide version.
33257         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
33258         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
33259         for the wide version.
33260         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
33261         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
33262         Pass new arguments to findidx.
33263         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
33264         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
33265         Don't #include it inside the function.  Pass new arguments to findidx.
33266         * posix/regex_internal.h
33267         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
33268         (re_string_elem_size_at): Don't #include it inside the function.
33269         Pass new arguments to findidx.
33270         * string/strcoll_l.c: #include WEIGHT_H at top level.
33271         (get_next_seq): Don't #include it inside the function.
33272         Pass new arguments to findidx.
33273         (get_next_seq_nocache): Likewise.
33274         * string/strxfrm_l.c: #include WEIGHT_H at top level.
33275         (STRXFRM): Don't #include it inside the function.
33276         Pass new arguments to findidx.
33278 2014-09-11  Florian Weimer  <fweimer@redhat.com>
33280         [BZ #17344]
33281         * malloc/malloc.c (unlink): Turn asserts into a call to
33282         malloc_printerr.
33284 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
33286         [BZ #17370]
33287         * libio/wfileops (do_ftell_wide): Free OUT.
33289 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
33291         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
33293 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33295         [BZ #17363]
33296         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
33297         group if the current group is empty.
33299 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33301         * benchtests/bench-memset.c (test_main): Add more test from size
33302         from 32 to 512 bytes.
33303         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33304         Add POWER8 memset object.
33305         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33306         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
33307         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
33308         implementation.
33309         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
33310         Likewise.
33311         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
33312         multiarch POWER8 memset optimization.
33313         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
33314         POWER8 memset optimization.
33316         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33317         Remove bzero multiarch objects.
33318         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
33319         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
33320         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
33321         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
33322         Remove define.
33323         [__bzero]: Redefine to specific name.
33324         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
33325         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
33326         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
33327         define.
33328         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
33329         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
33331 2014-09-10  Florian Weimer  <fweimer@redhat.com>
33333         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
33334         warnings into errors.
33336         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
33337         __cxa_thread_atexit_impl prototype.
33339 2014-09-09  Steve Ellcey  <sellcey@mips.com>
33341         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
33342         Fix capitalization of error message.
33344 2014-09-09  Steve Ellcey  <sellcey@mips.com>
33346         * sysdeps/mips/preconfigure: Modify ABI tests.
33348 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
33350         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
33352 2014-09-07  Roland McGrath  <roland@hack.frob.com>
33353             Carlos O'Donell  <carlos@systemhalted.org>
33355         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
33356         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
33357         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
33358         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
33359         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
33360         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
33361         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
33362         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
33363         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
33364         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
33365         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
33366         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
33367         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
33368         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
33369         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
33370         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
33371         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
33372         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
33373         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
33374         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
33375         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
33376         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
33377         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
33378         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
33379         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
33380         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
33381         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
33382         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
33383         Deconditionalize the code that was previously under [RESET_PID].
33384         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
33385         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
33386         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
33387         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
33388         include sysdep.h.
33390 2014-09-08  Allan McRae  <allan@archlinux.org>
33392         * version.h (RELEASE): Set to "development".
33393         (VERSION): Set to "2.20.90"
33395 2014-09-07  Allan McRae  <allan@archlinux.org
33397         * version.h (RELEASE): Set to "stable".
33398         (VERSION): Set to "2.20"
33399         * include/features.h (__GLIBC_MINOR__): Set to 20.
33401         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
33402         Liebler.
33404         * po/ko.po: Update Korean translation from translation project.
33406 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
33408         [BZ #17354]
33409         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
33410         macro for handling signed relocations.
33412 2014-09-03  Florian Weimer  <fweimer@redhat.com>
33414         [BZ #17325]
33415         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
33416         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
33417         assert.
33418         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
33419         * iconvdata/ibm935.c (BODY): Likewise.
33420         * iconvdata/ibm937.c (BODY): Likewise.
33421         * iconvdata/ibm939.c (BODY): Likewise.
33422         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
33423         assert.
33424         * iconvdata/Makefile (iconv-test.out): Pass module list to test
33425         script.
33426         * iconvdata/run-iconv-test.sh: New test loop for checking for
33427         decoder crashers.
33429 2014-09-02  Khem Raj  <raj.khem@gmail.com>
33431         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
33432         libm_hidden_ver.
33434 2014-09-01  Allan McRae  <allan@archlinux.org>
33436         * po/eo.po: Update Esperanto translation from translation project.
33438         * po/ca.po: Update Catalan translation from translation project.
33440 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33442         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
33443         __proc_dostop call.
33445 2014-08-27  Mark Wielaard  <mjw@redhat.com>
33447         [BZ #17319]
33448         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
33449         to call set_thread_area instead of hand written asm.
33450         (__NR_set_thread_area): Removed define.
33451         (TLS_FLAG_WRITABLE): Likewise.
33452         (__ASSUME_SET_THREAD_AREA): Remove check.
33453         (TLS_EBX_ARG): Remove define.
33454         (TLS_LOAD_EBX): Likewise.
33456 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33458         Simplify atomicity of socket creation in bind.
33460         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
33461         looking up the name after linking the file.
33463 2014-08-27  Allan McRae  <allan@archlinux.org>
33465         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33467 2014-08-26  Florian Weimer  <fweimer@redhat.com>
33469         [BZ #17187]
33470         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
33471         trans_compare, open_translit, __gconv_translit_find):
33472         Remove module loading code.
33474 2014-08-26  Allan McRae  <allan@archlinux.org>
33476         * po/vi.po: Update Vietnamese translation from translation project.
33478         * po/uk.po: Update Ukrainian translation from translation project.
33480         * po/fr.po: Update French translation from translation project.
33482         * po/ru.po: Update Russian translation from translation project.
33484         * po/pl.po: Update Polish translation from translation project.
33486         * po/cs.po: Update Czech translation from translation project.
33488         * po/de.po: Update German translation from translation project.
33490         * po/bg.po: Update Bulgarian translation from translation project.
33492         * po/sv.po: Update Sweedish translation from translation project.
33494         * po/nl.po: Update Dutch translation from translation project.
33496         * po/es.po: Update Spanish translation from translation project.
33498 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33500         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
33502         * catgets/Makefile (CPPFLAGS-gencat): Remove.
33503         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
33504         (CPPFLAGS-iconvconfig): Likewise.
33505         * timezone/Makefile (CPPFLAGS-zic): Likewise.
33507         * include/libc-symbols.h: Remove unnecessary check for
33508         NOT_IN_libc.
33509         * nptl/pthreadP.h: Likewise.
33510         * sysdeps/aarch64/setjmp.S: Likewise.
33511         * sysdeps/alpha/setjmp.S: Likewise.
33512         * sysdeps/arm/sysdep.h: Likewise.
33513         * sysdeps/i386/setjmp.S: Likewise.
33514         * sysdeps/m68k/setjmp.c: Likewise.
33515         * sysdeps/posix/getcwd.c: Likewise.
33516         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
33517         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
33518         * sysdeps/s390/s390-32/setjmp.S: Likewise.
33519         * sysdeps/s390/s390-64/setjmp.S: Likewise.
33520         * sysdeps/sh/sh3/setjmp.S: Likewise.
33521         * sysdeps/sh/sh4/setjmp.S: Likewise.
33522         * sysdeps/unix/alpha/sysdep.h: Likewise.
33523         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
33524         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33525         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
33526         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
33527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
33528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33529         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33530         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33531         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33532         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33533         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33534         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
33535         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33536         * sysdeps/x86_64/setjmp.S: Likewise.
33538 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
33540         [BZ #17263]
33541         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
33542         <stdint.h>.
33543         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
33544         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
33546 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
33548         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
33550         [BZ #17262]
33551         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
33552         and __x86_64__ when disabling x87 inline functions.
33554 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
33556         [BZ #17259]
33557         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
33558         asm statement with __cpuid_count.
33560 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
33562         * configure.ac: Change __ehdr_start code to dereference the struct.
33563         Run readelf on the output to look for relocations.
33564         * configure: Regenerated.
33566 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
33568         [BZ #17261]
33569         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
33570         value to 0.
33571         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
33573 2014-08-12  Roland McGrath  <roland@hack.frob.com>
33575         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
33577 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
33579         [BZ #16892]
33580         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
33581         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
33583 2014-08-12  Sean Anderson  <seanga2@gmail.com>
33585         * malloc/malloc.c: Fix typo in comment.
33587 2014-08-09  Allan McRae  <allan@archlinux.org>
33589         * Regenerate libc.po.
33591 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
33593         * intl/tst-gettext2.sh: Check every lang file for creation.
33595 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
33597         * sysdeps/aarch64/fpu/math_private.h
33598         (libc_feholdsetround_noex_aarch64_ctx): New function.
33600 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
33602         * sysdeps/arm/armv6/strcpy.S (strcpy):
33603         Fix performance issue in misaligned cases.
33605 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33607         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
33608         Move definition from termios.h.
33609         (struct termio): Likewise.
33610         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
33611         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
33612         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
33613         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
33614         Likewise.
33615         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
33616         Move definition to ioctl-types.h
33617         (struct termio): Likewise.
33618         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
33619         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
33620         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
33621         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
33622         Likewise.
33624 2014-08-05  Richard Henderson  <rth@redhat.com>
33626         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
33627         exceptions.
33628         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
33629         Add fraiseexcpt.
33630         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
33631         Use __feraiseexcept.
33632         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
33633         Protect libm symbols with IS_IN_libm.
33635         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
33637 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
33639         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
33641 2014-08-04  Will Newton  <will.newton@linaro.org>
33643         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
33644         file.
33646 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
33648         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
33649         variants for each function.
33651 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33653         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
33654         appended ...
33655         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
33656         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
33657         appended ...
33658         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
33659         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
33660         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
33661         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
33662         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
33663         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
33664         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
33665         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
33666         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
33667         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
33668         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
33669         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
33670         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
33671         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
33672         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
33673         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
33674         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
33675         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
33676         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
33677         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
33678         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
33679         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
33680         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
33681         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
33682         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
33683         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
33684         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
33685         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
33686         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
33687         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
33688         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
33689         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
33690         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
33691         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
33692         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
33693         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
33694         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
33695         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
33696         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
33697         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
33698         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
33699         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
33700         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
33701         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
33702         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
33703         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
33704         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
33705         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
33706         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
33707         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
33708         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
33709         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
33710         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
33711         Update #include.
33712         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
33713         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
33715 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33717         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
33718         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
33719         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
33720         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
33721         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
33722         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
33724 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33726         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
33727         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
33728         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33729         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
33731 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33733         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
33734         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
33735         (__libc_vfork): Define function under this name.
33736         (__vfork): Define as an alias.
33737         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
33738         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
33740 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33742         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
33743         that was previously under [RESET_PID].
33744         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
33746 2014-08-04  Andreas Schwab  <schwab@suse.de>
33748         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
33750 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
33752         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
33753         (main): Likewise.
33755 2014-08-01  Roland McGrath  <roland@hack.frob.com>
33757         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
33759 2014-08-01  Richard Henderon  <rth@redhat.com>
33761         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
33762         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
33763         typo in exact zero test.
33764         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33765         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33766         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33768 2014-08-01  Roland McGrath  <roland@hack.frob.com>
33770         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
33771         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
33772         * sysdeps/arm/sysdep.h: ... here.
33773         [!__ASSEMBLER__]: Include <stdint.h>.
33775 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
33777         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
33778         (HAVE_WCTYPE_H): Likewise.
33779         (HAVE_ISWCTYPE): Likewise.
33780         (ENABLE_NLS): Likewise.
33781         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
33782         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
33784         * posix/regex_internal.c: Check if DEBUG is defined and is
33785         set.
33787         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
33788         (HAVE_MBSRTOWCS): Likewise.
33789         * posix/fnmatch.c: Include string.h unconditionally.
33791 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
33793         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
33794         reversal.
33796 2014-07-31  Roland McGrath  <roland@hack.frob.com>
33798         * sysdeps/generic/safe-fatal.h: New file.
33799         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
33800         * nptl/forward.c: Include it.
33801         (__pthread_unwind): Use __safe_fatal as default action, rather
33802         than a bogus use of INTERNAL_SYSCALL that could never work.
33804         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
33805         * configure.ac (libc_cv_builtin_trap): New test.
33806         * configure: Regenerated.
33807         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
33808         (ABORT_INSTRUCTION): Define using __builtin_trap.
33810         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
33811         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
33812         * sysdeps/nptl/nptl-signals.h: New file.
33813         * nptl/pthreadP.h: Include <nptl-signals.h>.
33815 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
33817         * sysdeps/s390/s390-64/utf16-utf32-z9.c
33818         (ONE_DIRECTION): Define.
33819         * sysdeps/s390/s390-64/utf8-utf16-z9.c
33820         (ONE_DIRECTION): Define.
33821         * sysdeps/s390/s390-64/utf8-utf32-z9.c
33822         (ONE_DIRECTION): Define.
33824 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
33826         * sysdeps/s390/Makefile: Delete file.
33827         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
33828         * sysdeps/s390/__longjmp.c: Delete file.
33829         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
33830         Remove fields __flags and __reserved.
33831         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
33832         and add versioning.
33833         * sysdeps/s390/rtld-__longjmp.c: Delete file.
33834         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
33835         * sysdeps/s390/rtld-setjmp.S: Likewise.
33836         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
33837         * sysdeps/s390/s390-32/__longjmp.c: ... here.
33838         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
33839         * sysdeps/s390/s390-32/setjmp.S: ... here.
33840         Add versioning.
33841         (__sigsetjmp): Remove setting __flags field.
33842         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
33843         * sysdeps/s390/s390-64/__longjmp.c: ... here.
33844         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
33845         * sysdeps/s390/s390-64/setjmp.S: ... here.
33846         Add versioning.
33847         (__sigsetjmp): Remove setting __flags field.
33848         * sysdeps/s390/setjmp.S: Delete file.
33849         * sysdeps/s390/sigjmp.c: Likewise.
33850         * sysdeps/s390/v1-longjmp.c: Likewise.
33851         * sysdeps/s390/v1-setjmp.h: Likewise.
33852         * sysdeps/s390/v1-sigjmp.c: Likewise.
33853         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
33854         Remove v1-longjmp_chk.
33855         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
33856         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
33857         Include debug/longjmp_chk.c and add versioning.
33858         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
33859         Include nptl/pt-longjmp.c and add versioning.
33860         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
33861         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
33862         Include __longjmp.c.
33863         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
33864         Move to ...
33865         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
33866         (__getcontext): Remove setting __flags field.
33867         Add versioning.
33868         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
33869         Don't restore upper high grps.
33870         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
33871         Likewise.
33872         (__swapcontext): Remove setting uc_flags field.
33873         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
33874         Delete file.
33875         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
33876         Include __longjmp.c.
33877         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
33878         Move to ...
33879         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
33880         (__getcontext): Remove setting __flags field.
33881         Add versioning.
33882         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
33883         (__swapcontext): Remove setting uc_flags field.
33884         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
33885         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
33886         Remove fields uc_high_gprs and __reserved.
33887         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
33888         New file with reverted content.
33889         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
33890         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
33891         Regenerated.
33892         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
33893         Regenerated.
33895 2014-07-31  Andreas Schwab  <schwab@suse.de>
33897         * config.h.in (HAVE_IFUNC): Define to 0.
33898         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
33899         definedness.
33901 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
33903         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33904         memmove-avx-unaligned, memcpy-avx-unaligned and
33905         mempcpy-avx-unaligned.
33906         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33907         Add tests for AVX memcpy functions.
33908         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
33909         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
33910         memcpy_chk.
33911         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
33912         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
33913         memmove_chk.
33914         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
33915         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
33916         mempcpy_chk.
33917         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
33918         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
33919         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
33921 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33923         [BZ #17213]
33924         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
33925         powerpc64le.
33927 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
33929         [BZ #16839]
33930         * manual/llio.texi: Add section about open file description locks.
33931         * manual/examples/ofdlocks.c: Example of open file description
33932         lock usage.
33933         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
33934         F_OFD_SETLK, and F_OFD_SETLKW.
33936 2014-07-23  Allan McRae  <allan@archlinux.org>
33938         * po/es.po: Update Spanish translation from translation project.
33940 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
33942         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
33944 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
33946         [BZ #17078]
33947         * sysdeps/arm/dl-machine.h (elf_machine_rela)
33948         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
33949         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
33951 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
33953         [BZ #17088]
33954         * math/fesetenv.c (__fesetenv)
33955         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
33956         * math/feupdateenv.c (__feupdateenv)
33957         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
33959         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
33960         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
33961         (__ASSUME_SOCKETCALL): Do not define.
33963         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
33964         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
33965         (__ASSUME_SOCKETCALL): Do not define.
33966         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
33967         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
33968         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
33969         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
33970         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
33971         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
33972         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
33973         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33975         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
33976         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
33977         (__ASSUME_SOCKETCALL): Do not define.
33978         (__ASSUME_IPC64): Define unconditionally.
33979         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
33980         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
33981         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
33982         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
33983         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
33984         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
33985         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
33986         Likewise.
33988         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
33989         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
33990         (__ASSUME_SOCKETCALL): Do not define.
33991         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
33992         (__ASSUME_FUTEX_LOCK_PI): Likewise.
33993         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
33994         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
33995         (__ASSUME_REQUEUE_PI): Define unconditionally.
33996         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
33997         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
33998         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33999         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
34000         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
34001         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34003         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
34004         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
34005         (__ASSUME_SOCKETCALL): Do not define.
34006         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
34007         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
34008         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34009         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
34010         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
34011         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34013         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
34014         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
34015         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
34016         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
34017         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
34018         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
34019         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
34020         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
34021         (__ASSUME_GETCPU_SYSCALL): Likewise.
34023         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
34024         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
34025         cases for individual architectures.
34026         * sysdeps/gnu/configure: Regenerated.
34027         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
34028         LIBC_SLIBDIR_RTLDDIR.
34029         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
34030         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
34031         LIBC_SLIBDIR_RTLDDIR.
34032         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
34033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
34034         LIBC_SLIBDIR_RTLDDIR.
34035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
34036         Regenerated.
34037         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
34038         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
34039         file.
34040         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
34041         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
34042         file.
34043         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
34044         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
34045         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
34046         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
34048         * sysdeps/aarch64/shlib-versions: Move to ...
34049         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
34050         * sysdeps/alpha/shlib-versions: Move to ...
34051         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
34052         * sysdeps/arm/shlib-versions: Move to ...
34053         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
34054         * sysdeps/hppa/shlib-versions: Move all contents except for
34055         libgcc_s entry to ...
34056         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
34057         entry from ...
34058         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
34059         * sysdeps/ia64/shlib-versions: Move to ...
34060         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
34061         entry from ...
34062         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
34063         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
34064         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
34065         * sysdeps/microblaze/shlib-versions: Move to ...
34066         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
34067         * sysdeps/mips/shlib-versions: Move to ...
34068         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
34069         entry from ...
34070         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
34071         * sysdeps/tile/shlib-versions: Move to ...
34072         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
34073         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
34074         from ...
34075         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
34076         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
34077         entry from ...
34078         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
34080 2014-07-17  Will Newton  <will.newton@linaro.org>
34082         * sysdeps/arm/bits/atomic.h
34083         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
34084         (__arch_compare_and_exchange_bool_16_int): Likewise.
34085         (__arch_compare_and_exchange_bool_64_int): Likewise.
34087         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
34088         into an #else block.
34090 2014-07-16  Roland McGrath  <roland@hack.frob.com>
34092         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
34093         just Linux configurations.  Test empirically that the compiler sets
34094         __ARM_EABI__, rather than using the tuple to decide.
34095         * sysdeps/arm/preconfigure: Regenerated.
34096         * sysdeps/unix/sysv/linux/arm/configure: File removed.
34097         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
34098         contents appended ...
34099         * sysdeps/arm/configure.ac: ... here.
34100         * sysdeps/arm/configure: Regenerated.
34102 2014-07-15  Roland McGrath  <roland@hack.frob.com>
34104         * nptl/pthread_kill.c: New file.
34105         * nptl/pthread_sigmask.c: New file.
34106         * nptl/pthread_sigqueue.c: New file.
34108         * sysdeps/nptl/lowlevellock.h: New file.
34109         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
34110         * sysdeps/nptl/lowlevellock-futex.h: New file.
34112         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
34113         Remove dead declarations.
34115 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
34117         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
34118         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
34119         config-cflags-avx2.
34120         * sysdeps/x86_64/configure.ac: Likewise.
34121         * sysdeps/i386/configure: Regenerated.
34122         * sysdeps/x86_64/configure: Likewise.
34123         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34124         memset-avx2 only if config-cflags-avx2 is yes.
34125         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34126         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
34127         defined.
34128         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
34129         only if HAVE_AVX2_SUPPORT is defined.
34130         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34132 2014-07-14  Alan Modra  <amodra@gmail.com>
34134         [BZ #17153]
34135         * elf/elf.h (DT_PPC64_NUM): Correct value.
34136         * NEWS: Add to fixed bug list.
34138 2014-07-13  Jim Meyering  <meyering@fb.com>
34140         [BZ 17150]
34141         regex: don't deref NULL upon heap allocation failure
34142         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
34143         failure in one more place.
34144         To trigger the segfault, configure grep -with-included-regex,
34145         build it, and run these commands:
34146         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
34148 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
34150         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
34152 2014-07-11  Richard Henderson  <rth@redhat.com>
34154         * sysdeps/aarch64/libm-test-ulps: Update.
34156 2014-07-10  Florian Weimer  <fweimer@redhat.com>
34158         [BZ #17135]
34159         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
34160         * nptl/allocatestack.c (__nptl_setxid_error): New function.
34161         (__nptl_setxid): Initialize error member.  Call
34162         __nptl_setxid_error.
34163         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
34164         * nptl/descr.h (struct xid_command): Add error member.
34165         * nptl/tst-setuid3.c: New file.
34166         * nptl/Makefile (tests): Add it.
34168 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34170         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
34171         New define.
34172         (__lll_trylock): Use __lll_base_trylock.
34173         (__lll_cond_trylock): Likewise.
34175 2014-07-10  Roland McGrath  <roland@hack.frob.com>
34177         * nptl/pthread_create.c (start_thread): Use atomic_or and
34178         lll_futex_wake directly rather than lll_robust_dead.
34179         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
34180         (lll_robust_dead): Macro removed.
34181         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
34182         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
34183         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
34184         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
34185         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
34186         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
34187         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
34188         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
34189         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
34190         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
34191         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
34192         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
34193         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
34194         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
34195         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
34197         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
34198         Use atomic_compare_and_exchange_val_acq directly rather than
34199         lll_robust_trylock.
34200         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
34201         (__lll_robust_trylock, lll_robust_trylock): Removed.
34202         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
34203         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
34204         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
34205         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
34206         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
34207         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
34208         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
34209         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
34210         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
34211         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
34212         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
34213         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
34214         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
34215         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
34217 2014-07-02  Florian Weimer  <fweimer@redhat.com>
34219         * manual/locale.texi (Locale Names): New section documenting
34220         locale name syntax.  Adjust menu and node chaining accordingly.
34221         (Choosing Locale): Reference Locale Names, Locale Categories.
34222         Mention setting LC_ALL=C.  Reflect that name syntax is now
34223         documented.
34224         (Locale Categories): New section title.  Reference Locale Names.
34225         LC_ALL is an environment variable, but not a category.
34226         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
34227         description, now in Locale Name.  Reference that section.  Locale
34228         name syntax is now documented.
34230 2014-07-02  Florian Weimer  <fweimer@redhat.com>
34232         [BZ #17137]
34233         * locale/findlocale.c (name_present, valid_locale_name): New
34234         functions.
34235         (_nl_find_locale): Use the loc_name variable to store name
34236         candidates.  Call name_present and valid_locale_name to check and
34237         validate locale names.  Return an error if the locale is invalid.
34239 2014-07-02  Florian Weimer  <fweimer@redhat.com>
34241         * locale/setlocale.c (setlocale): Use strdup for allocating
34242         composite name copy.
34244 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34246         Sync up with gnulib.
34247         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
34248         [!_LIBC && ENABLE_NLS]: Include gettext.h.
34249         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
34250         and _GL_ARG_NONNULL.
34251         [USE_UNLOCKED_IO]: Include unlocked-io.h.
34252         [!_LIBC]: Include code for Windows and Cygwin.
34253         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
34254         Include prototype for int strerror_r.
34255         [!_LIBC] (is_open): New function.
34256         (flush_stdout): New function.
34257         (print_errno_message): Use it.
34258         (error): Likewise.
34259         (error_at_line): Likewise.
34260         (error_tail) Add function attribute macros.  Use
34261         __builtin_expect.
34263         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
34265         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
34267         * io/ftw.c: Include sys/param.h unconditionally.
34269         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
34271         [BZ #17125]
34272         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
34273         libc_freeres_ptr.
34274         (freecache): New function to free CACHE on exit.
34276         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
34277         initialization.
34279 2014-07-09  David S. Miller  <davem@davemloft.net>
34281         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34283         * sysdeps/sparc/nptl/internaltypes.h: Delete.
34284         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
34285         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
34286         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
34287         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
34288         * sysdeps/sparc/nptl/sem_init.c: Likewise.
34289         * sysdeps/sparc/nptl/sem_post.c: Likewise.
34290         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
34291         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
34292         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
34293         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
34294         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
34295         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
34297 2014-07-09  Andreas Schwab  <schwab@suse.de>
34299         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
34300         output.
34301         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
34302         (do_test): Likewise.
34304         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
34306 2014-07-09  Will Newton  <will.newton@linaro.org>
34308         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
34309         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
34310         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
34311         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
34312         * sysdeps/hppa/start.S (_start): Likewise.
34314 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
34316         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
34318         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
34319         defined.
34321 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
34323         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
34324         after checking that it is non-NULL.
34326         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
34328 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34330         * sysdeps/powerpc/memmove.c: Remove file.
34331         * sysdeps/powerpc/powerpc32/power4/memcopy.h
34332         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
34333         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
34334         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
34335         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
34336         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
34337         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
34338         string memmove instead of removed powerpc one.
34340         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
34341         [weak_alias]: Fix compiler warning due trailing data.
34342         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
34343         [weak_alias]: Likewise.
34344         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
34345         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
34347         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34348         (__libc_ifunc_impl_list): Add memmove functions.
34350 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
34352         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
34353         Remove code.
34354         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
34355         Likewise.
34356         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
34357         Likewise.
34358         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
34359         Likewise.
34360         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
34361         Likewise.
34362         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
34363         Likewise.
34364         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
34365         Likewise.
34366         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
34367         Likewise.
34368         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
34369         Likewise.
34370         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
34371         Likewise.
34372         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
34373         Likewise.
34374         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
34375         Likewise.
34376         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
34377         Likewise.
34378         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
34379         Likewise.
34380         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
34381         Likewise.
34382         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
34383         Likewise.
34384         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
34385         Likewise.
34387 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34389         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
34390         to avoid alignment traps in non-cacheable memory.
34391         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
34393         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
34394         multiarch objects.
34395         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
34396         file: multiarch power7 memmove.
34397         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
34398         multiarch default memmove.
34399         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
34400         multiarch memove for powerpc32/power4.
34402         * string/bcopy.c: Use full path to include memmove.c.
34403         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
34404         multiarch objects.
34405         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
34406         bcopy for powerpc64.
34407         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
34408         bcopy for powerpc64.
34409         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
34410         and memmove implementations.
34411         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
34412         optimized multiarch memmove for POWER7/powerpc64.
34413         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
34414         default multiarch memmove for powerpc64.
34415         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
34416         multiarch for powerpc64.
34417         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
34418         for POWER7/powerpc64.
34419         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
34420         memmove for POWER7/powerpc64.
34422         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
34423         glibc default one.
34425         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
34426         __ELF_NATIVE_CLASS equal to 64.
34428 2014-07-07  Roland McGrath  <roland@hack.frob.com>
34430         * sysdeps/nptl/lowlevellock.h: File removed.
34432         * NEWS: NPTL is no longer an add-on!
34433         * nptl/internaltypes.h: Moved ...
34434         * sysdeps/nptl/internaltypes.h: ... here.
34435         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
34436         * sysdeps/nptl/fork.c: Likewise.
34437         * sysdeps/nptl/gai_misc.h: Likewise.
34438         * sysdeps/nptl/librt-cancellation.c: Likewise.
34439         * sysdeps/nptl/jmp-unwind.c: Likewise.
34440         * sysdeps/nptl/setxid.h: Likewise.
34441         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
34442         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
34443         * sysdeps/unix/sysv/linux/arm/Implies: New file.
34444         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
34445         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
34446         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
34447         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
34448         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
34449         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
34450         * sysdeps/unix/sysv/linux/mips/Implies: New file.
34451         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
34452         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
34453         * sysdeps/unix/sysv/linux/sh/Implies: New file.
34454         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
34455         * sysdeps/unix/sysv/linux/tile/Implies: New file.
34456         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
34457         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
34458         * nptl/Makeconfig: Moved ...
34459         * sysdeps/nptl/Makeconfig: ... here.
34460         * nptl/configure: File removed.
34461         * nptl/ANNOUNCE: File removed.
34462         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
34463         * sysdeps/unix/sysv/linux/configure: Regenerated.
34465         * nptl/Makefile (routines): Add libc_pthread_init,
34466         libc_multiple_threads, register-atfork and unregister-atfork.
34467         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
34468         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
34469         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
34470         pthread-pi-defines.sym, structsem.sym.
34471         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
34472         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
34473         [$(subdir) = nptl] (tests): Add tst-setgetname.
34474         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
34475         * sysdeps/unix/sysv/linux/sigaction.c: Just include
34476         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
34477         [!LIBC_SIGACTION]: Remove aliases.
34478         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
34479         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
34480         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
34481         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
34482         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
34483         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
34484         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
34485         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
34486         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
34487         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
34488         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
34489         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
34490         __libc_allocate_rtsig_private.
34491         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
34492         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
34493         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
34494         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
34495         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
34496         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
34497         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
34498         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
34499         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
34500         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
34501         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
34502         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
34503         * nptl/internaltypes.h: ... here.
34504         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
34505         * sysdeps/nptl/jmp-unwind.c: ... here.
34506         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
34507         * nptl/libc-lowlevellock.c: ... here.
34508         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
34509         * nptl/libc_multiple_threads.c: ... here.
34510         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
34511         * nptl/libc_pthread_init.c: ... here.
34512         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
34513         * nptl/lowlevelbarrier.sym: ... here.
34514         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
34515         * nptl/lowlevelcond.sym: ... here.
34516         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
34517         * nptl/lowlevellock.c: ... here.
34518         * nptl/lowlevellock.h: Moved ...
34519         * sysdeps/nptl/lowlevellock.h: ... here.
34520         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
34521         * nptl/lowlevelrobustlock.c: ... here.
34522         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
34523         * nptl/lowlevelrobustlock.sym: ... here.
34524         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
34525         * nptl/lowlevelrwlock.sym: ... here.
34526         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
34527         * nptl/pt-fork.c: ... here.
34528         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
34529         * nptl/pthread-pi-defines.sym: ... here.
34530         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
34531         * nptl/pthread_attr_getaffinity.c: ... here.
34532         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
34533         * nptl/pthread_attr_setaffinity.c: ... here.
34534         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
34535         * nptl/pthread_mutex_cond_lock.c: ... here.
34536         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
34537         Update #include.
34538         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
34539         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
34540         * nptl/pthread_once.c: ... here, replacing old file.
34541         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
34542         * nptl/pthread_yield.c: ... here.
34543         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
34544         * nptl/register-atfork.c: ... here.
34545         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
34546         * nptl/sem_post.c: ... here.
34547         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
34548         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
34549         * nptl/sem_timedwait.c: ... here.
34550         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
34551         * nptl/sem_trywait.c: ... here.
34552         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
34553         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
34554         * nptl/sem_wait.c: ... here.
34555         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
34556         * nptl/structsem.sym: ... here.
34557         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
34558         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
34559         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
34560         * nptl/unregister-atfork.c: ... here.
34561         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
34562         * nptl/unwindbuf.sym: ... here.
34563         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
34564         * sysdeps/nptl/fork.c: ... here.
34565         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
34566         * sysdeps/nptl/fork.h: ... here.
34567         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
34568         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
34569         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
34570         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
34571         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
34572         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
34573         * sysdeps/unix/sysv/linux/getpid.c: ... here.
34574         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
34575         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
34576         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
34577         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
34578         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
34579         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
34580         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
34581         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
34582         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
34583         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
34584         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
34585         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
34586         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
34587         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
34588         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
34589         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
34590         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
34591         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
34592         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
34593         * sysdeps/unix/sysv/linux/raise.c: ... here.
34594         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
34595         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
34596         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
34597         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
34598         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
34599         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
34600         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
34601         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
34602         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
34603         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
34604         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
34605         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
34606         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
34607         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
34608         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
34610 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34612         * sysdeps/generic/memcopy.h: Add comment for
34613         MEMCPY_OK_FOR_FWD_MEMMOVE.
34615 2014-07-04  Will Newton  <will.newton@linaro.org>
34617         * string/memchr.c: Merge from gnulib.
34618         [_LIBC]: Remove conditionals.
34619         (__ptr_t): Remove define.
34620         (LONG_MAX_32_BITS): Likewise.
34621         (LONG_MAX): Likewise.
34622         (MEMCHR): Use ANSI prototype and optimize algorithm.
34624         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
34626 2014-07-03  Roland McGrath  <roland@hack.frob.com>
34628         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
34629         (lll_futex_timed_wait_bitset): Fix syscall argument count.
34631         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
34632         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
34633         in a bare environment with no <stdlib.h> installed.
34634         * sysdeps/nptl/configure: Regenerated.
34636         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
34638         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
34639         AC_EGREP_CPP for kernel header checks, so they only succeed if
34640         including <linux/version.h> actually works right.
34641         * sysdeps/unix/sysv/linux/configure: Regenerated.
34643         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
34644         value so it's not diagnosed as unused.
34646         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
34647         thing) with "ifeq ($(subdir),rt)".
34649 2014-07-03  Richard Henderson  <rth@redhat.com>
34651         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
34652         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
34653         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
34655         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
34656         (math_force_eval): New.
34658         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
34659         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
34661         * sysdeps/alpha/fpu/s_round.c: Remove file.
34662         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
34664         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
34665         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
34666         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
34667         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
34668         (_dl_start, print_statistics): Likewise.
34669         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
34670         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
34672         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34673         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34674         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34675         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34676         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
34677         (HP_SMALL_TIMING_AVAIL): Define.
34678         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34679         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
34680         (HP_SMALL_TIMING_AVAIL): Define.
34681         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34682         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34684         * sysdeps/aarch64/hp-timing.h: New file.
34686         * sysdeps/generic/hp-timing.h: Remove dead comment.
34687         * sysdeps/generic/hp-timing-common.h: New file.
34688         * sysdeps/alpha/hp-timing.h: Include it.
34689         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
34690         * sysdeps/i386/i686/hp-timing.h: Likewise.
34691         * sysdeps/ia64/hp-timing.h: Likewise.
34692         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34693         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34694         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
34695         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
34696         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
34697         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
34698         (hp_timing_t): New.
34700         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
34701         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
34702         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
34703         * elf/rtld.c (_dl_start_final): Likewise.
34704         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
34705         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34706         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34707         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34708         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34709         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
34710         (HP_TIMING_DIFF_INIT): Remove.
34711         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34712         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
34713         (HP_TIMING_DIFF_INIT): Remove.
34714         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34715         * sysdeps/i386/i686/hp-timing.c: Remove file.
34716         * sysdeps/x86_64/hp-timing.c: Remove file.
34717         * sysdeps/ia64/hp-timing.c: Remove file.
34718         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
34719         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
34720         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
34721         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
34723         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
34724         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
34725         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
34726         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
34727         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
34728         (HP_TIMING_ACCUM): Remove.
34729         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
34730         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
34731         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
34733         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
34734         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
34735         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
34736         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
34737         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
34738         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
34739         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
34740         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
34742         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
34744 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
34746         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
34748 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34750         Sync up with gettext.
34751         * intl/loadmsgcat.c: Define O_BINARY if not defined.
34752         [_MSC_VER]: Include malloc.h
34753         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
34754         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
34755         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
34756         TEMP_FAILURE_RETRY.  Cast return of alloca.
34757         [!_LIBC] Call gl_rwlock_init.
34758         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
34760 2014-07-02  Roland McGrath  <roland@hack.frob.com>
34762         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
34763         before checking its value.
34765 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34767         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
34769         * debug/memcpy_chk.c: Don't include pagecopy.h.
34770         * debug/mempcpy_chk.c: Likewise.
34771         * string/memcpy.c: Likewise.
34772         * string/memmove.c: Likewise.
34773         * sysdeps/powerpc/memmove.c: Likewise.
34774         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
34775         definition of PAGE_COPY_FWD_MAYBE here...
34776         * sysdeps/generic/pagecopy.h: ... from here.
34777         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
34779 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34780             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34782         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
34783         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
34784         optimizations.
34785         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34786         (__libc_ifunc_impl_list): Likewise.
34787         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
34788         multiarch strcat for PPC64.
34789         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
34790         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
34792 2014-07-02  Roland McGrath  <roland@hack.frob.com>
34794         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
34796 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34798         * intl/loadmsgcat.c: Remove declaration of
34799         get_sysdep_segment_value.
34800         (get_sysdep_segment_value): Use ISO C style.
34801         (_nl_load_domain): Use ISO C style.  Get rid of redundant
34802         semicolon.  Fix typo and formatting in comment.
34803         (_nl_unload_domain): Use ISO C style.
34805         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
34807 2014-07-02  Will Newton  <will.newton@linaro.org>
34809         * malloc/obstack.c: Merge from gnulib master.
34810         [HAVE_CONFIG_H]: Remove conditional code.
34811         [!_LIBC]: Include config.h.
34812         [!ELIDE_CODE]: Don't include inttypes.h, include
34813         stdint.h unconditionally.
34814         (print_and_abort): Mark as _Noreturn.
34815         (_obstack_allocated_p): Mark as __attribute_pure__.
34816         (obstack_free): Rename to __obstack_free.
34817         [!__attribute__]: Remove conditional code.
34818         * malloc/obstack.h: Merge from gnulib master.
34819         [__cplusplus]: Move conditional down.
34820         [!__attribute_pure__]: Define __attribute_pure__ here
34821         if it is not already defined.
34822         (_obstack_memory_used): Mark as __attribute_pure__.
34823         [!__obstack_free]: Define as obstack_free.
34824         [__GNUC__]: Remove check for ancient NeXT gcc.
34826 2014-07-02  Will Newton  <will.newton@linaro.org>
34827             Paul Eggert  <eggert@cs.ucla.edu>
34829         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
34831 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34833         * resolv/gethnamaddr.c: Add comment warning that the file is
34834         not maintained.
34836 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
34838         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
34839         entries.
34841         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
34842         entry for aio_cancel and aio_cancel64.
34843         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
34844         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
34845         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
34846         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
34847         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
34848         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
34849         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
34850         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
34851         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
34852         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
34853         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
34854         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
34855         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
34857 2014-07-01  Roland McGrath  <roland@hack.frob.com>
34859         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
34860         * nptl/pthread_mutex_lock.c: Likewise.
34861         * nptl/pthread_mutex_timedlock.c: Likewise.
34862         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
34864 2014-07-01  Richard henderson  <rth@redhat.com>
34866         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
34867         (__isnan, __isnanl): Remove.
34868         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
34870         * sysdeps/alpha/fpu/libm-test-ulps: Update.
34872 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
34874         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34876 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
34878         * resolv/nss_dns/dns-host.c (getanswer_r)
34879         [MULTI_PTRS_ARE_ALIASES]: Remove code.
34881 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
34883         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34884         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
34885         undefine.
34886         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
34887         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
34889 2014-07-01  Roland McGrath <roland@hack.frob.com>
34891         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
34892         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
34894         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
34895         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
34897         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
34898         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
34899         ... here.
34900         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
34901         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
34903         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
34904         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
34905         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
34906         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
34908         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
34909         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
34910         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
34911         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
34912         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
34913         Moved ...
34914         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
34915         ... here.
34916         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
34917         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
34918         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
34919         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
34920         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
34921         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
34922         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
34923         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
34924         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
34925         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
34926         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
34927         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
34928         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
34929         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
34930         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
34931         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
34932         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
34933         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
34934         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
34935         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
34936         ... here.
34937         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
34938         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
34939         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
34940         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
34941         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
34942         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
34943         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
34944         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
34946 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
34948         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
34949         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
34950         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
34951         Add sysdep.
34953 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34955         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34957 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
34959         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
34960         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
34962         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
34964         * sysdeps/arm/libm-test-ulps: Regenerated.
34966 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
34967             Roland McGrath <roland@hack.frob.com>
34969         * test-skeleton.c (signal_handler): Kill the whole process group
34970         before killing the child individually.
34971         (main): Report any failure on `setpgid'.
34973 2014-06-30  Roland McGrath  <roland@hack.frob.com>
34975         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
34976         from _TLS_H to _ARM_NPTL_TLS_H.
34977         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
34978         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
34980 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
34982         [BZ #16539]
34983         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
34984         (__expm1l): Return argument unchanged when small but not
34985         subnormal.
34987         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
34988         include macro name.
34989         (_FP_UNPACK_RAW_1_P): Likewise.
34990         (_FP_PACK_RAW_1): Likewise.
34991         (_FP_PACK_RAW_1_P): Likewise.
34992         (_FP_MUL_MEAT_1_wide): Likewise.
34993         (_FP_MUL_MEAT_DW_1_hard): Likewise.
34994         (_FP_MUL_MEAT_1_hard): Likewise.
34995         (_FP_DIV_MEAT_1_imm): Likewise.
34996         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
34997         (_FP_DIV_MEAT_1_udiv): Likewise.
34998         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
34999         (_FP_UNPACK_RAW_2): Likewise.
35000         (_FP_UNPACK_RAW_2_P): Likewise.
35001         (_FP_PACK_RAW_2): Likewise.
35002         (_FP_PACK_RAW_2_P): Likewise.
35003         (_FP_MUL_MEAT_DW_2_wide): Likewise.
35004         (_FP_MUL_MEAT_2_wide): Likewise.
35005         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
35006         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
35007         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
35008         (_FP_MUL_MEAT_2_gmp): Likewise.
35009         (_FP_DIV_MEAT_2_udiv): Likewise.
35010         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
35011         (_FP_FRAC_SRL_4): Likewise.
35012         (_FP_FRAC_SRST_4): Likewise.
35013         (_FP_FRAC_SRS_4): Likewise.
35014         (_FP_UNPACK_RAW_4): Likewise.
35015         (_FP_UNPACK_RAW_4_P): Likewise.
35016         (_FP_PACK_RAW_4): Likewise.
35017         (_FP_PACK_RAW_4_P): Likewise.
35018         (_FP_MUL_MEAT_DW_4_wide): Likewise.
35019         (_FP_MUL_MEAT_4_wide): Likewise.
35020         (_FP_MUL_MEAT_4_gmp): Likewise.
35021         (umul_ppppmnnn): Likewise.
35022         (_FP_DIV_MEAT_4_udiv): Likewise.
35023         (__FP_FRAC_ADD_4): Likewise.
35024         (__FP_FRAC_SUB_3): Likewise.
35025         (__FP_FRAC_SUB_4): Likewise.
35026         (__FP_FRAC_DEC_3): Likewise.
35027         (__FP_FRAC_DEC_4): Likewise.
35028         (__FP_FRAC_ADDI_4): Likewise.
35029         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
35030         (_FP_FRAC_SRL_8): Likewise.
35031         (_FP_FRAC_SRS_8): Likewise.
35033         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
35034         include macro name.
35035         (FP_UNPACK_RAW_EP): Likewise.
35036         (FP_PACK_RAW_E): Likewise.
35037         (FP_PACK_RAW_EP): Likewise.
35038         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
35039         (_FP_ISSIGNAN): Likewise.
35040         (_FP_ADD_INTERNAL): Likewise.
35041         (_FP_FMA): Likewise.
35042         (_FP_CMP): Likewise.
35043         (_FP_SQRT): Likewise.
35044         (_FP_TO_INT): Likewise.
35045         (_FP_FROM_INT): Likewise.
35046         (FP_EXTEND): Likewise.
35047         (_FP_DIV_MEAT_N_loop): Likewise.
35049 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
35051         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
35052         throughout.
35054 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
35056         [BZ #17097]
35057         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
35058         result with correct sign in case of exponents that produce
35059         overflow except for X very close to 1.
35061 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
35063         mktime: merge #if/#ifdef usage from glibc
35064         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
35065         as that works with both Glibc's and Gnulib's style.
35066         See thread starting at Siddhesh Poyarekar's bug report at:
35067         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
35069 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35071         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
35072         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
35073         * sysdeps/tile/tilegx/memmove.c: Remove file.
35075 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
35077         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
35078         abi-name definition.
35079         * scripts/soversions.awk: Do not handle or generate ABI lines.
35080         * shlib-versions: Remove ABI entries.
35081         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
35082         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
35084 2014-06-27  Roland McGrath  <roland@hack.frob.com>
35086         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
35087         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
35088         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
35089         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
35090         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
35091         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
35092         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
35093         Moved ...
35094         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
35095         ... here.
35096         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
35097         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
35098         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
35099         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
35100         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
35101         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
35102         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
35103         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
35104         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
35105         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
35106         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
35107         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
35108         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
35109         Moved ...
35110         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
35111         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
35112         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
35113         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
35114         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
35115         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
35116         Moved ...
35117         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
35118         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
35119         Moved ...
35120         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
35121         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
35122         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
35123         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
35124         Moved ...
35125         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
35126         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
35127         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
35128         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
35129         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
35130         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
35131         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
35132         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
35133         Moved ...
35134         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
35135         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
35136         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
35137         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
35138         Moved ...
35139         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
35140         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
35141         Moved ...
35142         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
35143         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
35144         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
35145         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
35146         Moved ...
35147         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
35148         ... here.
35149         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
35150         Identical file removed.
35151         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
35152         Moved ...
35153         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
35154         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
35155         Identical file removed.
35156         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
35157         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
35158         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
35159         Moved ...
35160         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
35161         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
35162         Identical file removed.
35163         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
35164         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
35165         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
35166         Identical file removed.
35167         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
35168         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
35169         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
35170         Identical file removed.
35171         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
35172         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
35173         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
35174         Identical file removed.
35175         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
35176         Moved ...
35177         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
35178         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
35179         Identical file removed.
35180         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
35181         Moved ...
35182         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
35183         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
35184         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
35185         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
35186         Identical file removed.
35187         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
35188         Moved ...
35189         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
35190         ... here.
35191         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
35192         Identical file removed.
35193         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
35194         Moved ...
35195         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
35196         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
35197         Identical file removed.
35198         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
35199         Moved ...
35200         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
35201         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
35202         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
35203         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
35204         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
35205         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
35206         Moved ...
35207         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
35208         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
35209         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
35211         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
35212         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
35213         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
35214         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
35215         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
35217 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
35219         [BZ #17092]
35220         * nscd/nscd.c (monitor_child): Return exit status of child
35221         instead of return value from wait syscall.
35223 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
35225         * configure.ac (libc_commonpagesize): Remove variable.
35226         (libc_relro_required): Likewise.
35227         (libc_cv_z_relro): Remove configure test.
35228         * configure: Regenerated.
35229         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
35230         variable.
35231         (libc_relro_required): Likewise.
35232         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
35233         (libc_relro_required): Likewise.
35234         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
35235         (libc_relro_required): Likewise.
35236         * sysdeps/arm/preconfigure: Regenerated.
35237         * sysdeps/ia64/preconfigure: Remove file.
35238         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
35239         variable.
35240         (libc_relro_required): Likewise.
35242         [BZ #16561]
35243         [BZ #16562]
35244         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
35245         (__ieee754_yn): Set FE_TONEAREST mode internally and then
35246         recompute overflowing results in original rounding mode.
35247         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
35248         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
35249         recompute overflowing results in original rounding mode.
35250         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
35251         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
35252         recompute overflowing results in original rounding mode.
35253         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
35254         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
35255         recompute overflowing results in original rounding mode.
35256         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
35257         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
35258         recompute overflowing results in original rounding mode.
35259         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
35260         (libc_feholdsetround_ctx): New macro.
35261         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
35262         * sysdeps/i386/fpu/libm-test-ulps: Update.
35263         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
35265 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
35267         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
35268         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
35269         corresponding .cpsetup call.
35271 2014-06-26  Roland McGrath  <roland@hack.frob.com>
35273         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
35274         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
35275         * sysdeps/arm/Makefile [$(subdir) = csu]
35276         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
35277         (static-only-routines): Add aeabi_read_tp here.
35278         (shared-only-routines): Add libc-aeabi_read_tp here.
35279         (CFLAGS-libc-start.c): Add -fexceptions here.
35280         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
35281         (sysdep_routines, static-only-routines, shared-only-routines):
35282         Don't add to these here.
35283         (CFLAGS-libc-start.c): Likewise.
35285         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
35286         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
35287         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
35288         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
35289         * sysdeps/arm/Makefile [$(subdir) = rt]
35290         (librt-sysdep_routines, librt-shared-only-routines):
35291         Append rt-aeabi_unwind_cpp_pr1 here.
35292         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
35293         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
35294         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
35295         (libpthread-sysdep_routines, libpthread-shared-only-routines):
35296         Append nptl-aeabi_unwind_cpp_pr1 here.
35297         (tests): Filter out tst-cleanupx4 here.
35298         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
35299         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
35300         Don't do those here.
35302 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
35304         * scripts/list-sources.sh: Do not handle ports specially.
35306 2014-06-26  Roland McGrath  <roland@hack.frob.com>
35308         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
35309         * sysdeps/arm/feupdateenv.c: Likewise.
35311         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
35313 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
35315         * manual/texinfo.tex: Update to version 2014-05-05.10 with
35316         trailing whitespace removed.
35317         * scripts/config.guess: Update to version 2014-03-23.
35318         * scripts/config.sub: Update to version 2014-05-01
35319         * scripts/install-sh: Update to version 2013-12-25.23.
35320         * scripts/move-if-change: Update from gnulib.
35322 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35324         * debug/memmove_chk.c: Remove pagecopy.h include.
35326 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
35328         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
35329         identical to gnulib mktime.
35331 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
35333         * configure.ac: Do not test for machine being rs6000.  Do not test
35334         for powerpc*-*soft.
35335         * configure: Regenerated.
35337         [BZ #11505]
35338         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
35339         test.
35340         * configure: Regenerated.
35341         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
35342         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
35343         Remove configure test.
35344         * sysdeps/arm/configure: Regenerated.
35345         * sysdeps/nptl/configure.ac: Do not check
35346         libc_cv_asm_cfi_directives.
35347         * sysdeps/nptl/configure: Regenerated.
35348         * sysdeps/x86_64/nptl/configure.ac: Remove file.
35349         * sysdeps/x86_64/nptl/configure: Remove generated file.
35350         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
35351         unconditional.
35352         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
35354 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35356         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
35357         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
35358         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
35359         it is defined.
35361         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
35362         instead of whether it is defined.
35363         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
35364         * sysdeps/hppa/dl-machine.h: Likewise.
35365         * sysdeps/ia64/dl-machine.h: Likewise.
35366         * sysdeps/m68k/dl-machine.h: Likewise.
35367         * sysdeps/microblaze/dl-machine.h: Likewise.
35368         * sysdeps/mips/dl-machine.: Likewise.
35369         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
35370         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
35371         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
35372         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
35373         * sysdeps/sh/dl-machine.h: Likewise.
35374         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35375         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35376         * sysdeps/tile/dl-machine.h: Likewise.
35377         * sysdeps/x86_64/dl-machine.h: Likewise.
35379         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
35380         code.
35381         (verify_persistent_db): Likewise.
35383 2014-06-26  Roland McGrath  <roland@hack.frob.com>
35385         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
35386         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
35387         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
35388         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
35389         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
35390         Moved ...
35391         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
35392         ... here.
35393         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
35394         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
35395         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
35396         Identical file removed.
35397         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
35398         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
35399         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
35400         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
35401         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
35402         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
35403         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
35404         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
35405         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
35406         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
35407         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35408         Moved ...
35409         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
35410         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
35411         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
35412         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
35413         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
35414         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
35415         Moved ...
35416         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
35417         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
35418         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
35419         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
35420         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
35421         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
35422         Identical file removed.
35423         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
35424         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
35425         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
35426         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
35427         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
35428         Moved ...
35429         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
35430         ... here.
35431         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
35432         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
35433         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
35434         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
35435         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
35436         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
35437         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
35438         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
35439         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
35440         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
35441         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35442         Moved ...
35443         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
35444         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
35445         Moved ...
35446         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
35447         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
35448         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
35449         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
35450         Moved ...
35451         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
35452         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
35453         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
35455         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
35456         folded into ...
35457         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
35458         * sysdeps/unix/sysv/linux/s390/Versions
35459         (libpthread: GLIBC_2.19): New version set.
35460         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
35461         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
35462         (librt: GLIBC_2.3.3): New version set.
35463         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
35464         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
35465         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
35466         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
35467         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
35468         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
35469         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
35470         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
35471         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
35472         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
35473         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
35474         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
35475         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
35476         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
35477         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
35478         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
35479         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
35480         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
35481         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
35482         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
35483         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
35484         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
35485         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
35486         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
35487         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
35488         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
35489         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
35490         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
35491         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
35492         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
35493         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
35494         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
35495         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
35496         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
35497         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
35498         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
35499         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
35500         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
35501         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
35502         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
35503         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
35504         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
35505         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
35506         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
35507         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
35509         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
35510         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
35511         (__libc_vfork): Define the function under this name.
35512         [!NOT_IN_libc] (__vfork): Make this an alias.
35513         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
35514         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
35515         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
35516         (__libc_vfork): Define the function under this name.
35517         [!NOT_IN_libc] (__vfork): Make this an alias.
35518         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
35519         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
35520         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
35521         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
35522         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
35523         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
35525         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
35526         code that was previously under [RESET_PID].
35527         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
35528         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
35529         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
35531         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
35532         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
35533         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
35534         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
35535         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
35536         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
35537         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
35538         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
35539         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
35540         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
35541         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
35542         Moved ...
35543         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
35544         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
35545         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
35546         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
35547         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
35548         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
35549         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
35550         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
35551         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
35552         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
35553         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
35554         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
35555         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
35556         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
35557         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
35558         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
35559         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
35560         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
35561         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
35562         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
35563         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
35564         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
35565         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
35566         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
35567         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
35568         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
35569         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
35570         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
35571         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
35573 2014-06-25  Roland McGrath  <roland@hack.frob.com>
35575         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
35576         that was previously under [RESET_PID].
35577         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
35579 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
35581         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
35582         not undefine and redefine.
35583         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
35584         [O_CLOEXEC]: Make code unconditional.
35585         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
35586         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
35587         <kernel-features.h>.
35588         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
35589         conditional variable definition.
35590         (shm_open) [O_CLOEXEC]: Make code unconditional.
35591         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
35592         code.
35594         * configure.ac (USE_REGPARMS): Don't define here.
35595         * configure: Regenerated.
35596         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
35597         * sysdeps/i386/configure: Regenerated.
35599         * nptl/createthread.c: Don't include kernel-features.h.
35600         * nptl/pthread_cancel.c: Likewise.
35601         * nptl/pthread_condattr_setclock.c: Likewise.
35602         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
35603         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
35604         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
35605         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
35606         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
35607         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
35608         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
35609         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
35610         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
35611         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
35612         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
35613         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
35614         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
35615         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
35616         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
35617         * nscd/gai.c: Likewise.
35618         * nss/nss_db/db-open.c: Likewise.
35619         * sysdeps/generic/ldsodefs.h: Likewise.
35620         * sysdeps/sh/nptl/tls.h: Likewise.
35621         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
35622         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
35623         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
35624         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
35625         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
35626         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
35627         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
35628         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
35629         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
35630         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
35631         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
35632         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
35633         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
35634         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
35635         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
35636         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
35637         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
35638         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
35639         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
35640         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
35641         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
35642         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
35643         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
35644         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
35645         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
35646         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
35647         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
35648         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
35649         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
35650         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
35651         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
35652         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
35653         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
35654         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
35655         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
35656         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
35657         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
35658         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
35659         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
35660         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
35661         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
35662         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
35663         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
35664         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35665         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
35666         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
35667         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
35668         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
35669         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
35670         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
35671         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
35672         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
35673         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
35674         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
35675         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
35676         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
35677         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
35678         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
35679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
35680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
35681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
35682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
35683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
35684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
35685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
35686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
35687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
35688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
35689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
35690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
35691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
35692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
35693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
35694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
35695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
35696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
35697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
35698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
35699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
35700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
35701         * sysdeps/unix/sysv/linux/pread.c: Likewise.
35702         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
35703         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
35704         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
35705         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
35706         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
35707         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
35708         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
35709         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
35710         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
35711         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
35712         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
35713         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
35714         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
35715         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
35716         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
35717         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
35718         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
35719         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
35720         * sysdeps/unix/sysv/linux/system.c: Likewise.
35721         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
35722         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
35723         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
35724         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
35725         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
35726         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
35727         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
35729         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
35730         * configure: Regenerated.
35731         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
35733         * configure.ac (base_machine): Do not set specially for particular
35734         machines here.
35735         * configure: Regenerated.
35736         * sysdeps/powerpc/preconfigure: Move machine and base_machine
35737         settings from configure.ac.
35738         * sysdeps/i386/preconfigure: New file.
35739         * sysdeps/s390/preconfigure: Likewise.
35740         * sysdeps/sh/preconfigure: Likewise.
35741         * sysdeps/sparc/preconfigure: Likewise.
35743 2014-06-25  Roland McGrath  <roland@hack.frob.com>
35745         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
35746         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
35747         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
35748         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
35749         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
35750         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
35751         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
35752         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
35753         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
35754         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
35755         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
35756         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
35757         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
35758         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
35759         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
35760         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
35761         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
35762         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
35763         * sysdeps/sparc/sparc64/Makefile: ... appended here.
35765         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
35766         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
35767         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
35768         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
35769         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
35770         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
35771         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
35772         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
35773         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
35774         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
35775         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
35776         * sysdeps/sparc/sparc32/sem_post.c: ... here.
35777         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
35778         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
35779         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
35780         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
35781         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
35782         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
35783         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
35784         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
35785         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
35786         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
35787         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
35788         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
35789         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
35790         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
35791         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
35792         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
35793         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
35794         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
35795         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
35796         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
35797         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
35798         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
35799         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
35800         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
35801         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
35802         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
35804         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
35805         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
35806         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
35807         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
35808         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
35809         Moved ...
35810         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
35811         ... here.
35812         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
35813         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
35814         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
35815         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
35816         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
35817         Moved ...
35818         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
35819         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
35820         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
35821         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
35822         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
35823         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
35824         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
35825         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
35826         Moved ...
35827         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
35828         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
35829         Moved ...
35830         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
35831         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
35832         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
35833         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
35834         Moved ...
35835         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
35836         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
35837         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
35838         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
35839         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
35840         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
35841         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
35842         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
35843         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
35844         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
35845         Moved ...
35846         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
35847         ... here.
35848         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
35849         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
35850         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
35851         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
35852         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
35853         Moved ...
35854         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
35855         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
35856         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
35857         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
35858         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
35859         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
35860         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
35861         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
35862         Moved ...
35863         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
35864         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
35865         Moved ...
35866         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
35867         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
35868         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
35869         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
35870         Moved ...
35871         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
35872         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
35873         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
35874         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
35875         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
35877 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
35879         * timezone/checktab.awk: Update from tzcode 2014e.
35880         * timezone/private.h: Likewise.
35881         * timezone/tzfile.h: Likewise.
35882         * timezone/zdump.c: Likewise.
35883         * timezone/zic.c: Likewise.
35885         * sysdeps/unix/sysv/linux/kernel-features.h
35886         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
35887         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
35888         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
35889         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
35890         Remove conditional code.
35892 2014-06-25  Will Newton  <will.newton@linaro.org>
35894         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
35895         (_dl_arm_cap_flags): Add HWCAP2 values.
35896         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
35897         (_DL_HWCAP_COUNT): Increase to 37.
35898         (_DL_HWCAP_LAST): New define.
35899         (_DL_HWCAP2_LAST): New define.
35900         (_dl_procinfo): Add support for printing
35901         AT_HWCAP2 entries.
35902         (_dl_string_hwcap): Use _dl_hwcap_string.
35904 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35906         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35908 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
35910         * README: Do not mention ports directory.
35912         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
35913         Remove macro.
35914         * sysdeps/unix/sysv/linux/futimes.c: Do not include
35915         <kernel-features.h>.
35916         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
35917         conditional variable definition.
35918         (__futimes): Update comment.
35919         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
35920         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
35922         [BZ #16560]
35923         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
35924         arguments close to 0.
35925         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
35926         Likewise.
35927         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
35928         Likewise.
35929         * math/auto-libm-test-in: Add more tests of exp10.
35930         * math/auto-libm-test-out: Regenerated.
35931         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35933         * sysdeps/unix/sysv/linux/kernel-features.h
35934         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
35935         * sysdeps/unix/sysv/linux/readv.c: Do not include
35936         <kernel-features.h>.
35937         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
35938         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
35939         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
35940         unconditional.
35941         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
35942         conditional code.
35943         * sysdeps/unix/sysv/linux/writev.c: Do not include
35944         <kernel-features.h>.
35945         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
35946         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
35947         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
35948         unconditional.
35949         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
35950         conditional code.
35952 2014-06-25  Will Newton  <will.newton@linaro.org>
35954         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
35955         comment changes throughout the file.  Remove checks
35956         for HAVE_*_H definitions that are not required.
35957         (__gen_tempname): Call abort if an unknown kind value is
35958         passed.
35960 2014-06-25  Andreas Schwab  <schwab@suse.de>
35962         [BZ #17086]
35963         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
35964         scalbln, scalblnf, scalblnl in libc.
35966 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35968         [BZ #17086]
35969         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
35970         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
35971         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
35973 2014-06-24  Roland McGrath  <roland@hack.frob.com>
35975         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
35976         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
35977         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
35978         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
35979         Update #include.
35980         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
35981         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
35982         Update #include.
35983         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
35984         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
35985         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
35986         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
35987         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
35988         * sysdeps/x86/bits/pthreadtypes.h: ... here.
35989         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
35990         * sysdeps/x86/bits/semaphore.h: ... here.
35991         * sysdeps/x86/nptl/elide.h: Moved ...
35992         * sysdeps/x86/elide.h: ... here.
35993         * sysdeps/x86_64/nptl/Implies: File removed.
35994         * sysdeps/i386/nptl/Implies: File removed.
35996 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
35998         [BZ #16539]
35999         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
36000         return the argument for normal arguments with exponent below -64.
36001         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
36002         Likewise.
36003         * math/auto-libm-test-in: Add another test of expm1.
36004         * math/auto-libm-test-out: Regenerated.
36006         [BZ #16287]
36007         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
36008         calling __erfcl for arguments at least 16.
36009         * math/auto-libm-test-in: Add more tests of erf.
36010         * math/auto-libm-test-out: Regenerated.
36012         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
36013         individual architectures.
36014         * sysdeps/unix/sysv/linux/configure: Regenerated.
36015         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
36016         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
36017         * sysdeps/unix/sysv/linux/powerpc/configure.ac
36018         (ldd_rewrite_script): Define variable.
36019         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
36020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
36021         file.
36022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
36023         generated file.
36024         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
36025         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
36026         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
36027         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
36028         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
36029         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
36030         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
36031         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
36033 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36035         [BZ #17084]
36036         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
36037         Rename member __data.d to __data.__elision_data.
36039 2014-06-24  Wilco  <wdijkstr@arm.com>
36041         * NEWS: Add 16918 to fixed bug list.
36043 2014-06-24  Wilco  <wdijkstr@arm.com>
36045         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
36047 2014-06-24  Wilco  <wdijkstr@arm.com>
36049         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
36050         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
36051         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
36052         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
36053         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
36054         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
36055         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
36056         Use _FPU_MASK_RM.
36058 2014-06-24  Wilco  <wdijkstr@arm.com>
36060         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
36062 2014-06-24  Wilco  <wdijkstr@arm.com>
36064         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
36065         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
36066         * sysdeps/arm/fesetround.c (fesetround): Remove space.
36067         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
36069 2014-06-24  Wilco  <wdijkstr@arm.com>
36071         [BZ #16918]
36072         * sysdeps/arm/feupdateenv.c (feupdateenv):
36073         Rewrite to reduce FPSCR accesses and fix return value.
36075 2014-06-24  Wilco  <wdijkstr@arm.com>
36077         * sysdeps/arm/fclrexcpt.c (feclearexcept):
36078         Optimize to avoid unnecessary FPSCR writes.
36079         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
36080         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
36081         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
36082         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
36084 2014-06-24  Wilco  <wdijkstr@arm.com>
36086         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
36087         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
36088         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
36089         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
36090         Call libc_fetestexcept_vfp.
36091         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
36092         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
36093         __SOFTFP__ ifdef so that they can be built for softfp.
36095 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36097         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
36098         argument type signed char.
36100         * Makerules (check-abi): Dump diff of symlist if the test
36101         fails.
36103 2014-06-23  Roland McGrath  <roland@hack.frob.com>
36105         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
36106         using abort.
36108         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
36109         Remove unused variable ST.
36111 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
36113         [BZ #16354]
36114         [BZ #17061]
36115         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
36116         small arguments before calling __expm1.
36117         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
36118         small arguments before calling __expm1f.
36119         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
36120         small arguments before calling __expm1l.
36121         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
36122         Likewise.
36123         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
36124         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
36125         spurious underflow for some cosh tests.
36126         * math/auto-libm-test-out: Regenerated.
36127         * sysdeps/i386/fpu/libm-test-ulps: Update.
36129         [BZ #17050]
36130         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
36131         (__ieee754_y1): Set errno if return value overflows.
36132         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
36133         (__ieee754_y1f): Set errno if return value overflows.
36134         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
36135         (__ieee754_y1l): Set errno if return value overflows.
36136         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
36137         (__ieee754_y1l): Set errno if return value overflows.
36138         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
36139         * math/auto-libm-test-out: Regenerated.
36141         * math/gen-auto-libm-tests.c: Document use of
36142         ignore-zero-inf-sign.
36143         (input_flag_type): Add value flag_ignore_zero_inf_sign.
36144         (input_flags): Add ignore-zero-inf-sign.
36145         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
36146         * math/gen-libm-test.pl (generate_testfile): Handle
36147         ignore-zero-inf-sign.
36148         * math/auto-libm-test-in: Mark some cpow tests with
36149         ignore-zero-inf-sign and some with xfail-rounding.
36150         * math/auto-libm-test-out: Regenerated.
36151         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
36152         * sysdeps/i386/fpu/libm-test-ulps: Update.
36153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36155         [BZ #16315]
36156         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
36157         overflowing or underflowing operations take place with sign of
36158         result.
36159         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36160         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
36161         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
36162         (__ieee754_pow): Recompute overflowing and underflowing results in
36163         original rounding mode.
36164         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
36165         (__powl_helper): Allow negative argument X and scale negated value
36166         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
36167         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
36168         overflowing or underflowing operations take place with sign of
36169         result.
36170         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
36171         Include <math.h>.
36172         * math/auto-libm-test-in: Add more tests of pow.
36173         * math/auto-libm-test-out: Regenerated.
36174         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
36175         (pow_tonearest_test_data): Remove.
36176         (pow_test_tonearest): Likewise.
36177         (pow_towardzero_test_data): Likewise.
36178         (pow_test_towardzero): Likewise.
36179         (pow_downward_test_data): Likewise.
36180         (pow_test_downward): Likewise.
36181         (pow_upward_test_data): Likewise.
36182         (pow_test_upward): Likewise.
36183         (main): Don't call removed functions.
36184         * sysdeps/i386/fpu/libm-test-ulps: Update.
36185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36187 2014-06-23  Roland McGrath  <roland@hack.frob.com>
36189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
36190         Moved ...
36191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
36192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36193         Moved ...
36194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
36195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36196         Moved ...
36197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
36198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
36199         Moved ...
36200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
36201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
36202         File removed.
36203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36204         File removed.
36205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
36206         File removed.
36207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
36208         File removed.
36209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
36210         File removed.
36211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
36212         File removed.
36213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
36214         File removed.
36215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36216         File removed.
36217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
36218         File removed.
36219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36220         File removed.
36221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
36222         File removed.
36223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
36224         File removed.
36225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
36226         Moved ...
36227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
36228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
36229         Moved ...
36230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
36231         ... here.
36232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
36233         Moved ...
36234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
36235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
36236         Moved ...
36237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
36238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
36239         Moved ...
36240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
36241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
36242         Moved ...
36243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
36244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
36245         Moved ...
36246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
36247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
36248         Moved ...
36249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
36250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
36251         Moved ...
36252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
36253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
36254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
36255         ... here.
36256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
36257         Moved ...
36258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
36259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
36260         Moved ...
36261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
36262         ... here.
36263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
36264         Moved ...
36265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
36266         ... here.
36267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
36268         Moved ...
36269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
36270         ... here.
36271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
36272         Moved ...
36273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
36274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
36275         Moved ...
36276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
36277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
36278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
36279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
36280         Moved ...
36281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
36282         ... here.
36283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36284         Moved ...
36285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
36286         ... here.
36287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
36288         Moved ...
36289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
36290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36291         Moved ...
36292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
36293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
36294         Moved ...
36295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
36296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36297         Moved ...
36298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
36299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
36300         Moved ...
36301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
36302         ... here.
36303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36304         Moved ...
36305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
36306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
36307         Moved ...
36308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
36309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36310         Moved ...
36311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
36312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
36313         Moved ...
36314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
36315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
36316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
36317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
36318         Moved ...
36319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
36320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36321         Moved ...
36322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
36323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
36324         Moved ...
36325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
36326         ... here.
36327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36328         Moved ...
36329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
36330         ... here.
36331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
36332         Moved ...
36333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
36334         ... here.
36335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36336         Moved ...
36337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
36338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
36339         Moved ...
36340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
36341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36342         Moved ...
36343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
36344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
36345         Moved ...
36346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
36347         ... here.
36348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36349         Moved ...
36350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
36351         ... here.
36352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
36353         Moved ...
36354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
36355         ... here.
36356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36357         Moved ...
36358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
36359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
36360         Moved ...
36361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
36363 2014-06-23  Will Newton  <will.newton@linaro.org>
36364             Wilco  <wdijkstr@arm.com>
36366         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
36367         implementation.  Include get-rounding-mode.h.
36368         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
36369         [!libc_feholdsetround_noex_ctx]: Define
36370         libc_feholdsetround_noex_ctx.
36371         [!libc_feholdsetround_noexf_ctx]: Define
36372         libc_feholdsetround_noexf_ctx.
36373         [!libc_feholdsetround_noexl_ctx]: Define
36374         libc_feholdsetround_noexl_ctx.
36375         (libc_feholdsetround_ctx): New function.
36376         (libc_feresetround_ctx): New function.
36377         (libc_feholdsetround_noex_ctx): New function.
36378         (libc_feresetround_noex_ctx): New function.
36380 2014-06-23  Roland McGrath  <roland@hack.frob.com>
36382         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
36383         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
36384         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
36385         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
36386         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
36387         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
36389         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
36390         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
36391         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
36392         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
36393         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
36394         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
36395         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
36396         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
36397         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
36398         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
36399         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
36400         Moved ...
36401         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
36402         ... here.
36403         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
36404         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
36405         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
36406         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
36407         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
36408         Moved ...
36409         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
36410         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
36411         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
36412         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
36413         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
36414         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
36415         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
36416         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
36417         Moved ...
36418         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
36419         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
36420         Moved ...
36421         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
36422         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
36423         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
36424         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
36425         Moved ...
36426         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
36427         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
36428         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
36429         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
36430         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
36431         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
36432         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
36433         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
36434         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
36435         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
36436         Moved ...
36437         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
36438         ... here.
36439         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
36440         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
36441         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
36442         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
36443         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
36444         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
36445         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
36446         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
36447         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
36448         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
36449         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
36450         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
36451         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
36452         Moved ...
36453         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
36454         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
36455         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
36456         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
36457         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
36458         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
36459         Moved ...
36460         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
36461         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
36462         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
36463         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
36464         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
36466         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
36467         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
36468         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
36469         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
36470         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
36471         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
36472         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
36473         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
36474         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
36475         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
36476         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
36477         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
36478         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
36479         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
36480         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
36481         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
36482         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
36483         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
36484         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
36485         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
36486         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
36487         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
36488         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
36489         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
36490         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
36491         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
36492         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
36493         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
36495 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
36497         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
36498         (FALLOC_FL_COLLAPSE_RANGE): New macro.
36499         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
36500         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
36501         (IPV6_PMTUDISC_INTERFACE): Likewise.
36502         (IPV6_PMTUDISC_OMIT): Likewise.
36504 2014-06-23  Andreas Schwab  <schwab@suse.de>
36506         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
36507         Remove unused errout label.
36509 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36511         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
36512         macro: hardware supports Vector Crypto instructions.
36514 2014-06-23  Will Newton  <will.newton@linaro.org>
36516         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
36517         rather than __builtin_expect.
36519         * elf/dl-lookup.c (undefined_msg): Remove variable.
36520         (_dl_lookup_symbol_x): Replace undefined_msg with string
36521         literal.
36523         * elf/dl-lookup.c (do_lookup_unique): New function.
36524         (do_lookup_x): Move STB_GNU_UNIQUE handling code
36525         to a separate function.
36527 2014-06-23  Andreas Schwab  <schwab@suse.de>
36529         [BZ #17079]
36530         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
36531         before reading the next line.
36533 2014-06-23  Will Newton  <will.newton@linaro.org>
36535         * test-skeleton.c (signal_handler): Use printf and %m
36536         rather than perror.  Use printf rather than fprintf to
36537         stderr.  Use puts rather than fputs to stderr.
36538         (main): Likewise.
36540 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
36542         * nscd/nscd.c (thread_info_t): Remove typedef.
36543         (thread_info): Remove variable.
36545 2014-06-21  Allan McRae  <allan@archlinux.org>
36547         * NEWS: Mention CVE-2014-4043.
36549 2014-06-20  Roland McGrath  <roland@hack.frob.com>
36551         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
36552         * nptl/smp.h: ... here.
36554         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
36556         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
36557         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
36558         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
36559         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
36561         * nptl/allocatestack.c: Include <stack-aliasing.h>.
36562         * nptl/stack-aliasing.h: New file.
36563         * sysdeps/i386/i686/stack-aliasing.h: New file.
36564         * sysdeps/i386/i686/nptl/Makefile: File removed.
36565         * sysdeps/x86_64/stack-aliasing.h: New file.
36566         * sysdeps/x86_64/nptl/Makefile
36567         (CFLAGS-pthread_create.c): Variable removed.
36569         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
36570         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
36571         old file.
36572         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
36573         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
36574         old file.
36576 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
36578         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36579         (__ASSUME_SIGFRAME_V2): Remove macro.
36580         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
36581         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
36582         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
36583         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
36584         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
36585         Declare as function.  Remove conditional macro definitions.
36586         (__default_rt_sa_restorer): Likewise.
36587         (__default_sa_restorer_v1): Remove declaration.
36588         (__default_sa_restorer_v2): Likewise.
36589         (__default_rt_sa_restorer_v1): Likewise.
36590         (__default_rt_sa_restorer_v2): Likewise.
36591         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
36592         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
36593         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
36595 2014-06-20  Roland McGrath  <roland@hack.frob.com>
36597         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
36598         (libpthread-routines): Add sysdep.
36599         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
36600         * sysdeps/unix/sysv/linux/sparc/Versions
36601         (libpthread: GLIBC_2.3.3): New version set.
36602         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
36603         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
36604         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
36605         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
36606         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
36607         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
36608         Moved ...
36609         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
36610         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
36611         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
36612         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
36613         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
36614         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
36615         * sysdeps/sparc/nptl/sem_init.c: ... here.
36616         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
36617         * sysdeps/sparc/nptl/sem_post.c: ... here.
36618         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
36619         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
36620         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
36621         * sysdeps/sparc/nptl/sem_wait.c: ... here.
36622         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
36623         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
36624         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
36625         (libpthread-routines): Add cpu_relax.
36626         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
36627         File removed.
36628         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
36629         (librt: GLIBC_2.3.3): New version set.
36630         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
36631         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
36632         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
36633         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
36634         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
36635         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
36636         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
36637         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
36638         Moved ...
36639         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
36640         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
36641         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
36642         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
36643         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
36644         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
36645         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
36646         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
36647         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
36648         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
36649         Moved ...
36650         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
36651         Update #include.
36652         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
36653         Moved ...
36654         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
36655         Update #include.
36656         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
36657         Moved ...
36658         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
36659         Update #include.
36660         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
36661         Moved ...
36662         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
36663         Update #include.
36664         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
36665         Moved ...
36666         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
36667         Update #include.
36668         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
36669         Moved ...
36670         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
36671         Update #include.
36672         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
36673         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
36674         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
36675         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
36676         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
36677         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
36678         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
36679         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
36680         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
36681         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
36682         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
36683         Moved ...
36684         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
36685         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
36686         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
36687         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
36688         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
36690 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
36692         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
36693         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
36694         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
36695         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
36696         * nscd/nscd.c: Likewise.
36697         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
36698         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
36699         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
36700         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
36702         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
36703         <kernel-features.h>.
36704         (init_mq_netlink): Remove conditional have_sock_cloexec
36705         definitions.  Remove code conditional on have_sock_cloexec < 0.
36706         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
36707         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
36708         * sysdeps/unix/sysv/linux/opensock.c: Do not include
36709         <kernel-features.h>.
36710         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
36711         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
36713 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
36715         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36716         Add tests for memset_chk and memset.
36718         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
36719         with AVX2_Usable.
36721 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
36723         [BZ #16046]
36724         * elf/tst-dl-iter-static.c: New file.
36725         * elf/Makefile (tests-static): Add tst-dl-iter-static.
36727         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
36728         error.
36730 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
36732         * sysdeps/unix/sysv/linux/kernel-features.h
36733         (__ASSUME_F_GETOWN_EX): Remove macro.
36734         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
36735         <kernel-features.h>.
36736         (miss_F_GETOWN_EX): Remove variable or macro.
36737         (do_fcntl): Do not check miss_F_GETOWN_EX.
36738         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
36740         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
36741         Remove macro.
36742         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
36743         [!__ASSUME_AT_RANDOM]: Remove conditional code.
36744         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
36746         * sysdeps/unix/sysv/linux/kernel-features.h
36747         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
36748         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
36749         [ADJ_OFFSET_SS_READ]: Make code unconditional.
36750         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
36752 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
36754         [BZ #17075]
36755         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
36756         Fix calculation of the symbol's value.
36757         * sysdeps/arm/tst-armtlsdescloc.c: New file.
36758         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
36759         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
36760         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
36761         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
36762         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
36763         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
36764         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
36765         (modules-names): Add `tst-armtlsdescmod',
36766         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
36767         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
36768         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
36769         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
36770         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
36771         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
36772         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
36773         ($(objpfx)tst-armtlsdescloc): New dependency.
36774         ($(objpfx)tst-armtlsdescextnow): Likewise.
36775         ($(objpfx)tst-armtlsdescextlazy): Likewise.
36776         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
36777         TLS scheme support.
36778         * sysdeps/arm/configure: Regenerate.
36780 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
36782         * include/fcntl.h (__atfct_seterrno): Remove prototype.
36783         (__atfct_seterrno_2): Likewise.
36784         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
36785         <kernel-features.h>.
36786         (__ASSUME_ATFCTS): Do not undefine and redefine.
36787         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
36788         (__have_atfcts): Remove conditional definition.
36789         (__fxstatat([__NR_fstatat64]: Make code unconditional.
36790         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
36791         unreachable if [__ASSUME_ATFCTS].
36792         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
36793         not undefine and redefine.
36794         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
36795         <kernel-features.h>.
36796         (faccessat) [__NR_faccessat]: Make code unconditional.
36797         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
36798         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
36799         <kernel-features.h>.
36800         (fchmodat) [__NR_fchmodat]: Make code unconditional.
36801         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
36802         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
36803         <kernel-features.h>.
36804         (fchownat) [__NR_fchownat]: Make code unconditional.
36805         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
36806         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
36807         <kernel-features.h>.
36808         (futimesat) [__NR_futimesat]: Make code unconditional.
36809         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
36810         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
36811         <kernel-features.h>.
36812         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
36813         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
36814         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
36815         <kernel-features.h>.
36816         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
36817         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
36818         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
36819         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
36820         <kernel-features.h>.
36821         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
36822         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
36823         * sysdeps/unix/sysv/linux/linkat.c: Do not include
36824         <kernel-features.h>.
36825         (linkat) [__NR_linkat]: Make code unconditional.
36826         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
36827         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
36828         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
36829         <kernel-features.h>.
36830         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
36831         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
36832         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
36833         <kernel-features.h>.
36834         (mkdirat) [__NR_mkdirat]: Make code unconditional.
36835         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
36836         * sysdeps/unix/sysv/linux/openat.c: Do not include
36837         <kernel-features.h>.
36838         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
36839         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
36840         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
36841         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
36842         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
36843         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
36844         <kernel-features.h>.
36845         (readlinkat) [__NR_readlinkat]: Make code unconditional.
36846         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
36847         result of INLINE_SYSCALL directly, not via int variable.
36848         * sysdeps/unix/sysv/linux/renameat.c: Do not include
36849         <kernel-features.h>.
36850         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
36851         (renameat) [__NR_renameat]: Make code unconditional.
36852         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
36853         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
36854         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
36855         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
36856         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
36857         (__ASSUME_ATFCTS): Do not undefine and redefine.
36858         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
36859         <kernel-features.h>.
36860         (symlinkat) [__NR_symlinkat]: Make code unconditional.
36861         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
36862         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
36863         <kernel-features.h>.
36864         (unlinkat) [__NR_unlinkat]: Make code unconditional.
36865         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
36866         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
36867         (__ASSUME_ATFCTS): Do not undefine and redefine.
36868         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
36869         <kernel-features.h>.
36870         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
36871         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
36872         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
36873         <kernel-features.h>.
36874         (__xmknodat) [__NR_mknodat]: Make code unconditional.
36875         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
36877 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
36879         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
36881 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
36883         [BZ #17069]
36884         * posix/regcomp.c (parse_reg_exp): Deallocate partially
36885         constructed tree before returning error.
36886         * posix/bug-regexp36.c: Expand test case.
36888 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
36890         [BZ #6803]
36891         * math/libm-test.inc (scalbln_test_date):
36892         Add errno expectations.
36893         * math/w_scalblnf.c: New File.
36894         Add wrapper which checks for setting errno to ERANGE.
36895         Add weak_alias for corresponding scalbln function.
36896         * math/w_scalbln.c: Likewise.
36897         * math/w_scalblnl.c: Likewise.
36898         * math/Makefile (libm-calls): Add w_scalbln.
36899         * sysdeps/ieee754/flt-32/s_scalblnf.c:
36900         Remove weak_alias for corresponding scalbln function.
36901         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
36902         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
36903         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36904         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36905         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
36906         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
36907         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
36908         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
36909         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
36910         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
36911         Remove long_double_symbol for scalblnl function in libm, libc.
36912         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
36913         Add wrapper which checks for setting errno to ERANGE.
36914         Add long_double_symbol for scalblnl function in libm, libc.
36915         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
36916         Remove long_double_symbol for scalblnl in libm.
36917         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
36918         Add wrapper which checks for setting errno to ERANGE.
36919         Add long_double_symbol for scalblnl function in libm.
36920         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
36921         Do not use wrapper because of own implementation.
36923 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
36925         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
36926         3 bytes for __pad1 for x32.
36927         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
36929 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
36930             H.J. Lu  <hongjiu.lu@intel.com>
36932         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
36933         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
36934         * sysdeps/x86_64/multiarch/memset.S: Likewise.
36935         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36936         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
36938 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
36940         [BZ #17069]
36941         * posix/regcomp.c (parse_expression): Deallocate partially
36942         constructed tree before returning error.
36943         * posix/Makefile.c (tests): Add bug-regex36.
36944         (generated): Add bug-regex36.mtrace.
36945         (tests-special): Add $(objpfx)bug-regex36-mem.out
36946         (bug-regex36-ENV): New variable.
36947         ($(objpfx)bug-regex36-mem.out): New rule.
36948         * posix/bug-regex36.c: New file.
36950 2014-06-19  Will Newton  <will.newton@linaro.org>
36952         * malloc/malloc.c (systrim): If extra is zero then return
36953         early.
36955 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36957         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
36959 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
36961         * sysdeps/aarch64/strchr.S: New file.
36963 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
36965         [BZ #17022]
36966         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
36967         from arguments -2 or below.
36968         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
36969         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
36971 2014-06-18  Andreas Schwab  <schwab@suse.de>
36973         [BZ #17062]
36974         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
36975         of a bracket expr not to run off the end of the string.
36976         * posix/Makefile (tests): Add tst-fnmatch3.
36977         * posix/tst-fnmatch3.c: New file.
36979 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
36981         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
36982         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
36983         [$(cross-compiling) = no]: Likewise.
36984         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
36985         [$(cross-compiling) = no]: Likewise.
36987 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
36989         [BZ #17031]
36990         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
36991         double, adjusted for any remainder from the high double.
36992         * math/libm-test.inc (nearbyint): Add tests.
36993         (rint): Likewise.
36995 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36997         * nptl/sysdeps/powerpc/Makefile: Moved ...
36998         * sysdeps/powerpc/nptl/Makefile: ... here.
36999         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
37000         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
37001         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
37002         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
37003         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
37004         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
37005         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
37006         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
37007         * nptl/sysdeps/powerpc/tls.h: Moved ...
37008         * sysdeps/powerpc/nptl/tls.h: ... here.
37010 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
37012         [BZ #16681]
37013         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
37014         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
37015         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
37016         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
37017         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
37018         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
37019         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
37020         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
37021         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
37023 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
37025         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
37027 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
37029         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
37030         defined operator.
37032         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
37033         $TIMEOUTFACTOR.
37035 2014-06-16  Florian Weimer  <fweimer@redhat.com>
37037         [BZ #17058]
37038         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
37039         non-executed part of the test.
37041 2014-06-16  Andreas Schwab  <schwab@suse.de>
37043         * string/bits/string2.h (strdup, strndup): Update feature guard.
37045 2014-06-14  David S. Miller  <davem@davemloft.net>
37047         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37049 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
37051         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
37052         that was previously under [RESET_PID].
37053         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
37055         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
37056         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
37057         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
37058         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
37059         (__libc_vfork): New strong alias.
37060         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
37062 2014-06-14 Andi Kleen  <ak@linux.intel.com>
37064         * sysdeps/generic/elide.h: New file.
37066 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
37068         * Makefile (installed-headers): Adjust path of pthread.h header.
37070 2014-06-13  Roland McGrath  <roland@hack.frob.com>
37072         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
37073         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
37074         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
37075         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
37077         * nptl/sysdeps/s390/Makefile: Moved ...
37078         * sysdeps/s390/nptl/Makefile: ... here.
37079         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
37080         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
37081         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
37082         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
37083         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
37084         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
37085         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
37086         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
37087         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
37088         * sysdeps/s390/nptl/pthreaddef.h: ... here.
37089         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
37090         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
37091         * nptl/sysdeps/s390/tls.h: Moved ...
37092         * sysdeps/s390/nptl/tls.h: ... here.
37094         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
37095         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
37097 2014-06-13  David S. Miller  <davem@davemloft.net>
37099         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
37100         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
37101         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
37102         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
37103         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
37104         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
37105         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
37106         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
37107         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
37108         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
37109         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
37110         Remove RESET_PID cpp guards.
37111         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
37112         Remove RESET_PID cpp guards.
37113         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
37115 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
37117         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
37118         __sp to uintptr_t.
37120 2014-06-13  Andi Kleen  <ak@linux.intel.com>
37122         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
37123         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
37124         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
37125         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
37126         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
37127         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
37128         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
37129         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
37130         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
37131         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
37132         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
37133         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
37134         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
37135         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
37136         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
37137         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
37138         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
37139         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
37140         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
37141         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
37143         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
37144         (pthread_rwlock_rdlock): Add elision.
37145         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
37146         (pthread_rwlock_wrlock): Add elision.
37147         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
37148         (pthread_rwlock_trywrlock): Add elision.
37149         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
37150         (pthread_rwlock_tryrdlock): Add elision.
37151         * nptl/pthread_rwlock_unlock.c: Include elide.h.
37152         (pthread_rwlock_tryrdlock): Add elision unlock.
37153         * nptl/sysdeps/pthread/pthread.h:
37154         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
37155         (PTHREAD_RWLOCK_INITIALIZER,
37156         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
37157         Handle new elision field.
37158         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
37159         * sysdeps/arm/nptl/bits/pthreadtypes.h
37160         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37161         * sysdeps/sh/nptl/bits/pthreadtypes.h
37162         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37163         * sysdeps/tile/nptl/bits/pthreadtypes.h
37164         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37165         * sysdeps/a/nptl/bits/pthreadtypes.h
37166         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37167         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
37168         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37169         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
37170         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37171         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
37172         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37173         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
37174         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37175         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
37176         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37177         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
37178         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37179         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
37180         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37181         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
37182         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37183         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
37184         (elision_init): Set try_xbegin to zero when no RTM.
37185         * sysdeps/x86/nptl/bits/pthreadtypes.h
37186         (pthread_rwlock_t): Change __pad1 to __rwelision.
37187         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37189 2014-06-13  Andi Kleen  <ak@linux.intel.com>
37191         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
37192         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
37193         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
37194         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
37196 2014-06-13  Meador Inge  <meadori@codesourcery.com>
37198         [BZ #16996]
37199         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
37200         that the cached result has been set before returning it.
37202 2014-06-12  Roland McGrath  <roland@hack.frob.com>
37204         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
37205         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
37206         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
37207         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
37208         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
37209         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
37211         * nptl/sysdeps/sparc/Makefile: Moved ...
37212         * sysdeps/sparc/nptl/Makefile: ... here.
37213         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
37214         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
37215         * nptl/sysdeps/sparc/tls.h: Moved ...
37216         * sysdeps/sparc/nptl/tls.h: ... here.
37217         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
37218         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
37219         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
37220         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
37221         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
37222         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
37223         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
37224         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
37225         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
37226         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
37227         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
37228         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
37229         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
37230         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
37231         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
37232         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
37233         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
37234         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
37235         Update #include.
37236         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
37237         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
37238         Update #include.
37239         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
37240         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
37241         Update #include.
37242         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
37243         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
37244         Update #include.
37246         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
37248         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
37249         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
37251         * sysdeps/pthread/posix-timer.h: Include <list.h>.
37252         (struct list_links): Type removed.
37253         (struct thread_node, struct timer_node): Replace struct list_links
37254         with struct list_head.
37255         (list_unlink_ip): Likewise.
37256         * sysdeps/pthread/timer_routines.c
37257         (timer_free_list, thread_free_list, thread_active_list): Likewise.
37258         (list_append, list_insbefore): Likewise.
37259         (list_init): Function removed.
37260         (thread_init, init_module): Use INIT_LIST_HEAD instead.
37261         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
37262         * sysdeps/pthread/Makefile: ... here, new file.
37264         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
37265         * sysdeps/nptl/Implies: ... here.
37266         * sysdeps/unix/sysv/linux/Implies: Add nptl.
37267         * nptl/sysdeps/pthread/list.h: Moved ...
37268         * include/list.h: ... here.
37269         * nptl/sysdeps/pthread/createthread.c: Moved ...
37270         * nptl/createthread.c: ... here.
37271         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
37272         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
37273         * nptl/pt-longjmp.c: ... here.
37274         * nptl/sysdeps/pthread/Makefile: Moved ...
37275         * sysdeps/nptl/Makefile: ... here.
37276         * nptl/sysdeps/pthread/Subdirs: Moved ...
37277         * sysdeps/nptl/Subdirs: ... here.
37278         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
37279         * sysdeps/nptl/aio_misc.h: ... here.
37280         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
37281         * sysdeps/nptl/bits/libc-lock.h: ... here.
37282         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
37283         * sysdeps/nptl/bits/libc-lockP.h: ... here.
37284         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
37285         * sysdeps/nptl/bits/stdio-lock.h: ... here.
37286         * nptl/sysdeps/pthread/configure: Moved ...
37287         * sysdeps/nptl/configure: ... here.
37288         * nptl/sysdeps/pthread/configure.ac: Moved ...
37289         * sysdeps/nptl/configure.ac: ... here.
37290         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
37291         * sysdeps/nptl/gai_misc.h: ... here.
37292         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
37293         * sysdeps/nptl/librt-cancellation.c: ... here.
37294         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
37295         * sysdeps/nptl/malloc-machine.h: ... here.
37296         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
37297         * sysdeps/nptl/pthread-functions.h: ... here.
37298         * nptl/sysdeps/pthread/pthread.h: Moved ...
37299         * sysdeps/nptl/pthread.h: ... here.
37300         * nptl/sysdeps/pthread/setxid.h: Moved ...
37301         * sysdeps/nptl/setxid.h: ... here.
37302         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
37303         * sysdeps/nptl/sigfillset.c: ... here.
37304         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
37305         * sysdeps/nptl/tcb-offsets.h: ... here.
37306         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
37307         * sysdeps/nptl/tst-mqueue8x.c: ... here.
37308         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
37309         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
37310         * nptl/sysdeps/pthread/allocalim.h: Moved ...
37311         * sysdeps/pthread/allocalim.h: ... here.
37312         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
37313         * sysdeps/pthread/bits/sigthread.h: ... here.
37314         * nptl/sysdeps/pthread/flockfile.c: Moved ...
37315         * sysdeps/pthread/flockfile.c: ... here.
37316         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
37317         * sysdeps/pthread/ftrylockfile.c: ... here.
37318         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
37319         * sysdeps/pthread/funlockfile.c: ... here.
37320         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
37321         * sysdeps/pthread/posix-timer.h: ... here.
37322         * nptl/sysdeps/pthread/timer_create.c: Moved ...
37323         * sysdeps/pthread/timer_create.c: ... here.
37324         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
37325         * sysdeps/pthread/timer_delete.c: ... here.
37326         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
37327         * sysdeps/pthread/timer_getoverr.c: ... here.
37328         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
37329         * sysdeps/pthread/timer_gettime.c: ... here.
37330         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
37331         * sysdeps/pthread/timer_routines.c: ... here.
37332         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
37333         * sysdeps/pthread/timer_settime.c: ... here.
37334         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
37335         * sysdeps/pthread/tst-timer.c: ... here.
37336         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
37337         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
37339         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
37340         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
37342         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
37343         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
37344         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
37345         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
37346         Update #include target.
37347         * nptl/sysdeps/i386/i686/Makefile: Moved ...
37348         * sysdeps/i386/i686/nptl/Makefile: ... here.
37349         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
37350         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
37351         Update #include target.
37352         * nptl/sysdeps/i386/i686/tls.h: Moved ...
37353         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
37354         * nptl/sysdeps/i386/Makefile: Moved ...
37355         * sysdeps/i386/nptl/Makefile: ... here.
37356         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
37357         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
37358         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
37359         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
37360         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
37361         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
37362         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
37363         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
37364         * sysdeps/i386/nptl/pthreaddef.h: ... here.
37365         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
37366         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
37367         * nptl/sysdeps/i386/tls.h: Moved ...
37368         * sysdeps/i386/nptl/tls.h: ... here.
37370         * sysdeps/sh/Makefile [$(subdir) = csu]
37371         (gen-as-const-headers): Add tcb-offsets.sym.
37372         * nptl/sysdeps/sh/Makefile: File removed.
37373         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
37374         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
37375         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
37376         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
37377         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
37378         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
37379         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
37380         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
37381         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
37382         * sysdeps/sh/nptl/pthreaddef.h: ... here.
37383         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
37384         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
37385         * nptl/sysdeps/sh/tls.h: Moved ...
37386         * sysdeps/sh/nptl/tls.h: ... here.
37387         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
37388         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
37389         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
37390         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
37391         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
37392         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
37393         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
37394         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
37395         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
37396         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
37397         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
37398         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
37399         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
37400         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
37401         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
37402         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
37403         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
37404         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
37405         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
37406         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
37407         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
37408         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
37409         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
37410         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
37411         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
37412         Moved ...
37413         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
37414         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
37415         Moved ...
37416         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
37417         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
37418         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
37419         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
37420         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
37421         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
37422         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
37423         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
37424         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
37425         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
37426         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
37427         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
37428         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
37429         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
37430         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
37431         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
37432         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
37433         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
37434         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
37436 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
37438         * posix/spawn_faction_addopen.c: Include string.h.
37440 2014-06-11  Roland McGrath  <roland@hack.frob.com>
37442         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
37443         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
37444         * nptl/sysdeps/x86_64/Makefile: Moved ...
37445         * sysdeps/x86_64/nptl/Makefile: ... here.
37446         * nptl/sysdeps/x86_64/configure: Moved ...
37447         * sysdeps/x86_64/nptl/configure: ... here.
37448         * nptl/sysdeps/x86_64/configure.ac: Moved ...
37449         * sysdeps/x86_64/nptl/configure.ac: ... here.
37450         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
37451         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
37452         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
37453         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
37454         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
37455         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
37456         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
37457         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
37458         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
37459         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
37460         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
37461         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
37462         * nptl/sysdeps/x86_64/tls.h: Moved ...
37463         * sysdeps/x86_64/nptl/tls.h: ... here.
37464         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
37465         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
37466         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
37467         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
37469         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
37471 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37473         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37475 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
37477         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
37478         type.
37479         [POSIX] (off_t): Likewise.
37480         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
37481         [POSIX] (S_ISBLK): Require macro.
37482         [POSIX] (S_ISCHR): Likewise.
37483         [POSIX] (S_ISDIR): Likewise.
37484         [POSIX] (S_ISFIFO): Likewise.
37485         [POSIX] (S_ISREG): Likewise.
37486         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
37487         optional-macro.
37488         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
37489         type.
37490         [POSIX] (time_t): Likewise.
37491         [POSIX] (timer_t): Likewise.
37493 2014-06-11  Florian Weimer  <fweimer@redhat.com>
37495         [BZ #17048]
37496         * posix/spawn_int.h (struct __spawn_action): Make the path string
37497         non-const to support deallocation.
37498         * posix/spawn_faction_addopen.c
37499         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
37500         * posix/spawn_faction_destroy.c
37501         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
37502         path in all spawn_do_open actions.
37503         * posix/tst-spawn.c (do_test): Exercise the copy operation in
37504         posix_spawn_file_actions_addopen.
37506 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
37508         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
37509         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
37510         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
37511         conditional code always true.
37512         (__libc_vfork): New alias.
37514 2014-06-11  Roland McGrath  <roland@hack.frob.com>
37516         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37517         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
37519         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
37521         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37522         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
37524         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
37525         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
37527         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37528         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
37530 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37532         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
37533         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
37534         multiarch strcmp for PPC64.
37535         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
37536         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
37537         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
37538         multiarch optimizations.
37539         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37540         (__libc_ifunc_impl_list): Likewise.
37542 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37544         * benchtests/scripts/validate_benchout.py: New script.
37545         * benchtests/Makefile (bench-func): Call it.
37546         * benchtests/scripts/benchout.schema.json: New file.
37548 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
37550         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
37551         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
37552         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
37553         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
37554         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
37555         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
37556         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
37557         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
37558         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
37559         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
37560         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
37561         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
37562         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
37563         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
37564         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
37565         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
37566         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
37567         Moved ...
37568         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
37569         ... here.
37570         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
37571         Moved ...
37572         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
37573         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
37574         Moved ...
37575         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
37576         ... here.
37577         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
37578         Moved ...
37579         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
37580         ... here.
37581         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
37582         Moved ...
37583         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
37584         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
37585         Moved ...
37586         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
37587         ... here.
37588         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
37589         Moved ...
37590         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
37591         ... here.
37592         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
37593         Moved ...
37594         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
37595         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
37596         Moved ...
37597         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
37598         ... here.
37599         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
37600         Moved ...
37601         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
37602         ... here.
37603         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
37604         Moved ...
37605         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
37606         ... here.
37607         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
37608         Moved ...
37609         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
37610         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
37611         Moved ...
37612         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
37613         ... here.
37614         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
37615         Moved ...
37616         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
37617         ... here.
37618         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
37619         Moved ...
37620         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
37621         ... here.
37622         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
37623         Moved ...
37624         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
37625         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
37626         Moved ...
37627         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
37628         ... here.
37629         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
37630         Moved ...
37631         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
37632         ... here.
37633         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
37634         Moved ...
37635         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
37636         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
37637         Moved ...
37638         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
37639         ... here.
37640         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
37641         Moved ...
37642         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
37643         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
37644         Moved ...
37645         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
37646         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
37647         Moved ...
37648         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
37649         ... here.
37650         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
37651         Moved ...
37652         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
37653         ... here.
37654         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
37655         Moved ...
37656         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
37657         ... here.
37658         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
37659         Moved ...
37660         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
37661         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
37662         Moved ...
37663         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
37664         ... here.
37665         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
37666         Moved ...
37667         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
37668         ... here.
37669         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
37670         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
37671         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
37672         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
37673         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
37674         Moved ...
37675         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
37676         ... here.
37677         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
37678         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
37679         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
37680         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
37681         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
37682         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
37683         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
37684         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
37685         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
37686         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
37687         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
37688         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
37689         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
37690         Moved ...
37691         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
37692         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
37693         Moved ...
37694         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
37695         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
37696         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
37697         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
37698         Moved ...
37699         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
37700         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
37701         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
37702         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
37703         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
37704         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
37705         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
37707 2014-06-10  Wilco  <wdijkstr@arm.com>
37709         * math/test-fenv-return.c: New file.
37710         * math/Makefile: Add new test test-fenv-return.
37712 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
37714         [BZ #17042]
37715         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
37716         when x - 1 is zero.
37717         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
37718         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
37719         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
37720         0.0L for an argument of 1.0L.
37721         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
37722         Likewise.
37723         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
37724         value when x - 1 is zero.
37725         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
37726         * sysdeps/i386/fpu/libm-test-ulps: Update.
37727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37729 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
37731         [BZ #15119]
37732         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
37734 2014-06-09  Roland McGrath  <roland@hack.frob.com>
37736         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
37737         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
37739 2014-06-09  Roland McGrath  <roland@hack.frob.com>
37741         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37742         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
37744         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37745         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
37747         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37748         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
37750         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37751         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
37753         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
37754         if not already defined.
37755         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
37756         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
37757         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
37758         (TLS_INIT_TP): Use it.
37759         (TLS_DEFINE_INIT_TP): New macro.
37760         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
37762 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
37764         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
37765         constant.
37766         [POSIX] (IXANY): Likewise.
37767         [POSIX] (OLCUC): Likewise.
37768         [POSIX || POSIX2008] (CBAUD): Do not allow.
37769         [POSIX || POSIX2008] (DEFECHO): Likewise.
37770         [POSIX || POSIX2008] (ECHOCTL): Likewise.
37771         [POSIX || POSIX2008] (ECHOKE): Likewise.
37772         [POSIX || POSIX2008] (ECHOPRT): Likewise.
37773         [POSIX || POSIX2008] (EXTA): Likewise.
37774         [POSIX || POSIX2008] (EXTB): Likewise.
37775         [POSIX || POSIX2008] (FLUSHO): Likewise.
37776         [POSIX || POSIX2008] (LOBLK): Likewise.
37777         [POSIX || POSIX2008] (PENDIN): Likewise.
37778         [POSIX || POSIX2008] (SWTCH): Likewise.
37779         [POSIX || POSIX2008] (VDISCARD): Likewise.
37780         [POSIX || POSIX2008] (VDSUSP): Likewise.
37781         [POSIX || POSIX2008] (VLNEXT): Likewise.
37782         [POSIX || POSIX2008] (VREPRINT): Likewise.
37783         [POSIX || POSIX2008] (VSTATUS): Likewise.
37784         [POSIX || POSIX2008] (VWERASE): Likewise.
37785         (B*): Change to B[0123456789]*.
37786         * conform/data/time.h-data [POSIX || UNIX98]
37787         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
37788         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
37789         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
37790         [POSIX] (tm_*): Do not allow.
37792 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
37794         * Makefile (install): Don't set LANGUAGE.
37795         * Makefile.in (install): Likewise.
37796         * assert/Makefile (test-assert-ENV): Remove variable.
37797         (test-assert-perr-ENV): Likewise.
37798         * elf/Makefile (neededtest4-ENV): Likewise.
37799         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
37800         [$(cross-compiling) = no]: Don't set LANGUAGE.
37801         * io/ftwtest-sh (LANG): Remove variable.
37802         * libio/Makefile (tst-widetext-ENV): Likewise.
37803         * manual/install.texi (Running make install): Don't refer to
37804         environment settings for make install.
37805         * INSTALL: Regenerated.
37806         * nptl/tst-tls6.sh: Don't set LANG.
37807         * posix/globtest.sh (LANG): Remove variable.
37808         * string/Makefile (tester-ENV): Likewise.
37809         (inl-tester-ENV): Likewise.
37810         (noinl-tester-ENV): Likewise.
37811         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
37812         [$(cross-compiling) = no]: Don't set LANGUAGE.
37813         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
37814         without explicit environment settings.
37816 2014-06-06  Roland McGrath  <roland@hack.frob.com>
37818         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
37819         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
37820         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
37821         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
37823 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
37825         * crypt/crypt-private.h [DOS]: Add some includes taken from the
37826         other files in the crypt directory.
37827         * crypt/crypt.c: Remove duplicate includes.
37828         * crypt/crypt-entry.c: Likewise.
37829         * crypt/crypt_util.c: Likewise.
37831 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
37833         * Makeconfig (run-program-env): New variable.
37834         (run-program-prefix-before-env): Likewise.
37835         (run-program-prefix-after-env): Likewise.
37836         (run-program-prefix): Define in terms of new variables.
37837         (built-program-cmd-before-env): New variable.
37838         (built-program-cmd-after-env): Likewise.
37839         (built-program-cmd): Define in terms of new variables.
37840         (test-program-prefix-before-env): New variable.
37841         (test-program-prefix-after-env): Likewise.
37842         (test-program-prefix): Define in terms of new variables.
37843         (test-program-cmd-before-env): New variable.
37844         (test-program-cmd-after-env): Likewise.
37845         (test-program-cmd): Define in terms of new variables.
37846         * Rules (make-test-out): Use $(run-program-env).
37847         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
37848         (help): Do not mention environment variables.  Mention
37849         --timeoutfactor option.
37850         (timeoutfactor): New variable.
37851         (blacklist_exports): Remove function.
37852         (exports): Remove variable.
37853         (command): Do not include ${exports}.
37854         * manual/install.texi (Configuring and compiling): Do not mention
37855         test wrappers preserving environment variables.  Mention that last
37856         assignment to a variable must take precedence.
37857         * INSTALL: Regenerated.
37858         * benchtests/Makefile (run-bench): Use $(run-program-env).
37859         * catgets/Makefile ($(objpfx)test1.cat): Use
37860         $(built-program-cmd-before-env), $(run-program-env) and
37861         $(built-program-cmd-after-env).
37862         ($(objpfx)test2.cat): Do not specify environment variables
37863         explicitly.
37864         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
37865         $(run-program-env) and $(built-program-cmd-after-env).
37866         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
37867         $(run-program-env) and $(test-program-cmd-after-env).
37868         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
37869         explicitly.
37870         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
37871         run_program_env and test_program_cmd_after_env arguments.
37872         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
37873         * elf/tst-pathopt.sh: Use run_program_env argument.
37874         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
37875         $(test-wrapper-env) and $(run-program-env).
37876         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
37877         run_program_env arguments.
37878         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
37879         * intl/Makefile ($(objpfx)tst-gettext.out): Use
37880         $(test-program-prefix-before-env), $(run-program-env) and
37881         $(test-program-prefix-after-env).
37882         ($(objpfx)tst-gettext2.out): Likewise.
37883         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
37884         run_program_env and test_program_prefix_after_env arguments.
37885         * intl/tst-gettext2.sh: Likewise.
37886         * intl/tst-gettext4.sh: Do not set environment variables
37887         explicitly.
37888         * intl/tst-gettext6.sh: Likewise.
37889         * intl/tst-translit.sh: Likewise.
37890         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
37891         $(test-program-prefix-before-env), $(run-program-env) and
37892         $(test-program-prefix-after-env).
37893         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
37894         run_program_env and test_program_prefix_after_env arguments.
37895         * math/Makefile (run-regen-ulps): Use $(run-program-env).
37896         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
37897         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
37898         explicitly with each use of ${test_wrapper_env}.
37899         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
37900         $(test-program-prefix-before-env), $(run-program-env) and
37901         $(test-program-prefix-after-env).
37902         * posix/tst-getconf.sh: Do not set environment variables
37903         explicitly.
37904         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
37905         run_program_env and test_program_prefix_after_env arguments.
37906         * stdio-common/tst-printf.sh: Do not set environment variables
37907         explicitly.
37908         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
37909         $(test-program-prefix-before-env), $(run-program-env) and
37910         $(test-program-prefix-after-env).
37911         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
37912         run_program_env and test_program_prefix_after_env arguments.
37913         Split $test calls into $test_pre and $test.
37914         * timezone/Makefile (build-testdata): Use
37915         $(built-program-cmd-before-env), $(run-program-env) and
37916         $(built-program-cmd-after-env).
37918 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37920         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
37921         strlen for non SHARED builds.
37923 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37925         * nptl/allocatestack.c (check_list): Inlined function...
37926         (__reclaim_stacks): ... here.
37928 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
37930         [BZ #15698]
37931         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
37932         memory overrun.
37934 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
37936         * Rules (make-test-out): Include
37937         LOCPATH=$(common-objpfx)localedata in default environment.
37938         * debug/Makefile (tst-chk1-ENV): Remove variable.
37939         (tst-chk2-ENV): Likewise.
37940         (tst-chk3-ENV): Likewise.
37941         (tst-chk4-ENV): Likewise.
37942         (tst-chk5-ENV): Likewise.
37943         (tst-chk6-ENV): Likewise.
37944         (tst-lfschk1-ENV): Likewise.
37945         (tst-lfschk2-ENV): Likewise.
37946         (tst-lfschk3-ENV): Likewise.
37947         (tst-lfschk4-ENV): Likewise.
37948         (tst-lfschk5-ENV): Likewise.
37949         (tst-lfschk6-ENV): Likewise.
37950         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
37951         (tst-iconv7-ENV): Likewise.
37952         * intl/Makefile (LOCPATH-ENV): Likewise.
37953         (tst-codeset-ENV): Likewise.
37954         (tst-gettext3-ENV): Likewise.
37955         (tst-gettext5-ENV): Likewise.
37956         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
37957         (tst-fopenloc-ENV): Likewise.
37958         (tst-fgetws-ENV): Remove variable.
37959         (tst-ungetwc1-ENV): Likewise.
37960         (tst-ungetwc2-ENV): Likewise.
37961         (bug-ungetwc2-ENV): Likewise.
37962         (tst-swscanf-ENV): Likewise.
37963         (bug-ftell-ENV): Likewise.
37964         (tst-fgetwc-ENV): Likewise.
37965         (tst-fseek-ENV): Likewise.
37966         (tst-ftell-partial-wide-ENV): Likewise.
37967         (tst-ftell-active-handler-ENV): Likewise.
37968         (tst-ftell-append-ENV): Likewise.
37969         * posix/Makefile (tst-fnmatch-ENV): Likewise.
37970         (tst-regexloc-ENV): Likewise.
37971         (bug-regex1-ENV): Likewise.
37972         (tst-regex-ENV): Likewise.
37973         (tst-regex2-ENV): Likewise.
37974         (bug-regex5-ENV): Likewise.
37975         (bug-regex6-ENV): Likewise.
37976         (bug-regex17-ENV): Likewise.
37977         (bug-regex18-ENV): Likewise.
37978         (bug-regex19-ENV): Likewise.
37979         (bug-regex20-ENV): Likewise.
37980         (bug-regex22-ENV): Likewise.
37981         (bug-regex23-ENV): Likewise.
37982         (bug-regex25-ENV): Likewise.
37983         (bug-regex26-ENV): Likewise.
37984         (bug-regex30-ENV): Likewise.
37985         (bug-regex32-ENV): Likewise.
37986         (bug-regex33-ENV): Likewise.
37987         (bug-regex34-ENV): Likewise.
37988         (bug-regex35-ENV): Likewise.
37989         (tst-rxspencer-ENV): Likewise.
37990         (tst-rxspencer-no-utf8-ENV): Likewise.
37991         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
37992         (tst-sscanf-ENV): Likewise.
37993         (tst-swprintf-ENV): Likewise.
37994         (tst-swscanf-ENV): Likewise.
37995         (test-vfprintf-ENV): Likewise.
37996         (scanf13-ENV): Likewise.
37997         (bug14-ENV): Likewise.
37998         (tst-grouping-ENV): Likewise.
37999         * stdlib/Makefile (tst-strtod-ENV): Likewise.
38000         (tst-strtod3-ENV): Likewise.
38001         (tst-strtod4-ENV): Likewise.
38002         (tst-strtod5-ENV): Likewise.
38003         (testmb2-ENV): Likewise./
38004         * string/Makefile (tst-strxfrm-ENV): Likewise.
38005         (tst-strxfrm2-ENV): Likewise.
38006         (bug-strcoll1-ENV): Likewise.
38007         (test-strcasecmp-ENV): Likewise.
38008         (test-strncasecmp-ENV): Likewise.
38009         * time/Makefile (tst-strptime-ENV): Likewise.
38010         (tst-ftime_l-ENV): Likewise.
38011         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
38012         (tst-mbrtowc-ENV): Likewise.
38013         (tst-wcrtomb-ENV): Likewise.
38014         (tst-mbrtowc2-ENV): Likewise.
38015         (tst-c16c32-1-ENV): Likewise.
38016         (tst-mbsnrtowcs-ENV): Likewise.
38018 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
38020         * manual/resource.texi (How to get information about the memory
38021         subsystem?): Fix typo.
38022         Reported by Peon de la Parra Ivan <peon@keba.com>
38024 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
38026         [BZ #16882]
38027         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
38028         (pthread_spin_lock): Branch out of spin loop to proper location.
38029         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
38030         (pthread_spin_lock): Likewise.
38032         * nptl/tst-spin4.c: New test.
38033         * nptl/Makefile (tests): Add tst-spin4.
38035 2014-06-03  Andreas Schwab  <schwab@suse.de>
38037         [BZ #15946]
38038         * resolv/res_send.c (send_dg): Reload file descriptor after
38039         calling reopen.
38041 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
38043         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38045 2014-06-03  Richard Henderson  <rth@redhat.com>
38047         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
38048         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
38049         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
38050         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
38051         in the SAVE_PID block.
38052         (__libc_vfork): New alias.
38053         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
38055         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
38056         child in registers, not on the stack.  Remove RESET_PID conditionals.
38057         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
38059 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
38061         * sysdeps/aarch64/libm-test-ulps: Regenerate.
38063 2014-06-03  Wilco  <wdijkstr@arm.com>
38065         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
38066         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
38067         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
38068         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
38069         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
38070         Likewise.
38072 2014-06-03  Wilco  <wdijkstr@arm.com>
38074         * sysdeps/aarch64/fpu/math_private.h
38075         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
38076         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
38077         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
38078         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
38079         Fix declarations.
38081 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38083         * crypt/crypt-private.h: Include ufc-crypt.h.
38084         (__b64_from_24bit): Declare extern.
38085         * crypt/crypt_util.c(__b64_from_24bit): New function.
38086         (b64t): New static const variable.
38087         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
38088         (b64t): Remove variable.
38089         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
38090         * crypt/sha256-crypt.c: Include crypt-private.h.
38091         (b64t): Remove variable.
38092         (__sha256_crypt_r): Remove b64_from_24bit and replace
38093         with __b64_from_24bit.
38094         * crypt/sha512-crypt.c: Likewise.
38096 2014-06-02  Roland McGrath  <roland@hack.frob.com>
38098         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
38099         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
38100         Label the code __libc_vfork rather than __vfork.
38101         [!NOT_IN_libc] (vfork): Define as weak alias.
38102         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
38103         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
38104         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
38106 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
38108         * malloc/malloc.c (malloc_info): Fix format specifier for
38109         n_mmaps.
38111 2014-06-02  Wilco  <wdijkstr@arm.com>
38113         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
38114         FPCR write.
38116 2014-06-02  Wilco  <wdijkstr@arm.com>
38118         [BZ #17009]
38119         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
38120         Rewrite to reduce FPCR/FPSR accesses.
38122 2014-06-01  David S. Miller  <davem@davemloft.net>
38124         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38126 2014-05-31  David S. Miller  <davem@davemloft.net>
38128         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
38129         to occur in round to nearest mode when |x| >= 2.0
38131 2014-05-30  Richard Henderson  <rth@twiddle.net>
38133         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
38134         (PSEUDO_RET_NOERRNO): Remove.
38135         (ret): Don't redefine.
38136         (ret_NOERRNO): Define in terms of ret.
38137         (ret_ERRVAL): Likewise.
38139         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
38140         use of PSEUDO_RET; perform the error check directly.
38142 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
38144         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
38145         with __int128_t.
38147 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38149         * malloc/malloc (malloc_info): Fix formatting.
38151 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38152             Roland McGrath  <roland@hack.frob.com>
38154         * malloc/malloc (malloc_info): Also print mmapped statistics.
38156 2014-05-30  Roland McGrath  <roland@hack.frob.com>
38158         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
38159         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
38161 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
38163         * malloc/malloc.c (malloc_info): Inline mi_arena.
38165 2014-05-29  Richard Henderson  <rth@twiddle.net>
38167         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
38168         Remove comma before expanding ASM_ARGS_##nr.
38169         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
38170         Make _x0 a strict output; make _x8 a strict input; adjust expansion
38171         of ASM_ARGS_##nr.
38172         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
38173         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
38174         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
38175         (ASM_ARGS_1): Add leading comma.
38177         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
38178         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
38179         to __errno_location.
38180         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
38181         Remove the expected plt for __errno_location.
38183         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
38184         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
38185         call to __read_tp.
38187         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
38188         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
38189         it and break it down.
38190         (DOCARGS_0, DOCARGS_1): Do nothing.
38191         (DOCARGS_2): Update to store into the new stack frame.
38192         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
38193         (UNDOCARGS_1): Update to restore from the new stack frame.
38194         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
38195         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
38197         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
38198         (SINGLE_THREAD_P): New parameter for result regno.
38199         (PSEUDO): Update to match; use cbz instead of beq.
38201         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
38202         Use ENTRY to define the _nocancel entry point.  Share the syscall
38203         and syscall error check paths with the cancel path.
38204         (PSEUDO_END): New.
38206         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
38207         whitespace; tabs before and after asm mnemonics.
38209 2014-05-29  Eric Wong  <normalperson@yhbt.net>
38211         [BZ #15132]
38212         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38213         Call fstat64 or stat64 internally, depending on arguments passed.
38214         Replace stat buffer argument with file descriptor argument.
38215         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
38216         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
38217         Pass fd to __internal_statvfs instead of calling fstat64.
38218         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
38219         Pass fd to __internal_statvfs64 instead of calling fstat64.
38220         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
38221         Pass -1 to __internal_statvfs instead of calling stat64.
38222         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
38223         Pass -1 to __internal_statvfs64 instead of calling stat64.
38225 2014-05-28  Roland McGrath  <roland@hack.frob.com>
38227         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
38228         that was previously under [RESET_PID].
38229         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
38231         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
38232         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
38234 2014-05-27  Roland McGrath  <roland@hack.frob.com>
38236         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
38238         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
38239         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
38241 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
38243         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
38245 2014-05-27  Andreas Schwab  <schwab@suse.de>
38247         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
38248         TLS_INIT_TP macro.
38249         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
38250         * elf/rtld.c (init_tls, dl_main): Likewise.
38251         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
38252         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
38253         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
38254         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
38255         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
38256         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
38257         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
38258         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
38259         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
38260         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
38261         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
38262         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
38263         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
38264         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
38265         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
38266         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
38267         * sysdeps/generic/tls.h: Update description.
38269 2014-05-27  Will Newton  <will.newton@linaro.org>
38271         [BZ #16990]
38272         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
38273         and restore r2 rather than just restoring.
38275 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38277         [BZ #16724]
38278         * libio/tst-ftell-append.c: New test case.
38279         * libio/Makefile (tests): Add test case.
38280         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
38281         append mode.
38282         * libio/wfileops.c (do_ftell_wide): Likewise.
38284 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38286         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38288         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
38289         ...
38290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
38291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
38292         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
38293         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
38294         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
38295         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
38296         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
38297         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
38298         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
38299         Moved ...
38300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
38301         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
38302         Moved ...
38303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
38304         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
38305         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
38306         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
38307         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
38308         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
38309         ...
38310         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
38311         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
38312         Moved ...
38313         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
38314         here.
38315         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
38316         ...
38317         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
38318         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
38319         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
38321         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
38322         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
38323         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
38324         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
38326         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
38327         merge into ...
38328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
38329         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
38330         ...
38331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
38332         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
38333         ...
38334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
38335         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
38336         Moved ...
38337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
38338         here.
38339         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
38340         Moved ...
38341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
38342         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
38343         Moved ...
38344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
38346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
38347         conditional [RESET_PID].
38348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
38349         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
38350         removed.
38351         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
38352         removed.
38354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
38355         <tcb-offsets.h>.
38356         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
38357         (__libc_vfork): New strong alias.
38358         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
38359         removed.
38360         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
38361         Removed.
38363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
38364         <tcb-offsets.h>.
38365         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
38366         (__libc_vfork): New strong alias.
38367         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
38368         removed.
38369         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
38370         removed.
38372 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
38374         * malloc/malloc.c (mi_arena): New function.
38375         (malloc_info): Remove nested function mi_arena. Call non-nosted
38376         function mi_arena.
38378 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38380         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
38381         by insrwi.
38382         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
38383         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
38384         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
38385         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
38386         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
38387         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
38388         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
38390 2014-05-26  Andreas Schwab  <schwab@suse.de>
38392         [BZ #16984]
38393         * locale/programs/repertoire.c (repertoire_read): Add slash
38394         between I18NPATH element and file name.
38395         * locale/programs/locfile.c (locfile_read): Likewise.
38397 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
38399         * nptl/pthread_mutexattr_settype.c
38400         (__pthread_mutexattr_settype):
38401         Disable lock elision for PTHREAD_MUTEX_NORMAL.
38403 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
38405         * nptl/tst-mutex5 (do_test):
38406         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
38408 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38410         * benchtests/README: Document 'init' directive.
38411         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
38412         BENCH_INIT.
38413         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
38414         (parse_file): Recognize 'init' directive.
38416 2014-05-26  Kyle McMartin  <kyle@redhat.com>
38418         [BZ #16796]
38419         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
38420         alignment of struct pthread.
38422 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38424         [BZ #16878]
38425         * nscd/netgroupcache.c (addgetnetgrentX): Look for
38426         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
38427         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
38428         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
38430 2014-05-25  Richard Henderson  <rth@twiddle.net>
38432         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
38433         (SINGLE_THREAD_P_PIC): Remove.
38434         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
38435         (SINGLE_THREAD_P_PIC): Remove.
38437         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
38438         branch to syscall error ...
38439         (PSEUDO): ... here.
38440         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
38441         from __local_syscall_error to .Lsyscall_error.
38442         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
38443         (SYSCALL_ERROR): Update label name.
38445         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
38446         Do not use DOARGS/UNDOARGS.
38447         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
38448         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
38449         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
38450         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
38451         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
38453         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
38454         block comment.
38456         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
38457         define if !NOT_IN_libc.
38458         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
38459         define with non-default symbol versions.
38461 2014-05-23  Richard Henderson  <rth@twiddle.net>
38463         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
38464         (vfork, __vfork): Define via compat_symbol.
38466         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
38467         [!HAVE_IFUNC] (vfork_compat): Remove.
38468         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
38470 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
38472         [BZ #16978]
38473         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
38474         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
38475         variable.
38477 2014-05-23  Richard Henderson  <rth@twiddle.net>
38479         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
38480         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
38481         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
38482         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
38484         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
38485         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
38486         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
38487         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
38488         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
38489         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
38490         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
38491         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
38492         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
38493         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
38494         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
38495         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
38496         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
38497         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
38498         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
38499         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
38500         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
38501         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
38502         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
38503         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
38504         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
38505         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
38506         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
38507         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
38508         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
38509         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
38510         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
38511         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
38512         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
38513         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
38514         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
38515         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
38516         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
38517         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
38518         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
38519         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
38520         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
38521         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
38522         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
38523         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
38524         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
38525         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
38526         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
38527         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
38528         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
38529         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
38530         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
38531         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
38532         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
38533         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
38534         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
38535         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
38536         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
38537         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
38538         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
38539         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
38541         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
38542         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
38543         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
38544         before exiting on error.
38545         (__libc_vfork): New strong alias.
38546         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
38547         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
38549         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
38550         that was previously under [RESET_PID].
38551         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
38553         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
38555 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
38557         [BZ #16977]
38558         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
38559         value when x - 1 is zero.
38560         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
38561         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
38562         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
38563         0.0L for an argument of 1.0L.
38564         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
38565         Likewise.
38566         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
38567         value when x - 1 is zero.
38568         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
38569         * sysdeps/i386/fpu/libm-test-ulps: Update.
38570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38572 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
38574         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
38575         alphasort and versionsort.
38577 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38579         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
38580         macro.
38581         [copysignf]: Likewise.
38583 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
38585         * crypt/md5-crypt.c: Fix formatting.
38587 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38589         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
38590         (b64_from_24bit): New function.
38592 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38594         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
38595         libc_hidden_builtin_def to ifunc.
38596         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
38597         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
38599 2014-05-21  Roland McGrath  <roland@hack.frob.com>
38601         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
38602         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
38604 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
38606         * nscd/Depend (linuxthreads): Remove.
38607         (nptl): Add.
38608         * resolv/Depend (linuxthreads): Remove.
38609         * rt/Depend (linuxthreads): Remove.
38611         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
38612         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
38613         $(common-objpfx)elf/.
38614         (link-libc-before-gnulib): Likewise.
38615         (elfobjdir): Remove variable.
38616         * Makefile (install): Use $(elf-objpfx) instead of
38617         $(common-objpfx)elf/.
38618         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
38619         $(elfobjdir)/.
38620         (link-libc-deps): Likewise.
38621         ($(common-objpfx)libc.so): Likewise.
38622         ($(common-objpfx)linkobj/libc.so): Likewise.
38623         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
38624         instead of $(common-objpfx)elf/.
38625         (symbolic-link-list): Likewise.
38626         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
38627         [$(cross-compiling) = no]: Likewise.
38628         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
38629         $(elfobjdir)/.
38630         (static-gnulib-arch): Likewise.
38631         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
38632         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
38633         $(common-objpfx)elf/.
38635 2014-05-21  Richard Henderson  <rth@redhat.com>
38637         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
38638         (SINGLE_THREAD_P): Use the correct width load.  Fold
38639         into the ldr offset.
38641         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
38642         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
38644 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
38646         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
38647         (libgcc_s_resume): Use __attribute_used__.
38648         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
38649         Likewise.
38651 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38653         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
38654         optimization when used with float constants.
38656         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38658 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
38660         [BZ #16915]
38661         * locale/nl_langinfo_l.c: Make direct reference to every
38662         _nl_current_CATEGORY symbol.
38663         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
38664         (tests-static): Add tst-langinfo-static.
38665         (tests-special): Add tst-langinfo-static.out.
38666         ($(objpfx)tst-langinfo.out): Redirect output.
38667         ($(objpfx)tst-langinfo-static.out): New.
38668         * localedata/tst-langinfo.sh: Send output to stdout.
38669         * localedata/tst-langinfo-static.c: New file.
38671         [BZ #16965]
38672         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
38673         when the shift amount is modulo the limb size.
38675 2014-05-20  Richard Henderson  <rth@redhat.com>
38677         [BZ #16967]
38678         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
38679         Change type of sa_flags from unsigned int to int.
38681         [BZ #16966]
38682         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
38684         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
38686 2014-05-20  Will Newton  <will.newton@linaro.org>
38688         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
38689         Test the return value of the system call in the nocancel case.
38691 2014-05-20  Will Newton  <will.newton@linaro.org>
38692             Yvan Roux  <yvan.roux@linaro.org>
38694         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
38695         #include of asm/ptrace.h.
38696         (PTRACE_GET_THREAD_AREA): Remove #undef.
38697         (PTRACE_GETHBPREGS): Likewise.
38698         (PTRACE_SETHBPREGS): Likewise.
38699         (struct user_regs_struct): New structure.
38700         (struct user_fpsimd_struct): New structure.
38701         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
38702         #include of asm/ptrace.h and second #include of sys/user.h.
38703         (PTRACE_GET_THREAD_AREA): Remove #undef.
38704         (PTRACE_GETHBPREGS): Likewise.
38705         (PTRACE_SETHBPREGS): Likewise.
38706         (ELF_NGREG): Use new struct user_regs_struct.
38707         (elf_fpregset_t): Use new struct user_fpsimd_struct.
38709 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38711         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
38712         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
38714 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
38716         [BZ #16958]
38717         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
38718         membar to avoid block loads/stores to overlap previous stores.
38720 2014-05-17  Richard Henderson  <rth@redhat.com>
38722         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
38723         Create the __##syscall_name##_nocancel entry point.
38724         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
38725         Remove; let the sysdep-cancel.h code create it.
38727 2014-05-17  David S. Miller  <davem@davemloft.net>
38729         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
38730         Protect with __USE_GNU.
38731         (TIOCSET_TEMPT): Likewise.
38732         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
38733         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
38734         these are already provided in bits/ioctl-types.h
38736 2014-05-16  Roland McGrath  <roland@hack.frob.com>
38738         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
38739         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
38741         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
38742         Use wait4 regardless of [__NR_waitpid].
38744 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
38746         PR libgcc/60166
38747         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
38748         (_FP_NANSIGN_Q): Set the quiet bit.
38750 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
38752         * benchtests/Makefile
38753         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
38754         not $(common-objpfx)math/libm.so.
38755         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
38756         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
38757         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
38758         $(common-objpfx)dlfcn/libdl.so.
38759         ($(objpfx)tst-audit8): Depend on $(libm), not
38760         $(common-objpfx)math/libm.so.
38761         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
38762         not $(common-objpfx)dlfcn/libdl.so.
38763         * math/Makefile
38764         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
38765         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
38766         [$(build-shared) = yes].
38767         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
38768         $(common-objpfx)nptl/libpthread.so.
38769         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
38770         $(common-objpfx)math/libm.so$(libm.so-version) or
38771         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
38772         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
38773         $(common-objpfx)dlfcn/libdl.so.
38774         * setjmp/Makefile (link-libm): Remove variable.
38775         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
38776         * stdio-common/Makefile (link-libm): Remove variable.
38777         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
38778         * stdlib/Makefile (link-libm): Remove variable.
38779         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
38780         ($(objpfx)tst-strtod-round): Likewise.
38781         ($(objpfx)tst-tininess): Likewise.
38782         ($(objpfx)tst-strtod-underflow): Likewise.
38783         ($(objpfx)tst-strtod6): Likewise.
38784         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
38785         $(libdl), not $(common-objpfx)nptl/libpthread.so and
38786         $(common-objpfx)dlfcn/libdl.so.
38788 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38790         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
38791         BSD terminal modes definitions.
38793 2014-05-16  Roland McGrath  <roland@hack.frob.com>
38795         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
38796         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
38798         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
38799         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
38800         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
38801         Don't do #include_next.
38802         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
38803         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
38804         Don't do #include_next.
38805         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
38806         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
38807         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
38808         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
38810 2014-05-16  Allan McRae  <allan@archlinux.org>
38812         * po/sv.po: Update Swedish translation from translation project.
38814         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
38815         in sed expression.
38817 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
38819         [BZ #16917]
38820         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
38821         errno if the TIOCGPTN ioctl fails with an error different than
38822         EINVAL.
38823         * login/tst-ptsname.c: New file.
38824         * login/Makefile (tests): Add tst-ptsname.
38826         [BZ #16943]
38827         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
38828         and prlimit64.
38830 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38832         [BZ #16849]
38833         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
38834         herrno to return EAI_AGAIN.
38836 2014-05-14  Roland McGrath  <roland@hack.frob.com>
38838         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
38839         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
38840         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
38841         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
38842         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
38843         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
38844         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
38845         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
38846         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
38847         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
38848         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
38849         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
38850         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
38851         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
38852         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
38853         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
38854         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
38855         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
38856         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
38857         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
38858         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
38859         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
38860         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
38861         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
38862         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
38863         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
38864         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
38865         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
38866         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
38867         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
38868         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
38869         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
38870         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
38871         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
38872         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
38873         Moved ...
38874         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
38875         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
38876         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
38877         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
38878         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
38879         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
38880         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
38881         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
38882         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
38883         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
38884         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
38885         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
38886         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
38887         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
38888         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
38889         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
38890         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
38891         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
38892         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
38893         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
38894         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
38895         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
38896         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
38897         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
38898         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
38899         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
38900         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
38901         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
38902         Moved ...
38903         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
38904         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
38905         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
38906         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
38907         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
38908         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
38909         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
38910         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
38911         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
38912         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
38913         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
38914         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
38915         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
38916         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
38917         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
38918         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
38919         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
38920         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
38921         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
38922         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
38923         Moved ...
38924         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
38925         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
38926         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
38928         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
38929         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
38930         (libpthread-sysdep_routines): Add elision-related stuff here instead.
38931         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
38932         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
38933         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
38934         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
38935         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
38936         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
38937         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
38938         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
38939         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
38940         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
38941         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
38942         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
38943         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
38944         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
38945         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
38946         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
38947         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
38948         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
38949         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
38950         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
38951         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
38952         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
38953         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
38954         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
38955         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
38956         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
38957         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
38958         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
38960         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
38961         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
38963         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
38964         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
38965         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
38966         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
38967         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
38968         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
38969         Moved ...
38970         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
38971         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
38972         Moved ...
38973         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
38974         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
38975         Moved ...
38976         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
38977         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
38978         Moved ...
38979         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
38980         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
38981         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
38982         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
38983         Moved ...
38984         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
38985         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
38986         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
38987         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
38988         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
38989         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
38990         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
38991         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
38992         Moved ...
38993         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
38994         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
38995         Moved ...
38996         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
38997         ... here.
38998         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
38999         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
39000         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
39001         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
39002         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
39003         Moved ...
39004         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
39005         ... here.
39006         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
39007         Moved ...
39008         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
39009         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
39010         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
39011         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
39012         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
39013         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
39014         Moved ...
39015         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
39016         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
39017         Moved ...
39018         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
39019         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
39020         Moved ...
39021         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
39022         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
39023         Moved ...
39024         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
39025         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
39026         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
39027         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
39028         Moved ...
39029         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
39030         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
39031         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
39032         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
39033         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
39034         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
39035         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
39036         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
39037         Moved ...
39038         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
39039         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
39040         Moved ...
39041         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
39042         ... here.
39043         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
39044         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
39045         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
39046         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
39047         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
39048         Moved ...
39049         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
39050         ... here.
39051         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
39052         Moved ...
39053         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
39054         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
39055         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
39056         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
39057         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
39058         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
39059         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
39060         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
39061         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
39062         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
39063         Moved ...
39064         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
39065         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
39066         Moved ...
39067         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
39068         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
39069         Moved ...
39070         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
39071         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
39072         Moved ...
39073         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
39074         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
39075         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
39076         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
39077         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
39078         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
39079         Moved ...
39080         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
39081         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
39082         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
39083         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
39084         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
39085         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
39086         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
39087         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
39088         Moved ...
39089         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
39090         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
39091         Moved ...
39092         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
39093         ... here.
39094         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
39095         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
39096         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
39097         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
39098         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
39099         Moved ...
39100         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
39101         ... here.
39102         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
39103         Moved ...
39104         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
39105         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
39106         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
39107         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
39108         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
39109         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
39110         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
39111         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
39112         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
39113         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
39114         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
39116         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
39117         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
39119         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
39120         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
39122         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
39123         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
39124         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
39125         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
39126         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
39127         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
39128         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
39129         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
39130         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
39131         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
39132         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
39133         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
39134         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
39135         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
39136         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
39137         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
39138         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
39139         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
39140         Moved ...
39141         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
39142         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
39143         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
39144         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
39145         Moved ...
39146         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
39147         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
39148         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
39149         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
39150         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
39151         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
39152         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
39153         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
39154         Moved ...
39155         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
39156         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
39157         Moved ...
39158         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
39159         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
39160         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
39161         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
39162         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
39163         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
39164         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
39165         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
39166         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
39167         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
39168         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
39169         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
39170         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
39171         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
39172         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
39173         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
39174         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
39176         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
39177         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
39178         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
39179         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
39180         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
39182         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
39183         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
39184         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
39185         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
39186         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
39187         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
39188         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
39189         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
39190         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
39191         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
39193         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
39194         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
39196         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
39197         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
39198         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
39199         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
39200         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
39201         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
39202         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
39203         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
39204         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
39205         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
39206         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
39207         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
39208         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
39209         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
39210         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
39211         Update #include.
39212         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
39213         Likewise.
39214         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
39215         Likewise.
39216         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
39217         Likewise.
39218         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
39219         Likewise.
39220         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
39221         Likewise.
39222         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
39223         Likewise.
39224         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
39225         Likewise.
39226         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
39227         Likewise.
39228         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
39229         Likewise.
39230         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
39231         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
39232         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
39233         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
39234         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
39235         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
39236         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
39237         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
39238         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
39239         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
39240         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
39241         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
39242         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
39243         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
39244         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
39246         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
39247         that was previously under [RESET_PID].
39248         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
39249         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
39250         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
39252         * sysdeps/i386/nptl/Implies: New file.
39253         * sysdeps/x86_64/nptl/Implies: New file.
39254         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
39255         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
39256         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
39257         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
39259         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
39260         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
39261         (__libc_vfork): New strong alias.
39262         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
39263         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
39265         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
39266         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
39267         (__libc_vfork): New strong alias.
39268         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
39269         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
39271         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
39272         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
39273         (__libc_vfork): New strong alias.
39274         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
39275         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
39276         * nptl/pt-vfork.c: New file.
39277         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
39278         (libpthread: GLIBC_2.20): New version set (empty).
39280 2014-05-14  Will Newton  <will.newton@linaro.org>
39282         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
39283         rather than #if.
39285 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
39287         [BZ #16564]
39288         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
39289         arguments with exponent 65 or above.
39290         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
39291         arguments 0x1p113L or above.
39292         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
39293         to arguments 0x1p107L or above.
39294         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
39295         positive arguments with exponent 65 or above.
39296         * math/auto-libm-test-in: Add more tests of log1p.
39297         * math/auto-libm-test-out: Regenerated.
39299         [BZ #16928]
39300         * math/s_cacos.c (__cacos): Ensure zero real part of result from
39301         non-finite arguments is +0.
39302         * math/s_cacosf.c (__cacosf): Likewise.
39303         * math/s_cacosl.c (__cacosl): Likewise.
39304         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
39305         * sysdeps/i386/fpu/libm-test-ulps: Update.
39306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39308         [BZ #16927]
39309         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
39310         value.
39311         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
39312         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
39313         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
39314         for explicit high bit of mantissa when testing for argument equal
39315         to 1.
39316         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
39317         * sysdeps/i386/fpu/libm-test-ulps: Update.
39318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39320         [BZ #16516]
39321         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
39322         (__erf): Scale by 16 instead of 8 in potentially underflowing
39323         case.  Ensure exception if result actually underflows.
39324         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
39325         (__erff): Scale by 16 instead of 8 in potentially underflowing
39326         case.  Ensure exception if result actually underflows.
39327         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
39328         (efx8): Remove variable.
39329         (__erfl): Scale by 16 instead of 8 in potentially underflowing
39330         case.  Ensure exception if result actually underflows.
39331         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
39332         (efx8): Remove variable.
39333         (__erfl): Scale by 16 instead of 8 in potentially underflowing
39334         case.  Ensure exception if result actually underflows.
39335         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
39336         (efx8): Remove variable.
39337         (__erfl): Scale by 16 instead of 8 in potentially underflowing
39338         case.  Ensure exception if result actually underflows.
39339         * math/auto-libm-test-in: Add more tests of erf.
39340         * math/auto-libm-test-out: Regenerated.
39342 2014-05-14  Andreas Schwab  <schwab@suse.de>
39344         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
39345         Remove code conditionalized on USE___THREAD.
39347         * config.h.in (HAVE_PT_CHOWN): Define as 0.
39348         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
39349         not definedness.
39351 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
39353         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
39354         Define unconditionally.
39355         (__ASSUME_O_CLOEXEC): Likewise.
39356         (__ASSUME_SOCK_CLOEXEC): Likewise.
39357         (__ASSUME_IN_NONBLOCK): Likewise.
39358         (__ASSUME_PIPE2): Likewise.
39359         (__ASSUME_EVENTFD2): Likewise.
39360         (__ASSUME_SIGNALFD4): Likewise.
39361         (__ASSUME_DUP3): Likewise.
39362         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39363         (__ASSUME_DUP3): Do not define.
39364         (__ASSUME_EVENTFD2): Likewise.
39365         (__ASSUME_IN_NONBLOCK): Likewise.
39366         (__ASSUME_O_CLOEXEC): Likewise.
39367         (__ASSUME_PIPE2): Likewise.
39368         (__ASSUME_SIGNALFD4): Likewise.
39369         (__ASSUME_SOCK_CLOEXEC): Likewise.
39370         (__ASSUME_UTIMES): Undefine.
39371         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39372         (__ASSUME_UTIMES): Do not define.
39373         (__ASSUME_O_CLOEXEC): Likewise.
39374         (__ASSUME_SOCK_CLOEXEC): Likewise.
39375         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
39376         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
39377         0x020621].
39378         (__ASSUME_PIPE2): Likewise.
39379         (__ASSUME_EVENTFD2): Likewise.
39380         (__ASSUME_SIGNALFD4): Likewise.
39381         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
39382         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
39383         Do not define.
39384         (__ASSUME_EVENTFD2): Likewise.
39385         (__ASSUME_SIGNALFD4): Likewise.
39386         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
39387         (__ASSUME_32BITUIDS): Likewise.
39388         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
39389         (__ASSUME_IPC64): Likewise.
39390         (__ASSUME_ST_INO_64_BIT): Likewise.
39391         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
39392         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
39393         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39394         (__ASSUME_UTIMES): Do not define.
39395         (__ASSUME_PSELECT): Likewise.
39396         (__ASSUME_PPOLL): Likewise.
39397         (__ASSUME_O_CLOEXEC): Likewise.
39398         (__ASSUME_SOCK_CLOEXEC): Likewise.
39399         (__ASSUME_IN_NONBLOCK): Likewise.
39400         (__ASSUME_PIPE2): Likewise.
39401         (__ASSUME_EVENTFD2): Likewise.
39402         (__ASSUME_SIGNALFD4): Likewise.
39403         (__ASSUME_DUP3): Likewise.
39404         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
39405         (__ASSUME_UTIMES): Likewise.
39406         (__ASSUME_O_CLOEXEC): Likewise.
39407         (__ASSUME_SOCK_CLOEXEC): Likewise.
39408         (__ASSUME_IN_NONBLOCK): Likewise.
39409         (__ASSUME_PIPE2): Likewise.
39410         (__ASSUME_EVENTFD2): Likewise.
39411         (__ASSUME_SIGNALFD4): Likewise.
39412         (__ASSUME_DUP3): Likewise.
39413         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39414         (__ASSUME_UTIMES): Likewise.
39415         (__ASSUME_O_CLOEXEC): Likewise.
39416         (__ASSUME_SOCK_CLOEXEC): Likewise.
39417         (__ASSUME_IN_NONBLOCK): Likewise.
39418         (__ASSUME_PIPE2): Likewise.
39419         (__ASSUME_EVENTFD2): Likewise.
39420         (__ASSUME_SIGNALFD4): Likewise.
39421         (__ASSUME_DUP3): Likewise.
39422         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
39423         Likewise.
39424         (__ASSUME_UTIMES): Likewise.
39425         (__ASSUME_EVENTFD2): Likewise.
39426         (__ASSUME_SIGNALFD4): Likewise.
39427         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39428         (__ASSUME_O_CLOEXEC): Likewise.
39429         (__ASSUME_SOCK_CLOEXEC): Likewise.
39430         (__ASSUME_IN_NONBLOCK): Likewise.
39431         (__ASSUME_PIPE2): Likewise.
39432         (__ASSUME_EVENTFD2): Likewise.
39433         (__ASSUME_SIGNALFD4): Likewise.
39434         (__ASSUME_DUP3): Likewise.
39435         (__ASSUME_UTIMES): Undefine.
39437         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
39438         feclearexcept.  Remove symbol versioning code.
39439         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
39440         symbol versioning code.
39441         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
39442         symbol versioning code.
39443         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
39444         feupdateenv.  Remove symbol versioning code.
39445         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
39446         fegetexceptflag.  Remove symbol versioning code.
39447         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
39448         fesetexceptflag.  Remove symbol versioning code.
39449         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
39450         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
39451         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
39452         (__posix_fadvise64_l32): Remove prototype.
39453         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
39454         code.
39456 2014-05-13  Roland McGrath  <roland@hack.frob.com>
39458         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
39459         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
39460         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
39461         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
39463 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
39465         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
39466         current working directory
39468 2014-05-13  Roland McGrath  <roland@hack.frob.com>
39470         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
39471         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
39472         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
39473         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
39474         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
39475         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
39476         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
39477         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
39478         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
39479         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
39480         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
39481         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
39482         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
39483         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
39484         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
39485         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
39486         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
39487         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
39488         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
39489         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
39490         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
39491         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
39492         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
39493         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
39494         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
39495         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
39496         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
39497         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
39498         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
39499         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
39500         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
39501         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
39502         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
39503         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
39504         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
39505         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
39506         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
39507         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
39508         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
39509         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
39510         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
39511         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
39513         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
39514         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
39516         * sysdeps/unix/sysv/linux/arm/Makefile
39517         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
39518         Add rt-aeabi_unwind_cpp_pr1.
39519         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
39520         Add nptl-aeabi_unwind_cpp_pr1.
39521         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
39522         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
39523         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
39524         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
39525         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
39526         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
39528         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
39529         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
39530         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
39531         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
39533         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
39534         Deconditionalize the code that was previously under [RESET_PID].
39535         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
39537         * sysdeps/generic/exit-thread.h: New file.
39538         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
39539         * include/unistd.h (__exit_thread): Remove declaration.
39540         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
39541         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
39542         * csu/libc-start.c: Include <exit-thread.h>.
39543         (LIBC_START_MAIN): Pass no argument to __exit_thread.
39544         * nptl/pthread_create.c: Include <exit-thread.h>.
39545         (start_thread): Call __exit_thread in place of __exit_thread_inline.
39546         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
39547         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
39548         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
39549         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
39550         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
39551         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
39552         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
39553         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
39554         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
39555         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
39556         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
39557         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
39558         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
39559         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
39560         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
39561         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
39563 2014-05-13  Andreas Schwab  <schwab@suse.de>
39565         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
39567 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
39569         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
39570         (__ASSUME_UTIMES): Do not condition on kernel version.
39571         (__ASSUME_PSELECT): Define unconditionally.
39572         (__ASSUME_PPOLL): Likewise.
39573         (__ASSUME_ATFCTS): Likewise.
39574         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
39575         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
39576         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
39577         (__ASSUME_UTIMENSAT): Define unconditionally.
39578         (__ASSUME_PRIVATE_FUTEX): Likewise.
39579         (__ASSUME_FALLOCATE): Likewise.
39580         (__ASSUME_O_CLOEXEC): Likewise.
39581         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
39582         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
39583         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
39584         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
39585         (__ASSUME_IN_NONBLOCK): Likewise.
39586         (__ASSUME_PIPE2): Likewise.
39587         (__ASSUME_EVENTFD2): Likewise.
39588         (__ASSUME_SIGNALFD4): Likewise.
39589         (__ASSUME_DUP3): Likewise.
39590         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
39591         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
39592         (__ASSUME_AT_RANDOM): Likewise.
39593         (__ASSUME_PREADV): Likewise.
39594         (__ASSUME_PWRITEV): Likewise.
39595         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
39596         (__ASSUME_F_GETOWN_EX): Define unconditionally.
39597         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
39598         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
39599         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
39600         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39601         (__ASSUME_O_CLOEXEC): Define unconditionally.
39602         (__ASSUME_PSELECT): Do not undefine conditionally.
39603         (__ASSUME_PPOLL): Likewise.
39604         (__ASSUME_ATFCTS): Likewise.
39605         (__ASSUME_SET_ROBUST_LIST): Likewise.
39606         (__ASSUME_UTIMENSAT): Likewise.
39607         (__ASSUME_FDATASYNC): Define unconditionally.
39608         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39609         (__ASSUME_SIGFRAME_V2): Likewise.
39610         )__ASSUME_EVENTFD2): Likewise.
39611         (__ASSUME_SIGNALFD4): Likewise.
39612         (__ASSUME_PSELECT): Do not undefine conditionally.
39613         (__ASSUME_PPOLL): Likewise.
39614         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39615         (__ASSUME_PSELECT): Define unconditionally.
39616         (__ASSUME_PPOLL): Likewise.
39617         (__ASSUME_O_CLOEXEC): Likewise.
39618         (__ASSUME_SOCK_CLOEXEC): Likewise.
39619         (__ASSUME_IN_NONBLOCK): Likewise.
39620         (__ASSUME_PIPE2): Likewise.
39621         (__ASSUME_EVENTFD2): Likewise.
39622         (__ASSUME_SIGNALFD4): Likewise.
39623         (__ASSUME_DUP3): Likewise.
39624         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
39625         (__ASSUME_O_CLOEXEC): Likewise.
39626         (__ASSUME_SOCK_CLOEXEC): Likewise.
39627         (__ASSUME_IN_NONBLOCK): Likewise.
39628         (__ASSUME_PIPE2): Likewise.
39629         (__ASSUME_EVENTFD2): Likewise.
39630         (__ASSUME_SIGNALFD4): Likewise.
39631         (__ASSUME_DUP3): Likewise.
39632         * sysdeps/unix/sysv/linux/mips/kernel-features.h
39633         (__ASSUME_EVENTFD2): Likewise.
39634         (__ASSUME_SIGNALFD4): Likewise.
39635         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
39637 2014-05-12  Andreas Schwab  <schwab@suse.de>
39639         [BZ #16932]
39640         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
39641         (_nss_nis_gethostbyname4_r): Return error if item length is larger
39642         than maximum RPC packet size.
39643         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
39644         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
39645         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
39646         (_nss_nis_getservbyport_r): Likewise.
39648 2014-05-12  Will Newton  <will.newton@linaro.org>
39650         * malloc/Makefile (tests): Add tst-mallopt.
39651         * malloc/tst-mallopt.c: New file.
39653 2014-05-09  Roland McGrath  <roland@hack.frob.com>
39655         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
39656         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
39658 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39660         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
39661         (tst-tlsmod6.so): Likewise.
39663 2014-05-09  Roland McGrath  <roland@hack.frob.com>
39665         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
39667 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
39669         [BZ #16064]
39670         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
39671         and <dl-procinfo.h>.
39672         (__fegetenv): Save SSE state in envp->__eip if supported.
39673         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
39674         envp->__eip if supported.
39675         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
39676         and <dl-procinfo.h>.
39677         (__fesetenv): Always set __eip, __cs_selector, __opcode,
39678         __data_offset and __data_selector in environment to 0.  Set SSE
39679         state if supported.
39680         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
39681         test-fenv-sse.
39682         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
39683         -mfpmath=sse.
39684         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
39686 2014-05-09  Will Newton  <will.newton@linaro.org>
39688         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
39689         and libc_relro_required for ARM.
39690         * sysdeps/arm/preconfigure: Regenerate.
39692 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
39693             Stefan Liebler  <stli@linux.vnet.ibm.com>
39695         * config.make.in (enable-lock-elision): New Makefile variable.
39696         * configure.ac: Likewise.
39697         * configure: Regenerate.
39698         * sysdeps/s390/configure.ac:
39699         Add check for gcc transactions support.
39700         * sysdeps/s390/configure: Regenerate.
39701         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
39702         Build elision files if enabled.
39703         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
39704         Add lock elision support for s390.
39705         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
39706         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
39707         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
39708         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
39709         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
39710         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
39711         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
39712         Likewise.
39713         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
39714         Likewise.
39715         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
39716         Likewise.
39717         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
39718         Likewise.
39719         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
39720         (__lll_timedlock_elision, __lll_lock_elision)
39721         (__lll_unlock_elision, __lll_trylock_elision)
39722         (lll_timedlock_elision, lll_lock_elision)
39723         (lll_unlock_elision, lll_trylock_elision): Add.
39724         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
39725         (pthread_mutex_t): Add lock elision support for s390.
39727 2014-05-14  Wilco  <wdijkstr@arm.com>
39729         * sysdeps/arm/fclrexcpt.c: Cleanup.
39730         * sysdeps/arm/fedisblxcpt.c: Cleanup.
39731         * sysdeps/arm/feenablxcpt.c: Cleanup.
39732         * sysdeps/arm/fegetenv.c: Cleanup.
39733         * sysdeps/arm/fegetexcept.c: Cleanup.
39734         * sysdeps/arm/fegetround.c: Cleanup.
39735         * sysdeps/arm/feholdexcpt.c: Cleanup.
39736         * sysdeps/arm/fesetenv.c: Cleanup.
39737         * sysdeps/arm/fesetround.c: Cleanup.
39738         * sysdeps/arm/feupdateenv.c: Cleanup.
39739         * sysdeps/arm/fgetexcptflg.c: Cleanup.
39740         * sysdeps/arm/fraiseexcpt.c: Cleanup.
39741         * sysdeps/arm/fsetexcptflg.c: Cleanup.
39742         * sysdeps/arm/ftestexcept.c: Cleanup.
39743         * sysdeps/arm/get-rounding-mode.h: Cleanup.
39744         * sysdeps/arm/setfpucw.c: Cleanup.
39746 2014-05-09  Will Newton  <will.newton@linaro.org>
39748         * sysdeps/arm/armv7/strcmp.S: New file.
39749         * NEWS: Mention addition of ARMv7 optimized strcmp.
39751 2014-05-08  Roland McGrath  <roland@hack.frob.com>
39753         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
39754         look for %.ac rather than %.in.
39756         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
39757         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
39758         * sysdeps/mach/hurd/configure: Regenerated.
39759         * sysdeps/unix/sysv/linux/configure: Regenerated.
39761         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
39763 2014-05-07  Steve Ellcey  <sellcey@mips.com>
39765         [BZ# 16922]
39766         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
39767         (LONG_SUB): Ditto.
39768         (PTR_SUB): Ditto.
39770 2014-05-07  Andreas Schwab  <schwab@suse.de>
39772         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
39773         when skipping over non-matching result from nscd.
39775 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
39777         [BZ #16876]
39778         * nptl/sockperf.c (client): Check socket return value.
39780         [BZ #16877]
39781         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
39782         nscd security class.
39784 2014-05-06  Roland McGrath  <roland@hack.frob.com>
39786         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
39787         * sysdeps/arm/unwind.h: ... here.
39789 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
39791         [BZ# 16916]
39792         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
39793         Define.
39795 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39797         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
39798         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
39799         multiarch strncpy for PPC64.
39800         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
39801         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
39802         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
39803         multiarch optimizations.
39804         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39805         (__libc_ifunc_impl_list): Likewise.
39806         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
39807         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
39808         multiarch stpncpy for PPC64.
39809         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
39810         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
39812 2014-05-06  Andreas Schwab  <schwab@suse.de>
39814         [BZ #16912]
39815         * gmon/mcount.c (_MCOUNT_DECL): Use
39816         atomic_compare_and_exchange_bool_acq instead of
39817         catomic_compare_and_exchange_bool_acq.
39819 2014-05-05  Roland McGrath  <roland@hack.frob.com>
39821         * elf/Makefile (others, install-bin): Remove pldd.
39822         (pldd-modules): Variable removed.
39823         ($(objpfx)pldd): Target removed.
39824         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
39825         (others, install-bin): Append pldd here.
39826         ($(objpfx)pldd): New target.
39828         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
39829         to 0, so the first #if test emitted later doesn't see it undefined.
39830         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
39831         * sysdeps/gnu/errlist.c: Regenerated.
39833 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39835         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
39836         [libc_hidden_builtin_def]: Define to empty value.
39837         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
39838         [libc_hidden_builtin_def]: Likewise.
39839         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
39840         [libc_hidden_builtin_def]: Likewise.
39841         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
39842         [libc_hidden_builtin_def]: Likewise.
39843         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
39844         __redirect_memcpy and define ifunc as default hidden symbol.
39845         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
39846         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
39848 2014-05-04  Adam Conrad  <adconrad@0c3.net>
39850         * locale/iso-4217.def: Reintroduce XDR currency.
39852 2014-05-04  Allan McRae  <allan@archlinux.org>
39854         * po/eo.po: Update Esperanto translation from translation project.
39856 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
39858         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
39859         and FEATURE_INDEX_MAX to 1.
39860         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
39862 2014-05-01  Steve Ellcey  <sellcey@mips.com>
39864         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
39865         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
39866         * iconvdata/big5.c (ONE_DIRECTION): Define.
39867         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
39868         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
39869         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
39870         * iconvdata/cp932.c (ONE_DIRECTION): Define.
39871         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
39872         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
39873         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
39874         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
39875         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
39876         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
39877         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
39878         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
39879         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
39880         * iconvdata/gbk.c (ONE_DIRECTION): Define.
39881         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
39882         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
39883         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
39884         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
39885         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
39886         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
39887         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
39888         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
39889         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
39890         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
39891         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
39892         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
39893         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
39894         * iconvdata/iso646.c (ONE_DIRECTION): Define.
39895         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
39896         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
39897         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
39898         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
39899         * iconvdata/johab.c (ONE_DIRECTION): Define.
39900         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
39901         * iconvdata/sjis.c (ONE_DIRECTION): Define.
39902         * iconvdata/t.61.c (ONE_DIRECTION): Define.
39903         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
39904         * iconvdata/tscii.c (ONE_DIRECTION): Define.
39905         * iconvdata/uhc.c (ONE_DIRECTION): Define.
39906         * iconvdata/unicode.c (ONE_DIRECTION): Define.
39907         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
39908         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
39909         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
39911 2014-05-01  Roland McGrath  <roland@hack.frob.com>
39913         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
39914         (_IO_JUMPS_OFFSET): Define to 0.
39916         * nptl/sysdeps/pthread/bits/libc-lock.h
39917         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
39918         (__libc_lock_define_initialized_recursive): Always define using
39919         initializer.  Modern compilers treat uninitialized (implicit zero) and
39920         explicit zero initializers the same (i.e. put the datum in bss).
39922 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
39924         * nscd/nscd-client.h: Include <string.h>.
39926 2014-05-01  David S. Miller  <davem@davemloft.net>
39928         [BZ #16885]
39929         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
39930         multiple zero bytes exist at the end of a string.
39931         Reported by Aurelien Jarno <aurelien@aurel32.net>
39933         * string/test-strcmp.c (check): Add explicit test for situations where
39934         there are multiple zero bytes after the first.
39936 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
39938         [BZ #16890]
39939         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
39940         when compiling wprintf.
39941         * stdio-common/tstdiomisc.c (t3): New function.
39942         (main): Call it.
39944 2014-05-01  Steve Ellcey  <sellcey@mips.com>
39946         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
39947         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
39948         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
39949         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
39951 2014-05-01  Steve Ellcey  <sellcey@mips.com>
39953         * stdlib/longlong.h: Updated from GCC.
39955 2014-05-01  Will Newton  <will.newton@linaro.org>
39956             Bernard Ogden  <bernie.ogden@linaro.org>
39958         * NEWS: Update fixed bug list.
39960         [BZ #15119]
39961         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
39963 2014-04-30  David S. Miller  <davem@davemloft.net>
39965         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
39966         (libc_feholdexcept_setround_sparc_ctx): New function.
39967         (libc_fesetenv_sparc_ctx): Likewise.
39968         (libc_feupdateenv_sparc_ctx): Likewise.
39969         (libc_feholdsetround_sparc_ctx): Likewise.
39970         (libc_feholdexcept_setround_ctx): Define.
39971         (libc_feholdexcept_setroundf_ctx): Likewise.
39972         (libc_feholdexcept_setroundl_ctx): Likewise.
39973         (libc_fesetenv_ctx): Likewise.
39974         (libc_fesetenvf_ctx): Likewise.
39975         (libc_fesetenvl_ctx): Likewise.
39976         (libc_feupdateenv_ctx): Likewise.
39977         (libc_feupdateenvf_ctx): Likewise.
39978         (libc_feupdateenvl_ctx): Likewise.
39979         (libc_feresetround_ctx): Likewise.
39980         (libc_feresetroundf_ctx): Likewise.
39981         (libc_feresetroundl_ctx): Likewise.
39982         (libc_feholdsetround_ctx): Likewise.
39983         (libc_feholdsetroundf_ctx): Likewise.
39984         (libc_feholdsetroundl_ctx): Likewise.
39986         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
39987         with __USE_GNU instead of XOPEN cpp guards.
39989         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
39990         0.
39992         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
39993         with XOPEN cpp guards.
39995 2014-04-30  Julian Brown  <julian@codesourcery.com>
39997         [BZ #16888]
39998         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
39999         handling.
40001 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
40003         [BZ #9894]
40004         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
40005         Change to 2.6.32.
40006         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
40007         * sysdeps/unix/sysv/linux/configure: Regenerated.
40008         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
40009         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
40010         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
40011         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
40012         * README: Update reference to required Linux kernel version.
40013         * manual/install.texi (Linux): Update reference to required Linux
40014         kernel headers version.
40015         * INSTALL: Regenerated.
40017         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
40018         header inclusion.
40019         [POSIX] (limits.h): Likewise.
40020         [POSIX] (math.h): Likewise.
40021         [POSIX] (sys/wait.h): Likewise.
40022         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
40023         function.
40024         [POSIX] (stddef.h): Do not allow header inclusion.
40026 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40028         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
40030 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
40032         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
40033         Return immediately after lll_futex_wake.
40035 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40037         [BZ #16791]
40038         * nscd/nscd-client.h (datahead_init_common): Initialize entire
40039         structure.
40040         (datahead_init_pos): Call datahead_init_common early.
40041         (datahead_init_neg): Likewise.
40043         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
40044         datahead_init_neg): New functions.
40045         * nscd/aicache.c (addhstaiX): Use them.
40046         * nscd/grpcache.c (cache_addgr): Likewise.
40047         * nscd/hstcache.c (cache_addhst): Likewise.
40048         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40049         * nscd/netgroupcache.c (do_notfound): Likewise.
40050         (addgetnetgrentX): Likewise.
40051         (addinnetgrX): Likewise.
40052         * nscd/pwdcache.c (cache_addpw): Likewise.
40053         * nscd/servicescache.c (cache_addserv): Likewise.
40055 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40056             Atsushi Onoe  <atsushi@onoe.org>
40058         [BZ #14308]
40059         [BZ #12994]
40060         [BZ #13651]
40061         * resolv/res_query.c (__libc_res_nsearch): Return if at least
40062         one response is valid.
40063         * resolv/res_send.c (send_dg): Check for validity of other
40064         response if the current response is a referral.
40066 2014-04-29  Steve Ellcey  <sellcey@mips.com>
40068         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
40070 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
40072         [BZ #16823]
40073         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
40074         Always divide by positive zero when computing -Inf result.
40075         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
40076         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
40078 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40080         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
40081         FPSCR if value do not change.
40082         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
40083         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
40084         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
40085         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
40086         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
40087         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
40088         function.
40090 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
40092         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
40093         * sysdeps/unix/sysv/linux/hppa: Move directory from
40094         ports/systeps/unix/sysv/linux/hppa.
40095         * README: Update listing for hppa-*-linux-gnu.
40097 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
40099         [BZ #16754]
40100         * manual/stdio.texi (Hook functions): Fix types of stream hook
40101         functions.
40102         [BZ #16854]
40103         * socket/sys/socket.h: Fix typo in comment.
40105 2014-04-28  Wilco  <wdijkstr@arm.com>
40107         * sysdeps/arm/fenv_private.h: New file.
40108         * sysdeps/arm/math_private.h: New file.
40109         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
40111 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
40113         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
40114         with __int128_t.
40115         (La_x86_64_retval): Likewise.
40117 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
40119         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
40120         fpsr if value didn't change.
40121         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
40122         to fpcr if value didn't change.
40123         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
40124         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
40125         fpsr or fpcr if value didn't change.
40126         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
40127         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
40128         fpcr if value didn't change.
40129         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
40130         to fpsr if value didn't change.
40132 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
40134         * nptl/tst-sem3.c: Use test-skeleton.c
40135         (main): Rename to do_test.  Use return instead of
40136         exit.
40137         * nptl/tst-sem4.c: Use test-skeleton.c
40138         (main): Rename to do_test.
40140 2014-04-22  David S. Miller  <davem@davemloft.net>
40142         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
40143         (struct sigaction): New struct member __glibc_reserved0, change
40144         type of sa_flags to int.
40146 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
40148         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
40149         (COUNT_LEADING_ZEROS_0): Define for AArch64.
40151 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
40153         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
40154         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
40156 2014-04-22  Will Newton  <will.newton@linaro.org>
40157             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
40159         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
40160         (__longjmp): Add longjmp and longjmp_target SystemTap
40161         probes.
40162         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
40163         (__sigsetjmp): Add setjmp SystemTap probe.
40165 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
40167         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
40168         match manual order.
40170 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40172         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
40174         * sysdeps/powerpc/fpu/fenv_private.h
40175         (libc_feholdexcept_setroundl_ctx): Define to
40176         libc_feholdexcept_setround_ppc_ctx.
40177         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
40178         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
40179         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
40180         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
40182 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
40184         * sysdeps/aarch64/math-tests.h: New file.
40186 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
40188         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
40189         New.
40190         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40191         Check and set bit_AVX2_Usable.
40192         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
40193         macro.
40194         (bit_AVX2): Likewise.
40195         (index_AVX2_Usable): Likewise.
40196         (CPUID_AVX2): Likewise.
40197         (HAS_AVX2): Likewise.
40199 2014-04-17  Will Newton  <will.newton@linaro.org>
40201         * manual/setjmp.texi (System V contexts): Add note that
40202         calling setcontext on a context created by a call to a
40203         signal handler is undefined.  Update text to note that
40204         setcontext from a signal handler is possible but not
40205         recommended.
40207         [BZ #16629]
40208         * stdlib/tst-setcontext.c: Include signal.h.
40209         (main): Check that the signal stack before and
40210         after swapcontext is the same.
40212         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
40213         Re-implement to restore registers in user code and avoid
40214         rt_sigreturn system call.
40216 2014-04-17  Wilco  <wdijkstr@arm.com>
40218         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
40219         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
40220         * math/test-fenv.c: Skip exception trap tests on targets which only
40221         support non-stop mode.
40223 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
40224             Wilco Dijkstra  <wilco.dijkstra@arm.com>
40226         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
40227         (libc_feholdsetround_aarch64_ctx)
40228         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
40229         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
40230         (libc_feresetround_ctx, libc_feresetroundf_ctx)
40231         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
40232         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
40233         (libc_feresetround_noexl_ctx): Define.
40235 2014-04-16  Richard Henderson  <rth@redhat.com>
40237         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
40239         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
40240         unwind tables.
40242         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
40243         const from the non-libc, non-ldso copy.
40245         * sysdeps/alpha/libm-test-ulps: Regenerate.
40247 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
40248             Wilco Dijkstra  <wilco.dijkstra@arm.com>
40250         * sysdeps/aarch64/fpu/math_private.h: New file.
40252 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
40254         * sysdeps/aarch64/libm-test-ulps: Regenerate.
40256 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
40258         [BZ #16275]
40259         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
40260         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
40261         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
40262         Intel MPX bound registers before _dl_profile_fixup.
40263         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
40264         registers after _dl_profile_fixup.  Save and restore bound
40265         registers bnd0/bnd1 when calling _dl_call_pltexit.
40266         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
40267         (LR_BND_OFFSET): Likewise.
40268         (LRV_BND0_OFFSET): Likewise.
40269         (LRV_BND1_OFFSET): Likewise.
40271 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40273         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
40274         to...
40275         * sysdeps/mach/hurd/i386/tls.h: ... here.
40276         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
40277         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
40278         fields.
40280 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40282         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
40284 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
40286         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40288 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
40290         [BZ #14770]
40291         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
40292         * sysdeps/s390/configure: Regenerate.
40294         [BZ #16824]
40295         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
40296         Set round-to-nearest internally to reduce error accumulation.
40298 2014-04-16  Alan Modra  <amodra@gmail.com>
40300         [BZ #16740]
40301         [BZ #16619]
40302         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
40303         * math/libm-test.inc (frexp_test_data): Add tests.
40304         * NEWS: Update fixed bug list.
40306 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
40308         * benchtests/Makefile: Depend on libraries in build directory.
40309         (bench-math): Separate out math tests.
40310         (bench-pthread): Separate out pthread tests.
40311         (bench): Include math and pthread tests.
40313 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
40315         [BZ #16831]
40316         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
40317         _dl_debug_initialize.
40319         * configure.ac: Remove SELinux header check.
40320         * configure: Regenerate.
40321         * nscd/selinux.c (perms): Array of const char* to permission names.
40322         (nscd_request_avc_has_perm): Call security_deny_unknown to find
40323         default policy. Call string_to_security_class and string_to_av_perm to
40324         translate strings. Enforce default policy and call avs_has_perm with
40325         results of translated strings.
40327 2014-04-13  David S. Miller  <davem@davemloft.net>
40329         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40331 2014-04-12  Allan McRae  <allan@archlinux.org>
40333         [BZ #16838]
40334         * manual/string.texi (Collation Functions): Fix qsort argument
40335         order in example.
40336         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
40338 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
40340         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
40341         Make the test a no-op if there are no exceptions defined.
40343 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
40345         * elf/Makefile (tests): make tst-dlopen-aout conditional on
40346         enable-hardcoded-path-in-tests
40348 2014-04-11  Will Newton  <will.newton@linaro.org>
40350         * benchtests/Makefile (extra-objs): Add json-lib.o.
40351         (bench-func): Tidy up JSON output.
40352         * benchtests/bench-skeleton.c: Include json-lib.h.
40353         (main): Use JSON library functions to do output of
40354         benchmark results.
40355         * benchtests/bench-timing-type.c (main): Output the
40356         timing type simply, leaving formatting to the user.
40357         * benchtests/json-lib.c: New file.
40358         * benchtests/json-lib.h: Likewise.
40360 2014-04-11  Torvald Riegel  <triegel@redhat.com>
40362         [BZ #15215]
40363         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
40364         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
40365         memory barriers.  Add comments.
40366         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
40367         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
40368         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
40369         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
40370         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
40371         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
40373 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
40375         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
40376         * sysdeps/s390/s390-64/configure.ac: ... this ...
40377         * sysdeps/s390/configure.ac: ... to here.
40378         * sysdeps/s390/s390-32/configure: Delete file.
40379         * sysdeps/s390/s390-64/configure: Delete file.
40380         * sysdeps/s390/configure: Regenerate.
40382 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
40384         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
40386 2014-04-11  Will Newton  <will.newton@linaro.org>
40388         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
40389         to zero if it is not defined elsewhere.  (mtrim): Test
40390         the value of MALLOC_DEBUG with #if rather than #ifdef.
40392 2014-04-10 Torvald Riegel  <triegel@redhat.com>
40394         * benchtests/pthread_once-inputs: New file.
40395         * benchtests/pthread_once-source.c: New file.
40396         * benchtests/README: Update documentation.
40398 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
40399             H.J. Lu  <hongjiu.lu@intel.com>
40401         [BZ #16275]
40402         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
40403         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
40404         * sysdeps/x86_64/configure: Regenerated.
40405         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
40406         macro.
40407         (REGISTER_SAVE_RAX): Likewise.
40408         (REGISTER_SAVE_RCX): Likewise.
40409         (REGISTER_SAVE_RDX): Likewise.
40410         (REGISTER_SAVE_RSI): Likewise.
40411         (REGISTER_SAVE_RDI): Likewise.
40412         (REGISTER_SAVE_R8): Likewise.
40413         (REGISTER_SAVE_R9): Likewise.
40414         (REGISTER_SAVE_BND0): Likewise.
40415         (REGISTER_SAVE_BND1): Likewise.
40416         (REGISTER_SAVE_BND2): Likewise.
40417         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
40418         bound registers when calling _dl_fixup.
40420 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40422         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
40423         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
40424         of its definition.
40425         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
40426         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
40427         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
40428         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
40429         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
40430         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
40431         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
40433 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
40435         [BZ #15514]
40436         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
40437         pathconf(_PC_NAME_MAX).
40439 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40441         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
40442         Remove macro usage.
40443         (__PTHREAD_SPINS): Move definition to ...
40444         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
40445         (__PTHREAD_SPINS): ... here.
40446         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
40447         (__PTHREAD_SPIN): Likewise.
40448         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
40449         (__PTHREAD_SPIN): Likewise.
40450         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
40451         (__PTHREAD_SPIN): Likewise.
40452         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
40453         (__PTHREAD_SPIN): Likewise.
40454         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
40455         (__PTHREAD_SPIN): Likewise.
40456         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
40457         (__PTHREAD_SPIN): Likewise.
40458         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
40459         (__PTHREAD_SPIN): Likewise.
40460         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
40461         (__PTHREAD_SPIN): Likewise.
40462         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
40463         (__PTHREAD_SPIN): Likewise.
40464         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
40465         (__PTHREAD_SPIN): Likewise.
40466         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
40467         (__PTHREAD_SPIN): Likewise.
40468         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
40469         (__PTHREAD_SPIN): Likewise.
40471         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
40472         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
40473         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
40474         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
40475         imply folder.
40476         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
40477         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
40478         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
40479         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
40480         correct imply path.
40481         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
40482         strlen symbol for non multi-arch builds.
40483         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
40484         missing hidden_def and weak_alias.
40486 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
40488         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
40490 2014-04-07  Will Newton  <will.newton@linaro.org>
40492         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
40493         and contents.  [!_LIBC] Remove #ifndef and contents.
40494         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
40495         * string/memccpy.c (__memccpy): Use ANSI prototype.
40496         * string/memfrob.c (memfrob): Likewise.
40497         * string/strcoll.c (STRCOLL): Likewise.
40498         * string/strlen.c (strlen): Likewise.
40499         * string/strtok.c (STRTOK): Likewise.
40500         * string/strcat.c: Remove unused #include of memcopy.h.
40501         (strcat): Use ANSI prototype.
40502         * string/strchr.c: Remove unused #include of memcopy.h.
40503         (strchr): Use ANSI prototype.
40504         * string/strcmp.c: Remove unused #include of memcopy.h.
40505         (strcmp): Use ANSI prototype.
40506         * string/strcpy.c: Remove unused #include of memcopy.h.
40507         (strcpy): Use ANSI prototype.
40509 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40511         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
40512         * config.make.in (config-extra-cppflags): Set it from
40513         libc_extra_cppflags.
40514         * configure.ac (libc_extra_cflags): Make it accumulate over
40515         configure fragments.
40516         (libc_extra_cppflags): New flag.
40517         * configure. Regenerate.
40518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
40519         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
40520         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
40521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
40523         [BZ #16815]
40524         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
40525         result for FE_DOWNWARD rounding mode.
40526         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
40527         Likewise.
40528         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40530 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
40532         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
40533         in function argument name.
40535 2014-04-03  David Svoboda  <svoboda@cert.org>
40537         [BZ #5666]
40538         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
40539         explicitly.
40541 2014-04-03  Roland McGrath  <roland@hack.frob.com>
40543         * elf/dl-unmap-segments.h: New file.
40544         * sysdeps/generic/ldsodefs.h
40545         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
40546         * elf/dl-close.c: Include <dl-unmap-segments.h>.
40547         * elf/dl-fptr.c: Likewise.
40548         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
40549         * sysdeps/aarch64/tlsdesc.c: Likewise.
40550         * sysdeps/arm/tlsdesc.c: Likewise.
40551         * sysdeps/i386/tlsdesc.c: Likewise.
40552         * sysdeps/tile/dl-runtime.c: Likewise.
40553         * sysdeps/x86_64/tlsdesc.c: Likewise.
40554         * elf/dl-load.h: New file.
40555         * elf/dl-load.c: Include it.
40556         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
40557         Macros moved to dl-load.h.
40558         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
40559         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
40560         Use _dl_unmap_segments in place of __munmap.
40561         Break out segment-mapping loop into ...
40562         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
40564 2014-04-03  Will Newton  <will.newton@linaro.org>
40566         * elf/dl-lookup.c (do_lookup_x): Remove comment
40567         referring to nested function and move variable
40568         declarations down to before first use.
40570 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
40572         [BZ #16799]
40573         [BZ #16800]
40574         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
40575         with 0 numerator.
40576         * math/s_catanf.c (__catanf): Likewise.
40577         * math/s_catanh.c (__catanh): Likewise.
40578         * math/s_catanhf.c (__catanhf): Likewise.
40579         * math/s_catanhl.c (__catanhl): Likewise.
40580         * math/s_catanl.c (__catanl): Likewise.
40581         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
40582         by positive zero when computing -Inf result.
40583         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
40584         (catanh_test): Likewise.
40585         * sysdeps/i386/fpu/libm-test-ulps: Update.
40586         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40588         [BZ #16789]
40589         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
40590         instead of using underflowing value in computing result.
40591         * math/s_clog10.c (__clog10): Likewise.
40592         * math/s_clog10f.c (__clog10f): Likewise.
40593         * math/s_clog10l.c (__clog10l): Likewise.
40594         * math/s_clogf.c (__clogf): Likewise.
40595         * math/s_clogl.c (__clogl): Likewise.
40596         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
40597         (clog10_test): Likewise.
40598         * sysdeps/i386/fpu/libm-test-ulps: Update.
40599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40601 2014-04-02  Alan Modra  <amodra@gmail.com>
40603         [BZ #16739]
40604         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
40605         output when value is near a power of two.  Use int64_t for lx and
40606         remove casts.  Use decimal rather than hex exponent constants.
40607         Don't use long double multiplication when double will suffice.
40608         * math/libm-test.inc (nextafter_test_data): Add tests.
40609         * NEWS: Add 16739 and 16786 to bug list.
40611         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
40613         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
40615 2014-04-01  Will Newton  <will.newton@linaro.org>
40617         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
40618         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
40620 2014-04-01  Florian Weimer  <fweimer@redhat.com>
40622         [BZ #13347]
40623         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
40624         * nptl/tst-setuid2.c: New file.
40625         * nptl/Makefile (xtests): Add tst-setuid2.
40627 2014-04-01  Alan Modra  <amodra@gmail.com>
40629         [BZ #16786]
40630         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
40632 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
40634         [BZ #6803]
40635         [BZ #6804]
40636         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
40637         set errno as appropriate.
40638         * math/w_scalbf.c (__scalbf): Likewise.
40639         * math/w_scalbl.c (__scalbl): Likewise.
40640         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
40641         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
40642         * math/libm-test.inc (scalb_test_data): Add errno expectations.
40643         Add more NaN tests.
40645         [BZ #16349]
40646         * math/w_atan2.c: Include <errno.h>.
40647         (__atan2): Set errno for result underflowing to zero.
40648         * math/w_atan2f.c: Include <errno.h>.
40649         (__atan2f): Set errno for result underflowing to zero.
40650         * math/w_atan2l.c: Include <errno.h>.
40651         (__atan2l): Set errno for result underflowing to zero.
40652         * math/auto-libm-test-in: Don't allow missing errno for some atan2
40653         tests.
40654         * math/auto-libm-test-out: Regenerated.
40656 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40658         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
40659         Encode instruction correctly in little endian.
40660         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
40661         Likewise.
40662         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
40663         Likewise.
40664         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
40665         Likewise.
40666         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
40667         Likewise.
40669 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
40671         [BZ #9894]
40672         * sysdeps/unix/sysv/linux/kernel-features.h
40673         [__sparc__ && !__arch64__ && !__sparc_v9__]
40674         (__ASSUME_SET_ROBUST_LIST): Do not define.
40675         [__sparc__ && !__arch64__ && !__sparc_v9__]
40676         (__ASSUME_FUTEX_LOCK_PI): Likewise.
40677         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
40678         Likewise.
40679         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40680         (__ASSUME_FUTEX_LOCK_PI): Undefine.
40681         (__ASSUME_REQUEUE_PI): Likewise.
40682         (__ASSUME_SET_ROBUST_LIST): Likewise.
40683         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
40684         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
40685         Undefine.
40686         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40687         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
40688         Likewise.
40689         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
40690         Likewise.
40691         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
40692         Likewise.
40693         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40694         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
40695         Undefine.
40696         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
40697         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
40698         Likewise.
40700         [BZ #16648]
40701         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40702         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
40703         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
40705 2014-03-31  Will Newton  <will.newton@linaro.org>
40707         * benchtests/Makefile (bench): Add ffs and ffsll to list
40708         of tests.
40709         * benchtests/ffs-inputs: New file.
40710         * benchtests/ffsll-inputs: Likewise.
40712 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
40714         [BZ #16770]
40715         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
40716         too large before casting to int.
40717         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
40718         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
40719         * math/libm-test.inc (scalb_test_data): Add more tests.
40721 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40723         * benchtests/Makefile (DETAILED_OPT): New make option.
40724         (bench-func): Run benchmark program with -d if DETAILED_OPT is
40725         set.
40726         * benchtests/bench-skeleton.c: Include stdbool.h.
40727         (main): Store and print timings per input.
40728         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
40729         member to each argument value.
40730         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
40731         (_print_arg_data): Initialize per-input timing to 0.
40733         * benchtests/Makefile (timing-type): New binary.
40734         (bench-clean): Also remove bench-timing-type.
40735         (bench): New target for timing-type.
40736         (bench-func): Print output in JSON format.
40737         * benchtests/bench-skeleton.c (main): Print output in JSON
40738         format.
40739         * benchtests/bench-timing-type.c: New file.
40740         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
40741         (TIMING_PRINT_STATS): Remove.
40742         * benchtests/scripts/bench.py (_print_arg_data): Store variant
40743         name separately.
40745         * benchtests/bench-modf.c: Remove.
40746         * benchtests/modf-inputs: New inputs file.
40748 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
40750         [BZ #16362]
40751         * math/s_clog10.c (M_PI_LOG10E): New macro.
40752         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
40753         imaginary parts are 0.
40754         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
40755         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
40756         imaginary parts are 0.
40757         * math/s_clog10l.c (M_PI_LOG10El): New macro.
40758         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
40759         imaginary parts are 0.
40760         * math/libm-test.inc (clog10_test_data): Update expected results
40761         for when real and imaginary parts are 0.
40763 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
40765         * elf/dl-load.c: Finish conversion of __builtin_expect into
40766         __glibc_{un}likely.
40768 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
40770         [BZ #16348]
40771         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
40772         1+x for argument with exponent below -67.
40773         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
40774         Likewise.
40775         * math/auto-libm-test-in: Add more tests of exp.
40776         * math/auto-libm-test-out: Regenerated.
40778 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40780         [BZ #16759]
40781         * inet/getnetgrent_r.c (get_nonempty_val): New function.
40782         (nscd_getnetgrent): Use it.
40784         [BZ #16760]
40785         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
40786         of stpcpy.
40788 2014-03-27  Andi Kleen  <ak@linux.intel.com>
40790         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
40791         (lll_robust_lock, lll_cond_lock, lll_timedlock)
40792         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
40793         (lll_robust_unlock): Remove out of line section. Use cfi
40794         intrinsics.
40795         (LLL_STUB_UNWIND_INFO*): Remove.
40796         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
40797         (lll_robust_lock, lll_cond_lock, lll_timedlock)
40798         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
40799         (lll_robust_unlock): Remove out of line section. Use cfi
40800         intrinsics.
40801         (LLL_STUB_UNWIND_INFO*): Remove.
40803 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40805         [BZ #16758]
40806         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
40807         blank values.
40809 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
40811         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
40813 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
40815         [BZ #16198]
40816         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
40817         fnstenv.
40818         * math/test-fenv-preserve.c: New file.
40819         * math/Makefile (tests): Add test-fenv-preserve.
40821 2014-03-26  Will Newton <will.newton@linaro.org>
40823         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
40825 2014-03-25  Roland McGrath  <roland@hack.frob.com>
40827         * scripts/versionlist.awk: Partition the version sets and emit all
40828         GLIBC_* (sorted) before all others (sorted).
40830 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
40832         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
40833         GLIBC_2.2.5 version.
40835 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40837         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
40838         calls.
40840         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
40841         previous change.
40843         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40845 2014-03-25  Andreas Schwab  <schwab@suse.de>
40847         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
40848         label to be used after in6ailist is initialized.
40850 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40852         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
40853         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
40855 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
40857         [BZ #16357]
40858         [BZ #16599]
40859         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
40860         min_plus_half.
40861         (fp_formats): Update initializers.
40862         (init_fp_formats): Initialize new field.
40863         (output_for_one_input_case): Allow underflow for results up to
40864         min_plus_half.
40865         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
40866         * math/auto-libm-test-in: Don't mark some underflows from asin and
40867         atanh as spurious.
40868         * math/auto-libm-test-out: Regenerated.
40869         * sysdeps/i386/fpu/libm-test-ulps: Update.
40870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40872 2014-03-25  Andreas Schwab  <schwab@suse.de>
40874         * libio/Makefile (tst-ftell-partial-wide-ENV)
40875         (tst-ftell-active-handler-ENV): Define.
40877 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
40879         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
40881 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
40883         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
40885 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
40887         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
40888         * sysdeps/x86_64/fpu/multiarch/e_exp.c
40889         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
40891 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
40893         [BZ #16634]
40894         * elf/dl-load.c (open_verify): Add mode parameter.
40895         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
40896         (open_path): Change from boolean 'secure' to complete flag 'mode'
40897         (_dl_map_object): Adjust.
40898         * elf/Makefile (tests): Add tst-dlopen-aout.
40899         * elf/tst-dlopen-aout.c: New test.
40901 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
40903         [BZ #16714]
40904         * sysdeps/unix/sysv/linux/s390/bits/stat.h
40905         (struct stat): Rename member pad0 to __glibc_reserved0.
40907         [BZ #16712]
40908         * sysdeps/s390/s390-32/bits/wordsize.h
40909         (__WORDSIZE32_SIZE_ULONG): New define.
40910         * sysdeps/s390/s390-64/bits/wordsize.h
40911         (__WORDSIZE32_SIZE_ULONG): Likewise.
40912         * sysdeps/generic/stdint.h (SIZE_MAX):
40913         Define as UL if __WORDSIZE32_SIZE_ULONG.
40915         [BZ #16713]
40916         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
40917         (__glibc_reserved0): New variable.
40918         (sa_flags): Change type to int.
40920         * posix/Makefile (before-compile): Use += before-compile instead
40921         of a :=.
40923         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
40924         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
40926 2014-03-20  Andreas Schwab  <schwab@suse.de>
40928         [BZ #16743]
40929         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
40930         non-matching result from nscd.
40932 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
40934         * scripts/bench.py: Moved to ...
40935         * benchtests/scripts/bench.py: ... here.
40936         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
40938 2014-03-24  Andreas Schwab  <schwab@suse.de>
40940         [BZ #16002]
40941         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
40942         alloca_account and account alloca use for struct in6ailist.
40944 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
40946         [BZ #16284]
40947         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
40948         rounding mode to recompute results that overflow to infinity or
40949         underflow to zero.
40950         * math/auto-libm-test-in: Don't mark tests as expected to fail for
40951         bug 16284.
40952         * math/auto-libm-test-out: Regenerated.
40953         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
40954         (ccosh_test): Likewise.
40955         (csin_test_data): Use plus_oflow.
40956         (csin_test): Use ALL_RM_TEST.
40957         (csinh_test_data): Use plus_oflow.
40958         (csinh_test): Use ALL_RM_TEST.
40959         * sysdeps/i386/fpu/libm-test-ulps: Update.
40960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40962 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
40964         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
40965         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
40966         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
40968         [BZ #16731]
40969         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
40970         when x - 1 is zero.
40971         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
40972         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
40973         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
40974         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
40975         argument is 1.
40976         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
40977         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
40978         zero.
40979         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
40980         * sysdeps/i386/fpu/libm-test-ulps: Update.
40981         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40983 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40985         * scripts/bench.pl: Remove file.
40986         * scripts/bench.py: New benchmark script.
40987         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
40988         * benchtests/README: Mention python dependency.
40989         * scripts/pylintrc: New file.
40990         * scripts/pylint: New file.
40992         * bits/mathdef.h: Use #ifdef instead of #if.
40993         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
40994         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
40995         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
40996         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
40997         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
40998         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
41000 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41001             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
41003         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
41004         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
41005         and strpbrk-ppc64 objects.
41006         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41007         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
41008         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
41009         multiarch strpbrk for POWER7.
41010         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
41011         multiarch strpbrk for PPC64.
41012         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
41013         ifunc selector.
41014         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
41015         strpbrk for POWER7.
41017 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
41019         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
41020         (atan_test): Likewise.
41021         (atanh_test_data): Use NO_TEST_INLINE for two tests.
41022         (atanh_test): Use ALL_RM_TEST.
41023         (atan2_test_data): Likewise.
41024         (cabs_test): Likewise.
41025         (cacosh_test): Likewise.
41026         (carg_test): Likewise.
41027         (casin_test): Likewise.
41028         (casinh_test): Likewise.
41029         (cbrt_test): Likewise.
41030         (csqrt_test): Likewise.
41031         (erf_test): Likewise.
41032         (erfc_test): Likewise.
41033         (pow10_test): Likewise.
41034         (exp2_test): Likewise.
41035         (hypot_test): Likewise.
41036         (j0_test): Likewise.
41037         (j1_test): Likewise.
41038         (lgamma_test): Likewise.
41039         (gamma_test): Likewise.
41040         (sincos_test): Likewise.
41041         (tanh_test): Likewise.
41042         (y0_test): Likewise.
41043         (y1_test): Likewise.
41044         * sysdeps/i386/fpu/libm-test-ulps: Update.
41045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41047 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41049         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
41050         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
41051         and strcspn-ppc64 objects.
41052         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41053         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
41054         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
41055         multiarch strcspn for POWER7.
41056         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
41057         multiarch strcspn for PPC64.
41058         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
41059         ifunc selector.
41060         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
41061         strcspn for POWER7.
41063 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
41065         * math/gen-libm-test.pl (generate_testfile): Expect only function
41066         name as argument to AUTO_TESTS_* and pass results for all rounding
41067         modes to parse_args.
41068         (parse_auto_input): Separate inputs of automatic tests from
41069         outputs before storing in %auto_tests.
41070         * math/libm-test.inc (acos_test_data): Update call to
41071         AUTO_TESTS_f_f.
41072         (acos_test): Use ALL_RM_TEST.
41073         (acos_tonearest_test_data): Remove.
41074         (acos_test_tonearest): Likewise.
41075         (acos_towardzero_test_data): Likewise.
41076         (acos_test_towardzero): Likewise.
41077         (acos_downward_test_data): Likewise.
41078         (acos_test_downward): Likewise.
41079         (acos_upward_test_data): Likewise.
41080         (acos_test_upward): Likewise.
41081         (acosh_test_data): Update call to AUTO_TESTS_f_f.
41082         (asin_test_data): Likewise.
41083         (asin_test): Use ALL_RM_TEST.
41084         (asin_tonearest_test_data): Remove.
41085         (asin_test_tonearest): Likewise.
41086         (asin_towardzero_test_data): Likewise.
41087         (asin_test_towardzero): Likewise.
41088         (asin_downward_test_data): Likewise.
41089         (asin_test_downward): Likewise.
41090         (asin_upward_test_data): Likewise.
41091         (asin_test_upward): Likewise.
41092         (asinh_test_data): Update call to AUTO_TESTS_f_f.
41093         (atan_test_data): Likewise.
41094         (atanh_test_data): Likewise.
41095         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
41096         (cabs_test_data): Update call to AUTO_TESTS_c_f.
41097         (carg_test_data): Likewise.
41098         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
41099         (ccos_test_data): Update call to AUTO_TESTS_c_c.
41100         (ccosh_test_data): Likewise.
41101         (cexp_test_data): Likewise.
41102         (clog_test_data): Likewise.
41103         (clog10_test_data): Likewise.
41104         (cos_test_data): Update call to AUTO_TESTS_f_f.
41105         (cos_test): Use ALL_RM_TEST.
41106         (cos_tonearest_test_data): Remove.
41107         (cos_test_tonearest): Likewise.
41108         (cos_towardzero_test_data): Likewise.
41109         (cos_test_towardzero): Likewise.
41110         (cos_downward_test_data): Likewise.
41111         (cos_test_downward): Likewise.
41112         (cos_upward_test_data): Likewise.
41113         (cos_test_upward): Likewise.
41114         (cosh_test_data): Update call to AUTO_TESTS_f_f.
41115         (cosh_test): Use ALL_RM_TEST.
41116         (cosh_tonearest_test_data): Remove.
41117         (cosh_test_tonearest): Likewise.
41118         (cosh_towardzero_test_data): Likewise.
41119         (cosh_test_towardzero): Likewise.
41120         (cosh_downward_test_data): Likewise.
41121         (cosh_test_downward): Likewise.
41122         (cosh_upward_test_data): Likewise.
41123         (cosh_test_upward): Likewise.
41124         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
41125         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
41126         (ctan_test_data): Likewise.
41127         (ctan_test): Use ALL_RM_TEST.
41128         (ctan_tonearest_test_data): Remove.
41129         (ctan_test_tonearest): Likewise.
41130         (ctan_towardzero_test_data): Likewise.
41131         (ctan_test_towardzero): Likewise.
41132         (ctan_downward_test_data): Likewise.
41133         (ctan_test_downward): Likewise.
41134         (ctan_upward_test_data): Likewise.
41135         (ctan_test_upward): Likewise.
41136         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
41137         (ctanh_test): Use ALL_RM_TEST.
41138         (ctanh_tonearest_test_data): Remove.
41139         (ctanh_test_tonearest): Likewise.
41140         (ctanh_towardzero_test_data): Likewise.
41141         (ctanh_test_towardzero): Likewise.
41142         (ctanh_downward_test_data): Likewise.
41143         (ctanh_test_downward): Likewise.
41144         (ctanh_upward_test_data): Likewise.
41145         (ctanh_test_upward): Likewise.
41146         (erf_test_data): Update call to AUTO_TESTS_f_f.
41147         (erfc_test_data): Likewise.
41148         (exp_test_data): Likewise.
41149         (exp_test): Use ALL_RM_TEST.
41150         (exp_tonearest_test_data): Remove.
41151         (exp_test_tonearest): Likewise.
41152         (exp_towardzero_test_data): Likewise.
41153         (exp_test_towardzero): Likewise.
41154         (exp_downward_test_data): Likewise.
41155         (exp_test_downward): Likewise.
41156         (exp_upward_test_data): Likewise.
41157         (exp_test_upward): Likewise.
41158         (exp10_test_data): Update call to AUTO_TESTS_f_f.
41159         (exp10_test): Use ALL_RM_TEST.
41160         (exp10_tonearest_test_data): Remove.
41161         (exp10_test_tonearest): Likewise.
41162         (exp10_towardzero_test_data): Likewise.
41163         (exp10_test_towardzero): Likewise.
41164         (exp10_downward_test_data): Likewise.
41165         (exp10_test_downward): Likewise.
41166         (exp10_upward_test_data): Likewise.
41167         (exp10_test_upward): Likewise.
41168         (exp2_test_data): Update call to AUTO_TESTS_f_f.
41169         (expm1_test_data): Likewise.
41170         (expm1_test): Use ALL_RM_TEST.
41171         (expm1_tonearest_test_data): Remove.
41172         (expm1_test_tonearest): Likewise.
41173         (expm1_towardzero_test_data): Likewise.
41174         (expm1_test_towardzero): Likewise.
41175         (expm1_downward_test_data): Likewise.
41176         (expm1_test_downward): Likewise.
41177         (expm1_upward_test_data): Likewise.
41178         (expm1_test_upward): Likewise.
41179         (fma_test_data): Update call to AUTO_TESTS_fff_f.
41180         (fma_test): Use ALL_RM_TEST.
41181         (fma_towardzero_test_data): Remove.
41182         (fma_test_towardzero): Likewise.
41183         (fma_downward_test_data): Likewise.
41184         (fma_test_downward): Likewise.
41185         (fma_upward_test_data): Likewise.
41186         (fma_test_upward): Likewise.
41187         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
41188         (j0_test_data): Update call to AUTO_TESTS_f_f.
41189         (j1_test_data): Likewise.
41190         (jn_test_data): Update call to AUTO_TESTS_if_f.
41191         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
41192         (log_test_data): Update call to AUTO_TESTS_f_f.
41193         (log10_test_data): Likewise.
41194         (log1p_test_data): Likewise.
41195         (log2_test_data): Likewise.
41196         (pow_test_data): Update call to AUTO_TESTS_ff_f.
41197         (pow_tonearest_test_data): Likewise.
41198         (sin_test_data): Update call to AUTO_TESTS_f_f.
41199         (sin_test): Use ALL_RM_TEST.
41200         (sin_tonearest_test_data): Remove.
41201         (sin_test_tonearest): Likewise.
41202         (sin_towardzero_test_data): Likewise.
41203         (sin_test_towardzero): Likewise.
41204         (sin_downward_test_data): Likewise.
41205         (sin_test_downward): Likewise.
41206         (sin_upward_test_data): Likewise.
41207         (sin_test_upward): Likewise.
41208         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
41209         (sinh_test_data): Update call to AUTO_TESTS_f_f.
41210         (sinh_test): Use ALL_RM_TEST.
41211         (sinh_tonearest_test_data): Remove.
41212         (sinh_test_tonearest): Likewise.
41213         (sinh_towardzero_test_data): Likewise.
41214         (sinh_test_towardzero): Likewise.
41215         (sinh_downward_test_data): Likewise.
41216         (sinh_test_downward): Likewise.
41217         (sinh_upward_test_data): Likewise.
41218         (sinh_test_upward): Likewise.
41219         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
41220         (sqrt_test): Use ALL_RM_TEST.
41221         (sqrt_tonearest_test_data): Remove.
41222         (sqrt_test_tonearest): Likewise.
41223         (sqrt_towardzero_test_data): Likewise.
41224         (sqrt_test_towardzero): Likewise.
41225         (sqrt_downward_test_data): Likewise.
41226         (sqrt_test_downward): Likewise.
41227         (sqrt_upward_test_data): Likewise.
41228         (sqrt_test_upward): Likewise.
41229         (tan_test_data): Update call to AUTO_TESTS_f_f.
41230         (tan_test): Use ALL_RM_TEST.
41231         (tan_tonearest_test_data): Remove.
41232         (tan_test_tonearest): Likewise.
41233         (tan_towardzero_test_data): Likewise.
41234         (tan_test_towardzero): Likewise.
41235         (tan_downward_test_data): Likewise.
41236         (tan_test_downward): Likewise.
41237         (tan_upward_test_data): Likewise.
41238         (tan_test_upward): Likewise.
41239         (tanh_test_data): Update call to AUTO_TESTS_f_f.
41240         (tgamma_test_data): Likewise.
41241         (y0_test_data): Likewise.
41242         (y1_test_data): Likewise.
41243         (yn_test_data): Update call to AUTO_TESTS_if_f.
41244         (main): Do not call removed functions.
41246 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
41248         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
41249         (ldexp_test_data): Remove.
41250         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
41251         scalbn_test_data.
41252         (scalb_test): Use ALL_RM_TEST.
41254 2014-03-19  Andreas Schwab  <schwab@suse.de>
41256         * nscd/nscd.service: Also invalidate netgroup cache on reload.
41258 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
41260         [BZ #16649]
41261         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41262         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
41263         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
41264         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41265         (__ASSUME_PREADV): Undefine.
41266         (__ASSUME_PWRITEV): Likewise.
41268 2014-03-18  Roland McGrath  <roland@hack.frob.com>
41270         * bits/mman-linux.h: Add comment about non-Linux use.
41271         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
41272         bits/mman-linux.h resting place.
41274         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
41275         * bits/mman-linux.h: ... here.
41277 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41279         * conform/conformtest.pl: Add standard definition when calling C
41280         preprocessor on data files.
41281         (checknamespace): Remove unused variable.
41283 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
41285         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
41286         minus_oflow, plus_uflow and minus_uflow in expected results.
41287         * math/libm-test.inc (scalbn_test_data): Add more tests of
41288         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
41289         minus_uflow.
41290         (scalbn_test): Use ALL_RM_TEST.
41291         (scalbln_test_data): Add more tests of negative arguments.  Use
41292         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
41293         (scalbln_test): Use ALL_RM_TEST.
41295 2014-03-18  Roland McGrath  <roland@hack.frob.com>
41297         * scripts/abilist.awk: Ignore symbols marked with .hidden.
41299 2014-03-18  Will Newton  <will.newton@linaro.org>
41301         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
41302         inaccurate comment.
41304 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
41306         * Makerules [!subdir] (check-abi): Exit with error status if a
41307         test failed.
41309 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
41311         * math/libm-test.inc (nearbyint_test_data): Include all tests used
41312         for rint.  Include results for all rounding modes.
41313         (nearbyint_test): Use ALL_RM_TEST.
41314         (rint_test_data): Include all tests used for nearbyint.
41316 2014-03-17  Will Newton  <will.newton@linaro.org>
41318         * nptl/sysdeps/pthread/pthread.h: Revert previous
41319         change.
41321         * sysdeps/generic/ldsodefs.h: Revert previous
41322         change.
41324         * libio/genops.c: Revert previous change.
41325         * libio/libioP.h: Likewise.
41326         * stdio-common/vfprintf.c: Likewise.
41328         * sysdeps/generic/math_private.h: Revert previous
41329         change.
41331         * sysdeps/generic/math_private.h: Check whether
41332         HAVE_RM_CTX is defined with #ifdef rather
41333         than #if.
41335         * argp/argp-fmtstream.h: Check whether
41336         __STRICT_ANSI__ is defined with #ifdef rather
41337         than #if.
41338         * argp/argp.h: Likewise.
41340         * libio/genops.c: Check whether
41341         _IO_JUMPS_OFFSET is defined with #ifdef rather
41342         than #if.
41343         * libio/libioP.h: Likewise.
41344         * stdio-common/vfprintf.c: Likewise.
41346         * sysdeps/generic/ldsodefs.h: Check whether
41347         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
41348         than #if.
41350         * nptl/sysdeps/pthread/pthread.h: Check
41351         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
41352         its value.
41354 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
41356         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
41357         setting O_APPEND.
41358         * libio/tst-ftell-active-handler.c (do_append_test): Add a
41359         test case.
41361         [BZ #16680]
41362         * libio/fileops.c (_IO_file_open): Seek to end of file but
41363         don't cache the offset.
41364         (get_file_offset): Remove function.
41365         (do_ftell): Use cached offset when available.
41366         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
41367         don't cache the offset.
41368         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
41369         case.
41370         (do_one_test): Call it.
41371         (do_ftell_test): Fix up expected old offset for a+ mode.
41372         * libio/wfileops.c (do_ftell_wide): Used cached offset when
41373         available.
41375         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
41376         up test status with function return status.
41377         (do_write_test): Likewise.
41378         (do_append_test): Likewise.
41380         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
41381         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
41382         Remove.
41384 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
41386         * math/gen-libm-test.pl (parse_args): Handle results specified for
41387         each rounding mode separately.
41388         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
41389         tests and results from lrint_tonearest_test_data,
41390         lrint_towardzero_test_data, lrint_downward_test_data and
41391         lrint_upward_test_data.
41392         (lrint_test): Use ALL_RM_TEST.
41393         (lrint_tonearest_test_data): Remove.
41394         (lrint_test_tonearest): Likewise.
41395         (lrint_towardzero_test_data): Likewise.
41396         (lrint_test_towardzero): Likewise.
41397         (lrint_downward_test_data): Likewise.
41398         (lrint_test_downward): Likewise.
41399         (lrint_upward_test_data): Likewise.
41400         (lrint_test_upward): Likewise.
41401         (llrint_test_data): Merge in per-rounding-mode tests and results
41402         from llrint_tonearest_test_data, llrint_towardzero_test_data,
41403         llrint_downward_test_data and llrint_upward_test_data.
41404         (llrint_test): Use ALL_RM_TEST.
41405         (llrint_tonearest_test_data): Remove.
41406         (llrint_test_tonearest): Likewise.
41407         (llrint_towardzero_test_data): Likewise.
41408         (llrint_test_towardzero): Likewise.
41409         (llrint_downward_test_data): Likewise.
41410         (llrint_test_downward): Likewise.
41411         (llrint_upward_test_data): Likewise.
41412         (llrint_test_upward): Likewise.
41413         (rint_test_data): Merge in per-rounding-mode tests and results
41414         from rint_tonearest_test_data, rint_towardzero_test_data,
41415         rint_downward_test_data and rint_upward_test_data.  Add
41416         per-rounding-mode results for tests not in those arrays.
41417         (rint_test): Use ALL_RM_TEST.
41418         (rint_tonearest_test_data): Remove.
41419         (rint_test_tonearest): Likewise.
41420         (rint_towardzero_test_data): Likewise.
41421         (rint_test_towardzero): Likewise.
41422         (rint_downward_test_data): Likewise.
41423         (rint_test_downward): Likewise.
41424         (rint_upward_test_data): Likewise.
41425         (rint_test_upward): Likewise.
41426         (main): Don't call removed functions.
41428 2014-03-14  Roland McGrath  <roland@hack.frob.com>
41430         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
41431         "Compiled on ..." crapola.  It is anti-useful.
41433 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
41435         * scripts/evaluate-test.sh: Handle fourth argument to determine
41436         whether test run should stop on failure.
41437         * Makeconfig (stop-on-test-failure): New variable.
41438         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
41439         $(stop-on-test-failure).
41440         * Makefile (tests): Give a summary of results from testing and
41441         exit with failure status if they include an ERROR or FAIL.
41442         (xtests): Likewise.
41443         * manual/install.texi (Configuring and compiling): Mention
41444         stop-on-test-failure=y.
41445         * INSTALL: Regenerated.
41447 2014-03-14  Roland McGrath  <roland@hack.frob.com>
41449         * scripts/versionlist.awk: New file.
41450         * Makerules [$(build-shared) = yes]
41451         (postclean-generated): Add Versions.def, not Versions.def.v and
41452         Versions.def.v.i.
41453         ($(common-objpfx)Versions.def.v.i): Target removed.
41454         ($(common-objpfx)Versions.def): New target.
41455         ($(common-objpfx)Versions.all): Depend on that rather that
41456         $(common-objpfx)Versions.def.v.
41457         * Versions.def: File removed.
41459         * Makeconfig (+gccwarn): Add -Wundef.
41460         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
41461         a dl-sysdep.h breaking its contract.
41462         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
41463         * include/stackinfo.h: New file.
41464         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
41465         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
41466         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
41467         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
41468         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
41469         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
41470         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41471         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41472         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41473         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41474         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41475         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
41476         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41477         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41478         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41480 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41482         [BZ #16707]
41483         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
41484         implementation.
41485         * math/libm-test.inc (round_test_data): Add more tests.
41487         [BZ #16706]
41488         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
41489         implementation.
41490         * math/libm-test.inc (nearbyint_test_data): Add more tests.
41492         [BZ #16701]
41493         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
41494         implementation.
41495         * math/libm-test.inc (ceil_test_data): Add more tests.
41497         * math/libm-test.inc (trunc_test_data): Add more tests related to
41498         BZ#16414.
41500 2014-03-14  Roland McGrath  <roland@hack.frob.com>
41502         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
41503         with #if rather than #ifdef.
41504         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
41506 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
41508         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
41509         first.  Disable AVX-512 GCC support if assembler doesn't support
41510         it.
41511         * sysdeps/x86_64/configure: Regenerated.
41513 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
41515         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
41516         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
41517         (__old_pthread_attr_setstack): Likewise.
41518         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
41519         [!_STACK_GROWS_DOWN]: Likewise.
41521 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
41523         * config.make.in (have-bash2): Delete.
41524         * configure.ac (libc_cv_have_bash2): Delete.
41525         * configure: Regenerate.
41526         * elf/Makefile (common-ldd-rewrite): Rename to ...
41527         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
41528         (sh-ldd-rewrite): Delete.
41529         (bash-ldd-rewrite): Delete.
41530         (have-bash2): Delete checks.
41531         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
41532         ldd-rewrite.
41534         * config.make.in (have-ksh): Delete.
41535         (KSH): Delete.
41536         * configure.ac (libc_cv_have_ksh): Delete.
41537         * configure: Regenerate.
41539         * elf/Makefile: Delete $(have-ksh) check.
41540         ($(objpfx)sotruss): Change KSH to BASH.
41541         * elf/sotruss.ksh: Rename to ...
41542         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
41543         function style to match POSIX.  Drop ksh vim mode setting.
41545         * manual/time.texi (Specifying the Time Zone with TZ): Change
41546         Tuesday to Thursday.
41548         * debug/tst-longjmp_chk2.c: Update header comment.
41549         (stackoverflow_handler): Add comment.  Call assert on pass value.
41551 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
41553         [BZ #16194]
41554         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
41555         (HAVE_AVX512_ASM_SUPPORT): Likewise.
41556         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
41557         (La_x86_64_vector): Add zmm.
41558         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
41559         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
41560         ($(objpfx)tst-audit10): New target.
41561         ($(objpfx)tst-audit10.out): Likewise.
41562         (tst-audit10-ENV): New.
41563         (AVX512-CFLAGS): Likewise.
41564         (CFLAGS-tst-audit10.c): Likewise.
41565         (CFLAGS-tst-auditmod10a.c): Likewise.
41566         (CFLAGS-tst-auditmod10b.c): Likewise.
41567         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
41568         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
41569         * sysdeps/x86_64/configure: Regenerated.
41570         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
41571         AVX-512 zmm register support.
41572         (_dl_x86_64_save_sse): Likewise.
41573         (_dl_x86_64_restore_sse): Likewise.
41574         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
41575         size vector registers.
41576         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
41577         (ZMM_SIZE): Likewise.
41578         * sysdeps/x86_64/tst-audit10.c: New file.
41579         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
41580         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
41582 2014-03-13  Roland McGrath  <roland@hack.frob.com>
41584         * configure.ac (HAVE_EHDR_START): New check.
41585         * configure: Regenerated.
41586         * config.h.in (HAVE_EHDR_START): New #undef.
41587         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
41588         assuming the lowest-addressed segment maps the start of the file.
41590 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
41592         * INSTALL: Regenerated.
41594 2014-03-13  Will Newton  <will.newton@linaro.org>
41596         * manual/setjmp.texi (System V contexts): Improve
41597         clarity and grammar of documentation.
41599 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
41601         [BZ #16381]
41602         * elf/Makefile (tests): Add tst-pie2.
41603         (tests-pie): Add tst-pie2.
41604         * elf/tst-pie2.c: New file.
41605         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
41606         for ET_EXEC.
41607         * elf/rtld.c (map_doit): Load executable as lt_executable.
41608         (dl_main): Likewise.
41610 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
41612         [BZ #16642]
41613         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41614         (__ASSUME_PSELECT): Undefine.
41616 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41618         [BZ #16689]
41619         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
41620         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
41621         static build.
41622         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
41623         selector for static builds.
41625 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
41627         [BZ #16695]
41628         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
41629         key in the buffer.
41631 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41633         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
41634         IFUNC selector for static builds.
41636 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
41638         * sysdeps/mips/math_private.h [__mips_hard_float]
41639         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
41640         libc_feresetround_mips_ctx.
41641         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
41642         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
41643         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
41645         [BZ #16677]
41646         * math/s_nextafter.c (__nextafter): Do not return value from
41647         overflowing computation.
41648         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
41649         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
41650         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
41651         Likewise.
41652         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
41653         Likewise.
41654         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
41655         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
41657 2014-03-11  Roland McGrath  <roland@hack.frob.com>
41659         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
41660         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
41661         Move sfi_sp use from the load-multiple (that no longer sets sp) to
41662         the new mov targetting sp.
41664 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41666         [BZ #16683]
41667         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
41668         Define it for static builds as well.
41669         (NO_BZERO_IMPL): Likewise.
41671 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
41673         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
41674         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
41675         multiarch strspn for PPC64.
41676         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
41677         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
41678         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41679         (__libc_ifunc_impl_list): Likewise.
41680         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
41681         multiarch optimizations
41682         * string/strspn.c (strspn): Using macro to redefine symbol name.
41684 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
41685             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41687         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
41688         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
41689         multiarch strncat for PPC64.
41690         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
41691         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
41692         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41693         (__libc_ifunc_impl_list): Likewise.
41694         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
41695         multiarch optimizations
41697 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41699         [BZ #16639]
41700         * nscd/nscd.service: Make service type forking.
41702 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41704         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
41705         sign in non default rounding modes.
41706         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
41708 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
41710         * math/libm-test.inc (ALL_RM_TEST): New macro.
41711         (ceil_test): Use ALL_RM_TEST.
41712         (cimag_test): Likewise.
41713         (conj_test): Likewise.
41714         (copysign_test): Likewise.
41715         (cproj_test): Likewise.
41716         (creal_test): Likewise.
41717         (fabs_test): Likewise.
41718         (floor_test): Likewise.
41719         (fmax_test): Likewise.
41720         (fmin_test): Likewise.
41721         (fmod_test): Likewise.
41722         (fpclassify_test): Likewise.
41723         (frexp_test): Likewise.
41724         (ilogb_test): Likewise.
41725         (isfinite_test): Likewise.
41726         (finite_test): Likewise.
41727         (isgreater_test): Likewise.
41728         (isgreaterequal_test): Likewise.
41729         (isinf_test): Likewise.
41730         (isless_test): Likewise.
41731         (islessequal_test): Likewise.
41732         (islessgreater_test): Likewise.
41733         (isnan_test): Likewise.
41734         (isnormal_test): Likewise.
41735         (issignaling_test): Likewise.
41736         (isunordered_test): Likewise.
41737         (logb_test): Likewise.
41738         (logb_downward_test_data): Remove.
41739         (logb_test_downward): Likewise.
41740         (lround_test): Use ALL_RM_TEST.
41741         (llround_test): Likewise.
41742         (modf_test): Likewise.
41743         (nexttoward_test): Likewise.
41744         (remainder_test): Likewise.
41745         (drem_test): Likewise.
41746         (remainder_tonearest_test_data): Likewise.
41747         (remainder_test_tonearest): Likewise.
41748         (drem_test_tonearest): Likewise.
41749         (remainder_towardzero_test_data): Likewise.
41750         (remainder_test_towardzero): Likewise.
41751         (drem_test_towardzero): Likewise.
41752         (remainder_downward_test_data): Likewise.
41753         (remainder_test_downward): Likewise.
41754         (drem_test_downward): Likewise.
41755         (remainder_upward_test_data): Likewise.
41756         (remainder_test_upward): Likewise.
41757         (drem_test_upward): Likewise.
41758         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
41759         (round_test): Use ALL_RM_TEST.
41760         (signbit_test): Likewise.
41761         (trunc_test): Likewise.
41762         (significand_test): Likewise.
41763         (main): Don't call removed functions.
41765 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
41767         [BZ #16674]
41768         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
41769         || __USE_XOPEN2K8].
41770         (ILL_ILLOPN): Likewise.
41771         (ILL_ILLADR): Likewise.
41772         (ILL_ILLTRP): Likewise.
41773         (ILL_PRVOPC): Likewise.
41774         (ILL_PRVREG): Likewise.
41775         (ILL_COPROC): Likewise.
41776         (ILL_BADSTK): Likewise.
41777         (FPE_INTDIV): Likewise.
41778         (FPE_INTOVF): Likewise.
41779         (FPE_FLTDIV): Likewise.
41780         (FPE_FLTOVF): Likewise.
41781         (FPE_FLTUND): Likewise.
41782         (FPE_FLTRES): Likewise.
41783         (FPE_FLTINV): Likewise.
41784         (FPE_FLTSUB): Likewise.
41785         (SEGV_MAPERR): Likewise.
41786         (SEGV_ACCERR): Likewise.
41787         (BUS_ADRALN): Likewise.
41788         (BUS_ADRERR): Likewise.
41789         (BUS_OBJERR): Likewise.
41790         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41791         (TRAP_TRACE): Likewise.
41792         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41793         __USE_XOPEN2K8].
41794         (CLD_KILLED): Likewise.
41795         (CLD_DUMPED): Likewise.
41796         (CLD_TRAPPED): Likewise.
41797         (CLD_STOPPED): Likewise.
41798         (CLD_CONTINUED): Likewise.
41799         (POLL_IN): Likewise.
41800         (POLL_OUT): Likewise.
41801         (POLL_MSG): Likewise.
41802         (POLL_ERR): Likewise.
41803         (POLL_PRI): Likewise.
41804         (POLL_HUP): Likewise.
41805         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
41806         Likewise.
41807         (ILL_ILLOPN): Likewise.
41808         (ILL_ILLADR): Likewise.
41809         (ILL_ILLTRP): Likewise.
41810         (ILL_PRVOPC): Likewise.
41811         (ILL_PRVREG): Likewise.
41812         (ILL_COPROC): Likewise.
41813         (ILL_BADSTK): Likewise.
41814         (FPE_INTDIV): Likewise.
41815         (FPE_INTOVF): Likewise.
41816         (FPE_FLTDIV): Likewise.
41817         (FPE_FLTOVF): Likewise.
41818         (FPE_FLTUND): Likewise.
41819         (FPE_FLTRES): Likewise.
41820         (FPE_FLTINV): Likewise.
41821         (FPE_FLTSUB): Likewise.
41822         (SEGV_MAPERR): Likewise.
41823         (SEGV_ACCERR): Likewise.
41824         (BUS_ADRALN): Likewise.
41825         (BUS_ADRERR): Likewise.
41826         (BUS_OBJERR): Likewise.
41827         (BUS_MCEERR_AR): Likewise.
41828         (BUS_MCEERR_AO): Likewise.
41829         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41830         (TRAP_TRACE): Likewise.
41831         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41832         __USE_XOPEN2K8].
41833         (CLD_KILLED): Likewise.
41834         (CLD_DUMPED): Likewise.
41835         (CLD_TRAPPED): Likewise.
41836         (CLD_STOPPED): Likewise.
41837         (CLD_CONTINUED): Likewise.
41838         (POLL_IN): Likewise.
41839         (POLL_OUT): Likewise.
41840         (POLL_MSG): Likewise.
41841         (POLL_ERR): Likewise.
41842         (POLL_PRI): Likewise.
41843         (POLL_HUP): Likewise.
41844         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
41845         (ILL_ILLOPN): Likewise.
41846         (ILL_ILLADR): Likewise.
41847         (ILL_ILLTRP): Likewise.
41848         (ILL_PRVOPC): Likewise.
41849         (ILL_PRVREG): Likewise.
41850         (ILL_COPROC): Likewise.
41851         (ILL_BADSTK): Likewise.
41852         (FPE_INTDIV): Likewise.
41853         (FPE_INTOVF): Likewise.
41854         (FPE_FLTDIV): Likewise.
41855         (FPE_FLTOVF): Likewise.
41856         (FPE_FLTUND): Likewise.
41857         (FPE_FLTRES): Likewise.
41858         (FPE_FLTINV): Likewise.
41859         (FPE_FLTSUB): Likewise.
41860         (SEGV_MAPERR): Likewise.
41861         (SEGV_ACCERR): Likewise.
41862         (BUS_ADRALN): Likewise.
41863         (BUS_ADRERR): Likewise.
41864         (BUS_OBJERR): Likewise.
41865         (BUS_MCEERR_AR): Likewise.
41866         (BUS_MCEERR_AO): Likewise.
41867         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41868         (TRAP_TRACE): Likewise.
41869         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41870         __USE_XOPEN2K8].
41871         (CLD_KILLED): Likewise.
41872         (CLD_DUMPED): Likewise.
41873         (CLD_TRAPPED): Likewise.
41874         (CLD_STOPPED): Likewise.
41875         (CLD_CONTINUED): Likewise.
41876         (POLL_IN): Likewise.
41877         (POLL_OUT): Likewise.
41878         (POLL_MSG): Likewise.
41879         (POLL_ERR): Likewise.
41880         (POLL_PRI): Likewise.
41881         (POLL_HUP): Likewise.
41882         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
41883         Likewise.
41884         (ILL_ILLOPN): Likewise.
41885         (ILL_ILLADR): Likewise.
41886         (ILL_ILLTRP): Likewise.
41887         (ILL_PRVOPC): Likewise.
41888         (ILL_PRVREG): Likewise.
41889         (ILL_COPROC): Likewise.
41890         (ILL_BADSTK): Likewise.
41891         (ILL_BADIADDR): Likewise.
41892         (ILL_BREAK): Likewise.
41893         (FPE_INTDIV): Likewise.
41894         (FPE_INTOVF): Likewise.
41895         (FPE_FLTDIV): Likewise.
41896         (FPE_FLTOVF): Likewise.
41897         (FPE_FLTUND): Likewise.
41898         (FPE_FLTRES): Likewise.
41899         (FPE_FLTINV): Likewise.
41900         (FPE_FLTSUB): Likewise.
41901         (FPE_DECOVF): Likewise.
41902         (FPE_DECDIV): Likewise.
41903         (FPE_DECERR): Likewise.
41904         (FPE_INVASC): Likewise.
41905         (FPE_INVDEC): Likewise.
41906         (SEGV_MAPERR): Likewise.
41907         (SEGV_ACCERR): Likewise.
41908         (SEGV_PSTKOVF): Likewise.
41909         (BUS_ADRALN): Likewise.
41910         (BUS_ADRERR): Likewise.
41911         (BUS_OBJERR): Likewise.
41912         (BUS_MCEERR_AR): Likewise.
41913         (BUS_MCEERR_AO): Likewise.
41914         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41915         (TRAP_TRACE): Likewise.
41916         (TRAP_BRANCH): Likewise.
41917         (TRAP_HWBKPT): Likewise.
41918         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41919         __USE_XOPEN2K8].
41920         (CLD_KILLED): Likewise.
41921         (CLD_DUMPED): Likewise.
41922         (CLD_TRAPPED): Likewise.
41923         (CLD_STOPPED): Likewise.
41924         (CLD_CONTINUED): Likewise.
41925         (POLL_IN): Likewise.
41926         (POLL_OUT): Likewise.
41927         (POLL_MSG): Likewise.
41928         (POLL_ERR): Likewise.
41929         (POLL_PRI): Likewise.
41930         (POLL_HUP): Likewise.
41931         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
41932         (ILL_ILLOPN): Likewise.
41933         (ILL_ILLADR): Likewise.
41934         (ILL_ILLTRP): Likewise.
41935         (ILL_PRVOPC): Likewise.
41936         (ILL_PRVREG): Likewise.
41937         (ILL_COPROC): Likewise.
41938         (ILL_BADSTK): Likewise.
41939         (FPE_INTDIV): Likewise.
41940         (FPE_INTOVF): Likewise.
41941         (FPE_FLTDIV): Likewise.
41942         (FPE_FLTOVF): Likewise.
41943         (FPE_FLTUND): Likewise.
41944         (FPE_FLTRES): Likewise.
41945         (FPE_FLTINV): Likewise.
41946         (FPE_FLTSUB): Likewise.
41947         (SEGV_MAPERR): Likewise.
41948         (SEGV_ACCERR): Likewise.
41949         (BUS_ADRALN): Likewise.
41950         (BUS_ADRERR): Likewise.
41951         (BUS_OBJERR): Likewise.
41952         (BUS_MCEERR_AR): Likewise.
41953         (BUS_MCEERR_AO): Likewise.
41954         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41955         (TRAP_TRACE): Likewise.
41956         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41957         __USE_XOPEN2K8].
41958         (CLD_KILLED): Likewise.
41959         (CLD_DUMPED): Likewise.
41960         (CLD_TRAPPED): Likewise.
41961         (CLD_STOPPED): Likewise.
41962         (CLD_CONTINUED): Likewise.
41963         (POLL_IN): Likewise.
41964         (POLL_OUT): Likewise.
41965         (POLL_MSG): Likewise.
41966         (POLL_ERR): Likewise.
41967         (POLL_PRI): Likewise.
41968         (POLL_HUP): Likewise.
41969         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
41970         (ILL_ILLOPN): Likewise.
41971         (ILL_ILLADR): Likewise.
41972         (ILL_ILLTRP): Likewise.
41973         (ILL_PRVOPC): Likewise.
41974         (ILL_PRVREG): Likewise.
41975         (ILL_COPROC): Likewise.
41976         (ILL_BADSTK): Likewise.
41977         (FPE_INTDIV): Likewise.
41978         (FPE_INTOVF): Likewise.
41979         (FPE_FLTDIV): Likewise.
41980         (FPE_FLTOVF): Likewise.
41981         (FPE_FLTUND): Likewise.
41982         (FPE_FLTRES): Likewise.
41983         (FPE_FLTINV): Likewise.
41984         (FPE_FLTSUB): Likewise.
41985         (SEGV_MAPERR): Likewise.
41986         (SEGV_ACCERR): Likewise.
41987         (BUS_ADRALN): Likewise.
41988         (BUS_ADRERR): Likewise.
41989         (BUS_OBJERR): Likewise.
41990         (BUS_MCEERR_AR): Likewise.
41991         (BUS_MCEERR_AO): Likewise.
41992         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41993         (TRAP_TRACE): Likewise.
41994         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41995         __USE_XOPEN2K8].
41996         (CLD_KILLED): Likewise.
41997         (CLD_DUMPED): Likewise.
41998         (CLD_TRAPPED): Likewise.
41999         (CLD_STOPPED): Likewise.
42000         (CLD_CONTINUED): Likewise.
42001         (POLL_IN): Likewise.
42002         (POLL_OUT): Likewise.
42003         (POLL_MSG): Likewise.
42004         (POLL_ERR): Likewise.
42005         (POLL_PRI): Likewise.
42006         (POLL_HUP): Likewise.
42007         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
42008         (ILL_ILLOPN): Likewise.
42009         (ILL_ILLADR): Likewise.
42010         (ILL_ILLTRP): Likewise.
42011         (ILL_PRVOPC): Likewise.
42012         (ILL_PRVREG): Likewise.
42013         (ILL_COPROC): Likewise.
42014         (ILL_BADSTK): Likewise.
42015         (FPE_INTDIV): Likewise.
42016         (FPE_INTOVF): Likewise.
42017         (FPE_FLTDIV): Likewise.
42018         (FPE_FLTOVF): Likewise.
42019         (FPE_FLTUND): Likewise.
42020         (FPE_FLTRES): Likewise.
42021         (FPE_FLTINV): Likewise.
42022         (FPE_FLTSUB): Likewise.
42023         (SEGV_MAPERR): Likewise.
42024         (SEGV_ACCERR): Likewise.
42025         (BUS_ADRALN): Likewise.
42026         (BUS_ADRERR): Likewise.
42027         (BUS_OBJERR): Likewise.
42028         (BUS_MCEERR_AR): Likewise.
42029         (BUS_MCEERR_AO): Likewise.
42030         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42031         (TRAP_TRACE): Likewise.
42032         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42033         __USE_XOPEN2K8].
42034         (CLD_KILLED): Likewise.
42035         (CLD_DUMPED): Likewise.
42036         (CLD_TRAPPED): Likewise.
42037         (CLD_STOPPED): Likewise.
42038         (CLD_CONTINUED): Likewise.
42039         (POLL_IN): Likewise.
42040         (POLL_OUT): Likewise.
42041         (POLL_MSG): Likewise.
42042         (POLL_ERR): Likewise.
42043         (POLL_PRI): Likewise.
42044         (POLL_HUP): Likewise.
42045         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
42046         (ILL_ILLOPN): Likewise.
42047         (ILL_ILLADR): Likewise.
42048         (ILL_ILLTRP): Likewise.
42049         (ILL_PRVOPC): Likewise.
42050         (ILL_PRVREG): Likewise.
42051         (ILL_COPROC): Likewise.
42052         (ILL_BADSTK): Likewise.
42053         (ILL_DBLFLT): Likewise.
42054         (ILL_HARDWALL): Likewise.
42055         (FPE_INTDIV): Likewise.
42056         (FPE_INTOVF): Likewise.
42057         (FPE_FLTDIV): Likewise.
42058         (FPE_FLTOVF): Likewise.
42059         (FPE_FLTUND): Likewise.
42060         (FPE_FLTRES): Likewise.
42061         (FPE_FLTINV): Likewise.
42062         (FPE_FLTSUB): Likewise.
42063         (SEGV_MAPERR): Likewise.
42064         (SEGV_ACCERR): Likewise.
42065         (BUS_ADRALN): Likewise.
42066         (BUS_ADRERR): Likewise.
42067         (BUS_OBJERR): Likewise.
42068         (BUS_MCEERR_AR): Likewise.
42069         (BUS_MCEERR_AO): Likewise.
42070         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42071         (TRAP_TRACE): Likewise.
42072         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42073         __USE_XOPEN2K8].
42074         (CLD_KILLED): Likewise.
42075         (CLD_DUMPED): Likewise.
42076         (CLD_TRAPPED): Likewise.
42077         (CLD_STOPPED): Likewise.
42078         (CLD_CONTINUED): Likewise.
42079         (POLL_IN): Likewise.
42080         (POLL_OUT): Likewise.
42081         (POLL_MSG): Likewise.
42082         (POLL_ERR): Likewise.
42083         (POLL_PRI): Likewise.
42084         (POLL_HUP): Likewise.
42085         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
42086         (ILL_ILLOPN): Likewise.
42087         (ILL_ILLADR): Likewise.
42088         (ILL_ILLTRP): Likewise.
42089         (ILL_PRVOPC): Likewise.
42090         (ILL_PRVREG): Likewise.
42091         (ILL_COPROC): Likewise.
42092         (ILL_BADSTK): Likewise.
42093         (FPE_INTDIV): Likewise.
42094         (FPE_INTOVF): Likewise.
42095         (FPE_FLTDIV): Likewise.
42096         (FPE_FLTOVF): Likewise.
42097         (FPE_FLTUND): Likewise.
42098         (FPE_FLTRES): Likewise.
42099         (FPE_FLTINV): Likewise.
42100         (FPE_FLTSUB): Likewise.
42101         (SEGV_MAPERR): Likewise.
42102         (SEGV_ACCERR): Likewise.
42103         (BUS_ADRALN): Likewise.
42104         (BUS_ADRERR): Likewise.
42105         (BUS_OBJERR): Likewise.
42106         (BUS_MCEERR_AR): Likewise.
42107         (BUS_MCEERR_AO): Likewise.
42108         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42109         (TRAP_TRACE): Likewise.
42110         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42111         __USE_XOPEN2K8].
42112         (CLD_KILLED): Likewise.
42113         (CLD_DUMPED): Likewise.
42114         (CLD_TRAPPED): Likewise.
42115         (CLD_STOPPED): Likewise.
42116         (CLD_CONTINUED): Likewise.
42117         (POLL_IN): Likewise.
42118         (POLL_OUT): Likewise.
42119         (POLL_MSG): Likewise.
42120         (POLL_ERR): Likewise.
42121         (POLL_PRI): Likewise.
42122         (POLL_HUP): Likewise.
42123         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
42124         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
42126         [BZ #16670]
42127         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
42128         before #include of <time.h>.
42129         [!__USE_XOPEN2K] (__need_timespec): Likewise.
42130         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
42131         (test-xfail-UNIX98/sched.h/conform): Likewise.
42133 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
42135         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
42136         error absence of trapping exception support.
42137         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
42139 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
42141         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
42142         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
42143         * timezone/Makefile (testdata): Move definition above include of
42144         Rules.
42145         (test-zones): New variable.
42146         (tests-special): Add zone files.
42147         (build-testdata): Use $(evaluate-test).
42149         * elf/Makefile (tests-special): Rename tests to end with .out.
42150         ($(objpfx)noload-mem): Likewise.
42151         ($(objpfx)tst-leaks1-mem): Likewise.
42152         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
42153         * iconv/Makefile (xtests-special): Change test-iconvconfig to
42154         $(objpfx)test-iconvconfig.out.
42155         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
42156         set -e inside subshell and redirect output to file.
42157         * iconvdata/Makefile (generated): Rename tests to end with .out.
42158         Correct type.
42159         (tests-special): Rename tests to end with .out.
42160         ($(objpfx)mtrace-tst-loading): Likewise.
42161         * intl/Makefile (generated): Likewise.
42162         (tests-special): Likewise.
42163         ($(objpfx)mtrace-tst-gettext): Likewise.
42164         * misc/Makefile (generated): Likewise.
42165         (tests-special): Likewise.
42166         ($(objpfx)tst-error1-mem): Likewise.
42167         * nptl/Makefile (tests-special): Likewise.
42168         ($(objpfx)tst-stack3-mem): Likewise.
42169         (generated): Likewise.
42170         * posix/Makefile (generated): Likewise.
42171         (tests-special): Likewise.
42172         (xtests-special): Likewise.
42173         ($(objpfx)tst-fnmatch-mem): Likewise.
42174         ($(objpfx)bug-regex2-mem): Likewise.
42175         ($(objpfx)bug-regex14-mem): Likewise.
42176         ($(objpfx)bug-regex21-mem): Likewise.
42177         ($(objpfx)bug-regex31-mem): Likewise.
42178         ($(objpfx)tst-vfork3-mem): Likewise.
42179         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
42180         ($(objpfx)tst-pcre-mem): Likewise.
42181         ($(objpfx)tst-boost-mem): Likewise.
42182         ($(objpfx)bug-ga2-mem): Likewise.
42183         ($(objpfx)bug-glob2-mem): Likewise.
42184         * resolv/Makefile (generate): Likewise.
42185         (tests-special): Likewise.
42186         (xtests-special): Likewise.
42187         (generated): Likewise.
42188         ($(objpfx)mtrace-tst-leaks): Likewise.
42189         ($(objpfx)mtrace-tst-leaks2): Likewise.
42191         * scripts/merge-test-results.sh: New file.
42192         * Makefile (tests-special-notdir): New variable.
42193         (tests): Run merge-test-results.sh.
42194         (xtests): Likewise.
42195         * Rules (tests-special-notdir): New variable.
42196         (xtests-special-notdir): Likewise.
42197         (tests): Run merge-test-results.sh
42198         (xtests): Likewise.
42200         * Makeconfig (test-xfail-name): New variable.
42201         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
42202         compute variable name for expected failures.
42203         * conform/Makefile (conformtest-headers-data): New variable.
42204         (conformtest-standards): Likewise.
42205         (conformtest-headers-ISO): Likewise.
42206         (conformtest-headers-ISO99): Likewise.
42207         (conformtest-headers-ISO11): Likewise.
42208         (conformtest-headers-POSIX): Likewise.
42209         (conformtest-headers-XPG3): Likewise.
42210         (conformtest-headers-XPG4): Likewise.
42211         (conformtest-headers-UNIX98): Likewise.
42212         (conformtest-headers-XOPEN2K): Likewise.
42213         (conformtest-headers-POSIX2008): Likewise.
42214         (conformtest-headers-XOPEN2K8): Likewise.
42215         (conformtest-header-list-base): Likewise.
42216         (conformtest-header-list-tests): Likewise.
42217         (conformtest-header-base): Likewise.
42218         (conformtest-header-tests): Likewise.
42219         (tests-special): Add $(conformtest-header-list-tests).  If
42220         [$(fast-check) && !$(cross-compiling)], add
42221         $(conformtest-header-tests) instead of
42222         $(objpfx)run-conformtest.out.
42223         (generated): Add $(conformtest-header-list-base).  If
42224         [$(fast-check) && !$(cross-compiling)], add
42225         $(conformtest-header-base).  Remove previous setting.
42226         ($(conformtest-header-list-tests)): New target.
42227         (test-xfail-run-conformtest): Remove variable.
42228         ($(objpfx)run-conformtest.out): Remove target.
42229         (test-xfail-ISO11/complex.h/conform): New variable.
42230         (test-xfail-ISO11/stdalign.h/conform): Likewise.
42231         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
42232         (test-xfail-XPG3/varargs.h/conform): Likewise.
42233         (test-xfail-XPG4/varargs.h/conform): Likewise.
42234         (test-xfail-UNIX98/varargs.h/conform): Likewise.
42235         (test-xfail-XPG4/ndbm.h/conform): Likewise.
42236         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
42237         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
42238         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
42239         (test-xfail-XPG3/fcntl.h/conform): Likewise.
42240         (test-xfail-XPG3/ftw.h/conform): Likewise.
42241         (test-xfail-XPG3/grp.h/conform): Likewise.
42242         (test-xfail-XPG3/langinfo.h/conform): Likewise.
42243         (test-xfail-XPG3/limits.h/conform): Likewise.
42244         (test-xfail-XPG3/pwd.h/conform): Likewise.
42245         (test-xfail-XPG3/search.h/conform): Likewise.
42246         (test-xfail-XPG3/signal.h/conform): Likewise.
42247         (test-xfail-XPG3/stdio.h/conform): Likewise.
42248         (test-xfail-XPG3/stdlib.h/conform): Likewise.
42249         (test-xfail-XPG3/string.h/conform): Likewise.
42250         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
42251         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
42252         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
42253         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
42254         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
42255         (test-xfail-XPG3/sys/types.h/conform): Likewise.
42256         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
42257         (test-xfail-XPG3/termios.h/conform): Likewise.
42258         (test-xfail-XPG3/time.h/conform): Likewise.
42259         (test-xfail-XPG3/unistd.h/conform): Likewise.
42260         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
42261         (test-xfail-XPG4/fcntl.h/conform): Likewise.
42262         (test-xfail-XPG4/langinfo.h/conform): Likewise.
42263         (test-xfail-XPG4/netdb.h/conform): Likewise.
42264         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
42265         (test-xfail-XPG4/signal.h/conform): Likewise.
42266         (test-xfail-XPG4/stdio.h/conform): Likewise.
42267         (test-xfail-XPG4/stdlib.h/conform): Likewise.
42268         (test-xfail-XPG4/stropts.h/conform): Likewise.
42269         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
42270         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
42271         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
42272         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
42273         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
42274         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
42275         (test-xfail-XPG4/sys/time.h/conform): Likewise.
42276         (test-xfail-XPG4/sys/types.h/conform): Likewise.
42277         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
42278         (test-xfail-XPG4/termios.h/conform): Likewise.
42279         (test-xfail-XPG4/ucontext.h/conform): Likewise.
42280         (test-xfail-XPG4/unistd.h/conform): Likewise.
42281         (test-xfail-XPG4/utmpx.h/conform): Likewise.
42282         (test-xfail-POSIX/sched.h/conform): Likewise.
42283         (test-xfail-POSIX/signal.h/conform): Likewise.
42284         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
42285         (test-xfail-POSIX/tar.h/conform): Likewise.
42286         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
42287         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
42288         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
42289         (test-xfail-UNIX98/netdb.h/conform): Likewise.
42290         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
42291         (test-xfail-UNIX98/sched.h/conform): Likewise.
42292         (test-xfail-UNIX98/signal.h/conform): Likewise.
42293         (test-xfail-UNIX98/stdio.h/conform): Likewise.
42294         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
42295         (test-xfail-UNIX98/stropts.h/conform): Likewise.
42296         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
42297         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
42298         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
42299         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
42300         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
42301         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
42302         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
42303         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
42304         (test-xfail-UNIX98/unistd.h/conform): Likewise.
42305         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
42306         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
42307         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
42308         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
42309         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
42310         (test-xfail-XOPEN2K/math.h/conform): Likewise.
42311         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
42312         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
42313         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
42314         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
42315         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
42316         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
42317         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
42318         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
42319         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
42320         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
42321         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
42322         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
42323         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
42324         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
42325         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
42326         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
42327         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
42328         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
42329         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
42330         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
42331         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
42332         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
42333         (test-xfail-POSIX2008/signal.h/conform): Likewise.
42334         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
42335         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
42336         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
42337         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
42338         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
42339         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
42340         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
42341         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
42342         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
42343         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
42344         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
42345         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
42346         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
42347         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
42348         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
42349         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
42350         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
42351         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
42352         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
42353         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
42354         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
42355         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
42356         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
42357         (conformtest-cc-flags): Likewise.
42358         ($(conformtest-header-tests): New target.
42359         * conform/check-header-lists.sh: New file.
42360         * conform/run-conformtest.sh: Remove.
42362         * conform/conformtest.pl: Allow ' and \ in values given for
42363         constants.
42364         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
42365         inclusion.
42366         [POSIX] (sys/types.h): Likewise.
42367         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
42368         inclusion.
42369         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
42370         inclusion.
42371         * conform/data/signal.h-data (SIGIO): Remove expectation.
42372         [XPG3] (SIGBUS): Do not expect.
42373         [POSIX || XPG3] (SIGPOLL): Likewise.
42374         [POSIX || XPG3] (SIGPROF): Likewise.
42375         [POSIX || XPG3] (SIGSYS): Likewise.
42376         [XPG3] (SIGTRAP): Likewise.
42377         [POSIX || XPG3] (SIGURG): Likewise.
42378         [POSIX || XPG3] (SIGVTALRM): Likewise.
42379         [POSIX || XPG3] (SIGXCPU): Likewise.
42380         [POSIX || XPG3] (SIGXFSZ): Likewise.
42381         [POSIX] (SA_SIGINFO): Expect.
42382         [XPG3] (siginfo_t): Do not expect type or contents.
42383         [POSIX] (si_pid): Do not expect element.
42384         [POSIX] (si_uid): Likewise.
42385         [POSIX] (si_addr): Likewise.
42386         [POSIX] (si_status): Likewise.
42387         [POSIX] (si_band): Likewise.
42388         [XPG4] (si_value): Likewise.
42389         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
42390         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
42391         [POSIX || XPG3] (ILL_ILLADR): Likewise.
42392         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
42393         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
42394         [POSIX || XPG3] (ILL_PRVREG): Likewise.
42395         [POSIX || XPG3] (ILL_COPROC): Likewise.
42396         [POSIX || XPG3] (ILL_BADSTK): Likewise.
42397         [POSIX || XPG3] (FPE_INTDIV): Likewise.
42398         [POSIX || XPG3] (FPE_INTOVF): Likewise.
42399         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
42400         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
42401         [POSIX || XPG3] (FPE_FLTUND): Likewise.
42402         [POSIX || XPG3] (FPE_FLTRES): Likewise.
42403         [POSIX || XPG3] (FPE_FLTINV): Likewise.
42404         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
42405         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
42406         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
42407         [POSIX || XPG3] (BUS_ADRALN): Likewise.
42408         [POSIX || XPG3] (BUS_ADRERR): Likewise.
42409         [POSIX || XPG3] (BUS_OBJERR): Likewise.
42410         [POSIX || XPG3] (CLD_EXITED): Likewise.
42411         [POSIX || XPG3] (CLD_KILLED): Likewise.
42412         [POSIX || XPG3] (CLD_DUMPED): Likewise.
42413         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
42414         [POSIX || XPG3] (CLD_STOPPED): Likewise.
42415         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
42416         [POSIX || XPG3] (POLL_IN): Likewise.
42417         [POSIX || XPG3] (POLL_OUT): Likewise.
42418         [POSIX || XPG3] (POLL_MSG): Likewise.
42419         [POSIX || XPG3] (POLL_ERR): Likewise.
42420         [POSIX || XPG3] (POLL_PRI): Likewise.
42421         [POSIX || XPG3] (POLL_HUP): Likewise.
42422         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
42423         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
42424         (SIG*): Do not allow.
42425         [XPG3] (si_*): Likewise.
42426         [XPG3] (SI_*): Likewise.
42427         [XPG3 || XPG4] (sigev_*): Likewise.
42428         [XPG3 || XPG4] (SIGEV_*): Likewise.
42429         [XPG3 || XPG4] (sival_*): Likewise.
42430         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
42431         [POSIX || XPG3] (BUS_*): Likewise.
42432         [POSIX || XPG3] (CLD_*): Likewise.
42433         [POSIX || XPG3] (FPE_*): Likewise.
42434         [POSIX || XPG3] (ILL_*): Likewise.
42435         [POSIX || XPG3] (POLL_*): Likewise.
42436         [POSIX || XPG3] (SEGV_*): Likewise.
42437         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
42438         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
42439         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
42440         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
42441         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
42442         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
42443         Specify type and value.
42444         (TVERSLEN): Likewise.
42445         (REGTYPE): Likewise.
42446         (AREGTYPE): Likewise.
42447         (LNKTYPE): Likewise.
42448         (SYMTYPE): Likewise.
42449         (CHRTYPE): Likewise.
42450         (BLKTYPE): Likewise.
42451         (DIRTYPE): Likewise.
42452         (FIFOTYPE): Likewise.
42453         (CONTTYPE): Likewise.
42454         (TSUID): Likewise.
42455         (TSGID): Likewise.
42456         (TSVTX): Likewise.
42457         (TUREAD): Likewise.
42458         (TUWRITE): Likewise.
42459         (TUEXEC): Likewise.
42460         (TGREAD): Likewise.
42461         (TGWRITE): Likewise.
42462         (TGEXEC): Likewise.
42463         (TOREAD): Likewise.
42464         (TOWRITE): Likewise.
42465         (TOEXEC): Likewise.
42466         [POSIX] (TSVTX): Expect constant.
42468 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
42470         * Makefile (tests): Change dependencies to ....
42471         (tests-special): ... additions to this variable.
42472         (tests): Depend on $(tests-special).
42473         * Makerules (check-abi-list): New variable.
42474         (check-abi): Depend on $(check-abi-list).
42475         [$(subdir) = elf] (tests-special): Add
42476         $(objpfx)check-abi-libc.out.
42477         [$(build-shared) = yes && subdir] (tests-special): Add
42478         $(check-abi-list).
42479         [$(build-shared) = yes && subdir] (tests): Do not depend on
42480         check-abi.
42481         * Rules (tests): Depend on $(tests-special).
42482         (xtests): Depend on $(xtests-special).
42483         * catgets/Makefile (tests): Change dependencies to ....
42484         (tests-special): ... additions to this variable.
42485         * conform/Makefile (tests): Change dependencies to ....
42486         (tests-special): ... additions to this variable.
42487         * elf/Makefile (tests): Change dependencies to ....
42488         (tests-special): ... additions to this variable.
42489         * grp/Makefile (tests): Change dependencies to ....
42490         (tests-special): ... additions to this variable.
42491         * iconv/Makefile (xtests): Change dependencies to ....
42492         (xtests-special): ... additions to this variable.
42493         * iconvdata/Makefile (tests): Change dependencies to ....
42494         (tests-special): ... additions to this variable.
42495         * intl/Makefile (tests): Change dependencies to ....
42496         (tests-special): ... additions to this variable.  Also add
42497         $(objpfx)tst-gettext.out.
42498         * io/Makefile (tests): Change dependencies to ....
42499         (tests-special): ... additions to this variable.
42500         * libio/Makefile (tests): Change dependencies to ....
42501         (tests-special): ... additions to this variable.
42502         * malloc/Makefile (tests): Change dependencies to ....
42503         (tests-special): ... additions to this variable.
42504         * misc/Makefile (tests): Change dependencies to ....
42505         (tests-special): ... additions to this variable.
42506         * nptl/Makefile (tests): Change dependencies to ....
42507         (tests-special): ... additions to this variable.
42508         * nptl_db/Makefile (tests): Change dependencies to ....
42509         (tests-special): ... additions to this variable.
42510         * posix/Makefile (tests): Change dependencies to ....
42511         (tests-special): ... additions to this variable.
42512         (xtests): Change dependencies to ....
42513         (xtests-special): ... additions to this variable.
42514         * resolv/Makefile (tests): Change dependencies to ....
42515         (tests-special): ... additions to this variable.
42516         (xtests): Change dependencies to ....
42517         (xtests-special): ... additions to this variable.
42518         * stdio-common/Makefile (tests): Change dependencies to ....
42519         (tests-special): ... additions to this variable.
42520         (do-tst-unbputc): Remove target.
42521         (do-tst-printf): Likewise.
42522         * stdlib/Makefile (tests): Change dependencies to ....
42523         (tests-special): ... additions to this variable.
42524         * string/Makefile (tests): Change dependencies to ....
42525         (tests-special): ... additions to this variable.
42526         * sysdeps/x86/Makefile (tests): Change dependencies to ....
42527         (tests-special): ... additions to this variable.
42529         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
42530         whole file.
42531         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
42532         whole file.
42533         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
42534         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
42536         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
42537         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
42538         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
42539         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
42540         * conform/data/libgen.h-data [XPG3]: Likewise.
42541         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
42542         * conform/data/ndbm.h-data [XPG3]: Likewise.
42543         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
42544         * conform/data/netdb.h-data [XPG3]: Likewise.
42545         * conform/data/netinet/in.h-data [XPG3]: Likewise.
42546         * conform/data/poll.h-data [XPG3]: Likewise.
42547         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
42548         * conform/data/strings.h-data [XPG3]: Likewise.
42549         * conform/data/stropts.h-data [XPG3]: Likewise.
42550         * conform/data/sys/mman.h-data [XPG3]: Likewise.
42551         * conform/data/sys/resource.h-data [XPG3]: Likewise.
42552         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
42553         Likewise.
42554         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
42555         * conform/data/sys/time.h-data [XPG3]: Likewise.
42556         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
42557         * conform/data/sys/uio.h-data [XPG3]: Likewise.
42558         * conform/data/sys/un.h-data [XPG3]: Likewise.
42559         * conform/data/syslog.h-data [XPG3]: Likewise.
42560         * conform/data/ucontext.h-data [XPG3]: Likewise.
42561         * conform/data/utmpx.h-data [XPG3]: Likewise.
42562         * conform/data/varargs.h-data [UNIX98]: Enable file.
42564         * manual/Makefile (INSTALL_INFO): Remove variable setting.
42566         * math/libm-test.inc (struct test_f_f_data): Move expected results
42567         into structure for each rounding mode.
42568         (struct test_ff_f_data): Likewise.
42569         (struct test_ff_f_data_nexttoward): Likewise.
42570         (struct test_fi_f_data): Likewise.
42571         (struct test_fl_f_data): Likewise.
42572         (struct test_if_f_data): Likewise.
42573         (struct test_fff_f_data): Likewise.
42574         (struct test_c_f_data): Likewise.
42575         (struct test_f_f1_data): Likewise.
42576         (struct test_fF_f1_data): Likewise.
42577         (struct test_ffI_f1_data): Likewise.
42578         (struct test_c_c_data): Likewise.
42579         (struct test_cc_c_data): Likewise.
42580         (struct test_f_i_data): Likewise.
42581         (struct test_ff_i_data): Likewise.
42582         (struct test_f_l_data): Likewise.
42583         (struct test_f_L_data): Likewise.
42584         (struct test_fFF_11_data): Likewise.
42585         (RM_): New macro.
42586         (RM_FE_DOWNWARD): Likewise.
42587         (RM_FE_TONEAREST): Likewise.
42588         (RM_FE_TOWARDZERO): Likewise.
42589         (RM_FE_UPWARD): Likewise.
42590         (RUN_TEST_LOOP_f_f): Update references to expected results.
42591         (RUN_TEST_LOOP_2_f): Likewise.
42592         (RUN_TEST_LOOP_fff_f): Likewise.
42593         (RUN_TEST_LOOP_c_f): Likewise.
42594         (RUN_TEST_LOOP_f_f1): Likewise.
42595         (RUN_TEST_LOOP_fF_f1): Likewise.
42596         (RUN_TEST_LOOP_fI_f1): Likewise.
42597         (RUN_TEST_LOOP_ffI_f1): Likewise.
42598         (RUN_TEST_LOOP_c_c): Likewise.
42599         (RUN_TEST_LOOP_cc_c): Likewise.
42600         (RUN_TEST_LOOP_f_i): Likewise.
42601         (RUN_TEST_LOOP_f_i_tg): Likewise.
42602         (RUN_TEST_LOOP_ff_i_tg): Likewise.
42603         (RUN_TEST_LOOP_f_b): Likewise.
42604         (RUN_TEST_LOOP_f_b_tg): Likewise.
42605         (RUN_TEST_LOOP_f_l): Likewise.
42606         (RUN_TEST_LOOP_f_L): Likewise.
42607         (RUN_TEST_LOOP_fFF_11): Likewise.
42608         * math/gen-libm-test.pl (parse_args): Output four copies of
42609         expected results for each test.
42611         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
42612         (__ASSUME_UTIMES): Remove.
42613         * sysdeps/unix/sysv/linux/tile/kernel-features.h
42614         (__ASSUME_UTIMES): Likewise.
42616         * math/gen-auto-libm-tests.c: Update comment on output format.
42617         (output_for_one_input_case): Generate before-rounding and
42618         after-rounding information as conditions on output flags not
42619         floating-point format.
42620         * math/auto-libm-test-out: Regenerated.
42621         * math/gen-libm-test.pl (cond_value): New function.
42622         (or_cond_value): Use cond_value.
42623         (generate_testfile): Handle conditional exceptions.
42625 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
42627         * math/libm-test.inc (max_valid_error): New variable.
42628         (init_max_error): Take new argument specifying whether function
42629         results are exactly determined.  Set max_valid_error and bound
42630         other variables for errors based on this argument.
42631         (set_max_error): Do not record results above max_valid_error.
42632         (check_float_internal): Only accept errors of up to 0.5ulps if
42633         also at most max_valid_error.
42634         (START): Take new argument EXACT and pass it to init_max_error.
42635         (acos_test): Update call to START.
42636         (acos_test_tonearest): Likewise.
42637         (acos_test_towardzero): Likewise.
42638         (acos_test_downward): Likewise.
42639         (acos_test_upward): Likewise.
42640         (acosh_test): Likewise.
42641         (asin_test): Likewise.
42642         (asin_test_tonearest): Likewise.
42643         (asin_test_towardzero): Likewise.
42644         (asin_test_downward): Likewise.
42645         (asin_test_upward): Likewise.
42646         (asinh_test): Likewise.
42647         (atan_test): Likewise.
42648         (atanh_test): Likewise.
42649         (atan2_test): Likewise.
42650         (cabs_test): Likewise.
42651         (cacos_test): Likewise.
42652         (cacosh_test): Likewise.
42653         (carg_test): Likewise.
42654         (casin_test): Likewise.
42655         (casinh_test): Likewise.
42656         (catan_test): Likewise.
42657         (catanh_test): Likewise.
42658         (cbrt_test): Likewise.
42659         (ccos_test): Likewise.
42660         (ccosh_test): Likewise.
42661         (ceil_test): Likewise.
42662         (cexp_test): Likewise.
42663         (cimag_test): Likewise.
42664         (clog_test): Likewise.
42665         (clog10_test): Likewise.
42666         (conj_test): Likewise.
42667         (copysign_test): Likewise.
42668         (cos_test): Likewise.
42669         (cos_test_tonearest): Likewise.
42670         (cos_test_towardzero): Likewise.
42671         (cos_test_downward): Likewise.
42672         (cos_test_upward): Likewise.
42673         (cosh_test): Likewise.
42674         (cosh_test_tonearest): Likewise.
42675         (cosh_test_towardzero): Likewise.
42676         (cosh_test_downward): Likewise.
42677         (cosh_test_upward): Likewise.
42678         (cpow_test): Likewise.
42679         (cproj_test): Likewise.
42680         (creal_test): Likewise.
42681         (csin_test): Likewise.
42682         (csinh_test): Likewise.
42683         (csqrt_test): Likewise.
42684         (ctan_test): Likewise.
42685         (ctan_test_tonearest): Likewise.
42686         (ctan_test_towardzero): Likewise.
42687         (ctan_test_downward): Likewise.
42688         (ctan_test_upward): Likewise.
42689         (ctanh_test): Likewise.
42690         (ctanh_test_tonearest): Likewise.
42691         (ctanh_test_towardzero): Likewise.
42692         (ctanh_test_downward): Likewise.
42693         (ctanh_test_upward): Likewise.
42694         (erf_test): Likewise.
42695         (erfc_test): Likewise.
42696         (exp_test): Likewise.
42697         (exp_test_tonearest): Likewise.
42698         (exp_test_towardzero): Likewise.
42699         (exp_test_downward): Likewise.
42700         (exp_test_upward): Likewise.
42701         (exp10_test): Likewise.
42702         (exp10_test_tonearest): Likewise.
42703         (exp10_test_towardzero): Likewise.
42704         (exp10_test_downward): Likewise.
42705         (exp10_test_upward): Likewise.
42706         (pow10_test): Likewise.
42707         (exp2_test): Likewise.
42708         (expm1_test): Likewise.
42709         (expm1_test_tonearest): Likewise.
42710         (expm1_test_towardzero): Likewise.
42711         (expm1_test_downward): Likewise.
42712         (expm1_test_upward): Likewise.
42713         (fabs_test): Likewise.
42714         (fdim_test): Likewise.
42715         (floor_test): Likewise.
42716         (fma_test): Likewise.
42717         (fma_test_towardzero): Likewise.
42718         (fma_test_downward): Likewise.
42719         (fma_test_upward): Likewise.
42720         (fmax_test): Likewise.
42721         (fmin_test): Likewise.
42722         (fmod_test): Likewise.
42723         (fpclassify_test): Likewise.
42724         (frexp_test): Likewise.
42725         (hypot_test): Likewise.
42726         (ilogb_test): Likewise.
42727         (isfinite_test): Likewise.
42728         (finite_test): Likewise.
42729         (isgreater_test): Likewise.
42730         (isgreaterequal_test): Likewise.
42731         (isinf_test): Likewise.
42732         (isless_test): Likewise.
42733         (islessequal_test): Likewise.
42734         (islessgreater_test): Likewise.
42735         (isnan_test): Likewise.
42736         (isnormal_test): Likewise.
42737         (issignaling_test): Likewise.
42738         (isunordered_test): Likewise.
42739         (j0_test): Likewise.
42740         (j1_test): Likewise.
42741         (jn_test): Likewise.
42742         (ldexp_test): Likewise.
42743         (lgamma_test): Likewise.
42744         (gamma_test): Likewise.
42745         (lrint_test): Likewise.
42746         (lrint_test_tonearest): Likewise.
42747         (lrint_test_towardzero): Likewise.
42748         (lrint_test_downward): Likewise.
42749         (lrint_test_upward): Likewise.
42750         (llrint_test): Likewise.
42751         (llrint_test_tonearest): Likewise.
42752         (llrint_test_towardzero): Likewise.
42753         (llrint_test_downward): Likewise.
42754         (llrint_test_upward): Likewise.
42755         (log_test): Likewise.
42756         (log10_test): Likewise.
42757         (log1p_test): Likewise.
42758         (log2_test): Likewise.
42759         (logb_test): Likewise.
42760         (logb_test_downward): Likewise.
42761         (lround_test): Likewise.
42762         (llround_test): Likewise.
42763         (modf_test): Likewise.
42764         (nearbyint_test): Likewise.
42765         (nextafter_test): Likewise.
42766         (nexttoward_test): Likewise.
42767         (pow_test): Likewise.
42768         (pow_test_tonearest): Likewise.
42769         (pow_test_towardzero): Likewise.
42770         (pow_test_downward): Likewise.
42771         (pow_test_upward): Likewise.
42772         (remainder_test): Likewise.
42773         (drem_test): Likewise.
42774         (remainder_test_tonearest): Likewise.
42775         (drem_test_tonearest): Likewise.
42776         (remainder_test_towardzero): Likewise.
42777         (drem_test_towardzero): Likewise.
42778         (remainder_test_downward): Likewise.
42779         (drem_test_downward): Likewise.
42780         (remainder_test_upward): Likewise.
42781         (drem_test_upward): Likewise.
42782         (remquo_test): Likewise.
42783         (rint_test): Likewise.
42784         (rint_test_tonearest): Likewise.
42785         (rint_test_towardzero): Likewise.
42786         (rint_test_downward): Likewise.
42787         (rint_test_upward): Likewise.
42788         (round_test): Likewise.
42789         (scalb_test): Likewise.
42790         (scalbn_test): Likewise.
42791         (scalbln_test): Likewise.
42792         (signbit_test): Likewise.
42793         (sin_test): Likewise.
42794         (sin_test_tonearest): Likewise.
42795         (sin_test_towardzero): Likewise.
42796         (sin_test_downward): Likewise.
42797         (sin_test_upward): Likewise.
42798         (sincos_test): Likewise.
42799         (sinh_test): Likewise.
42800         (sinh_test_tonearest): Likewise.
42801         (sinh_test_towardzero): Likewise.
42802         (sinh_test_downward): Likewise.
42803         (sinh_test_upward): Likewise.
42804         (sqrt_test): Likewise.
42805         (sqrt_test_tonearest): Likewise.
42806         (sqrt_test_towardzero): Likewise.
42807         (sqrt_test_downward): Likewise.
42808         (sqrt_test_upward): Likewise.
42809         (tan_test): Likewise.
42810         (tan_test_tonearest): Likewise.
42811         (tan_test_towardzero): Likewise.
42812         (tan_test_downward): Likewise.
42813         (tan_test_upward): Likewise.
42814         (tanh_test): Likewise.
42815         (tgamma_test): Likewise.
42816         (trunc_test): Likewise.
42817         (y0_test): Likewise.
42818         (y1_test): Likewise.
42819         (yn_test): Likewise.
42820         (significand_test): Likewise.
42822         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
42823         individual tests in comment.
42824         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
42825         (prev_max_error): New variable.
42826         (prev_real_max_error): Likewise.
42827         (prev_imag_max_error): Likewise.
42828         (compare_ulp_data): Don't refer to test names in comment.
42829         (find_test_ulps): Remove function.
42830         (find_function_ulps): Likewise.
42831         (find_complex_function_ulps): Likewise.
42832         (init_max_error): Take function name as argument.  Look up ulps
42833         for that function.
42834         (print_ulps): Remove function.
42835         (print_max_error): Use prev_max_error instead of calling
42836         find_function_ulps.
42837         (print_complex_max_error): Use prev_real_max_error and
42838         prev_imag_max_error instead of calling find_complex_function_ulps.
42839         (check_float_internal): Take max_ulp parameter instead of calling
42840         find_test_ulps.  Don't call print_ulps.
42841         (check_float): Update call to check_float_internal.
42842         (check_complex): Update calls to check_float_internal.
42843         (START): Pass argument to init_max_error.
42844         * math/gen-libm-test.pl (%results): Don't include "kind"
42845         information.
42846         (parse_ulps): Don't handle ulps of individual tests.
42847         (print_ulps_file): Likewise.
42848         (output_ulps): Likewise.
42849         * math/README.libm-test: Update.
42850         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
42851         individual tests.
42852         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
42853         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
42854         * sysdeps/arm/libm-test-ulps: Likewise.
42855         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
42856         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
42857         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
42858         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
42859         * sysdeps/microblaze/libm-test-ulps: Likewise.
42860         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
42861         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
42862         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42863         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
42864         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42865         * sysdeps/sh/libm-test-ulps: Likewise.
42866         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42867         * sysdeps/tile/libm-test-ulps: Likewise.
42868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42870 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
42872         * math/libm-test.inc (print_complex_max_error): Check separately
42873         whether real and imaginary errors are within allowed range and
42874         pass 0 to print_complex_function_ulps instead of value within
42875         allowed range.
42877 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42879         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
42880         formatting.
42881         (get_handles_fopen): Likewise.
42882         (do_write_test): Likewise.
42884         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
42886         * libio/fileops.c (do_ftell): Use cached offset when
42887         available.
42888         * libio/iofwide.c (do_ftell_wide): Likewise.
42889         * libio/iofdopen.c (_IO_new_fdopen): Don't use
42890         _IO_file_attach.
42891         * libio/wfileops.c (_IO_fwide): Don't cache offset.
42893         [BZ #16532]
42894         * libio/libioP.h (get_file_offset): New function.
42895         * libio/fileops.c (get_file_offset): Likewise.
42896         (do_ftell): Likewise.
42897         (_IO_new_file_seekoff): Split out ftell logic.
42898         * libio/wfileops.c (do_ftell_wide): Likewise.
42899         (_IO_wfile_seekoff): Split out ftell logic.
42900         * libio/tst-ftell-active-handler.c: New test case.
42901         * libio/Makefile (tests): Add it.
42903 2014-03-03  Roland McGrath  <roland@hack.frob.com>
42905         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
42906         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
42908 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
42910         [BZ #16639]
42911         * nscd/connections.c (nscd_init): Call do_exit.
42912         (start_threads): Call do_exit and notify_parent.
42913         (begin_drop_privileges): Call do_exit.
42914         (finish_drop_privileges): Likewise.
42915         * nscd/selinux.c (preserve_capabilities): Likewise.
42916         (install_real_capabilities): Likewise.
42917         (nscd_selinux_enabled): Likewise.
42918         (avc_create_thread): Likewise.
42919         (avc_alloc_lock): Likewise.
42920         (nscd_avc_init): Likewise.
42921         * nscd/nscd.c (parent_fd): New static variable.
42922         (main): Create a pipe between parent and child processes.
42923         Skip closing parent_fd.
42924         (monitor_child): New function.
42925         (do_exit): Likewise.
42926         (notify_parent): Likewise.
42927         * nscd/nscd.h (notify_parent): Likewise.
42928         (do_exit): Likewise.
42930 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
42932         * malloc/malloc.c (__libc_calloc): Revert last change.
42934 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42936         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42938 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
42940         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
42941         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
42942         implementation.
42943         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42944         (__libc_ifunc_impl_list): Likewise.
42945         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
42946         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
42947         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
42948         * string/strrchr.c: Define STRRCHR.
42950 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
42952         * benchtest/bench-strtok.c (simple_strtok): Delete.
42953         (strtok_string): Use as benchmark.
42954         * string/strtok (STRTOK): New macro.
42956 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
42958         * manual/threads.texi: Add header and standard comments to all
42959         functions.
42961         * elf/dl-lookup.c (check_match): New function.
42962         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
42963         (do_lookup_x): Remove nested function check_match. Use non-nested
42964         function check_match.
42966 2014-02-28  Roland McGrath  <roland@hack.frob.com>
42968         * csu/Makefile (generated, before-compile): Use += rather than =.
42969         * catgets/Makefile (generated, generated-dirs): Likewise.
42970         * debug/Makefile (generated): Likewise.
42971         * dlfcn/Makefile (generated): Likewise.
42972         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
42973         * iconvdata/Makefile (before-compile, generated): Likewise.
42974         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
42975         * libio/Makefile (generated): Likewise.
42976         * malloc/Makefile (generated): Likewise.
42977         * manual/Makefile (generated, generated-dirs): Likewise.
42978         * misc/Makefile (generated): Likewise.
42979         * posix/Makefile (generated): Likewise.
42980         * resolv/Makefile (generated): Likewise.
42981         * sunrpc/Makefile (generated, generated-dirs): Likewise.
42982         * timezone/Makefile (generated, generated-dirs): Likewise.
42984         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
42986 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42988         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
42989         power8 implementation.
42990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
42991         file: POWER8 llround ifunc implementation.
42992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
42993         (__lllround): Add POWER8 implementation.
42994         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
42995         POWER8 llround implementation.
42997         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
42998         power8 implementation.
42999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
43000         file: POWER8 llrint ifunc implementation.
43001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
43002         Add POWER8 implementation.
43003         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
43004         POWER8 llrint implementation.
43006         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
43007         power8 implementation.
43008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
43009         file: POWER8 finite ifunc implementation.
43010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
43011         Add POWER8 implementation.
43012         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
43013         Likewise.
43014         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
43015         POWER8 finite implementation.
43016         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
43018         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
43019         power8 implementation.
43020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
43021         file: POWER8 isinf ifunc implementation.
43022         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
43023         POWER8 implementation.
43024         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
43025         Likewise.
43026         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
43027         isinf implementation.
43028         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
43030         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
43031         (INIT_ARCH): Add hwcap2 initialization.
43032         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
43033         power8 implementation.
43034         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
43035         file: POWER8 isnan ifunc implementation.
43036         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
43037         POWER8 implementation.
43038         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
43039         Likewise.
43040         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
43041         isnan implementation.
43042         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
43044 2014-02-27  Joey Ye  <joey.ye@arm.com>
43046         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
43047         (_FP_NANFRAC_Q): Set to zero.
43049 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
43051         [BZ #16623]
43052         * math/auto-libm-test-in: New test inputs.
43053         * math/auto-libm-test-out: Regenerate.
43054         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
43055         and DA.
43056         (__cos): Likewise.
43057         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
43059 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
43061         * scripts/evaluate-test.sh: Take new argument indicating whether
43062         failure is expected.
43063         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
43064         indicating whether failure is expected.
43065         * conform/Makefile (test-xfail-run-conformtest): New variable.
43066         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
43067         level.
43068         * posix/Makefile (test-xfail-annexc): New variable.
43069         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
43071 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
43073         * argp/Makefile: Include Makeconfig immediately after defining
43074         subdir.
43075         * assert/Makefile: Likewise.
43076         * benchtests/Makefile: Likewise.
43077         * catgets/Makefile: Likewise.
43078         * conform/Makefile: Likewise.
43079         * crypt/Makefile: Likewise.
43080         * csu/Makefile: Likewise.
43081         (all): Remove target.
43082         * ctype/Makefile: Include Makeconfig immediately after defining
43083         subdir.
43084         * debug/Makefile: Likewise.
43085         * dirent/Makefile: Likewise.
43086         * dlfcn/Makefile: Likewise.
43087         * gmon/Makefile: Likewise.
43088         * gnulib/Makefile: Likewise.
43089         * grp/Makefile: Likewise.
43090         * gshadow/Makefile: Likewise.
43091         * hesiod/Makefile: Likewise.
43092         * hurd/Makefile: Likewise.
43093         (all): Remove target.
43094         * iconvdata/Makefile: Include Makeconfig immediately after
43095         defining subdir.
43096         * inet/Makefile: Likewise.
43097         * intl/Makefile: Likewise.
43098         * io/Makefile: Likewise.
43099         * libio/Makefile: Likewise.
43100         (all): Remove target.
43101         * locale/Makefile: Include Makeconfig immediately after defining
43102         subdir.
43103         * login/Makefile: Likewise.
43104         * mach/Makefile: Likewise.
43105         (all): Remove target.
43106         * malloc/Makefile: Include Makeconfig immediately after defining
43107         subdir.
43108         (all): Remove target.
43109         * manual/Makefile: Include Makeconfig immediately after defining
43110         subdir.
43111         * math/Makefile: Likewise.
43112         * misc/Makefile: Likewise.
43113         * nis/Makefile: Likewise.
43114         * nss/Makefile: Likewise.
43115         * po/Makefile: Likewise.
43116         (all): Remove target.
43117         * posix/Makefile: Include Makeconfig immediately after defining
43118         subdir.
43119         * pwd/Makefile: Likewise.
43120         * resolv/Makefile: Likewise.
43121         * resource/Makefile: Likewise.
43122         * rt/Makefile: Likewise.
43123         * setjmp/Makefile: Likewise.
43124         * shadow/Makefile: Likewise.
43125         * signal/Makefile: Likewise.
43126         * socket/Makefile: Likewise.
43127         * soft-fp/Makefile: Likewise.
43128         * stdio-common/Makefile: Likewise.
43129         * stdlib/Makefile: Likewise.
43130         * streams/Makefile: Likewise.
43131         * string/Makefile: Likewise.
43132         * sunrpc/Makefile: Likewise.
43133         (all): Remove target.
43134         * sysvipc/Makefile: Include Makeconfig immediately after defining
43135         subdir.
43136         * termios/Makefile: Likewise.
43137         * time/Makefile: Likewise.
43138         * timezone/Makefile: Likewise.
43139         (all): Remove target.
43140         * wcsmbs/Makefile: Include Makeconfig immediately after defining
43141         subdir.
43142         * wctype/Makefile: Likewise.
43144 2014-02-26  Steve Ellcey  <sellcey@mips.com>
43146         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
43147         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
43148         (libc_feholdexcept_setround_mips): Ditto.
43149         (libc_feholdsetround): New.
43150         (libc_feholdsetroundf): New.
43151         (libc_feholdsetroundl): New.
43152         (libc_feupdateenv_test_mips): New.
43153         (libc_feupdateenv_test): New.
43154         (libc_feupdateenv_testf): New.
43155         (libc_feupdateenv_testl): New.
43156         (libc_feresetround): New.
43157         (libc_feresetroundf): New.
43158         (libc_feresetroundl): New.
43159         (libc_fetestexcept_mips): New.
43160         (libc_fetestexcept): New.
43161         (libc_fetestexceptf): New.
43162         (libc_fetestexceptl): New.
43163         (HAVE_RM_CTX): New.
43164         (libc_feholdexcept_setround_mips_ctx): New.
43165         (libc_feholdexcept_setround_ctx): New.
43166         (libc_feholdexcept_setroundf_ctx): New.
43167         (libc_feholdexcept_setroundl_ctx): New.
43168         (libc_fesetenv_mips_ctx): New.
43169         (libc_fesetenv_ctx): New.
43170         (libc_fesetenv_ctxf): New.
43171         (libc_fesetenv_ctxl): New.
43172         (libc_feupdateenv_mips_ctx): New.
43173         (libc_feupdateenv_ctx): New.
43174         (libc_feupdateenvf_ctx): New.
43175         (libc_feupdateenvl_ctx): New.
43176         (libc_feholdsetround_mips_ctx): New.
43177         (libc_feholdsetround_ctx): New.
43178         (libc_feholdsetroundf_ctx): New.
43179         (libc_feholdsetroundl_ctx): New.
43180         (libc_feresetround_mips_ctx): New.
43181         (libc_feresetround_ctx): New.
43182         (libc_feresetroundf_ctx): New.
43183         (libc_feresetroundl_ctx): New.
43185 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
43187         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
43189         * manual/ipc.texi: New file.
43190         * manual/Makefile (chapters): Add ipc.
43191         * manual/job.texi: Add "Inter-Process Communication" to next.
43192         * manual/process.texi: Add "Inter-Process Communication" to prev.
43194 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43196         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43198 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
43200         * malloc/malloc.c (__libc_calloc): Simplify implementation.
43202         * manual/arith.texi: Fix spaces after sentences.
43203         * manual/charset.texi: Likewise.
43204         * manual/errno.texi: Likewise.
43205         * manual/install.texi: Likewise.
43206         * manual/llio.texi: Likewise.
43207         * manual/locale.texi: Likewise.
43208         * manual/maint.texi: Likewise.
43209         * manual/math.texi: Likewise.
43210         * manual/memory.texi: Likewise.
43211         * manual/message.texi: Likewise.
43212         * manual/probes.texi: Likewise.
43213         * manual/resource.texi: Likewise.
43214         * manual/signal.texi: Likewise.
43215         * manual/socket.texi: Likewise.
43216         * manual/stdio.texi: Likewise.
43217         * manual/string.texi: Likewise.
43218         * manual/time.texi: Likewise.
43219         * manual/users.texi: Likewise.
43221 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
43223         [BZ #16632]
43224         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
43225         _DEFAULT_SOURCE is defined.
43227 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
43228             Carlos O'Donell  <carlos@redhat.com>
43230         [BZ #16613]
43231         * elf/dl-tls.c (_dl_count_modids): New function.
43232         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
43233         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
43234         audit library and increment generation counter.
43235         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
43236         * elf/tst-audit9.c: New file.
43237         * elf/tst-auditmod9a.c: New file.
43238         * elf/tst-auditmod9b.c: New file.
43239         * elf/Makefile: Add rules to build and run tst-audit9.
43241 2014-02-25  Florian Weimer  <fweimer@redhat.com>
43243         [BZ #15347]
43244         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
43246 2014-02-25  Will Newton  <will.newton@linaro.org>
43248         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
43249         (__longjmp): Restore sp and lr before restoring callee
43250         saved registers.  Add longjmp and longjmp_target
43251         SystemTap probe point.
43252         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
43253         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
43254         Define to zero to match jmpbuf layout.
43255         * sysdeps/arm/setjmp.S: Include stap-probe.h.
43256         (__sigsetjmp): Save sp and lr before saving callee
43257         saved registers.  Add setjmp SystemTap probe point.
43259 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
43261         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
43263 2014-02-24  Andreas Schwab  <schwab@suse.de>
43265         [BZ #15804]
43266         * elf/pldd.c (wait_for_ptrace_stop): New function.
43267         (main): Call it after attaching.
43269 2014-02-22  Roland McGrath  <roland@hack.frob.com>
43271         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
43272         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
43273         Versions files is now verboten.
43274         * hurd/Versions (libc: GLIBC_2.0):
43275         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
43276         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
43277         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
43278         * mach/Versions: Likewise.
43280         * csu/Versions: Remove unused %include.
43281         * resolv/Versions: Likewise.
43283 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
43285         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
43286         ($(objpfx)check-local-headers.out): Likewise.
43287         ($(objpfx)begin-end-check.out): Likewise.
43288         * Makerules (check-abi-%.out): Likewise.
43289         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
43290         ($(objpfx)test2.cat): Likewise.
43291         ($(objpfx)de/libc.cat): Likewise.
43292         ($(objpfx)test-gencat.out): Likewise.
43293         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
43294         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
43295         ($(objpfx)noload-mem): Likewise.
43296         ($(objpfx)tst-pathopt.out): Likewise.
43297         ($(objpfx)tst-rtld-load-self.out): Likewise.
43298         ($(objpfx)tst-array1-cmp.out): Likewise.
43299         ($(objpfx)tst-array1-static-cmp.out): Likewise.
43300         ($(objpfx)tst-array2-cmp.out): Likewise.
43301         ($(objpfx)tst-array3-cmp.out): Likewise.
43302         ($(objpfx)tst-array4-cmp.out): Likewise.
43303         ($(objpfx)tst-array5-cmp.out): Likewise.
43304         ($(objpfx)tst-array5-static-cmp.out): Likewise.
43305         ($(objpfx)check-textrel.out): Likewise.
43306         ($(objpfx)check-execstack.out): Likewise.
43307         ($(objpfx)check-localplt.out): Likewise.
43308         ($(objpfx)order2-cmp.out): Likewise.
43309         ($(objpfx)tst-leaks1-mem): Likewise.
43310         ($(objpfx)tst-leaks1-static-mem): Likewise.
43311         ($(objpfx)tst-initorder-cmp.out): Likewise.
43312         ($(objpfx)tst-initorder2-cmp.out): Likewise.
43313         ($(objpfx)tst-unused-dep.out): Likewise.
43314         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
43315         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
43316         * iconv/Makefile (test-iconvconfig): Likewise.
43317         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
43318         ($(objpfx)iconv-test.out): Likewise.
43319         ($(objpfx)tst-tables.out): Likewise.
43320         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
43321         ($(objpfx)tst-gettext.out): Likewise.
43322         ($(objpfx)tst-translit.out): Likewise.
43323         ($(objpfx)tst-gettext2.out): Likewise.
43324         ($(objpfx)tst-gettext4.out): Likewise.
43325         ($(objpfx)tst-gettext6.out): Likewise.
43326         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
43327         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
43328         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
43329         ($(objpfx)tst-fopenloc-mem.out): Likewise.
43330         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
43331         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
43332         * posix/Makefile ($(objpfx)globtest.out): Likewise.
43333         ($(objpfx)wordexp-tst.out): Likewise.
43334         ($(objpfx)annexc.out): Likewise.
43335         ($(objpfx)tst-fnmatch-mem): Likewise.
43336         ($(objpfx)bug-regex2-mem): Likewise.
43337         ($(objpfx)bug-regex14-mem): Likewise.
43338         ($(objpfx)bug-regex21-mem): Likewise.
43339         ($(objpfx)bug-regex31-mem): Likewise.
43340         ($(objpfx)tst-vfork3-mem): Likewise.
43341         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
43342         ($(objpfx)tst-pcre-mem): Likewise.
43343         ($(objpfx)tst-boost-mem): Likewise.
43344         ($(objpfx)tst-getconf.out): Likewise.
43345         ($(objpfx)bug-ga2-mem): Likewise.
43346         ($(objpfx)bug-glob2-mem): Likewise.
43347         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
43348         ($(objpfx)mtrace-tst-leaks2): Likewise.
43349         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
43350         ($(objpfx)tst-printf.out): Likewise.
43351         ($(objpfx)tst-setvbuf1.out): Likewise.
43352         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
43353         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
43354         ($(objpfx)tst-fmtmsg.out): Likewise.
43355         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
43356         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
43358         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
43359         * bits/sigaction.h [__USE_MISC]: Likewise.
43360         * bits/waitstatus.h: Update #endif comments.
43361         * ctype/ctype.h: Likewise.
43362         * dirent/dirent.h: Likewise.
43363         [__USE_MISC]: Remove redundant conditionals.
43364         * grp/grp.h: Update #endif comments.
43365         [__USE_GNU]: Remove redundant conditionals.
43366         [__USE_MISC]: Likewise.
43367         * inet/netinet/in.h [__USE_GNU]: Likewise.
43368         * io/sys/stat.h [__USE_MISC]: Likewise.
43369         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
43370         * libio/bits/stdio.h: Update #endif comments.
43371         [__USE_MISC]: Remove redundant conditionals.
43372         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
43373         * libio/stdio.h: Update #endif comments.
43374         [__USE_MISC]: Remove redundant conditionals.
43375         * math/bits/math-finite.h [__USE_MISC]: Likewise.
43376         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
43377         * math/math.h: Update #else and #endif comments.
43378         [__USE_MISC]: Remove redundant conditionals.
43379         * misc/sys/uio.h: Update #endif comments.
43380         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
43381         * posix/glob.h [__USE_MISC]: Likewise.
43382         * posix/sys/types.h: Update #endif comments.
43383         [__USE_MISC]: Remove redundant conditionals.
43384         * posix/sys/wait.h: Update #endif comments.
43385         [__USE_MISC]: Remove redundant conditionals.
43386         * posix/unistd.h: Update #endif comments.
43387         [__USE_MISC]: Remove redundant conditionals.
43388         * pwd/pwd.h [__USE_GNU]: Likewise.
43389         [__USE_MISC]: Likewise.
43390         * resolv/netdb.h [__USE_GNU]: Likewise.
43391         * signal/signal.h: Update #endif comments.
43392         [__USE_MISC]: Remove redundant conditionals.
43393         * stdlib/stdlib.h: Update #else and #endif comments.
43394         [__USE_MISC]: Remove redundant conditionals.
43395         [__USE_GNU]: Likewise.
43396         * string/bits/string2.h [__USE_MISC]: Likewise.
43397         * string/string.h: Update #endif comments.
43398         [__USE_MISC]: Remove redundant conditionals.
43399         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
43400         Likewise.
43401         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
43402         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
43403         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
43404         Likewise.
43405         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
43406         Likewise.
43407         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
43408         comments.
43409         [__USE_MISC]: Remove redundant conditionals.
43410         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
43411         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
43412         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
43413         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
43414         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
43415         Likewise.
43416         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
43417         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
43418         Likewise.
43419         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
43420         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
43421         Likewise.
43422         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
43423         Likewise.
43424         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
43425         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
43426         Likewise.
43427         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
43428         Likewise.
43429         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
43430         * sysdeps/x86/bits/string.h: Update #endif comments.
43431         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
43432         conditionals.
43433         * time/sys/time.h: Update #endif comments.
43434         * time/time.h: Likewise.
43435         [__USE_MISC]: Remove redundant conditionals.
43437 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
43439         [BZ #16600]
43440         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
43442 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
43444         * Versions.def (librt): Add GLIBC_2.17.
43446 2014-02-21  Adam Conrad  <adconrad@0c3.net>
43448         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
43449         synonym for _SYS_AUXV_H to allow direct inclusion.
43450         * sysdeps/sparc/bits/hwcap.h: Likewise.
43451         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
43452         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
43453         * sysdeps/sparc/sysdep.h: Likewise.
43455 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43457         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
43459 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
43461         * benchtests/bench-strrchr.c: Print length instead of position.
43463 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
43465         [BZ #16611]
43466         * sysdeps/unix/sysv/linux/kernel-features.h
43467         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
43468         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
43469         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
43470         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
43471         Likewise.
43472         [__i386__ || __powerpc__ || __sh__ || __sparc__]
43473         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43474         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
43475         (__ASSUME_SENDMMSG): Define instead of using previous
43476         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
43477         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
43478         (__ASSUME_SENDMMSG_SYSCALL): Define.
43479         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43480         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
43481         Likewise.
43482         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43483         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
43484         Likewise.
43485         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
43486         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
43487         Likewise.
43488         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
43489         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
43490         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
43491         [__ASSUME_SENDMMSG]: Change conditionals to
43492         [__ASSUME_SENDMMSG_SOCKETCALL].
43493         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43494         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
43495         Define.
43496         * sysdeps/unix/sysv/linux/mips/kernel-features.h
43497         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
43498         Likewise.
43499         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
43500         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
43501         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
43502         [!__ASSUME_SENDMMSG]: Change conditional to
43503         [!__ASSUME_SENDMMSG_SOCKETCALL].
43504         * sysdeps/unix/sysv/linux/tile/kernel-features.h
43505         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
43506         Define.
43508         [BZ #16610]
43509         * sysdeps/unix/sysv/linux/kernel-features.h
43510         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
43511         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
43512         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
43513         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
43514         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
43515         [__i386__ || __sparc__]
43516         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43517         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
43518         (__ASSUME_RECVMMSG): Define instead of using previous
43519         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
43520         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
43521         (__ASSUME_RECVMMSG_SYSCALL): Define.
43522         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43523         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
43524         Likewise.
43525         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43526         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
43527         Likewise.
43528         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
43529         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
43530         Likewise.
43531         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
43532         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
43533         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
43534         [__ASSUME_RECVMMSG]: Change condition to
43535         [__ASSUME_RECVMMSG_SOCKETCALL].
43536         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43537         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
43538         Define.
43539         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43540         * sysdeps/unix/sysv/linux/mips/kernel-features.h
43541         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
43542         Likewise.
43543         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
43544         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
43545         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
43546         [!__ASSUME_RECVMMSG]: Change condition to
43547         [!__ASSUME_RECVMMSG_SOCKETCALL].
43548         * sysdeps/unix/sysv/linux/tile/kernel-features.h
43549         (__ASSUME_RECVMMSG_SYSCALL): Define.
43551         [BZ #16609]
43552         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
43553         __powerpc__ || __s390__ || __sh__ || __sparc__]
43554         (__ASSUME_SOCKETCALL): Define.
43555         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
43556         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
43557         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
43558         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
43559         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
43560         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
43561         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
43562         (__ASSUME_ACCEPT4): Define instead of using previous
43563         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
43564         __powerpc__ || __sparc__ || __s390__)] condition.
43565         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
43566         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
43567         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
43568         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
43569         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
43570         [!__ASSUME_ACCEPT4]: Change condition to
43571         [!__ASSUME_ACCEPT4_SOCKETCALL].
43572         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43573         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
43574         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
43575         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43576         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
43577         __ASSUME_ACCEPT4_SYSCALL.
43578         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
43579         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
43580         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
43581         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
43582         __ASSUME_ACCEPT4_SYSCALL.
43583         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
43584         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
43585         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
43586         [__ASSUME_ACCEPT4]: Change condition to
43587         [__ASSUME_ACCEPT4_SOCKETCALL].
43588         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
43589         (__ASSUME_SOCKETCALL): Define.
43590         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
43591         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43592         (__ASSUME_SOCKETCALL): Define.
43593         (__ASSUME_ACCEPT4): Remove.
43594         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
43595         Define.
43596         * sysdeps/unix/sysv/linux/mips/kernel-features.h
43597         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
43598         Likewise.
43599         * sysdeps/unix/sysv/linux/tile/kernel-features.h
43600         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
43602         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
43603         macro.
43604         (HWCAP_ARM_LPAE): Likewise.
43605         (HWCAP_ARM_EVTSTRM): Likewise.
43606         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
43607         Add vpfd32, lpae and evtstrm.
43608         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
43609         Increase to 22.
43611 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
43613         * math/auto-libm-test-in: Add tests of clog10.
43614         * math/auto-libm-test-out: Regenerated.
43615         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
43616         * sysdeps/i386/fpu/libm-test-ulps: Update.
43617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43619 2014-02-18  Andreas Schwab  <schwab@suse.de>
43621         [BZ #16574]
43622         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
43623         Store non-zero if the second buffer was newly allocated.
43624         (send_dg): Likewise.
43625         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
43626         to send_vc and send_dg.
43627         (res_nsend): Pass NULL for ansp2_malloced.
43628         * resolv/res_query.c (__libc_res_nquery): Add parameter
43629         answerp2_malloced and pass it down to __libc_res_nsend.
43630         (res_nquery): Pass additional NULL to __libc_res_nquery.
43631         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
43632         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
43633         second answer buffer if answerp2_malloced was set.
43634         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
43635         (__libc_res_nquerydomain): Add parameter
43636         answerp2_malloced and pass it down to __libc_res_nquery.
43637         (res_nquerydomain): Pass additional NULL to
43638         __libc_res_nquerydomain.
43639         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
43640         additional NULL to __libc_res_nsend and __libc_res_nquery.
43641         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
43642         additional NULL to __libc_res_nsearch.
43643         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
43644         parameter of __libc_res_nsearch to check for separately allocated
43645         second buffer.
43646         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
43647         __libc_res_nquery.
43648         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
43649         additional NULL to __libc_res_nquery.
43650         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
43651         __libc_res_nsearch.
43652         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
43653         * include/resolv.h: Update prototypes of __libc_res_nquery,
43654         __libc_res_nsearch, __libc_res_nsend.
43656 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
43658         * math/auto-libm-test-in: Add tests of fma.
43659         * math/auto-libm-test-out: Regenerated.
43660         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
43661         (fma_towardzero_test_data): Likewise.
43662         (fma_downward_test_data): Likewise.
43663         (fma_upward_test_data): Likewise.
43664         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
43665         mpc_mode.
43666         (rounding_modes): Add values for new field.
43667         (func_calc_method): Add value mpfr_fff_f.
43668         (func_calc_desc): Add mpfr_fff_f union field.
43669         (test_function): Add field exact_args.
43670         (FUNC): Add macro argument EXACT_ARGS.
43671         (FUNC_mpfr_f_f): Update call to FUNC.
43672         (FUNC_mpfr_f_f): Likewise.
43673         (FUNC_mpfr_ff_f): Likewise.
43674         (FUNC_mpfr_if_f): Likewise.
43675         (FUNC_mpc_c_f): Likewise.
43676         (FUNC_mpc_c_c): Likewise.
43677         (test_functions): Add fma.  Update calls to FUNC.
43678         (handle_input_arg): Add argument exact_args.
43679         (add_test): Update call to handle_input_arg.
43680         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
43681         (output_for_one_input_case): Update call to calc_generic_results.
43682         Recalculate exact zero results in each rounding mode.
43684         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
43685         non-negative before setting low bit.
43686         * math/auto-libm-test-in: Mark one asin test possibly having
43687         spurious underflow.
43688         * math/auto-libm-test-out: Regenerated.
43689         * sysdeps/i386/fpu/libm-test-ulps: Update.
43690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43692 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
43694         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
43695         * sysdeps/unix/sysv/linux/microblaze: Move directory from
43696         ports/sysdeps/unix/sysv/linux/microblaze.
43697         * README: Add missing listing for microblaze*-*-linux-gnu.
43699 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
43701         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
43702         duplicate code
43704 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
43706         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
43707         * sysdeps/unix/sysv/linux/ia64: Move directory from
43708         ports/sysdeps/unix/sysv/linux/ia64.
43709         * README: Update listing for ia64-*-linux-gnu.
43711 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
43712             Joseph Myers  <joseph@codesourcery.com>
43714         * Makeconfig (test-name): New variable.
43715         (evaluate-test): Likewise.
43716         * Makerules (do-test-clean): Remove .test-result files.
43717         (common-mostlyclean): Likewise.
43718         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
43719         * scripts/evaluate-test.sh: New file.
43721 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
43723         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
43724         separate $(objpfx)tst-fopenloc-cmp.out and
43725         $(objpfx)tst-fopenloc-mem.out targets.
43726         (tests): Update dependencies.
43727         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
43728         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
43729         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
43730         (tst-rxspencer-no-utf8-ARGS): New variable.
43731         (tst-rxspencer-no-utf8-ENV): Likewise.
43732         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
43733         instead of $(objpfx)tst-rxspencer-mem.
43734         ($(objpfx)tst-rxspencer-mem): Change target to
43735         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
43736         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
43737         * posix/tst-rxspencer-no-utf8.c: New file.
43739         * elf/Makefile ($(objpfx)order.out): Remove rule.
43740         [$(run-built-tests) = yes] (tests): Depend on
43741         $(objpfx)order-cmp.out.
43742         ($(objpfx)order-cmp.out): New rule.
43743         [$(run-built-tests) = yes] (tests): Depend on
43744         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
43745         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
43746         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
43747         $(objpfx)tst-array5-static-cmp.out.
43748         ($(objpfx)tst-array1.out): Remove rule.
43749         ($(objpfx)tst-array1-cmp.out): New rule.
43750         ($(objpfx)tst-array1-static.out): Remove rule.
43751         ($(objpfx)tst-array1-static-cmp.out): New rule.
43752         ($(objpfx)tst-array2.out): Remove rule.
43753         ($(objpfx)tst-array2-cmp.out): New rule.
43754         ($(objpfx)tst-array3.out): Remove rule.
43755         ($(objpfx)tst-array3-cmp.out): New rule.
43756         ($(objpfx)tst-array4.out): Remove rule.
43757         ($(objpfx)tst-array4-cmp.out): New rule.
43758         ($(objpfx)tst-array5.out): Remove rule.
43759         ($(objpfx)tst-array5-cmp.out): New rule.
43760         ($(objpfx)tst-array5-static.out): Remove rule.
43761         ($(objpfx)tst-array5-static-cmp.out): New rule.
43762         [$(run-built-tests) = yes] (tests): Depend on
43763         $(objpfx)order2-cmp.out.
43764         ($(objpfx)order2.out): Remove rule.
43765         ($(objpfx)order2-cmp.out): New rule.
43766         ($(objpfx)tst-initorder.out): Remove rule.
43767         [$(run-built-tests) = yes] (tests): Depend on
43768         $(objpfx)tst-initorder-cmp.out.
43769         ($(objpfx)tst-initorder-cmp.out): New rule.
43770         ($(objpfx)tst-initorder2.out): Remove rule.
43771         [$(run-built-tests) = yes] (tests): Depend on
43772         $(objpfx)tst-initorder2-cmp.out.
43773         ($(objpfx)tst-initorder2-cmp.out): New rule.
43774         [$(run-built-tests) = yes] (tests): Depend on
43775         $(objpfx)tst-unused-dep-cmp.out.
43776         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
43777         ($(objpfx)tst-unused-dep-cmp.out): New rule.
43778         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
43779         on $(objpfx)tst-setvbuf1-cmp.out.
43780         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
43781         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
43782         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
43783         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
43784         ($(objpfx)tst-svc.out): Remove rule.
43785         ($(objpfx)tst-svc-cmp.out): New rule.
43787 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
43789         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
43790         * ctype/ctype.h [__USE_MISC]: Likewise.
43791         * dirent/dirent.h [__USE_MISC]: Likewise.
43792         * grp/grp.h [__USE_MISC]: Likewise.
43793         * io/fcntl.h [__USE_MISC]: Likewise.
43794         * io/sys/stat.h [__USE_MISC]: Likewise.
43795         * libio/stdio.h [__USE_MISC]: Likewise.
43796         * posix/unistd.h [__USE_MISC]: Likewise.
43797         * pwd/pwd.h [__USE_MISC]: Likewise.
43798         * stdlib.h [__USE_MISC]: Likewise.
43799         * string/bits/string2.h [__USE_MISC]: Likewise.
43800         * string/string.h [__USE_MISC]: Likewise.
43801         * time/time.h [__USE_MISC]: Likewise.
43803 2014-02-13  Andreas Schwab  <schwab@suse.de>
43805         [BZ #16574]
43806         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
43807         second answer buffer if it was separately allocated.
43809 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
43811         * sysdeps/mips/math-tests.h: Include <features.h>.
43812         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
43813         (ROUNDING_TESTS_long_double): Do not define.
43814         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
43815         (EXCEPTION_TESTS_long_double): Likewise.
43816         * sysdeps/mips/mips64/libm-test-ulps: Update.
43818         * include/features.h (__USE_BSD): Remove macro definitions.
43819         (__USE_SVID): Likewise.
43820         (_BSD_SOURCE): Likewise.
43821         (_SVID_SOURCE): Likewise.
43822         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
43823         from definition of _DEFAULT_SOURCE.
43824         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
43825         [_DEFAULT_SOURCE].
43826         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
43827         * bits/mman.h [__USE_BSD]: Likewise.
43828         * bits/termios.h [__USE_BSD]: Likewise.
43829         * bits/waitstatus.h [__USE_BSD]: Likewise.
43830         * ctype/ctype.h [__USE_SVID]: Likewise.
43831         * dirent/dirent.h [__USE_BSD]: Likewise.
43832         * grp/grp.h [__USE_SVID]: Likewise.
43833         [__USE_BSD]: Likewise.
43834         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
43835         * io/fcntl.h [__USE_BSD]: Likewise.
43836         * io/ftw.h [__USE_BSD]: Likewise.
43837         * io/sys/stat.h [__USE_BSD]: Likewise.
43838         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
43839         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
43840         * libio/stdio.h [__USE_SVID]: Likewise.
43841         [__USE_BSD]: Likewise.
43842         * math/math.h [__USE_SVID]: Likewise.
43843         [__USE_BSD]: Likewise.
43844         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
43845         * misc/bits/syslog.h [__USE_BSD]: Likewise.
43846         * misc/search.h [__USE_SVID]: Likewise.
43847         * misc/sys/mman.h [__USE_BSD]: Likewise.
43848         * misc/sys/syslog.h [__USE_BSD]: Likewise.
43849         * misc/sys/uio.h [__USE_BSD]: Likewise.
43850         * posix/bits/unistd.h [__USE_BSD]: Likewise.
43851         * posix/glob.h [__USE_BSD]: Likewise.
43852         * posix/regex.h [__USE_BSD]: Likewise.
43853         * posix/sys/types.h [__USE_BSD]: Likewise.
43854         [__USE_SVID]: Likewise.
43855         * posix/sys/utsname.h [__USE_SVID]: Likewise.
43856         * posix/sys/wait.h [__USE_BSD]: Likewise.
43857         [__USE_SVID]: Likewise.
43858         * posix/unistd.h [__USE_BSD]: Likewise.
43859         [__USE_SVID]: Likewise.
43860         * pwd/pwd.h [__USE_SVID]: Likewise.
43861         * resolv/netdb.h [__USE_BSD]: Likewise.
43862         * setjmp/setjmp.h [__USE_BSD]: Likewise.
43863         * signal/signal.h [__USE_BSD]: Likewise.
43864         [__USE_SVID]: Likewise.
43865         * socket/sys/socket.h [__USE_BSD]: Likewise.
43866         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
43867         * stdlib/stdlib.h [__USE_BSD]: Likewise.
43868         [__USE_SVID]: Likewise.
43869         * string/bits/string2.h [__USE_BSD]: Likewise.
43870         [__USE_SVID]: Likewise.
43871         * string/bits/string3.h [__USE_BSD]: Likewise.
43872         * string/endian.h [__USE_BSD]: Likewise.
43873         * string/string.h [__USE_SVID]: Likewise.
43874         [__USE_BSD]: Likewise.
43875         * string/strings.h [__USE_BSD]: Likewise.
43876         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
43877         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
43878         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
43879         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
43880         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
43881         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
43882         Likewise.
43883         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
43884         Likewise.
43885         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
43886         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
43887         Likewise.
43888         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
43889         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
43890         Likewise.
43891         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
43892         Likewise.
43893         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
43894         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
43895         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
43896         Likewise.
43897         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
43898         Likewise.
43899         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
43900         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
43901         * termios/termios.h [__USE_BSD]: Likewise.
43902         * time/sys/time.h [__USE_BSD]: Likewise.
43903         * time/time.h [__USE_BSD]: Likewise.
43904         [__USE_SVID]: Likewise.
43906         * Makefile (subdir_targets): Remove subdir_lint.out.
43908         * stdio-common/Makefile (do-tst-unbputc): Remove target.
43909         (do-tst-printf): Likewise.
43910         (tests): Depend directly on $(objpfx)tst-unbputc.out and
43911         $(objpfx)tst-printf.out.
43913         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
43915         * Makerules (check-abi-%): Change target to
43916         $(objpfx)check-abi-%.out.
43917         (check-abi target): Update dependencies.
43918         (check-abi-pattern variable): Redirect output of diff to $@.
43919         (check-abi variable): Likewise.
43920         * elf/Makefile (check-abi): Update dependencies.
43922         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
43923         unused.
43924         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
43925         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
43926         subnormal range.
43927         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
43928         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
43929         value has largest subnormal exponent.
43930         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
43931         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
43932         * sysdeps/aarch64/soft-fp/sfp-machine.h
43933         (_FP_TININESS_AFTER_ROUNDING): New macro.
43934         * sysdeps/alpha/soft-fp/sfp-machine.h
43935         (_FP_TININESS_AFTER_ROUNDING): Likewise.
43936         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
43937         Likewise.
43938         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
43939         (_FP_TININESS_AFTER_ROUNDING): Likewise.
43940         * sysdeps/mips/soft-fp/sfp-machine.h
43941         (_FP_TININESS_AFTER_ROUNDING): Likewise.
43942         * sysdeps/powerpc/soft-fp/sfp-machine.h
43943         (_FP_TININESS_AFTER_ROUNDING): Likewise.
43944         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
43945         Likewise.
43946         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
43947         (_FP_TININESS_AFTER_ROUNDING): Likewise.
43948         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
43949         (_FP_TININESS_AFTER_ROUNDING): Likewise.
43950         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
43951         Likewise.
43953 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
43955         [BZ #16545]
43956         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
43957         model 1.
43959 2014-02-12  Richard Henderson  <rth@redhat.com>
43961         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
43962         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
43963         * sysdeps/unix/sysv/linux/alpha: Move directory from
43964         ports/sysdeps/unix/sysv/linux/alpha.
43965         * README: Update listing for alpha-*-linux-gnu.
43967 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
43969         * include/features.h: Update comment documenting feature test
43970         macros.
43971         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
43972         _DEFAULT_SOURCE.
43973         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
43974         (_SVID_SOURCE): Likewise.
43975         (_DEFAULT_SOURCE): Update description of default features.
43976         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
43977         with _GNU_SOURCE.
43978         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
43979         (S_ISVTX): Likewise.
43980         * manual/math.texi (Mathematical Constants): Likewise.
43981         * manual/signal.texi (Interrupted Primitives): Likewise.
43982         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
43983         * math/test-matherr.c (_SVID_SOURCE): Do not define.
43984         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
43985         Don't refer to _SVID_SOURCE in warning text.
43987         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43989         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
43990         already defined.
43991         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
43992         * sysdeps/mips/dl-lookup.c: Remove.
43993         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
43995 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
43997         [BZ #16447]
43998         * math/auto-libm-test-in: Add testcase for expl.
43999         * math/auto-libm-test-out: Regenerate.
44000         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
44001         calculation of unsafe.
44002         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
44004 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
44006         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
44007         * sysdeps/unix/sysv/linux/aarch64: Move directory from
44008         ports/sysdeps/unix/sysv/linux/aarch64.
44009         * README: Update listing for aarch64*-*-linux-gnu.
44011 2014-02-11  Will Newton  <will.newton@linaro.org>
44013         * manual/probes.texi (Mathematical Function Probes): Use
44014         "triggered" instead of "hit".
44016         * manual/probes.texi (Internal Probes): Add documentation
44017         of setjmp, longjmp and longjmp_target probes.
44019         * include/stap-probe.h: Add comment about probe argument
44020         format.
44022         * malloc/mtrace.c (attribute_hidden): Remove unused macro
44023         definition.  (tr_where, tr_freehook, tr_mallochook,
44024         tr_reallochook, tr_memalignhook): Use ANSI protoype.
44026 2014-02-11  David S. Miller  <davem@davemloft.net>
44028         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
44029         processing int_tests.
44031 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
44033         * sysdeps/mips: Move directory from ports/sysdeps/mips.
44034         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
44035         * sysdeps/unix/sysv/linux/mips: Move directory from
44036         ports/sysdeps/unix/sysv/linux/mips.
44037         * README: Update listing for mips-*-linux-gnu and
44038         mips64-*-linux-gnu.
44040 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
44042         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
44043         * sysdeps/unix/sysv/linux/m68k: Move directory from
44044         ports/sysdeps/unix/sysv/linux/m68k.
44045         * README: Update listing for m68k-*-linux-gnu.
44047 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
44049         * sysdeps/tile: Move directory from ports/sysdeps/tile.
44050         * sysdeps/unix/sysv/linux/generic: Move directory from
44051         ports/sysdeps/unix/sysv/linux/generic.
44052         * sysdeps/unix/sysv/linux/tile: Move directory from
44053         ports/sysdeps/unix/sysv/linux/tile.
44054         * README: Update listing for tile*-*-linux-gnu.
44056 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
44058         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
44059         __builtin_expect.
44060         * benchtests/bench-memmem.c (simple_memmem): Likewise.
44061         * catgets/open_catalog.c (__open_catalog): Likewise.
44062         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
44063         * debug/confstr_chk.c: Likewise.
44064         * debug/fread_chk.c (__fread_chk): Likewise.
44065         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
44066         * debug/getgroups_chk.c: Likewise.
44067         * debug/mbsnrtowcs_chk.c: Likewise.
44068         * debug/mbsrtowcs_chk.c: Likewise.
44069         * debug/mbstowcs_chk.c: Likewise.
44070         * debug/memcpy_chk.c: Likewise.
44071         * debug/memmove_chk.c: Likewise.
44072         * debug/mempcpy_chk.c: Likewise.
44073         * debug/memset_chk.c: Likewise.
44074         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
44075         * debug/strcat_chk.c (__strcat_chk): Likewise.
44076         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
44077         * debug/strncat_chk.c (__strncat_chk): Likewise.
44078         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
44079         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
44080         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
44081         * debug/wcpncpy_chk.c: Likewise.
44082         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
44083         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
44084         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
44085         * debug/wcsncpy_chk.c: Likewise.
44086         * debug/wcsnrtombs_chk.c: Likewise.
44087         * debug/wcsrtombs_chk.c: Likewise.
44088         * debug/wcstombs_chk.c: Likewise.
44089         * debug/wmemcpy_chk.c: Likewise.
44090         * debug/wmemmove_chk.c: Likewise.
44091         * debug/wmempcpy_chk.c: Likewise.
44092         * debug/wmemset_chk.c: Likewise.
44093         * dirent/scandirat.c (SCANDIRAT): Likewise.
44094         * dlfcn/dladdr1.c (dladdr1): Likewise.
44095         * dlfcn/dladdr.c (dladdr): Likewise.
44096         * dlfcn/dlclose.c (dlclose_doit): Likewise.
44097         * dlfcn/dlerror.c (__dlerror): Likewise.
44098         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
44099         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
44100         * dlfcn/dlopen.c (dlopen_doit): Likewise.
44101         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
44102         * dlfcn/dlsym.c (dlsym_doit): Likewise.
44103         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
44104         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
44105         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
44106         Likewise.
44107         * elf/dl-conflict.c: Likewise.
44108         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
44109         * elf/dl-dst.h: Likewise.
44110         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
44111         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
44112         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
44113         * elf/dl-init.c (call_init, _dl_init): Likewise.
44114         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
44115         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
44116         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
44117         Likewise.
44118         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
44119         Likewise.
44120         * elf/dl-minimal.c (__libc_memalign): Likewise.
44121         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
44122         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
44123         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
44124         * elf/dl-sym.c (do_sym): Likewise.
44125         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
44126         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
44127         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
44128         * elf/dl-writev.h (_dl_writev): Likewise.
44129         * elf/ldconfig.c (search_dir): Likewise.
44130         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
44131         (dl_main): Likewise.
44132         * elf/setup-vdso.h (setup_vdso): Likewise.
44133         * grp/compat-initgroups.c (compat_call): Likewise.
44134         * grp/fgetgrent.c (fgetgrent): Likewise.
44135         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
44136         * grp/putgrent.c (putgrent): Likewise.
44137         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
44138         Likewise.
44139         * hurd/hurdinit.c: Likewise.
44140         * iconvdata/8bit-gap.c (struct): Likewise.
44141         * iconvdata/ansi_x3.110.c : Likewise.
44142         * iconvdata/big5.c : Likewise.
44143         * iconvdata/big5hkscs.c : Likewise.
44144         * iconvdata/cp1255.c: Likewise.
44145         * iconvdata/cp1258.c : Likewise.
44146         * iconvdata/cp932.c : Likewise.
44147         * iconvdata/euc-cn.c: Likewise.
44148         * iconvdata/euc-jisx0213.c : Likewise.
44149         * iconvdata/euc-jp.c: Likewise.
44150         * iconvdata/euc-jp-ms.c : Likewise.
44151         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
44152         * iconvdata/gb18030.c : Likewise.
44153         * iconvdata/gbbig5.c (const): Likewise.
44154         * iconvdata/gbgbk.c: Likewise.
44155         * iconvdata/gbk.c : Likewise.
44156         * iconvdata/ibm1364.c : Likewise.
44157         * iconvdata/ibm930.c : Likewise.
44158         * iconvdata/ibm932.c: Likewise.
44159         * iconvdata/ibm933.c : Likewise.
44160         * iconvdata/ibm935.c : Likewise.
44161         * iconvdata/ibm937.c : Likewise.
44162         * iconvdata/ibm939.c : Likewise.
44163         * iconvdata/ibm943.c: Likewise.
44164         * iconvdata/iso_11548-1.c: Likewise.
44165         * iconvdata/iso-2022-cn.c : Likewise.
44166         * iconvdata/iso-2022-cn-ext.c : Likewise.
44167         * iconvdata/iso-2022-jp-3.c: Likewise.
44168         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
44169         * iconvdata/iso-2022-kr.c : Likewise.
44170         * iconvdata/iso646.c (gconv_end): Likewise.
44171         * iconvdata/iso_6937-2.c : Likewise.
44172         * iconvdata/iso_6937.c : Likewise.
44173         * iconvdata/iso8859-1.c: Likewise.
44174         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
44175         * iconvdata/shift_jisx0213.c : Likewise.
44176         * iconvdata/sjis.c : Likewise.
44177         * iconvdata/t.61.c : Likewise.
44178         * iconvdata/tcvn5712-1.c : Likewise.
44179         * iconvdata/tscii.c: Likewise.
44180         * iconvdata/uhc.c : Likewise.
44181         * iconvdata/unicode.c (gconv_end): Likewise.
44182         * iconvdata/utf-16.c (gconv_end): Likewise.
44183         * iconvdata/utf-32.c (gconv_end): Likewise.
44184         * iconvdata/utf-7.c (base64): Likewise.
44185         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
44186         * iconv/gconv_close.c (__gconv_close): Likewise.
44187         * iconv/gconv_open.c (__gconv_open): Likewise.
44188         * iconv/gconv_simple.c (internal_ucs4_loop_single)
44189         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
44190         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
44191         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
44192         (ucs4le_internal_loop_single): Likewise.
44193         * iconv/iconv.c (iconv): Likewise.
44194         * iconv/iconv_close.c: Likewise.
44195         * iconv/loop.c (SINGLE): Likewise.
44196         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
44197         * include/atomic.h: Likewise.
44198         * inet/inet6_option.c (option_alloc): Likewise.
44199         * intl/bindtextdom.c (set_binding_values): Likewise.
44200         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
44201         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
44202         * intl/localealias.c (read_alias_file): Likewise.
44203         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
44204         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
44205         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
44206         * libio/fmemopen.c (fmemopen): Likewise.
44207         * libio/iofgets.c (_IO_fgets): Likewise.
44208         * libio/iofgets_u.c (fgets_unlocked): Likewise.
44209         * libio/iofgetws.c (fgetws): Likewise.
44210         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
44211         * libio/iogetdelim.c (_IO_getdelim): Likewise.
44212         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
44213         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
44214         * locale/findlocale.c (_nl_find_locale): Likewise.
44215         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
44216         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
44217         Likewise.
44218         * locale/setlocale.c (setlocale): Likewise.
44219         * login/programs/pt_chown.c (main): Likewise.
44220         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
44221         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
44222         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
44223         (mmap, mmap64, mremap, munmap): Likewise.
44224         * math/e_exp2l.c: Likewise.
44225         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
44226         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
44227         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
44228         * math/s_catan.c (__catan): Likewise.
44229         * math/s_catanf.c (__catanf): Likewise.
44230         * math/s_catanh.c (__catanh): Likewise.
44231         * math/s_catanhf.c (__catanhf): Likewise.
44232         * math/s_catanhl.c (__catanhl): Likewise.
44233         * math/s_catanl.c (__catanl): Likewise.
44234         * math/s_ccosh.c (__ccosh): Likewise.
44235         * math/s_ccoshf.c (__ccoshf): Likewise.
44236         * math/s_ccoshl.c (__ccoshl): Likewise.
44237         * math/s_cexp.c (__cexp): Likewise.
44238         * math/s_cexpf.c (__cexpf): Likewise.
44239         * math/s_cexpl.c (__cexpl): Likewise.
44240         * math/s_clog10.c (__clog10): Likewise.
44241         * math/s_clog10f.c (__clog10f): Likewise.
44242         * math/s_clog10l.c (__clog10l): Likewise.
44243         * math/s_clog.c (__clog): Likewise.
44244         * math/s_clogf.c (__clogf): Likewise.
44245         * math/s_clogl.c (__clogl): Likewise.
44246         * math/s_csin.c (__csin): Likewise.
44247         * math/s_csinf.c (__csinf): Likewise.
44248         * math/s_csinh.c (__csinh): Likewise.
44249         * math/s_csinhf.c (__csinhf): Likewise.
44250         * math/s_csinhl.c (__csinhl): Likewise.
44251         * math/s_csinl.c (__csinl): Likewise.
44252         * math/s_csqrt.c (__csqrt): Likewise.
44253         * math/s_csqrtf.c (__csqrtf): Likewise.
44254         * math/s_csqrtl.c (__csqrtl): Likewise.
44255         * math/s_ctan.c (__ctan): Likewise.
44256         * math/s_ctanf.c (__ctanf): Likewise.
44257         * math/s_ctanh.c (__ctanh): Likewise.
44258         * math/s_ctanhf.c (__ctanhf): Likewise.
44259         * math/s_ctanhl.c (__ctanhl): Likewise.
44260         * math/s_ctanl.c (__ctanl): Likewise.
44261         * math/w_pow.c: Likewise.
44262         * math/w_powf.c: Likewise.
44263         * math/w_powl.c: Likewise.
44264         * math/w_scalb.c (sysv_scalb): Likewise.
44265         * math/w_scalbf.c (sysv_scalbf): Likewise.
44266         * math/w_scalbl.c (sysv_scalbl): Likewise.
44267         * misc/error.c (error_tail): Likewise.
44268         * misc/pselect.c (__pselect): Likewise.
44269         * nis/nis_callback.c (__nis_create_callback): Likewise.
44270         * nis/nis_call.c (__nisfind_server): Likewise.
44271         * nis/nis_creategroup.c (nis_creategroup): Likewise.
44272         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
44273         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
44274         * nis/nis_getservlist.c (nis_getservlist): Likewise.
44275         * nis/nis_lookup.c (nis_lookup): Likewise.
44276         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
44277         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
44278         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
44279         * nis/nis_xdr.c (xdr_endpoint): Likewise.
44280         * nis/nss_compat/compat-grp.c (getgrent_next_file)
44281         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
44282         * nis/nss_compat/compat-initgroups.c (add_group)
44283         (internal_getgrent_r): Likewise.
44284         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
44285         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
44286         * nis/nss_compat/compat-spwd.c (getspent_next_file)
44287         (internal_getspnam_r): Likewise.
44288         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
44289         (_nss_nis_getaliasbyname_r): Likewise.
44290         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
44291         (_nss_nis_getntohost_r): Likewise.
44292         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
44293         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
44294         (_nss_nis_getgrgid_r): Likewise.
44295         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
44296         (internal_nis_gethostent_r, internal_gethostbyname2_r)
44297         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
44298         (_nss_nis_gethostbyname4_r): Likewise.
44299         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
44300         (initgroups_netid): Likewise.
44301         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
44302         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
44303         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
44304         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
44305         (_nss_nis_getprotobynumber_r): Likewise.
44306         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
44307         (_nss_nis_getsecretkey): Likewise.
44308         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
44309         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
44310         (_nss_nis_getpwuid_r): Likewise.
44311         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
44312         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
44313         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
44314         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
44315         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
44316         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
44317         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
44318         Likewise.
44319         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
44320         (_nss_nisplus_getntohost_r): Likewise.
44321         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
44322         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
44323         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
44324         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
44325         Likewise.
44326         * nis/nss_nisplus/nisplus-initgroups.c
44327         (_nss_nisplus_initgroups_dyn): Likewise.
44328         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
44329         (_nss_nisplus_getnetbyaddr_r): Likewise.
44330         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
44331         (_nss_nisplus_getprotobynumber_r): Likewise.
44332         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
44333         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
44334         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
44335         Likewise.
44336         * nis/nss_nisplus/nisplus-service.c
44337         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
44338         (_nss_nisplus_getservbyport_r): Likewise.
44339         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
44340         (_nss_nisplus_getspnam_r): Likewise.
44341         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
44342         Likewise.
44343         * nscd/aicache.c (addhstaiX): Likewise.
44344         * nscd/cache.c (cache_search, prune_cache): Likewise.
44345         * nscd/connections.c (register_traced_file, send_ro_fd)
44346         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
44347         (main_loop_epoll): Likewise.
44348         * nscd/grpcache.c (addgrbyX): Likewise.
44349         * nscd/hstcache.c (addhstbyX): Likewise.
44350         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44351         * nscd/mem.c (gc, mempool_alloc): Likewise.
44352         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
44353         (addinnetgrX): Likewise.
44354         * nscd/nscd-client.h (__nscd_acquire_maplock)
44355         (__nscd_drop_map_ref): Likewise.
44356         * nscd/nscd_getai.c (__nscd_getai): Likewise.
44357         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
44358         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
44359         Likewise.
44360         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
44361         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
44362         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
44363         (__nscd_get_map_ref): Likewise.
44364         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
44365         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
44366         Likewise.
44367         * nscd/pwdcache.c (addpwbyX): Likewise.
44368         * nscd/selinux.c (preserve_capabilities): Likewise.
44369         * nscd/servicescache.c (addservbyX): Likewise.
44370         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
44371         * posix/fnmatch.c (fnmatch): Likewise.
44372         * posix/getopt.c (_getopt_internal_r): Likewise.
44373         * posix/glob.c (glob, glob_in_dir): Likewise.
44374         * posix/wordexp.c (exec_comm_child): Likewise.
44375         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
44376         (getanswer_r, gaih_getanswer_slice): Likewise.
44377         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
44378         * resolv/res_init.c: Likewise.
44379         * resolv/res_mkquery.c (res_nmkquery): Likewise.
44380         * resolv/res_query.c (__libc_res_nquery): Likewise.
44381         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
44382         Likewise.
44383         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
44384         * stdio-common/perror.c (perror): Likewise.
44385         * stdio-common/printf_fp.c (___printf_fp): Likewise.
44386         * stdio-common/tmpnam.c (tmpnam): Likewise.
44387         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
44388         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
44389         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
44390         Likewise.
44391         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
44392         * stdlib/putenv.c (putenv): Likewise.
44393         * stdlib/setenv.c (__add_to_environ): Likewise.
44394         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
44395         * stdlib/strtol_l.c (INTERNAL): Likewise.
44396         * string/memmem.c (memmem): Likewise.
44397         * string/strerror.c (strerror): Likewise.
44398         * string/strnlen.c (__strnlen): Likewise.
44399         * string/test-memmem.c (simple_memmem): Likewise.
44400         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
44401         * sunrpc/pm_getport.c (__get_socket): Likewise.
44402         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
44403         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
44404         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
44405         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
44406         Likewise.
44407         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
44408         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
44409         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
44410         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
44411         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
44412         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
44413         Likewise.
44414         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
44415         Likewise.
44416         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
44417         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
44418         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
44419         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
44420         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
44421         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
44422         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
44423         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
44424         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
44425         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
44426         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
44427         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
44428         Likewise.
44429         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
44430         Likewise.
44431         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
44432         Likewise.
44433         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
44434         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44435         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
44436         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
44437         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
44438         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
44439         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
44440         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
44441         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
44442         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
44443         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
44444         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44445         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
44446         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
44447         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44448         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
44449         Likewise.
44450         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
44451         Likewise.
44452         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
44453         Likewise.
44454         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
44455         Likewise.
44456         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
44457         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44458         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
44459         Likewise.
44460         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
44461         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
44462         * sysdeps/posix/opendir.c (__opendirat): Likewise.
44463         * sysdeps/posix/sleep.c: Likewise.
44464         * sysdeps/posix/tempname.c: Likewise.
44465         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
44466         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
44467         Likewise.
44468         * sysdeps/powerpc/powerpc32/dl-machine.h
44469         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
44470         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
44471         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
44472         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
44473         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
44474         Likewise.
44475         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
44476         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
44477         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
44478         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
44479         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
44480         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
44481         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
44482         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
44483         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44484         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
44485         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
44486         (elf_machine_lazy_rel): Likewise.
44487         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
44488         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
44489         (elf_machine_lazy_rel): Likewise.
44490         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
44491         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
44492         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
44493         * sysdeps/unix/grantpt.c (grantpt): Likewise.
44494         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
44495         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
44496         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
44497         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44498         Likewise.
44499         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
44500         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
44501         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
44502         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
44503         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
44504         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
44505         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
44506         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
44507         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
44508         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
44509         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
44510         Likewise.
44511         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
44512         (__posix_fallocate64_l64): Likewise.
44513         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
44514         (posix_fallocate): Likewise.
44515         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
44516         Likewise.
44517         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44518         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
44519         (getifaddrs_internal): Likewise.
44520         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
44521         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
44522         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
44523         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
44524         * sysdeps/unix/sysv/linux/posix_fallocate64.c
44525         (__posix_fallocate64_l64): Likewise.
44526         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
44527         Likewise.
44528         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
44529         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
44530         (__get_clockfreq): Likewise.
44531         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
44532         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
44533         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
44534         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44535         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44536         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
44537         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
44538         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
44539         Likewise.
44540         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
44541         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
44542         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
44543         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
44544         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
44545         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
44546         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
44547         Likewise.
44548         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
44549         (posix_fallocate): Likewise.
44550         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44551         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
44552         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
44553         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
44554         (elf_machine_rela, elf_machine_rela_relative)
44555         (elf_machine_lazy_rel): Likewise.
44556         * time/asctime.c (asctime_internal): Likewise.
44557         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
44558         * time/tzset.c (__tzset_parse_tz): Likewise.
44559         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
44560         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
44561         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
44562         * wcsmbs/wcsmbsload.h: Likewise.
44564         [BZ #15894]
44565         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
44567         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
44568         (arena_get2): Remove THREAD_STATS conditionals.
44569         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
44570         (__malloc_stats, int): Likewise.
44572 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
44574         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
44575         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
44577         * manual/setjmp.texi: Fix typos/grammar errors.
44579         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
44580         Only return early when n is <= 0.  Delete unused return statement.
44582         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
44583         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
44584         * debug/tst-longjmp_chk3.c: New file.
44586         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
44587         (test_main): Replace code with set_fortify_handler call.
44588         * debug/test-strcpy_chk.c: Likewise.
44589         * debug/tst-chk1.c: Likewise.
44590         * debug/tst-longjmp_chk.c: Likewise.
44591         * test-skeleton.c: Include fcntl.h & paths.h
44592         (set_fortify_handler): Define.
44594         * debug/tst-longjmp_chk.c: Add header comment and include
44595         ../test-skeleton.c.
44596         (do_test): Mark static.
44597         (TEST_FUNCTION): Define.
44599         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
44600         (IP_PMTUDISC_INTERFACE): Likewise.
44601         (IP_MULTICAST_IF): Likewise.
44602         (IP_MULTICAST_TTL): Likewise.
44603         (IP_MULTICAST_LOOP): Likewise.
44604         (IP_ADD_MEMBERSHIP): Likewise.
44605         (IP_DROP_MEMBERSHIP): Likewise.
44606         (IP_UNBLOCK_SOURCE): Likewise.
44607         (IP_BLOCK_SOURCE): Likewise.
44608         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
44609         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
44610         (IP_MSFILTER): Likewise.
44611         (MCAST_JOIN_GROUP): Likewise.
44612         (MCAST_BLOCK_SOURCE): Likewise.
44613         (MCAST_UNBLOCK_SOURCE): Likewise.
44614         (MCAST_LEAVE_GROUP): Likewise.
44615         (MCAST_JOIN_SOURCE_GROUP): Likewise.
44616         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
44617         (MCAST_MSFILTER): Likewise.
44618         (IP_MULTICAST_ALL): Likewise.
44619         (IP_UNICAST_IF): Likewise.
44621         * timezone/Makefile: Delete $(have-ksh) check.
44622         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
44623         * timezone/tzselect.ksh: Add +x mode bits.
44625         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
44626         (ANON_INODE_FS_MAGIC): Likewise.
44627         (BDEVFS_MAGIC): Likewise.
44628         (BINFMTFS_MAGIC): Likewise.
44629         (BTRFS_TEST_MAGIC): Likewise.
44630         (CRAMFS_MAGIC_WEND): Likewise.
44631         (DEBUGFS_MAGIC): Likewise.
44632         (ECRYPTFS_SUPER_MAGIC): Likewise.
44633         (EXT3_SUPER_MAGIC): Likewise.
44634         (EXT4_SUPER_MAGIC): Likewise.
44635         (FUTEXFS_SUPER_MAGIC): Likewise.
44636         (HOSTFS_SUPER_MAGIC): Likewise.
44637         (HUGETLBFS_MAGIC): Likewise.
44638         (MINIX3_SUPER_MAGIC): Likewise.
44639         (MTD_INODE_FS_MAGIC): Likewise.
44640         (NILFS_SUPER_MAGIC): Likewise.
44641         (OPENPROM_SUPER_MAGIC): Likewise.
44642         (PIPEFS_MAGIC): Likewise.
44643         (PSTOREFS_MAGIC): Likewise.
44644         (QNX6_SUPER_MAGIC): Likewise.
44645         (RAMFS_MAGIC): Likewise.
44646         (REISERFS_SUPER_MAGIC_STRING): Likewise.
44647         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
44648         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
44649         (SECURITYFS_MAGIC): Likewise.
44650         (SELINUX_MAGIC): Likewise.
44651         (SMACK_MAGIC): Likewise.
44652         (SOCKFS_MAGIC): Likewise.
44653         (SQUASHFS_MAGIC): Likewise.
44654         (STACK_END_MAGIC): Likewise.
44655         (TMPFS_MAGIC): Likewise.
44656         (USBDEVICE_SUPER_MAGIC): Likewise.
44657         (V9FS_MAGIC): Likewise.
44658         (XENFS_SUPER_MAGIC): Likewise.
44659         (CRAMFS_MAGIC): Fix typo in comment.
44660         (EXT2_SUPER_MAGIC): Update comment.
44661         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
44663 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
44665         * sysdeps/arm: Move directory from ports/sysdeps/arm.
44666         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
44667         * sysdeps/unix/sysv/linux/arm: Move directory from
44668         ports/sysdeps/unix/sysv/linux/arm.
44669         * README: Update listing for arm-*-linux-gnueabi.
44671         * README: Remove mention of am33.
44673 2014-02-07  Roland McGrath  <roland@hack.frob.com>
44675         * bits/sigset.h (__sigemptyset): Use a statement expression rather
44676         than the comma operator, to avoid "rhs of comma has no effect"
44677         compiler warnings.
44678         (__sigfillset, __sigandset, __sigorset): Likewise.
44679         * include/signal.h (__sigemptyset): Likewise.
44680         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
44682 2014-02-07  Allan McRae  <allan@archlinux.org>
44684         * version.h (RELEASE): Set to "development".
44685         (VERSION): Set to "2.19.90"
44686         * NEWS: Add 2.20 section.
44688 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
44690         [BZ #16529]
44691         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
44693 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
44695         * manual/contrib.texi: Update entry for Carlos O'Donell,
44696         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
44698 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
44700         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
44702         * sysdeps/unix/sysv/linux/kernel-features.h
44703         [__LINUX_KERNEL_VERSION >= 0x020621]
44704         (__ASSUME_PROC_PID_TASK_COMM): Define.
44706 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44708         [BZ #16398]
44709         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
44710         conversion when destination buffer does not have enough space.
44711         * libio/tst-ftell-partial-wide.c: New test case.
44712         * libio/Makefile (tests): Add tst-ftell-partial-wide.
44714         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
44715         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
44716         Leonard and Allan McRae.
44718 2014-02-04  David S. Miller  <davem@davemloft.net>
44720         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
44721         32-bit.
44723 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
44726         New file
44727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
44728         New file
44729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
44730         New file.
44731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
44732         New file.
44733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
44734         New file.
44735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
44736         New file.
44737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
44738         New file.
44739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
44740         New file.
44741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
44742         New file.
44743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
44744         New file.
44745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
44746         New file.
44747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
44748         New file.
44749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
44750         New file.
44752 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44754         * nptl/shlib-versions: Change powerpc*le start to 2.17.
44755         * shlib-versions: Likewise.
44757 2014-02-04  Roland McGrath  <roland@hack.frob.com>
44758             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44760         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
44761         (abilist-pattern): New variable, set to %-le.abilist.
44763         * Makerules (abilist-pattern): New variable.
44764         (vpath): Use $(abilist-pattern) in place of %.abilist.
44765         (check-abi-% pattern rule): Likewise.
44766         (check-abi, update-abi): Likewise.
44768 2014-02-04  Eric Wong  <normalperson@yhbt.net>
44770         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44772 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
44774         * manual/startup.texi: Add next, previous, and top entries for
44775         the `Program Arguments' and `Environment Variables' nodes.
44777 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
44779         * manual/macros.texi: Add comments before MTASC-safety macros.
44781         * manual/users.texi: Document MTASC-safety properties.
44783         * manual/threads.texi (pthread_key_create, pthread_key_delete)
44784         (pthread_getspecific, pthread_setspecific): Format with
44785         @deftypefun, and add @safety note.
44786         * manual/signal.texi: Move comments that analyze the above
44787         functions to their home place.
44789 2014-02-03  Allan McRae  <allan@archlinux.org>
44791         * po/sl.po: Update Slovenian translation from translation project.
44793 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
44795         * manual/time.texi (timegm): Add missing blank after @c.
44796         Reported by Joseph Myers <joseph@codesourcery.com>.
44798 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
44800         * manual/check-safety.sh: New.
44801         * manual/Makefile ($(objpfx)stamp-summary): Run it.
44803         * manual/terminal.texi: Document MTASC-safety properties.
44805         * manual/filesys.texi: Document MTASC-safety properties.
44807         * manual/errno.texi: Document MTASC-safety properties.
44809         * manual/intro.texi: Document safety identifiers and
44810         conditionals.
44812         * manual/string.texi (wcstok): Fix prototype.
44813         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
44815         * manual/time.texi: Document MTASC-safety properties.
44817         * manual/string.texi: Document MTASC-safety properties.
44819         * manual/threads.texi: Document MTASC-safety properties.
44821         * manual/stdio.texi: Document MTASC-safety properties.
44823         * manual/syslog.texi: Document MTASC-safety properties.
44825         * manual/sysinfo.texi: Document MTASC-safety properties.
44827         * manual/startup.texi: Document MTASC-safety properties.
44829         * manual/socket.texi: Document MTASC-safety properties.
44831         * manual/signal.texi: Document MTASC-safety properties.
44833 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
44835         * manual/setjmp.texi: Document MTASC-safety properties.
44837         * manual/search.texi: Document MTASC-safety properties.
44839         * manual/resource.texi: Document MTASC-safety properties.
44841         * manual/process.texi: Document MTASC-safety properties.
44843         * manual/platform.texi: Document MTASC-safety properties.
44845         * manual/pipe.texi: Document MTASC-safety properties.
44847         * manual/pattern.texi: Document MTASC-safety properties.
44849         * manual/message.texi: Document MTASC-safety properties.
44851         [BZ #12751]
44852         * manual/memory.texi: Document MTASC-safety properties.
44854         * manual/math.texi: Document MTASC-safety properties.
44856         * manual/locale.texi: Document MTASC-safety properties.
44858         * manual/llio.texi: Document MTASC-safety properties.
44860         * manual/libdl.texi: New.
44862         * manual/lang.texi: Document MTASC-safety properties.
44864         * manual/job.texi: Document MTASC-safety properties.
44866         * manual/getopt.texi: Document MTASC-safety properties.
44868         * manual/ctype.texi: Document MTASC-safety properties.
44870 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
44872         [BZ #16046]
44873         * csu/libc-tls.c (static_map): Remove variable.
44874         (__libc_setup_tls): Use main executable's link map for TLS data.
44875         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
44876         casing for LM_ID_BASE and GL(dl_nns).
44877         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
44878         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
44879         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
44880         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
44881         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
44882         member.
44883         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
44884         l_phnum members.
44886 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
44888         * manual/debug.texi: Document MTASC-safety properties.
44890 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
44892         [BZ #16510]
44893         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
44894         of __x86_64__ when disabling x87 inline functions.
44896 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
44898         * manual/charset.texi: Document MTASC-safety properties.
44900         * manual/crypt.texi: Document MTASC-safety properties.
44902         * manual/conf.texi: Document MTASC-safety properties.
44904         * manual/arith.texi: Document MTASC-safety properties.
44906         * manual/argp.texi: Document MTASC-safety properties.
44908         * manual/macros.texi: Introduce macros to document multi
44909         thread, asynchronous signal and asynchronous cancellation
44910         safety properties.
44911         * manual/intro.texi: Introduce the properties themselves.
44913 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44915         * sysdeps/sh/sh4/Makefile: New file.
44917 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
44919         * math/gen-libm-test.pl ($srcdir): New variable.
44920         ($auto_input): Use it.
44922 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
44924         [BZ #16506]
44925         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
44926         access beyond array bounds when parsing netgroups file.
44928         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
44929         the old buffer before realloc.
44931 2014-01-27  Allan McRae  <allan@archlinux.org>
44933         * po/fr.po: Update French translation from translation project.
44935 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44937         * sysdeps/sh/libm-test-ulps: Regenerate.
44939 2014-01-24  David S. Miller  <davem@davemloft.net>
44941         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
44943 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44945         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
44946         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
44948 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
44950         [BZ #16474]
44951         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
44952         string pointers after reallocation.
44954 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44956         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
44957         __SH4A__ instead of __SH_FPU_ANY__.
44959 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44961         * sysdeps/sh/fpu_control.h: New file.
44962         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
44963         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
44964         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
44965         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
44966         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
44967         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
44968         * sysdeps/sh/sys/ucontext.h: Remove.
44969         * sysdeps/sh/sys: Remove directory.
44971 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44973         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
44974         s390/sys/ucontext.h.
44975         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
44976         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
44978 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
44980         [BZ #15605]
44981         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
44983 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44985         [BZ#16431]
44986         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
44987         Adjust the vDSO correctly for internal calls.
44988         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
44990 2014-01-20  Allan McRae  <allan@archlinux.org>
44992         * po/ca.po: Update Catalan translation from translation project.
44994 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
44996         * sysdeps/s390/sotruss-lib.c: New file.
44998 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45000         [BZ#16430]
45001         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
45002         (__GI___gettimeofday): Alias for a different internal symbol to avoid
45003         local calls issues by not having a PLT stub required for IFUNC calls.
45004         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
45006 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
45008         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
45009         * math/test-fpucw-static.c: Likewise.
45011 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
45013         [BZ #16453]
45014         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
45016 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45018         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
45019         implementation for powerpc.
45021 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
45023         [BZ #14782]
45024         * sysdeps/posix/system.c (__libc_system): Do not enable
45025         asynchronous cancellation.
45027 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45029         [BZ #16427]
45030         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
45031         handling only for numbers special also in the IEEE case.
45033 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45035         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
45037 2014-01-11  Allan McRae  <allan@archlinux.org>
45039         * po/bg.po: Update Bulgarian translation from translation project.
45041         * po/de.po: Update German translation from translation project.
45043 2014-01-10  Roland McGrath  <roland@hack.frob.com>
45045         * sysdeps/generic/gcc-compat.h: New file.
45047 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45049         * benchtests/asin-inputs: Correct slow inputs.
45050         * benchtests/acos-inputs: Likewise.
45052 2014-01-10  Allan McRae  <allan@archlinux.org>
45054         * po:sv.po: Update Swedish translation from translation project.
45056         * po/vi.po: Update Vietnamese translation from translation project.
45058         * po/eo.po: Update Esperanto translation from translation project.
45060         * po/cs.po: Update Czech translation from translation project.
45062         * po/nl.po: Update Dutch translation from translation project.
45064         * po/pl.po: Update Polish translation from translation project.
45066         * po/ru.po: Update Russian translation from translation project.
45068         * po/uk.po: Update Ukrainian translation from translation project.
45070 2014-01-08  Brooks Moses  <bmoses@google.com>
45072         * elf/dl-load.c: Fix comment typo.
45074 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
45076         * po/header.pot: Rename to...
45077         * po/pot.header: ... this.
45078         * po/Makefile: Use pot.header.
45080 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
45081             Maxim Kuvyrkov  <maxim@kugelworks.com>
45083         [BZ #16394]
45084         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
45085         SRC and DEST against LEN.
45087 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45089         [BZ #16414]
45090         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
45091         implementation.
45092         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
45094 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45096         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45098 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
45100         [BZ #16408]
45101         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
45102         for large positive arguments.
45104 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
45106         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
45108         * math/auto-libm-test-in: Mark various tests with
45109         xfail-rounding:ldbl-128ibm.
45110         * math/auto-libm-test-out: Regenerated.
45112         [BZ #16407]
45113         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
45114         Increase overflow threshold.
45116 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
45118         [BZ #14286]
45119         * stdio-common/vfprintf.c: Check for integer overflow.
45121 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45123         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
45124         the first argument and return value of __tls_get_addr_internal.
45126 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45128         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
45129         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
45131 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45133         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
45134         * sysdeps/s390/rtld-global-offsets.sym: New file.
45135         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
45136         GLIBC_2.19 symbol.
45137         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
45138         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
45139         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
45140         ... this.
45141         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
45142         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
45143         ... this.
45144         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
45145         Regenerate.
45146         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
45147         Regenerate.
45148         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
45149         halfs of GPRs for high_gprs contexts.
45150         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
45151         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
45152         field.
45153         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
45154         uc_flags field.
45155         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
45156         64 bit versions:
45157         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
45158         for high GPRs (uc_high_gprs) and for future extensions
45159         (__reserved).
45160         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
45161         for future extensions (__reserved).
45162         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
45163         64 bit versions:
45164         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
45165         SC_HIGHGPRS offset definition.
45166         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
45167         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
45169         * Versions.def: Add GLIBC_2.19 for libpthread.
45170         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
45171         siglongjmp for libpthread with GLIBC_2.19 symver.
45172         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
45173         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
45174         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
45175         * sysdeps/s390/__longjmp.c: New file.
45176         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
45177         * sysdeps/s390/longjmp.c: New file.
45178         * sysdeps/s390/setjmp.S: New file.
45179         * sysdeps/s390/sigjmp.S: New file.
45180         * sysdeps/s390/v1-longjmp.c: New file.
45181         * sysdeps/s390/v1-setjmp.h: New file.
45182         * sysdeps/s390/v1-sigjmp.c: New file.
45183         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
45184         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
45185         GLIBC_2.19 version.
45186         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
45187         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
45188         versioned symbols for ____longjmp_chk.
45189         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
45190         Likewise.
45191         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
45192         Regenerate.
45193         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45194         Regenerate.
45195         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
45196         Regenerate.
45197         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45198         Regenerate.
45199         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
45200         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
45201         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
45202         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
45203         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
45204         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
45205         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
45206         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
45207         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
45208         * sysdeps/s390/rtld-__longjmp.c: New file.
45209         * sysdeps/s390/rtld-setjmp.S: New file.
45211 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
45213         [BZ #16400]
45214         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
45215         Return -__logl (x) for small positive arguments without evaluating
45216         a polynomial.
45218 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
45220         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
45221         Rename to ...
45222         (__ptrace_peeksiginfo_args): ... this.
45223         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45224         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45225         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45227 2014-01-06  Allan McRae  <allan@archlinux.org>
45229         * inet/netinet/in.h: Fix typo in comment.
45231 2014-01-05  Andreas Jaeger  <aj@suse.de>
45233         * sysdeps/i386/fpu/libm-test-ulps: Update.
45235 2014-01-05  Allan McRae  <allan@archlinux.org>
45237         * po/libc.pot: Regenerated.
45239         * malloc/memusagestat.c: Fix gettext call formatting.
45241 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
45243         * nscd/nscd.c: Improve usage() output.
45245 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
45247         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
45248         * sysdeps/unix/sysv/linux/configure: Regenerated.
45249         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
45250         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
45252 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
45254         [BZ #16390]
45255         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
45256         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
45258 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45260         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
45261         extra tokens at end of #undef directive.
45262         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
45263         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
45264         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
45266 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
45268         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
45270         * math/auto-libm-test-in: Mark various tests with
45271         xfail-rounding:ldbl-128ibm.
45272         * math/auto-libm-test-out: Regenerated.
45274 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
45276         [BZ #16386]
45277         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
45278         numbers with subnormal high part when calculating exponent.
45280         [BZ #16385]
45281         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
45282         fabs.
45284         [BZ #16384]
45285         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
45286         M_LN2l.
45287         (__ieee754_acoshl): Use __log1pl not __log1p.
45289 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
45291         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
45292         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
45293         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
45294         (grow_heap, heap_trim, _int_new_arena, get_free_list)
45295         (reused_arena, arena_get2): Convert to GNU style.
45296         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
45297         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
45298         (memalign_check, __malloc_set_state): Likewise.
45299         * malloc/mallocbug.c (main): Likewise.
45300         * malloc/malloc.c (__malloc_assert, malloc_init_state)
45301         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
45302         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
45303         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
45304         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
45305         (__posix_memalign, malloc_info): Likewise.
45306         * malloc/malloc.h: Likewise.
45307         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
45308         (mallochook, memalignhook, reallochook, mabort): Likewise.
45309         * malloc/mcheck.h: Likewise.
45310         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
45311         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
45312         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
45313         * malloc/morecore.c (__default_morecore): Likewise.
45314         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
45315         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
45316         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
45317         (print_and_abort): Likewise.
45318         * malloc/obstack.h: Likewise.
45319         * malloc/set-freeres.c (__libc_freeres): Likewise.
45320         * malloc/tst-mallocstate.c (main): Likewise.
45321         * malloc/tst-mtrace.c (main): Likewise.
45322         * malloc/tst-realloc.c (do_test): Likewise.
45324 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45326         [BZ #16366]
45327         * nscd/netgroupcache.c (do_notfound): New function.
45328         (addgetnetgrentX): Use it.
45330         [BZ # 16365]
45331         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
45332         NSS_STATUS_NOTFOUND.
45334 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
45336         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
45337         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45339 2014-01-01  Allan McRae  <allan@archlinux.org>
45341         * scripts/update-copyrights: Update configure input file suffix.
45343         * NEWS: Update copyright year.
45344         * catgets/gencat.c: Likewise.
45345         * csu/version.c: Likewise.
45346         * debug/catchsegv.sh: Likewise.
45347         * debug/pcprofiledump.c: Likewise.
45348         * debug/xtrace.sh: Likewise.
45349         * elf/ldconfig.c: Likewise.
45350         * elf/ldd.bash.in: Likewise.
45351         * elf/pldd.c: Likewise.
45352         * elf/sotruss.ksh: Likewise.
45353         * elf/sprof.c: Likewise.
45354         * iconv/iconv_prog.c: Likewise.
45355         * iconv/iconvconfig.c: Likewise.
45356         * locale/programs/locale.c: Likewise.
45357         * locale/programs/localedef.c: Likewise.
45358         * login/programs/pt_chown.c: Likewise.
45359         * malloc/memusage.sh: Likewise.
45360         * malloc/memusagestat.c: Likewise.
45361         * malloc/mtrace.pl: Likewise.
45362         * manual/libc.texinfo: Likewise.
45363         * nscd/nscd.c: Likewise.
45364         * nss/getent.c: Likewise.
45365         * nss/makedb.c: Likewise.
45366         * posix/getconf.c: Likewise.
45367         * scripts/test-installation.pl: Likewise.
45369         * All files with FSF copyright notices: Update copyright dates
45370         using scripts/update-copyrights.
45371         * intl/plural.c: Regenerated.
45372         * locale/programs/charmap-kw.h: Likewise.
45373         * locale/programs/locfile-kw.h: Likewise.
45375 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
45377         * sysdeps/unix/sysv/linux/configure: Regenerated.
45378         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
45379         the linux/fanotify.h header.
45380         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
45381         HAVE_LINUX_FANOTIFY_H is defined.
45383 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
45385         * benchtests/cos-inputs: New inputs.
45386         * benchtests/sin-inputs: Likewise.
45388         * benchtests/atan-inputs: New inputs. Fix name of multiple
45389         precision fallback inputs.
45391         * benchtests/atanh-inputs: New inputs.
45392         * benchtests/tanh-inputs: Likewise.
45394         * benchtests/acosh-inputs: New inputs.
45395         * benchtests/asinh-inputs: Likewise.
45397         * benchtests/cosh-inputs: New inputs.
45398         * benchtests/sinh-inputs: Likewise.
45400         * benchtests/acos-inputs: Add more inputs.
45401         * benchtests/asin-inputs: Likewise.
45403 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
45405         [BZ #16375]
45406         * manual/arith.texi: Fix spelling.
45407         * manual/charset.texi: Likewise.
45408         * manual/errno.texi: Likewise.
45409         * manual/filesys.texi: Likewise.
45410         * manual/lang.texi: Likewise.
45411         * manual/llio.texi: Likewise.
45412         * manual/locale.texi: Likewise.
45413         * manual/message.texi: Likewise.
45414         * manual/resource.texi: Likewise.
45415         * manual/search.texi: Likewise.
45416         * manual/setjmp.texi: Likewise.
45417         * manual/stdio.texi: Likewise.
45418         * manual/string.texi: Likewise.
45419         * manual/sysinfo.texi: Likewise.
45420         * manual/time.texi: Likewise.
45422 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
45424         * po/sl.po: New file.
45426 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
45428         * .gitignore: Add core/.gdbinit/.gdb_history.
45430 2013-12-27  Allan McRae  <allan@archlinux.org>
45432         [BZ #16369]
45433         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
45434         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
45436 2013-12-24  Brooks Moses  <bmoses@google.com>
45438         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
45439         all compilers that claim C++98 compliance, not just GCC.
45440         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
45441         Likewise.
45443 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
45445         * NEWS: Restore accidentally deleted bug-fix entries.
45447 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
45448             Ondřej Bílka  <neleai@seznam.cz>
45450         [BZ #15073]
45451         * malloc/malloc.c (_int_free): Perform sanity check only if we
45452         have_lock.
45454 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
45456         [BZ #12986]
45457         * manual/stdio.texi (String Input Conversions): Clarify that character
45458         classes are not supported.
45460 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45462         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45464 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
45466         [BZ #16337]
45467         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
45468         Calculate results for small negative arguments directly rather
45469         than using reflection formula with special underflow handling.
45471         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
45472         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
45473         sysdeps/unix/bsd/bsd4.4/syscalls.list.
45474         (fchflags): Likewise.
45475         (revoke): Likewise.
45476         (setlogin): Likewise.
45477         (sigaltstack): Likewise.
45478         (wait4): Likewise.
45479         (sigblock): Remove.
45480         (sigsetmask): Likewise.
45481         (wait3): Likewise.
45482         (waitpid): Likewise.
45483         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
45484         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
45485         file.
45486         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
45487         * sysdeps/unix/bsd/Makefile: ... here.
45488         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
45489         * sysdeps/unix/bsd/Versions: ... here.
45490         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
45491         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
45492         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
45493         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
45494         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
45495         * sysdeps/unix/bsd/sigblock.c: ... here.
45496         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
45497         * sysdeps/unix/bsd/sigsetmask.c: ... here.
45498         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
45499         * sysdeps/unix/bsd/sigvec.c: ... here.
45500         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
45501         * sysdeps/unix/bsd/tcdrain.c: ... here.
45502         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
45503         * sysdeps/unix/bsd/tcgetattr.c: ... here.
45504         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
45505         * sysdeps/unix/bsd/tcsetattr.c: ... here.
45506         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
45507         * sysdeps/unix/bsd/wait.c: ... here.
45508         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
45509         * sysdeps/unix/bsd/wait3.c: ... here.
45510         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
45511         * sysdeps/unix/bsd/waitpid.c: ... here.
45513 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
45515         [BZ #16356]
45516         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
45517         round-to-nearest for [!USE_AS_EXPM1L].
45518         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
45519         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
45520         more tests of exp and exp10.  Expect some exp10 tests to miss
45521         exceptions or fail in directed rounding modes.
45522         * math/auto-libm-test-out: Regenerated.
45523         * math/libm-test.inc (exp10_tonearest_test_data): New array.
45524         (exp10_test_tonearest): New function.
45525         (exp10_towardzero_test_data): New array.
45526         (exp10_test_towardzero): New function.
45527         (exp10_downward_test_data): New array.
45528         (exp10_test_downward): New function.
45529         (exp10_upward_test_data): New array.
45530         (exp10_test_upward): New function.
45531         (main): Call the new functions.
45532         * sysdeps/i386/fpu/libm-test-ulps: Update.
45533         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45535 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
45537         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
45538         asinh, atan, atan2, atanh, cbrt, cos and cosh.
45539         * math/auto-libm-test-out: Regenerated.
45540         * math/libm-test.inc (acosh_test_data): Add more tests.
45541         (atanh_test_data): Likewise.
45542         (ceil_test_data): Likewise.
45543         (copysign_test_data): Likewise.
45544         * sysdeps/i386/fpu/libm-test-ulps: Update.
45545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45547         * timezone/checktab.awk: Update from tzcode 2013i.
45548         * timezone/private.h: Likewise.
45549         * timezone/scheck.c: Likewise.
45550         * timezone/tzfile.h: Likewise.
45551         * timezone/tzselect.ksh: Likewise.
45552         * timezone/zdump.c: Likewise.
45553         * timezone/zic.c: Likewise.
45555         * math/auto-libm-test-in: Add tests of cpow.
45556         * math/auto-libm-test-out: Regenerated.
45557         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
45558         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45559         mpc_cc_c.
45560         (func_calc_desc): Add mpc_cc_c union field.
45561         (test_functions): Add cpow.
45562         (special_fill_2pi): New function.
45563         (special_real_inputs): Add 2pi.
45564         (calc_generic_results): Handle mpc_cc_c.
45565         * sysdeps/i386/fpu/libm-test-ulps: Update.
45566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45568         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
45569         csqrt, ctan and ctanh.
45570         * math/auto-libm-test-out: Regenerated.
45571         * math/libm-test.inc (TEST_COND_x86_64): New macro.
45572         (TEST_COND_x86): Likewise.
45573         (ccos_test_data): Use AUTO_TESTS_c_c.
45574         (ccosh_test_data): Likewise.
45575         (cexp_test_data): Likewise.
45576         (clog_test_data): Likewise.
45577         (csqrt_test_data): Likewise.
45578         (ctan_test_data): Likewise.
45579         (ctan_tonearest_test_data): Likewise.
45580         (ctan_towardzero_test_data): Likewise.
45581         (ctan_downward_test_data): Likewise.
45582         (ctan_upward_test_data): Likewise.
45583         (ctanh_test_data): Likewise.
45584         (ctanh_tonearest_test_data): Likewise.
45585         (ctanh_towardzero_test_data): Likewise.
45586         (ctanh_downward_test_data): Likewise.
45587         (ctanh_upward_test_data): Likewise.
45588         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45589         mpc_c_c.
45590         (func_calc_desc): Add mpc_c_c union field.
45591         (FUNC_mpc_c_c): New macro.
45592         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
45593         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
45594         ctanh.
45595         (special_fill_min_subnorm_p120): New function.
45596         (special_real_inputs): Add min_subnorm_p120.
45597         (calc_generic_results): Handle mpc_c_c.
45598         * sysdeps/i386/fpu/libm-test-ulps: Update.
45599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45601 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
45603         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
45604         (do_sin_slow): New functions.
45605         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
45606         (cslow2, csloww1, csloww2): Use the new functions.
45608         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
45609         Use M to change sign of result instead of X.  Assume X is
45610         positive.
45611         (csloww1): Likewise.
45612         (__sin): Adjust.
45613         (__cos): Adjust.
45615         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
45616         arguments A and DA.
45617         (__sin): Adjust.
45618         (__cos): Likewise.
45620         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
45621         (__cos): Likewise.
45622         (sloww1): Don't adjust sign of DX.
45623         (csloww1): Likewise.
45624         (sloww2): Use X directly and don't adjust sign of DX.
45625         (csloww2): Likewise.
45627 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
45629         * math/auto-libm-test-in: Add tests of cabs and carg.
45630         * math/auto-libm-test-out: Regenerated.
45631         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
45632         (carg_test_data): Likewise.
45633         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45634         mpc_c_f.
45635         (func_calc_desc): Add mpc_c_f union field.
45636         (test_functions): Add cabs and carg.
45637         (calc_generic_results): Handle mpc_c_f.
45639         * sysdeps/powerpc/powerpc32/libgcc-compat.S
45640         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
45641         as a macro and a compat symbol.
45642         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
45643         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
45644         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
45645         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
45646         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
45647         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
45648         not use .hidden.
45649         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
45650         Likewise.
45651         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
45652         Likewise.
45653         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
45654         Likewise.
45655         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
45656         Likewise.
45657         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
45658         Likewise.
45659         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
45660         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
45661         from GLIBC_2.3.2.
45663 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45665         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45667 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
45669         * manual/texinfo.tex: Update to version 2013-11-26.10 with
45670         trailing whitespace removed.
45671         * scripts/config.guess: Update to version 2013-11-29.
45672         * scripts/config.sub: Update to version 2013-10-01.
45674         * math/auto-libm-test-in: Add tests of sincos.
45675         * math/auto-libm-test-out: Regenerated.
45676         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
45677         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45678         mpfr_f_11.
45679         (func_calc_desc): Add mpfr_f_11 union field.
45680         (test_functions): Add sincos.
45681         (calc_generic_results): Handle mpfr_f_11.
45682         * sysdeps/i386/fpu/libm-test-ulps: Update.
45683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45685 2013-12-19  Andreas Schwab  <schwab@suse.de>
45687         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
45688         CALL_MCOUNT.
45689         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
45690         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
45691         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
45693 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
45695         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
45696         * sysdeps/i386/fpu/libm-test-ulps: Update.
45697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45699         [BZ #16293]
45700         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
45701         round-to-nearest mode when using frndint.
45702         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
45703         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
45704         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
45705         Likewise.
45706         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
45707         sinh test to fail.
45708         * math/auto-libm-test-out: Regenerated.
45709         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
45710         (TEST_COND_x86): Likewise.
45711         (expm1_tonearest_test_data): New array.
45712         (expm1_test_tonearest): New function.
45713         (expm1_towardzero_test_data): New array.
45714         (expm1_test_towardzero): New function.
45715         (expm1_downward_test_data): New array.
45716         (expm1_test_downward): New function.
45717         (expm1_upward_test_data): New array.
45718         (expm1_test_upward): New function.
45719         (main): Run the new test functions.
45720         * sysdeps/i386/fpu/libm-test-ulps: Update.
45721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45723         * include/features.h: Update comment documenting feature test
45724         macros.  Mention _DEFAULT_SOURCE in comment.
45725         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
45726         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
45727         _BSD_SOURCE and _SVID_SOURCE.
45728         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
45729         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
45730         !_SVID_SOURCE]: Likewise.
45731         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
45732         (__USE_POSIX_IMPLICITLY): Define.
45733         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
45734         (_POSIX_SOURCE): Undefine and redefine.
45735         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
45736         (_POSIX_C_SOURCE): Likewise.
45737         * manual/creature.texi (_DEFAULT_SOURCE): Document.
45738         (Feature Test Macros): Update documentation of default features.
45740 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
45742         * benchtests/Makefile: Add bench-strtok.
45743         * benchtests/bench-strtok.c: New file: strtok benchtest.
45745 2013-12-19  Allan McRae  <allan@archlinux.org>
45747         * manual/install.texi: Suppress menu for plain text output.
45748         * INSTALL: Regenerated.
45750 2013-12-18  Brooks Moses  <bmoses@google.com>
45752         [BZ #15846]
45753         * misc/getauxval.c: Include errno.h.
45754         (__getauxval): Set errno to ENOENT if the requested type is not
45755         found.
45756         * misc/sys/auxv.h (getauxval): Document that it may set errno;
45757         don't declare with __attribute_const__.
45758         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
45759         * manual/startup.texi: Document that getauxval sets errno.
45761 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
45763         * math/auto-libm-test-in: Add tests of jn and yn.
45764         * math/auto-libm-test-out: Regenerated.
45765         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
45766         (yn_test_data): Likewise.
45767         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45768         mpfr_if_f.
45769         (func_calc_desc): Add mpfr_if_f union field.
45770         (FUNC_mpfr_if_f): New macro.
45771         (test_functions): Add jn and yn.
45772         (calc_generic_results): Assert type of second input for
45773         mpfr_ff_f.  Handle mpfr_if_f.
45774         (output_for_one_input_case): Disable all checking for arguments
45775         fitting floating-point types in case of an integer argument.
45776         * sysdeps/i386/fpu/libm-test-ulps: Update.
45777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
45780         Don't expect fegetround reference in libm.so.
45782 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45784         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
45785         $(config-cflags-nofma).
45787 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
45789         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
45790         * math/auto-libm-test-out: Regenerated.
45792         [BZ #16338]
45793         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
45794         to determine exponent and adjust argument to have exponent of -1.
45795         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
45796         log2.
45797         * math/auto-libm-test-out: Regenerated.
45798         * sysdeps/i386/fpu/libm-test-ulps: Update.
45799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45801 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
45803         * manual/probes.texi: Remove cases when per-thread arenas are
45804         disabled.
45806 2013-12-18  Andreas Schwab  <schwab@suse.de>
45808         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
45809         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
45810         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
45811         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
45812         * sysdeps/i386/i686/multiarch/Makefile: Update.
45813         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
45815 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
45817         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
45818         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
45820 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
45822         [BZ #15968]
45823         Support TZ transition times < 00:00:00.
45824         This is needed for version-3 tz-format files; it supports time
45825         stamps past 2037 for America/Godthab (the only entry in the tz
45826         database for which this change is relevant).
45827         * manual/time.texi (TZ Variable): Document transition times
45828         from -167:59:59 through -00:00:01.
45829         * time/tzset.c (tz_rule): Time of day is now signed.
45830         (__tzset_parse_tz): Parse negative time of day.
45832         Document TZ transition times >= 25:00:00.
45833         * manual/time.texi (TZ Variable): Document transition times from
45834         25:00:00 through 167:59:59.  These are already supported, and this
45835         support will help with version-3 tz-format files.
45837         * manual/time.texi (TZ Variable): Modernize North America example
45838         to reflect current (i.e., 2007-and-later) daylight saving rules.
45840         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
45842 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
45844         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
45845         * sysdeps/unix/bsd/bits/stat.h: Likewise.
45846         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
45847         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
45848         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
45849         * sysdeps/unix/bsd/bsdstat.h: Likewise.
45850         * sysdeps/unix/bsd/clock.c: Likewise.
45851         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
45852         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
45853         * sysdeps/unix/bsd/init-posix.c: Likewise.
45854         * sysdeps/unix/bsd/poll.c: Likewise.
45855         * sysdeps/unix/bsd/ptsname.c: Likewise.
45856         * sysdeps/unix/bsd/seekdir.c: Likewise.
45857         * sysdeps/unix/bsd/setegid.c: Likewise.
45858         * sysdeps/unix/bsd/seteuid.c: Likewise.
45859         * sysdeps/unix/bsd/setgid.c: Likewise.
45860         * sysdeps/unix/bsd/setrgid.c: Likewise.
45861         * sysdeps/unix/bsd/setruid.c: Likewise.
45862         * sysdeps/unix/bsd/setsid.c: Likewise.
45863         * sysdeps/unix/bsd/setuid.c: Likewise.
45864         * sysdeps/unix/bsd/sigaction.c: Likewise.
45865         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
45866         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
45867         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
45868         * sysdeps/unix/bsd/telldir.c: Likewise.
45869         * sysdeps/unix/bsd/times.c: Likewise.
45870         * sysdeps/unix/bsd/usleep.c: Likewise.
45872         * misc/Makefile (install-lib): Remove libbsd-compat.a.
45873         ($(objpfx)libbsd-compat.a): Remove rule.
45875         * include/features.h (__FAVOR_BSD): Do not define.
45876         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
45877         features conflicting with POSIX.
45878         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
45879         (_BSD_SOURCE): Remove description of not being a subset of other
45880         feature test macros.
45881         * manual/job.texi (getpgrp): Do not document BSD version.
45882         (getpgid): Do not document by reference to BSD getpgrp.
45883         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
45884         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
45885         * signal/signal.h [__FAVOR_BSD]: Likewise.
45886         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
45887         instead of making contents conditional on [__FAVOR_BSD].
45888         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
45890 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45892         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45894 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
45896         [BZ #16314]
45897         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
45898         values below 2**-450, not 2**-500.
45899         * math/auto-libm-test-in: Don't allow spurious underflow from
45900         hypot.
45901         * math/auto-libm-test-out: Regenerated.
45903         [BZ #16316]
45904         [BZ #16330]
45905         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
45906         values of ha and hb and sort them after adjusting subnormal
45907         arguments.
45908         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
45909         Likewise.
45910         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
45911         values of ea and eb and sort them after adjusting subnormal
45912         arguments.
45913         * math/auto-libm-test-in: Do not expect some hypot tests of
45914         subnormals to fail.  Add more hypot tests.
45915         * math/auto-libm-test-out: Regenerated.
45917 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45919         [BZ #13304]
45920         * sysdeps/sh/s_fma.c: New file.
45921         * sysdeps/sh/s_fmaf.c: New file.
45922         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
45923         version.
45924         * sysdeps/sh/Implies: Add sh/soft-fp.
45926 2013-12-16  Roland McGrath  <roland@hack.frob.com>
45928         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
45929         level of indirection to members `objname', `errstring', `malloced'.
45930         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
45931         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
45932         it as the __longjmp argument (just pass 1 instead).
45933         (_dl_catch_error): Initialize C with argument pointers and address of
45934         volatile local ERRCODE rather than copying values out of C at return.
45936 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
45938         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
45939         * math/auto-libm-test-out: Regenerated.
45940         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
45941         (hypot_test_data): Likewise.
45942         (pow_test_data): Likewise.
45943         (pow_tonearest_test_data): Likewise.
45944         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45945         mpfr_ff_f.
45946         (func_calc_desc): Add mpfr_ff_f union field.
45947         (FUNC_mpfr_ff_f): New macro.
45948         (test_functions): Add atan2, hypot and pow.
45949         (special_fill_min): New function.
45950         (special_fill_minus_min): Likewise.
45951         (special_fill_min_subnorm): Likewise.
45952         (special_fill_minus_min_subnorm): Likewise.
45953         (special_real_inputs): Add min, -min, min_subnorm and
45954         -min_subnorm.
45955         (calc_generic_results): Handle mpfr_ff_f.
45956         * sysdeps/i386/fpu/libm-test-ulps: Update.
45957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45959 2013-12-16  Will Newton  <will.newton@linaro.org>
45961         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
45962         (Aligned Memory Blocks): Add documentation for aligned_alloc
45963         and suggest it as an alternative to posix_memalign.
45964         (Hooks for Malloc): Document __memalign_hook is also called
45965         for aligned_alloc.  (Summary of Malloc): Add summary for
45966         aligned alloc.  Document __memalign_hook is also called
45967         for aligned_alloc.
45969 2013-12-16  Will Newton  <will.newton@linaro.org>
45971         * manual/memory.texi (Malloc Examples): Clarify default
45972         alignment documentation.  Suggest posix_memalign rather
45973         than memalign or valloc.
45974         (Aligned Memory Blocks): Remove suggestion to use memalign
45975         or valloc.  Remove obsolete comment about BSD.
45976         Document memalign errno values and mark the function obsolete.
45977         Document posix_memalign returned error codes.  Mark valloc
45978         as obsolete.  (Hooks for Malloc): __memalign_hook is also
45979         called for posix_memalign and valloc.
45980         (Summary of Malloc): Add posix_memalign to function summary.
45981         __memalign_hook is also called for posix_memalign and valloc.
45983 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
45985         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
45986         TAYLOR_SIN.
45987         (__sin): Adjust.
45988         (__cos): Likewise.
45989         (sloww): Use mynumber union.  Expand ternary operator into
45990         if-else statements.
45991         (cslow): use mynumber union.
45993 2013-12-16  Allan McRae  <allan@archlinux.org>
45995         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
45996         * configure: Regenerated.
45998         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
46000         [BZ #14120]
46001         * configure.ac: Added --enable-maintainer-mode. Check for
46002         autoconf when enabled.
46003         * configure: Regenerated.
46005         * nscd/nscd.service: New file.
46006         * nscd/nscd.tmpfiles: New file.
46008 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
46010         [BZ #12100]
46011         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
46012         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
46013         * sysdeps/x86_64/multiarch/strstr.c: ... here.
46014         (strstr): Add __strstr_sse2_unaligned ifunc.
46015         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
46016         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
46017         (strcasestr): Remove __strcasestr_sse42 ifunc.
46018         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
46019         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
46020         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
46022 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46024         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
46025         * sysdeps/sh/bits/fenv.h: ... here.
46026         * sysdeps/sh/sh4/fpu/bits: Remove directory.
46028 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46030         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
46032         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
46033         hypotf multiarch implementations.
46034         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
46035         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
46036         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
46037         multiarch hypot for PPC64.
46038         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
46039         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
46040         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
46041         multiarch hypotf for PPC64.
46043         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
46044         modff multiarch implementations.
46045         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
46046         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
46047         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
46048         multiarch modf for PPC64.
46049         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
46050         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
46051         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
46052         multiarch modff for PPC64.
46054         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
46055         and logl multiarch implementations.
46056         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
46057         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
46058         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
46059         multiarch logb for PPC64.
46060         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
46061         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
46062         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
46063         multiarch logb for PPC64.
46064         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
46065         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
46066         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
46067         multiarch logb for PPC64.
46069         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
46070         isinff multiarch implementation.
46071         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
46072         file.
46073         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
46074         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
46075         multiarch isinf for PPC64.
46076         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
46077         file.
46078         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
46079         multiarch isinff for PPC64.
46081         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
46082         finitef multiarch implementation.
46083         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
46084         file.
46085         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
46086         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
46087         multiarch finite for PPC64.
46088         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
46089         file.
46090         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
46091         multiarch finitef for PPC64.
46093         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
46094         lrint multiarch implementation.
46095         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
46096         file.
46097         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
46098         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
46099         multiarch llrint for PPC64.
46100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
46101         multiarch lrint for PPC64.
46103         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
46104         copysignf multiarch implementation.
46105         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
46106         file.
46107         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
46108         file.
46109         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
46110         multiarch copysign for PPC64.
46111         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
46112         multiarch copysignf for PPC64.
46114         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
46115         multiarch implementation.
46116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
46117         file.
46118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
46119         file.
46120         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
46121         file.
46122         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
46123         file.
46124         multiarch llround for PPC64.
46125         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
46126         multiarch trunc for PPC64.
46127         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
46128         multiarch truncf for PPC64.
46130         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
46131         multiarch implementation.
46132         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
46133         file.
46134         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
46135         file.
46136         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
46137         file.
46138         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
46139         file.
46140         multiarch llround for PPC64.
46141         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
46142         multiarch round for PPC64.
46143         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
46144         multiarch roundf for PPC64.
46146         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
46147         multiarch implementation.
46148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
46149         file.
46150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
46151         file.
46152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
46153         file.
46154         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
46155         file.
46156         multiarch llround for PPC64.
46157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
46158         multiarch floor for PPC64.
46159         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
46160         multiarch floorf for PPC64.
46162         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
46163         multiarch implementation.
46164         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
46165         file.
46166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
46167         file.
46168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
46169         file.
46170         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
46171         file.
46172         multiarch llround for PPC64.
46173         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
46174         multiarch ceil for PPC64.
46175         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
46176         multiarch ceilf for PPC64.
46178         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
46179         multiarch implementation.
46180         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
46181         file.
46182         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
46183         file.
46184         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
46185         file.
46186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
46187         multiarch llround for PPC64.
46188         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
46189         multiarch lround for PPC64.
46191         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
46192         multiarch implementation.
46193         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
46194         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
46195         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
46196         file.
46197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
46198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
46199         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
46200         multiarch isnan for PPC64.
46201         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
46202         multiarch isnanf for PPC64.
46204         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
46205         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
46206         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
46207         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
46208         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
46209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
46211         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
46212         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46213         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46214         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46216         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
46217         multiarch implementations.
46218         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46219         (__libc_ifunc_impl_list): Likewise.
46220         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
46221         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
46222         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
46223         multiarch stpcpy for PPC64.
46225         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
46226         multiarch implementations.
46227         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46228         (__libc_ifunc_impl_list): Likewise.
46229         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
46230         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
46231         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
46232         multiarch strcpy for PPC64.
46234         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
46235         redefine function name.
46236         (_wordcopy_fwd_dest_aligned): Likewise.
46237         (_wordcopy_bwd_aligned): Likewise.
46238         (_wordcopy_bwd_dest_aligned): Likewise.
46239         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
46240         multiarch implementations.
46241         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46242         (__libc_ifunc_impl_list): Likewise.
46243         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
46244         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
46245         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
46246         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
46247         multiarch wcscpy for PPC64.
46249         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
46250         multiarch implementations.
46251         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46252         (__libc_ifunc_impl_list): Likewise.
46253         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
46254         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
46255         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
46256         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
46257         multiarch wcscpy for PPC64.
46259         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
46260         multiarch implementations.
46261         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46262         (__libc_ifunc_impl_list): Likewise.
46263         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
46264         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
46265         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
46266         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
46267         multiarch wcsrchr for PPC64.
46269         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
46270         multiarch implementations.
46271         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46272         (__libc_ifunc_impl_list): Likewise.
46273         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
46274         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
46275         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
46276         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
46277         multiarch wcschr for PPC64.
46279         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
46280         multiarch implementations.
46281         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46282         (__libc_ifunc_impl_list): Likewise.
46283         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
46284         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
46285         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
46286         multiarch strchrnul for PPC64.
46288         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
46289         implementations.
46290         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46291         (__libc_ifunc_impl_list): Likewise.
46292         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
46293         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
46294         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
46295         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
46296         strchr for PPC64.
46298         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
46299         implementations.
46300         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46301         (__libc_ifunc_impl_list): Likewise.
46302         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
46303         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
46304         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
46305         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
46306         strncmp for PPC64.
46308         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
46309         multiarch implementations.
46310         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46311         (__libc_ifunc_impl_list): Likewise.
46312         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
46313         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
46314         strncasecmp for PPC64.
46315         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
46316         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
46317         multiarch strncasecmp_l for PPC64.
46319         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
46320         multiarch implementations.
46321         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
46322         (__libc_ifunc_impl_list): Likewise.
46323         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
46324         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
46325         multiarch strcasecmp for PPC64.
46326         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
46327         file.
46328         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
46329         multiarch strcasecmp_l for PPC64.
46331         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
46332         implementations.
46333         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46334         (__libc_ifunc_impl_list): Likewise.
46335         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
46336         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
46337         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
46338         strnlen for PPC64.
46340         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
46341         implementations.
46342         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46343         (__libc_ifunc_impl_list): Likewise.
46344         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
46345         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
46346         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
46347         strlen for PPC64.
46349         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
46350         implementations.
46351         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46352         (__libc_ifunc_impl_list): Likewise.
46353         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
46354         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
46355         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
46356         rawmemrchr for PPC64.
46358         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
46359         implementation.
46360         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46361         (__libc_ifunc_impl_list): Likewise.
46362         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
46363         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
46364         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
46365         memrchr for PPC64.
46367         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
46368         implementation.
46369         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46370         (__libc_ifunc_impl_list): Likewise.
46371         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
46372         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
46373         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
46374         memchr for PPC64.
46376         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
46377         implementation.
46378         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46379         (__libc_ifunc_impl_list): Likewise.
46380         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
46381         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
46382         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
46383         mempcpy for PPC64.
46385         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
46386         avoid cretion of __bzero symbol.
46387         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
46388         Likewise.
46389         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
46390         Likewise.
46391         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
46392         Likewise.
46393         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
46394         multiarch implementations.
46395         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46396         (__libc_ifunc_impl_list): Likewise.
46397         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
46398         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
46399         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
46400         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
46401         bzero for PPC32.
46402         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
46403         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
46404         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
46405         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
46406         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
46407         memset for PPC64.
46408         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
46410         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
46411         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
46412         implementations.
46413         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46414         (__libc_ifunc_impl_list): Likewise.
46415         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
46416         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
46417         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
46418         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
46419         memcmp for PPC64.
46421         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
46422         multiarch for POWER/PPC64.
46423         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
46424         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
46425         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
46426         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
46427         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
46428         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
46429         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
46430         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
46431         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
46432         memcpy for PPC64.
46434         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
46435         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
46436         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
46437         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
46438         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
46439         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
46440         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
46441         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
46442         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
46443         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
46444         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
46445         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
46446         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
46447         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
46448         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
46449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
46450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
46451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
46452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
46453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
46454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
46455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
46457 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46459         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
46461 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
46463         * benchtests/Makefile (bench): Add exp2 and log2.
46464         (LDLIBS-bench-exp2): Add -lm.
46465         (LDLIBS-bench-log2): Likewise.
46466         * benchtests/exp2-inputs: New inputs file.
46467         * benchtests/log2-inputs: New inputs file.
46468         * benchtests/log-inputs: Add new inputs.
46469         * benchtests/tan-inputs: Likewise.
46471 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46473         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
46474         definition...
46475         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
46476         (csloww2): ... from here.
46478         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
46479         instead of structures.
46480         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
46481         (POLYNOMIAL): Likewise.
46482         (TAYLOR_SLOW): Likewise.
46483         (__sin): Likewise.
46484         (__cos): Likewise.
46485         (slow1): Likewise.
46486         (slow2): Likewise.
46487         (sloww): Likewise.
46488         (sloww1); Likewise.
46489         (sloww2): Likewise.
46490         (bsloww1): Likewise.
46491         (bsloww2): Likewise.
46492         (cslow2): Likewise.
46493         (csloww): Likewise.
46494         (csloww1): Likewise.
46495         (csloww2): Likewise.
46497 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
46499         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
46500         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
46501         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
46502         * malloc/hooks.c (realloc_check): Likewise.
46504         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
46505         * malloc/arena.c: Remove PER_THREAD conditional.
46506         [!PER_THREAD]: Remove code.
46507         (ptmalloc_unlock_all2): Likewise.
46508         (ptmalloc_init): Likewise.
46509         (_int_new_arena): Likewise.
46510         (arena_get2): Likewise.
46511         * malloc/hooks.c (__malloc_get_state): Likewise.
46512         (__malloc_set_state): Likewise.
46513         * malloc/malloc.c: Likewise.
46514         (struct malloc_state): Likewise.
46515         (struct malloc_par): Likewise.
46516         (__libc_realloc): Likewise.
46517         (__libc_mallopt): Likewise.
46519 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46521         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
46523 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
46525         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
46526         macro to a function.  Check for zero perturb_byte.
46527         (_int_malloc, _int_free): Remove zero perturb_byte checks.
46529         * malloc/malloc.c: (force_reg): Remove.
46530         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
46531         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
46532         force_reg by atomic_forced_read.
46533         * malloc/arena.c (ptmalloc_init): Likewise.
46534         * malloc/hooks.c (top_check): Likewise.
46536 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46538         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46540 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
46542         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46544 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
46546         * math/auto-libm-test-in: Add tests of lgamma.
46547         * math/auto-libm-test-out: Regenerated.
46548         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
46549         (M_LOG_2_SQRT_PIl): Likewise.
46550         (lgamma_test_data): Use AUTO_TESTS_f_f1.
46551         * math/gen-auto-libm-tests.c (func_calc_method): Add value
46552         mpfr_f_f1.
46553         (func_calc_desc): Add mpfr_f_f1 union field.
46554         (ARGS1): New macro.
46555         (ARGS2): Likewise.
46556         (ARGS3): Likewise.
46557         (ARGS4): Likewise.
46558         (RET1): Likewise.
46559         (RET2): Likewise.
46560         (CALC): Likewise.
46561         (FUNC): Likewise.
46562         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
46563         (test_functions): Add lgamma.
46564         (calc_generic_results): Handle mpfr_f_f1.
46565         * sysdeps/i386/fpu/libm-test-ulps: Update.
46566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46568 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46570         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
46571         __mpn_add_n for PowerPC64/POWER7.
46572         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
46573         __mpn_sub_n for PowerPC64/POWER7.
46575         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
46576         __mpn_addmul_1 for PowerPC64.
46577         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
46578         __mpn_submul_1 for PowerPC64.
46579         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
46580         for PowerPC64.
46581         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
46582         for PowerPC64.
46584 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
46586         [BZ #15089]
46587         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
46589 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46591         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
46593         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
46594         add multiarch folders.
46595         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
46596         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
46597         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
46598         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
46599         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
46600         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
46601         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
46602         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
46603         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
46604         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
46605         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
46606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
46607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
46608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
46609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
46610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
46611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
46613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
46614         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
46615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
46616         New file.
46617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
46618         New file.
46619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
46620         multiarch __ieee754_hypot for PowerPC32.
46621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
46622         New file.
46623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
46624         New file.
46625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
46626         multiarch __ieee754_hypotf for PowerPC32.
46628         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
46629         long_double_symbol only if __logbl is defined.
46630         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
46631         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
46632         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
46633         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
46634         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
46635         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
46636         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
46637         path for implementation.
46638         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
46639         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
46640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
46641         logb, and logbl multiarch implementations for PowerPC32.
46642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
46643         file.
46644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
46645         file.
46646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
46647         multiarch logb for PowerPC32.
46648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
46649         file.
46650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
46651         file.
46652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
46653         multiarch logbf for PowerPC32.
46654         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
46655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
46656         file.
46657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
46658         multiarch logbl implementation for PowerPC32.
46660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
46661         and modff multiarch implementations.
46662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
46663         New file.
46664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
46665         New file.
46666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
46667         multiarch modf for PowerPC32.
46668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
46669         New file.
46670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
46671         New file.
46672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
46673         multiarch modff for PowerPC32.
46675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
46676         and lrintf multiarch implementations.
46677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
46678         New file.
46679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
46680         New file.
46681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
46682         multiarch lrint for PowerPC32.
46683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
46684         file: multiarch lrintf for PowerPC32.
46686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
46687         and lroundf multiarch implementations.
46688         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
46689         New file.
46690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
46691         New file.
46692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
46693         New file.
46694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
46695         multiarch lround for PowerPC32.
46696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
46697         file: multiarch lroundf for PowerPC32.
46699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
46700         copysign and copysignf multiarch implementations.
46701         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
46702         New file.
46703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
46704         New file.
46705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
46706         file: multiarch copysign for PowerPC32.
46707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
46708         file: multiarch copysignf for PowerPC32.
46710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
46711         and truncf multiarch implementations.
46712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
46713         New file.
46714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
46715         file.
46716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
46717         multiarch trunc for PowerPC32.
46718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
46719         New file.
46720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
46721         New file.
46722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
46723         multiarch truncf for PowerPC32.
46725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
46726         and roundf multiarch implementations.
46727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
46728         New file.
46729         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
46730         file.
46731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
46732         multiarch round for PowerPC32.
46733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
46734         New file.
46735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
46736         New file.
46737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
46738         multiarch roundf for PowerPC32.
46740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
46741         and floorf multiarch implementations.
46742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
46743         New file.
46744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
46745         file.
46746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
46747         multiarch floor for PowerPC32.
46748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
46749         New file.
46750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
46751         New file.
46752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
46753         multiarch floorf for PowerPC32.
46755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
46756         and ceilf multiarch implementations.
46757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
46758         New file.
46759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
46760         file.
46761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
46762         multiarch ceil for PowerPC32.
46763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
46764         New file.
46765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
46766         file.
46767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
46768         multiarch ceilf for PowerPC32.
46770         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
46771         is defined.
46772         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
46773         FINITEF is defined.
46774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
46775         and finitef multiarch implementations.
46776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
46777         New file.
46778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
46779         file.
46780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
46781         multiarch finite for PowerPC32.
46782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
46783         New file.
46784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
46785         file: multiarch finitef for PowerPC32.
46787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
46788         and isinff multiarch implementations.
46789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
46790         file.
46791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
46792         file.
46793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
46794         multiarch isinf for PowerPC32.
46795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
46796         New file.
46797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
46798         multiarch isinff for PowerPC32.
46800         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
46801         alias when __isnan is defined.
46802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
46803         and isnanf multiarch implementations.
46804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
46805         file.
46806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
46807         file.
46808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
46809         file.
46810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
46811         file.
46812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
46813         multiarch isnan for PowerPC32.
46814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
46815         New file.
46816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
46817         New file.
46818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
46819         multiarch isnanf for PowerPC32.
46821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
46822         and sqrtf multiarch implementations.
46823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
46824         file.
46825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
46826         file.
46827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
46828         multiarch sqrt for PowerPC32.
46829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
46830         file.
46831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
46832         file.
46833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
46834         multiarch sqrtf for PowerPC32.
46836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
46837         and llroundf multiarch implementations.
46838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
46839         New file.
46840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
46841         New file.
46842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
46843         New file.
46844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
46845         file: multiarch llround for PowerPC32.
46846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
46847         file: multiarch llroundf for PowerPC32.
46849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
46850         multiarch PowerPC32 fpu implementations.
46851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
46852         New file.
46853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
46854         New file.
46855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
46856         multiarch llrint for PowerPC32.
46857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
46858         New file.
46859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
46860         New file.
46861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
46862         file.
46864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
46866         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
46867         file.
46868         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
46869         file.
46870         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
46871         file.
46872         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
46873         multiarch wordcopy for PPC32.
46874         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
46875         wordcopy objects.
46876         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46877         (__libc_ifunc_impl_list): Likewise.
46878         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
46879         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
46880         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
46881         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
46882         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
46883         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
46885         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
46886         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
46887         file.
46888         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
46889         file.
46890         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
46891         file.
46892         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
46893         multiarch wcscpy for PPC32.
46894         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
46895         multiarch objects.
46896         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46897         (__libc_ifunc_impl_list): Likewise.
46898         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
46899         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
46900         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
46901         sysdeps/powerpc/power6/wcscpy.c.
46903         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
46904         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
46905         file.
46906         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
46907         file.
46908         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
46909         file.
46910         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
46911         multiarch wcsrchr for PPC32.
46912         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
46913         multiarch objects.
46914         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46915         (__libc_ifunc_impl_list): Likewise.
46916         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
46917         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
46918         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
46919         sysdeps/powerpc/power6/wcsrchr.c.
46921         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
46922         file.
46923         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
46924         file.
46925         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
46926         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
46927         multiarch wcschr for PPc32.
46928         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
46929         multiarch objects.
46930         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46931         (__libc_ifunc_impl_list): Likewise.
46932         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
46933         * sysdeps/powerpc/power6/wcschr.c: ... to here.
46934         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
46935         sysdeps/powerpc/power6/wcschr.c.
46937         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
46938         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
46939         file.
46940         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
46941         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
46942         file: multiarch strchr for PPC32.
46943         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
46944         multiarch objects.
46945         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46946         (__libc_ifunc_impl_list): Likewise.
46948         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
46949         name.
46950         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
46951         file.
46952         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
46953         file.
46954         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
46955         multiarch strchrnul for PPC32.
46956         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
46957         multiarch objects.
46958         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46959         (__libc_ifunc_impl_list): Likewise.
46961         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
46962         file.
46963         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
46964         multiarch strncasecmp for PPC32.
46965         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
46966         file.
46967         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
46968         multiarch strncasecmp_l for PPC32.
46969         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
46970         strncasecmp multiarch objects.
46971         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46972         (__libc_ifunc_impl_list): Likewise.
46974         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
46975         file.
46976         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
46977         multiarch strncasecmp for PPC32.
46978         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
46979         New file.
46980         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
46981         multiarch strcasecmp_l for PPC32.
46982         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
46983         multiarch objects.
46984         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46985         (__libc_ifunc_impl_list): Likewise.
46987         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
46988         file.
46989         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
46990         file.
46991         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
46992         multiarch strncmp for PPC32.
46993         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
46994         multiarch objects.
46995         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46996         (__libc_ifunc_impl_list): Likewise.
46998         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
46999         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
47000         file.
47001         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
47002         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
47003         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
47004         multiarch objects.
47005         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47006         (__libc_ifunc_impl_list): Likewise.
47008         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
47009         file.
47010         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
47011         file.
47012         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
47013         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
47014         multiarch objects.
47015         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47016         (__libc_ifunc_impl_list): Likewise.
47018         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
47019         file.
47020         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
47021         file.
47022         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
47023         multiarch rawmemchr for PPC32.
47024         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
47025         multiarch objects.
47026         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47027         (__libc_ifunc_impl_list): Likewise.
47029         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
47030         file.
47031         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
47032         file.
47033         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
47034         file: memrchr multiarch for PPC32.
47035         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
47036         multiarch objects.
47037         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47038         (__libc_ifunc_impl_list): Likewise.
47040         * string/memchr.c (__memchr): Using macro to redefine symbol name.
47041         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
47042         file.
47043         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
47044         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
47045         multiarch memchr for PPC32.
47046         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
47047         multiarch objects.
47048         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47049         (__libc_ifunc_impl_list): Likewise.
47051         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
47052         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
47053         file.
47054         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
47055         file.
47056         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
47057         file: multiarch mempcpy for PPC32.
47058         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
47059         multiarch objects.
47060         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47061         (__libc_ifunc_impl_list): Likewise.
47063         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
47064         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
47065         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
47066         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
47067         multiarch bzero for PPC32.
47068         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
47069         file.
47070         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
47071         file.
47072         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
47073         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
47074         file: multiarch memset for PPC32.
47075         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
47076         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
47077         memset multiarch objects.
47078         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47079         (__libc_ifunc_impl_list): Likewise.
47081         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
47082         file.
47083         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
47084         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
47085         memcmp for PPC32.
47086         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
47087         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
47088         multiarch objects.
47089         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47090         (__libc_ifunc_impl_list): Likewise.
47092         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
47093         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
47094         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
47095         file.
47096         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
47097         file.
47098         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
47099         file.
47100         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
47101         multiarch memcpy for PPC32.
47102         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
47103         multiarch objects.
47104         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47105         (__libc_ifunc_impl_list): Likewise.
47107         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
47108         support multiarch for POWER/PPC32.
47109         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
47110         Likewise.
47111         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
47112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
47113         Implies file to make multiarch folder appers before the fpu and
47114         default folder for power4 configuration.
47116 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
47118         * scripts/bench.pl: Append volatile keyword to type.
47120 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47122         * sysdeps/sh/sotruss-lib.c: New file.
47123         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
47125 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47127         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47129 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
47131         [BZ #6810]
47132         * math/w_tgamma.c: Include <errno.h>.
47133         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
47134         * math/w_tgammaf.c: Include <errno.h>.
47135         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
47136         * math/w_tgammal.c: Include <errno.h>.
47137         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
47138         * math/auto-libm-test-in: Do not allow missing errno on tgamma
47139         underflow.  Add more tgamma tests.
47140         * math/auto-libm-test-out: Regenerated.
47141         * sysdeps/i386/fpu/libm-test-ulps: Update.
47142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47144         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
47145         sin, sinh, tan, tanh, tgamma, y0 and y1.
47146         * math/auto-libm-test-out: Regenerated.
47147         * math/libm-test.inc (TEST_COND_x86_64): New macro.
47148         (TEST_COND_x86): Likewise.
47149         (M_E2l): Remove macro.
47150         (M_E3l): Likewise.
47151         (M_2_SQRT_PIl): Likewise.
47152         (M_SQRT_PIl): Likewise.
47153         (M_1_DIV_El): Likewise.
47154         (log_test_data): Use AUTO_TESTS_f_f.
47155         (log10_test_data): Likewise.
47156         (log1p_test_data): Likewise.
47157         (log2_test_data): Likewise.
47158         (sin_test_data): Likewise.
47159         (sin_tonearest_test_data): Likewise.
47160         (sin_towardzero_test_data): Likewise.
47161         (sin_downward_test_data): Likewise.
47162         (sin_upward_test_data): Likewise.
47163         (sinh_test_data): Likewise.
47164         (sinh_tonearest_test_data): Likewise.
47165         (sinh_towardzero_test_data): Likewise.
47166         (sinh_downward_test_data): Likewise.
47167         (sinh_upward_test_data): Likewise.
47168         (tan_test_data): Likewise.
47169         (tan_tonearest_test_data): Likewise.
47170         (tan_towardzero_test_data): Likewise.
47171         (tan_downward_test_data): Likewise.
47172         (tan_upward_test_data): Likewise.
47173         (tanh_test_data): Likewise.
47174         (tgamma_test_data): Likewise.
47175         (y0_test_data): Likewise.
47176         (y1_test_data): Likewise.
47177         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
47178         (special_real_inputs): Add pi/4.
47179         * sysdeps/i386/fpu/libm-test-ulps: Update.
47180         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47182 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47184         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
47185         "longjmp_target" static probes.
47186         (__longjmp): Rename to __longjmp_symbol.
47187         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
47188         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
47189         on which longjmp to generate.
47190         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
47191         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
47192         probe.
47193         (__sigsetjmp): Rename to __sigsetjmp_symbol.
47194         (__sigjmp_save): Rename to __sigjmp_save_symbol.
47195         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
47196         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
47197         and __sigjmp_save_symbol based on which sigsetjmp to generated.
47198         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
47199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
47200         __longjmp_symbol based on which __longjmp to generate.
47201         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
47202         probe.
47203         (setjmp): Rename to setjmp_symbol.
47204         (__sigsetjmp): Rename to __sigsetjmp_symbol.
47205         (_setjmp): Rename to _setjmp_symbol.
47206         (__sigsetjmp): Rename to __sigsetjmp_symbol.
47207         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
47208         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
47209         which setjmp to generate.
47210         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
47211         "longjmp_target" static probes.
47213 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
47215         * benchtests/README: Add note about output arguments.
47216         * benchtests/bench-sincos.c: Remove file.
47217         * benchtests/sincos-inputs: New file.
47218         * scripts/bench.pl: Identify output arguments and define
47219         static variables for them.
47221         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
47223         [BZ #15941]
47224         * Makefile (INSTALL): Add install-plain.texi as the primary
47225         dependency.
47226         * manual/install-plain.texi: New file.
47227         * manual/install.texi: Include node directive only for
47228         non-plaintext output.
47230 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
47232         * stdlib/longlong.h: Update from GCC.
47234         [BZ #6807]
47235         [BZ #15901]
47236         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
47237         * math/w_j0f.c (y0f): Likewise.
47238         * math/w_j0l.c (__y0l): Likewise.
47239         * math/w_j1.c (y1): Likewise.
47240         * math/w_j1f.c (y1f): Likewise.
47241         * math/w_j1l.c (__y1l): Likewise.
47242         * math/w_jn.c (yn): Likewise.
47243         * math/w_jnf.c (ynf): Likewise.
47244         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
47245         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
47246         value for Bessel function domain errors outside _SVID_ mode.
47247         Adjust sign of return value for yn (negative integer, 0).
47248         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
47249         by zero in return for negative x and set sign appropriately for
47250         negative n.
47251         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
47252         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
47253         * math/libm-test.inc (y0_test_data): Add more tests and adjust
47254         expectations in error cases.
47255         (y1_test_data): Likewise.
47256         (yn_test_data): Likewise.
47257         * sysdeps/i386/fpu/libm-test-ulps: Update.
47258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47260 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47262         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
47263         "64" to "64-v1".  Add "64-v2".
47264         (abi-64-options): Rename to ...
47265         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
47266         (abi-64-condition): Rename to ...
47267         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
47268         (abi-64-ld-soname): Rename to ...
47269         (abi-64-v1-ld-soname): ... this.
47270         (abi-64-v2-options): Define.
47271         (abi-64-v2-condition): Likewise.
47272         (abi-64-v2-ld-soname): Likewise.
47273         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
47274         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
47275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
47276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
47277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
47279 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47280             Alan Modra  <amodra@gmail.com>
47282         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
47283         New versions for use with the ELFv2 ABI.
47284         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
47285         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
47286         declaration.
47287         (struct La_ppc64v2_retval): Likewise.
47288         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
47289         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
47290         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
47291         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
47292         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
47293         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
47294         Do not save or restore CR.
47295         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
47296         (_dl_profile_resolve): Do no save or restore CR.  Support extended
47297         return values for ELFv2 ABI.  Fix location of FPR return registers.
47298         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
47299         updated values for _CALL_ELF == 2.
47300         (La_regs, La_retval, int_retval): Likewise.
47302 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47304         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
47305         (FRAME_MIN_SIZE_PARM): Likewise.
47306         (FRAME_BACKCHAIN): Likewise.
47307         (FRAME_CR_SAVE): Likewise.
47308         (FRAME_LR_SAVE): Likewise.
47309         (FRAME_TOC_SAVE): Likewise.
47310         (FRAME_PARM_SAVE): Likewise.
47311         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
47312         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
47313         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
47314         (call_mcount_parm_offset): New macro.
47315         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
47316         (PROF): Use symbolic stack frame offsets.
47317         (TAIL_CALL_SYSCALL_ERROR): Likewise.
47318         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
47319         Redefine in terms of FRAME_MIN_SIZE.
47320         (_dl_runtime_resolve): Use symbolic stack frame offsets.
47321         (_dl_profile_resolve): Likewise.  Update comment.
47322         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
47323         symbols stack frame offsets.
47324         (__sigsetjmp): Likewise.
47325         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
47326         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
47327         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
47328         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
47330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
47331         (FRAME_BACKCHAIN): Remove.
47332         (FRAME_CR_SAVE): Likewise.
47333         (FRAME_LR_SAVE): Likewise.
47334         (FRAME_COMPILER_DW): Likewise.
47335         (FRAME_LINKER_DW): Likewise.
47336         (FRAME_TOC_SAVE): Likewise.
47337         (FRAME_PARM_SAVE): Likewise.
47338         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
47339         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
47340         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
47341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
47342         (CHECK_SP): Use symbolic stack frame offsets.
47343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
47344         zone" instead of caller's parameter save area for temp storage.
47345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
47346         Likewise.  Also, use symbolic stack frame offsets.
47347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
47348         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
47349         our own stack frame instead of the caller's.
47350         (__socket): Use symbolic stack frame offsets.
47352 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47353             Alan Modra  <amodra@gmail.com>
47355         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
47356         Define.
47357         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
47358         (PPC64_LOCAL_ENTRY_OFFSET): Define.
47359         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
47360         New function.
47361         (elf_machine_fixup_plt): Call it.
47362         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
47363         reloc arguments.
47364         (elf_machine_rela): Update call to elf_machine_plt_conflict.
47365         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
47366         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
47367         r2 before calling target.
47369 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47370             Alan Modra  <amodra@gmail.com>
47372         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
47373         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
47374         versions of macros to support ELFv2 ABI.
47375         (LOCALENTRY): New macro.
47376         (ENTRY, EALIGN): Use it.
47377         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
47378         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
47379         fall through into ENTRY entry point.
47380         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
47381         Only define if _CALL_ELF != 2.
47383         (elf_machine_matches_host): Verify ABI version matches.
47384         (RTLD_START): Use LOCALENTRY.
47385         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
47386         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
47387         (PLT_ENTRY_WORDS): New macro.
47388         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
47389         (elf_machine_runtime_setup): Support ELFv2 ABI.
47390         (elf_machine_fixup_plt): Likewise.
47391         (elf_machine_plt_conflict): Likewise.
47392         (resolve_ifunc): Likewise.
47393         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
47394         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
47395         Likewise.
47396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
47397         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
47398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47399         (makecontext): Support ELFv2 ABI.
47400         * elf/elf.h (EF_PPC64_ABI): Define.
47402 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47404         * sysdeps/powerpc/powerpc64/sysdep.h
47405         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
47406         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
47407         (ENTRY) [ASSEMBLER]: ... but instead here ...
47408         (EALIGN) [ASSEMBLER]: ... and here.
47409         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
47410         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
47411         (ENTRY_2) [!ASSEMBLER]: Use it.
47412         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
47413         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
47414         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
47415         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
47416         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
47417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
47418         Use PPC64_LOAD_FUNCPTR.
47420         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
47422 2013-12-04  Alan Modra  <amodra@gmail.com>
47424         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
47425         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
47426         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
47427         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
47429         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
47430         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
47431         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
47432         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
47433         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
47434         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
47436 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47439         (__makecontext): Fix incorrect CFI when backtracing out of
47440         context created via makecontext.
47441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
47442         (__setcontext): Fix incorrect CFI during switch to new context.
47443         (__novec_setcontext): Likewise.
47445 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
47447         [BZ #4772]
47448         * time/strptime_l.c (__strptime_internal): Allow modifiers
47449         in strptime.
47450         * time/tst-strptime.c (day_tests): Add testcase.
47452 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47454         * scripts/bench.pl: Skip over blank lines.
47456 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
47458         [BZ #926]
47459         * manual/time.texi (Calendar Time): Clarify what timezone functions
47460         use.
47462 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47464         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47466 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
47468         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
47469         implementation.
47470         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
47471         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
47472         * debug/memset_chk.c (__memset_chk): Likewise.
47473         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
47474         * debug/strncpy_chk.c: Likewise.
47476 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
47478         [BZ #15268]
47479         [BZ #15425]
47480         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
47481         (__ieee754_exp): For possibly underflowing results, check size of
47482         result and force underflow exception if required.
47483         * math/auto-libm-test-in: Add more tests of exp.
47484         * math/auto-libm-test-out: Regenerated.
47485         * sysdeps/i386/fpu/libm-test-ulps: Update.
47486         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47488         [BZ #16283]
47489         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
47490         * math/w_exp2f.c (__exp2f): Likewise.
47491         * math/w_exp2l.c (__exp2l): Likewise.
47492         * math/auto-libm-test-in: Do not allow missing errno on exp2
47493         underflow.
47494         * math/auto-libm-test-out: Regenerated.
47496 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
47498         [BZ #16274]
47499         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
47500         handle filename validation.
47501         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
47502         (do_open): Delete.
47504 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
47506         [BZ #6786]
47507         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
47508         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
47509         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
47510         <float.h>.
47511         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
47512         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
47513         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
47514         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
47515         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
47516         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
47517         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
47518         * math/auto-libm-test-in: Don't allow missing errno from erfc.
47519         Add more erfc tests.
47520         * math/auto-libm-test-out: Regenerated.
47521         * sysdeps/i386/fpu/libm-test-ulps: Update.
47522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47524         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
47525         exp2, expm1, j0 and j1.
47526         * math/auto-libm-test-out: Regenerated.
47527         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
47528         (erfc_test_data): Likewise.
47529         (exp_test_data): Likewise.
47530         (exp_tonearest_test_data): Likewise.
47531         (exp_towardzero_test_data): Likewise.
47532         (exp_downward_test_data): Likewise.
47533         (exp_upward_test_data): Likewise.
47534         (exp10_test_data): Likewise.
47535         (exp2_test_data): Likewise.
47536         (expm1_test_data): Likewise.
47537         (j0_test_data): Likewise.
47538         (j1_test_data): Likewise.
47539         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
47540         (input_flag_type): Add flag_xfail_rounding.
47541         (input_flags): Add xfail-rounding.
47542         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
47543         (output_for_one_input_case): Handle flag_xfail_rounding.
47544         * sysdeps/i386/fpu/libm-test-ulps: Update.
47545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47547 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
47549         [BZ #16289]
47550         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
47551         division by 0.
47553 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
47555         [BZ #16195]
47556         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
47557         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
47558         (STAP_PROBE0): New macro.
47559         (STAP_PROBE1): Likewise.
47560         (STAP_PROBE2): Likewise.
47561         (STAP_PROBE3): Likewise.
47562         (STAP_PROBE4): Likewise.
47564 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
47566         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
47568 2013-12-02  Steve Ellcey  <sellcey@mips.com>
47570         * benchtests/Makefile (bench): Add sqrt.
47571         (LDLIBS-bench-sqrt): New.
47572         * benchtests/sqrt-input: New.
47574 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
47576         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
47577         (GAIH_EAI): Likewise.
47578         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
47579         (gaih_inet): Likewise.
47580         (getaddrinfo): Don't use GAIH_EAI.
47582         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
47583         (struct gaih): Remove definition.
47585 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47587         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
47588         Use HERRNOP directly.
47590 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47592         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47594 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
47596         * math/gen-auto-libm-tests.c (test_functions): Add more
47597         single-argument functions.
47598         (special_fill_pi_2): New function.
47599         (special_fill_minus_pi_2): Likewise.
47600         (special_fill_pi_6): Likewise.
47601         (special_fill_minus_pi_6): Likewise.
47602         (special_fill_pi_3): Likewise.
47603         (special_fill_2pi_3): Likewise.
47604         (special_fill_e): Likewise.
47605         (special_fill_1_e): Likewise.
47606         (special_fill_e_minus_1): Likewise.
47607         (special_real_inputs): Add more special inputs.
47608         (output_for_one_input_case): Do not require ERANGE on underflow to
47609         zero if round-to-nearest result does not underflow to zero, unless
47610         exact results required.
47611         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
47612         atan, atanh, cbrt, cos and cosh.
47613         * math/auto-libm-test-out: Regenerated.
47614         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
47615         (acos_tonearest_test_data): Likewise.
47616         (acos_towardzero_test_data): Likewise.
47617         (acos_downward_test_data): Likewise.
47618         (acos_upward_test_data): Likewise.
47619         (acosh_test_data): Likewise.
47620         (asin_test_data): Likewise.
47621         (asin_tonearest_test_data): Likewise.
47622         (asin_towardzero_test_data): Likewise.
47623         (asin_upward_test_data): Likewise.
47624         (asinh_test_data): Likewise.
47625         (atan_test_data): Likewise.
47626         (atanh_test_data): Likewise.
47627         (cbrt_test_data): Likewise.
47628         (cos_test_data): Likewise.
47629         (cos_tonearest_test_data): Likewise.
47630         (cos_towardzero_test_data): Likewise.
47631         (cos_downward_test_data): Likewise.
47632         (cos_upward_test_data): Likewise.
47633         (cosh_test_data): Likewise.
47634         (cosh_tonearest_test_data): Likewise.
47635         (cosh_towardzero_test_data): Likewise.
47636         (cosh_downward_test_data): Likewise.
47637         (cosh_upward_test_data): Likewise.
47638         * sysdeps/i386/fpu/libm-test-ulps: Update.
47639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47641 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
47643         [BZ #6787]
47644         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
47645         * math/w_exp10f.c (__exp10f): Likewise.
47646         * math/w_exp10l.c (__exp10l): Likewise.
47647         * math/libm-test.inc (exp10_test_data): Add more tests and expect
47648         errno settings in existing tests.
47650         [BZ #14032]
47651         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
47652         precision control set to double precision.
47653         * sysdeps/i386/fpu/w_sqrt.c: New file.
47654         * math/auto-libm-test-in: Add more tests.
47655         * math/auto-libm-test-out: Update.
47657         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
47658         (sqrt_test_tonearest): New function.
47659         (sqrt_towardzero_test_data): New variable.
47660         (sqrt_test_towardzero): New function.
47661         (sqrt_downward_test_data): New variable.
47662         (sqrt_test_downward): New function.
47663         (sqrt_upward_test_data): New variable.
47664         (sqrt_test_upward): New function.
47665         (main): Call the new functions.
47667         * math/gen-auto-libm-tests.c: New file.
47668         * math/auto-libm-test-in: Likewise.
47669         * math/auto-libm-test-out: New generated file.
47670         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
47671         variables.
47672         (%beautify): Add generated representations of zero.
47673         (top level): Set $auto_input and call parse_auto_input.
47674         (beautify): Remove trailing "f" from hex float constants.
47675         (parse_args): Handle XFAIL_TEST.
47676         (convert_condition): New function.
47677         (or_value): Likewise.
47678         (or_cond_value): Likewise.
47679         (generate_testfile): Handle AUTO_TESTS_* lines.
47680         (parse_auto_input): New function.
47681         * math/libm-test.inc (XFAIL_TEST): New macro.
47682         (ERRNO_UNCHANGED): Update value.
47683         (ERRNO_EDOM): Likewise.
47684         (ERRNO_ERANGE): Likewise.
47685         (IGNORE_RESULT): Likewise.
47686         (TEST_COND_flt_32): New macro.
47687         (TEST_COND_dbl_64): Likewise.
47688         (TEST_COND_ldbl_96_intel): Likewise.
47689         (TEST_COND_ldbl_96_m68k): Likewise.
47690         (TEST_COND_ldbl_128): Likewise.
47691         (TEST_COND_ldbl_128ibm): Likewise.
47692         (TEST_COND_long32): Likewise.
47693         (TEST_COND_long64): Likewise.
47694         (TEST_COND_before_rounding): Likewise.
47695         (TEST_COND_after_rounding): Likewise.
47696         (enable_test): Handle XFAIL_TEST flag.
47697         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
47698         with finite results.
47699         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
47700         auto-libm-test-out.
47702 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
47703             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47705         [BZ #16214]
47706         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
47707         __tls_get_addr_internal instead of __tls_get_offset in order to
47708         avoid GOT pointer dependency.  Make rtld export
47709         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
47710         __tls_get_addr since we are a __tls_get_offset platform.
47711         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
47712         GOT pointer being set up before.
47713         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
47715 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
47717         * manual/math.texi (Errors in Math Functions): Document accuracy
47718         goals.
47720         [BZ #15004]
47721         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
47722         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
47723         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47724         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47725         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47726         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47727         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47728         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
47729         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
47730         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47731         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47732         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47733         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47734         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47735         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47736         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
47738         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
47739         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
47740         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
47741         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
47742         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
47743         Likewise.
47744         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
47745         Likewise.
47746         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
47747         Likewise.
47748         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
47749         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
47750         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
47751         atomic-feupdateenv and flt-rounds.
47752         * sysdeps/powerpc/nofpu/Versions (libc): Add
47753         __atomic_feholdexcept, __atomic_feclearexcept,
47754         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
47755         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
47756         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
47757         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
47758         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
47759         here.
47760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
47761         Update.
47763         * manual/arith.texi (FP Exceptions): Document that exceptions may
47764         not be raised when matherr is used.
47765         (Math Error Reporting): Document overflow in directed rounding
47766         modes.  Document that errno may not be set when finite values are
47767         returned on overflow.  Document intent to set errno on underflow
47768         only for underflow to zero.
47770         [BZ #16271]
47771         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
47772         round-to-nearest then adjust result for other rounding modes.
47773         * include/fenv.h (fegetround): Use libm_hidden_proto.
47774         * math/fegetround.c (fegetround): Use libm_hidden_def.
47775         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
47776         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
47777         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
47778         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
47779         Likewise.
47780         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
47781         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
47782         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
47783         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
47785 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47787         [BZ #16077]
47788         * nss/Versions (libnss_files): Add
47789         _nss_files_gethostbyname3_r.
47790         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
47791         New function.
47792         (HOST_DB_LOOKUP): Remove macro.
47793         (_nss_files_gethostbyname_r): Implement function without the
47794         HOST_DB_LOOKUP macro.
47795         (_nss_files_gethostbyname2_r): Likewise.
47797 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
47799         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
47801 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
47803         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
47804         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
47805         warning.
47807 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47809         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
47810         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
47811         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
47812         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
47813         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
47814         __fe_nomask_env_priv and attribute_hidden.
47815         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
47816         (libc_feupdateenv_test_ppc): Likewise.
47817         (libc_feresetround_ppc): Likewise.
47818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
47819         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
47820         compat_symbol macro.
47821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
47822         (__fe_nomask_env): Likewise.
47823         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
47825 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
47827         * string/Makefile: Remove ifunc tests.
47828         * string/test-string.h: Define TEST_IFUNC.
47829         * string/test-bcopy-ifunc.c: Remove.
47830         * string/test-bzero-ifunc.c: Likewise.
47831         * string/test-memccpy-ifunc.c: Likewise.
47832         * string/test-memchr-ifunc.c: Likewise.
47833         * string/test-memcmp-ifunc.c: Likewise.
47834         * string/test-memcpy-ifunc.c: Likewise.
47835         * string/test-memmem-ifunc.c: Likewise.
47836         * string/test-memmove-ifunc.c: Likewise.
47837         * string/test-mempcpy-ifunc.c: Likewise.
47838         * string/test-memrchr-ifunc.c: Likewise.
47839         * string/test-memset-ifunc.c: Likewise.
47840         * string/test-rawmemchr-ifunc.c: Likewise.
47841         * string/test-stpcpy-ifunc.c: Likewise.
47842         * string/test-stpncpy-ifunc.c: Likewise.
47843         * string/test-strcasecmp-ifunc.c: Likewise.
47844         * string/test-strcasestr-ifunc.c: Likewise.
47845         * string/test-strcat-ifunc.c: Likewise.
47846         * string/test-strchr-ifunc.c: Likewise.
47847         * string/test-strchrnul-ifunc.c: Likewise.
47848         * string/test-strcmp-ifunc.c: Likewise.
47849         * string/test-strcpy-ifunc.c: Likewise.
47850         * string/test-strcspn-ifunc.c: Likewise.
47851         * string/test-strlen-ifunc.c: Likewise.
47852         * string/test-strncasecmp-ifunc.c: Likewise.
47853         * string/test-strncat-ifunc.c: Likewise.
47854         * string/test-strncmp-ifunc.c: Likewise.
47855         * string/test-strncpy-ifunc.c: Likewise.
47856         * string/test-strnlen-ifunc.c: Likewise.
47857         * string/test-strpbrk-ifunc.c: Likewise.
47858         * string/test-strrchr-ifunc.c: Likewise.
47859         * string/test-strspn-ifunc.c: Likewise.
47860         * string/test-strstr-ifunc.c: Likewise.
47862 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
47864         * benchtests/Makefile: Remove ifunc tests.
47865         * benchtests/bench-string.h: Define TEST_IFUNC.
47866         * benchtests/bench-bcopy-ifunc.c: Remove.
47867         * benchtests/bench-bzero-ifunc.c: Likewise.
47868         * benchtests/bench-memccpy-ifunc.c: Likewise.
47869         * benchtests/bench-memchr-ifunc.c: Likewise.
47870         * benchtests/bench-memcmp-ifunc.c: Likewise.
47871         * benchtests/bench-memcpy-ifunc.c: Likewise.
47872         * benchtests/bench-memmem-ifunc.c: Likewise.
47873         * benchtests/bench-memmove-ifunc.c: Likewise.
47874         * benchtests/bench-mempcpy-ifunc.c: Likewise.
47875         * benchtests/bench-memrchr-ifunc.c: Likewise.
47876         * benchtests/bench-memset-ifunc.c: Likewise.
47877         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
47878         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
47879         * benchtests/bench-stpcpy-ifunc.c: Likewise.
47880         * benchtests/bench-stpncpy-ifunc.c: Likewise.
47881         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
47882         * benchtests/bench-strcasestr-ifunc.c: Likewise.
47883         * benchtests/bench-strcat-ifunc.c: Likewise.
47884         * benchtests/bench-strchr-ifunc.c: Likewise.
47885         * benchtests/bench-strchrnul-ifunc.c: Likewise.
47886         * benchtests/bench-strcmp-ifunc.c: Likewise.
47887         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
47888         * benchtests/bench-strcpy-ifunc.c: Likewise.
47889         * benchtests/bench-strcspn-ifunc.c: Likewise.
47890         * benchtests/bench-strlen-ifunc.c: Likewise.
47891         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
47892         * benchtests/bench-strncat-ifunc.c: Likewise.
47893         * benchtests/bench-strncmp-ifunc.c: Likewise.
47894         * benchtests/bench-strncpy-ifunc.c: Likewise.
47895         * benchtests/bench-strnlen-ifunc.c: Likewise.
47896         * benchtests/bench-strpbrk-ifunc.c: Likewise.
47897         * benchtests/bench-strrchr-ifunc.c: Likewise.
47898         * benchtests/bench-strsep-ifunc.c: Likewise.
47899         * benchtests/bench-strspn-ifunc.c: Likewise.
47900         * benchtests/bench-strstr-ifunc.c: Likewise.
47902 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
47904         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
47906 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
47908         * resolv/netdb.h: Use __glibc_reserved instead __unused.
47909         * rt/aio.h: Likewise.
47910         * sysdeps/gnu/bits/utmp.h: Likewise.
47911         * sysdeps/gnu/bits/utmpx.h: Likewise.
47912         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
47913         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
47914         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
47915         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
47916         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
47917         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
47918         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
47919         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
47920         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
47921         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
47922         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
47923         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
47924         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
47925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
47926         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
47927         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
47928         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
47929         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
47930         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
47931         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
47932         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
47933         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
47934         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
47935         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
47936         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
47937         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47938         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
47939         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
47940         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
47941         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
47942         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
47943         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
47944         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
47945         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
47946         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
47947         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
47948         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
47949         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
47950         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
47951         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
47952         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
47953         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
47955 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
47957         [BZ #16245]
47958         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
47959         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
47961 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
47963         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
47964         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
47965         Likewise.
47967 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47969         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
47970         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
47971         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
47972         (__fesetround): Remove define.
47973         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
47974         rounding and exceptions handling.
47975         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
47976         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
47977         (__fe_nomask_env): Likewise.
47978         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
47979         __fegetround instead of fegetround.
47980         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
47981         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
47983 2013-11-21  Roland McGrath  <roland@hack.frob.com>
47985         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
47986         it's there.
47988         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
47990 2013-11-21  Meador Inge  <meadori@codesourcery.com>
47992         [BZ #11157]
47993         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
47994         (encrypt_r): Likewise.
47995         * malloc/obstack.h (obstack_free): Likewise.
47996         * posix/unistd.h (encrypt): Likewise.
47998 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
48000         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
48001         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
48002         DL_CALL_DT_FINI() that call the functions directly.
48003         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
48004         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
48005         * elf/dl-fini.c: Likewise.
48007 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
48009         * malloc/hooks.c (memalign_check): Add alignment rounding.
48010         * malloc/malloc.c (_mid_memalign): New function.
48011         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
48012         Implement by calling _mid_memalign.
48013         * manual/probes.texi (Memory Allocation Probes): Remove
48014         memory_valloc_retry and memory_pvalloc_retry.
48016 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
48018         * locale/programs/locarchive.c (open_archive): Add const
48019         qualifier to ARCHIVEFNAME and copy default fname to
48020         DEFAULT_FNAME.
48022         [BZ #15601]
48023         * libio/tst-widetext.input: Rename Oriya to Odia.
48024         * locale/iso-639.def: Likewise.
48026         * manual/probes.texi (Mathematical Function Probes): Add
48027         documentation for sin, cos, asin and acos probes.
48028         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
48029         (__sin32): Add slowasin probe.
48030         (__cos32): Add slowacos probe.
48031         (__mpsin): Add slowsin probe.
48032         (__mpcos): Add slowcos probe.
48034 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
48036         [BZ #15483]
48037         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
48038         thread-local __sim_exceptions_thread and global
48039         __sim_exceptions_global.
48040         (__sim_disabled_exceptions): Change to thread-local
48041         __sim_disabled_exceptions_thread and global
48042         __sim_disabled_exceptions_global.
48043         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
48044         and global __sim_round_mode_global.
48045         (__simulate_exceptions): Use thread-local floating-point state and
48046         set global state from it as needed.
48047         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
48048         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
48049         __sim_round_mode_thread.
48050         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
48051         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
48052         and global __sim_exceptions_global.
48053         (__sim_disabled_exceptions): Change to thread-local
48054         __sim_disabled_exceptions_thread and global
48055         __sim_disabled_exceptions_global.
48056         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
48057         and global __sim_round_mode_global.
48058         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
48059         (SIM_SET_GLOBAL): Likewise.
48060         * sysdeps/powerpc/soft-fp/sfp-machine.h
48061         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
48062         __sim_round_mode_thread.
48063         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
48064         __sim_disabled_exceptions_thread.
48065         (__sim_exceptions): Change to __sim_exceptions_thread.
48066         (__sim_disabled_exceptions): Change to
48067         __sim_disabled_exceptions_thread.
48068         (__sim_round_mode): Change to __sim_round_mode_thread.
48069         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
48070         thread-local floating-point state and set global state from it as
48071         needed.
48072         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
48073         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
48074         (__sim_disabled_exceptions): Remove extern declaration.
48075         (feenableexcept): Use thread-local floating-point state and set
48076         global state from it as needed.
48077         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
48078         extern declaration.
48079         (__sim_disabled_exceptions): Likewise.
48080         (__sim_round_mode): Likewise.
48081         (__fegetenv): Use thread-local floating-point state.
48082         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
48083         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
48084         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
48085         floating-point state and set global state from it as needed.
48086         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
48087         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
48088         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
48089         Likewise.
48090         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
48091         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
48092         Likewise.
48093         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
48094         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
48095         Use __sim_round_mode_thread.
48096         * math/test-fenv-tls.c: New file.
48097         * math/Makefile (tests): Add test-fenv-tls.
48098         ($(objpfx)test-fenv-tls): Depend on
48099         $(common-objpfx)nptl/libpthread.so.
48101 2013-11-19  Andreas Schwab  <schwab@suse.de>
48103         * locale/programs/locale.c (show_info): Decode wordarray elements.
48104         * locale/categories.def (LC_MONETARY): Add element for
48105         _NL_MONETARY_CRNCYSTR.
48106         * locale/C-monetary.c (conversion_rate): New variable.
48107         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
48108         element.
48110 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
48112         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
48113         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
48115 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
48117         * elf/Makefile (tst-auxv): New test.
48118         * elf/tst-auxv.c: New
48119         * elf/rtld.c (dl_main): Adjust AT_EXECFN
48121 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
48123         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
48124         (hidden_proto): Caller changed.
48125         (hidden_tls_proto): New macro.
48126         (libc_hidden_tls_proto): Likewise.
48127         (rtld_hidden_tls_proto): Likewise.
48128         (libm_hidden_tls_proto): Likewise.
48129         (libresolv_hidden_tls_proto): Likewise.
48130         (librt_hidden_tls_proto): Likewise.
48131         (libdl_hidden_tls_proto): Likewise.
48132         (libnss_files_hidden_tls_proto): Likewise.
48133         (libnsl_hidden_tls_proto): Likewise.
48134         (libnss_nisplus_hidden_tls_proto): Likewise.
48135         (libutil_hidden_tls_proto): Likewise.
48137 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
48139         [BZ #10253]
48140         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
48141         (decompose_rpath): Defer expansion to fillin_rpath.
48142         (_dl_init_paths): Pass linkmap to fillin_rpath.
48144 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
48146         * benchtests/Makefile: Add strsep.
48147         * benchtests/bench-strsep.c: New file: strsep benchtest.
48148         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
48150 2013-11-18  Andreas Schwab  <schwab@suse.de>
48152         * locale/programs/locale.c (show_info) [case byte]: Check for
48153         '\377' instead of '\177'.
48154         * locale/C-monetary.c (not_available): Always use "\377".
48155         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
48156         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
48157         detect unavailable sign_posn locale elements.
48158         * locale/localeconv.c (__localeconv): For grouping and
48159         mon_grouping handle "\177" and "\377" like no grouping.
48160         (INT_ELEM): New macro.  Use it to set all numeric members.
48161         * locale/programs/ld-monetary.c (monetary_read)
48162         <tok_mon_grouping>: Normalize single -1 to the empty string.
48163         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
48164         Likewise.
48166 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
48168         [BZ #16055]
48169         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
48170         when we match (nil).
48171         * stdio-common/tst-sscanf.c (struct test): Add testcase.
48173 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
48175         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
48176         (NO_TEST_INLINE): Update value.
48177         (ERRNO_UNCHANGED): Likewise.
48178         (ERRNO_EDOM): Likewise.
48179         (ERRNO_ERANGE): Likewise.
48180         (IGNORE_RESULT): Likewise.
48181         (check_float_internal): Check signs of NaN results if
48182         TEST_NAN_SIGN used.
48183         (check_complex): Pass TEST_NAN_SIGN flag through to second
48184         check_float_internal call.
48185         (copysign_test_data): Add tests with quiet NaNs as second
48186         argument.  Use TEST_NAN_SIGN.
48187         (fabs_test_data): Add test of negative quiet NaN argument.  Use
48188         TEST_NAN_SIGN.
48189         (signbit_test_data): Add tests of quiet NaN argument.
48190         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
48192         * math/gen-libm-test.pl (show_exceptions): Take extra argument
48193         $ignore_result.
48194         (parse_args): Handle function results specified as IGNORE.
48195         * math/libm-test.inc (IGNORE_RESULT): New macro.
48196         (check_float_internal): Do not check numerical result if flag
48197         IGNORE_RESULT set.
48198         (check_complex): Pass through IGNORE_RESULT to second
48199         check_float_internal call.
48200         (check_int): Do not check numerical result if flag IGNORE_RESULT
48201         set.
48202         (check_long): Likewise.
48203         (check_bool): Likewise.
48204         (check_longlong): Likewise.
48205         (lrint_test_data): Add tests of infinite and NaN arguments.
48206         (lrint_tonearest_test_data): Likewise.
48207         (lrint_towardzero_test_data): Likewise.
48208         (lrint_downward_test_data): Likewise.
48209         (lrint_upward_test_data): Likewise.
48210         (llrint_test_data): Likewise.
48211         (llrint_tonearest_test_data): Likewise.
48212         (llrint_towardzero_test_data): Likewise.
48213         (llrint_downward_test_data): Likewise.
48214         (llrint_upward_test_data): Likewise.
48215         (lround_test_data): Likewise.
48216         (llround_test_data): Likewise.
48218         * math/libm-test.inc (NO_TEST_INLINE): New macro.
48219         (ERRNO_UNCHANGED): Update value.
48220         (ERRNO_EDOM): Likewise.
48221         (ERRNO_ERANGE): Likewise.
48222         (NO_TEST_INLINE_FLOAT): New macro.
48223         (NO_TEST_INLINE_DOUBLE): Likewise.
48224         (enable_test): New function.
48225         (RUN_TEST_f_f): Check enable_test before running test.
48226         (RUN_TEST_2_f): Likewise.
48227         (RUN_TEST_fff_f): Likewise.
48228         (RUN_TEST_c_f): Likewise.
48229         (RUN_TEST_f_f1): Likewise.
48230         (RUN_TEST_fF_f1): Likewise.
48231         (RUN_TEST_fI_f1): Likewise.
48232         (RUN_TEST_ffI_f1): Likewise.
48233         (RUN_TEST_c_c): Likewise.
48234         (RUN_TEST_cc_c): Likewise.
48235         (RUN_TEST_f_i): Likewise.
48236         (RUN_TEST_f_i_tg): Likewise.
48237         (RUN_TEST_ff_i_tg): Likewise.
48238         (RUN_TEST_f_b): Likewise.
48239         (RUN_TEST_f_b_tg): Likewise.
48240         (RUN_TEST_f_l): Likewise.
48241         (RUN_TEST_f_L): Likewise.
48242         (RUN_TEST_fFF_11): Likewise.
48243         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
48244         conditionals.
48245         (cosh_test_data): Likewise.
48246         (exp_test_data): Likewise.
48247         (expm1_test_data): Likewise.
48248         (hypot_test_data): Likewise.
48249         (pow_test_data): Likewise.
48250         (sinh_test_data): Likewise.
48251         (tanh_test_data): Likewise.
48252         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
48253         flags argument.
48255         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
48256         tests with quiet NaN input and output.
48257         (acosh_test_data): Likewise.
48258         (asin_test_data): Likewise.
48259         (asinh_test_data): Likewise.
48260         (atan_test_data): Likewise.
48261         (atanh_test_data): Likewise.
48262         (atan2_test_data): Likewise.
48263         (cbrt_test_data): Likewise.
48264         (cos_test_data): Likewise.
48265         (cosh_test_data): Likewise.
48266         (erf_test_data): Likewise.
48267         (erfc_test_data): Likewise.
48268         (exp_test_data): Likewise.
48269         (exp10_test_data): Likewise.
48270         (exp2_test_data): Likewise.
48271         (expm1_test_data): Likewise.
48272         (hypot_test_data): Likewise.
48273         (j0_test_data): Likewise.
48274         (j1_test_data): Likewise.
48275         (jn_test_data): Likewise.
48276         (lgamma_test_data): Likewise.
48277         (log_test_data): Likewise.
48278         (log10_test_data): Likewise.
48279         (log1p_test_data): Likewise.
48280         (log2_test_data): Likewise.
48281         (pow_test_data): Likewise.
48282         (scalb_test_data): Likewise.
48283         (sin_test_data): Likewise.
48284         (sincos_test_data): Likewise.
48285         (sinh_test_data): Likewise.
48286         (tan_test_data): Likewise.
48287         (tanh_test_data): Likewise.
48288         (tgamma_test_data): Likewise.
48289         (y0_test_data): Likewise.
48290         (y1_test_data): Likewise.
48291         (yn_test_data): Likewise.
48293         [BZ #16167]
48294         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
48295         argument being NaN and avoid computations with second argument in
48296         that case.
48297         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
48298         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
48299         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
48301 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
48303         * locale/iso-639.def: Add Chitwani Tharu (the).
48305 2013-11-14  Andreas Schwab  <schwab@suse.de>
48307         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
48308         word instead of empty string.
48310 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
48313         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
48314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
48315         (__fe_nomask_env): Likewise.
48317 2013-11-13  Steve Ellcey  <sellcey@mips.com>
48319         * benchtests/bench-timing.h: Include time.h.
48321 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
48323         [BZ #15997]
48324         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
48325         to 3.4.0 for x32.
48326         * sysdeps/unix/sysv/linux/configure: Regenerated.
48328 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
48330         [BZ #16151]
48331         * stdlib/strtod_l.c (round_and_return): Do not consider
48332         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
48333         exponent one less than half the least subnormal exponent.
48334         * stdlib/test-strtod-round-data: Add more tests.
48335         * stdlib/tst-strtod-round.c (tests): Regenerated.
48337 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48339         [BZ #14143]
48340         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
48341         (__fe_mask_env): Likewise.
48342         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
48343         libm_hidden_proto and add function prototype.
48344         (__fe_mask_env): Add function prototype.
48345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
48346         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
48347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
48348         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
48349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
48350         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
48352 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48354         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
48355         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
48357 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48359         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
48360         of htab_find_slot().
48362 2013-11-11  David S. Miller  <davem@davemloft.net>
48364         [BZ #16150]
48365         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
48366         symbol in the non-vis3 case in static builds.
48367         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
48368         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
48369         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
48370         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
48372 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
48374         [BZ #387]
48375         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
48376         it is empty.
48378 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48380         * benchtests/Makefile: Add bench-strtod.
48381         * benchtests/bench-strtod.c: New file: strtod benchtest
48383 2013-11-11  Andreas Schwab  <schwab@suse.de>
48385         [BZ #16153]
48386         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
48387         terminating NUL in key length.
48389 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48391         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
48392         Add artificial ODP entry for vDSO symbol for PPC64.
48393         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
48394         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
48396 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
48398         [BZ #15374]
48399         * nss/getent.c (services_keys): Recognize services starting with digit.
48401 2013-11-06  David S. Miller  <davem@davemloft.net>
48403         [BZ #15985]
48404         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
48405         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
48407 2013-11-06  Will Newton  <will.newton@linaro.org>
48409         * manual/memory.texi (Malloc Examples): Remove register
48410         keyword from examples.
48412 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
48414         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
48416 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
48418         [BZ #6981]
48419         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
48420         depending on [__GCC_IEC_559 > 0].
48421         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
48422         depending on [__GCC_IEC_559_COMPLEX > 0].
48424 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
48426         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
48427         to iso-639.def.
48429 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
48431         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
48433 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
48435         [BZ #16112]
48436         * malloc/malloc (malloc_info): Do not handle first bin as
48437         special case.
48439 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
48441         * locale/iso-639.def: Add Central Nahuatl (nhn).
48443 2013-11-01  Bruno Haible  <bruno@clisp.org>
48445         [BZ #7003]
48446         * manual/math.texi (BSD Random): Specify range upper bound as
48447         in POSIX.
48449 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
48451         * locale/iso-639.def: Add Meadow Mari (mhr).
48453 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
48455         [BZ #14752], [BZ #15763]
48456         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
48457         Validate name.
48458         * rt/tst_shm.c: Add test for escaping directory.
48460 2013-10-31  Andreas Schwab  <schwab@suse.de>
48462         [BZ #15917]
48463         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
48464         followed by 'x' as part of digit sequence.
48465         * stdio-common/tst-sscanf.c (double_tests2): New tests.
48467 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
48469         [BZ #16037]
48470         * configure.ac: allow GNU Make 4.0 and greater.
48471         * configure: Regenerated.
48473 2013-10-30  Will Newton  <will.newton@linaro.org>
48475         [BZ #16038]
48476         * malloc/hooks.c (memalign_check): Limit alignment to the
48477         maximum representable power of two.
48478         * malloc/malloc.c (__libc_memalign): Likewise.
48479         * malloc/tst-memalign.c (do_test): Add test for very
48480         large alignment values.
48481         * malloc/tst-posix_memalign.c (do_test): Likewise.
48483 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
48485         [BZ #11087]
48486         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
48487         (munmap_chunk): Likewise.
48488         (mremap_chunk): Likewise.
48490 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
48492         [BZ #15799]
48493         * stdlib/div.c (div): Remove obsolete code.
48494         * stdlib/ldiv.c (ldiv): Likewise.
48495         * stdlib/lldiv.c (lldiv): Likewise.
48497 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
48499         [BZ #16071]
48500         * nss/nss_files/files-XXX.c (get_contents_ret): New
48501         enumerator.
48502         (get_contents): New function.
48503         (internal_getent): Use it.  Expand size of LINEBUFLEN.
48505 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
48507         * configure.in: Moved to ...
48508         * configure.ac: ... here. Change reference to configure.in
48509         to configure.ac.
48510         * sysdeps/arm/preconfigure.ac: ... here.
48511         configure.in to configure.ac.
48512         * sysdeps/gnu/configure.in: Moved to ...
48513         * sysdeps/gnu/configure.ac: ... here.
48514         * sysdeps/i386/configure.in: Moved to ...
48515         * sysdeps/i386/configure.ac: ... here.
48516         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
48517         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
48518         * sysdeps/mach/configure.in: Moved to ...
48519         * sysdeps/mach/configure.ac: ... here.
48520         * sysdeps/mach/hurd/configure.in: Moved to ...
48521         * sysdeps/mach/hurd/configure.ac: ... here.
48522         * sysdeps/powerpc/configure.in: Moved to ...
48523         * sysdeps/powerpc/configure.ac: ... here.
48524         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
48525         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
48526         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
48527         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
48528         * sysdeps/s390/s390-32/configure.in: Moved to ...
48529         * sysdeps/s390/s390-32/configure.ac: ... here.
48530         * sysdeps/s390/s390-64/configure.in: Moved to ...
48531         * sysdeps/s390/s390-64/configure.ac: ... here.
48532         * sysdeps/sh/configure.in: Moved to ...
48533         * sysdeps/sh/configure.ac: ... here.
48534         * sysdeps/sparc/configure.in: Moved to ...
48535         * sysdeps/sparc/configure.ac: ... here.
48536         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
48537         * sysdeps/unix/sysv/linux/configure.ac: ... here.
48538         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
48539         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
48540         * sysdeps/x86_64/configure.in: Moved to ...
48541         * sysdeps/x86_64/configure.ac: ... here.
48542         * sysdeps/x86_64/preconfigure.in: Moved to ...
48543         * sysdeps/x86_64/preconfigure.ac: ... here.
48544         * aclocal.m4: Change reference to configure.in to configure.ac.
48545         * config.h.in: Likewise.
48546         * manual/install.texi: Likewise.
48547         * manual/maint.texi: Likewise.
48548         * Makefile: Likewise.
48549         * malloc/Makefile: Likewise.
48550         * nscd/Makefile: Likewise.
48551         * Makeconfig: Change reference to configure.in and
48552         preconfigure.in to configure.ac and preconfigure.ac
48553         respectively.
48554         * INSTALL: Regenerated.
48555         * configure: Likewise.
48556         * sysdeps/gnu/configure: Likewise.
48557         * sysdeps/i386/configure: Likewise.
48558         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
48559         * sysdeps/mach/configure: Likewise.
48560         * sysdeps/mach/hurd/configure: Likewise.
48561         * sysdeps/powerpc/configure: Likewise.
48562         * sysdeps/powerpc/powerpc32/configure: Likewise.
48563         * sysdeps/powerpc/powerpc64/configure: Likewise.
48564         * sysdeps/s390/s390-32/configure: Likewise.
48565         * sysdeps/s390/s390-64/configure: Likewise.
48566         * sysdeps/sh/configure: Likewise.
48567         * sysdeps/sparc/configure: Likewise.
48568         * sysdeps/unix/sysv/linux/configure: Likewise.
48569         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
48570         * sysdeps/x86_64/configure: Likewise.
48571         * sysdeps/x86_64/preconfigure: Likewise.
48573 2013-10-29  Andreas Schwab  <schwab@suse.de>
48575         * stdio-common/Makefile (tst-swscanf-ENV): Define.
48577 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48579         * benchtests/pow-inputs: Add new inputs.
48581         * benchtests/exp-inputs: Add new inputs.
48583         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
48584         conditional check for return value.
48585         (__cos32): Likewise.
48587 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48589         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
48590         to provide a boost for large inputs with word alignment.
48591         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
48592         implementation based on optimized PPC64 strcpy.
48593         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
48594         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
48595         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
48596         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
48598 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
48600         [BZ #2801]
48601         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
48603 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
48605         [BZ #14876]
48606         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
48607         * time/tst-strptime.c (day_tests): Add testcase.
48609 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
48611         [BZ #14029]
48612         * manual/pattern.texi: Acknowledge that fnmatch can fail.
48614 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
48616         [BZ #16074]
48617         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
48618         MAP_FAILED on error.
48620 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
48622         [BZ #16072]
48623         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
48624         heap for large requests.
48626 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
48628         [BZ #9954]
48629         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
48630         result if the result has no associated interface.
48631         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
48632         interface for all 127.X.Y.Z addresses.
48634 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
48636         * locale/iso-639.def: Add Ligurian (lij)
48638 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
48640         [BZ #15825]
48641         * sunrpc/rpc_main.c: Document rpcgen -5.
48643 2013-10-19  Michael Stahl  <mstahl@redhat.com>
48645         * elf/rtld.c (do_preload): Print the reason why preloading failed.
48647 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
48649         [BZ #10278]
48650         * posix/glob.c: Match only directories when trailing slash is present.
48651         * posix/tst-gnuglob.c (my_opendir): Do not open files.
48652         (main): Add testcase.
48654 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
48656         [BZ #15670]
48657         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
48659 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
48661         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
48662         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
48663         AUTH_DES and cindex for FIPS 140-2.
48664         (DES Encryption): Add cindex FIPS 46-3.
48666         * locale/locarchive.h (struct locarhandle): Add fname.
48667         * locale/programs/localedef.c (main): Pass ARGV[remaining]
48668         if an optional argument was specified to --list-archive,
48669         otherwise NULL.
48670         * locale/programs/locarchive.c (show_archive_content): Take new
48671         argument fname and pass it via ah.fname to open_archive.
48672         * locale/programs/localedef.h: Update decl.
48673         (open_archive): If AH->fname is non-null, open that file
48674         rather than the default file name, and don't ignore ENOENT.
48675         (create_archive): Set AH.fname to NULL.
48676         (delete_locales_from_archive): Likewise.
48677         (add_locales_to_archive): Likewise.
48678         * locale/programs/locfile.c (write_all_categories): Likewise.
48680 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
48681             Aldy Hernandez  <aldyh@redhat.com>
48683         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
48684         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
48685         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
48686         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
48687         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
48688         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
48689         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
48690         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
48691         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
48692         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
48693         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
48694         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
48695         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
48696         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
48697         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
48698         Likewise.
48699         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
48700         Likewise.
48701         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
48702         Likewise.
48703         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
48704         Likewise.
48705         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
48706         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
48707         Likewise.
48708         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
48709         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
48710         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
48711         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
48712         Likewise.
48713         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
48714         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
48715         * sysdeps/powerpc/preconfigure: Likewise.
48716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
48717         Likewise.
48718         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
48719         Replace contents of file by #include of <fenv_libc.h>.
48720         * sysdeps/powerpc/soft-fp/sfp-machine.h
48721         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
48722         and <sys/prctl.h>.
48723         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
48724         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
48725         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
48726         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
48727         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
48728         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
48729         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
48730         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
48731         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
48732         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
48733         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
48734         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
48735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
48736         Allow copysignl PLT reference to be missing.
48738 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
48739             Joseph Myers  <joseph@codesourcery.com
48741         [BZ #15948]
48742         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
48743         single character.
48744         (add_to_tablewc): Assert sequence of wide characters is nonempty.
48746 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
48748         * elf/tst-tls-dlinfo.c: Don't include tls.h.
48749         * elf/tst-tls1.c: Likewise.
48750         * elf/tst-tls10.h: Likewise.
48751         * elf/tst-tls14.c: Likewise.
48752         * elf/tst-tls2.c: Likewise.
48753         * elf/tst-tls3.c: Likewise.
48754         * elf/tst-tls4.c: Likewise.
48755         * elf/tst-tls5.c: Likewise.
48756         * elf/tst-tls6.c: Likewise.
48757         * elf/tst-tls7.c: Likewise.
48758         * elf/tst-tls8.c: Likewise.
48759         * elf/tst-tls9.c: Likewise.
48760         * elf/tst-tlsmod1.c: Likewise.
48761         * elf/tst-tlsmod13.c: Likewise.
48762         * elf/tst-tlsmod13a.c: Likewise.
48763         * elf/tst-tlsmod14a.c: Likewise.
48764         * elf/tst-tlsmod16a.c: Likewise.
48765         * elf/tst-tlsmod16b.c: Likewise.
48766         * elf/tst-tlsmod2.c: Likewise.
48767         * elf/tst-tlsmod3.c: Likewise.
48768         * elf/tst-tlsmod4.c: Likewise.
48769         * elf/tst-tlsmod5.c: Likewise.
48770         * elf/tst-tlsmod6.c: Likewise.
48772 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
48774         [BZ #12486]
48775         * malloc/malloc.c: remove checks for statistics.
48777 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
48779         [BZ #15277]
48780         * inet/inet_net.c (inet_network): Detect additional invalid strings.
48781         * inet/tst-network.c: Add testcase.
48783 2013-10-17  Andreas Schwab  <schwab@suse.de>
48785         [BZ #15218]
48786         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
48787         to determine canonical name.
48789 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
48791         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
48792         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
48793         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48794         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48795         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48796         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48797         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48798         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48799         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
48800         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48801         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
48802         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48803         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48804         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48805         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48806         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48807         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48808         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48809         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
48810         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48811         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48812         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48813         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48814         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
48815         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
48816         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
48817         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
48818         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
48819         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
48820         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
48821         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48822         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48823         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
48824         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48825         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48826         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48827         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48828         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48829         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48830         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48831         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48832         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
48833         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
48834         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48835         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
48836         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48837         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48838         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
48839         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
48840         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48841         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
48842         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48843         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
48844         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
48845         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48846         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
48847         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48848         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48850 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
48852         [BZ #16041]
48853         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
48854         make result into a quiet NaN.
48856 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
48858         * soft-fp/adddf3.c: Fix horizontal whitespace.
48859         * soft-fp/addsf3.c: Likewise.
48860         * soft-fp/addtf3.c: Likewise.
48861         * soft-fp/divdf3.c: Likewise.
48862         * soft-fp/divsf3.c: Likewise.
48863         * soft-fp/divtf3.c: Likewise.
48864         * soft-fp/double.h: Likewise.
48865         * soft-fp/eqdf2.c: Likewise.
48866         * soft-fp/eqsf2.c: Likewise.
48867         * soft-fp/eqtf2.c: Likewise.
48868         * soft-fp/extenddftf2.c: Likewise.
48869         * soft-fp/extended.h: Likewise.
48870         * soft-fp/extendsfdf2.c: Likewise.
48871         * soft-fp/extendsftf2.c: Likewise.
48872         * soft-fp/extendxftf2.c: Likewise.
48873         * soft-fp/fixdfdi.c: Likewise.
48874         * soft-fp/fixdfsi.c: Likewise.
48875         * soft-fp/fixdfti.c: Likewise.
48876         * soft-fp/fixsfdi.c: Likewise.
48877         * soft-fp/fixsfsi.c: Likewise.
48878         * soft-fp/fixsfti.c: Likewise.
48879         * soft-fp/fixtfdi.c: Likewise.
48880         * soft-fp/fixtfsi.c: Likewise.
48881         * soft-fp/fixtfti.c: Likewise.
48882         * soft-fp/fixunsdfdi.c: Likewise.
48883         * soft-fp/fixunsdfsi.c: Likewise.
48884         * soft-fp/fixunsdfti.c: Likewise.
48885         * soft-fp/fixunssfdi.c: Likewise.
48886         * soft-fp/fixunssfsi.c: Likewise.
48887         * soft-fp/fixunssfti.c: Likewise.
48888         * soft-fp/fixunstfdi.c: Likewise.
48889         * soft-fp/fixunstfsi.c: Likewise.
48890         * soft-fp/fixunstfti.c: Likewise.
48891         * soft-fp/floatdidf.c: Likewise.
48892         * soft-fp/floatdisf.c: Likewise.
48893         * soft-fp/floatditf.c: Likewise.
48894         * soft-fp/floatsidf.c: Likewise.
48895         * soft-fp/floatsisf.c: Likewise.
48896         * soft-fp/floatsitf.c: Likewise.
48897         * soft-fp/floattidf.c: Likewise.
48898         * soft-fp/floattisf.c: Likewise.
48899         * soft-fp/floattitf.c: Likewise.
48900         * soft-fp/floatundidf.c: Likewise.
48901         * soft-fp/floatundisf.c: Likewise.
48902         * soft-fp/floatunditf.c: Likewise.
48903         * soft-fp/floatunsidf.c: Likewise.
48904         * soft-fp/floatunsisf.c: Likewise.
48905         * soft-fp/floatunsitf.c: Likewise.
48906         * soft-fp/floatuntidf.c: Likewise.
48907         * soft-fp/floatuntisf.c: Likewise.
48908         * soft-fp/floatuntitf.c: Likewise.
48909         * soft-fp/fmadf4.c: Likewise.
48910         * soft-fp/fmasf4.c: Likewise.
48911         * soft-fp/fmatf4.c: Likewise.
48912         * soft-fp/gedf2.c: Likewise.
48913         * soft-fp/gesf2.c: Likewise.
48914         * soft-fp/getf2.c: Likewise.
48915         * soft-fp/ledf2.c: Likewise.
48916         * soft-fp/lesf2.c: Likewise.
48917         * soft-fp/letf2.c: Likewise.
48918         * soft-fp/muldf3.c: Likewise.
48919         * soft-fp/mulsf3.c: Likewise.
48920         * soft-fp/multf3.c: Likewise.
48921         * soft-fp/negdf2.c: Likewise.
48922         * soft-fp/negsf2.c: Likewise.
48923         * soft-fp/negtf2.c: Likewise.
48924         * soft-fp/op-1.h: Likewise.
48925         * soft-fp/op-2.h: Likewise.
48926         * soft-fp/op-4.h: Likewise.
48927         * soft-fp/op-8.h: Likewise.
48928         * soft-fp/op-common.h: Likewise.
48929         * soft-fp/quad.h: Likewise.
48930         * soft-fp/single.h: Likewise.
48931         * soft-fp/soft-fp.h: Likewise.
48932         * soft-fp/sqrtdf2.c: Likewise.
48933         * soft-fp/sqrtsf2.c: Likewise.
48934         * soft-fp/sqrttf2.c: Likewise.
48935         * soft-fp/subdf3.c: Likewise.
48936         * soft-fp/subsf3.c: Likewise.
48937         * soft-fp/subtf3.c: Likewise.
48938         * soft-fp/truncdfsf2.c: Likewise.
48939         * soft-fp/trunctfdf2.c: Likewise.
48940         * soft-fp/trunctfsf2.c: Likewise.
48941         * soft-fp/trunctfxf2.c: Likewise.
48942         * soft-fp/unorddf2.c: Likewise.
48943         * soft-fp/unordsf2.c: Likewise.
48944         * soft-fp/unordtf2.c: Likewise.
48946 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
48948         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
48949         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
48951 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
48953         * elf/dl-libc.c: Clear initfini list after freeing.
48955 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
48957         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
48958         * soft-fp/addsf3.c: Likewise.
48959         * soft-fp/addtf3.c: Likewise.
48960         * soft-fp/divdf3.c: Likewise.
48961         * soft-fp/divsf3.c: Likewise.
48962         * soft-fp/divtf3.c: Likewise.
48963         * soft-fp/double.h: Likewise.
48964         * soft-fp/eqdf2.c: Likewise.
48965         * soft-fp/eqsf2.c: Likewise.
48966         * soft-fp/eqtf2.c: Likewise.
48967         * soft-fp/extenddftf2.c: Likewise.
48968         * soft-fp/extended.h: Likewise.
48969         * soft-fp/extendsfdf2.c: Likewise.
48970         * soft-fp/extendsftf2.c: Likewise.
48971         * soft-fp/extendxftf2.c: Likewise.
48972         * soft-fp/fixdfdi.c: Likewise.
48973         * soft-fp/fixdfsi.c: Likewise.
48974         * soft-fp/fixdfti.c: Likewise.
48975         * soft-fp/fixsfdi.c: Likewise.
48976         * soft-fp/fixsfsi.c: Likewise.
48977         * soft-fp/fixsfti.c: Likewise.
48978         * soft-fp/fixtfdi.c: Likewise.
48979         * soft-fp/fixtfsi.c: Likewise.
48980         * soft-fp/fixtfti.c: Likewise.
48981         * soft-fp/fixunsdfdi.c: Likewise.
48982         * soft-fp/fixunsdfsi.c: Likewise.
48983         * soft-fp/fixunsdfti.c: Likewise.
48984         * soft-fp/fixunssfdi.c: Likewise.
48985         * soft-fp/fixunssfsi.c: Likewise.
48986         * soft-fp/fixunssfti.c: Likewise.
48987         * soft-fp/fixunstfdi.c: Likewise.
48988         * soft-fp/fixunstfsi.c: Likewise.
48989         * soft-fp/fixunstfti.c: Likewise.
48990         * soft-fp/floatdidf.c: Likewise.
48991         * soft-fp/floatdisf.c: Likewise.
48992         * soft-fp/floatditf.c: Likewise.
48993         * soft-fp/floatsidf.c: Likewise.
48994         * soft-fp/floatsisf.c: Likewise.
48995         * soft-fp/floatsitf.c: Likewise.
48996         * soft-fp/floattidf.c: Likewise.
48997         * soft-fp/floattisf.c: Likewise.
48998         * soft-fp/floattitf.c: Likewise.
48999         * soft-fp/floatundidf.c: Likewise.
49000         * soft-fp/floatundisf.c: Likewise.
49001         * soft-fp/floatunsidf.c: Likewise.
49002         * soft-fp/floatunsisf.c: Likewise.
49003         * soft-fp/floatuntidf.c: Likewise.
49004         * soft-fp/floatuntisf.c: Likewise.
49005         * soft-fp/floatuntitf.c: Likewise.
49006         * soft-fp/fmadf4.c: Likewise.
49007         * soft-fp/fmasf4.c: Likewise.
49008         * soft-fp/fmatf4.c: Likewise.
49009         * soft-fp/gedf2.c: Likewise.
49010         * soft-fp/gesf2.c: Likewise.
49011         * soft-fp/getf2.c: Likewise.
49012         * soft-fp/ledf2.c: Likewise.
49013         * soft-fp/lesf2.c: Likewise.
49014         * soft-fp/letf2.c: Likewise.
49015         * soft-fp/muldf3.c: Likewise.
49016         * soft-fp/mulsf3.c: Likewise.
49017         * soft-fp/multf3.c: Likewise.
49018         * soft-fp/negdf2.c: Likewise.
49019         * soft-fp/negsf2.c: Likewise.
49020         * soft-fp/negtf2.c: Likewise.
49021         * soft-fp/op-1.h: Likewise.
49022         * soft-fp/op-2.h: Likewise.
49023         * soft-fp/op-4.h: Likewise.
49024         * soft-fp/op-8.h: Likewise.
49025         * soft-fp/op-common.h: Likewise.
49026         * soft-fp/quad.h: Likewise.
49027         * soft-fp/single.h: Likewise.
49028         * soft-fp/soft-fp.h: Likewise.
49029         * soft-fp/sqrtdf2.c: Likewise.
49030         * soft-fp/sqrtsf2.c: Likewise.
49031         * soft-fp/sqrttf2.c: Likewise.
49032         * soft-fp/subdf3.c: Likewise.
49033         * soft-fp/subsf3.c: Likewise.
49034         * soft-fp/subtf3.c: Likewise.
49035         * soft-fp/truncdfsf2.c: Likewise.
49036         * soft-fp/trunctfdf2.c: Likewise.
49037         * soft-fp/trunctfsf2.c: Likewise.
49038         * soft-fp/trunctfxf2.c: Likewise.
49039         * soft-fp/unorddf2.c: Likewise.
49040         * soft-fp/unordsf2.c: Likewise.
49041         * soft-fp/unordtf2.c: Likewise.
49043 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
49045         [BZ #15672]
49046         * misc/error.c (error_tail): Fix possible buffer overflow.
49048 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
49050         [BZ #13028]
49051         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
49052         address.
49054 2013-10-14  P. J. McDermott  <pj@pehjota.net>
49056         [BZ #832]
49057         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
49058         testing pipefail option.
49060 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
49062         * soft-fp/double.h: Indent preprocessor directives inside #if.
49063         * soft-fp/extended.h: Likewise.
49064         * soft-fp/op-2.h: Likewise.
49065         * soft-fp/op-4.h: Likewise.
49066         * soft-fp/op-common.h: Likewise.
49067         * soft-fp/quad.h: Likewise.
49068         * soft-fp/single.h: Likewise.
49069         * soft-fp/soft-fp.h: Likewise.
49071 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
49073         * iconv/iconv_prog.c: Fix typos.
49074         * stdio-common/psiginfo-data.h: Likewise.
49076 2013-10-12   Reuben Thomas <rrt@sc3d.org>
49078         [BZ #15764]
49079         * locale/setlocale.c: Fix typo.
49081 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
49083         [BZ #16036]
49084         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
49085         signaling NaN arguments.
49086         * soft-fp/unordsf2.c (__unordsf2): Likewise.
49087         * soft-fp/unordtf2.c (__unordtf2): Likewise.
49089         [BZ #14910]
49090         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
49091         unordered operands.
49092         * soft-fp/gesf2.c (__gesf2): Likewise.
49093         * soft-fp/getf2.c (__getf2): Likewise.
49094         * soft-fp/ledf2.c (__ledf2): Likewise.
49095         * soft-fp/lesf2.c (__lesf2): Likewise.
49096         * soft-fp/letf2.c (__letf2): Likewise.
49098         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
49099         * soft-fp/eqsf2.c (__eqsf2): Likewise.
49100         * soft-fp/eqtf2.c (__eqtf2): Likewise.
49101         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
49102         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
49103         * soft-fp/fixdfti.c (__fixdfti): Likewise.
49104         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
49105         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
49106         * soft-fp/fixsfti.c (__fixsfti): Likewise.
49107         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
49108         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
49109         * soft-fp/fixtfti.c (__fixtfti): Likewise.
49110         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
49111         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
49112         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
49113         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
49114         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
49115         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
49116         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
49117         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
49118         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
49119         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
49120         * soft-fp/floatdisf.c (__floatdisf): Likewise.
49121         * soft-fp/floatsisf.c (__floatsisf): Likewise.
49122         * soft-fp/floattidf.c (__floattidf): Likewise.
49123         * soft-fp/floattisf.c (__floattisf): Likewise.
49124         * soft-fp/floattitf.c (__floattitf): Likewise.
49125         * soft-fp/floatundidf.c (__floatundidf): Likewise.
49126         * soft-fp/floatundisf.c (__floatundisf): Likewise.
49127         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
49128         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
49129         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
49130         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
49131         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
49132         * soft-fp/gesf2.c (__gesf2): Likewise.
49133         * soft-fp/getf2.c (__getf2): Likewise.
49134         * soft-fp/ledf2.c (__ledf2): Likewise.
49135         * soft-fp/lesf2.c (__lesf2): Likewise.
49136         * soft-fp/letf2.c (__letf2): Likewise.
49138         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
49139         Undefine and redefine.
49140         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
49141         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
49142         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
49143         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
49144         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49145         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
49146         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49147         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
49148         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49149         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
49150         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49151         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
49152         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49153         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
49154         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49156         [BZ #16032]
49157         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
49158         without decrementing exponent if mantissa >= that for the
49159         denominator, not >.
49160         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
49161         denominator, not >.  Decrement exponent in < case instead of
49162         incrementing in >= case.
49163         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
49164         without decrementing exponent if mantissa >= that for the
49165         denominator, not >.
49167         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
49168         computing saturated result for unsigned overflow.
49170 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49171             Jeff Law  <law@redhat.com>
49173         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
49174         (atan2Mp): Add systemtap probe marker.
49175         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
49176         (__ieee754_log): Add systemtap probe marker.
49177         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
49178         (atanMp): Add systemtap probe marker.
49179         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
49180         (tanMp): Add systemtap probe marker.
49181         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
49182         (__slowexp): Add systemtap probe marker.
49183         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
49184         (__slowpow): Add systemtap probe marker.
49185         * manual/probes.texi: Document probes.
49187 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
49189         [BZ #15362]
49190         * libio/fileops.c (_IO_new_file_write): Return count of bytes
49191         written.
49192         (_IO_new_file_xsputn): Don't return EOF if nothing has been
49193         written.
49194         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
49195         written to buffer but not flushed.
49196         * libio/iofwrite_u.c:  Likewise.
49197         * libio/iopadn.c:  Return bytes returned even if EOF was
49198         encountered.
49199         * libio/iowpadn.c:  Likewise.
49200         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
49201         if _IO_padn does not write the whole buffer.
49202         [!COMPILE_WPRINTF] (PAD): Likewise.
49204 2013-10-10  David S. Miller  <davem@davemloft.net>
49206         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
49207         directory block.
49209 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
49211         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
49212         instead of FSF address.
49213         * soft-fp/fixdfti.c: Likewise.
49214         * soft-fp/fixsfti.c: Likewise.
49215         * soft-fp/fixtfti.c: Likewise.
49216         * soft-fp/fixunsdfti.c: Likewise.
49217         * soft-fp/fixunssfti.c: Likewise.
49218         * soft-fp/fixunstfti.c: Likewise.
49219         * soft-fp/floattidf.c: Likewise.
49220         * soft-fp/floattisf.c: Likewise.
49221         * soft-fp/floattitf.c: Likewise.
49222         * soft-fp/floatuntidf.c: Likewise.
49223         * soft-fp/floatuntisf.c: Likewise.
49224         * soft-fp/floatuntitf.c: Likewise.
49225         * soft-fp/trunctfxf2.c: Likewise.
49227         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
49228         * soft-fp/fixdfti.c: Likewise.
49229         * soft-fp/fixsfti.c: Likewise.
49230         * soft-fp/fixtfti.c: Likewise.
49231         * soft-fp/fixunsdfti.c: Likewise.
49232         * soft-fp/fixunssfti.c: Likewise.
49233         * soft-fp/fixunstfti.c: Likewise.
49234         * soft-fp/floattidf.c: Likewise.
49235         * soft-fp/floattisf.c: Likewise.
49236         * soft-fp/floattitf.c: Likewise.
49237         * soft-fp/floatuntidf.c: Likewise.
49238         * soft-fp/floatuntisf.c: Likewise.
49239         * soft-fp/floatuntitf.c: Likewise.
49240         * soft-fp/trunctfxf2.c: Likewise.
49242 2013-10-10  David S. Miller  <davem@davemloft.net>
49244         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49246 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
49248         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
49249         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
49250         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
49251         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
49252         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
49253         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
49254         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
49256         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
49257         for NaNs before doing comparisons on argument.
49258         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
49259         Likewise.
49261 2013-10-10  Will Newton  <will.newton@linaro.org>
49263         * malloc/hooks.c (memalign_check): Ensure the value of bytes
49264         passed to _int_memalign does not overflow.
49266 2013-10-10  Torvald Riegel  <triegel@redhat.com>
49268         * scripts/bench.pl: Add include-sources directive.
49269         * benchtests/README: Update documentation.
49271 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
49273         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
49274         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
49275         instead of FP_INIT_ROUNDMODE.
49276         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
49277         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
49279         [BZ #16034]
49280         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
49281         copy class of input value.
49282         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
49283         not handle exceptions.
49284         * soft-fp/negsf2.c (__negsf2): Likewise.
49285         * soft-fp/negtf2.c (__negtf2): Likewise.
49286         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
49288 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
49290         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
49291         semicolon.  From Linux kernel.
49293 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
49295         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
49297 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
49299         [BZ #156]
49300         * manual/socket.texi: Added statement about buffer
49301         for gethostbyname2_r.
49303 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
49305         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
49306         Use .p2align directive instead, throughout.
49307         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
49308         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
49309         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
49310         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
49311         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
49312         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
49313         * sysdeps/x86_64/strchr.S: Likewise.
49314         * sysdeps/x86_64/strrchr.S: Likewise.
49316 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
49318         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
49320         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
49322         * sysdeps/generic/math_private.h (__mpsin1): Remove
49323         declaration.
49324         (__mpcos1): Likewise.
49325         (__mpsin): New argument __range_reduce.
49326         (__mpcos): Likewise.
49327         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49328         (slow): Use __mpsin and __mpcos.
49329         (slow1): Likewise.
49330         (slow2): Likewise.
49331         (sloww): Likewise.
49332         (sloww1): Likewise.
49333         (sloww2): Likewise.
49334         (bsloww): Likewise.
49335         (bsloww1): Likewise.
49336         (bsloww2): Likewise.
49337         (cslow2): Likewise.
49338         (csloww): Likewise.
49339         (csloww1): Likewise.
49340         (csloww2): Likewise.
49341         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
49342         range_reduce.  Merge in __mpsin1.
49343         (__mpcos): Likewise.
49344         (__mpsin1): Remove.
49345         (__mpcos1): Likewise.
49347 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
49349         * locale/loadlocale.c (_nl_intern_locale_data): Use
49350         LOCFILE_ALIGNED_P.
49351         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
49352         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
49353         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
49354         obstack data is appropriately aligned.
49355         (obstack_int32_grow_fast): Likewise.
49356         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
49357         * locale/programs/locfile.c (add_locale_uint32): Likewise.
49358         (add_locale_uint32_array): Likewise.
49360 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
49362         * benchtests/Makefile: Remove ARGLIST and RET variables.
49363         ($(objpfx)bench-%.c): Pass only function name to the script.
49364         * benchtests/README: Update documentation.
49365         * benchtests/acos-inputs: Add new directives.
49366         * benchtests/acosh-inputs: Likewise.
49367         * benchtests/asin-inputs: Likewise.
49368         * benchtests/asinh-inputs: Likewise.
49369         * benchtests/atan-inputs: Likewise.
49370         * benchtests/atanh-inputs: Likewise.
49371         * benchtests/cos-inputs: Likewise.
49372         * benchtests/cosh-inputs: Likewise.
49373         * benchtests/exp-inputs: Likewise.
49374         * benchtests/log-inputs: Likewise.
49375         * benchtests/pow-inputs: Likewise.
49376         * benchtests/rint-inputs: Likewise.
49377         * benchtests/sin-inputs: Likewise.
49378         * benchtests/sinh-inputs: Likewise.
49379         * benchtests/tan-inputs: Likewise.
49380         * benchtests/tanh-inputs: Likewise.
49381         * scripts/bench.pl: Add support for new directives.
49383 2013-10-07  Alan Modra  <amodra@gmail.com>
49385         * README: Fix careless merge.
49387 2013-10-05  Alan Modra  <amodra@gmail.com>
49389         * NEWS: Mention powerpc64le support and bugs fixed.
49390         * README: Both big-endian and little-endian powerpc64 supported.
49392 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49394         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
49395         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
49396         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
49397         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
49399 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
49401         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
49402         match prototype.
49404 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
49406         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
49407         Move -mhard-float appending from
49408         ports/sysdeps/powerpc/powerpc32/Makefile.
49409         [$(with-fp) = yes] (ASFLAGS): Likewise.
49410         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
49411         * sysdeps/powerpc/nofpu: Move directory from
49412         ports/sysdeps/powerpc/nofpu.
49413         * sysdeps/powerpc/soft-fp: Move directory from
49414         ports/sysdeps/powerpc/soft-fp.
49415         * sysdeps/powerpc/powerpc32/405: Move directory from
49416         ports/sysdeps/powerpc/powerpc32/405.
49417         * sysdeps/powerpc/powerpc32/440: Move directory from
49418         ports/sysdeps/powerpc/powerpc32/440.
49419         * sysdeps/powerpc/powerpc32/464: Move directory from
49420         ports/sysdeps/powerpc/powerpc32/464.
49421         * sysdeps/powerpc/powerpc32/476: Move directory from
49422         ports/sysdeps/powerpc/powerpc32/476.
49423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
49424         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
49425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
49426         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
49427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
49428         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
49429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
49430         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
49431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
49432         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
49433         * README: Update for powerpc-*-linux-gnu software floating point
49434         support in libc.
49436         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
49437         case to powerpc/powerpc32*.
49438         * sysdeps/unix/sysv/linux/configure: Regenerated.
49440         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
49441         (_FPU_MASK_OM): Define as 0x04.
49442         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
49443         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
49444         0x00c10080.
49445         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
49446         0x0000003c.
49447         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
49449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
49450         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
49451         getcontext_e500.
49452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
49453         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
49454         setcontext_e500.
49455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
49456         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
49457         and setcontext_e500.
49459 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
49461         * locale/iso-3166.def: Update iso-1366.def and related occurrences
49463 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49465         * manual/threads.texi (Default Thread Attributes): Fix typo.
49467 2013-10-04  Will Newton  <will.newton@linaro.org>
49469         * malloc/Makefile: Add tst-memalign.
49470         * malloc/tst-memalign.c: New file.
49472         * malloc/tst-posix_memalign.c: Add comments.
49473         (do_test): Add comments and call free on all potentially
49474         allocated pointers. Add space after cast.
49476         * malloc/tst-pvalloc.c: Add comments.
49477         (do_test): Add comments and call free on all potentially
49478         allocated pointers. Remove duplicate check for NULL pointer.
49479         Add space after cast.
49481         * malloc/tst-valloc.c: Add comments.
49482         (do_test): Add comments and call free on all potentially
49483         allocated pointers. Remove duplicate check for NULL pointer.
49484         Add space after cast.
49486 2013-10-04  Alan Modra  <amodra@gmail.com>
49488         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
49489         Use stdint types in rather than __attribute__((mode())).
49490         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
49492 2013-10-04  Alan Modra  <amodra@gmail.com>
49494         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
49495         Correct handling of unaligned relocs for little-endian.
49496         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
49498 2013-10-04  Alan Modra  <amodra@gmail.com>
49500         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
49501         * configure: Regenerate.
49502         * nptl/shlib-versions: Powerpc*le starts at 2.18.
49503         * shlib-versions: Likewise.
49505 2013-10-04  Alan Modra  <amodra@gmail.com>
49507         * string/tester.c (test_memrchr): Increment reported test cycle.
49509 2013-10-04  Alan Modra  <amodra@gmail.com>
49511         * string/test-memcpy.c (do_one_test): When reporting errors, print
49512         string address and don't overrun end of string.
49514 2013-10-04  Alan Modra  <amodra@gmail.com>
49516         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
49517         insrdi.  Make better use of reg selection to speed exit slightly.
49518         Schedule entry path a little better.  Remove useless "are we done"
49519         checks on entry to main loop.  Handle wrapping around zero address.
49520         Correct main loop count.  Handle single left-over word from main
49521         loop inline rather than by using loop_small.  Remove extra word
49522         case in loop_small caused by wrong loop count.  Add little-endian
49523         support.
49524         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
49525         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
49526         cache hint.
49527         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
49528         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
49529         support.  Avoid rlwimi.
49530         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
49532 2013-10-04  Alan Modra  <amodra@gmail.com>
49534         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
49535         insrdi.  Formatting.
49536         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
49537         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
49538         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
49539         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
49540         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
49541         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
49543 2013-10-04  Alan Modra  <amodra@gmail.com>
49545         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
49546         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
49547         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
49548         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
49549         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
49550         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
49551         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
49552         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
49553         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
49554         use of regs.  Use power7 mtocrf.  Tidy function tails.
49556 2013-10-04  Alan Modra  <amodra@gmail.com>
49558         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
49559         Formatting.  Consistently use rXXX register defines or rN defines.
49560         Use early exit labels that avoid restoring unused non-volatile regs.
49561         Make cr field use more consistent with rWORDn compares.  Rename
49562         regs used as shift registers for unaligned loop, using rN defines
49563         for short lifetime/multiple use regs.
49564         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
49565         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
49566         addi 1,1,64 to pop stack frame.  Simplify return value code.
49567         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
49569 2013-10-04  Alan Modra  <amodra@gmail.com>
49571         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
49572         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
49573         rather than rlwimi.
49574         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
49575         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
49576         little-endian support.  Correct typos.
49577         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
49578         rather than rlwimi.
49579         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
49580         in loop and entry code to keep "and." results.
49581         (strchr): Add little-endian support.  Comment.  Move cntlzd
49582         earlier in tail.
49583         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
49585 2013-10-04  Alan Modra  <amodra@gmail.com>
49587         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
49588         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
49589         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
49590         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
49592 2013-10-04  Alan Modra  <amodra@gmail.com>
49594         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
49595         (rTMP): Define as r11.
49596         (strcmp): Add little-endian support.  Optimise tail.
49597         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
49598         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
49599         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
49600         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
49601         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
49602         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49603         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
49605 2013-10-04  Alan Modra  <amodra@gmail.com>
49607         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
49608         little-endian support.  Remove unnecessary "are we done" tests.
49609         Handle "s" wrapping around zero and extremely large "size".
49610         Correct main loop count.  Handle single left-over word from main
49611         loop inline rather than by using small_loop.  Correct comments.
49612         Delete "zero" tail, use "end_max" instead.
49613         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
49615 2013-10-04  Alan Modra  <amodra@gmail.com>
49617         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
49618         support.  Don't branch over align.
49619         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
49620         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
49621         support.  Rearrange tmp reg use to suit.  Comment.
49622         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
49624 2013-10-04  Alan Modra  <amodra@gmail.com>
49626         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
49628 2013-10-04  Alan Modra  <amodra@gmail.com>
49630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
49631         conditional form of branch and link when obtaining pc.
49632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
49634 2013-10-04  Alan Modra  <amodra@gmail.com>
49636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
49637         HIWORD/LOWORD.
49638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
49639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
49641 2013-10-04  Alan Modra  <amodra@gmail.com>
49643         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
49644         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
49645         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
49646         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
49647         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
49648         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
49649         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
49650         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
49651         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
49652         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
49654 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
49655             Alistair Popple <alistair@ozlabs.au.ibm.com>
49656             Alan Modra <amodra@gmail.com>
49658         [BZ #15723]
49659         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
49660         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
49661         _dl_hwcap access for little-endian.
49662         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
49663         destroy vmx regs when saving unaligned.
49664         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
49665         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
49666         destroy vmx regs when saving unaligned.
49668 2013-10-04  Alan Modra  <amodra@gmail.com>
49670         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
49671         Don't use a union to pack hi/low value.
49673 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
49675         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
49676         for little-endian.
49677         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
49678         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
49679         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
49680         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
49681         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
49683 2013-10-04  Alan Modra  <amodra@gmail.com>
49685         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
49686         constants to usual value for .cst8 section, and remove redundant
49687         high address load.
49688         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
49689         constant for 0x1p52.  Load little-endian words of double from
49690         correct stack offsets.
49692 2013-10-04  Alan Modra  <amodra@gmail.com>
49694         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
49695         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
49696         words of double from correct stack offsets.
49697         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
49698         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
49699         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
49700         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
49701         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
49702         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
49703         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
49704         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
49705         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
49706         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
49707         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
49708         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
49709         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
49710         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
49711         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
49712         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
49713         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
49715 2013-10-04  Alan Modra  <amodra@gmail.com>
49717         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
49718         64-bit int/double union.
49719         (_FPU_SETCW): Likewise.
49720         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
49721         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
49723 2013-10-04  Alan Modra  <amodra@gmail.com>
49725         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
49726         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
49728 2013-10-04  Alan Modra  <amodra@gmail.com>
49730         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
49731         use vector int constants.
49732         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
49734 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
49736         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
49737         array with long long.
49738         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
49739         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
49740         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
49741         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
49742         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
49743         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
49744         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
49745         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
49746         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
49747         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
49748         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
49749         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
49750         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
49752 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
49754         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
49755         (__signbit): Likewise.  Correct for little-endian.
49756         (__signbitl): Call __signbit.
49757         (lrint): Correct for little-endian.
49758         (lrintf): Call lrint.
49760 2013-10-04  Alan Modra  <amodra@gmail.com>
49762         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
49763         union 32-bit int array member with 64-bit int array.
49764         (t515, tm256): Double rather than long double.
49765         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
49767 2013-10-04  Alan Modra  <amodra@gmail.com>
49769         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
49770         Delete.
49771         (IEEE854_LONG_DOUBLE_BIAS): Delete.
49772         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
49773         version of math_ldbl.h.
49775 2013-10-04  Alan Modra  <amodra@gmail.com>
49777         [BZ #15734], [BZ #15735]
49778         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
49779         all uses of ieee875 long double macros and unions.  Simplify test
49780         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
49781         ldbl_extract_mantissa value for ix,iy exponents.  Properly
49782         normalize after ldbl_extract_mantissa, and don't add hidden bit
49783         already handled.  Don't treat low word of ieee854 mantissa like
49784         low word of IBM long double and mask off bit when testing for
49785         zero.
49786         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
49787         all uses of ieee875 long double macros and unions.  Simplify tests
49788         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
49789         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
49790         two1022, instead use their values.  Recognise that tests for large
49791         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
49792         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
49793         Rewrite all uses of ieee875 long double macros and unions.  Simplify
49794         test for 0.0L and nan.  Correct negation.
49795         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
49796         ieee875 long double macros and unions.  Correct output for large
49797         magnitude x.  Correct absolute value calculation.
49798         (__erfcl): Likewise.
49799         * math/libm-test.inc: Add tests for errors discovered in IBM long
49800         double versions of fmodl, remainderl, erfl and erfcl.
49802 2013-10-04  Alan Modra  <amodra@gmail.com>
49804         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
49805         all uses of ieee854 long double macros and unions.  Simplify tests
49806         for long doubles that are fully specified by the high double.
49807         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
49808         Likewise.
49809         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
49810         Remove dead code too.
49811         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
49812         (__ieee754_ynl): Likewise.
49813         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
49814         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
49815         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
49816         Remove dead code too.
49817         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
49818         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
49819         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
49820         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
49821         Simplify.
49822         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
49823         Simplify.
49824         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
49825         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
49826         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
49827         Comment on variable precision.
49828         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
49829         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
49830         Likewise.
49831         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
49832         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
49833         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
49834         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
49835         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
49837 2013-10-04  Alan Modra  <amodra@gmail.com>
49839         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
49840         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
49841         all uses of ieee854 long double macros and unions.
49842         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
49843         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
49844         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
49845         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
49846         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
49847         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
49848         Likewise.
49849         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
49850         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
49851         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
49852         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
49853         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
49854         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
49855         Simplify sign and nan test too.
49856         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
49857         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
49858         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
49859         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
49860         Likewise.
49861         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
49862         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
49863         Likewise.
49864         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49865         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
49866         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
49867         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
49868         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
49869         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
49871 2013-10-04  Alan Modra  <amodra@gmail.com>
49873         * stdio-common/printf_size.c (__printf_size): Don't use
49874         union ieee854_long_double in fpnum union.
49875         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
49876         signbit macro to retrieve sign from long double.
49877         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
49878         retrieve sign from long double.
49879         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
49880         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
49881         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
49882         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
49883         * math/test-misc.c (main): Don't use union ieee854_long_double.
49885 2013-10-04  Alan Modra  <amodra@gmail.com>
49887         [BZ #15680]
49888         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
49889         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
49890         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
49891         calculation.  Remove unnecessary test for denormal exponent.
49892         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
49893         Correct handling of denormals.  Avoid undefined shift behaviour.
49894         Correct normalisation of low mantissa when low double is denormal.
49895         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
49896         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
49897         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
49898         Correct normalisation of low mantissa.  Test for overflow of high
49899         mantissa and normalise.
49900         (ldbl_nearbyint): Use more readable constant for two52.
49901         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
49902         (__mpn_construct_long_double): Fix test for overflow of high
49903         mantissa and correct normalisation.  Avoid undefined shift.
49905 2013-10-04  Alan Modra  <amodra@gmail.com>
49907         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
49908         (union ibm_extended_long_double): Define as an array of ieee754_double.
49909         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
49910         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
49911         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
49912         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
49913         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49914         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
49915         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
49916         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
49917         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
49918         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
49919         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
49921 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
49923         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
49924         page size instead of calling getpagesize.
49926         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
49927         (LOCFILE_ALIGN_MASK): Likewise.
49928         (LOCFILE_ALIGN_UP): Likewise.
49929         (LOCFILE_ALIGNED_P): Likewise.
49930         * locale/programs/ld-collate.c (collate_output): Use the new
49931         macros instead of __alignof__ (int32_t).
49932         * locale/weight.h (findidx): Likewise.
49934 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
49936         [BZ #431]
49937         * manual/string.texi: Fix strncat and wcsncat.
49939 2013-10-03  Brooks Moses  <bmoses@google.com>
49941         [BZ #15915]
49942         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
49943         * Makerules: ...here, and adjust associated comments.
49945 2013-10-02  Will Newton  <will.newton@linaro.org>
49947         * malloc/Makefile: Add tst-pvalloc.
49948         * malloc/tst-pvalloc.c: New file.
49950 2013-10-02  Will Newton  <will.newton@linaro.org>
49952         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
49953         improve test coverage.
49955 2013-10-02  Will Newton  <will.newton@linaro.org>
49957         * malloc/Makefile: Add tst-posix_memalign.
49958         * malloc/tst-posix_memalign.c: New file.
49960 2013-10-01  Eric Blake  <eblake@redhat.com>
49962         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
49963         Use __THROWNL rather than __THROW on static functions.
49965 2013-09-30  Petr Machata  <pmachata@redhat.com>
49967         * elf/elf.h (R_AARCH64_ABS16): New macro.
49968         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
49969         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
49970         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
49971         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
49972         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
49973         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
49974         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
49975         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
49976         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
49977         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
49978         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
49979         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
49980         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
49981         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
49982         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
49983         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
49984         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
49985         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
49986         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
49987         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
49988         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
49989         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
49990         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
49991         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
49992         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
49993         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
49994         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
49995         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
49996         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
49997         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
49998         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
49999         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
50000         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
50001         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
50002         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
50003         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
50004         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
50005         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
50006         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
50007         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
50008         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
50009         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
50010         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
50011         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
50012         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
50013         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
50014         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
50015         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
50016         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
50017         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
50018         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
50019         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
50020         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
50021         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
50022         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
50023         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
50024         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
50025         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
50026         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
50027         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
50028         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
50029         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
50030         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
50031         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
50032         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
50033         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
50034         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
50035         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
50036         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
50037         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
50038         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
50039         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
50040         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
50041         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
50042         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
50043         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
50044         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
50045         (R_AARCH64_TLSDESC_LDR): Likewise.
50046         (R_AARCH64_TLSDESC_ADD): Likewise.
50047         (R_AARCH64_TLSDESC_CALL): Likewise.
50049 2013-09-30  Andreas Schwab  <schwab@suse.de>
50051         [BZ #15048]
50052         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
50053         the nss database lookup.
50054         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50055         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
50057 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
50059         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
50061 2013-09-28  P. J. McDermott  <pj@pehjota.net>
50063         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
50064         ${Bash-specific parameter/pattern/string} parameter expansion.
50065         * sysdeps/unix/make-syscalls.sh: Likewise.
50067 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50069         * sysdeps/sh/stackguard-macros.h: New file.
50071 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
50073         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
50074         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
50075         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
50076         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
50077         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
50078         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
50080 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50082         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
50083         Fix thread ID register.
50085 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
50087         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
50088         [POSIX || UNIX98]: Require rather than permitting all symbols from
50089         <time.h>.
50090         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
50091         element of struct sched_param.
50092         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
50093         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
50094         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
50095         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
50096         constant.
50098 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
50100         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
50101         argument calculation.
50103 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
50105         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
50106         Expect macro.
50107         [POSIX] (pthread_attr_t): Do not require type.
50108         [POSIX] (pthread_cond_t): Likewise.
50109         [POSIX] (pthread_condattr_t): Likewise.
50110         [POSIX] (pthread_key_t): Likewise.
50111         [POSIX] (pthread_mutex_t): Likewise.
50112         [POSIX] (pthread_mutexattr_t): Likewise.
50113         [POSIX] (pthread_once_t): Likewise.
50114         [POSIX] (pthread_t): Likewise.
50115         [POSIX-based standards] (pthread_atfork): Expect function.
50117 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
50118             Richard Sandiford  <richard@codesourcery.com>
50120         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
50121         (swap_endianness_p): New extern variable.
50122         (set_big_endian): New inline function.
50123         (maybe_swap_uint32): Likewise.
50124         (maybe_swap_uint32_array): Likewise.
50125         (maybe_swap_uint32_obstack): Likewise.
50126         * locale/programs/locfile.c: Include <stdbool.h>.
50127         (swap_endianness_p): New variable.
50128         (add_locale_uint32): Call maybe_swap_uint32.
50129         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
50130         (write_locale_data): Call maybe_swap_uint32_array.
50131         * locale/programs/ld-collate.c (obstack_int32_grow): Call
50132         maybe_swap_uint32.
50133         (obstack_int32_grow_fast): Likewise.
50134         (output_weightwc): Call maybe_swap_uint32_obstack.
50135         (collate_output): Likewise.
50136         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
50137         (OPT_LITTLE_ENDIAN): Likewise.
50138         (options): Add --little-endian and --big-endian options.
50139         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
50140         * locale/programs/locarchive.c: Include "locfile.h".
50141         (GET): New macro.
50142         (SET): Likewise.
50143         (INC): Likewise.
50144         (create_archive): Use the new macros to access fields of
50145         structures directly mapped from or written to locale archives.
50146         (oldlocrecentcmp): Likewise.
50147         (enlarge_archive): Likewise.
50148         (insert_name): Likewise.
50149         (add_alias): Likewise.
50150         (add_locale): Likewise.
50151         (delete_locales_from_archive): Likewise.
50152         (show_archive_content): Likewise.
50153         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
50154         locale data.
50156 2013-09-24  Roland McGrath  <roland@hack.frob.com>
50158         * manual/freemanuals.texi: Updated from (newly) canonical copy at
50159         http://www.gnu.org/doc/freemanuals.texi.
50160         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
50162 2013-09-24  Will Newton  <will.newton@linaro.org>
50164         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
50165         macro.
50167 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
50169         * locale/hashval.h (compute_hashval): Interpret bytes of key as
50170         unsigned char.
50172 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
50174         * manual/threads.texi (POSIX Threads): Fix a typo.
50176 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
50178         [BZ #14547]
50179         * string/tst-strcoll-overflow.c: New test case.
50180         * string/Makefile (xtests): Add tst-strcoll-overflow.
50181         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
50182         cache if string sizes may cause integer overflow.
50184         [BZ #14547]
50185         * string/strcoll_l.c (coll_seq): New members rule, idx,
50186         save_idx and back_us.
50187         (get_next_seq_nocache): New function.
50188         (do_compare_nocache): New function.
50189         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
50190         when malloc fails.
50192 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
50194         [BZ #15754]
50195         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
50196         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
50197         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
50199         [BZ #15754]
50200         * elf/Makefile (tests): Add tst-ptrguard1.
50201         (tests-static): Add tst-ptrguard1-static.
50202         (tst-ptrguard1-ARGS): Define.
50203         (tst-ptrguard1-static-ARGS): Define.
50204         * elf/tst-ptrguard1.c: New file.
50205         * elf/tst-ptrguard1-static.c: New file.
50206         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
50207         * sysdeps/i386/stackguard-macros.h: Likewise.
50208         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
50209         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
50210         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
50211         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
50212         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
50213         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
50215 2013-09-23  Hector Marco  <hecmargi@upv.es>
50216             Ismael Ripoll  <iripoll@disca.upv.es>
50217             Carlos O'Donell  <carlos@redhat.com>
50219         [BZ #15754]
50220         * sysdeps/generic/stackguard-macros.h: Define
50221         __pointer_chk_guard_local and POINTER_CHK_GUARD.
50222         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
50223         Define __pointer_chk_guard_local.
50224         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
50225         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
50227 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
50229         [BZ #15859]
50230         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
50232 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
50234         * include/string.h (__ffs): Declare as hidden.
50235         * string/ffs.c (__ffs): Define as hidden.
50236         * sysdeps/i386/ffs.c (__ffs): Likewise.
50237         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
50238         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
50239         * sysdeps/s390/ffs.c (__ffs): Likewise.
50240         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
50242 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
50244         * NEWS: Mention malloc probes.
50246         * malloc/arena.c (new_heap): New memory_heap_new probe.
50247         (grow_heap): New memory_heap_more probe.
50248         (shrink_heap): New memory_heap_less probe.
50249         (heap_trim): New memory_heap_free probe.
50250         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
50251         (systrim): New memory_sbrk_less probe.
50252         * manual/probes.texi: Document them.
50254         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
50255         * manual/probes.texi: Document it.
50257         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
50258         (__libc_realloc): Add memory_realloc_retry probe.
50259         (__libc_memalign): Add memory_memalign_retry probe.
50260         (__libc_valloc): Add memory_valloc_retry probe.
50261         (__libc_pvalloc): Add memory_pvalloc_retry probe.
50262         (__libc_calloc): Add memory_calloc_retry probe.
50263         * manual/probes.texi: Document them.
50265         * malloc/arena.c (get_free_list): Add probe
50266         memory_arena_reuse_free_list.
50267         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
50268         and memory_arena_reuse.
50269         (arena_get2) [!PER_THREAD]: Likewise.
50270         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
50271         memory_arena_reuse_realloc.
50272         * manual/probes.texi: Document them.
50274         * malloc/malloc.c (__libc_free): Add
50275         memory_mallopt_free_dyn_thresholds probe.
50276         (__libc_mallopt): Add multiple memory_mallopt probes.
50277         * manual/probes.texi: Document them.
50279         * malloc/malloc.c: Include stap-probe.h.
50280         (__libc_mallopt): Add memory_mallopt probe.
50281         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
50282         * manual/probes.texi: New.
50283         * manual/Makefile (chapters): Add probes.
50284         * manual/threads.texi: Set next node.
50286 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
50288         [BZ #15963, #13985]
50289         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
50290         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
50291         Add `Chinese' to `nan' entry name.
50293 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50295         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
50296         (POLYNOMIAL): Likewise.
50297         (TAYLOR_SINCOS): Likewise.
50298         (TAYLOR_SLOW): Likewise.
50299         (__sin): Use TAYLOR_SINCOS.
50300         (__cos): Likewise.
50301         (slow): Use TAYLOR_SLOW.
50302         (sloww): Likewise.
50303         (bsloww): Likewise.
50304         (csloww): Likewise.
50306 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50308         * stdlib/strtod_l.c: Fix buffer overrun.
50310 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50312         * benchtests/Makefile (bench): Add sincos.
50313         * benchtests/bench-sincos.c: New file.
50315         * math/libm-test.inc (cos_test_data): New test inputs.
50316         (sin_test_data): Likewise.
50318         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
50319         macro.
50320         (__sin): Use it.
50321         (__cos): Likewise.
50322         (slow1): Likewise.
50323         (slow2): Likewise.
50324         (sloww1): Likewise.
50325         (sloww2): Likewise.
50326         (bsloww1): Likewise.
50327         (bsloww2): Likewise.
50328         (cslow2): Likewise.
50329         (csloww1): Likewise.
50330         (csloww2): Likewise.
50332         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
50333         function.
50334         (__sin): Use it.
50335         (__cos): Likewise.
50337         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
50338         gotos.
50339         (__cos): Likewise.
50341 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
50343         * config.h.in (HAVE_MIPS_NAN2008): New macro.
50344         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
50345         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
50346         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
50347         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
50348         * elf/cache.c (print_entry): Handle the new cache flags.
50350 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
50351             Aldy Hernandez  <aldyh@redhat.com>
50353         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
50354         Change condition to [_SOFT_FLOAT].
50355         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
50356         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
50357         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
50358         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
50359         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
50360         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
50361         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
50362         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
50363         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
50364         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
50365         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
50366         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
50367         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
50368         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
50369         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
50370         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
50371         declaration.
50373 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
50375         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
50376         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
50377         (__longjmp): Use LOAD_GP to load saved GPRs.
50378         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
50379         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
50380         (__sigsetjmp): Use SAVE_GP to save GPRs.
50382         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
50383         Do not append -msoft-float.
50384         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
50386 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
50388         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
50390 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
50392         [BZ #15966]
50393         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
50394         (_FPU_GETCW): Use initial "__" on variable and field names but not
50395         on macro parameter name.
50396         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
50397         parentheses around reference to macro parameter.
50399 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
50401         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
50402         prototype.
50403         (ctype_startup): Use uint32_t in cast and sizeof for
50404         ctype->charnames.
50406 2013-09-11  Jia Liu  <proljc@gmail.com>
50408         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
50409         __daddr_t_defined.
50410         [__FreeBSD__]: Likewise.
50412 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
50414         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
50415         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
50416         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
50417         (strchr): Remove __strchr_sse42 ifunc selection.
50418         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
50419         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
50421 2013-09-11  Will Newton  <will.newton@linaro.org>
50423         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
50424         parameter to RES. Remove hardcoded 1000 value.
50425         * benchtests/bench-skeleton.c (main): Pass RES parameter
50426         to TIMING_INIT and multiply result by 1000.
50428 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50430         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50432 2013-09-11  Andreas Schwab  <schwab@suse.de>
50434         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
50435         if not defined.
50436         (O_TMPFILE) [__USE_GNU]: Define.
50437         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
50438         Define.
50440 2013-09-11  Will Newton  <will.newton@linaro.org>
50442         [BZ #15857]
50443         * malloc/malloc.c (__libc_memalign): Check the value of bytes
50444         does not overflow.
50446 2013-09-11  Will Newton  <will.newton@linaro.org>
50448         [BZ #15856]
50449         * malloc/malloc.c (__libc_valloc): Check the value of bytes
50450         does not overflow.
50452 2013-09-11  Will Newton  <will.newton@linaro.org>
50454         [BZ #15855]
50455         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
50456         does not overflow.
50458 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
50460         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
50461         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50462         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50463         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50464         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50466 2013-09-10  Allan McRae  <allan@archlinux.org>
50468         [BZ #15748]
50469         * manual/arith.texi (Parsing of Floats): Clarify
50470         cross-reference.
50472         [BZ #15849]
50473         * manual/install.texi (Running make install): Mention
50474         --enable-pt-chown.
50475         * INSTALL: Regenerated.
50477 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
50479         * csu/init-first.c (_init): Remove the !SHARED condition around
50480         FPU control word initialization.
50481         * elf/dl-support.c (_dl_fpu_control): New variable.
50482         (_dl_aux_init) <AT_FPUCW>: Initialize it.
50483         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
50484         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
50485         * math/test-fpucw-static.c: New file.
50486         * math/test-fpucw-ieee.c: New file.
50487         * math/test-fpucw-ieee-static.c: New file.
50488         * math/Makefile (tests): Add `test-fpucw-ieee' and
50489         `$(tests-static)'.
50490         (tests-static): New variable.
50491         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
50492         dependency to...
50493         [($(build-shared),yes)]
50494         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
50495         ... this.
50496         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
50497         New dependency.
50499 2013-09-09  Allan McRae  <allan@archlinux.org>
50501         [BZ #15939]
50502         * manual/string.texi (Collation Functions): Fix typo in
50503         strcoll example.
50504         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
50506         [BZ #15893]
50507         * stdlib/isomac.c (get_null_defines): Fix memory leak.
50509         [BZ #15892]
50510         * libio/memstream.c (open_memstream): Fix memory leak.
50511         * libio/wmemstream.c (open_wmemstream): Likewise.
50513         [BZ #15895]
50514         * nscd/netgroupcache.c: Fix nesting of ifdefs.
50516 2013-09-09  Will Newton  <will.newton@linaro.org>
50518         * malloc/Makefile: Add tst-realloc to tests.
50519         * malloc/tst-realloc.c: New file.
50521 2013-09-09  Allan McRae  <allan@archlinux.org>
50523         [BZ #15844]
50524         * COPYING: Update from GNU website to fix FSF address.
50525         * COPYING.LIB: Likewise.
50527 2013-09-06  David S. Miller  <davem@davemloft.net>
50529         * po/zh_TW.po: Update Chinese (traditional) translation from
50530         translation project.
50532 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
50533             Joseph Myers  <joseph@codesourcery.com>
50535         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
50536         "localeinfo.h".
50537         (obstack_chunk_alloc): New macro.
50538         (obstack_chunk_free): Likewise.
50539         (record_offset): New function.
50540         (init_locale_data): Likewise.
50541         (align_locale_data): Likewise.
50542         (add_locale_empty): Likewise.
50543         (add_locale_raw_data): Likewise.
50544         (add_locale_raw_obstack): Likewise.
50545         (add_locale_string): Likewise.
50546         (add_locale_wstring): Likewise.
50547         (add_locale_uint32): Likewise.
50548         (add_locale_uint32_array): Likewise.
50549         (add_locale_char): Likewise.
50550         (start_locale_structure): Likewise.
50551         (end_locale_structure): Likewise.
50552         (start_locale_prelude): Likewise.
50553         (end_locale_prelude): Likewise.
50554         (write_locale_data): Take locale_file structure rather than an
50555         iovec.
50556         * locale/programs/locfile.h: Include "obstack.h".
50557         (struct locale_file): Change to store locale file contents instead
50558         of header.
50559         (init_locale_data): New prototype.
50560         (align_locale_data): Likewise.
50561         (add_locale_empty): Likewise.
50562         (add_locale_raw_data): Likewise.
50563         (add_locale_raw_obstack): Likewise.
50564         (add_locale_string): Likewise.
50565         (add_locale_wstring): Likewise.
50566         (add_locale_uint32): Likewise.
50567         (add_locale_uint32_array): Likewise.
50568         (add_locale_char): Likewise.
50569         (start_locale_structure): Likewise.
50570         (end_locale_structure): Likewise.
50571         (start_locale_prelude): Likewise.
50572         (end_locale_prelude): Likewise.
50573         (write_locale_data): Update prototype.
50574         * locale/programs/3level.h (struct TABLE): Remove result field.
50575         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
50576         Use new locale_file interface.
50577         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
50578         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
50579         * locale/programs/ld-address.c (address_output): Use new
50580         locale_file interface.
50581         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
50582         NO_ADD_LOCALE.
50583         (collate_finish): Don't call collseq_table_finalize.
50584         (collate_output): Use new locale_file interface.
50585         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
50586         in file.
50587         (NO_FINALIZE): Change to NO_ADD_LOCALE.
50588         (TABLE): Move defines earlier in file.
50589         (ELEMENT): Likewise.
50590         (DEFAULT): Likewise.
50591         (wctrans_table_add): Move macro and inline function earlier in
50592         file.
50593         (struct wctype_table): Move type earlier in file.
50594         (add_locale_wctype_table): New static prototype.
50595         (struct locale_ctype_t): Use logical types instead of struct iovec
50596         pointers for members.
50597         (ctype_output): Use new locale_file interface.
50598         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
50599         new locale_file interface.
50600         (allocate_arrays): Update for use of new locale_file interface.
50601         * locale/programs/ld-identification.c (identification_output): Use
50602         new locale_file interface.
50603         * locale/programs/ld-measurement.c (measurement_output): Likewise.
50604         * locale/programs/ld-messages.c (messages_output): Likewise.
50605         * locale/programs/ld-monetary.c (monetary_output): Likewise.
50606         * locale/programs/ld-name.c (name_output): Likewise.
50607         * locale/programs/ld-numeric.c (numeric_output): Likewise.
50608         * locale/programs/ld-paper.c (paper_output): Likewise.
50609         * locale/programs/ld-telephone.c (telephone_output): Likewise.
50610         * locale/programs/ld-time.c (time_output): Likewise.
50612 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50614         * benchtests/Makefile: Add memrchr benchmark.
50615         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
50616         benchmark as memrchr.
50617         * benchtests/bench-memrchr-ifunc.c: New file.
50618         * benchtests/bench-memrchr.c: New file.
50620 2013-09-06   Will Newton  <will.newton@linaro.org>
50622         * benchtests/Makefile (string-bench): Add memcpy.
50624 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
50625             Cong Wang  <amwang@redhat.com>
50627         [BZ #15850]
50628         * sysdeps/unix/sysv/linux/bits/in.h
50629         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
50630         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
50631         before __USE_KERNEL_IPV6_DEFS uses.
50632         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
50633         IPPROTO_BEETPH.
50634         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
50635         sockaddr_in6, or ipv6_mreq.
50637 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50639         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
50640         memory access for final bytes in some large inputs.
50641         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
50643 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50645         * string/test-memrchr.c: New file.
50646         * string/test-memrchr-ifunc.c: New file.
50647         * string/Makefile: Add new memrchr testcase.
50649 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
50651         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
50652         fanotify_init returns EPERM.
50654 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
50656         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
50657         errors.
50658         (top level): Treat second token from macro or constant entries for
50659         allowed headers as allowed.
50660         * include/complex.h: Condition internal declarations on
50661         [!_ISOMAC].
50662         * include/fenv.h: Condition include of <stdbool.h> and internal
50663         declarations on [!_ISOMAC].
50665 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
50667         [BZ #15923]
50668         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
50670 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
50672         * configure.in (--enable-versioning): Remove configure option.
50673         (libc_cv_asm_symver_directive): Remove configure test.
50674         (libc_cv_ld_version_script_option): Likewise.
50675         (VERSIONING): Remove variable and AC_SUBST.
50676         (DO_VERSIONING): Remove AC_DEFINE.
50677         * configure: Regenerated.
50678         * config.h.in (DO_VERSIONING): Remove macro.
50679         * Makerules [$(versioning) = yes]: Change conditionals to
50680         [$(build-shared) = yes].
50681         * config.make.in (versioning): Remove variable.
50682         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
50683         [$(build-shared) = yes].
50684         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
50685         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
50686         * elf/Makefile [$(versioning) = yes]: Change conditionals to
50687         [$(build-shared) = yes].
50688         * extra-lib.mk [$(versioning) = yes]: Likewise.
50689         * hurd/Makefile [$(versioning) = yes]: Likewise.
50690         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
50691         [SHARED].
50692         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
50693         [SHARED].
50694         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
50695         [SHARED && !NO_HIDDEN].
50696         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
50697         [SHARED].
50698         [SHARED && DO_VERSIONING]: Likewise..
50699         * libio/Makefile [$(versioning) = yes]: Change conditionals to
50700         [$(build-shared) = yes].
50701         * manual/install.texi (--disable-versioning): Remove
50702         documentation.
50703         * INSTALL: Regenerated.
50704         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
50705         to [SHARED].
50706         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
50707         [$(build-shared) = yes].
50708         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
50709         * sysdeps/i386/i686/multiarch/strstr-c.c
50710         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
50711         [SHARED && !NO_HIDDEN].
50712         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
50713         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
50714         * sysdeps/powerpc/powerpc32/dl-machine.c
50715         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
50716         * sysdeps/powerpc/powerpc32/sysdep.h
50717         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
50718         to [SHARED && PIC && !NO_HIDDEN].
50719         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
50720         conditional to [SHARED].
50722 2013-09-04   Will Newton  <will.newton@linaro.org>
50724         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
50725         * benchtests/bench-string.h: Include bench-timing.h instead
50726         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
50727         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
50728         call to HP_TIMING_DIFF_INIT.
50729         * benchtests/bench-memccpy.c: Use bench-timing.h macros
50730         instead of hp-timing.h macros.
50731         * benchtests/bench-memchr.c: Likewise.
50732         * benchtests/bench-memcmp.c: Likewise.
50733         * benchtests/bench-memcpy.c: Likewise.
50734         * benchtests/bench-memmem.c: Likewise.
50735         * benchtests/bench-memmove.c: Likewise.
50736         * benchtests/bench-memset.c: Likewise.
50737         * benchtests/bench-rawmemchr.c: Likewise.
50738         * benchtests/bench-strcasecmp.c: Likewise.
50739         * benchtests/bench-strcasestr.c: Likewise.
50740         * benchtests/bench-strcat.c: Likewise.
50741         * benchtests/bench-strchr.c: Likewise.
50742         * benchtests/bench-strcmp.c: Likewise.
50743         * benchtests/bench-strcpy.c: Likewise.
50744         * benchtests/bench-strcpy_chk.c: Likewise.
50745         * benchtests/bench-strlen.c: Likewise.
50746         * benchtests/bench-strncasecmp.c: Likewise.
50747         * benchtests/bench-strncat.c: Likewise.
50748         * benchtests/bench-strncmp.c: Likewise.
50749         * benchtests/bench-strncpy.c: Likewise.
50750         * benchtests/bench-strnlen.c: Likewise.
50751         * benchtests/bench-strpbrk.c: Likewise.
50752         * benchtests/bench-strrchr.c: Likewise.
50753         * benchtests/bench-strspn.c: Likewise.
50754         * benchtests/bench-strstr.c: Likewise.
50756 2013-09-04  Will Newton  <will.newton@linaro.org>
50758         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
50760 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
50762         [BZ #15427]
50763         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
50764         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
50765         * math/libm-test.inc (lgamma_test_data): Add more tests.
50766         * sysdeps/i386/fpu/libm-test-ulps: Update.
50767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50769 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
50771         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
50772         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
50773         Add ifunc.
50774         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
50775         Add strcmp-sse2-unaligned
50776         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
50778 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
50780         * Versions.def (libc): Add GLIBC_2.19.
50782 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
50784         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
50785         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
50787 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
50789         [BZ #14155]
50790         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
50791         intermediate calculations in recurrence.
50792         (__ieee754_ynf): Likewise.
50793         * math/libm-test.inc (jn_test_data): Do not allow spurious
50794         underflow exception.  Add more tests.
50795         (yn_test_data): Add more tests.
50796         * sysdeps/i386/fpu/libm-test-ulps: Update.
50797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50799 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
50801         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
50803 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
50805         * csu/init-first.c: Fix then/than typos.
50806         * locale/programs/ld-collate.c: Likewise.
50807         * locale/programs/linereader.h: Likewise.
50808         * manual/charset.texi: Likewise.
50809         * manual/filesys.texi: Likewise.
50810         * manual/stdio.texi: Likewise.
50811         * manual/string.texi: Likewise.
50812         * stdlib/fmtmsg.c: Likewise.
50813         * sysdeps/i386/stpncpy.S: Likewise.
50814         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
50815         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
50816         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
50817         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
50819 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
50821         * elf/dl-open.c: Fix typos.
50822         * iconvdata/gbbig5.c: Likewise.
50823         * iconvdata/iso-2022-jp.c: Likewise.
50824         * iconv/gconv_int.h: Likewise.
50825         * iconv/loop.c: Likewise.
50826         * nis/rpcsvc/nis.h: Likewise.
50827         * resolv/ns_name.c: Likewise.
50828         * stdio-common/vfscanf.c: Likewise.
50829         * streams/stropts.h: Likewise.
50830         * sunrpc/rpc_thread.c: Likewise.
50831         * sysdeps/i386/strpbrk.S: Likewise.
50832         * sysdeps/ieee754/k_standard.c: Likewise.
50833         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
50834         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50835         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
50836         * sysdeps/mach/hurd/profil.c: Likewise.
50837         * sysdeps/s390/dl-procinfo.h: Likewise.
50838         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
50839         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
50840         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
50841         * sysdeps/x86_64/dl-trampoline.S: Likewise.
50842         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
50844 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
50846         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
50847         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
50849 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
50851         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
50852         aix specific files.
50853         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
50854         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
50855         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
50856         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
50857         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
50858         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
50859         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
50860         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
50862 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
50863             Roland McGrath  <roland@hack.frob.com>
50865         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
50866         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
50868 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50870         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
50871         __executable_start symbol instead of _start.
50873 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
50875         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
50876         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
50877         Move macros to...
50878         * sysdeps/gnu/ldsodefs.h: ... this new file.
50880         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
50881         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
50882         instead of ELFOSABI_LINUX.
50884         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
50885         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
50886         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
50887         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
50888         Likewise.
50889         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
50890         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
50891         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
50892         Likewise.
50893         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
50894         (ibm_extended_long_double): Add ieee_nan member.
50895         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
50896         (do_test): New function.
50898         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
50899         TEST_TRUNC.
50900         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
50901         functions, renamed from truncdfsf_test, trunctfsf_test,
50902         trunctfdf_test.
50903         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
50904         functions.
50905         (do_test): Run all these.
50907 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
50909         * argp/argp-help.c: Fix typos.
50910         * argp/argp-parse.c: Likewise.
50911         * debug/backtracesyms.c: Likewise.
50912         * elf/elf.h: Likewise.
50913         * malloc/malloc.c: Likewise.
50914         * nis/nis_print.c: Likewise.
50915         * resolv/res_comp.c: Likewise.
50916         * stdlib/stdlib.h: Likewise.
50917         * sunrpc/clnt_tcp.c: Likewise.
50918         * sunrpc/clnt_udp.c: Likewise.
50919         * sunrpc/clnt_unix.c: Likewise.
50920         * sysdeps/unix/bsd/ptsname.c: Likewise.
50921         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
50922         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
50923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
50924         Likewise.
50925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
50926         Likewise.
50927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
50928         Likewise.
50929         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
50931 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50933         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
50934         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
50936 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
50938         [BZ #15897]
50939         * dlfcn/Makefile (tests): Add bug-dl-leaf.
50940         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
50941         ($(objpfx)bug-dl-leaf): New rule.
50942         ($(objpfx)bug-dl-leaf.so): Likewise.
50943         ($(objpfx)bug-dl-leaf.out): Likewise.
50944         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
50945         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
50946         * dlfcn/bug-dl-leaf.c: New test.
50947         * dlfcn/bug-dl-leaf-lib.c: Likewise.
50948         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
50949         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
50950         (dlclose): Likewise.
50951         (dlmopen): Likewise.
50953 2013-08-27  Roland McGrath  <roland@hack.frob.com>
50955         * include/netdb.h [!_ISOMAC]:
50956         Don't include <tls.h>.
50957         (h_errno, __libc_h_errno): Move declaration and macros out of
50958         [_LIBC_REENTRANT].
50960         * include/resolv.h [_RESOLV_H_]:
50961         Don't include <tls.h>.
50962         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
50963         * resolv/res_libc.c: Don't include <tls.h>.
50964         (_res): Use __attribute__ ((nocommon)) in place of
50965         __attribute__ ((section (".bss"))).
50967         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
50968         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
50970         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
50972         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
50973         only under [SIOCGIFCONF && SIOCGIFNETMASK].
50975         * resolv/res_mkquery.c: Include <sys/time.h>.
50977         * inet/ifreq.c: Moved to ...
50978         * sysdeps/unix/ifreq.c: ... here.
50979         * inet/ifreq.c: New file, true stub version.
50981         * socket/sa_len.c: New file.
50982         * socket/Makefile (aux): Add it.
50983         * sysdeps/unix/sysv/linux/Makefile
50984         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
50985         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
50986         and #include <socket/sa_len.c>.
50987         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
50988         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
50990         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
50991         * bits/socket.h: ... here.
50993         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
50994         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
50995         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
50997 2013-08-27  Andreas Schwab  <schwab@suse.de>
50999         [BZ #15736]
51000         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
51001         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
51002         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
51003         * string/test-strcasecmp.c (test_main): Run tests in several
51004         locales.
51005         * string/test-strncasecmp.c (test_main): Likewise.
51007         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
51008         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
51009         to __strcasecmp_nonascii and __strncasecmp_nonascii.
51010         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
51011         (__strncasecmp_ssse3) [PIC]: Likewise.
51013 2013-08-26  Roland McGrath  <roland@hack.frob.com>
51015         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
51017         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
51018         instead of explicitly declaring xdecrypt.
51019         * nis/nss_nis/nis-publickey.c: Likewise.
51021 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51023         [BZ #15890]
51024         * nscd/aicache.c: Include res_hconf.h.
51025         (addhstaiX): Initialize res_hconf.
51027 2013-08-26  Andreas Schwab  <schwab@suse.de>
51029         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
51030         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
51032 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51034         * nscd/aicache.c (addhstaiX): Fix indentation.
51036 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
51038         * configure.ac: Quote $build_pt_chown test.
51039         * configure: Regenerated.
51041 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
51043         [BZ #15532]
51044         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
51045         * math/s_cexpf.c (__cexpf): Likewise.
51046         * math/s_cexpl.c (__cexpl): Likewise.
51047         * math/libm-test.inc (cexp_test_data): Correct expected return
51048         value for NaN + i0.  Add another test.
51050 2013-08-22  David S. Miller  <davem@davemloft.net>
51052         * po/ca.po: Update Catalan translation from translation project.
51053         * po/uk.po: Add Ukrainian translations from translation project.
51055 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
51057         [BZ #15797]
51058         * math/s_fdim.c (__fdim): Check for infinite arguments if result
51059         is infinite, not alongside NaN test.
51060         * math/s_fdimf.c (__fdimf): Likewise.
51061         * math/s_fdiml.c (__fdiml): Likewise.
51062         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
51063         errno is unchanged.
51065 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
51067         * argp/argp-help.c: Fix typos.
51068         * crypt/speeds.c: Likewise.
51069         * csu/check_fds.c: Likewise.
51070         * elf/dl-load.c: Likewise.
51071         * elf/dl-open.c: Likewise.
51072         * elf/reldep3.c: Likewise.
51073         * elf/reldep.c: Likewise.
51074         * elf/sprof.c: Likewise.
51075         * iconv/iconv_charmap.c: Likewise.
51076         * iconv/skeleton.c: Likewise.
51077         * iconv/strtab.c: Likewise.
51078         * io/lockf64.c: Likewise.
51079         * libio/libioP.h: Likewise.
51080         * resolv/gai_notify.c: Likewise.
51081         * resolv/ns_name.c: Likewise.
51082         * resolv/ns_samedomain.c: Likewise.
51083         * resolv/res_send.c: Likewise.
51084         * stdlib/random.c: Likewise.
51085         * sunrpc/rpc/xdr.h: Likewise.
51086         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
51087         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
51088         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
51089         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
51090         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
51091         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
51092         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
51093         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
51094         * sysdeps/mach/hurd/check_fds.c: Likewise.
51095         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
51096         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
51097         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
51098         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
51099         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
51100         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
51101         * sysdeps/pthread/aio_notify.c: Likewise.
51102         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
51103         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
51104         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
51105         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
51106         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
51108 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51110         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
51111         version if bit_Slow_SSE4_2 is set.
51112         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51113         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
51115 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51117         [BZ #15867]
51118         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
51119         trampoline stack frame information.
51120         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
51121         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
51122         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
51123         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
51124         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
51125         * sysdeps/unix/sysv/linux/powerpc/init-first.c
51126         (_libc_vdso_platform_setup): Initialize the signal trampolines.
51127         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
51128         sa_flags value.
51129         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
51130         interrupting a syscall and set with option SA_SIGINFO.
51132 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
51134         [BZ #15531]
51135         * math/s_cproj.c (__cproj): Only return an infinity if one part of
51136         argument is infinite.
51137         * math/s_cprojf.c (__cprojf): Likewise.
51138         * math/s_cprojl.c (__cprojl): Likewise.
51139         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
51140         * math/libm-test.inc (cproj_test_data): Add more tests.
51142         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
51144         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
51145         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
51146         size.  Use __ffs to determine corresponding shift.
51148 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
51149             Roland McGrath  <roland@hack.frob.com>
51151         * Makefile (INSTALL): Remove trailing blank lines from output of
51152         makeinfo.
51154 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51156         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
51157         Align 32 bit compat elf_greg to 8 bytes.
51159 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
51161         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
51163 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
51165         * string/strcoll_l.c (coll_seq): New structure.
51166         (get_next_seq_cached): New function.
51167         (get_next_seq): New function.
51168         (do_compare): New function.
51169         (STRCOLL): Use GNU style definition.  Simplify implementation
51170         by using get_next_seq, get_next_seq_cached and do_compare.
51172 2013-08-16  Florian Weimer  <fweimer@redhat.com>
51174         [BZ #14699]
51175         CVE-2013-4237
51176         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
51177         member.
51178         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
51179         member.
51180         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
51181         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
51182         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
51183         conditional.
51184         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
51185         GETDENTS_64BIT_ALIGNED.
51186         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
51187         * manual/filesys.texi (Reading/Closing Directory): Document
51188         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
51189         strongly.
51190         * manual/conf.texi (Limits for Files): Add portability note to
51191         NAME_MAX, PATH_MAX.
51192         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
51194 2013-08-13  Andreas Schwab  <schwab@suse.de>
51196         [BZ #15749]
51197         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
51198         of fabs.
51199         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
51200         LDBL_MAX_EXP >= 16384]: Add tests for it.
51202 2013-08-12  David S. Miller  <davem@davemloft.net>
51204         * version.h (RELEASE): Set to "development".
51205         (VERSION): Set to "2.18.90".
51206         * NEWS: Add 2.19 section.
51208 2013-08-03  David S. Miller  <davem@davemloft.net>
51210         * po/ko.po: Update Korean translation from translation project.
51212 2013-08-01  David S. Miller  <davem@davemloft.net>
51214         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
51215         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
51216         Bilka.
51218 2013-07-30  David S. Miller  <davem@davemloft.net>
51220         * po/fr.po: Update French translation from translation project.
51222 2013-07-28  David S. Miller  <davem@davemloft.net>
51224         * po/cs.po: Update Czech translation from translation project.
51226         * po/sv.po: Update Swedish translation from translation project.
51228 2013-07-27  David S. Miller  <davem@davemloft.net>
51230         * po/eo.po: Update Esperanto translation from translation project.
51232         * po/vi.po: Update Vietnamese translation from translation project.
51234         * po/de.po: Update German translation from translation project.
51236 2013-07-26  David S. Miller  <davem@davemloft.net>
51238         * po/bg.po: Update Bulgarian translation from translation project.
51240         * po/nl.po: Update Dutch translation from translation project.
51241         * po/pl.po: Update Polish translation from translation project.
51242         * po/ru.po: Update Russian translation from translation project.
51244 2013-07-24  David S. Miller  <davem@davemloft.net>
51246         * po/libc.pot: Update.
51248 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51250         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
51251         variable page size.
51252         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
51253         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
51254         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
51256 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51258         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
51260 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51261             Andreas Schwab  <schwab@suse.de>
51262             Roland McGrath  <roland@hack.frob.com>
51263             Joseph Myers  <joseph@codesourcery.com>
51264             Carlos O'Donell  <carlos@redhat.com>
51266         [BZ #15755]
51267         * config.h.in: Define HAVE_PT_CHOWN.
51268         * config.make.in (build-pt-chown): New variable.
51269         * configure.in (--enable-pt_chown): New configure option.
51270         * configure: Regenerate.
51271         * login/Makefile: Include Makeconfig.  Build pt_chown only if
51272         build-pt-chown is enabled.
51273         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
51274         pt_chown to fix pty ownership.
51275         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
51276         CLOSE_ALL_FDS.
51277         * manual/install.texi (Configuring and compiling): Mention
51278         --enable-pt_chown. Add @findex for grantpt.
51279         * INSTALL: Regenerate.
51281 2013-07-20  David S. Miller  <davem@davemloft.net>
51283         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
51284         difference between 32-bit and 64-bit.
51286 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
51288         [BZ #15711]
51289         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
51290         Avoid system header dependency with -ffreestanding.
51291         ($(objpfx)bits/syscall%d): Likewise.
51293 2013-07-13  David S. Miller  <davem@davemloft.net>
51295         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
51296         underflows from atanl/atan2l due to bug 15319.
51297         (casinh_test_data): Likewise.
51299 2013-07-07  David S. Miller  <davem@davemloft.net>
51301         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
51303 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
51305         * sysdeps/i386/fpu/libm-test-ulps: Update.
51306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51308 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
51310         * configure.in (--enable-lock-elision): Fix message text.
51311         * INSTALL: Regenerate.
51312         * configure: Regenerate.
51314 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51316         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51318 2013-07-03  Andreas Jaeger  <aj@suse.de>
51320         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
51321         define.
51322         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
51323         (ptrace_peeksiginfo_args): Add.
51324         (__ptrace_peeksiginfo_flags): Add.
51325         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51326         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51327         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51329 2013-07-03  Allan McRae  <allan@archlinux.org>
51331         * sysdeps/i386/fpu/libm-test-ulps: Update.
51333 2013-07-02  David S. Miller  <davem@davemloft.net>
51335         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51337 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
51339         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51341 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
51343         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
51344         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51346 2013-07-02  Andi Kleen <ak@linux.intel.com>
51348         * config.h.in (ENABLE_LOCK_ELISION): Add.
51349         * configure.in (--enable-lock-elision): Add option.
51350         * manual/install.texi: Document --enable lock elision.
51351         * configure: Regenerate
51352         * INSTALL: Regenerate.
51354 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
51356         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
51357         SSE4.2 strcasecmp for libc.a.
51358         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
51360 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
51362         [BZ #13304]
51363         * soft-fp/op-common.h (_FP_FMA): New macro.
51364         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
51365         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
51366         (_FP_MUL_MEAT_1_imm): ... here.
51367         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
51368         (_FP_MUL_MEAT_1_wide): ... here.
51369         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
51370         (_FP_MUL_MEAT_1_hard): ... here.
51371         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
51372         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
51373         (_FP_MUL_MEAT_2_wide): ... here.
51374         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
51375         (_FP_MUL_MEAT_2_wide_3mul): ... here.
51376         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
51377         (_FP_MUL_MEAT_2_gmp): ... here.
51378         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
51379         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
51380         (_FP_MUL_MEAT_4_wide): ... here.
51381         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
51382         (_FP_MUL_MEAT_4_gmp): ... here.
51383         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
51384         (_FP_WFRACBITS_DW_S): Likewise.
51385         (_FP_WFRACXBITS_DW_S): Likewise.
51386         (_FP_HIGHBIT_DW_S): Likewise.
51387         (FP_FMA_S): Likewise.
51388         (_FP_FRAC_HIGH_DW_S): Likewise.
51389         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
51390         (_FP_WFRACBITS_DW_D): Likewise.
51391         (_FP_WFRACXBITS_DW_D): Likewise.
51392         (_FP_HIGHBIT_DW_D): Likewise.
51393         (FP_FMA_D): Likewise.
51394         (_FP_FRAC_HIGH_DW_D): Likewise.
51395         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
51396         (_FP_WFRACBITS_DW_E): Likewise.
51397         (_FP_WFRACXBITS_DW_E): Likewise.
51398         (_FP_HIGHBIT_DW_E): Likewise.
51399         (FP_FMA_E): Likewise.
51400         (_FP_FRAC_HIGH_DW_E): Likewise.
51401         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
51402         (_FP_WFRACBITS_DW_Q): Likewise.
51403         (_FP_WFRACXBITS_DW_Q): Likewise.
51404         (_FP_HIGHBIT_DW_Q): Likewise.
51405         (FP_FMA_Q): Likewise.
51406         (_FP_FRAC_HIGH_DW_Q): Likewise.
51407         * soft-fp/fmasf4.c: New file.
51408         * soft-fp/fmadf4.c: Likewise.
51409         * soft-fp/fmatf4.c: Likewise.
51411 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51413         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
51414         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
51415         Silvermont.
51416         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
51417         macro.
51418         (index_Slow_SSE4_2): Likewise.
51419         (index_Prefer_PMINUB_for_stringop): Likewise.
51420         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
51421         bit_Slow_SSE4_2 is set.
51422         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
51423         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51425 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51427         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
51428         rtld_global._dl_hwcap2.
51429         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
51430         POWER8.
51431         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
51432         POWER8 feature descriptions defined in _dl_hwcap2.
51433         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
51434         string handling for POWER8 feature bits.
51435         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
51436         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
51437         _dl_powerpc_cap_flags.
51438         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
51439         * sysdeps/powerpc/rtld-global-offsets.sym
51440         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
51441         _dl_hwcap2 in the rtld_global_ro structure.
51443 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51445         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
51446         hardware capabilities in support of AT_HWCAP2.
51447         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
51448         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
51449         GLRO(dl_hwcap2).
51450         (_dl_show_auxv): Add support for calling _dl_procinfo to display
51451         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
51452         explicitly the unknown a_type display mechanism is used.
51453         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
51454         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
51455         struct member.
51456         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
51457         to macro prototype for AT_HWCAP2 support.
51458         * sysdeps/i386/dl-procinfo.h: Likewise.
51459         * sysdeps/s390/dl-procinfo.h: Likewise.
51460         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
51461         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
51462         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
51463         return -1 for unknown a_type display fallback.
51464         * sysdeps/sparc/dl-procinfo.h: Likewise.
51465         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
51466         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
51468 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
51470         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
51471         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
51473 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
51475         [BZ #12492]
51476         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
51477         mprotect making __stack_prot writable.
51479 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
51480             Joseph Myers  <joseph@codesourcery.com>
51482         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
51483         as being properly aligned.
51485 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
51487         * dlfcn/modstatic5.c: New file.
51488         * dlfcn/tststatic5.c: New file.
51489         * dlfcn/Makefile (tests): Add tststatic5.
51490         (tests-static): Likewise.
51491         (modules-names): Add modstatic5.
51492         (tststatic5-ENV): New variable.
51493         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
51495         [BZ #15022]
51496         * elf/dl-support.c (_dl_main_map): New variable.
51497         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
51498         (_dl_nns, _dl_load_adds): Set to 1.
51499         (_dl_initial_searchlist): Refer to _dl_main_map.
51500         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
51501         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
51502         call to _dl_get_origin.
51503         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
51504         around call_map.
51505         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
51506         * dlfcn/modstatic3.c: New file.
51507         * dlfcn/tststatic3.c: New file.
51508         * dlfcn/tststatic4.c: New file.
51509         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
51510         (tests-static): Likewise.
51511         (modules-names): Add modstatic3.
51512         (tststatic3-ENV, tststatic4-ENV): New variables.
51513         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
51514         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
51516 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
51518         * configure.in (CC): Require GCC version 4.4 or later.
51519         * configure: Regenerated.
51520         * manual/install.texi (Tools for Compilation): Update GCC version
51521         requirement.
51522         * INSTALL: Regenerated.
51524 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51526         [BZ #15674]
51527         * string/test-memcmp.c (check2): New.
51528         (main): Call check2.
51530         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
51532 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
51534         [BZ #15022]
51535         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
51536         over to...
51537         (dl_open_worker) [!SHARED]: ... here.
51539 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51541         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
51543 2013-06-25  Richard Henderson  <rth@redhat.com>
51545         * locale/programs/locarchive.c: Include <libc-internal.h>
51547 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
51549         * manual/texinfo.tex: Update to version 2013-06-21.17, with
51550         trailing whitespace removed.
51552 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
51554         [BZ #10283]
51555         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
51556         * locale/programs/locarchive.c: Include libc-mmap.h.
51557         (prepare_address_space): Take two new outputs (the mmap base and len).
51558         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
51559         values.
51560         (create_archive): Declare new mmap base and len values for
51561         prepare_address_space, and store the result in ah.
51562         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
51563         (enlarge_archive): If ah->mmap_base is not NULL, use that and
51564         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
51565         Declare new mmap base and len values for
51566         prepare_address_space, and store the result in new_ah.
51567         (open_archive): Declare new mmap base and len values for
51568         prepare_address_space, and store the result in ah.
51569         (close_archive): If ah->mmap_base is not NULL, use that and
51570         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
51571         * sysdeps/generic/libc-mmap.h: New file.
51573 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
51575         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
51576         (ALIGN_UP): Likewise.
51577         (PTR_ALIGN_DOWN): Likewise.
51578         (PTR_ALIGN_UP): Likewise.
51580 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51582         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
51583         entry mapped to PPC_PLATFORM_POWER8.
51584         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
51585         POWER8.
51586         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
51587         (_dl_string_platform): Add case for exporting platform position for
51588         POWER8.
51589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
51590         search path to sysdeps/powerpc/powerpc32/power8 directory.
51591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
51592         search path to sysdeps/powerpc/powerpc64/power8 directory.
51593         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
51594         power7 directories.
51595         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
51596         power7 directories.
51598 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
51600         * INSTALL: Regenerate.
51602         * nscd/connections.c (nscd_init): Fix comment.
51604 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
51606         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
51608         [BZ #15667]
51609         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
51610         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
51612 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
51614         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
51615         DL_DST_REQ_STATIC.
51616         (DL_DST_REQ_STATIC): Remove macro.
51618 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
51620         [BZ #7006]
51621         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
51622         with a shift of 0 bits.
51624 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
51626         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
51627         $(tststatic-ENV).
51629 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51631         [BZ #15655]
51632         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
51634 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51636         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
51637         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
51638         accepts -fno-tree-loop-distribute-patterns.
51639         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
51640         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
51641         recursive call.
51642         * string/memset.c (memset): Likewise.
51643         * string/test-memmove.c (simple_memmove): Disable loop transformation
51644         to library calls.
51645         * string/test-memset.c (simple_memset): Likewise.
51646         * benchtests/bench-memmove.c (simple_memmove): Likewise.
51647         * benchtests/bench-memset.c (simple_memset): Likewise.
51648         * configure: Regenerated.
51650 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
51652         * math/test-misc.c (main): Ignore fesetround failure when failures
51653         of subsequent rounding tests would be ignored.
51655         [BZ #15654]
51656         * math/fedisblxcpt.c (fedisableexcept): Return 0.
51657         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
51658         * math/fegetenv.c (__fegetenv): Return 0.
51659         * math/fegetexcept.c (fegetexcept): Return 0.
51660         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
51661         FE_TONEAREST.
51662         * math/feholdexcpt.c (feholdexcept): Return 0.
51663         * math/fesetenv.c (__fesetenv): Return 0.
51664         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
51665         argument FE_TONEAREST.
51666         * math/feupdateenv.c (__feupdateenv): Return 0.
51667         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
51669 2013-06-18  Roland McGrath  <roland@hack.frob.com>
51671         * elf/rtld-Rules (rtld-compile-command.S): New variable.
51672         (rtld-compile-command.s, rtld-compile-command.c): New variables.
51673         ($(objpfx)rtld-%.os rules): Use them.
51675 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51677         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
51678         fields.
51680 2013-06-17  Roland McGrath  <roland@hack.frob.com>
51682         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
51683         length of target pattern, then descending length of dependency pattern.
51684         * configure.in (AWK): Require gawk 3.1.2 or newer.
51685         * manual/install.texi (Tools for Compilation): Say that we do.
51686         * configure: Regenerated.
51688         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
51689         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
51690         * scripts/sysd-rules.awk: ... this new script.
51691         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
51692         than a glob-style pattern.
51694 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
51696         * math/test-misc.c (main): Do not treat incorrectly rounded
51697         conversions as failure unless ROUNDING_TESTS passes.
51699 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
51701         [BZ #15631]
51702         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
51703         restore exception state around main square root computation, then
51704         check for inexactness explicitly.
51706         * math/libm-test.inc (fma_test_data): Add another test.
51708 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51710         * manual/threads.texi (Non-POSIX Extensions): New document
51711         node.  Document pthread_getattr_default_np and
51712         pthread_setattr_default_np.
51714         * Versions.def (libpthread): Add GLIBC_2.18.
51715         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
51716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
51717         Likewise.
51718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
51719         Likewise.
51720         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
51721         Likewise.
51722         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
51723         Likewise.
51724         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
51725         Likewise.
51726         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
51727         Likewise.
51728         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
51729         Likewise.
51730         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
51731         Likewise.
51732         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
51733         Likewise.
51735 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51737         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51738         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
51740 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
51741             H.J. Lu  <hjl.tools@gmail.com>
51743         [BZ #15627]
51744         * sysdeps/x86_64/rtld-memset.c: Remove file.
51745         * sysdeps/x86_64/rtld-memset.S: New file.
51747 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
51749         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
51750         (test_in_one_mode): Take arguments for whether the rounding mode
51751         is supported for each floating-point type.
51752         (do_test): Pass new arguments to test_in_one_mode using
51753         ROUNDING_TESTS.
51755 2013-06-13  Roland McGrath  <roland@hack.frob.com>
51757         * posix/tst-waitid.c (do_test): Distinguish different instances of
51758         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
51759         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
51760         before entering the kernel for waitpid.
51762 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
51764         * NEWS: Fix note on clock function precision.  Text by Roland
51765         McGrath.
51767 2013-06-13  Roland McGrath  <roland@hack.frob.com>
51769         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
51770         it into place only when and if the sanity check passes.
51772 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
51774         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
51775         output for whether conversion result is exact.  Take argument
51776         indicating whether type is IBM long double.
51777         (round_for_all): Change need_exact field to ibm_ld.
51778         * stdlib/tst-strtod-round.c (struct exactness): New type.
51779         (struct test): Change bool ld_ok field to struct exactness exact.
51780         (TEST): Update all definitions for change to field.
51781         (tests): Regenerate array contents.
51782         (test_in_one_mode): Take pointer to new field instead of old ld_ok
51783         field value.  Check for IBM long double here.
51784         (do_test): Update calls to test_in_one_mode.
51786 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
51788         [BZ #12515]
51789         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
51790         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
51792 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51794         [BZ #15605]
51795         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
51796         generated by the compiler on loop optimizations.
51797         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
51798         general definitions.
51800 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
51802         * math/bug-nextafter.c: Include <math-tests.h>.
51803         (main): Only test for exceptions if EXCEPTION_TESTS is true for
51804         the relevant type.
51805         * math/bug-nexttoward.c: Include <math-tests.h>.
51806         (main): Only test for exceptions if EXCEPTION_TESTS is true for
51807         the relevant type.
51808         * math/test-misc.c: Include <math-tests.h>.
51809         (main): Only test for exceptions if EXCEPTION_TESTS is true for
51810         the relevant type.
51812 2013-06-12  Andreas Jaeger  <aj@suse.de>
51814         * po/ia.po: Update Interlingua translation from translation
51815         project.
51817 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
51819         * include/fenv.h: Include stdbool.h.
51820         (struct rm_ctx): New structure.
51821         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
51822         Define macro.
51823         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
51824         (SET_RESTORE_ROUNDF): Likewise.
51825         (SET_RESTORE_ROUNDL): Likewise.
51826         (SET_RESTORE_ROUND_NOEX): Likewise.
51827         (SET_RESTORE_ROUND_NOEXF): Likewise.
51828         (SET_RESTORE_ROUND_NOEXL): Likewise.
51829         (SET_RESTORE_ROUND_53BIT): Likewise.
51830         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
51831         (libc_feresetround_noexf_ctx): Likewise.
51832         (libc_feresetround_noexl_ctx): Likewise.
51833         (libc_feholdsetround_53bit_ctx): Likewise.
51834         (libc_feresetround_53bit_ctx): Likewise.
51835         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
51836         (libc_feholdexcept_setround_sse_ctx): New function.
51837         (libc_fesetenv_sse_ctx): Likewise.
51838         (libc_feupdateenv_sse_ctx): Likewise.
51839         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
51840         (libc_feholdexcept_setround_387_ctx): Likewise.
51841         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
51842         (libc_feholdsetround_387_prec_ctx): Likewise.
51843         (libc_feholdsetround_387_ctx): Likewise.
51844         (libc_feholdsetround_387_53bit_ctx): Likewise.
51845         (libc_feholdsetround_sse_ctx): Likewise.
51846         (libc_feresetround_sse_ctx): Likewise.
51847         (libc_feresetround_387_ctx): Likewise.
51848         (libc_feupdateenv_387_ctx): Likewise.
51849         (libc_feholdexcept_setroundf_ctx): Define macro.
51850         (libc_fesetenvf_ctx): Likewise.
51851         (libc_feupdateenvf_ctx): Likewise.
51852         (libc_feholdsetroundf_ctx): Likewise.
51853         (libc_feresetroundf_ctx): Likewise.
51854         (libc_feholdexcept_setround_ctx): Likewise.
51855         (libc_fesetenv_ctx): Likewise.
51856         (libc_feupdateenv_ctx): Likewise.
51857         (libc_feholdsetround_ctx): Likewise.
51858         (libc_feresetround_ctx): Likewise.
51859         (libc_feholdexcept_setroundl_ctx): Likewise.
51860         (libc_feupdateenvl_ctx): Likewise.
51861         (libc_feholdsetroundl_ctx): Likewise.
51862         (libc_feresetroundl_ctx): Likewise.
51863         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
51864         (libc_feresetround_53bit_ctx): Likewise.
51866 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51868         * locale/iso-639.def: Convert to UTF-8.
51870 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
51872         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
51873         (EXCEPTION_TESTS_double): Likewise.
51874         (EXCEPTION_TESTS_long_double): Likewise.
51875         (EXCEPTION_TESTS): Likewise.
51876         * math/libm-test.inc (test_exceptions): Only test exceptions if
51877         EXCEPTION_TESTS (FLOAT).
51879 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51881         * benchtests/Makefile (string-bench): Add strcpy_chk and
51882         stpcpy_chk.
51883         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
51884         * benchtests/bench-stpcpy_chk.c: New file.
51885         * benchtests/bench-strcpy_chk-ifunc.c: New file.
51886         * benchtests/bench-strcpy_chk.c: New file.
51887         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
51888         code.
51889         (do_test): Likewise.
51891 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51893         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
51894         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
51895         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
51896         with tabs where appropriate.
51897         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
51898         dl-procinfo.h.
51899         [PPC_PLATFORM_PPC440]: Likewise.
51900         [PPC_PLATFORM_PPC464]: Likewise.
51901         [PPC_PLATFORM_PPC476]: Likewise.
51902         (_dl_string_platform): Add support for detecting ppc405, ppc440,
51903         ppc464, and ppc476 platform strings merging from ports/
51904         dl-procinfo.h.
51906 2013-06-11  Andreas Schwab  <schwab@suse.de>
51908         [BZ #14991]
51909         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
51910         (from_ucs4_idx): Regenerate.
51911         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
51912         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
51913         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
51914         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
51915         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
51916         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
51917         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
51918         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
51919         from FROM_LOOP and TO_LOOP specific macros.
51920         (BODY): Handle combining characters.
51921         * iconvdata/BIG5HKSCS.irreversible: Update.
51922         * iconvdata/BIG5HKSCS.precomposed: New file.
51923         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
51924         characters.
51925         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
51927 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51929         * include/sys/time.h: Fix indentation and add copyright header.
51931         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
51932         (do_test): Likewise.
51933         * string/test-memchr.c (do_one_test): Likewise.
51934         (do_test): Likewise.
51935         * string/test-memcmp.c (do_one_test): Likewise.
51936         (do_test): Likewise.
51937         * string/test-memcpy.c (do_one_test): Likewise.
51938         (do_test): Likewise.
51939         * string/test-memmem.c (do_one_test): Likewise.
51940         (do_test): Likewise.
51941         (do_random_tests): Likewise.
51942         * string/test-memmove.c (do_one_test): Likewise.
51943         (do_test): Likewise.
51944         * string/test-memset.c (do_one_test): Likewise.
51945         (do_test): Likewise.
51946         * string/test-rawmemchr.c (do_one_test): Likewise.
51947         (do_test): Likewise.
51948         * string/test-strcasecmp.c (do_one_test): Likewise.
51949         (do_test): Likewise.
51950         * string/test-strcasestr.c (do_one_test): Likewise.
51951         (do_test): Likewise.
51952         * string/test-strcat.c (do_one_test): Likewise.
51953         (do_test): Likewise.
51954         * string/test-strchr.c (do_one_test): Likewise.
51955         (do_test): Likewise.
51956         * string/test-strcmp.c (do_one_test): Likewise.
51957         (do_test): Likewise.
51958         * string/test-strcpy.c (do_one_test): Likewise.
51959         (do_test): Likewise.
51960         * string/test-string.h: Likewise.
51961         (test_init): Likewise.
51962         * string/test-strlen.c (do_one_test): Likewise.
51963         (do_test): Likewise.
51964         * string/test-strncasecmp.c (do_one_test): Likewise.
51965         (do_test): Likewise.
51966         * string/test-strncat.c (do_one_test): Likewise.
51967         (do_test): Likewise.
51968         * string/test-strncmp.c (do_one_test): Likewise.
51969         (do_test_limit): Likewise.
51970         (do_test): Likewise.
51971         * string/test-strncpy.c (do_one_test): Likewise.
51972         (do_test): Likewise.
51973         * string/test-strnlen.c (do_one_test): Likewise.
51974         (do_test): Likewise.
51975         * string/test-strpbrk.c (do_one_test): Likewise.
51976         (do_test): Likewise.
51977         * string/test-strrchr.c (do_one_test): Likewise.
51978         (do_test): Likewise.
51979         * string/test-strspn.c (do_one_test): Likewise.
51980         (do_test): Likewise.
51981         * string/test-strstr.c (do_one_test): Likewise.
51982         (do_test): Likewise.
51984         * benchtests/Makefile (string-bench): Add string benchmarks.
51985         * benchtests/bench-bcopy-ifunc.c: New file.
51986         * benchtests/bench-bcopy.c: New file.
51987         * benchtests/bench-bzero-ifunc.c: New file.
51988         * benchtests/bench-bzero.c: New file.
51989         * benchtests/bench-memccpy-ifunc.c: New file.
51990         * benchtests/bench-memccpy.c: New file.
51991         * benchtests/bench-memchr-ifunc.c: New file.
51992         * benchtests/bench-memchr.c: New file.
51993         * benchtests/bench-memcmp-ifunc.c: New file.
51994         * benchtests/bench-memcmp.c: New file.
51995         * benchtests/bench-memmem-ifunc.c: New file.
51996         * benchtests/bench-memmem.c: New file.
51997         * benchtests/bench-memmove-ifunc.c: New file.
51998         * benchtests/bench-memmove.c: New file.
51999         * benchtests/bench-mempcpy-ifunc.c: New file.
52000         * benchtests/bench-mempcpy.c: New file.
52001         * benchtests/bench-memset-ifunc.c: New file.
52002         * benchtests/bench-memset.c: New file.
52003         * benchtests/bench-rawmemchr-ifunc.c: New file.
52004         * benchtests/bench-rawmemchr.c: New file.
52005         * benchtests/bench-stpcpy-ifunc.c: New file.
52006         * benchtests/bench-stpcpy.c: New file.
52007         * benchtests/bench-stpncpy-ifunc.c: New file.
52008         * benchtests/bench-stpncpy.c: New file.
52009         * benchtests/bench-strcasecmp-ifunc.c: New file.
52010         * benchtests/bench-strcasecmp.c: New file.
52011         * benchtests/bench-strcasestr-ifunc.c: New file.
52012         * benchtests/bench-strcasestr.c: New file.
52013         * benchtests/bench-strcat-ifunc.c: New file.
52014         * benchtests/bench-strcat.c: New file.
52015         * benchtests/bench-strchr-ifunc.c: New file.
52016         * benchtests/bench-strchr.c: New file.
52017         * benchtests/bench-strchrnul-ifunc.c: New file.
52018         * benchtests/bench-strchrnul.c: New file.
52019         * benchtests/bench-strcmp-ifunc.c: New file.
52020         * benchtests/bench-strcmp.c: New file.
52021         * benchtests/bench-strcpy-ifunc.c: New file.
52022         * benchtests/bench-strcpy.c: New file.
52023         * benchtests/bench-strcspn-ifunc.c: New file.
52024         * benchtests/bench-strcspn.c: New file.
52025         * benchtests/bench-strlen-ifunc.c: New file.
52026         * benchtests/bench-strlen.c: New file.
52027         * benchtests/bench-strncasecmp-ifunc.c: New file.
52028         * benchtests/bench-strncasecmp.c: New file.
52029         * benchtests/bench-strncat-ifunc.c: New file.
52030         * benchtests/bench-strncat.c: New file.
52031         * benchtests/bench-strncmp-ifunc.c: New file.
52032         * benchtests/bench-strncmp.c: New file.
52033         * benchtests/bench-strncpy-ifunc.c: New file.
52034         * benchtests/bench-strncpy.c: New file.
52035         * benchtests/bench-strnlen-ifunc.c: New file.
52036         * benchtests/bench-strnlen.c: New file.
52037         * benchtests/bench-strpbrk-ifunc.c: New file.
52038         * benchtests/bench-strpbrk.c: New file.
52039         * benchtests/bench-strrchr-ifunc.c: New file.
52040         * benchtests/bench-strrchr.c: New file.
52041         * benchtests/bench-strspn-ifunc.c: New file.
52042         * benchtests/bench-strspn.c: New file.
52043         * benchtests/bench-strstr-ifunc.c: New file.
52044         * benchtests/bench-strstr.c: New file.
52046         * benchtests/Makefile: Disable parallel execution of targets.
52047         (string-bench): Add memcpy.
52048         (benchset): New variable to store a list of benchmark sets.
52049         (bench-func): Renamed from bench.
52050         (bench-set): New target.
52051         (bench): Depend on bench-func and bench-set.
52052         * benchtests/README: Add section on benchmark sets.
52053         * benchtests/bench-memcpy-ifunc.c: New file.
52054         * benchtests/bench-memcpy.c: New file.
52055         * benchtests/bench-string.h: New file.
52057 2013-06-11  Andreas Schwab  <schwab@suse.de>
52059         [BZ #15577]
52060         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
52061         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
52062         values in the triple.
52063         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
52064         terminator in the group key.
52066 2013-06-11  Andreas Jaeger  <aj@suse.de>
52068         * po/zh_TW.po: Update Chinese (traditional) translation from
52069         translation project.
52071 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52073         * include/time.h (__clock_gettime): Add libc_hidden_proto.
52074         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
52075         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
52076         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
52077         (clock_getcpuclockid): Likewise.
52078         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
52079         Add weak_alias and libc_hidden_def.
52080         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
52081         * rt/clock_gettime.c (clock_gettime): Rename to
52082         __clock_gettime.  Add weak_alias and libc_hidden_def.
52083         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
52084         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
52085         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
52086         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
52087         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
52088         Likewise.
52089         * rt/clock_settime.c (clock_settime): Rename to
52090         __clock_settime.  Add weak_alias and libc_hidden_def.
52091         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
52093 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
52095         * mach/err_boot.sub: Remove trailing whitespace.
52096         * mach/err_ipc.sub: Likewise.
52097         * mach/err_mach.sub: Likewise.
52099         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
52100         (ROUNDING_TESTS_double): Likewise.
52101         (ROUNDING_TESTS_long_double): Likewise.
52102         (ROUNDING_TESTS): Likewise.
52103         * math/libm-test.inc: Include <math-tests.h>.
52104         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
52105         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
52106         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
52107         (IF_ROUND_INIT_FE_UPWARD): Likewise.
52109 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52111         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
52112         of assigning.
52114 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
52116         * sysdeps/gnu/errlist.awk: Do not generate space at end of
52117         otherwise empty TRANS lines.
52118         * sysdeps/gnu/errlist.c: Regenerated.
52120         * catgets/gencat.c (error_print): Use (void) in function
52121         definition.
52122         * crypt/crypt_util.c (__init_des): Likewise.
52123         * crypt/speeds.c (Stop): Likewise.
52124         (main): Likewise.
52125         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
52126         * inet/ruserpass.c (token): Likewise.
52127         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
52128         * intl/localealias.c (extend_alias_table): Likewise.
52129         * intl/plural-exp.c (init_germanic_plural): Likewise.
52130         * libio/fcloseall.c (__fcloseall): Likewise.
52131         * libio/genops.c (_IO_flush_all): Likewise.
52132         (_IO_flush_all_linebuffered): Likewise.
52133         (_IO_cleanup): Likewise.
52134         (_IO_iter_begin): Likewise.
52135         (_IO_iter_end): Likewise.
52136         (_IO_list_lock): Likewise.
52137         (_IO_list_unlock): Likewise.
52138         (_IO_list_resetlock): Likewise.
52139         * libio/getchar.c (getchar): Likewise.
52140         * libio/getchar_u.c (getchar_unlocked): Likewise.
52141         * libio/getwchar.c (getwchar): Likewise.
52142         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
52143         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
52144         * login/getpt.c (__getpt): Likewise.
52145         * login/tst-utmp.c (main): Likewise.
52146         * malloc/hooks.c (__malloc_check_init): Likewise.
52147         * malloc/malloc.c (__malloc_stats): Likewise.
52148         * malloc/mtrace.c (tr_break): Likewise.
52149         (mtrace): Likewise.
52150         (muntrace): Likewise.
52151         * misc/fstab.c (endfsent): Likewise.
52152         * misc/getclktck.c (__getclktck): Likewise.
52153         * misc/getdtsz.c (__getdtablesize): Likewise.
52154         * misc/gethostid.c (gethostid): Likewise.
52155         * misc/getpagesize.c (__getpagesize): Likewise.
52156         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
52157         (__get_nprocs): Likewise.
52158         (__get_phys_pages): Likewise.
52159         (__get_avphys_pages): Likewise.
52160         * misc/getttyent.c (getttyent): Likewise.
52161         (setttyent): Likewise.
52162         (endttyent): Likewise.
52163         * misc/getusershell.c (getusershell): Likewise.
52164         (endusershell): Likewise.
52165         (setusershell): Likewise.
52166         (initshells): Likewise.
52167         * misc/hsearch.c (__hdestroy): Likewise.
52168         * misc/sync.c (sync): Likewise.
52169         * misc/syslog.c (closelog_internal): Likewise.
52170         (closelog): Likewise.
52171         * misc/ttyslot.c (ttyslot): Likewise.
52172         * misc/vhangup.c (vhangup): Likewise.
52173         * posix/fork.c (__fork): Likewise.
52174         * posix/getegid.c (__getegid): Likewise.
52175         * posix/geteuid.c (__geteuid): Likewise.
52176         * posix/getgid.c (__getgid): Likewise.
52177         * posix/getpid.c (__getpid): Likewise.
52178         * posix/getppid.c (__getppid): Likewise.
52179         * posix/getuid.c (__getuid): Likewise.
52180         * posix/pause.c (pause): Likewise.
52181         * posix/setpgrp.c (setpgrp): Likewise.
52182         * posix/setsid.c (__setsid): Likewise.
52183         * posix/test-vfork.c (noop): Likewise.
52184         * resolv/gethnamaddr.c (_endhtent): Likewise.
52185         (_gethtent): Likewise.
52186         (ht_endhostent): Likewise.
52187         (gethostent): Likewise.
52188         (dns_service): Likewise.
52189         * stdlib/drand48.c (drand48): Likewise.
52190         * stdlib/lrand48.c (lrand48): Likewise.
52191         * stdlib/mrand48.c (mrand48): Likewise.
52192         * stdlib/rand.c (rand): Likewise.
52193         * stdlib/random.c (__random): Likewise.
52194         * stdlib/setenv.c (clearenv): Likewise.
52195         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
52196         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
52197         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
52198         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
52199         (__get_nprocs): Likewise.
52200         (__get_phys_pages): Likewise.
52201         (__get_avphys_pages): Likewise.
52202         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
52203         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
52204         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
52205         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
52206         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
52207         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
52208         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
52209         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
52210         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
52211         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
52212         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
52213         * sysdeps/mach/hurd/sync.c (sync): Likewise.
52214         * sysdeps/posix/clock.c (clock): Likewise.
52215         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
52216         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
52217         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
52218         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
52219         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
52220         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
52221         (__get_nprocs_conf): Likewise.
52222         (__get_phys_pages): Likewise.
52223         (__get_avphys_pages): Likewise.
52224         * time/clock.c (clock): Likewise.
52225         * time/tzset.c (__tzname_max): Likewise.
52227 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
52229         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
52230         (__bswap_32): Do not use "register".
52231         * crypt/crypt.c (_ufc_doit_r): Likewise.
52232         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
52233         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
52234         * gmon/gmon.c (__monstartup): Likewise.
52235         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
52236         * hurd/hurdmalloc.c (more_memory): Likewise.
52237         (malloc): Likewise.
52238         (free): Likewise.
52239         (realloc): Likewise.
52240         (malloc_fork_prepare): Likewise.
52241         (malloc_fork_parent): Likewise.
52242         (malloc_fork_child): Likewise.
52243         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
52244         (_svcauth_des): Likewise.
52245         * inet/inet_lnaof.c (inet_lnaof): Likewise.
52246         * inet/inet_net.c (inet_network): Likewise.
52247         * inet/inet_netof.c (inet_netof): Likewise.
52248         * inet/rcmd.c (__validuser2_sa): Likewise.
52249         * io/fts.c (fts_open): Likewise.
52250         (fts_load): Likewise.
52251         (fts_close): Likewise.
52252         (fts_read): Likewise.
52253         (fts_children): Likewise.
52254         (fts_build): Likewise.
52255         (fts_stat): Likewise.
52256         (fts_sort): Likewise.
52257         (fts_alloc): Likewise.
52258         (fts_lfree): Likewise.
52259         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
52260         (_IO_file_xsgetn): Likewise.
52261         (_IO_file_xsgetn_mmap): Likewise.
52262         * libio/iofopncook.c (_IO_cookie_read): Likewise.
52263         (_IO_cookie_write): Likewise.
52264         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
52265         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
52266         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
52267         * malloc/obstack.c (_obstack_begin): Likewise.
52268         (_obstack_begin_1): Likewise.
52269         (_obstack_newchunk): Likewise.
52270         (_obstack_allocated_p): Likewise.
52271         (obstack_free): Likewise.
52272         (_obstack_memory_used): Likewise.
52273         * misc/getttyent.c (getttynam): Likewise.
52274         (getttyent): Likewise.
52275         (skip): Likewise.
52276         (value): Likewise.
52277         * misc/getusershell.c (initshells): Likewise.
52278         * misc/syslog.c (__vsyslog_chk): Likewise.
52279         * misc/ttyslot.c (ttyslot): Likewise.
52280         * nis/nis_hash.c (__nis_hash): Likewise.
52281         * posix/fnmatch_loop.c (FCT): Likewise.
52282         * posix/getconf.c (print_all): Likewise.
52283         (main): Likewise.
52284         * posix/getopt.c (exchange): Likewise.
52285         * posix/glob.c (globfree): Likewise.
52286         (prefix_array): Likewise.
52287         (__glob_pattern_type): Likewise.
52288         * resolv/arpa/nameser.h (NS_GET16): Likewise.
52289         (NS_GET32): Likewise.
52290         (NS_PUT16): Likewise.
52291         (NS_PUT32): Likewise.
52292         * resolv/gethnamaddr.c (getanswer): Likewise.
52293         (gethostbyname2): Likewise.
52294         (gethostbyaddr): Likewise.
52295         (_gethtent): Likewise.
52296         (_gethtbyname2): Likewise.
52297         (_gethtbyaddr): Likewise.
52298         * resolv/ns_print.c (dst_s_get_int16): Likewise.
52299         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
52300         * resolv/res_init.c (__res_vinit): Likewise.
52301         (net_mask): Likewise.
52302         * resolv/res_mkquery.c (outchar): Likewise.
52303         (PRINT): Likewise.
52304         * stdio-common/printf_fp.c (outchar): Likewise.
52305         (PRINT): Likewise.
52306         * stdio-common/printf_fphex.c (outchar): Likewise.
52307         (PRINT): Likewise.
52308         * stdio-common/printf_size.c (outchar): Likewise.
52309         (PRINT): Likewise.
52310         * stdio-common/test_rdwr.c (main): Likewise.
52311         * stdio-common/tfformat.c (matches): Likewise.
52312         * stdio-common/vfprintf.c (outchar): Likewise.
52313         (printf_unknown): Likewise.
52314         (buffered_vfprintf): Likewise.
52315         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
52316         * stdio-common/xbug.c (AppendToBuffer): Likewise.
52317         (ReadFile): Likewise.
52318         * stdlib/qsort.c (SWAP): Likewise.
52319         (_quicksort): Likewise.
52320         * stdlib/setenv.c (__add_to_environ): Likewise.
52321         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
52322         * stdlib/strtol_l.c (__strtol_l): Likewise.
52323         * stdlib/tst-strtod.c (main): Likewise.
52324         * stdlib/tst-strtol.c (main): Likewise.
52325         * stdlib/tst-strtoll.c (main): Likewise.
52326         * string/bits/string2.h (__strcmp_cc): Likewise.
52327         (__strcmp_cg): Likewise.
52328         (__strcspn_c1): Likewise.
52329         (__strcspn_c2): Likewise.
52330         (__strcspn_c3): Likewise.
52331         (__strspn_c1): Likewise.
52332         (__strspn_c2): Likewise.
52333         (__strspn_c3): Likewise.
52334         (__strsep_1c): Likewise.
52335         (__strsep_2c): Likewise.
52336         (__strsep_3c): Likewise.
52337         * string/memccpy.c (__memccpy): Likewise.
52338         * string/stpcpy.c (__stpcpy): Likewise.
52339         * string/strcmp.c (strcmp): Likewise.
52340         * string/strrchr.c (strrchr): Likewise.
52341         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
52342         Likewise.
52343         * sysdeps/mach/hurd/getcwd.c
52344         (_hurd_canonicalize_directory_name_internal): Likewise.
52345         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
52346         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
52347         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
52348         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
52349         Likewise, in both definitions.
52350         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
52351         definitions.
52352         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
52353         64] (__bswap_64): Likewise.
52354         * time/test_time.c (main): Likewise.
52355         * time/tzfile.c (__tzfile_read): Likewise.
52356         (__tzfile_compute): Likewise.
52357         * time/tzset.c (__tzset_parse_tz): Likewise.
52358         (tzset_internal): Likewise.
52359         (compute_change): Likewise.
52360         * wcsmbs/wcscat.c (__wcscat): Likewise.
52361         * wcsmbs/wcschr.c (wcschr): Likewise.
52362         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
52363         * wcsmbs/wcscspn.c (wcscspn): Likewise.
52364         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
52365         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
52366         * wcsmbs/wcsspn.c (wcsspn): Likewise.
52367         * wcsmbs/wcsstr.c (wcsstr): Likewise.
52368         * wcsmbs/wmemchr.c (wmemchr): Likewise.
52369         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
52370         * wcsmbs/wmemset.c (wmemset): Likewise.
52372 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
52374         * scripts/config.guess: Update to version 2013-05-16.
52375         * scripts/config.sub: Update to version 2013-04-24.
52376         * scripts/install-sh: Update to version 2011-11-20.07.
52377         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
52378         * scripts/move-if-change: Update to version 2012-01-06 07:23.
52380 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
52382         * debug/fgetws_u_chk.c: Fix leading whitespaces.
52383         * elf/sln.c: Likewise.
52384         * hurd/hurd/ioctl.h: Likewise.
52385         * hurd/hurdmalloc.c: Likewise.
52386         * hurd/xattr.c: Likewise.
52387         * include/shlib-compat.h: Likewise.
52388         * inet/ruserpass.c: Likewise.
52389         * libio/iofgets_u.c: Likewise.
52390         * libio/iofgetws_u.c: Likewise.
52391         * locale/programs/ld-identification.c: Likewise.
52392         * locale/programs/ld-time.c: Likewise.
52393         * mach/msg-destroy.c: Likewise.
52394         * nss/nss_files/files-netgrp.c: Likewise.
52395         * resolv/res_data.c: Likewise.
52396         * soft-fp/op-1.h: Likewise.
52397         * soft-fp/op-2.h: Likewise.
52398         * soft-fp/op-4.h: Likewise.
52399         * soft-fp/op-common.h: Likewise.
52400         * stdio-common/printf_fphex.c: Likewise.
52401         * stdlib/strtod_l.c: Likewise.
52402         * sunrpc/rpc/clnt.h: Likewise.
52403         * sysdeps/generic/framestate.c: Likewise.
52404         * sysdeps/i386/bsd-_setjmp.S: Likewise.
52405         * sysdeps/i386/bsd-setjmp.S: Likewise.
52406         * sysdeps/i386/__longjmp.S: Likewise.
52407         * sysdeps/i386/setjmp.S: Likewise.
52408         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52409         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
52410         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52411         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
52412         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52413         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
52414         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
52415         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
52416         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
52417         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
52418         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
52419         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
52420         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
52421         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
52422         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
52423         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
52424         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
52425         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
52426         * sysdeps/ieee754/support.c: Likewise.
52427         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
52428         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
52429         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
52430         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
52431         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
52432         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
52433         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
52434         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
52435         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
52436         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
52437         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
52438         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
52439         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
52440         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
52441         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
52442         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
52443         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
52444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
52446 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
52448         * posix/transbug.c: Remove executable mode.
52450 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
52452         * crypt/speeds.c: Remove trailing whitespace.
52453         * dlfcn/default.c: Likewise.
52454         * elf/ifuncdep2.c: Likewise.
52455         * elf/ifuncmain1.c: Likewise.
52456         * elf/ifuncmain1vis.c: Likewise.
52457         * elf/testobj.h: Likewise.
52458         * elf/tst-stackguard1.c: Likewise.
52459         * gmon/sys/gmon.h: Likewise.
52460         * hurd/hurdmsg.c: Likewise.
52461         * hurd/new-fd.c: Likewise.
52462         * hurd/ports-get.c: Likewise.
52463         * iconvdata/ibm1008_420.c: Likewise.
52464         * inet/tst-getni1.c: Likewise.
52465         * inet/tst-getni2.c: Likewise.
52466         * libio/ioungetc.c: Likewise.
52467         * libio/wfiledoalloc.c: Likewise.
52468         * manual/libm-err-tab.pl: Likewise.
52469         * math/w_dremf.c: Likewise.
52470         * misc/ftruncate.c: Likewise.
52471         * posix/bug-glob2.c: Likewise.
52472         * posix/tst-pcre.c: Likewise.
52473         * posix/wait4.c: Likewise.
52474         * resolv/README: Likewise.
52475         * resolv/res_debug.h: Likewise.
52476         * resolv/tst-inet_ntop.c: Likewise.
52477         * setjmp/bug269-setjmp.c: Likewise.
52478         * soft-fp/extended.h: Likewise.
52479         * soft-fp/op-1.h: Likewise.
52480         * soft-fp/op-2.h: Likewise.
52481         * soft-fp/op-4.h: Likewise.
52482         * soft-fp/op-8.h: Likewise.
52483         * soft-fp/testit.c: Likewise.
52484         * stdio-common/bug16.c: Likewise.
52485         * stdlib/random.c: Likewise.
52486         * sunrpc/rpcsvc/rquota.x: Likewise.
52487         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
52488         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
52489         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52490         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
52491         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
52492         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
52493         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
52494         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
52495         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
52496         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52497         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
52498         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
52499         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
52500         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
52501         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
52502         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
52503         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
52504         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
52505         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
52506         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
52507         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
52508         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
52509         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
52510         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
52511         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
52512         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
52513         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
52514         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
52515         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
52516         * sysdeps/ieee754/s_lib_version.c: Likewise.
52517         * sysdeps/mach/hurd/check_fds.c: Likewise.
52518         * sysdeps/mach/hurd/getsockname.c: Likewise.
52519         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
52520         * sysdeps/mach/hurd/recvfrom.c: Likewise.
52521         * sysdeps/powerpc/bits/link.h: Likewise.
52522         * sysdeps/powerpc/dl-procinfo.c: Likewise.
52523         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
52524         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
52525         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
52526         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
52527         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
52528         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
52529         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
52530         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
52531         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
52532         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
52533         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
52534         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
52535         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
52536         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
52537         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
52538         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
52539         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
52540         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
52541         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
52542         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
52543         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
52544         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
52545         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
52546         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
52547         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
52548         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
52549         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
52550         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
52551         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
52552         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
52553         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
52554         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
52555         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52556         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
52557         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
52558         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
52559         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
52560         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
52561         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
52562         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
52563         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
52564         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
52565         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
52566         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
52567         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
52568         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
52569         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
52570         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
52571         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
52572         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52573         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
52574         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
52575         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
52576         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
52577         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
52578         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
52579         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
52580         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
52581         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
52582         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
52583         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
52584         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
52585         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
52586         * sysdeps/powerpc/sysdep.h: Likewise.
52587         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
52588         * sysdeps/s390/s390-64/sub_n.S: Likewise.
52589         * sysdeps/sh/dl-trampoline.S: Likewise.
52590         * sysdeps/sh/memset.S: Likewise.
52591         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
52592         * sysdeps/sh/strlen.S: Likewise.
52593         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
52594         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
52595         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
52596         * sysdeps/sparc/sparc32/rem.S: Likewise.
52597         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
52598         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
52599         * sysdeps/sparc/sparc32/strchr.S: Likewise.
52600         * sysdeps/sparc/sparc32/udiv.S: Likewise.
52601         * sysdeps/sparc/sparc32/urem.S: Likewise.
52602         * sysdeps/sparc/sparc64/add_n.S: Likewise.
52603         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
52604         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
52605         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
52606         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
52607         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
52608         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
52609         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
52610         * sysdeps/unix/bsd/times.c: Likewise.
52611         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
52612         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
52613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
52614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
52615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
52616         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
52617         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
52618         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
52619         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
52620         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
52621         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
52622         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
52623         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
52624         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
52625         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
52626         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
52627         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
52628         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
52629         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
52630         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
52631         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
52632         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
52633         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
52634         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
52635         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
52636         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
52637         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
52638         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
52639         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
52640         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
52641         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
52642         * sysdeps/x86_64/strcspn.S: Likewise.
52644 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52646         * locale/C-translit.h: Revert #include <stdint.h> because this is a
52647         generated file.  Regenerate properly from gen-translit.pl.
52648         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
52649         locale/C-translit.h.
52651 2013-06-05  Andreas Schwab  <schwab@suse.de>
52653         [BZ #15100]
52654         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
52655         week as 6 instead of -1.
52656         * time/tst-strptime.c (day_tests): Add test case.
52658 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
52660         * sysdeps/generic/math_private.h
52661         (libc_feholdexcept_setround_53bit): Replace with
52662         libc_feholdsetround_53bit.
52663         (libc_feupdateenv_53bit): Replace with
52664         libc_feresetround_53bit.
52665         (SET_RESTORE_ROUND_53BIT): Adjust.
52667 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
52669         * string/test-strchrnul.c: Add copyright header.
52671         * posix/tst-getaddrinfo4.c: Increase test timeout.
52673 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
52675         [BZ #15536]
52676         * math/libm-test.inc (MAX_EXP): Remove
52677         (MIN_EXP): Define.
52678         (ulp): Use MIN_EXP - MANT_DIG.
52679         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
52681 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
52683         * po/be.po: Revert last change.
52684         * po/zh_CN.po: Likewise.
52685         * po/header.pot: Likewise.
52687 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
52689         * Makefile ($(common-objpfx)linkobj/libc.so): Define
52690         link-libc-deps to empty as target-specific variable.
52691         * Makerules (link-libc-args): New variable.
52692         (libc-for-link): Likewise.
52693         (link-libc-deps): Likewise.
52694         (lib%.so): Depend on $(link-libc-deps).  Link with
52695         $(link-libc-args).
52696         (build-module): Link with $(link-libc-args).
52697         (build-module-asneeded): Likewise.
52698         (build-module-helper-objlist): Filter out $(link-libc-deps) from
52699         list of objects.
52700         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
52701         target-specific variable.
52702         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
52703         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
52704         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
52705         libc.
52706         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
52707         libc and ld.so.
52708         ($(objpfx)libpcprofile.so): Likewise.
52709         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
52710         libc_nonshared.a.
52711         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
52712         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
52713         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
52714         $(link-libc-deps).
52715         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
52716         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
52717         * login/Makefile ($(objpfx)libutil.so): Likewise.
52718         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
52719         * math/Makefile ($(objpfx)libm.so): Likewise.
52720         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
52721         $(objpfx)libnsl.so): Define libc-for-link as target-specific
52722         variable instead of depending directly on libc.
52723         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
52724         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
52725         $(link-libc-deps).
52726         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
52727         libc.
52728         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
52729         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
52730         ($(objpfx)libanl.so): Likewise.
52731         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
52732         ld.so.
52733         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
52734         $(link-libc-deps).
52735         * sysdeps/i386/fpu/Makefile: Remove file.
52736         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
52737         ($(objpfx)libm.so): Remove dependency on ld.so.
52739 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
52741         [BZ # 15553]
52742         * nis/yp_xdr.c (XDRMAXNAME): Define.
52743         (XDRMAXRECORD): Define.
52744         (xdr_domainname): Use XDRMAXNAME.
52745         (xdr_mapname): Likewise.
52746         (xdr_peername): Likewise.
52747         (xdr_keydat): Use XDRMAXRECORD.
52748         (xdr_valdat): Likewise.
52750 2013-05-30  Jeff Law  <law@redhat.com>
52752         [BZ #14256]
52753         * manual/errno.texi (ESTALE): Update to account for more than
52754         just NFS file systems.
52755         * sysdeps/gnu/errlist.c: Regenerated.
52757 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52759         [BZ #15465]
52760         * elf/Makefile (tests): Add tst-null-argv.
52761         (modules-names):  Add tst-null-argv-lib.
52762         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
52763         (tst-null-argv-ENV): Set environment for tst-null-argv.
52764         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
52765         (RTLD_PROGNAME): New macro.
52766         * elf/tst-null-argv.c: New test case.
52767         * elf/tst-null-argv-lib.c: Library for test case.
52768         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
52769         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
52770         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
52771         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
52772         * elf/dl-init.c (call_init): Likewise.
52773         (_dl_init): Likewise.
52774         * elf/dl-load.c (print_search_path): Likewise.
52775         (_dl_map_object): Likewise.
52776         * elf/dl-lookup.c (do_lookup_x): Likewise.
52777         (add_dependency): Likewise.
52778         (_dl_lookup_symbol_x): Likewise.
52779         (_dl_debug_bindings): Likewise.
52780         * elf/dl-open.c (_dl_show_scope): Likewise.
52781         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
52782         * elf/dl-version.c (match_symbol): Likewise.
52783         (_dl_check_map_versions): Likewise.
52784         * elf/rtld.c (dl_main): Likewise.
52785         (print_unresolved): Use RTLD_PROGNAME.
52786         (print_missing_version): Likewise.
52787         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
52788         (elf_machine_rela): Likewise.
52789         * sysdeps/powerpc/powerpc32/dl-machine.c
52790         (__process_machine_rela): Likewise.
52791         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52792         Likewise.
52793         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
52794         Likewise.
52795         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
52796         Likewise.
52797         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
52798         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
52799         Likewise.
52800         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
52801         Likewise.
52802         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
52804 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
52806         * po/be.po: Add descriptive title.
52807         * po/zh_CN.po: Likewise.
52808         * po/header.pot: Likewise.
52810 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
52812         * locale/programs/locarchive.c (create_archive): Inlucde fname in
52813         error message.
52814         (enlarge_archive): Likewise.
52816 2013-05-28  Ben North  <ben@redfrontdoor.org>
52818         * manual/arith.texi (frexp): It is the magnitude of the return
52819         value which lies in [0.5, 1), not the return value itself.
52821 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52823         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52825 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
52827         * stdio-common/bug26.c (main): Correct fscanf template.
52829         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
52830         declare _dl_skip_args.
52832         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
52833         Don't declare.
52835         * manual/platform.texi: Add missing @end deftypefun.
52837 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
52839         [BZ #15529]
52840         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
52841         bit of mantissa of 2^16382.
52842         * math/libm-test.inc (hypot_test_data): Add more tests.
52844         * math/libm-test.inc: Add drem and pow10 to list of tested
52845         functions.
52846         (pow10_test): New function.
52847         (drem_test): Likewise.
52848         (drem_test_tonearest): Likewise.
52849         (drem_test_towardzero): Likewise.
52850         (drem_test_downward): Likewise.
52851         (drem_test_upward): Likewise.
52852         (main): Call the new functions.
52854         * math/libm-test.inc (finite_test_data): Remove.
52855         (finite_test): Run tests from isfinite_test_data.
52856         (gamma_test_data): Remove.
52857         (gamma_test): Run tests from lgamma_test_data.
52858         * sysdeps/i386/fpu/libm-test-ulps: Update.
52859         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52861 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52863         * manual/platform.texi: Add PowerPC PPR function set documentation.
52864         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
52865         implementation.
52867 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
52869         * math/libm-test.inc (MAX_EXP): Define.
52870         (ULPDIFF): Define.
52871         (ulp): New function.
52872         (check_float_internal): Use ULPDIFF.
52873         (cpow_test): Disable failing test.
52874         (check_ulp): Test ulp() implemetnation.
52875         (main): Call check_ulp before starting tests.
52877 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
52879         * math/gen-libm-test.pl (generate_testfile): Do not handle
52880         START_DATA and END_DATA.
52881         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
52882         END_DATA.
52883         (acos_tonearest_test_data): Likewise.
52884         (acos_towardzero_test_data): Likewise.
52885         (acos_downward_test_data): Likewise.
52886         (acos_upward_test_data): Likewise.
52887         (acosh_test_data): Likewise.
52888         (asin_test_data): Likewise.
52889         (asin_tonearest_test_data): Likewise.
52890         (asin_towardzero_test_data): Likewise.
52891         (asin_downward_test_data): Likewise.
52892         (asin_upward_test_data): Likewise.
52893         (asinh_test_data): Likewise.
52894         (atan_test_data): Likewise.
52895         (atanh_test_data): Likewise.
52896         (atan2_test_data): Likewise.
52897         (cabs_test_data): Likewise.
52898         (cacos_test_data): Likewise.
52899         (cacosh_test_data): Likewise.
52900         (carg_test_data): Likewise.
52901         (casin_test_data): Likewise.
52902         (casinh_test_data): Likewise.
52903         (catan_test_data): Likewise.
52904         (catanh_test_data): Likewise.
52905         (cbrt_test_data): Likewise.
52906         (ccos_test_data): Likewise.
52907         (ccosh_test_data): Likewise.
52908         (ceil_test_data): Likewise.
52909         (cexp_test_data): Likewise.
52910         (cimag_test_data): Likewise.
52911         (clog_test_data): Likewise.
52912         (clog10_test_data): Likewise.
52913         (conj_test_data): Likewise.
52914         (copysign_test_data): Likewise.
52915         (cos_test_data): Likewise.
52916         (cos_tonearest_test_data): Likewise.
52917         (cos_towardzero_test_data): Likewise.
52918         (cos_downward_test_data): Likewise.
52919         (cos_upward_test_data): Likewise.
52920         (cosh_test_data): Likewise.
52921         (cosh_tonearest_test_data): Likewise.
52922         (cosh_towardzero_test_data): Likewise.
52923         (cosh_downward_test_data): Likewise.
52924         (cosh_upward_test_data): Likewise.
52925         (cpow_test_data): Likewise.
52926         (cproj_test_data): Likewise.
52927         (creal_test_data): Likewise.
52928         (csin_test_data): Likewise.
52929         (csinh_test_data): Likewise.
52930         (csqrt_test_data): Likewise.
52931         (ctan_test_data): Likewise.
52932         (ctan_tonearest_test_data): Likewise.
52933         (ctan_towardzero_test_data): Likewise.
52934         (ctan_downward_test_data): Likewise.
52935         (ctan_upward_test_data): Likewise.
52936         (ctanh_test_data): Likewise.
52937         (ctanh_tonearest_test_data): Likewise.
52938         (ctanh_towardzero_test_data): Likewise.
52939         (ctanh_downward_test_data): Likewise.
52940         (ctanh_upward_test_data): Likewise.
52941         (erf_test_data): Likewise.
52942         (erfc_test_data): Likewise.
52943         (exp_test_data): Likewise.
52944         (exp_tonearest_test_data): Likewise.
52945         (exp_towardzero_test_data): Likewise.
52946         (exp_downward_test_data): Likewise.
52947         (exp_upward_test_data): Likewise.
52948         (exp10_test_data): Likewise.
52949         (exp2_test_data): Likewise.
52950         (expm1_test_data): Likewise.
52951         (fabs_test_data): Likewise.
52952         (fdim_test_data): Likewise.
52953         (finite_test_data): Likewise.
52954         (floor_test_data): Likewise.
52955         (fma_test_data): Likewise.
52956         (fma_towardzero_test_data): Likewise.
52957         (fma_downward_test_data): Likewise.
52958         (fma_upward_test_data): Likewise.
52959         (fmax_test_data): Likewise.
52960         (fmin_test_data): Likewise.
52961         (fmod_test_data): Likewise.
52962         (fpclassify_test_data): Likewise.
52963         (frexp_test_data): Likewise.
52964         (gamma_test_data): Likewise.
52965         (hypot_test_data): Likewise.
52966         (ilogb_test_data): Likewise.
52967         (isfinite_test_data): Likewise.
52968         (isgreater_test_data): Likewise.
52969         (isgreaterequal_test_data): Likewise.
52970         (isinf_test_data): Likewise.
52971         (isless_test_data): Likewise.
52972         (islessequal_test_data): Likewise.
52973         (islessgreater_test_data): Likewise.
52974         (isnan_test_data): Likewise.
52975         (isnormal_test_data): Likewise.
52976         (issignaling_test_data): Likewise.
52977         (isunordered_test_data): Likewise.
52978         (j0_test_data): Likewise.
52979         (j1_test_data): Likewise.
52980         (jn_test_data): Likewise.
52981         (ldexp_test_data): Likewise.
52982         (lgamma_test_data): Likewise.
52983         (lrint_test_data): Likewise.
52984         (lrint_tonearest_test_data): Likewise.
52985         (lrint_towardzero_test_data): Likewise.
52986         (lrint_downward_test_data): Likewise.
52987         (lrint_upward_test_data): Likewise.
52988         (llrint_test_data): Likewise.
52989         (llrint_tonearest_test_data): Likewise.
52990         (llrint_towardzero_test_data): Likewise.
52991         (llrint_downward_test_data): Likewise.
52992         (llrint_upward_test_data): Likewise.
52993         (log_test_data): Likewise.
52994         (log10_test_data): Likewise.
52995         (log1p_test_data): Likewise.
52996         (log2_test_data): Likewise.
52997         (logb_test_data): Likewise.
52998         (logb_downward_test_data): Likewise.
52999         (lround_test_data): Likewise.
53000         (llround_test_data): Likewise.
53001         (modf_test_data): Likewise.
53002         (nearbyint_test_data): Likewise.
53003         (nextafter_test_data): Likewise.
53004         (nexttoward_test_data): Likewise.
53005         (pow_test_data): Likewise.
53006         (pow_tonearest_test_data): Likewise.
53007         (pow_towardzero_test_data): Likewise.
53008         (pow_downward_test_data): Likewise.
53009         (pow_upward_test_data): Likewise.
53010         (remainder_test_data): Likewise.
53011         (remainder_tonearest_test_data): Likewise.
53012         (remainder_towardzero_test_data): Likewise.
53013         (remainder_downward_test_data): Likewise.
53014         (remainder_upward_test_data): Likewise.
53015         (remquo_test_data): Likewise.
53016         (rint_test_data): Likewise.
53017         (rint_tonearest_test_data): Likewise.
53018         (rint_towardzero_test_data): Likewise.
53019         (rint_downward_test_data): Likewise.
53020         (rint_upward_test_data): Likewise.
53021         (round_test_data): Likewise.
53022         (scalb_test_data): Likewise.
53023         (scalbn_test_data): Likewise.
53024         (scalbln_test_data): Likewise.
53025         (signbit_test_data): Likewise.
53026         (sin_test_data): Likewise.
53027         (sin_tonearest_test_data): Likewise.
53028         (sin_towardzero_test_data): Likewise.
53029         (sin_downward_test_data): Likewise.
53030         (sin_upward_test_data): Likewise.
53031         (sincos_test_data): Likewise.
53032         (sinh_test_data): Likewise.
53033         (sinh_tonearest_test_data): Likewise.
53034         (sinh_towardzero_test_data): Likewise.
53035         (sinh_downward_test_data): Likewise.
53036         (sinh_upward_test_data): Likewise.
53037         (sqrt_test_data): Likewise.
53038         (tan_test_data): Likewise.
53039         (tan_tonearest_test_data): Likewise.
53040         (tan_towardzero_test_data): Likewise.
53041         (tan_downward_test_data): Likewise.
53042         (tan_upward_test_data): Likewise.
53043         (tanh_test_data): Likewise.
53044         (tgamma_test_data): Likewise.
53045         (trunc_test_data): Likewise.
53046         (y0_test_data): Likewise.
53047         (y1_test_data): Likewise.
53048         (yn_test_data): Likewise.
53049         (significand_test_data): Likewise.
53051         * math/gen-libm-test.pl (@functions): Remove variable.
53052         (generate_testfile): Don't handle START and END lines.
53053         * math/libm-test.inc (START): New macro.
53054         (END): Likewise.
53055         (END_COMPLEX): Likewise.
53056         (acos_test): Use END macro without arguments.
53057         (acos_test_tonearest): Likewise.
53058         (acos_test_towardzero): Likewise.
53059         (acos_test_downward): Likewise.
53060         (acos_test_upward): Likewise.
53061         (acosh_test): Likewise.
53062         (asin_test): Likewise.
53063         (asin_test_tonearest): Likewise.
53064         (asin_test_towardzero): Likewise.
53065         (asin_test_downward): Likewise.
53066         (asin_test_upward): Likewise.
53067         (asinh_test): Likewise.
53068         (atan_test): Likewise.
53069         (atanh_test): Likewise.
53070         (atan2_test): Likewise.
53071         (cabs_test): Likewise.
53072         (cacos_test): Use END_COMPLEX macro without arguments.
53073         (cacosh_test): Likewise.
53074         (carg_test): Use END macro without arguments.
53075         (casin_test): Use END_COMPLEX macro without arguments.
53076         (casinh_test): Likewise.
53077         (catan_test): Likewise.
53078         (catanh_test): Likewise.
53079         (cbrt_test): Use END macro without arguments.
53080         (ccos_test): Use END_COMPLEX macro without arguments.
53081         (ccosh_test): Likewise.
53082         (ceil_test): Use END macro without arguments.
53083         (cexp_test): Use END_COMPLEX macro without arguments.
53084         (cimag_test): Use END macro without arguments.
53085         (clog_test): Use END_COMPLEX macro without arguments.
53086         (clog10_test): Likewise.
53087         (conj_test): Likewise.
53088         (copysign_test): Use END macro without arguments.
53089         (cos_test): Likewise.
53090         (cos_test_tonearest): Likewise.
53091         (cos_test_towardzero): Likewise.
53092         (cos_test_downward): Likewise.
53093         (cos_test_upward): Likewise.
53094         (cosh_test): Likewise.
53095         (cosh_test_tonearest): Likewise.
53096         (cosh_test_towardzero): Likewise.
53097         (cosh_test_downward): Likewise.
53098         (cosh_test_upward): Likewise.
53099         (cpow_test): Use END_COMPLEX macro without arguments.
53100         (cproj_test): Likewise.
53101         (creal_test): Use END macro without arguments.
53102         (csin_test): Use END_COMPLEX macro without arguments.
53103         (csinh_test): Likewise.
53104         (csqrt_test): Likewise.
53105         (ctan_test): Likewise.
53106         (ctan_test_tonearest): Likewise.
53107         (ctan_test_towardzero): Likewise.
53108         (ctan_test_downward): Likewise.
53109         (ctan_test_upward): Likewise.
53110         (ctanh_test): Likewise.
53111         (ctanh_test_tonearest): Likewise.
53112         (ctanh_test_towardzero): Likewise.
53113         (ctanh_test_downward): Likewise.
53114         (ctanh_test_upward): Likewise.
53115         (erf_test): Use END macro without arguments.
53116         (erfc_test): Likewise.
53117         (exp_test): Likewise.
53118         (exp_test_tonearest): Likewise.
53119         (exp_test_towardzero): Likewise.
53120         (exp_test_downward): Likewise.
53121         (exp_test_upward): Likewise.
53122         (exp10_test): Likewise.
53123         (exp2_test): Likewise.
53124         (expm1_test): Likewise.
53125         (fabs_test): Likewise.
53126         (fdim_test): Likewise.
53127         (finite_test): Likewise.
53128         (floor_test): Likewise.
53129         (fma_test): Likewise.
53130         (fma_test_towardzero): Likewise.
53131         (fma_test_downward): Likewise.
53132         (fma_test_upward): Likewise.
53133         (fmax_test): Likewise.
53134         (fmin_test): Likewise.
53135         (fmod_test): Likewise.
53136         (fpclassify_test): Likewise.
53137         (frexp_test): Likewise.
53138         (gamma_test): Likewise.
53139         (hypot_test): Likewise.
53140         (ilogb_test): Likewise.
53141         (isfinite_test): Likewise.
53142         (isgreater_test): Likewise.
53143         (isgreaterequal_test): Likewise.
53144         (isinf_test): Likewise.
53145         (isless_test): Likewise.
53146         (islessequal_test): Likewise.
53147         (islessgreater_test): Likewise.
53148         (isnan_test): Likewise.
53149         (isnormal_test): Likewise.
53150         (issignaling_test): Likewise.
53151         (isunordered_test): Likewise.
53152         (j0_test): Likewise.
53153         (j1_test): Likewise.
53154         (jn_test): Likewise.
53155         (ldexp_test): Likewise.
53156         (lgamma_test): Likewise.
53157         (lrint_test): Likewise.
53158         (lrint_test_tonearest): Likewise.
53159         (lrint_test_towardzero): Likewise.
53160         (lrint_test_downward): Likewise.
53161         (lrint_test_upward): Likewise.
53162         (llrint_test): Likewise.
53163         (llrint_test_tonearest): Likewise.
53164         (llrint_test_towardzero): Likewise.
53165         (llrint_test_downward): Likewise.
53166         (llrint_test_upward): Likewise.
53167         (log_test): Likewise.
53168         (log10_test): Likewise.
53169         (log1p_test): Likewise.
53170         (log2_test): Likewise.
53171         (logb_test): Likewise.
53172         (logb_test_downward): Likewise.
53173         (lround_test): Likewise.
53174         (llround_test): Likewise.
53175         (modf_test): Likewise.
53176         (nearbyint_test): Likewise.
53177         (nextafter_test): Likewise.
53178         (nexttoward_test): Likewise.
53179         (pow_test): Likewise.
53180         (pow_test_tonearest): Likewise.
53181         (pow_test_towardzero): Likewise.
53182         (pow_test_downward): Likewise.
53183         (pow_test_upward): Likewise.
53184         (remainder_test): Likewise.
53185         (remainder_test_tonearest): Likewise.
53186         (remainder_test_towardzero): Likewise.
53187         (remainder_test_downward): Likewise.
53188         (remainder_test_upward): Likewise.
53189         (remquo_test): Likewise.
53190         (rint_test): Likewise.
53191         (rint_test_tonearest): Likewise.
53192         (rint_test_towardzero): Likewise.
53193         (rint_test_downward): Likewise.
53194         (rint_test_upward): Likewise.
53195         (round_test): Likewise.
53196         (scalb_test): Likewise.
53197         (scalbn_test): Likewise.
53198         (scalbln_test): Likewise.
53199         (signbit_test): Likewise.
53200         (sin_test): Likewise.
53201         (sin_test_tonearest): Likewise.
53202         (sin_test_towardzero): Likewise.
53203         (sin_test_downward): Likewise.
53204         (sin_test_upward): Likewise.
53205         (sincos_test): Likewise.
53206         (sinh_test): Likewise.
53207         (sinh_test_tonearest): Likewise.
53208         (sinh_test_towardzero): Likewise.
53209         (sinh_test_downward): Likewise.
53210         (sinh_test_upward): Likewise.
53211         (sqrt_test): Likewise.
53212         (tan_test): Likewise.
53213         (tan_test_tonearest): Likewise.
53214         (tan_test_towardzero): Likewise.
53215         (tan_test_downward): Likewise.
53216         (tan_test_upward): Likewise.
53217         (tanh_test): Likewise.
53218         (tgamma_test): Likewise.
53219         (trunc_test): Likewise.
53220         (y0_test): Likewise.
53221         (y1_test): Likewise.
53222         (yn_test): Likewise.
53223         (significand_test): Likewise.
53225 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
53227         [BZ #15381]
53228         * libio/genops.c (_IO_no_init): Initialize wide struct info.
53230 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
53232         [BZ #14894]
53233         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
53234         __ppc_mdoio and __ppc_mdoom.
53235         * manual/platform.texi: Document new functions __ppc_yield,
53236         __ppc_mdoio and __ppc_mdoom.
53238 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
53240         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
53241         (main): Mention "tls" pseudo-hwcap is legacy.
53242         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
53244 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
53246         * math/gen-libm-test.pl (parse_args): Output only string of
53247         arguments as text for test name, not full call or descriptions of
53248         tests for extra outputs.
53249         (generate_testfile): Do not pass function name to parse_args.
53250         Generate this_func variable from START.
53251         * math/libm-test.inc (struct test_f_f_data): Rename test_name
53252         field to arg_str.
53253         (struct test_ff_f_data): Likewise.
53254         (test_ff_f_data_nexttoward): Likewise.
53255         (struct test_fi_f_data): Likewise.
53256         (struct test_fl_f_data): Likewise.
53257         (struct test_if_f_data): Likewise.
53258         (struct test_fff_f_data): Likewise.
53259         (struct test_c_f_data): Likewise.
53260         (struct test_f_f1_data): Likewise.  Remove field extra_name.
53261         (struct test_fF_f1_data): Likewise.
53262         (struct test_ffI_f1_data): Likewise.
53263         (struct test_c_c_data): Rename test_name field to arg_str.
53264         (struct test_cc_c_data): Likewise.
53265         (struct test_f_i_data): Likewise.
53266         (struct test_ff_i_data): Likewise.
53267         (struct test_f_l_data): Likewise.
53268         (struct test_f_L_data): Likewise.
53269         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
53270         and extra2_name.
53271         (COMMON_TEST_SETUP): New macro.
53272         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
53273         (COMMON_TEST_CLEANUP): Likewise.
53274         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
53275         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
53276         macros.
53277         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
53278         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
53279         macros.
53280         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
53281         (RUN_TEST_fff_f): Take argument string.  Call new setup and
53282         cleanup macros.
53283         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
53284         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
53285         macros.
53286         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
53287         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
53288         macros.
53289         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
53290         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
53291         cleanup macros.
53292         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
53293         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
53294         cleanup macros.
53295         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
53296         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
53297         cleanup macros.
53298         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
53299         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
53300         macros.
53301         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
53302         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
53303         macros.
53304         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
53305         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
53306         macros.
53307         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
53308         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
53309         cleanup macros.
53310         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
53311         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
53312         cleanup macros.
53313         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
53314         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
53315         macros.
53316         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
53317         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
53318         cleanup macros.
53319         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
53320         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
53321         macros.
53322         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
53323         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
53324         macros.
53325         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
53326         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
53327         cleanup macros.
53328         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
53330 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
53332         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
53333         to _sifields.sigfault.
53334         (si_addr_lsb): Define new macro.
53335         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
53336         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53337         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
53339 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
53341         [BZ #15441]
53342         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
53343         returns -1.
53344         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
53345         null return -1.
53346         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
53347         loading the domain.
53349 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
53351         * math/gen-libm-test.pl (parse_args): Do not include expected
53352         result in test name.
53353         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
53354         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53355         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
53356         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
53357         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
53358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53360 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
53362         * benchtests/Makefile: Sort function entries.
53364         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
53365         tanh, asinh, acosh, atanh.
53366         * benchtests/acos-inputs: New file.
53367         * benchtests/acosh-inputs: New file.
53368         * benchtests/asin-inputs: New file.
53369         * benchtests/asinh-inputs: New file.
53370         * benchtests/atanh-inputs: New file.
53371         * benchtests/cosh-inputs: New file.
53372         * benchtests/log-inputs: New file.
53373         * benchtests/sinh-inputs: New file.
53374         * benchtests/tanh-inputs: New file.
53376 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
53378         [BZ #15339]
53379         * posix/tst-getaddrinfo4.c: New test.
53380         * posix/Makefile (tests): Add it.
53382 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53384         [BZ #15339]
53385         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
53386         when no services were used.
53387         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
53388         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
53390 2013-05-21  Andreas Schwab  <schwab@suse.de>
53392         [BZ #15014]
53393         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
53394         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
53395         successful.
53396         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
53397         redundant variable declarations and reallocation of buffer when
53398         parsing as IPv6 address.  Always set NSS status when called from
53399         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
53400         buffer too small.  Correct computation of needed size.
53401         * nss/Makefile (tests): Add test-digits-dots.
53402         * nss/test-digits-dots.c: New test.
53404 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53406         * benchtests/Makefile: Remove instructions for adding
53407         benchmark tests.
53408         * benchtests/README: New file to explain how to execute and
53409         enhance the benchmark tests.
53411 2013-05-21  Andreas Schwab  <schwab@suse.de>
53413         [BZ #15493]
53414         * setjmp/Makefile (tests): Add tst-sigsetjmp.
53415         * setjmp/tst-sigsetjmp.c: New test.
53417 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
53419         * sysdeps/x86_64/memset.S (memset): New implementation.
53420         (__bzero): Likewise.
53421         (__memset_tail): New function.
53423 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
53425         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
53426         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
53427         __memcpy_sse2_unaligned ifunc selection.
53428         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
53429         Add memcpy-sse2-unaligned.S.
53430         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
53431         Add: __memcpy_sse2_unaligned.
53433 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
53435         [BZ #15490]
53436         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
53437         math_force_eval before restoring floating-point envrionment.
53438         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
53439         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
53440         Likewise.
53441         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
53442         <math_private.h>.
53443         (__nearbyintl): Use math_force_eval before restoring
53444         floating-point environment.
53445         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
53447         * math/gen-libm-test.pl (special_functions): Remove.
53448         (parse_args): Don't handle TEST_extra.  Handle functions with no
53449         return value.
53450         * math/libm-test.inc (struct test_sincos_data): Replace with
53451         struct test_fFF_11_data.
53452         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
53453         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
53454         (sincos_test_data): Change element type to struct
53455         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
53456         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
53457         RUN_TEST_LOOP_sincos.
53458         * math/README.libm-test: Don't mention special handling of
53459         individual functions.
53460         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
53461         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53462         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
53463         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
53464         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
53465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53467         * math/gen-libm-test.pl (get_variable): Remove function.
53468         (parse_args): Don't show pointer parameters to call in test
53469         names.  Use "extra output N" in test names for extra outputs
53470         rather than naming variables.
53472 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
53474         [BZ #15488]
53475         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
53476         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
53477         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
53478         double tests.
53479         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
53480         disable.
53481         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
53482         check_long_double.
53484         * math/gen-libm-test.pl (@tests): Remove variable.
53485         ($count): Likewise.
53486         (new_test): Remove function.
53487         (show_exceptions): New function.
53488         (special_functions): Use show_exceptions instead of new_test.
53489         (parse_args): Likewise.
53490         (generate_testfile): Pass only function name in generated call to
53491         print_max_error or print_complex_max_error.
53492         (get_ulps): Do not handle complex tests specially.
53493         (output_test): Rename to ...
53494         (get_all_ulps_for_test): ... this.  Return a string rather than
53495         printing to a file.  Require ulps to be present.
53496         (output_ulps): Generate arrays rather than #defines.
53497         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
53498         (struct ulp_data): New type.
53499         (BUILD_COMPLEX_ULP): Remove macro.
53500         (compare_ulp_data): New function.
53501         (find_ulps): Likewise.
53502         (find_test_ulps): Likewise.
53503         (find_function_ulps): Likewise.
53504         (find_complex_function_ulps): Likewise.
53505         (print_max_error): Determine allowed ulps using
53506         find_function_ulps.
53507         (print_complex_max_error): Determine allowed ulps using
53508         find_complex_function_ulps.
53509         (check_float_internal): Determine max ulps using find_test_ulps.
53510         (check_float): Do not take max_ulp parameter.  Update call to
53511         check_float_internal.
53512         (check_complex): Likewise.
53513         (check_int): Do not take max_ulp parameter.
53514         (check_long): Likewise.
53515         (check_bool): Likewise.
53516         (check_longlong): Likewise.
53517         (struct test_f_f_data): Remove max_ulp field.
53518         (struct test_ff_f_data): Likewise.
53519         (struct test_ff_f_data_nexttoward): Likewise.
53520         (struct test_fi_f_data): Likewise.
53521         (struct test_fl_f_data): Likewise.
53522         (struct test_if_f_data): Likewise.
53523         (struct test_fff_f_data): Likewise.
53524         (struct test_c_f_data): Likewise.
53525         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
53526         (struct test_fF_f1_data): Likewise.
53527         (struct test_ffI_f1_data): Likewise.
53528         (struct test_c_c_data): Remove max_ulp field.
53529         (struct test_cc_c_data): Likewise.
53530         (struct test_f_i_data): Likewise.
53531         (struct test_ff_i_data): Likewise.
53532         (struct test_f_l_data): Likewise.
53533         (struct test_f_L_data): Likewise.
53534         (struct test_sincos_data): Likewise.
53535         (RUN_TEST_f_f): Do not handle ulps.
53536         (RUN_TEST_LOOP_f_f): Likewise.
53537         (RUN_TEST_2_f): Likewise.
53538         (RUN_TEST_LOOP_2_f): Likewise.
53539         (RUN_TEST_fff_f): Likewise.
53540         (RUN_TEST_LOOP_fff_f): Likewise.
53541         (RUN_TEST_c_f): Likewise.
53542         (RUN_TEST_LOOP_c_f): Likewise.
53543         (RUN_TEST_f_f1): Likewise.
53544         (RUN_TEST_LOOP_f_f1): Likewise.
53545         (RUN_TEST_fF_f1): Likewise.
53546         (RUN_TEST_LOOP_fF_f1): Likewise.
53547         (RUN_TEST_fI_f1): Likewise.
53548         (RUN_TEST_LOOP_fI_f1): Likewise.
53549         (RUN_TEST_ffI_f1): Likewise.
53550         (RUN_TEST_LOOP_ffI_f1): Likewise.
53551         (RUN_TEST_c_c): Likewise.
53552         (RUN_TEST_LOOP_c_c): Likewise.
53553         (RUN_TEST_cc_c): Likewise.
53554         (RUN_TEST_LOOP_cc_c): Likewise.
53555         (RUN_TEST_f_i): Likewise.
53556         (RUN_TEST_LOOP_f_i): Likewise.
53557         (RUN_TEST_f_i_tg): Likewise.
53558         (RUN_TEST_LOOP_f_i_tg): Likewise.
53559         (RUN_TEST_ff_i_tg): Likewise.
53560         (RUN_TEST_LOOP_ff_i_tg): Likewise.
53561         (RUN_TEST_f_b): Likewise.
53562         (RUN_TEST_LOOP_f_b): Likewise.
53563         (RUN_TEST_f_b_tg): Likewise.
53564         (RUN_TEST_LOOP_f_b_tg): Likewise.
53565         (RUN_TEST_f_l): Likewise.
53566         (RUN_TEST_LOOP_f_l): Likewise.
53567         (RUN_TEST_f_L): Likewise.
53568         (RUN_TEST_LOOP_f_L): Likewise.
53569         (RUN_TEST_sincos): Likewise.
53570         (RUN_TEST_LOOP_sincos): Likewise.
53572 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
53574         [BZ #15480]
53575         [BZ #15485]
53576         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
53577         main case of finite arguments, set rounding mode to FE_TONEAREST
53578         and discard exceptions.
53579         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
53580         exceptions.
53581         (remainder_tonearest_test_data): New variable.
53582         (remainder_test_tonearest): New function.
53583         (remainder_towardzero_test_data): New variable.
53584         (remainder_test_towardzero): New function.
53585         (remainder_downward_test_data): New variable.
53586         (remainder_test_downward): New function.
53587         (remainder_upward_test_data): New variable.
53588         (remainder_test_upward): New function.
53589         (main): Call the new test functions.
53591         * math/libm-test.inc (struct test_f_f1_data): Remove field
53592         extra_init.
53593         (struct test_fF_f1_data): Likewise.
53594         (struct test_ffI_f1_data): Likewise.
53595         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
53596         based on value of EXTRA_EXPECTED.
53597         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
53598         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
53599         EXTRA_VAR based on value of EXTRA_EXPECTED.
53600         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
53601         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
53602         EXTRA_VAR based on value of EXTRA_EXPECTED.
53603         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
53604         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
53605         EXTRA_VAR based on value of EXTRA_EXPECTED.
53606         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
53607         * math/gen-libm-test.pl (parse_args): Don't output initializers
53608         for extra output values.
53610         * math/libm-test.inc (check_int): Expect result to be exactly
53611         equal to expected value and do not handle ulps.
53612         (check_long): Likewise.
53613         (check_longlong): Likewise.
53615         * math/libm-test.inc (ceil_test_data): Test for "inexact"
53616         exceptions.
53617         (cimag_test_data): Likewise.
53618         (conj_test_data): Likewise.
53619         (copysign_test_data): Likewise.
53620         (cproj_test_data): Likewise.
53621         (creal_test_data): Likewise.
53622         (fabs_test_data): Likewise.
53623         (fdim_test_data): Likewise.
53624         (finite_test_data): Likewise.
53625         (floor_test_data): Likewise.
53626         (fmax_test_data): Likewise.
53627         (fmin_test_data): Likewise.
53628         (fmod_test_data): Likewise.
53629         (fpclassify_test_data): Likewise.
53630         (frexp_test_data): Likewise.
53631         (ilogb_test_data): Likewise.
53632         (isfinite_test_data): Likewise.
53633         (isgreater_test_data): Likewise.
53634         (isgreaterequal_test_data): Likewise.
53635         (isinf_test_data): Likewise.
53636         (isless_test_data): Likewise.
53637         (islessequal_test_data): Likewise.
53638         (islessgreater_test_data): Likewise.
53639         (isnan_test_data): Likewise.
53640         (isnormal_test_data): Likewise.
53641         (issignaling_test_data): Likewise.
53642         (isunordered_test_data): Likewise.
53643         (ldexp_test_data): Likewise.
53644         (lrint_test_data): Likewise.
53645         (lrint_test_data) [TEST_FLOAT]: Disable one test.
53646         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
53647         (lrint_tonearest_test_data): Test for "inexact" exceptions.
53648         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
53649         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
53650         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
53651         test input.
53652         (lrint_towardzero_test_data): Test for "inexact" exceptions.
53653         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
53654         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
53655         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
53656         that test input.
53657         (lrint_downward_test_data): Test for "inexact" exceptions.
53658         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
53659         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
53660         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
53661         test input.
53662         (lrint_upward_test_data): Test for "inexact" exceptions.
53663         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
53664         test input.
53665         (llrint_test_data): Test for "inexact" exceptions.
53666         (llrint_test_data) [TEST_FLOAT]: Disable one test.
53667         (llrint_tonearest_test_data): Test for "inexact" exceptions.
53668         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
53669         (llrint_towardzero_test_data): Test for "inexact" exceptions.
53670         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
53671         (llrint_downward_test_data): Test for "inexact" exceptions.
53672         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
53673         (llrint_upward_test_data): Test for "inexact" exceptions.
53674         (logb_test_data): Likewise.
53675         (logb_downward_test_data): Likewise.
53676         (nextafter_test_data): Likewise.
53677         (nexttoward_test_data): Likewise.
53678         (remainder_test_data): Likewise.
53679         (remquo_test_data): Likewise.
53680         (scalbn_test_data): Likewise.
53681         (scalbln_test_data): Likewise.
53682         (signbit_test_data): Likewise.
53683         (sqrt_test_data): Likewise.
53684         (significand_test_data): Likewise.
53686 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
53688         [BZ #15424]
53689         * benchtests/bench-modf.c (struct args): Mark arg0 as
53690         volatile.
53691         * scripts/bench.pl: Mark members of struct args as volatile.
53693 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53695         [BZ # 15497]
53696         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
53697         negative infinity on POWER6 or lower.
53698         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
53700 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
53702         [BZ #15442]
53703         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
53704         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
53705         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
53706         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
53707         (_FP_SETQNAN): New macro.
53708         (_FP_SETQNAN_SEMIRAW): Likewise.
53709         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
53710         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
53711         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
53712         (FP_EXTEND): Use _FP_FRAC_SNANP.
53713         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
53714         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
53715         into account.
53716         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
53717         New macro.
53718         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
53719         Likewise.
53721 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
53723         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
53724         with DIVIDE_BY_ZERO_EXCEPTION.
53725         (gamma_test_data): Likewise.
53726         (lgamma_test_data): Likewise.
53727         (log_test_data): Likewise.
53728         (log10_test_data): Likewise.
53729         (log2_test_data): Likewise.
53730         (tgamma_test_data): Likewise.
53732         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
53733         (acos_test_tonearest): Likewise.
53734         (acos_test_towardzero): Likewise.
53735         (acos_test_downward): Likewise.
53736         (acos_test_upward): Likewise.
53737         (acosh_test): Likewise.
53738         (asin_test): Likewise.
53739         (asin_test_tonearest): Likewise.
53740         (asin_test_towardzero): Likewise.
53741         (asin_test_downward): Likewise.
53742         (asin_test_upward): Likewise.
53743         (asinh_test): Likewise.
53744         (atan_test): Likewise.
53745         (atanh_test): Likewise.
53746         (atan2_test): Likewise.
53747         (cabs_test): Likewise.
53748         (cacos_test): Likewise.
53749         (cacosh_test): Likewise.
53750         (casin_test): Likewise.
53751         (casinh_test): Likewise.
53752         (catan_test): Likewise.
53753         (catanh_test): Likewise.
53754         (cbrt_test): Likewise.
53755         (ccos_test): Likewise.
53756         (ccosh_test): Likewise.
53757         (cexp_test): Likewise.
53758         (clog_test): Likewise.
53759         (clog10_test): Likewise.
53760         (cos_test): Likewise.
53761         (cos_test_tonearest): Likewise.
53762         (cos_test_towardzero): Likewise.
53763         (cos_test_downward): Likewise.
53764         (cos_test_upward): Likewise.
53765         (cosh_test): Likewise.
53766         (cosh_test_tonearest): Likewise.
53767         (cosh_test_towardzero): Likewise.
53768         (cosh_test_downward): Likewise.
53769         (cosh_test_upward): Likewise.
53770         (cpow_test): Likewise.
53771         (csin_test): Likewise.
53772         (csinh_test): Likewise.
53773         (csqrt_test): Likewise.
53774         (ctan_test): Likewise.
53775         (ctan_test_tonearest): Likewise.
53776         (ctan_test_towardzero): Likewise.
53777         (ctan_test_downward): Likewise.
53778         (ctan_test_upward): Likewise.
53779         (ctanh_test): Likewise.
53780         (ctanh_test_tonearest): Likewise.
53781         (ctanh_test_towardzero): Likewise.
53782         (ctanh_test_downward): Likewise.
53783         (ctanh_test_upward): Likewise.
53784         (erf_test): Likewise.
53785         (erfc_test): Likewise.
53786         (exp_test): Likewise.
53787         (exp_test_tonearest): Likewise.
53788         (exp_test_towardzero): Likewise.
53789         (exp_test_downward): Likewise.
53790         (exp_test_upward): Likewise.
53791         (exp10_test): Likewise.
53792         (exp2_test): Likewise.
53793         (expm1_test): Likewise.
53794         (fmod_test): Likewise.
53795         (gamma_test): Likewise.
53796         (hypot_test): Likewise.
53797         (j0_test): Likewise.
53798         (j1_test): Likewise.
53799         (jn_test): Likewise.
53800         (lgamma_test): Likewise.
53801         (log_test): Likewise.
53802         (log10_test): Likewise.
53803         (log1p_test): Likewise.
53804         (log2_test): Likewise.
53805         (logb_test_downward): Likewise.
53806         (pow_test): Likewise.
53807         (pow_test_tonearest): Likewise.
53808         (pow_test_towardzero): Likewise.
53809         (pow_test_downward): Likewise.
53810         (pow_test_upward): Likewise.
53811         (remainder_test): Likewise.
53812         (remquo_test): Likewise.
53813         (sin_test): Likewise.
53814         (sin_test_tonearest): Likewise.
53815         (sin_test_towardzero): Likewise.
53816         (sin_test_downward): Likewise.
53817         (sin_test_upward): Likewise.
53818         (sincos_test): Likewise.
53819         (sinh_test): Likewise.
53820         (sinh_test_tonearest): Likewise.
53821         (sinh_test_towardzero): Likewise.
53822         (sinh_test_downward): Likewise.
53823         (sinh_test_upward): Likewise.
53824         (sqrt_test): Likewise.
53825         (tan_test): Likewise.
53826         (tan_test_tonearest): Likewise.
53827         (tan_test_towardzero): Likewise.
53828         (tan_test_downward): Likewise.
53829         (tan_test_upward): Likewise.
53830         (tanh_test): Likewise.
53831         (tgamma_test): Likewise.
53832         (y0_test): Likewise.
53833         (y1_test): Likewise.
53834         (yn_test): Likewise.
53836         * math/gen-libm-test.pl (adjust_arg): Remove function.
53837         (special_function): Remove argument $in_func.  Only handle
53838         generating output for tables of tests, not inside functions.
53839         (parse_args): Likewise.
53840         (generate_testfile): Remove variable $in_func.  Update call to
53841         parse_args.
53842         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
53843         (MINUS_ZERO_INIT): Rename macro to minus_zero.
53844         (PLUS_INFTY_INIT): Rename macro to plus_infty.
53845         (MINUS_INFTY_INIT): Rename macro to minus_infty.
53846         (QNAN_VALUE_INIT): Rename macro to qnan_value.
53847         (MAX_VALUE_INIT): Rename macro to max_value.
53848         (MIN_VALUE_INIT): Rename macro to min_value.
53849         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
53850         (plus_zero): Remove variable.
53851         (minus_zero): Likewise.
53852         (plus_infty): Likewise.
53853         (minus_infty): Likewise.
53854         (qnan_value): Likewise.
53855         (max_value): Likewise.
53856         (min_value): Likewise.
53857         (min_subnorm_value): Likewise.
53859 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
53861         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
53862         uint64_t or uint32_t usage.
53863         * crypt/sha256-block.c: Likewise.
53864         * crypt/sha256-crypt.c: Likewise.
53865         * crypt/sha256.c: Likewise.
53866         * crypt/sha512-block.c: Likewise.
53867         * crypt/sha512-crypt.c: Likewise.
53868         * crypt/sha512.c: Likewise.
53869         * debug/backtrace-tst.c: Likewise.
53870         * debug/pcprofiledump.c: Likewise.
53871         * elf/cache.c: Likewise.
53872         * elf/dl-cache.c: Likewise.
53873         * elf/dl-misc.c: Likewise.
53874         * elf/dl-profile.c: Likewise.
53875         * elf/dl-support.c: Likewise.
53876         * elf/ldconfig.c: Likewise.
53877         * elf/sprof.c: Likewise.
53878         * iconv/dummy-repertoire.c: Likewise.
53879         * iconv/iconv_charmap.c: Likewise.
53880         * iconv/skeleton.c: Likewise.
53881         * iconvdata/8bit-generic.c: Likewise.
53882         * iconvdata/cp737.h: Likewise.
53883         * iconvdata/cp775.h: Likewise.
53884         * iconvdata/ibm1008.h: Likewise.
53885         * iconvdata/ibm1025.h: Likewise.
53886         * iconvdata/ibm1046.h: Likewise.
53887         * iconvdata/ibm1097.h: Likewise.
53888         * iconvdata/ibm1112.h: Likewise.
53889         * iconvdata/ibm1122.h: Likewise.
53890         * iconvdata/ibm1123.h: Likewise.
53891         * iconvdata/ibm1124.h: Likewise.
53892         * iconvdata/ibm1129.h: Likewise.
53893         * iconvdata/ibm1130.h: Likewise.
53894         * iconvdata/ibm1132.h: Likewise.
53895         * iconvdata/ibm1133.h: Likewise.
53896         * iconvdata/ibm1137.h: Likewise.
53897         * iconvdata/ibm1140.h: Likewise.
53898         * iconvdata/ibm1141.h: Likewise.
53899         * iconvdata/ibm1142.h: Likewise.
53900         * iconvdata/ibm1143.h: Likewise.
53901         * iconvdata/ibm1144.h: Likewise.
53902         * iconvdata/ibm1145.h: Likewise.
53903         * iconvdata/ibm1146.h: Likewise.
53904         * iconvdata/ibm1147.h: Likewise.
53905         * iconvdata/ibm1148.h: Likewise.
53906         * iconvdata/ibm1149.h: Likewise.
53907         * iconvdata/ibm1153.h: Likewise.
53908         * iconvdata/ibm1154.h: Likewise.
53909         * iconvdata/ibm1155.h: Likewise.
53910         * iconvdata/ibm1156.h: Likewise.
53911         * iconvdata/ibm1157.h: Likewise.
53912         * iconvdata/ibm1158.h: Likewise.
53913         * iconvdata/ibm1160.h: Likewise.
53914         * iconvdata/ibm1161.h: Likewise.
53915         * iconvdata/ibm1162.h: Likewise.
53916         * iconvdata/ibm1163.h: Likewise.
53917         * iconvdata/ibm1164.h: Likewise.
53918         * iconvdata/ibm1166.h: Likewise.
53919         * iconvdata/ibm1167.h: Likewise.
53920         * iconvdata/ibm12712.h: Likewise.
53921         * iconvdata/ibm1390.h: Likewise.
53922         * iconvdata/ibm1399.h: Likewise.
53923         * iconvdata/ibm16804.h: Likewise.
53924         * iconvdata/ibm4517.h: Likewise.
53925         * iconvdata/ibm4899.h: Likewise.
53926         * iconvdata/ibm4909.h: Likewise.
53927         * iconvdata/ibm4971.h: Likewise.
53928         * iconvdata/ibm5347.h: Likewise.
53929         * iconvdata/ibm803.h: Likewise.
53930         * iconvdata/ibm856.h: Likewise.
53931         * iconvdata/ibm901.h: Likewise.
53932         * iconvdata/ibm902.h: Likewise.
53933         * iconvdata/ibm9030.h: Likewise.
53934         * iconvdata/ibm9066.h: Likewise.
53935         * iconvdata/ibm921.h: Likewise.
53936         * iconvdata/ibm922.h: Likewise.
53937         * iconvdata/ibm9448.h: Likewise.
53938         * iconvdata/isiri-3342.h: Likewise.
53939         * iconvdata/jis0201.h: Likewise.
53940         * include/link.h: Likewise.
53941         * include/netdb.h: Likewise.
53942         * inet/check_native.c: Likewise.
53943         * inet/check_pf.c: Likewise.
53944         * inet/getipv4sourcefilter.c: Likewise.
53945         * inet/getnameinfo.c: Likewise.
53946         * inet/getsourcefilter.c: Likewise.
53947         * inet/htonl.c: Likewise.
53948         * inet/setipv4sourcefilter.c: Likewise.
53949         * inet/setsourcefilter.c: Likewise.
53950         * inet/test-inet6_opt.c: Likewise.
53951         * inet/tst-network.c: Likewise.
53952         * locale/C-collate.c: Likewise.
53953         * locale/C-ctype.c: Likewise.
53954         * locale/C-time.c: Likewise.
53955         * locale/C-translit.h: Likewise.
53956         * locale/loadarchive.c: Likewise.
53957         * locale/programs/3level.h: Likewise.
53958         * locale/programs/charmap.c: Likewise.
53959         * locale/programs/charmap.h: Likewise.
53960         * locale/programs/ld-address.c: Likewise.
53961         * locale/programs/ld-collate.c: Likewise.
53962         * locale/programs/ld-ctype.c: Likewise.
53963         * locale/programs/ld-identification.c: Likewise.
53964         * locale/programs/ld-measurement.c: Likewise.
53965         * locale/programs/ld-messages.c: Likewise.
53966         * locale/programs/ld-monetary.c: Likewise.
53967         * locale/programs/ld-name.c: Likewise.
53968         * locale/programs/ld-numeric.c: Likewise.
53969         * locale/programs/ld-paper.c: Likewise.
53970         * locale/programs/ld-telephone.c: Likewise.
53971         * locale/programs/ld-time.c: Likewise.
53972         * locale/programs/linereader.c: Likewise.
53973         * locale/programs/locale.c: Likewise.
53974         * locale/programs/locarchive.c: Likewise.
53975         * locale/programs/locfile.h: Likewise.
53976         * locale/programs/repertoire.c: Likewise.
53977         * locale/programs/simple-hash.c: Likewise.
53978         * locale/programs/simple-hash.h: Likewise.
53979         * malloc/memusage.c: Likewise.
53980         * malloc/memusagestat.c: Likewise.
53981         * nis/nis_defaults.c: Likewise.
53982         * nis/nis_hash.c: Likewise.
53983         * nis/nis_print.c: Likewise.
53984         * nis/nis_xdr.c: Likewise.
53985         * nscd/connections.c: Likewise.
53986         * nscd/hstcache.c: Likewise.
53987         * nscd/nscd_gethst_r.c: Likewise.
53988         * nscd/nscd_getserv_r.c: Likewise.
53989         * nscd/nscd_helper.c: Likewise.
53990         * nscd/servicescache.c: Likewise.
53991         * nss/makedb.c: Likewise.
53992         * nss/nss_db/db-XXX.c: Likewise.
53993         * nss/nss_db/db-initgroups.c: Likewise.
53994         * nss/nss_db/db-netgrp.c: Likewise.
53995         * nss/nss_files/files-network.c: Likewise.
53996         * nss/nss_files/files-parse.c: Likewise.
53997         * posix/bug-regex5.c: Likewise.
53998         * posix/fnmatch_loop.c: Likewise.
53999         * posix/regcomp.c: Likewise.
54000         * posix/regexec.c: Likewise.
54001         * posix/tst-rfc3484-2.c: Likewise.
54002         * posix/tst-rfc3484-3.c: Likewise.
54003         * posix/tst-rfc3484.c: Likewise.
54004         * resolv/nss_dns/dns-canon.c: Likewise.
54005         * resolv/nss_dns/dns-network.c: Likewise.
54006         * resolv/res_init.c: Likewise.
54007         * resolv/res_mkquery.c: Likewise.
54008         * resolv/tst-aton.c: Likewise.
54009         * stdlib/cxa_atexit.c: Likewise.
54010         * stdlib/cxa_finalize.c: Likewise.
54011         * stdlib/gen-fpioconst.c: Likewise.
54012         * stdlib/strtol_l.c: Likewise.
54013         * string/tst-endian.c: Likewise.
54014         * sunrpc/auth_des.c: Likewise.
54015         * sunrpc/clnt_udp.c: Likewise.
54016         * sunrpc/rtime.c: Likewise.
54017         * sunrpc/svcauth_des.c: Likewise.
54018         * sunrpc/xdr.c: Likewise.
54019         * sunrpc/xdr_intXX_t.c: Likewise.
54020         * sunrpc/xdr_rec.c: Likewise.
54021         * sysdeps/generic/ldconfig.h: Likewise.
54022         * sysdeps/generic/ldsodefs.h: Likewise.
54023         * sysdeps/generic/memusage.h: Likewise.
54024         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
54025         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
54026         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
54027         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
54028         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54029         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54030         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
54031         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
54032         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
54033         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
54034         * sysdeps/posix/getaddrinfo.c: Likewise.
54035         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
54036         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
54037         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
54038         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
54039         * sysdeps/powerpc/test-gettimebase.c: Likewise.
54040         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
54041         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
54042         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
54043         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
54044         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
54045         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
54046         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
54047         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
54048         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
54049         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
54050         * sysdeps/x86_64/dl-tls.h: Likewise.
54051         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
54052         * time/alt_digit.c: Likewise.
54053         * time/era.c: Likewise.
54054         * wcsmbs/tst-c16c32-1.c: Likewise.
54056 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
54058         * math/libm-test.inc (struct test_sincos_data): New type.
54059         (RUN_TEST_LOOP_sincos): New macro.
54060         (sincos_test_data): New variable.
54061         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
54063 2013-05-16  Richard Henderson  <rth@redhat.com>
54065         * math/atest-exp2.c (LIMB64): New macro.
54066         (CONSTSZ): New macro.
54067         (mp_exp1, mp_exp_m1, mp_log2): New variables.
54068         (hexdig): Move ...
54069         (print_mpn_fp): ... to function scope.
54070         (read_mpn_hex): Remove.
54071         (get_log2): Remove.
54072         (exp2_mpn): Use mp_log2.
54073         (main): Use mp_exp1.
54075 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
54077         * math/libm-test.inc: Remove comment about not testing "inexact"
54078         exceptions.
54079         (INEXACT_EXCEPTION): New macro.
54080         (NO_INEXACT_EXCEPTION): Likewise.
54081         (INVALID_EXCEPTION_OK): Update value.
54082         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
54083         (OVERFLOW_EXCEPTION_OK): Likewise.
54084         (UNDERFLOW_EXCEPTION_OK): Likewise.
54085         (IGNORE_ZERO_INF_SIGN): Likewise.
54086         (ERRNO_UNCHANGED): Likewise.
54087         (ERRNO_EDOM): Likewise.
54088         (ERRNO_ERANGE): Likewise.
54089         (test_exceptions): Handle testing "inexact" exceptions.
54090         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
54091         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
54092         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
54093         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
54094         INEXACT_EXCEPTION.
54095         (rint_towardzero_test_data): Likewise.
54096         (rint_downward_test_data): Likewise.
54097         (rint_upward_test_data): Likewise.
54099         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
54100         with OVERFLOW_EXCEPTION.
54101         (exp10_test_data): Likewise.
54102         (exp2_test_data): Likewise.
54103         (expm1_test_data): Likewise.
54104         (lgamma_test_data): Likewise.
54105         (pow_test_data): Likewise.
54106         (tgamma_test_data): Likewise.
54107         (yn_test_data): Remove duplicate test of overflow.
54109         * math/libm-test.inc (struct test_cc_c_data): New type.
54110         (RUN_TEST_LOOP_cc_c): New macro.
54111         (cpow_test_data): New variable.
54112         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
54114         * math/libm-test.inc (struct test_f_L_data): New type.
54115         (RUN_TEST_LOOP_f_L): New macro.
54116         (llrint_test_data): New variable.
54117         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
54118         (llrint_tonearest_test_data): New variable.
54119         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
54120         (llrint_towardzero_test_data): New variable.
54121         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
54122         (llrint_downward_test_data): New variable.
54123         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
54124         (llrint_upward_test_data): New variable.
54125         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
54126         (llround_test_data): New variable.
54127         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
54129 2013-05-13  Peter Collingbourne  <pcc@google.com>
54131         * math/atest-exp2.c (get_log2): Remove const attribute.
54133 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
54135         * math/libm-test.inc (struct test_f_l_data): New type.
54136         (RUN_TEST_LOOP_f_l): New macro.
54137         (lrint_test_data): New variable.
54138         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
54139         (lrint_tonearest_test_data): New variable.
54140         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
54141         (lrint_towardzero_test_data): New variable.
54142         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
54143         (lrint_downward_test_data): New variable.
54144         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
54145         (lrint_upward_test_data): New variable.
54146         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
54147         (lround_test_data): New variable.
54148         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
54150 2013-05-15  Peter Collingbourne  <pcc@google.com>
54152         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
54153         (EXTRACT_WORDS64) Use where appropriate.
54154         (INSERT_WORDS64) Likewise.
54156         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
54157         constraints with x constraints.
54158         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
54160         * malloc/obstack.c (_obstack_compat): Add initializer.
54162 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
54164         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
54165         si_trapno and add si_addr_lsb to _sifields.sigfault.
54166         (si_trapno): Remove macro.
54167         (si_addr_lsb): Define new macro.
54168         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
54170 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
54172         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
54173         instead of TEST_f_l.
54174         (llrint_test_tonearest): Likewise.
54175         (llrint_test_towardzero): Likewise.
54176         (llrint_test_downward): Likewise.
54177         (llrint_test_upward): Likewise.
54178         (llround_test): Likewise.
54180         * math/libm-test.inc (struct test_f_i_data): Add comment.
54181         (RUN_TEST_LOOP_f_b): New macro.
54182         (RUN_TEST_LOOP_f_b_tg): Likewise.
54183         (finite_test_data): New variable.
54184         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
54185         (isfinite_test_data): New variable.
54186         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54187         (isinf_test_data): New variable.
54188         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54189         (isnan_test_data): New variable.
54190         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54191         (isnormal_test_data): New variable.
54192         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54193         (issignaling_test_data): New variable.
54194         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54195         (signbit_test_data): New variable.
54196         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54198         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
54199         with INVALID_EXCEPTION.
54200         (acosh_test_data): Likewise.
54201         (asin_test_data): Likewise.
54202         (atanh_test_data): Likewise.
54203         (fmod_test_data): Likewise.
54204         (log_test_data): Likewise.
54205         (log10_test_data): Likewise.
54206         (log2_test_data): Likewise.
54207         (pow_test_data): Likewise.
54208         (sqrt_test_data): Likewise.
54209         (y0_test_data): Likewise.
54210         (y1_test_data): Likewise.
54211         (yn_test_data): Likewise.
54213         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
54214         function contents.
54216         * math/libm-test.inc (struct test_ff_i_data): New type.
54217         (RUN_TEST_LOOP_ff_i_tg): New macro.
54218         (isgreater_test_data): New variable.
54219         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54220         (isgreaterequal_test_data): New variable.
54221         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54222         (isless_test_data): New variable.
54223         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54224         (islessequal_test_data): New variable.
54225         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54226         (islessgreater_test_data): New variable.
54227         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54228         (isunordered_test_data): New variable.
54229         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54231 2013-05-14  David S. Miller  <davem@davemloft.net>
54233         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54235 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
54237         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
54239         * math/libm-test.inc (struct test_fF_f1_data): Change type of
54240         extra_test to int.
54241         (struct test_f_i_data): Change type of max_ulp to int.
54243         * math/libm-test.inc (test_ffI_f1_data): New type.
54244         (RUN_TEST_LOOP_ffI_f1): New macro.
54245         (remquo_test_data): New variable.
54246         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
54248         * setjmp/tst-setjmp-fp.c: New file.
54249         * setjmp/Makefile (tests): Add tst-setjmp-fp.
54250         (link-libm): New variable.
54251         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
54253         * math/libm-test.inc (struct test_f_i_data): New type.
54254         (RUN_TEST_LOOP_f_i): New macro.
54255         (RUN_TEST_LOOP_f_i_tg): Likewise.
54256         (fpclassify_test_data): New variable.
54257         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
54258         (ilogb_test_data): New variable.
54259         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
54261         * math/libm-test.inc (scalbln_test): Correct function name in END
54262         call.
54264         * math/libm-test.inc (struct test_f_f1_data): Add comment.
54265         (RUN_TEST_LOOP_fI_f1): New macro.
54266         (frexp_test_data): New variable.
54267         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
54269         * math/libm-test.inc (struct test_fF_f1_data): New type.
54270         (RUN_TEST_LOOP_fF_f1): New macro.
54271         (modf_test_data): New variable.
54272         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
54274         * math/libm-test.inc (struct test_f_f1_data): New type.
54275         (RUN_TEST_LOOP_f_f1): New macro.
54276         (gamma_test_data): New variable.
54277         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
54278         (lgamma_test_data): New variable.
54279         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
54281 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
54283         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
54284         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
54285         (main): Comment "tls" pseudo-hwcap.
54287 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
54289         * math/libm-test.inc (struct test_fl_f_data): New type.
54290         (RUN_TEST_LOOP_fl_f): New variable.
54291         (scalbln_test_data): New variable.
54292         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
54294         * math/libm-test.inc (struct test_fi_f_data): New type.
54295         (RUN_TEST_LOOP_fi_f): New macro.
54296         (ldexp_test_data): New variable.
54297         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
54298         (scalbn_test_data): New variable.
54299         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
54301         * math/libm-test.inc (struct test_c_f_data): New type.
54302         (RUN_TEST_LOOP_c_f): New macro.
54303         (cabs_test_data): New variable.
54304         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
54305         (carg_test_data): New variable.
54306         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
54307         (cimag_test_data): New variable.
54308         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
54309         (creal_test_data): New variable.
54310         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
54312         * math/libm-test.inc (struct test_if_f_data): New type.
54313         (RUN_TEST_LOOP_if_f): New macro.
54314         (jn_test_data): New variable.
54315         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
54316         (yn_test_data): New variable.
54317         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
54319         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
54321 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54323         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
54324         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
54326 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
54328         * benchtests/Makefile (CPPFLAGS-nonlib): Add
54329         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
54330         (bench-deps): Add bench-timing.h.
54331         * benchtests-bench-skeleton.c: Include bench-timing.h.
54332         (main): Use TIMING_* macros instead of clock_gettime.
54333         * benchtests/bench-timing.h: New file.
54335         [BZ #14582]
54336         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
54337         Renamed from _LIB_VERSION.
54338         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
54340 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
54342         * math/libm-test.inc (struct test_fff_f_data): New type.
54343         (RUN_TEST_LOOP_fff_f): New macro.
54344         (fma_test_data): New variable.
54345         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
54346         (fma_towardzero_test_data): New variable.
54347         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
54348         (fma_downward_test_data): New variable.
54349         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
54350         (fma_upward_test_data): New variable.
54351         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
54353         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
54354         (struct test_c_c_data): New type.
54355         (RUN_TEST_LOOP_c_c): New macro.
54356         (cacos_test_data): New variable.
54357         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
54358         (cacosh_test_data): New variable.
54359         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
54360         (casin_test_data): New variable.
54361         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
54362         (casinh_test_data): New variable.
54363         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
54364         (catan_test_data): New variable.
54365         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
54366         (catanh_test_data): New variable.
54367         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
54368         (ccos_test_data): New variable.
54369         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
54370         (ccosh_test_data): New variable.
54371         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
54372         (cexp_test_data): New variable.
54373         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
54374         (clog_test_data): New variable.
54375         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
54376         (clog10_test_data): New variable.
54377         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
54378         (conj_test_data): New variable.
54379         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
54380         (cproj_test_data): New variable.
54381         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
54382         (csin_test_data): New variable.
54383         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
54384         (csinh_test_data): New variable.
54385         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
54386         (csqrt_test_data): New variable.
54387         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
54388         (ctan_test_data): New variable.
54389         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
54390         (ctan_tonearest_test_data): New variable.
54391         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
54392         (ctan_towardzero_test_data): New variable.
54393         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
54394         (ctan_downward_test_data): New variable.
54395         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
54396         (ctan_upward_test_data): New variable.
54397         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
54398         (ctanh_test_data): New variable.
54399         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
54400         (ctanh_tonearest_test_data): New variable.
54401         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
54402         (ctanh_towardzero_test_data): New variable.
54403         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
54404         (ctanh_downward_test_data): New variable.
54405         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
54406         (ctanh_upward_test_data): New variable.
54407         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
54408         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
54409         of BUILD_COMPLEX.
54411         * math/libm-test.inc (struct test_ff_f_data): New type.
54412         (struct test_ff_f_data_nexttoward): Likewise.
54413         (RUN_TEST_LOOP_2_f): New macro.
54414         (RUN_TEST_LOOP_ff_f): Likewise.
54415         (atan2_test_data): New variable.
54416         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
54417         (copysign_test_data): New variable.
54418         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
54419         (fdim_test_data): New variable.
54420         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
54421         (fmax_test_data): New variable.
54422         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
54423         (fmin_test_data): New variable.
54424         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
54425         (fmod_test_data): New variable.
54426         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
54427         (hypot_test_data): New variable.
54428         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
54429         (nextafter_test_data): New variable.
54430         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
54431         (nexttoward_test_data): New variable.
54432         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
54433         (pow_test_data): New variable.
54434         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
54435         (pow_tonearest_test_data): New variable.
54436         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
54437         (pow_towardzero_test_data): New variable.
54438         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
54439         (pow_downward_test_data): New variable.
54440         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
54441         (pow_upward_test_data): New variable.
54442         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
54443         (remainder_test_data): New variable.
54444         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
54445         (scalb_test_data): New variable.
54446         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
54447         * sysdeps/i386/fpu/libm-test-ulps: Update.
54449 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
54451         * math/libm-test.inc (fma_test): Use max_value instead of local
54452         variable fltmax.
54453         (nextafter_test): Likewise.
54455         * math/libm-test.inc (acos_towardzero_test_data): New variable.
54456         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54457         (acos_downward_test_data): New variable.
54458         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54459         (acos_upward_test_data): New variable.
54460         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54461         (acosh_test_data): New variable.
54462         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
54463         (asin_test_data): New variable.
54464         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
54465         (asin_tonearest_test_data): New variable.
54466         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54467         (asin_towardzero_test_data): New variable.
54468         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54469         (asin_downward_test_data): New variable.
54470         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54471         (asin_upward_test_data): New variable.
54472         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54473         (asinh_test_data): New variable.
54474         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
54475         (atan_test_data): New variable.
54476         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
54477         (atanh_test_data): New variable.
54478         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
54479         (cbrt_test_data): New variable.
54480         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
54481         (ceil_test_data): New variable.
54482         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
54483         (cos_test_data): New variable.
54484         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
54485         (cos_tonearest_test_data): New variable.
54486         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54487         (cos_towardzero_test_data): New variable.
54488         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54489         (cos_downward_test_data): New variable.
54490         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54491         (cos_upward_test_data): New variable.
54492         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54493         (cosh_test_data): New variable.
54494         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
54495         (cosh_tonearest_test_data): New variable.
54496         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54497         (cosh_towardzero_test_data): New variable.
54498         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54499         (cosh_downward_test_data): New variable.
54500         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54501         (cosh_upward_test_data): New variable.
54502         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54503         (erf_test_data): New variable.
54504         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
54505         (erfc_test_data): New variable.
54506         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
54507         (exp_test_data): New variable.
54508         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
54509         (exp_tonearest_test_data): New variable.
54510         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54511         (exp_towardzero_test_data): New variable.
54512         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54513         (exp_downward_test_data): New variable.
54514         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54515         (exp_upward_test_data): New variable.
54516         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54517         (exp10_test_data): New variable.
54518         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
54519         (exp2_test_data): New variable.
54520         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
54521         (expm1_test_data): New variable.
54522         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
54523         (fabs_test_data): New variable.
54524         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
54525         (floor_test_data): New variable.
54526         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
54527         (j0_test_data): New variable.
54528         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
54529         (j1_test_data): New variable.
54530         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
54531         (log_test_data): New variable.
54532         (log_test): Run tests with RUN_TEST_LOOP_f_f.
54533         (log10_test_data): New variable.
54534         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
54535         (log1p_test_data): New variable.
54536         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
54537         (log2_test_data): New variable.
54538         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
54539         (logb_test_data): New variable.
54540         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
54541         (logb_downward_test_data): New variable.
54542         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54543         (nearbyint_test_data): New variable.
54544         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
54545         (rint_test_data): New variable.
54546         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
54547         (rint_tonearest_test_data): New variable.
54548         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54549         (rint_towardzero_test_data): New variable.
54550         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54551         (rint_downward_test_data): New variable.
54552         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54553         (rint_upward_test_data): New variable.
54554         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54555         (round_test_data): New variable.
54556         (round_test): Run tests with RUN_TEST_LOOP_f_f.
54557         (sin_test_data): New variable.
54558         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
54559         (sin_tonearest_test_data): New variable.
54560         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54561         (sin_towardzero_test_data): New variable.
54562         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54563         (sin_downward_test_data): New variable.
54564         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54565         (sin_upward_test_data): New variable.
54566         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54567         (sinh_test_data): New variable.
54568         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
54569         (sinh_tonearest_test_data): New variable.
54570         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54571         (sinh_towardzero_test_data): New variable.
54572         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54573         (sinh_downward_test_data): New variable.
54574         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54575         (sinh_upward_test_data): New variable.
54576         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54577         (sqrt_test_data): New variable.
54578         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
54579         (tan_test_data): New variable.
54580         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
54581         (tan_tonearest_test_data): New variable.
54582         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54583         (tan_towardzero_test_data): New variable.
54584         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54585         (tan_downward_test_data): New variable.
54586         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54587         (tan_upward_test_data): New variable.
54588         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54589         (tanh_test_data): New variable.
54590         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
54591         (tgamma_test_data): New variable.
54592         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
54593         (trunc_test_data): New variable.
54594         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
54595         (y0_test_data): New variable.
54596         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
54597         (y1_test_data): New variable.
54598         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
54599         (significand_test_data): New variable.
54600         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
54602 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
54604         [BZ #12387]
54605         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
54607 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
54609         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
54611 2013-05-10  Andreas Jaeger  <aj@suse.de>
54613         [BZ #15448]
54614         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
54615         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
54617 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
54619         * math/gen-libm-test.pl (adjust_arg): New function.
54620         (special_functions): Handle generating output in both functions
54621         and arrays.
54622         (parse_args): Likewise.
54623         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
54624         $in_func argument to parse_args.
54625         * math/libm-test.inc (struct test_f_f_data): New type.
54626         (IF_ROUND_INIT_): New macro.
54627         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
54628         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
54629         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
54630         (IF_ROUND_INIT_FE_UPWARD): Likewise.
54631         (ROUND_RESTORE_): Likewise.
54632         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
54633         (ROUND_RESTORE_FE_TONEAREST): Likewise.
54634         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
54635         (ROUND_RESTORE_FE_UPWARD): Likewise.
54636         (RUN_TEST_LOOP_f_f): New macro.
54637         (acos_test_data): New variable.
54638         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
54639         (acos_tonearest_test_data): New variable.
54640         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54642 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
54644         * benchtests/bench-skeleton.c (startup): Fix coding style.
54646 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
54648         [BZ #6809]
54649         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
54650         negative infinity argument.
54651         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
54652         negative infinity argument.
54653         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
54654         negative infinity argument.
54655         * math/libm-test.inc (tgamma_test): Expect errno to be set for
54656         domain errors.
54658 2013-05-10  Florian Weimer  <fweimer@redhat.com>
54660         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
54661         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
54662         * iconv/iconv_prog.c (main): Likewise.
54663         * locale/programs/charmap-dir.c (charmap_readdir)
54664         (fopen_uncompressed): Likewise.
54665         * locale/programs/locfile.c (siblings_uncached)
54666         (write_locale_data): Use lstat64 instead of lstat.
54667         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
54668         stat.
54670 2013-05-10  Andreas Jaeger  <aj@suse.de>
54672         [BZ #15395]
54673         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
54674         localization.
54675         Include <locale.h>.
54677 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
54679         * elf/dl-close.c (_dl_close_worker): Add comments.
54681 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
54683         [BZ #15359]
54684         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
54685         high part of pi/2.
54686         (__ieee754_rem_pio2l): Update comments.
54688         [BZ #15429]
54689         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
54690         high part of pi/2.
54691         (__ieee754_rem_pio2l): Update comments.
54693         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
54694         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
54696         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
54697         M_PI_4l.
54699         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
54700         (M_PI_34_LOG10El): Likewise.
54701         (M_PI2_LOG10El): Likewise.
54702         (M_PI4_LOG10El): Likewise.
54703         (M_PI_LOG10El): Likewise.
54705 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54707         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54709 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
54711         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
54712         (MINUS_ZERO_INIT): Likewise.
54713         (PLUS_INFTY_INIT): Likewise.
54714         (MINUS_INFTY_INIT): Likewise.
54715         (QNAN_VALUE_INIT): Likewise.
54716         (MAX_VALUE_INIT): Likewise.
54717         (MIN_VALUE_INIT): Likewise.
54718         (MIN_SUBNORM_VALUE_INIT): Likewise.
54719         (plus_zero): Initialize with PLUS_ZERO_INIT.
54720         (minus_zero): Initialize with MINUS_ZERO_INIT.
54721         (plus_infty): Initialize with PLUS_INFTY_INIT.
54722         (minus_infty): Initialize with MINUS_INFTY_INIT.
54723         (qnan_value): Initialize with QNAN_VALUE_INIT.
54724         (max_value): Initialize with MAX_VALUE_INIT.
54725         (min_value): Initialize with MIN_VALUE_INIT.
54726         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
54728         * math/libm-test.inc (RUN_TEST_if_f): New macro.
54729         (jn_test): Use TEST_if_f instead of TEST_ff_f.
54730         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
54731         (yn_test): Use TEST_if_f instead of TEST_ff_f.
54733         * math/libm-test.inc (RUN_TEST_f_f): New macro.
54734         (RUN_TEST_2_f): Likewise.
54735         (RUN_TEST_ff_f): Likewise.
54736         (RUN_TEST_fi_f): Likewise.
54737         (RUN_TEST_fl_f): Likewise.
54738         (RUN_TEST_fff_f): Likewise.
54739         (RUN_TEST_c_f): Likewise.
54740         (RUN_TEST_f_f1): Likewise.
54741         (RUN_TEST_fF_f1): Likewise.
54742         (RUN_TEST_fI_f1): Likewise.
54743         (RUN_TEST_ffI_f1): Likewise.
54744         (RUN_TEST_c_c): Likewise.
54745         (RUN_TEST_cc_c): Likewise.
54746         (RUN_TEST_f_i): Likewise.
54747         (RUN_TEST_f_i_tg): Likewise.
54748         (RUN_TEST_ff_i_tg): Likewise.
54749         (RUN_TEST_f_b): Likewise.
54750         (RUN_TEST_f_b_tg): Likewise.
54751         (RUN_TEST_f_l): Likewise.
54752         (RUN_TEST_f_L): Likewise.
54753         (RUN_TEST_sincos): Likewise.
54754         * math/gen-libm-test.pl (new_test): Take new argument to indicate
54755         whether to show exceptions.  Do not include ");\n" in return
54756         value.
54757         (special_functions): Output call to RUN_TEST_sincos instead of
54758         check_float calls.  Update calls to new_test.
54759         (parse_args): Output call to single RUN_TEST_* macro instead of
54760         check_* calls and other assignments.  Update calls to new_test.
54762         [BZ #2546]
54763         [BZ #2560]
54764         [BZ #5159]
54765         [BZ #15426]
54766         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
54767         input to result for tgamma overflow.
54768         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
54769         (gamma_coeff): New variable.
54770         (NCOEFF): New macro.
54771         (gamma_positive): New function.
54772         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
54773         underflow here.  Use gamma_positive instead of exp (lgamma) for
54774         other arguments.
54775         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
54776         (gamma_coeff): New variable.
54777         (NCOEFF): New macro.
54778         (gammaf_positive): New function.
54779         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
54780         underflow here.  Use gamma_positive instead of exp (lgamma) for
54781         other arguments.
54782         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
54783         (gamma_coeff): New variable.
54784         (NCOEFF): New macro.
54785         (gammal_positive): New function.
54786         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
54787         underflow here.  Use gamma_positive instead of exp (lgamma) for
54788         other arguments.
54789         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
54790         (gamma_coeff): New variable.
54791         (NCOEFF): New macro.
54792         (gammal_positive): New function.
54793         (__ieee754_gammal_r): Handle positive infinity, overflow and
54794         underflow here.  Handle NaN the same as positive infinity.  Remove
54795         check x < 0xffffffff for negative integers.  Use gamma_positive
54796         instead of exp (lgamma) for other arguments.
54797         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
54798         (gamma_coeff): New variable.
54799         (NCOEFF): New macro.
54800         (gammal_positive): New function.
54801         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
54802         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
54803         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
54804         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
54805         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
54806         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
54807         * sysdeps/generic/math_private.h (__gamma_productf): New
54808         prototype.
54809         (__gamma_product): Likewise.
54810         (__gamma_productl): Likewise.
54811         * math/Makefile (libm-calls): Add gamma_product.
54812         * math/libm-test.inc (tgamma_test): Add more tests.
54813         * sysdeps/i386/fpu/libm-test-ulps: Update.
54814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54816 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
54818         * benchtests/bench-skeleton.c (main): Preheat CPU.
54820 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
54822         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
54824 2013-05-07  Roland McGrath  <roland@hack.frob.com>
54826         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
54827         and _dl_skip_args_internal.
54829 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
54831         * manual/message.texi (Message Translation): Talk about users.
54832         Message to key mapping impacts design.
54834 2013-05-06  Roland McGrath  <roland@hack.frob.com>
54836         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
54838         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
54840         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
54841         * sysdeps/wordsize-64/glob64.c: ... here.
54843         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
54844         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
54845         New macros.
54847         * debug/getlogin_r_chk.c: Moved to ...
54848         * login/getlogin_r_chk.c: ... here.
54849         * debug/Makefile (routines): Move getlogin_r_chk to ...
54850         * login/Makefile (routines): ... here.
54851         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
54852         * login/Versions (libc: GLIBC_2.4): ... here.
54854         * io/poll.c (__poll): Renamed from poll.
54855         Add libc_hidden_def.
54856         (poll): Define as weak alias.
54858         * debug/ptsname_r_chk.c: Moved to ...
54859         * login/ptsname_r_chk.c: ... here.
54860         * debug/Makefile (routines): Move ptsname_r_chk to ...
54861         * login/Makefile (routines): ... here.
54862         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
54863         * login/Versions (libc: GLIBC_2.4): ... here.
54865         * posix/getlogin.c: Moved to ...
54866         * login/getlogin.c: ... here.
54867         * posix/getlogin_r.c: Moved to ...
54868         * login/getlogin_r.c: ... here.
54869         * posix/getlogin_r.c: Moved to ...
54870         * login/getlogin_r.c: ... here.
54871         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
54872         * login/Makefile (routines): ... here.
54873         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
54874         * login/Versions (libc: GLIBC_2.0): ... here.
54876         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
54877         (setrlimit): Define as weak alias.
54879         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
54880         Call __ names for open, ftruncate, and close.
54881         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
54882         (truncate): Define as weak alias.
54884 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
54886         * math/gen-libm-test.pl (parse_args): Initialize x before each
54887         test of frexp, modf and remquo.
54889         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
54890         test signgam value.
54892 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54894         [BZ #15418]
54895         [BZ #15419]
54896         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
54897         internal tests.
54898         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
54900 2013-05-06  Roland McGrath  <roland@hack.frob.com>
54902         * elf/dl-writev.h: New file.
54903         * elf/dl-misc.c: Include it.
54904         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
54905         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
54907 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
54909         * math/libm-test.inc (noXFails): Remove variable.
54910         (noXPasses): Likewise.
54911         (BUILD_COMPLEX_INT): Remove macro.
54912         (print_screen): Remove xfail argument.
54913         (print_screen_max_error): Likewise.
54914         (update_stats): Likewise.
54915         (print_max_error): Likewise.  Update calls to other affected
54916         functions.
54917         (print_complex_max_error): Likewise.
54918         (test_single_exception): Update calls to print_screen.
54919         (test_single_errno): Likewise.
54920         (check_float_internal): Remove xfail argument.  Update calls to
54921         other affected functions.
54922         (check_float): Likewise.
54923         (check_complex): Likewise.
54924         (check_int): Likewise.
54925         (check_long): Likewise.
54926         (check_bool): Likewise.
54927         (check_longlong): Likewise.
54928         (main): Don't print noXFails and noXPasses.
54929         * math/gen-libm-test.pl (top level): Don't mention expected
54930         failure handling in comment.
54931         (new_test): Don't handle expected failures.
54932         (parse_args): Don't mention expected failure handling in comment.
54933         (generate_testfile): Don't handle expected failures.
54934         (parse_ulps): Likewise.
54935         (print_ulps_file): Likewise.
54936         (get_failure): Remove function.
54937         (output_test): Don't handle expected failures.
54938         * make/README.libm-test: Don't mention expected failure handling.
54940         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
54941         (minus_zero): Likewise.
54942         (plus_infty): Likewise.
54943         (minus_infty): Likewise.
54944         (qnan_value): Likewise.
54945         (max_value): Likewise.
54946         (min_value): Likewise.
54947         (min_subnorm_value): Likewise.
54948         (initialize): Do not initialize those variables dynamically.
54950 2013-05-03  Roland McGrath  <roland@hack.frob.com>
54952         * io/open.c (__open_2): Moved to ...
54953         * io/open_2.c: ... this new file.
54954         * io/open64.c (__open64_2): Moved to ...
54955         * io/open64_2.c: ... this new file.
54956         * io/openat.c (__openat_2): Moved to ...
54957         * io/openat_2.c: ... this new file.
54958         * io/openat64.c (__openat64_2): Moved to ...
54959         * io/openat64_2.c: ... this new file.
54960         * io/Makefile (routines): Add them.
54961         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
54962         * sysdeps/unix/sysv/linux/open_2.c: File removed.
54963         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
54964         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
54965         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
54966         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
54967         (__openat64): Add hidden_ver.
54968         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
54969         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
54971         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
54972         Separately conditionalize setting of GLRO(dl_sysinfo) so
54973         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
54974         as well, but the actual setting is only under [NEED_DL_SYSINFO].
54976 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54978         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
54979         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
54980         definition.
54981         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
54982         * sysdeps/unix/sysv/linux/powerpc/init-first.c
54983         (_libc_vdso_platform_setup): Add __vdso_time initialization.
54984         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
54985         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
54987 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
54989         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
54990         test signgam value.
54992         * math/libm-test.inc (hypot_test): Do not use
54993         IGNORE_ZERO_INF_SIGN.
54995 2013-05-03  Andreas Jaeger  <aj@suse.de>
54997         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
54998         Linux 3.9.
54999         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
55000         (PF_MAX): Adjust for VSOCK change.
55002 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55004         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55006 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
55008         [BZ #15264]
55009         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
55010         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
55011         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
55013 2013-05-02  David S. Miller  <davem@davemloft.net>
55015         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55017 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
55019         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
55021 2013-05-01  Roland McGrath  <roland@hack.frob.com>
55023         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
55025 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
55027         [BZ #14952]
55028         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
55029         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
55030         Use __attribute__ ((__gnu_inline__)).
55031         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
55032         Don't use __attribute__ ((__gnu_inline__)).
55034 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
55036         [BZ #15423]
55037         * math/s_catan.c (__catan): Handle small real or imaginary part of
55038         input specially to avoid spurious underflow.
55039         * math/s_catanf.c (__catanf): Likewise.
55040         * math/s_catanh.c (__catanh): Likewise.
55041         * math/s_catanhf.c (__catanhf): Likewise.
55042         * math/s_catanhl.c (__catanhl): Likewise.
55043         * math/s_catanl.c (__catanl): Likewise.
55044         * math/libm-test.inc (catan_test): Add more tests.
55045         (catanh_test): Likewise.
55046         * sysdeps/i386/fpu/libm-test-ulps: Update.
55047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55049 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55051         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55053 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
55055         [BZ #15416]
55056         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
55057         accurately for denominator in atan2.
55058         * math/s_catanf.c (__catanf): Likewise.
55059         * math/s_catanh.c (__catanh): Likewise.
55060         * math/s_catanhf.c (__catanhf): Likewise.
55061         * math/s_catanhl.c (__catanhl): Likewise.
55062         * math/s_catanl.c (__catanl): Likewise.
55063         * math/libm-test.inc (catan_test): Add more tests.
55064         (catanh_test): Likewise.
55065         * sysdeps/i386/fpu/libm-test-ulps: Update.
55066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55068 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
55070         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
55072         * benchtests/Makefile (bench): Remove slow benchmarks.
55073         * benchtests/atan-inputs: Add slow benchmark inputs.
55074         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
55075         (BENCH_FUNC): Accept variant offset.
55076         (VARIANT): Define.
55077         * benchtests/bench-skeleton.c (main): Run benchmark for each
55078         variant.
55079         * benchtests/cos-inputs: Add slow benchmark inputs.
55080         * benchtests/exp-inputs: Likewise.
55081         * benchtests/pow-inputs: Likewise.
55082         * benchtests/sin-inputs: Likewise.
55083         * benchtests/slowatan-inputs: Remove.
55084         * benchtests/slowatan.c: Remove.
55085         * benchtests/slowcos-inputs: Remove.
55086         * benchtests/slowcos.c: Remove.
55087         * benchtests/slowexp-inputs: Remove.
55088         * benchtests/slowexp.c: Remove.
55089         * benchtests/slowpow-inputs: Remove.
55090         * benchtests/slowpow.c: Remove.
55091         * benchtests/slowsin-inputs: Remove.
55092         * benchtests/slowsin.c: Remove.
55093         * benchtests/slowtan-inputs: Remove.
55094         * benchtests/slowtan.c: Remove.
55095         * benchtests/tan-inputs: Add slow benchmark inputs.
55096         * scripts/bench.pl: Parse comments and directives.
55098         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
55099         in CPPFLAGS.
55100         ($(objpfx)bench-%.c): Remove *-ITER.
55101         * benchtests/bench-modf.c: Remove definition of ITER.
55102         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
55103         (main): Loop for DURATION seconds instead of fixed number of
55104         iterations.
55105         * scripts/bench.pl: Don't expect iterations in parameters.
55107 2013-04-29  Roland McGrath  <roland@hack.frob.com>
55109         * io/fchdir.c (__fchdir): Renamed from fchdir.
55110         (fchdir): Define as weak alias.
55112 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
55114         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
55115         (ERRNO_EDOM): Likewise.
55116         (ERRNO_ERANGE): Likewise.
55117         (noErrnoTests): New variable.
55118         (init_max_error): Set errno to 0.
55119         (test_single_errno): New function.
55120         (test_errno): Likewise.
55121         (check_float_internal): Call test_errno.  Set errno to 0.
55122         (check_complex): Refer to errno tests in comment.
55123         (check_int): Call test_errno.  Set errno to 0.
55124         (check_long): Likewise.
55125         (check_bool): Likewise.
55126         (check_longlong): Likewise.
55127         (cos_test): Use ERRNO_* flags for errno tests instead of
55128         check_int.
55129         (expm1_test): Likewise.
55130         (fmod_test): Likewise.
55131         (ilogb_test): Likewise.
55132         (lgamma_test): Likewise.
55133         (pow_test): Likewise.
55134         (remainder_test): Likewise.
55135         (sin_test): Likewise.
55136         (tan_test): Likewise.
55137         (yn_test): Likewise.
55138         (initialize): Set errno to 0.
55139         (main): Print number of errno tests.
55140         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
55142 2013-04-29  Andreas Jaeger  <aj@suse.de>
55144         [BZ #15084]
55145         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
55146         and RES_USEVC.
55148         [BZ #15085]
55149         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
55150         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
55151         unimplemented.
55153         [BZ #15380]
55154         * stdlib/random.c (__initstate): Return NULL if
55155         __initstate fails.
55157         [BZ #15086]
55158         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
55159         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
55160         RES_SNGLKUPREOP.
55162 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55164         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55166 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
55168         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
55169         of individual tests.
55170         (casin_test): Likewise.
55171         (casinh_test): Likewise.
55173 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
55175         [BZ #15409]
55176         * math/s_catan.c (__catan): Handle arguments with large real or
55177         imaginary part separately without squaring.
55178         * math/s_catanf.c (__catanf): Likewise.
55179         * math/s_catanh.c (__catanh): Likewise.
55180         * math/s_catanhf.c (__catanhf): Likewise.
55181         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
55182         and redefine.
55183         (__catanhl): Handle arguments with large real or imaginary part
55184         separately without squaring.
55185         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
55186         and redefine.
55187         (__catanl): Handle arguments with large real or imaginary part
55188         separately without squaring.
55189         * math/libm-test.inc (catan_test): Add more tests.
55190         (catanh_test): Likewise.
55191         * sysdeps/i386/fpu/libm-test-ulps: Update.
55192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55194 2013-04-27  Andreas Jaeger  <aj@suse.de>
55196         [BZ #15007]
55197         * stdlib/stdlib.h: Update guards for qecvt.
55198         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
55199         <stdlib.h>.
55201 2013-04-27  Allan McRae  <allan@archlinux.org>
55203         * sysdeps/i386/fpu/libm-test-ulps: Update.
55205 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
55207         [BZ #15406]
55208         * math/s_catan.c: Include <float.h>.
55209         (__catan): Ensure underflow exception occurs for underflowed
55210         result.
55211         * math/s_catanf.c: Include <float.h>.
55212         (__catanf): Ensure underflow exception occurs for underflowed
55213         result.
55214         * math/s_catanh.c: Include <float.h>.
55215         (__catanh): Ensure underflow exception occurs for underflowed
55216         result.
55217         * math/s_catanhf.c: Include <float.h>.
55218         (__catanhf): Ensure underflow exception occurs for underflowed
55219         result.
55220         * math/s_catanhl.c: Include <float.h>.
55221         (__catanhl): Ensure underflow exception occurs for underflowed
55222         result.
55223         * math/s_catanl.c: Include <float.h>.
55224         (__catanl): Ensure underflow exception occurs for underflowed
55225         result.
55226         * math/libm-test.inc (catan_test): Add more tests.
55227         (catanh_test): Likewise.
55229         [BZ #15405]
55230         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
55231         underflowed result.
55232         * math/s_ccoshf.c (__ccoshf): Likewise.
55233         * math/s_ccoshl.c (__ccoshl): Likewise.
55234         * math/s_csin.c (__csin): Likewise.
55235         * math/s_csinf.c (__csinf): Likewise.
55236         * math/s_csinh.c (__csinh): Likewise.
55237         * math/s_csinhf.c (__csinhf): Likewise.
55238         * math/s_csinhl.c (__csinhl): Likewise.
55239         * math/s_csinl.c (__csinl): Likewise.
55240         * math/libm-test.inc (ccos_test): Add more tests.
55241         (ccosh_test): Likewise.
55242         (csin_test): Likewise.
55243         (csinh_test): Likewise.
55245 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55247         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
55248         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
55249         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
55250         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
55251         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
55252         powerpc/power5+/fpu folders.
55253         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
55256 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
55258         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55260 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
55262         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
55263         additions to variable.
55264         [$(config-machine) = x86_64] (modules-names): Likewise.
55265         ($(objpfx)tst-audit3): Remove dependency.
55266         ($(objpfx)tst-audit3.out): Likewise.
55267         ($(objpfx)tst-audit4): Likewise.
55268         ($(objpfx)tst-audit4.out): Likewise.
55269         ($(objpfx)tst-audit5): Likewise.
55270         ($(objpfx)tst-audit5.out): Likewise.
55271         ($(objpfx)tst-audit6): Likewise.
55272         ($(objpfx)tst-audit6.out): Likewise.
55273         ($(objpfx)tst-audit7): Likewise.
55274         ($(objpfx)tst-audit7.out): Likewise.
55275         (tst-audit3-ENV): Remove variable.
55276         (tst-audit4-ENV): Likewise.
55277         (tst-audit5-ENV): Likewise.
55278         (tst-audit6-ENV): Likewise.
55279         (tst-audit7-ENV): Likewise.
55280         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
55281         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
55282         addition to variable.
55283         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
55284         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
55285         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
55286         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
55287         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
55288         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
55289         tst-audit3, tst-audit4 and tst-audit5.
55290         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
55291         tst-audit6 and tst-audit7.
55292         [$(subdir) = elf] (modules-names): Add audit modules for those
55293         tests.
55294         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
55295         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
55296         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
55297         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
55298         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
55299         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
55300         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
55301         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
55302         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
55303         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
55304         [$(subdir) = elf] (tst-audit3-ENV): New variable.
55305         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
55306         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
55307         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
55308         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
55309         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
55310         Likewise.
55311         [$(subdir) = elf && $(config-cflags-avx) = yes]
55312         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
55313         [$(subdir) = elf && $(config-cflags-avx) = yes]
55314         (CFLAGS-tst-auditmod4a.c): Likewise.
55315         [$(subdir) = elf && $(config-cflags-avx) = yes]
55316         (CFLAGS-tst-auditmod4b.c): Likewise.
55317         [$(subdir) = elf && $(config-cflags-avx) = yes]
55318         (CFLAGS-tst-auditmod6b.c): Likewise.
55319         [$(subdir) = elf && $(config-cflags-avx) = yes]
55320         (CFLAGS-tst-auditmod6c.c): Likewise.
55321         [$(subdir) = elf && $(config-cflags-avx) = yes]
55322         (CFLAGS-tst-auditmod7b.c): Likewise.
55323         * elf/tst-audit3.c: Move to ...
55324         * sysdeps/x86_64/tst-audit3.c: ... here.
55325         * elf/tst-audit4.c: Move to ...
55326         * sysdeps/x86_64/tst-audit4.c: ... here.
55327         * elf/tst-audit5.c: Move to ...
55328         * sysdeps/x86_64/tst-audit5.c: ... here.
55329         * elf/tst-audit6.c: Move to ...
55330         * sysdeps/x86_64/tst-audit6.c: ... here.
55331         * elf/tst-audit7.c: Move to ...
55332         * sysdeps/x86_64/tst-audit7.c: ... here.
55333         * elf/tst-auditmod3a.c: Move to ...
55334         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
55335         * elf/tst-auditmod3b.c: Move to ...
55336         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
55337         * elf/tst-auditmod4a.c: Move to ...
55338         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
55339         * elf/tst-auditmod4b.c: Move to ...
55340         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
55341         * elf/tst-auditmod5a.c: Move to ...
55342         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
55343         * elf/tst-auditmod5b.c: Move to ...
55344         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
55345         * elf/tst-auditmod6a.c: Move to ...
55346         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
55347         * elf/tst-auditmod6b.c: Move to ...
55348         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
55349         * elf/tst-auditmod6c.c: Move to ...
55350         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
55351         * elf/tst-auditmod7a.c: Move to ...
55352         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
55353         * elf/tst-auditmod7b.c: Move to ...
55354         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
55356 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
55358         [BZ #15366]
55359         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
55360         define unconditionally.
55361         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
55362         define unconditionally.
55363         (INT8_C, INT16_C, etc.): Likewise.
55365 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
55367         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
55368         __ehdr_start with hidden visibility.
55370         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
55372 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
55374         * math/libm-test.inc (cos_test): Use accurate hex constants.
55375         (sincost_test): Likewise.
55377 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
55379         * math/libm-test.inc (catan_test): Add more tests.
55380         (catanh_test): Likewise.
55382         * math/s_catanf.c (__catanf): Use suffixed floating-point
55383         constants.
55384         * math/s_catanhf.c (__catanhf): Likewise.
55385         * math/s_catanhl.c (__catanhl): Likewise.
55386         * math/s_catanl.c (__catanl): Likewise.
55388         [BZ #15394]
55389         * math/s_catan.c (__catan): Calculate imaginary part of result
55390         with log1p not log unless computing log of number close to 0.
55391         * math/s_catanf.c (__catanf): Likewise.
55392         * math/s_catanl.c (__catanl): Likewise.
55393         * math/s_catanh.c (__catanh): Calculate real part of result with
55394         log1p not log unless computing log of number close to 0.
55395         * math/s_catanhf.c (__catanhf): Likewise.
55396         * math/s_catanhl.c (__catanhl): Likewise.
55397         * math/libm-test.inc (catan_test): Add more tests.
55398         (catanh_test): Likewise.
55399         * sysdeps/i386/fpu/libm-test-ulps: Update.
55400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55402 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
55404         * benchtests/Makefile: Mention files in which fast and slow
55405         paths of math functions are implemented.
55407 2013-04-23  Roland McGrath  <roland@hack.frob.com>
55409         * sysdeps/posix/timespec_get.c: New file.
55411 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55413         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
55414         POWER.
55415         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
55416         for POWER.
55417         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
55418         powerpc/power5/fpu folders.
55419         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
55420         * benchtests/Makefile: Add modf testcase.
55421         * benchtests/bench-modf.c: New file: Benchmark test for mo
55423 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
55425         [BZ #14888]
55426         * time/Makefile (tests): Add tst-strptime-whitespace.
55427         * time/strptime_l.c (get_number): Use ISSPACE.
55428         (__strptime_internal): Likewise.
55429         * time/tst-strptime-whitespace.c: New test case.
55431 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
55433         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
55434         member.
55435         (_nss_files_init): Set it here.
55437 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
55439         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
55440         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
55441         unsigned.
55443 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
55445         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
55447 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
55449         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
55450         size just once.
55452 2013-04-21  David S. Miller  <davem@davemloft.net>
55454         * po/ru.po: Update Russion translation from translation project.
55456 2013-04-17  Adam Conrad  <adconrad@0c3.net>
55458         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
55459         and setfsgid.
55461 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
55463         * configure.in: Remove i386 configure warning. Remove i386 case.
55464         * configure: Regenerate.
55465         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
55466         Add example to error message.
55467         * sysdeps/i386/configure: Regenerate.
55469 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
55471         * benchtests/Makefile (bench): Add cos, tan, slowcos and
55472         slowtan.
55473         * benchtests/cos-inputs: New file.
55474         * benchtests/slowcos-inputs: New file.
55475         * benchtests/slowcos.c: New file.
55476         * benchtests/slowtan-inputs: New file.
55477         * benchtests/slowtan.c: New file.
55478         * benchtests/tan-inputs: New file.
55480 2013-04-16  Roland McGrath  <roland@hack.frob.com>
55482         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
55483         considered kosher.
55485 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55487         * benchtests/Makefile: Include cppflags-iterator.mk to add
55488         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
55490         * Makefile.in (bench-clean): New target.
55491         * benchtests/Makefile (bench-clean): Likewise.
55493 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
55495         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
55497 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
55499         * stdio-common/tstdiomisc.c: Fix coding-style violation.
55501 2013-04-15  Andreas Schwab  <schwab@suse.de>
55503         * nscd/grpcache.c (cache_addgr): Properly check for short write.
55504         * nscd/initgrcache.c (addinitgroupsX): Likewise.
55505         * nscd/pwdcache.c (cache_addpw): Likewise.
55506         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
55507         more than recsize.
55509 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55511         * benchtests/Makefile (bench): Write all output to
55512         bench-out.tmp together.
55514 2013-04-15  Andreas Schwab  <schwab@suse.de>
55516         * nscd/nscd.c (main): Don't fork again after closing files.
55518 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55520         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
55522         * benchtests/Rules (bench-deps): Collect dependencies into a
55523         single variable.  Add Makefile to dependencies.
55524         ($(objpfx)bench-%.c): Depend on bench-deps.
55526 2013-04-12  Roland McGrath  <roland@hack.frob.com>
55527             Xavier Roche  <roche+kml2@exalead.com>
55529         [BZ #15361]
55530         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
55531         just that it's a file descriptor.
55532         * manual/llio.texi (Synchronizing AIO Operations): Update description
55533         for EBADF error from aio_fsync.
55535 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
55537         * Rules (bench): Move target definition...
55538         * benchtests/Makefile: ... here.
55540 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
55542         * math/libm-test.inc (cos_test): Fix PI/2 test.
55543         (sincos_test): Likewise.
55544         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
55545         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
55547 2013-04-11  Andreas Schwab  <schwab@suse.de>
55549         [BZ #13988]
55550         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
55551         accept exponent character only when digits were seen.
55552         * stdio-common/Makefile (tests): Add bug26.
55553         * stdio-common/bug26.c: New file.
55555         [BZ #14293]
55556         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
55557         non-freeable.
55559 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
55561         * Makeconfig (rtld-prefix): Define built linker prefix.
55562         * Rules (run-bench): Use it.
55563         * math/Makefile (run-regen-ulps): Likewise.
55565         * Rules (bench): Remove eval.
55567 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
55568             Roland McGrath  <roland@hack.frob.com>
55569             Ondrej Bilka  <neleai@seznam.cz>
55571         [BZ #15346]
55572         * time/getdate.c: Include ctype.h and alloca.h.
55573         (__getdate_r): Trim leading and trailing spaces of input.
55574         * time/tst-getdate.c (tests): Add tests with leading and
55575         trailing spaces.
55577 2013-04-08  Roland McGrath  <roland@hack.frob.com>
55579         [BZ #14280]
55580         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
55581         when computing value.
55583 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
55585         * math/README.libm-test (How can I generate "libm-test-ulps"?):
55586         Use testrun.sh to run libm tests.
55588         [BZ #15309]
55589         * elf/dl-open.c (dl_open_worker): memset all of seen array.
55591 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
55593         [BZ #15264]
55594         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
55596 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
55598         * Makefile.in (regen-ulps): New target.
55599         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
55600         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
55601         [ifneq (no,$(PERL)] (regen-ulps): New target.
55602         [ifeq (no,$(PERL)] (regen-ulps): New target.
55603         * math/libm-test.inc (ulps_file_name): Define.
55604         (output_dir): New variable.
55605         (options): Add "output-dir" option.
55606         (parse_opt): Handle 'o' case.
55607         (main): If output_dir is non-NULL use it as a prefix
55608         otherwise use "".
55609         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
55611 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
55613         [BZ #10060, #10062]
55614         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
55615         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
55616         fail configure if __sync_val_compare_and_swap is not inlined.
55617         * sysdeps/i386/configure: Regenerate.
55618         * configure.in: Build for i686 when configured for i386.
55619         * configure: Regenerate.
55620         * README: Remove i386 reference.
55622 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
55624         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
55625         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55627 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
55629         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
55630         (lmsnanval): New variables.
55631         (F): Add conversion tests.
55632         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
55633         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
55635         * stdio-common/tstdiomisc.c (F): Properly collect individual
55636         tests' results.
55638         [BZ #14686, #15336]
55639         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
55640         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
55641         Instead, use input NaN values or generate a qNaN by arithmetic
55642         operation.  Also fix bugs to comply with the standard.
55643         * math/libm-test.inc (remainder_test): Add more tests.
55645         [BZ #15335, #15342]
55646         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
55647         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
55648         input NaN values or generate a qNaN by arithmetic operation.
55650         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
55651         unreachable code.
55653         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
55654         definitions.
55656 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
55658         [BZ #14478]
55659         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
55660         underflowed result.
55661         * math/s_cexpf.c (__cexpf): Likewise.
55662         * math/s_cexpl.c (__cexpl): Likewise.
55663         * math/libm-test.inc (cexp_test): Add more tests.
55665 2013-04-03  Andreas Schwab  <schwab@suse.de>
55667         [BZ #15330]
55668         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
55669         order arrays from heap if bigger than alloca cutoff.
55671 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
55673         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
55674         (SNAN_TESTS_double): Refer to GCC PR56831.
55675         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
55676         GCC PR56828.
55678 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
55680         * Rules (bench): Move bench.out after the run is complete.
55682         * Rules (bench): Echo currently running benchmark.
55684         * benchtests/Makefile (bench): Add atan and slowatan.
55685         * benchtests/atan-inputs: New file.
55686         * benchtests/slowatan-inputs: New file.
55687         * benchtests/slowatan.c: New file.
55689         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
55690         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
55691         its value.
55693         [BZ #15305]
55694         * sysdeps/unix/sysv/linux/kernel-features.h
55695         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
55696         __ASSUME_XFS_RESTRICTED_CHOWN.
55697         * sysdeps/unix/sysv/linux/pathconf.c
55698         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
55699         Save and restore errno.
55701 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
55703         [BZ #15327]
55704         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
55705         arguments using __kernel_casinh.
55706         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
55707         arguments using __kernel_casinhf.
55708         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
55709         arguments using __kernel_casinhl.
55710         * math/libm-test.inc (cacosh_test): Add more tests.
55711         * sysdeps/i386/fpu/libm-test-ulps: Update.
55712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55714 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
55716         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
55717         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
55719         * bench/Makefile (bench): Add sin and slowsin.
55720         * benchtests/sin-inputs: New file.
55721         * benchtests/slowsin-inputs: New file.
55722         * benchtests/slowsin.c: New file.
55724         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
55725         (bench): Add slowexp and slowpow.
55726         (exp-ITER): Increase iterations.
55727         (pow-ITER): Likewise.
55728         * benchtests/exp-inputs: Change input.
55729         * benchtests/pow-inputs: Likewise.
55730         * benchtests/slowexp-inputs: New file.
55731         * benchtests/slowexp.c: New file.
55732         * benchtests/slowpow-inputs: New file.
55733         * benchtests/slowpow.c: New file.
55735 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55737         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
55738         instructions.
55739         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
55740         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
55741         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
55742         * benchtests/Makefile: Add rint benchtest.
55743         * benchtests/rint-inputs: Input for rint benchtest.
55745 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
55747         * Versions.def (libm): Add GLIBC_2.18.
55748         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
55749         hidden libm prototypes.
55750         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
55751         * math/Makefile (libm-calls): Add s_issignaling.
55752         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
55753         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
55754         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
55755         declaration.
55756         * math/math.h [__USE_GNU] (issignaling): New macro.
55757         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
55758         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
55759         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
55760         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
55761         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
55762         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
55763         * manual/arith.texi (issignaling): New section.
55764         * manual/libm-err-tab.pl (@all_functions): Update comment.
55765         * math/gen-libm-test.pl (parse_args): Apply special handling for
55766         issignaling.
55767         * math/libm-test.inc (print_float, issignaling_test): New
55768         functions.
55769         (check_float_internal): Add issignaling checks.
55770         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
55771         default definition.
55772         * sysdeps/powerpc/math-tests.h: New file.
55773         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
55774         tests.
55775         * math/test-snan.c (TEST_FUNC): Likewise.
55777 2013-03-30  David S. Miller  <davem@davemloft.net>
55779         * po/de.po: Update from translation team.
55781 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
55783         [BZ #10357]
55784         * math/k_casinh.c (__kernel_casinh): Handle arguments with
55785         imaginary part less than 1.0 and real part less than 0.5
55786         specially.
55787         * math/k_casinhf.c (__kernel_casinhf): Likewise.
55788         * math/k_casinhl.c (__kernel_casinhl): Likewise.
55789         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
55790         (cacos_test): Add more tests.
55791         (casin_test): Likewise.
55792         (casinh_test): Likewise.
55793         * sysdeps/i386/fpu/libm-test-ulps: Update.
55794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55796 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
55798         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
55799         ONE with its value.
55801         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
55802         (__pow_mp): Replace ONE and MONE with their values.
55803         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
55804         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
55805         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
55806         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
55807         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
55808         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
55810         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
55812         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
55813         (__pow_mp): Replace ZERO and MZERO with their values.
55814         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
55815         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
55816         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
55817         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
55818         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
55819         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
55820         (__sqr): Likewise.
55822         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
55824         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
55826 2013-03-28  Roland McGrath  <roland@hack.frob.com>
55828         * include/stdlib.h [!SHARED] (__call_tls_dtors):
55829         Declare with __attribute__ ((weak)).
55830         * stdlib/exit.c (__libc_atexit) [!SHARED]:
55831         Call __call_tls_dtors only if it's not NULL.
55833 2013-03-28  Roland McGrath  <roland@hack.frob.com>
55835         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
55836         didn't do it already, then set _dl_phdr and _dl_phnum based on the
55837         magic __ehdr_start linker symbol if it's defined.
55838         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
55839         them up here if it was already done.
55841         * elf/dl-support.c (_dl_phdr): Make pointer to const.
55842         (_dl_aux_init): Use const in cast when setting it.
55843         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
55844         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
55845         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
55847         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
55848         Declare them here.
55849         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
55850         * csu/libc-tls.c: Nor here.
55851         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
55853         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
55854         (__libc_message): Never call vsyslog.
55856 2013-03-28  Alan Modra  <amodra@gmail.com>
55858         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
55859         Define as empty.
55860         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
55861         Likewise.
55863 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55865         [BZ #15214]
55866         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
55867         underflow.
55868         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55870 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55872         [BZ #15304]
55873         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
55874         Don't add gid passed as argument.
55876         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
55878 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
55880         [BZ #15307]
55881         * math/k_casinh.c (__kernel_casinh): Handle arguments with
55882         imaginary part between 1.0 and 1.5 and real part less than 0.5
55883         specially.
55884         * math/k_casinhf.c (__kernel_casinhf): Likewise.
55885         * math/k_casinhl.c (__kernel_casinhl): Likewise.
55886         * math/libm-test.inc (cacos_test): Add more tests.
55887         (casin_test): Likewise.
55888         (casinh_test): Likewise.
55889         * sysdeps/i386/fpu/libm-test-ulps: Update.
55890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55892 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
55894         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
55895         constants.
55896         (norm): Likewise.
55897         (denorm): Likewise.
55898         (__dbl_mp): Likewise.
55899         (add_magnitudes): Likewise.
55900         (sub_magnitudes): Likewise.
55901         (__add): Likewise.
55902         (__sub): Likewise.
55903         (__mul): Likewise.
55904         (__sqr): Likewise.
55905         (__inv): Likewise.
55906         (__dvd): Likewise.
55908         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
55909         commented code.
55910         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
55911         (__dubcos): Likewise.
55912         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
55913         (__ieee754_acos): Likewise.
55914         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
55915         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
55916         (__exp1): Likewise.
55917         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
55918         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
55919         (log1): Likewise.
55920         (my_log2): Likewise.
55921         (checkint): Likewise.
55922         * sysdeps/ieee754/dbl-64/e_remainder.c
55923         (__ieee754_remainder): Likewise.
55924         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
55925         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
55926         (bsloww): Likewise.
55927         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
55929         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
55930         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
55931         MANTISSA_STORE_T to store computations on mantissa.  Use
55932         macros for rounding and division.
55933         (denorm): Likewise.
55934         (__dbl_mp): Likewise.
55935         (add_magnitudes): Likewise.
55936         (sub_magnitudes): Likewise.
55937         (__mul): Likewise.
55938         (__sqr): Likewise.
55939         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
55940         powers of two in terms of TWOPOW macro.
55941         (mp_no): Make type of mantissa as MANTISSA_T.
55942         [!RADIXI]: Define RADIXI.
55943         [!TWO52]: Define TWO52.
55944         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
55946 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55948         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
55949         llroundl symbol when building for PPC32.
55951 2013-03-24  Mark H Weaver  <mhw@netris.org>
55953         * manual/arith.texi (Normalization Functions): Fix prototypes for
55954         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
55956 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55958         [BZ #13889]
55959         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
55960         high value to check if expl overflow.
55961         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
55962         to check for underflow and overflow.
55963         * math/libm-test.inc: Add exp test.
55965 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
55967         [BZ #11120]
55968         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
55969         with NOT_IN_libc.
55971 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55973         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
55974         symbol.
55976 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
55978         * math/gen-libm-test.pl (parse_args, special_functions): Properly
55979         wrap blocks consisting of several statements.
55981         * sysdeps/generic/math-tests.h: New file.
55982         * sysdeps/i386/fpu/math-tests.h: Likewise.
55983         * math/test-snan.c: Include it.
55984         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
55986 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
55988         [BZ #15285]
55989         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
55990         (__ieee754_j0l): Do not improve calculations using cos of twice
55991         input for inputs above LDBL_MAX / 2.0L.
55992         (__ieee754_y0l): Likewise.
55993         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
55994         (__ieee754_j1l): Do not improve calculations using cos of twice
55995         input for inputs above LDBL_MAX / 2.0L.
55996         (__ieee754_y1l): Likewise.
55997         * math/libm-test.inc (j0_test): Add another test.
55998         (j1_test): Likewise.
55999         (y0_test): Likewise.
56000         (y1_test): Likewise.
56001         * sysdeps/i386/fpu/libm-test-ulps: Update.
56003 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
56005         * Rules ($(objpfx)bench-%.c): Include code from a C source
56006         file.
56008 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
56010         [BZ #15287]
56011         * math/k_casinh.c (__kernel_casinh): Handle arguments with
56012         imaginary part 1.0 and real part less than 0.5 specially.
56013         * math/k_casinhf.c (__kernel_casinhf): Likewise.
56014         * math/k_casinhl.c (__kernel_casinhl): Likewise.
56015         * math/libm-test.inc (cacos_test): Add more tests.
56016         (casin_test): Likewise.
56017         (casinh_test): Likewise.
56018         * sysdeps/i386/fpu/libm-test-ulps: Update.
56019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56021 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
56023         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
56024         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
56026 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
56028         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
56029         * config.make.in (config-cflags-sse4): Remove variable.
56030         (config-cflags-avx): Likewise.
56031         (config-cflags-sse2avx): Likewise.
56032         (config-cflags-novzeroupper): Likewise.
56033         (config-asflags-i686): Likewise.
56034         (have-mfma4): Likewise.
56035         (have-as-vis3): Likewise.
56036         (MIG): Likewise.
56037         * configure.in (MIG): Do not AC_SUBST.
56038         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
56039         (libc_cv_cc_sse4): Do not AC_SUBST.
56040         (libc_cv_cc_avx): Likewise.
56041         (libc_cv_cc_sse2avx): Likewise.
56042         (libc_cv_cc_novzeroupper): Likewise.
56043         (libc_cv_cc_fma4): Likewise.
56044         (libc_cv_as_i686): Likewise.
56045         (libc_cv_sparc_as_vis3): Likewise.
56046         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
56047         LIBC_CONFIG_VAR.
56048         (config-asflags-i686): Likewise.
56049         (config-cflags-avx): Likewise.
56050         (config-cflags-sse2avx): Likewise.
56051         (have-mfma4): Likewise.
56052         (config-cflags-novzeroupper): Likewise.
56053         * sysdeps/mach/configure.in (MIG): Likewise.
56054         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
56055         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
56056         LIBC_CONFIG_VAR.
56057         (config-cflags-avx): Likewise.
56058         (config-cflags-sse2avx): Likewise.
56059         (have-mfma4): Likewise.
56060         (config-cflags-novzeroupper): Likewise.
56061         * configure: Regenerated.
56062         * sysdeps/i386/configure: Likewise.
56063         * sysdeps/mach/configure: Likewise.
56064         * sysdeps/sparc/configure: Likewise.
56065         * sysdeps/x86_64/configure: Likewise.
56067 2013-03-20  Roland McGrath  <roland@hack.frob.com>
56069         [BZ #14812]
56070         * locale/programs/localedef.c (options): Put N_ translation marker
56071         on argument names, not just descriptions.
56073 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56075         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
56077 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
56079         [BZ #14176]
56080         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
56082 2013-03-19  Roland McGrath  <roland@hack.frob.com>
56084         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
56085         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
56086         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
56087         [!BEFORE_ABORT] (before_abort): New function.
56088         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
56089         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
56090         (writev_for_fatal): New function.
56091         (WRITEV_FOR_FATAL): New macro; call that.
56092         (backtrace_and_maps): New function.
56093         (BEFORE_ABORT): New macro; call that.
56094         (struct str_list): Type removed.
56095         (__libc_message, __libc_fatal): Functions removed.
56096         Include <sysdeps/posix/libc_fatal.c> instead.
56098 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
56100         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
56101         constants.
56102         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
56103         double constants.
56105 2013-03-19  Andreas Schwab  <schwab@suse.de>
56107         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
56108         * sysdeps/gnu/configure: Regenerate.
56110         * configure.in: Substitute libc_cv_rtlddir.
56111         * configure: Regenerate.
56112         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
56113         * Makeconfig (rtlddir, inst_rtlddir): New variables.
56114         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
56115         * elf/Makefile (install-others, CFLAGS-interp.c)
56116         (ldso_install, common-ldd-rewrite): Likewise.
56117         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
56118         $(inst_slibdir)/$(rtld-installed-name).
56119         * scripts/rellns-sh: Add -p option.
56120         * Makerules (make-shlib-link): Use rellns-sh to get relative name
56121         for source.
56123 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
56125         * manual/nptl.texi: Renamed to ...
56126         * manual/threads.texi: ... this.
56127         * manual/Makefile (chapters): Update.
56129 2013-03-18  Roland McGrath  <roland@hack.frob.com>
56131         [BZ #14812]
56132         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
56133         on argument names, not just descriptions.
56134         * malloc/memusagestat.c (options): Likewise.
56135         * nss/getent.c (options): Likewise.
56137 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
56139         [BZ #14812]
56140         * iconv/iconv_prog.c (options): Put N_ translation marker
56141         on argument names, not just descriptions.
56142         * iconv/iconvconfig.c (options): Likewise.
56144 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
56146         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
56147         implementation which is faster on all x86_64 architectures.
56148         Tested on AMD, Intel Nehalem, SNB, IVB.
56149         * sysdeps/x86_64/strnlen.S: Likewise.
56151         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
56152         Remove all multiarch strlen and strnlen versions.
56153         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
56154         Remove strlen and strnlen related parts.
56156         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
56157         Inline strlen part.
56158         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
56160         * sysdeps/x86_64/multiarch/strlen.S: Remove.
56161         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
56162         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
56163         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
56164         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
56165         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
56167 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
56169         * manual/memory.texi (Malloc Tunable Parameters):
56170         Sort parameters alphabetically. Add comments for missing entries.
56172 2013-03-17  David S. Miller  <davem@davemloft.net>
56174         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56176 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
56178         [BZ #15283]
56179         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
56180         for arguments at most half maximum finite value.
56181         * math/libm-test.inc (j0_test): Add more tests.
56182         (j1_test): Likewise.
56183         (y0_test): Likewise.
56184         (y1_test): Likewise.
56185         * sysdeps/i386/fpu/libm-test-ulps: Update.
56186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56188         [BZ #14155]
56189         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
56190         1 / x and functions P and Q for arguments above 0x1p256L.
56191         (__ieee754_y0l): Likewise.
56192         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
56193         (__ieee754_y1l): Likewise.
56194         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
56195         (j1_test): Likewise.
56196         (y0_test): Likewise.
56197         (y1_test): Likewise.
56199 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
56201         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
56202         variable.
56204 2013-03-15  Roland McGrath  <roland@hack.frob.com>
56206         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
56207         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
56208         zero since it's initialized to EXEC_PAGESIZE.
56210         * sysdeps/unix/sysv/linux/ldsodefs.h
56211         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
56212         * sysdeps/generic/ldsodefs.h: ... here.
56214 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
56216         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
56218         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
56219         math/test-snan.c.
56220         * math/test-snan.c: Renamed from
56221         sysdeps/powerpc/fpu/test-powerpc-snan.c.
56222         * math/Makefile (tests): Add test-snan.
56223         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
56224         test-powerpc-snan.
56226         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
56227         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
56228         functions.
56229         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
56230         __builtin_nan family of functions.
56231         * math/libm-test.inc (initialize): Initialize qnan_value with
56232         __builtin_nan family of functions.
56233         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
56234         Remove variables.
56235         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
56236         Remove functions.
56237         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
56238         storage class.  Initialize qNaN_var and sNaN_var with
56239         __builtin_nan and __builtin_nans families of functions,
56240         respectively.
56242         * math/libm-test.inc (acosh_test): Also test with qNaN input.
56243         (sqrt_test): Remove duplicate test with qNaN input.
56244         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
56245         (round_test, signbit_test, significand_test): Note missing +/-Inf
56246         as well as qNaN tests.
56248         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
56249         qNaN_var.  Fix a few strings, too.
56250         * math/libm-test.inc (nan_value): Rename to qnan_value.
56251         * math/gen-libm-test.pl (%beautify): Adjust to that.
56252         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
56253         * math/test-misc.c (main): Likewise.
56254         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
56255         to __qnan_bytes, and __qnan_union, respectively.
56256         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
56257         Likewise.
56258         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
56259         and lqnanval, respectively.
56260         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
56261         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
56262         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
56263         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
56265         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
56266         * math/test-misc.c (main) [__x86_64__]: Enable test for long
56267         doubles.
56269         * math/test-misc.c (main): Fix copy'n'pastos.
56270         * misc/tst-efgcvt.c (special): Likewise.
56272         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
56273         Remove declarations.
56275 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
56277         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
56278         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
56279         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
56280         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
56282 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56284         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
56285         macro to return vdso values correctly in IFUNC implementations.
56286         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
56287         Optimization by using IFUNC.
56289 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
56290             Richard Henderson  <rth@redhat.com>
56291             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56293         * Makefile.in (bench): New target.
56294         * NEWS: Mention the benchmark framework.
56295         * Rules (bench): Likewise.
56296         (binaries-bench): Generate binaries for functions to
56297         benchmark.
56298         * benchtests/Makefile: New makefile for benchmark tests.
56299         * benchtests/bench-skeleton.c: New skeleton file for benchmark
56300         programs.
56301         * benchtests/exp-inputs: New input file for EXP function.
56302         * benchtests/pow-inputs: New input file for POW function.
56303         * scripts/bench.pl: New script to generate source files for
56304         benchmark programs.
56306 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
56308         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
56309         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
56310         computations on mantissa.  Use macros for rounding and
56311         division.
56312         (denorm): Likewise.
56313         (__dbl_mp): Likewise.
56314         (add_magnitudes): Likewise.
56315         (sub_magnitudes): Likewise.
56316         (__mul): Likewise.
56317         (__sqr): Likewise.
56318         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
56319         powers of two in terms of TWOPOW macro.
56320         (mp_no): Make type of mantissa as MANTISSA_T.
56321         [!RADIXI]: Define RADIXI.
56322         [!TWO52]: Define TWO52.
56323         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
56325         * manual/nptl.texi (cindex): Modify threads to pthreads.
56327 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
56329         * sysdeps/x86_64/preconfigure: Regenerated.
56331 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
56333         [BZ #14155]
56334         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
56335         0x1p28 and above.
56336         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
56337         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
56338         0x1p28 and above.
56339         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
56340         * math/libm-test.inc (j0_test): Do not allow one spurious
56341         underflow exception.
56342         (y1_test): Likewise.
56344 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
56346         * manual/Makefile (chapters): Add nptl.
56347         * manual/debug.texi (Debugging Support): Add link to Threads
56348         chapter.
56349         * manual/nptl.texi: New file.
56351         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
56353 2013-03-14  Petr Baudis  <pasky@ucw.cz>
56355         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
56356         for non-NULL pointer before the memory validity test. Pointed
56357         out by Holger Brunck <holger.brunck@keymile.com>.
56359 2013-03-13  Andreas Schwab  <schwab@suse.de>
56361         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
56362         instead of .os.
56364 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
56366         * timezone/zic.c: Update from tzcode 2013b.
56368 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
56370         * manual/install.texi (Configuring and compiling):
56371         Mention i686 and i586.
56372         * INSTALL: Regenerate.
56374 2013-03-12  Roland McGrath  <roland@hack.frob.com>
56376         * sysdeps/init_array/elf-init.c: New file.
56377         * csu/elf-init.c
56378         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
56379         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
56381         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
56382         __gmon_start__ as global, but as static with a .preinit_array pointer.
56383         * sysdeps/init_array/gmon-start.c: New file.  Use that.
56384         * sysdeps/init_array/crti.S: New file, empty except for comments.
56385         * sysdeps/init_array/crtn.S: Likewise.
56387 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
56389         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
56390         definining bcopy.
56391         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56392         Remove Prefer_SSE_for_memop.
56393         * sysdeps/x86_64/multiarch/init-arch.h: Remove
56394         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
56395         HAS_PREFER_SSE_FOR_MEMOP.
56396         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
56397         memset-x86-64.
56398         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
56399         Remove bzero, memset ifunc support.
56400         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
56401         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
56402         * sysdeps/x86_64/multiarch/memset.S: Likewise.
56403         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
56405 2013-03-11  Andreas Schwab  <schwab@suse.de>
56407         [BZ #15234]
56408         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
56409         by SHLIB_COMPAT.
56410         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
56411         (GLIBC_2.16): Remove pthread_atfork.
56413 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
56415         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
56416         (ptestcases.h): Likewise.
56418 2013-03-08  Roland McGrath  <roland@hack.frob.com>
56420         * Makeconfig ($(common-objpfx)config.status): Depend on
56421         sysdeps/*/preconfigure{,.in} too.
56423 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
56425         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
56426         (__free_hook): Use void * instead of __malloc_ptr_t.
56427         (__malloc_hook): Likewise.
56428         (__realloc_hook): Likewise.
56429         (__memalign_hook): Likewise.
56430         (__after_morecore_hook): Likewise.
56431         * malloc/arena.c (save_malloc_hook): Likewise.
56432         (save_free_hook): Likewise.
56433         * malloc/hooks.c (malloc_hook_ini): Likewise.
56434         (realloc_hook_ini): Likewise.
56435         (memalign_hook_ini): Likewise.
56436         * malloc/malloc.c (malloc_hook_ini): Likewise.
56437         (realloc_hook_ini): Likewise.
56438         (memalign_hook_ini): Likewise.
56439         (__free_hook): Likewise.
56440         (__malloc_hook): Likewise.
56441         (__realloc_hook): Likewise.
56442         (__memalign_hook): Likewise.
56443         (__libc_malloc): Likewise.
56444         (__libc_free): Likewise.
56445         (__libc_realloc): Likewise.
56446         (__libc_memalign): Likewise.
56447         (__libc_valloc): Likewise.
56448         (__libc_pvalloc): Likewise.
56449         (__libc_calloc): Likewise.
56450         (__posix_memalign): Likewise.
56451         * malloc/morecore.c (__sbrk): Likewise.
56452         (__default_morecore): Likewise.
56454         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
56456         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
56457         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
56458         __malloc_ptrdiff_t.
56460         * malloc/malloc.h (__malloc_size_t): Remove macro.
56461         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
56462         __malloc_size_t.
56463         (old_memalign_hook): Likewise.
56464         (old_realloc_hook): Likewise.
56465         (struct hdr): Likewise.
56466         (flood): Likewise.
56467         (mallochook): Likewise.
56468         (memalignhook): Likewise.
56469         (reallochook): Likewise.
56470         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
56471         (tr_old_realloc_hook): Likewise.
56472         (tr_old_memalign_hook): Likewise.
56473         (tr_mallochook): Likewise.
56474         (tr_reallochook): Likewise.
56475         (tr_memalignhook): Likewise.
56477 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56479         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
56480         default_ldbl_pack and using as default implementation.
56481         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
56482         implementation.
56483         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
56484         redundant definition.
56485         (ldbl_insert_mantissa): Likewise.
56486         (ldbl_canonicalize): Likewise.
56487         (ldbl_nearbyint): Likewise.
56488         (ldbl_pack): Rename to ldbl_pack_ppc.
56489         (ldbl_unpack): Rename to ldbl_unpack_ppc.
56490         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
56491         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
56493 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
56495         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
56496         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
56497         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
56498         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
56499         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
56500         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
56501         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
56502         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
56504 2013-03-07  Andreas Jaeger  <aj@suse.de>
56506         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56507         bits/mman-linux.h.
56509 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
56511         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
56512         Include mpa.h and declare __MPEXP.
56513         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
56514         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
56515         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
56516         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
56517         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
56518         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
56519         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
56521         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
56522         (__slowpow): Use long double EXPL and LOGL functions to
56523         compute POW.
56524         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
56525         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
56526         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
56527         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
56528         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
56529         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
56531         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
56532         intermediate variable to calculate exponent.
56533         (__sqr): Likewise.
56534         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
56535         Likewise.
56536         (__sqr): Likewise.
56538         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
56539         [!NO__SQR]: Define __sqr.
56540         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
56541         and NO__SQR.  Remove all code except __mul and __sqr.  Include
56542         sysdeps/ieee754/dbl-64/mpa.c.
56543         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56545         [BZ #12723]
56546         * posix/Makefile (tests): Add tst-pathconf.
56547         * posix/tst-pathconf.c: New test case.
56548         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
56549         _PC_PIPE_BUF.
56550         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
56552 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
56554         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
56556 2013-03-06  Andreas Jaeger  <aj@suse.de>
56558         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
56559         definition via __MAP_ANONYMOUS.
56561         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
56562         it's not part of Linux headers.
56564         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
56565         (MAP_HUGE_MASK): Define.
56567         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
56568         Define.
56569         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
56570         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
56571         Define.
56572         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
56573         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
56574         Define.
56575         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
56576         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
56577         Define.
56578         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
56580         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
56581         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
56582         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
56583         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
56584         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
56585         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
56587         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
56588         Handle f2fs.
56590         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56591         Handle f2fs and efivarfs.
56593         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
56594         f2fs.
56596         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
56597         (EFIVARFS_MAGIC): Add.
56598         (F2FS_LINK_MAX): Add.
56600 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
56602         * stdio-common/vfprintf.c: Replace __builtin_expect with
56603         __glibc_unlikely.
56605 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
56607         [BZ #13550]
56608         * sysdeps/generic/bp-sym.h: Remove file.
56609         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
56610         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
56611         <bp-sym.h> and <bp-asm.h>.
56612         (__longjmp): Don't use BP_SYM.
56613         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
56614         and <bp-asm.h>.
56615         (memcpy): Don't use BP_SYM.
56616         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
56617         <bp-sym.h> and <bp-asm.h>.
56618         (memcpy): Don't use BP_SYM.
56619         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
56620         <bp-asm.h>.
56621         (memcpy): Don't use BP_SYM.
56622         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
56623         <bp-asm.h>.
56624         (memset): Don't use BP_SYM.
56625         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
56626         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
56627         (__bzero): Don't use BP_SYM.
56628         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
56629         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
56630         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
56631         <bp-sym.h> and <bp-asm.h>.
56632         (memcmp): Don't use BP_SYM.  Remove comment about bounded
56633         pointers.
56634         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
56635         <bp-sym.h> and <bp-asm.h>.
56636         (memcpy): Don't use BP_SYM.
56637         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
56638         <bp-sym.h> and <bp-asm.h>.
56639         (memset): Don't use BP_SYM.
56640         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
56641         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
56642         (__bzero): Don't use BP_SYM.
56643         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
56644         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
56645         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
56646         <bp-sym.h> and <bp-asm.h>.
56647         (strncmp): Don't use BP_SYM.  Remove comment about bounded
56648         pointers.
56649         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
56650         <bp-sym.h> and <bp-asm.h>.
56651         (memcpy): Don't use BP_SYM.
56652         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
56653         <bp-sym.h> and <bp-asm.h>.
56654         (memset): Don't use BP_SYM.
56655         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
56656         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
56657         (__bzero): Don't use BP_SYM.
56658         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
56659         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
56660         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
56661         <bp-sym.h> and <bp-asm.h>.
56662         (__memchr): Don't use BP_SYM.
56663         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
56664         <bp-sym.h> and <bp-asm.h>.
56665         (memcmp): Don't use BP_SYM.  Remove comment about bounded
56666         pointers.
56667         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
56668         <bp-sym.h> and <bp-asm.h>.
56669         (memcpy): Don't use BP_SYM.
56670         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
56671         <bp-sym.h> and <bp-asm.h>.
56672         (__mempcpy): Don't use BP_SYM.
56673         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
56674         <bp-sym.h> and <bp-asm.h>.
56675         (__memrchr): Don't use BP_SYM.
56676         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
56677         <bp-sym.h> and <bp-asm.h>.
56678         (memset): Don't use BP_SYM.
56679         (__bzero): Likewise.
56680         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
56681         <bp-sym.h> and <bp-asm.h>.
56682         (__rawmemchr): Don't use BP_SYM.
56683         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
56684         <bp-sym.h> and <bp-asm.h>.
56685         (__STRCMP): Don't use BP_SYM.
56686         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
56687         <bp-sym.h> and <bp-asm.h>.
56688         (strchr): Don't use BP_SYM.
56689         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
56690         <bp-sym.h> and <bp-asm.h>.
56691         (__strchrnul): Don't use BP_SYM.
56692         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
56693         <bp-sym.h> and <bp-asm.h>.
56694         (strlen): Don't use BP_SYM.
56695         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
56696         <bp-sym.h> and <bp-asm.h>.
56697         (strncmp): Don't use BP_SYM.  Remove comment about bounded
56698         pointers.
56699         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
56700         <bp-sym.h> and <bp-asm.h>.
56701         (__strnlen): Don't use BP_SYM.
56702         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
56703         <bp-sym.h> and <bp-asm.h>.
56704         (__GI__setjmp): Don't use BP_SYM.
56705         (_setjmp): Likewise.
56706         (__sigsetjmp): Likewise.
56707         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
56708         (L(start_addresses)): Don't use BP_SYM.
56709         (_start): Likewise.
56710         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
56711         <bp-asm.h>.
56712         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
56713         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
56714         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
56715         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
56716         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
56717         <bp-asm.h>.
56718         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
56719         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
56720         about bounded pointers.
56721         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
56722         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
56723         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
56724         <bp-asm.h>.
56725         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
56726         about bounded pointers.  Remove GKM FIXME comments.
56727         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
56728         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
56729         <bp-asm.h>.
56730         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
56731         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
56732         Remove GKM FIXME comments.
56733         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
56734         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
56735         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
56736         <bp-asm.h>.
56737         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
56738         about bounded pointers.  Remove GKM FIXME comment.
56739         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
56740         and <bp-asm.h>.
56741         (strncmp): Don't use BP_SYM.  Remove comment about bounded
56742         pointers.
56743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
56744         <bp-sym.h> and <bp-asm.h>.
56745         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
56746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
56747         <bp-sym.h> and <bp-asm.h>.
56748         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
56749         comment.
56751 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
56753         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
56754         call free(NULL).
56756 2013-03-05  David S. Miller  <davem@davemloft.net>
56758         * po/es.po: Update from translation team.
56760 2013-03-05  Andreas Jaeger  <aj@suse.de>
56762         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
56763         <bits/mman-linux.h>.
56764         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
56765         is fine.
56766         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
56767         <bits/mman-linux.h> to end of file.
56768         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
56769         is fine.
56770         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
56771         <bits/mman-linux.h> to end of file.
56772         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
56773         is fine.
56774         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
56775         <bits/mman-linux.h> to end of file.
56777         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
56778         (MCL_CURRENT, MCL_FUTURE): Define here.
56780 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56782         [BZ #15232]
56783         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
56784         attribute_hidden.
56785         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
56787 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56789         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
56790         fourth parameter needed for rt_sigprocmask syscall.
56791         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
56792         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
56793         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
56794         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
56795         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
56796         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
56798 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
56800         [BZ #13550]
56801         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
56802         comment about bounded pointers.
56803         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
56804         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
56806 2013-03-04  Andreas Jaeger  <aj@suse.de>
56808         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
56809         common definitions.
56811         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
56812         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
56813         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
56814         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
56815         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
56816         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
56818 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56820         [BZ #15055]
56821         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
56822         __ieee754_sqrl instead of __sqrl.
56824 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
56826         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
56827         * sysdeps/powerpc/fpu_control.h: ... here.
56828         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
56829         * sysdeps/powerpc/bits/fenvinline.h: ... here.
56830         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
56831         * sysdeps/powerpc/bits/mathinline.h: ... here.
56833 2013-03-01  Roland McGrath  <roland@hack.frob.com>
56835         * elf/dl-hwcaps.c (_dl_important_hwcaps):
56836         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
56837         to just [NEED_DL_SYSINFO_DSO].
56838         * elf/dl-support.c: Likewise.
56839         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
56840         * elf/rtld.c (dl_main): Likewise.
56841         * elf/setup-vdso.h (setup_vdso): Likewise.
56842         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
56843         * sysdeps/unix/sysv/linux/dl-sysdep.c
56844         (_dl_discover_osversion): Likewise.
56846 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
56848         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
56849         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
56851 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
56853         * NEWS: Mention libm performance improvements and non-x86 PI
56854         futex support.
56856         * csu/libc-start.c (__pthread_initialize_minimal): Change
56857         function arguments.
56858         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
56860 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
56862         [BZ #13550]
56863         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
56864         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
56865         <bp-sym.h> and <bp-asm.h>.
56866         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
56867         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
56868         and <bp-asm.h>.
56869         (memcpy): Don't use BP_SYM.
56870         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
56871         <bp-asm.h>.
56872         (__mpn_add_n): Don't use BP_SYM.
56873         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
56874         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
56875         and <bp-asm.h>.
56876         (__mpn_addmul_1): Don't use BP_SYM.
56877         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56878         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
56879         <bp-sym.h>.
56880         (_setjmp): Don't use BP_SYM.
56881         (__novmx_setjmp): Likewise.
56882         (__GI__setjmp): Likewise.
56883         (__vmx_setjmp): Likewise.
56884         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
56885         <bp-sym.h>.
56886         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
56887         (__bzero): Don't use BP_SYM.
56888         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
56889         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
56890         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
56891         <bp-sym.h> and <bp-asm.h>.
56892         (memcpy): Don't use BP_SYM.
56893         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
56894         <bp-sym.h> and <bp-asm.h>.
56895         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
56896         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
56897         <bp-sym.h> and <bp-asm.h>.
56898         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
56899         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
56900         <bp-asm.h>.
56901         (__mpn_lshift): Don't use BP_SYM.
56902         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
56903         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
56904         <bp-asm.h>.
56905         (memset): Don't use BP_SYM.
56906         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
56907         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
56908         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
56909         <bp-asm.h>.
56910         (__mpn_mul_1): Don't use BP_SYM.
56911         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56912         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
56913         <bp-sym.h> and <bp-asm.h>.
56914         (memcmp): Don't use BP_SYM.
56915         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
56916         <bp-sym.h> and <bp-asm.h>.
56917         (memcpy): Don't use BP_SYM.
56918         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
56919         <bp-sym.h> and <bp-asm.h>.
56920         (memset): Don't use BP_SYM.
56921         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
56922         <bp-sym.h> and <bp-asm.h>.
56923         (strncmp): Don't use BP_SYM.
56924         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
56925         <bp-sym.h> and <bp-asm.h>.
56926         (memcpy): Don't use BP_SYM.
56927         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
56928         <bp-sym.h> and <bp-asm.h>.
56929         (memset): Don't use BP_SYM.
56930         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
56931         <bp-sym.h> and <bp-asm.h>.
56932         (__memchr): Don't use BP_SYM.
56933         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
56934         <bp-sym.h> and <bp-asm.h>.
56935         (memcmp): Don't use BP_SYM.
56936         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
56937         <bp-sym.h> and <bp-asm.h>.
56938         (memcpy): Don't use BP_SYM.
56939         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
56940         <bp-sym.h> and <bp-asm.h>.
56941         (__mempcpy): Don't use BP_SYM.
56942         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
56943         <bp-sym.h> and <bp-asm.h>.
56944         (__memrchr): Don't use BP_SYM.
56945         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
56946         <bp-sym.h> and <bp-asm.h>.
56947         (memset): Don't use BP_SYM.
56948         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
56949         <bp-sym.h> and <bp-asm.h>.
56950         (__rawmemchr): Don't use BP_SYM.
56951         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
56952         <bp-sym.h> and <bp-asm.h>.
56953         (__STRCMP): Don't use BP_SYM.
56954         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
56955         <bp-sym.h> and <bp-asm.h>.
56956         (strchr): Don't use BP_SYM.
56957         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
56958         <bp-sym.h> and <bp-asm.h>.
56959         (__strchrnul): Don't use BP_SYM.
56960         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
56961         <bp-sym.h> and <bp-asm.h>.
56962         (strlen): Don't use BP_SYM.
56963         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
56964         <bp-sym.h> and <bp-asm.h>.
56965         (strncmp): Don't use BP_SYM.
56966         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
56967         <bp-sym.h> and <bp-asm.h>.
56968         (__strnlen): Don't use BP_SYM.
56969         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
56970         <bp-asm.h>.
56971         (__mpn_rshift): Don't use BP_SYM.
56972         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
56973         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
56974         <bp-sym.h> and <bp-asm.h>.
56975         (__sigsetjmp): Don't use BP_SYM.
56976         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
56977         (L(start_addresses)): Don't use BP_SYM.
56978         (_start): Likewise.
56979         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
56980         <bp-asm.h>.
56981         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
56982         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
56983         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
56984         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
56985         <bp-asm.h>.
56986         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
56987         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
56988         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
56989         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
56990         <bp-asm.h>.
56991         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
56992         comments.
56993         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
56994         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
56995         <bp-asm.h>.
56996         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
56997         FIXME comments.
56998         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
56999         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
57000         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
57001         <bp-asm.h>.
57002         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
57003         comment.
57004         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
57005         and <bp-asm.h>.
57006         (strncmp): Don't use BP_SYM,
57007         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
57008         <bp-asm.h>.
57009         (__mpn_sub_n): Don't use BP_SYM.
57010         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57011         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
57012         and <bp-asm.h>.
57013         (__mpn_submul_1): Don't use BP_SYM.
57014         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
57016         <bp-sym.h> and <bp-asm.h>.
57017         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
57018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
57019         <bp-sym.h> and <bp-asm.h>.
57020         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
57021         comment.
57023 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57025         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
57026         Use ZK to minimize writes to Z.
57027         (sub_magnitudes): Simplify code a bit.
57028         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
57029         Use ZK to minimize writes to Z.
57030         (sub_magnitudes): Simplify code a bit.
57032 2013-02-27  Roland McGrath  <roland@hack.frob.com>
57034         * csu/gmon-start.c: Add special exception to license text.
57036 2013-02-27  Richard Henderson  <rth@redhat.com>
57038         * scripts/config.guess: Update from config.git.
57039         * scripts/config.sub: Likewise.
57041 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
57043         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
57045         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
57047         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
57049         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
57051         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
57053 2013-02-26  Roland McGrath  <roland@hack.frob.com>
57055         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
57056         [$(build-shared = yes].
57058 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
57060         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
57061         (__mul): Reduce iterations for calculating mantissa.
57063         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
57064         MPTWO.
57065         (__mpranred): Likewise.
57067         [BZ #15160]
57068         * malloc/memusagestat.c (main): Draw graphs for heap and stack
57069         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
57071 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
57073         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
57074         Define __attribute__.
57076 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
57078         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
57079         unused.
57080         * posix/regex_internal.h (__attribute): Remove.
57081         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
57082         (re_string_context_at): Likewise.
57083         (bitset_not): Use __attribute__ and mark function as possibly
57084         unused.
57085         (bitset_merge): Likewise.
57086         (bitset_mask): Likewise.
57087         (re_string_char_size_at): Likewise.
57088         (re_string_wchar_at): Likewise.
57089         (re_string_elem_size_at): Likewise.
57091 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
57093         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
57094         code.
57095         (cc32): Likewise.
57097         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
57098         (__acr): Likewise.
57099         (__cpy): Likewise.
57100         (norm): Likewise.
57101         (denorm): Likewise.
57102         (__dbl_mp): Likewise.
57103         (add_magnitudes): Likewise.
57104         (sub_magnitudes): Likewise.
57105         (__mul): Likewise.
57106         (__inv): Likewise.
57108         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
57109         style.
57111         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
57112         style.
57114         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
57115         code.
57117         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
57118         up changes with default code.
57119         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
57120         Likewise.
57122 2013-02-24  Allan McRae  <allan@archlinux.org>
57124         * manual/socket.texi (The Internet Namespace): Order menu items
57125         to match that in the file.
57127         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
57128         node listing of the info page menu.
57130 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
57132         [BZ #13550]
57133         * sysdeps/i386/bp-asm.h: Remove file.
57134         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
57135         (PARMS): Do not use macros from bp-asm.h.
57136         (S1): Likewise.
57137         (S2): Likewise.
57138         (SIZE): Likewise.
57139         (__mpn_add_n): Do not use BP_SYM
57140         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
57141         "bp-asm.h".
57142         (PARMS): Do not use macros from bp-asm.h.
57143         (S1): Likewise.
57144         (SIZE): Likewise.
57145         (__mpn_addmul_1): Do not use BP_SYM
57146         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
57147         "bp-asm.h".
57148         (PARMS): Do not use macros from bp-asm.h.
57149         (SIGMSK): Likewise.
57150         (_setjmp): Likewise.  Do not use BP_SYM.
57151         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
57152         "bp-asm.h".
57153         (PARMS): Do not use macros from bp-asm.h.
57154         (SIGMSK): Likewise.
57155         (setjmp): Likewise.  Do not use BP_SYM.
57156         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
57157         "bp-asm.h".
57158         (PARMS): Do not use macros from bp-asm.h.
57159         (__frexp): Do not use BP_SYM.
57160         (frexp): Likewise.
57161         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
57162         "bp-asm.h".
57163         (PARMS): Do not use macros from bp-asm.h.
57164         (__frexpf): Do not use BP_SYM.
57165         (frexpf): Likewise.
57166         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
57167         "bp-asm.h".
57168         (PARMS): Do not use macros from bp-asm.h.
57169         (__frexpl): Do not use BP_SYM.
57170         (frexpl): Likewise.
57171         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
57172         "bp-asm.h".
57173         (PARMS): Do not use macros from bp-asm.h.
57174         (__remquo): Do not use BP_SYM.
57175         (remquo): Likewise.
57176         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
57177         "bp-asm.h".
57178         (PARMS): Do not use macros from bp-asm.h.
57179         (__remquof): Do not use BP_SYM.
57180         (remquof): Likewise.
57181         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
57182         "bp-asm.h".
57183         (PARMS): Do not use macros from bp-asm.h.
57184         (__remquol): Do not use BP_SYM.
57185         (remquol): Likewise.
57186         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
57187         "bp-asm.h".
57188         (PARMS): Do not use macros from bp-asm.h.
57189         (DEST): Likewise.
57190         (SRC): Likewise.
57191         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
57192         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
57193         "bp-asm.h".
57194         (PARMS): Do not use macros from bp-asm.h.
57195         (strlen): Do not use BP_SYM.
57196         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
57197         "bp-asm.h".
57198         (PARMS): Do not use macros from bp-asm.h.
57199         (S1): Likewise.
57200         (S2): Likewise.
57201         (SIZE): Likewise.
57202         (__mpn_add_n): Do not use BP_SYM.
57203         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
57204         "bp-asm.h".
57205         (PARMS): Do not use macros from bp-asm.h.
57206         (S1): Likewise.
57207         (SIZE): Likewise.
57208         (__mpn_addmul_1): Do not use BP_SYM.
57209         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
57210         weak_alias.
57211         (bzero): Likewise.
57212         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
57213         "bp-asm.h".
57214         (PARMS): Do not use macros from bp-asm.h.
57215         (S): Likewise.
57216         (SIZE): Likewise.
57217         (__mpn_lshift): Do not use BP_SYM.
57218         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
57219         "bp-asm.h".
57220         (PARMS): Do not use macros from bp-asm.h.
57221         (DEST): Likewise.
57222         (SRC): Likewise.
57223         (LEN): Likewise.
57224         (memcpy): Likewise.  Do not use BP_SYM.
57225         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
57226         libc_hidden_def and weak_alias.
57227         (mempcpy): Do not use BP_SYM in weak_alias.
57228         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
57229         "bp-asm.h".
57230         (PARMS): Do not use macros from bp-asm.h.
57231         (DEST): Likewise.
57232         (LEN): Likewise.
57233         [!BZERO_P] (CHR): Likewise.
57234         (memset): Likewise.  Do not use BP_SYM.
57235         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
57236         "bp-asm.h".
57237         (PARMS): Do not use macros from bp-asm.h.
57238         (S1): Likewise.
57239         (SIZE): Likewise.
57240         (__mpn_mul_1): Do not use BP_SYM.
57241         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
57242         "bp-asm.h".
57243         (PARMS): Do not use macros from bp-asm.h.
57244         (S): Likewise.
57245         (SIZE): Likewise.
57246         (__mpn_rshift): Do not use BP_SYM.
57247         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
57248         "bp-asm.h".
57249         (PARMS): Do not use macros from bp-asm.h.
57250         (STR): Likewise.
57251         (CHR): Likewise.
57252         (strchr): Likewise.  Do not use BP_SYM.
57253         (index): Do not use BP_SYM in weak_alias.
57254         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
57255         "bp-asm.h".
57256         (PARMS): Do not use macros from bp-asm.h.
57257         (DEST): Likewise.
57258         (SRC): Likewise.
57259         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
57260         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
57261         "bp-asm.h".
57262         (PARMS): Do not use macros from bp-asm.h.
57263         (strlen): Do not use BP_SYM.
57264         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
57265         "bp-asm.h".
57266         (PARMS): Do not use macros from bp-asm.h.
57267         (S1): Likewise.
57268         (S2): Likewise.
57269         (SIZE): Likewise.
57270         (__mpn_sub_n): Do not use BP_SYM.
57271         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
57272         "bp-asm.h".
57273         (PARMS): Do not use macros from bp-asm.h.
57274         (S1): Likewise.
57275         (SIZE): Likewise.
57276         (__mpn_submul_1): Do not use BP_SYM.
57277         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
57278         "bp-asm.h".
57279         (PARMS): Do not use macros from bp-asm.h.
57280         (S1): Likewise.
57281         (S2): Likewise.
57282         (SIZE): Likewise.
57283         (__mpn_add_n): Do not use BP_SYM.
57284         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
57285         weak_alias.
57286         (bzero): Likewise.
57287         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
57288         "bp-asm.h".
57289         (PARMS): Do not use macros from bp-asm.h.
57290         (BLK2): Likewise.
57291         (LEN): Likewise.
57292         (memcmp): Do not use BP_SYM.
57293         (bcmp): Do not use BP_SYM in weak_alias.
57294         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
57295         "bp-asm.h".
57296         (PARMS): Do not use macros from bp-asm.h.
57297         (DEST): Likewise.
57298         (SRC): Likewise.
57299         (LEN): Likewise.
57300         (memcpy): Likewise.  Do not use BP_SYM.
57301         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
57302         "bp-asm.h".
57303         (PARMS): Do not use macros from bp-asm.h.
57304         (DEST): Likewise.
57305         (SRC): Likewise.
57306         (LEN): Likewise.
57307         (memmove): Likewise.  Do not use BP_SYM.
57308         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
57309         "bp-asm.h".
57310         (PARMS): Do not use macros from bp-asm.h.
57311         (DEST): Likewise.
57312         (SRC): Likewise.
57313         (LEN): Likewise.
57314         (__mempcpy): Likewise.  Do not use BP_SYM.
57315         (mempcpy): Do not use BP_SYM in weak_alias.
57316         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
57317         "bp-asm.h".
57318         (PARMS): Do not use macros from bp-asm.h.
57319         (DEST): Likewise.
57320         (LEN): Likewise.
57321         [!BZERO_P] (CHR): Likewise.
57322         (memset): Likewise.  Do not use BP_SYM.
57323         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
57324         "bp-asm.h".
57325         (PARMS): Do not use macros from bp-asm.h.
57326         (STR2): Likewise.
57327         (strcmp): Do not use BP_SYM.
57328         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
57329         "bp-asm.h".
57330         (PARMS): Do not use macros from bp-asm.h.
57331         (STR): Likewise.
57332         (DELIM): Likewise.
57333         [USE_AS_STRTOK_R] (SAVE): Likewise.
57334         (FUNCTION): Likewise.  Do not use BP_SYM.
57335         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
57336         aliases.
57337         (strtok_r): Likewise.
57338         (__GI___strtok_r): Likewise.
57339         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
57340         (PARMS): Do not use macros from bp-asm.h.
57341         (S): Likewise.
57342         (SIZE): Likewise.
57343         (__mpn_lshift): Do not use BP_SYM.
57344         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
57345         (PARMS): Do not use macros from bp-asm.h.
57346         (STR): Likewise.
57347         (CHR): Likewise.
57348         (__memchr): Do not use BP_SYM.
57349         (memchr): Do not use BP_SYM in weak_alias.
57350         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
57351         (PARMS): Do not use macros from bp-asm.h.
57352         (BLK2): Likewise.
57353         (LEN): Likewise.
57354         (memcmp): Do not use BP_SYM.
57355         (bcmp): Do not use BP_SYM in weak_alias.
57356         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
57357         (PARMS): Do not use macros from bp-asm.h.
57358         (S1): Likewise.
57359         (SIZE): Likewise.
57360         (__mpn_mul_1): Do not use BP_SYM.
57361         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
57362         "bp-asm.h".
57363         (PARMS): Do not use macros from bp-asm.h.
57364         (STR): Likewise.
57365         (CHR): Likewise.
57366         (__rawmemchr): Do not use BP_SYM.
57367         (rawmemchr): Do not use BP_SYM in weak_alias.
57368         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
57369         (PARMS): Do not use macros from bp-asm.h.
57370         (S): Likewise.
57371         (SIZE): Likewise.
57372         (__mpn_rshift): Do not use BP_SYM.
57373         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
57374         (PARMS): Do not use macros from bp-asm.h.
57375         (SIGMSK): Likewise.
57376         (__sigsetjmp): Likewise.  Do not use BP_SYM.
57377         * sysdeps/i386/start.S: Do not include "bp-sym.h".
57378         (_start): Do not use BP_SYM.
57379         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
57380         (PARMS): Do not use macros from bp-asm.h.
57381         (DEST): Likewise.
57382         (SRC): Likewise.
57383         (__stpcpy): Likewise.  Do not use BP_SYM.
57384         (stpcpy): Do not use BP_SYM in weak_alias.
57385         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
57386         "bp-asm.h".
57387         (PARMS): Do not use macros from bp-asm.h.
57388         (DEST): Likewise.
57389         (SRC): Likewise.
57390         (LEN): Likewise.
57391         (__stpncpy): Likewise.  Do not use BP_SYM.
57392         (stpncpy): Do not use BP_SYM in weak_alias.
57393         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
57394         (PARMS): Do not use macros from bp-asm.h.
57395         (STR): Likewise.
57396         (CHR): Likewise.
57397         (strchr): Likewise.  Do not use BP_SYM.
57398         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
57399         "bp-asm.h".
57400         (PARMS): Do not use macros from bp-asm.h.
57401         (STR): Likewise.
57402         (CHR): Likewise.
57403         (__strchrnul): Likewise.  Do not use BP_SYM.
57404         (strchrnul): Do not use BP_SYM in weak_alias.
57405         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
57406         "bp-asm.h".
57407         (PARMS): Do not use macros from bp-asm.h.
57408         (STOP): Likewise.
57409         (strcspn): Do not use BP_SYM.
57410         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
57411         "bp-asm.h".
57412         (PARMS): Do not use macros from bp-asm.h.
57413         (STR): Likewise.
57414         (STOP): Likewise.
57415         (strpbrk): Likewise.  Do not use BP_SYM.
57416         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
57417         "bp-asm.h".
57418         (PARMS): Do not use macros from bp-asm.h.
57419         (STR): Likewise.
57420         (CHR): Likewise.
57421         (strrchr): Likewise.  Do not use BP_SYM.
57422         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
57423         (PARMS): Do not use macros from bp-asm.h.
57424         (SKIP): Likewise.
57425         (strspn): Do not use BP_SYM.
57426         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
57427         (PARMS): Do not use macros from bp-asm.h.
57428         (STR): Likewise.
57429         (DELIM): Likewise.
57430         (SAVE): Likewise.
57431         (FUNCTION): Likewise.  Do not use BP_SYM.
57432         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
57433         aliases.
57434         (strtok_r): Likewise.
57435         (__GI___strtok_r): Likewise.
57436         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
57437         (PARMS): Do not use macros from bp-asm.h.
57438         (S1): Likewise.
57439         (S2): Likewise.
57440         (SIZE): Likewise.
57441         (__mpn_sub_n): Do not use BP_SYM.
57442         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
57443         "bp-asm.h".
57444         (PARMS): Do not use macros from bp-asm.h.
57445         (S1): Likewise.
57446         (SIZE): Likewise.
57447         (__mpn_submul_1): Do not use BP_SYM.
57448         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
57449         <bp-sym.h>.
57450         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
57451         and <bp-asm.h>.
57452         (PARMS): Do not use macros from bp-asm.h.
57453         (FLAGS): Likewise.
57454         (PTID): Likewise.
57455         (TLS): Likewise.
57456         (CTID): Likewise.
57457         (__clone): Do not use BP_SYM.
57458         (clone): Do not use BP_SYM in weak_alias.
57459         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
57460         and <bp-asm.h>.
57461         (PARMS): Do not use macros from bp-asm.h.
57462         (LEN): Likewise.
57463         (__mmap64): Do not use BP_SYM.
57464         (mmap64): Do not use BP_SYM in weak_alias.
57465         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
57466         <bp-sym.h> and <bp-asm.h>.
57467         (PARMS): Do not use macros from bp-asm.h.
57468         (__posix_fadvise64_l64): Do not use BP_SYM.
57469         * sysdeps/unix/sysv/linux/i386/semtimedop.S
57470         (PARMS): Do not use macros from bp-asm.h.
57471         (NSOPS): Likewise.
57472         (semtimedop): Do not use BP_SYM.
57473         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
57474         and <bp-asm.h>.
57476 2013-02-21  Allan McRae  <allan@archlinux.org>
57478         * manual/message.texi (Charset conversion in gettext):
57479         Move @end statement to beginning of line.
57481 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57483         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
57484         static.
57485         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
57486         Likewise.
57488         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
57489         (denorm): Likewise.
57490         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
57491         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
57493 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57495         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
57496         tail-call to the resolved function if pltexit isn't needed.
57498 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57500         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
57501         or Y being zero as being unlikely.
57502         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
57503         Likewise.
57505 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
57507         * manual/nss.texi (System Databases and Name Service Switch):
57508         Remove frobnicate @pxref.
57510 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
57512         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
57513         __attribute__ ((unused)) to __attribute__ ((__unused__)).
57515 2013-02-20  Petr Machata  <pmachata@redhat.com>
57517         * elf/elf.h (R_ARM_TARGET1): New macro.
57518         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
57519         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
57520         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
57521         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
57522         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
57523         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
57524         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
57525         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
57526         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
57527         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
57528         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
57529         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
57530         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
57531         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
57532         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
57533         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
57534         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
57535         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
57536         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
57537         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
57538         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
57539         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
57540         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
57541         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
57542         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
57543         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
57544         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
57545         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
57546         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
57547         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
57548         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
57549         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
57550         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
57551         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
57552         (R_ARM_THM_GOT_BREL12): Likewise.
57553         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
57554         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
57555         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
57556         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
57557         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
57558         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
57559         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
57560         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
57561         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
57563 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
57565         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
57566         __attribute_used__ to __attribute__ ((unused)).
57568 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
57570         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
57571         powerpc mpa.c.
57572         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
57573         comment formatting.
57574         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
57576 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
57578         [BZ #13550]
57579         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
57580         Remove macro.
57581         (ENTER): Remove both macro definitions.
57582         (LEAVE): Likewise.
57583         (CHECK_BOUNDS_LOW): Likewise.
57584         (CHECK_BOUNDS_HIGH): Likewise.
57585         (CHECK_BOUNDS_BOTH): Likewise.
57586         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
57587         (RETURN_BOUNDED_POINTER): Likewise.
57588         (RETURN_NULL_BOUNDED_POINTER): Likewise.
57589         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
57590         (POP_ERRNO_LOCATION_RETURN): Likewise.
57591         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
57592         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57593         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
57594         macros.
57595         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57596         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
57597         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
57598         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
57599         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
57600         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
57601         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
57602         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
57603         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
57604         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
57605         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
57606         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
57607         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57608         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
57609         removed macros.
57610         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57611         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
57612         macros.
57613         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57614         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
57615         * sysdeps/i386/i586/memset.S (memset): Likewise.
57616         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
57617         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57618         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
57619         macros.
57620         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57621         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
57622         Change uses of L(2) to L(out).
57623         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
57624         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
57625         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
57626         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57627         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
57628         removed macros.
57629         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57630         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
57631         macros.
57632         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57633         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
57634         (RETURN): Do not use macro LEAVE.
57635         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
57636         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
57637         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
57638         * sysdeps/i386/i686/memset.S (memset): Likewise.
57639         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
57640         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
57641         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
57642         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
57643         Likewise.
57644         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
57645         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
57646         L(1_2) and L(1_3) into L(1).
57647         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
57648         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
57649         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57650         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
57651         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
57652         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
57653         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
57654         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57655         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
57656         macros.
57657         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
57658         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57659         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
57660         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
57661         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
57662         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
57663         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
57664         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
57665         * sysdeps/i386/strcspn.S (strcspn): Likewise.
57666         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
57667         * sysdeps/i386/strrchr.S (strrchr): Likewise.
57668         * sysdeps/i386/strspn.S (strspn): Likewise.
57669         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
57670         conditional code.
57671         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
57672         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
57673         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
57674         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
57675         L(1_3) into L(1_1).
57676         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
57677         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57678         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
57679         macros.
57680         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57682 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
57684         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
57685         macro.
57687 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
57689         * math/atest-exp.c (exp_mpn): Remove ROUND.
57690         * math/atest-exp2.c (exp_mpn): Likewise.
57691         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
57693         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
57694         * stdlib/tst-tls-atexit-lib.c: Likewise.
57695         * stdlib/tst-tls-atexit.c: Likewise.
57697 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
57699         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
57700         and __attribute_alloc_size__.
57702 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
57704         * include/programs/xmalloc.h: Change __attribute_alloc_size to
57705         __attribute_alloc_size__.
57706         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
57707         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
57709 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
57711         * include/programs/xmalloc.h: New file.
57712         * catgets/gencat.c: Include it.
57713         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
57714         * elf/pldd.c: Likewise.
57715         * iconv/iconv_charmap.c: Likewise.
57716         * iconv/iconvconfig.c: Likewise.
57717         * iconv/strtab.c: Likewise.
57718         * locale/programs/locale.c: Likewise.
57719         * locale/programs/localedef.h: Likewise.
57720         * locale/programs/simple-hash.c: Likewise.
57721         * nscd/nscd.h: Likewise.
57722         * nss/makedb.c: Likewise.
57723         * sysdeps/generic/ldconfig.h: Likewise.
57725 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
57727         * Versions.def: Add GLIBC_2.18.
57728         * include/link.h (struct link_map): New member l_tls_dtor_count.
57729         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
57730         (__call_tls_dtors): Likewise.
57731         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
57732         __cxa_thread_atexit_impl.
57733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57734         Likewise.
57735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57736         Likewise.
57737         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
57738         Likewise.
57739         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
57740         Likewise.
57741         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
57742         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
57743         Likewise.
57744         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
57745         Likewise.
57746         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
57747         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
57748         Likewise.
57749         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
57750         (tests): Add test case tst-tls-atexit.
57751         (modules-names): Add shared library for tst-tls-atexit.
57752         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
57753         (GLIBC_PRIVATE): Add __call_tls_dtors.
57754         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
57755         for libstdc++.
57756         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
57757         * stdlib/tst-tls-atexit.c: New test case.
57758         * stdlib/tst-tls-atexit-lib.c: New test case.
57760         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
57762         * elf/Versions (ld): Add _dl_find_dso_for_object.
57763         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
57764         * elf/dl-open.c (_dl_find_dso_for_object): New function.
57765         (dl_open_worker): Use _dl_find_dso_for_object.
57766         * elf/dl-sym.c (do_sym): Likewise.
57767         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
57769 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57771         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
57772         Syntactic changes only.
57773         (_dl_runtime_profile): Do a tail-call to the resolved function.
57775 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
57777         [BZ #13550]
57778         * sysdeps/x86_64/bp-asm.h: Remove file.
57779         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
57780         <bp-sym.h> and <bp-asm.h>.
57781         (__clone): Do not use BP_SYM.
57782         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
57783         <bp-sym.h> and <bp-asm.h>.
57784         * sysdeps/unix/x86_64/sysdep.S: Likewise.
57785         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
57786         "bp-asm.h".
57787         (_setjmp): Do not use BP_SYM.
57788         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
57789         "bp-asm.h".
57790         (setjmp): Do not use BP_SYM.
57791         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
57792         libc_hidden_def.
57793         (mempcpy): Do not use BP_SYM in weak_alias.
57794         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
57795         "bp-asm.h".
57796         (strchr): Do not use BP_SYM.
57797         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
57798         "bp-asm.h".
57799         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
57800         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
57801         (_start): Do not use BP_SYM.
57802         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
57803         "bp-asm.h".
57804         (strcat): Do not use BP_SYM.
57805         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
57806         "bp-asm.h".
57807         (STRCMP): Do not use BP_SYM.
57808         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
57809         "bp-asm.h".
57810         (STRCPY): Do not use BP_SYM.
57811         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
57812         "bp-asm.h".
57813         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
57814         "bp-asm.h".
57815         (FUNCTION): Do not use BP_SYM.
57816         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
57817         weak_alias.
57818         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
57820 2013-02-17  Andreas Jaeger  <aj@suse.de>
57822         * time/Versions: Sort entries.
57823         * string/Versions: Likewise.
57824         * resolv/Versions: Likewise.
57825         * posix/Versions: Likewise.
57826         * iconv/Versions: Likewise.
57827         * elf/Versions: Likewise.
57828         * wcsmbs/Versions: Likewise.
57830 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
57832         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
57833         loop termination condition.
57835         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
57836         variable to calculate EZ.
57837         (__sqr): Likewise.
57839         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
57840         the lower precision input.
57842 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
57844         [BZ #13550]
57845         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
57846         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
57847         (run-via-rtld-prefix): Do not handle %-bp tests.
57848         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
57849         (all-object-suffixes): Remove .ob.
57850         (bppfx): Remove variable.
57851         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
57852         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
57853         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
57854         [$(build-bounded) = yes] (libtype.ob): Likewise.
57855         * Makerules (elide-routines.ob): Remove variable.
57856         (do-tests-clean): Do not handle *-bp.out.
57857         (common-mostlyclean): Do not handle *-bp and *-bp.out.
57858         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
57859         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
57860         (tests): Do not include $(tests-bp.out).
57861         (xtests): Do not include $(xtests-bp.out).
57862         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
57863         [$(build-bounded) = yes] ($(addprefix
57864         $(objpfx),$(binaries-bounded))): Remove rule.
57865         ($(objpfx)%-bp.out): Remove rule.
57866         * config.make.in (build-bounded): Remove variable.
57867         * crypt/Makefile [$(build-bounded) = yes]
57868         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
57869         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
57870         append to variable.
57871         [$(build-bounded) = yes] (install-lib): Likewise.
57872         [$(build-bounded) = yes] (generated): Likewise.
57873         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
57874         Remove rule.
57875         * intl/Makefile [$(build-bounded) = yes]
57876         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
57877         * math/Makefile [$(build-bounded) = yes]
57878         ($(tests:%=$(objpfx)%-bp): Likewise.
57879         * misc/Makefile [$(build-bounded) = yes]
57880         ($(objpfx)tst-tsearch-bp): Likewise.
57881         * nptl/Makeconfig (bounded-thread-library): Remove variable.
57882         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
57883         Remove dependency.
57884         * string/Makefile (o-objects.ob): Remove variable.
57885         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
57886         (CFLAGS-.ob): Remove variable.
57887         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
57888         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
57889         both definitions of variable.
57890         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
57891         (ASFLAGS-.ob): Remove variable.
57893 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
57895         [BZ #13550]
57896         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
57897         Remove __BOUNDED_POINTERS__ from condition.
57898         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
57899         * string/bits/string2.h [!__NO_STRING_INLINES &&
57900         !__BOUNDED_POINTERS__]: Likewise.
57901         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
57902         Likewise.
57903         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
57904         Remove conditional code.
57905         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
57906         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
57907         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
57908         condition.
57910         [BZ #13550]
57911         * csu/libc-start.c: Do not include <bp-sym.h>.
57912         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
57913         * elf/dl-open.c: Do not include <bp-sym.h>.
57914         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
57915         * math/fegetenv.c: Do not include <bp-sym.h>.
57916         (fegetenv): Do not use BP_SYM in versioned symbols.
57917         * nptl/sysdeps/pthread/bits/libc-lockP.h
57918         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
57919         <bp-sym.h>.
57920         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57921         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
57922         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57923         (__pthread_mutex_destroy): Likewise.
57924         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57925         (__pthread_mutex_lock): Likewise.
57926         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57927         (__pthread_mutex_trylock): Likewise.
57928         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57929         (__pthread_mutex_unlock): Likewise.
57930         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57931         (__pthread_mutexattr_init): Likewise.
57932         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57933         (__pthread_mutexattr_destroy): Likewise.
57934         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57935         (__pthread_mutexattr_settype): Likewise.
57936         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57937         (__pthread_rwlock_init): Likewise.
57938         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57939         (__pthread_rwlock_destroy): Likewise.
57940         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57941         (__pthread_rwlock_rdlock): Likewise.
57942         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57943         (__pthread_rwlock_tryrdlock): Likewise.
57944         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57945         (__pthread_rwlock_wrlock): Likewise.
57946         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57947         (__pthread_rwlock_trywrlock): Likewise.
57948         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57949         (__pthread_rwlock_unlock): Likewise.
57950         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57951         (__pthread_key_create): Likewise.
57952         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57953         (__pthread_setspecific): Likewise.
57954         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57955         (__pthread_getspecific): Likewise.
57956         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
57957         Likewise.
57958         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57959         (_pthread_cleanup_push_defer): Likewise.
57960         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57961         (_pthread_cleanup_pop_restore): Likewise.
57962         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57963         (pthread_setcancelstate): Likewise.
57964         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
57965         <bp-sym.h>.
57966         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
57967         (memchr): Do not use BP_SYM in weak_alias.
57968         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
57969         (fegetenv): Do not use BP_SYM in versioned symbols.
57970         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
57971         (fesetenv): Do not use BP_SYM in versioned symbols.
57972         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
57973         (feupdateenv): Do not use BP_SYM in versioned symbols.
57974         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
57975         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
57976         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
57977         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
57978         (open64): Do not use BP_SYM in weak_alias.
57979         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
57980         (fegetenv): Do not use BP_SYM in versioned symbols.
57981         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
57982         (fesetenv): Do not use BP_SYM in versioned symbols.
57983         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
57984         (feupdateenv): Do not use BP_SYM in versioned symbols.
57985         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
57986         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
57987         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
57988         (feraiseexcept): Do not use BP_SYM in versioned symbols.
57989         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
57990         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
57991         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
57992         <bp-sym.h>.
57993         (__libc_start_main): Do not use BP_SYM.
57995 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
57997         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
57998         redundant return line.
57999         (norm): Likewise.
58000         (denorm): Likewise.
58001         (dbl_mp): Likewise.
58002         (sub_magnitudes): Likewise.
58003         (__add): Likewise.
58004         (__sub): Likewise.
58005         (__mul): Likewise.
58006         (__inv): Likewise.
58007         (__dvd): Likewise.
58008         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
58009         (norm): Likewise.
58010         (denorm): Likewise.
58011         (dbl_mp): Likewise.
58012         (sub_magnitudes): Likewise.
58013         (__add): Likewise.
58014         (__sub): Likewise.
58015         (__mul): Likewise.
58016         (__inv): Likewise.
58017         (__dvd): Likewise.
58019         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
58020         instead of __mul.
58021         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
58022         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
58023         (cc32): Likewise.
58025         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
58026         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
58027         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
58028         of __mul for squares.
58029         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
58030         function
58031         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
58032         Likewise.
58033         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
58034         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
58036 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
58038         [BZ #13550]
58039         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
58040         code.
58041         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
58042         prototype or function definition.  Rename ubp_* variables and
58043         parameters.  Remove argv definitions conditional on
58044         [__BOUNDED_POINTERS__].
58045         * debug/backtrace.c (__backtrace): Do not use __unbounded.
58046         * elf/dl-runtime.c (_dl_fixup): Likewise.
58047         * include/set-hooks.h (RUN_HOOK): Likewise.
58048         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
58049         definition.
58050         * string/strcpy.c (strcpy): Do not use __unbounded.
58051         * sysdeps/generic/frame.h (struct layout): Likewise.
58052         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
58053         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
58054         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
58055         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
58056         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
58057         (__backtrace): Likewise.
58058         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
58059         use __ptrvalue.
58060         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
58061         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
58062         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
58063         Likewise.
58064         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
58065         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
58066         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
58067         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
58068         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
58069         Do not use __unbounded.
58070         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
58071         Rename __unboundedrlimits parameter to rlimits in prototype.
58072         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
58073         Do not use __unbounded.
58074         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
58075         not use __ptrvalue.
58076         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
58077         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
58078         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
58079         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
58080         __ptrvalue or __unbounded.
58081         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
58082         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
58083         use __unbounded.
58084         (__new_msgctl): Do not use __ptrvalue.
58085         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
58086         __unbounded.
58087         (__libc_msgrcv): Do not use __ptrvalue.
58088         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
58089         startup_info): Do not use __unbounded.
58090         (__libc_start_main): Likewise.  Rename ubp_* variables and
58091         parameters.  Remove argv definitions conditional on
58092         [__BOUNDED_POINTERS__].
58093         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
58094         __ptrvalue.
58095         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
58096         use __unbounded.
58097         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
58098         or __ptrvalue.
58099         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
58100         use __unbounded.
58101         (__new_shmctl): Do not use __ptrvalue.
58102         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
58103         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
58104         Likewise.
58105         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
58106         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
58107         (__libc_sigaction): Likewise.
58108         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
58109         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
58110         Likewise.
58111         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
58113 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
58115         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
58117         * string/mempcpy.c: Implement by calling memcpy.
58119 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
58121         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
58123         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
58124         evaluation.
58126         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
58127         values in the mantissa.
58129         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
58130         minimize writes to Z.
58131         (sub_magnitudes): Simplify code a bit.
58133 2013-02-12  Roland McGrath  <roland@hack.frob.com>
58135         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
58136         from the message.  The linker prefixes all warnings with that already.
58138 2013-02-12  Andreas Schwab  <schwab@suse.de>
58140         [BZ #15078]
58141         * posix/regexec.c (extend_buffers): Add parameter min_len.
58142         (check_matching): Pass minimum needed length.
58143         (clean_state_log_if_needed): Likewise.
58144         (get_subexp): Likewise.
58145         * posix/Makefile (tests): Add bug-regex34.
58146         (bug-regex34-ENV): Define.
58147         * posix/bug-regex34.c: New file.
58149         [BZ #11561]
58150         * posix/regcomp.c (parse_bracket_exp): When looking up collating
58151         elements compare against the byte sequence of it, not its name.
58152         * posix/Makefile (tests): Add bug-regex35.
58153         (bug-regex35-ENV): Define.
58154         * posix/bug-regex35.c: New file.
58156 2013-02-11  Tom de Vries  <tom@codesourcery.com>
58158         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
58159         comment.
58160         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
58161         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
58162         (CHECK_EOL): Add undef.
58164 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
58166         * bits/stdlib-bsearch.h: New file.
58167         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
58168         * stdlib/stdlib.h: Likewise.
58170 2013-02-11  Roland McGrath  <roland@hack.frob.com>
58172         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
58173         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
58174         declaration.
58175         * manual/search.texi (Array Search Function): Add missing const in
58176         lfind prototype.
58177         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
58178         declaration to use rlim_t.
58179         (Basic Scheduling Functions): Remove erroneous const from
58180         sched_getparam prototype.  Remove erroneous * from
58181         sched_get_priority_max and sched_get_priority_min prototypes.
58182         (Resource Usage): Fix summary @comment on vtimes to refer to
58183         sys/vtimes.h rather than vtimes.h.
58184         Add missing *s in vtimes prototype.
58185         (Limits on Resources): Fix ulimit prototype to return long int.
58186         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
58187         prototypes to use long int rather than double.
58188         (BSD Random): Fix initstate and setstate to use char *, not void *.
58189         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
58190         prototype to make second argument 'struct aiocb64 *const[]'.
58191         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
58192         (Status of AIO Operations): Remove erroneous const in aio_return and
58193         aio_return64 prototypes.
58194         (Synchronizing I/O): Fix sync prototype to return void.
58195         * manual/startup.texi (Suboptions): Remove an erroneous const in
58196         getsubopt prototype.
58197         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
58198         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
58199         use size_t rather than int.
58200         (Scanning All Users): Likewise for getpwent_r.
58201         (Setting Groups): Add missing const to setgroups prototype.
58202         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
58203         * manual/socket.texi (Host Names): Fix gethostbyaddr and
58204         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
58205         'const void *' rather than 'const char *'.
58206         (Host Address Functions): Likewise for inet_ntop.
58207         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
58208         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
58209         ssize_t for return value.
58210         (Sending Data): Likewise for send, sendto, sendmsg.
58211         (Socket Option Functions): Add a missing const in setsockopt prototype.
58212         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
58213         use wchar_t for the argument.
58214         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
58215         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
58216         take no arguments.
58217         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
58218         double/float/long double for second argument.
58219         Fix return types of significand, significandf, significandl.
58220         * manual/filesys.texi (Setting Permissions): Use mode_t for second
58221         argument in fchmod prototype.
58222         (File Owner): Use uid_t and gid_t in fchown prototype.
58223         (File Times): Add const to utimes, futimes, and lutimes prototypes.
58224         (Making Special Files): Use mode_t and dev_t in mknod prototype.
58225         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
58226         use 'const struct dirent **' as argument types to CMP function pointer
58227         argument.
58228         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
58229         (File Times): Fix summary magic @comment for struct utimbuf and utime
58230         to refer to utime.h, not time.h.
58231         * manual/string.texi (Argz Functions): Add missing const in
58232         argz_extract and argz_next prototypes.
58233         (Finding Tokens in a String): Likewise for basename.
58234         (String/Array Comparison): Fix typo in wcscasecmp prototype.
58235         (Copying and Concatenation): Fix typo in wmemmove prototype.
58236         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
58237         (Signal Stack): Remove erroneous const in sigstack prototype.
58238         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
58239         prototype.
58240         (Simple Calendar Time): Likewise for stime.
58241         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
58242         prototype.
58243         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
58244         say sys/sysctl.h instead.
58245         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
58246         and vsyslog prototypes.
58248 2013-02-11  Tom de Vries  <tom@codesourcery.com>
58250         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
58251         Remove.
58253 2013-02-11  Roland McGrath  <roland@hack.frob.com>
58255         * misc/sys/mman.h: Fix typo in mremap comment.
58257 2013-02-08  Roland McGrath  <roland@hack.frob.com>
58259         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
58260         the '\0' terminator.
58262 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
58264         [BZ #13550]
58265         * debug/segfault.c: Don't include <bp-checks.h>.
58266         * sysdeps/generic/bp-checks.h: Remove file.
58267         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
58268         (__GETDENTS): Don't use CHECK_N.
58269         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
58270         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
58271         (__getgroups): Don't use CHECK_N.
58272         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
58273         (setgroups): Don't use CHECK_N.
58274         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
58275         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
58276         (__libc_msgrcv): Don't use CHECK_N.
58277         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
58278         (__libc_msgsnd): Don't use CHECK_N.
58279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
58280         <bp-checks.h>.
58281         (__libc_pread): Don't use CHECK_N.
58282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
58283         include <bp-checks.h>.
58284         (__libc_pread64): Don't use CHECK_N.
58285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
58286         include <bp-checks.h>.
58287         (__libc_pwrite): Don't use CHECK_N.
58288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
58289         include <bp-checks.h>.
58290         (__libc_pwrite64): Don't use CHECK_N.
58291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
58292         <bp-checks.h>.
58293         (__libc_pread): Don't use CHECK_N.
58294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
58295         include <bp-checks.h>.
58296         (__libc_pread64): Don't use CHECK_N.
58297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
58298         include <bp-checks.h>.
58299         (__libc_pwrite): Don't use CHECK_N.
58300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
58301         include <bp-checks.h>.
58302         (__libc_pwrite64): Don't use CHECK_N.
58303         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
58304         (do_pread): Don't use CHECK_N.
58305         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
58306         (do_pread64): Don't use CHECK_N.
58307         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
58308         (do_pwrite): Don't use CHECK_N.
58309         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
58310         (do_pwrite64): Don't use CHECK_N.
58311         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
58312         (__libc_readv): Don't use CHECK_N.
58313         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
58314         (semop): Don't use CHECK_N.
58315         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
58316         <bp-checks.h>.
58317         (semtimedop): Don't use CHECK_N.
58318         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
58319         (__libc_pread): Don't use CHECK_N.
58320         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
58321         <bp-checks.h>.
58322         (__libc_pread64): Don't use CHECK_N.
58323         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
58324         <bp-checks.h>.
58325         (__libc_pwrite): Don't use CHECK_N.
58326         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
58327         <bp-checks.h>.
58328         (__libc_pwrite64): Don't use CHECK_N.
58329         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
58330         <bp-checks.h>.
58331         (__libc_msgrcv): Don't use CHECK_N.
58332         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
58333         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
58334         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
58335         (__libc_writev): Don't use CHECK_N.
58337 2013-02-08  Roland McGrath  <roland@hack.frob.com>
58339         * string/strcpy.c: Removed unused variable.
58341         * Makeconfig (+sysdep-includes): Define with := rather than =.
58342         Use an existing include/ subdir of each sysdeps dir before it.
58344 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
58346         * nscd/connection.c (register_traced_file): Comment function.
58347         [HAVE_INOTIFY] (union __inev): Define.
58348         [HAVE_INOTIFY] (inotify_check_files): New function.
58349         [HAVE_INOTIFY] (clear_db_cache): Likewise.
58350         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
58351         clear_db_cache.
58352         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
58354 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
58356         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
58357         loaded if not already and that a failure is permanent.
58359 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
58361         [BZ #15006]
58362         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
58363         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
58365 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
58367         [BZ #13550]
58368         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
58369         (CHECK_1_NULL_OK): Likewise.
58370         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
58371         (__fxstat): Do not use CHECK_1.
58372         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
58373         <bp-checks.h>.
58374         (___fxstat64): Do not use CHECK_1.
58375         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
58376         <bp-checks.h>.
58377         (__fxstatat): Do not use CHECK_1.
58378         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
58379         <bp-checks.h>.
58380         (__fxstatat64): Do not use CHECK_1.
58381         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
58382         <bp-checks.h>.
58383         (__fxstat): Do not use CHECK_1.
58384         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
58385         <bp-checks.h>.
58386         (__fxstatat): Do not use CHECK_1.
58387         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
58388         <bp-checks.h>.
58389         (__getresgid): Do not use CHECK_1.
58390         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
58391         <bp-checks.h>.
58392         (__getresuid): Do not use CHECK_1.
58393         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
58394         <bp-checks.h>.
58395         (__lxstat): Do not use CHECK_1.
58396         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
58397         <bp-checks.h>.
58398         (__old_msgctl): Do not use CHECK_1.
58399         (__new_msgctl): Likewise.
58400         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
58401         <bp-checks.h>.
58402         (__new_setrlimit): Do not use CHECK_1.
58403         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
58404         <bp-checks.h>.
58405         (__old_shmctl): Do not use CHECK_1.
58406         (__new_shmctl): Likewise.
58407         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
58408         <bp-checks.h>.
58409         (__xstat): Do not use CHECK_1.
58410         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
58411         (__lxstat): Do not use CHECK_1.
58412         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
58413         <bp-checks.h>.
58414         (___lxstat64): Do not use CHECK_1.
58415         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
58416         (__old_msgctl): Do not use CHECK_1.
58417         (__new_msgctl): Likewise.
58418         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
58419         <bp-checks.h>.
58420         (__gettimeofday): Do not use CHECK_1.
58421         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
58422         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
58423         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
58424         <bp-checks.h>.
58425         (__gettimeofday): Do not use CHECK_1.
58426         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
58427         (__old_shmctl): Do not use CHECK_1_NULL_OK.
58428         (__new_shmctl): Do not use CHECK_1.
58429         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
58430         <bp-checks.h>.
58431         (do_sigtimedwait): Do not use CHECK_1.
58432         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
58433         <bp-checks.h>.
58434         (do_sigwaitinfo): Do not use CHECK_1.
58435         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
58436         <bp-checks.h>.
58437         (msgctl): Do not use CHECK_1.
58438         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
58439         <bp-checks.h>.
58440         (shmctl): Do not use CHECK_1.
58441         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
58442         (ustat): Do not use CHECK_1.
58443         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
58444         <bp-checks.h>.
58445         (__fxstat): Do not use CHECK_1.
58446         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
58447         <bp-checks.h>.
58448         (__fxstatat): Do not use CHECK_1.
58449         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
58450         <bp-checks.h>.
58451         (__lxstat): Do not use CHECK_1.
58452         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
58453         <bp-checks.h>.
58454         (__xstat): Do not use CHECK_1.
58455         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
58456         (__xstat): Do not use CHECK_1.
58457         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
58458         (___xstat64): Do not use CHECK_1.
58460         [BZ #13550]
58461         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
58462         definitions.
58463         (CHECK_BOUNDS_HIGH): Likewise.
58464         * string/strcpy.c: Do not include <bp-checks.h>.
58465         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
58467 2013-02-07  Roland McGrath  <roland@hack.frob.com>
58469         * nscd/nscd-client.h (__nscd_drop_map_ref):
58470         Add __attribute__ ((unused)).
58471         * nis/nss-nisplus.h (niserr2nss): Likewise.
58473         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
58474         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
58476         * csu/libc-tls.c (init_static_tls, init_slotinfo):
58477         Remove inline keyword.
58478         * include/rounding-mode.h (round_away): Likewise.
58479         * libio/wfileops.c (adjust_wide_data): Likewise.
58480         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
58481         (__m128i_strloadu_tolower): Likewise.
58482         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
58483         (__m128i_strloadu_tolower): Likewise.
58484         * time/mktime.c (ydhms_diff): Likewise.
58485         * locale/elem-hash.h (elem_hash): Likewise.
58486         * locale/setlocale.c (setdata): Likewise.
58487         * posix/regex_internal.h (re_string_char_size_at): Likewise.
58488         (re_string_wchar_at): Likewise.
58489         (bitset_not, bitset_merge, bitset_mask): Likewise.
58490         [!(__GNUC__ > 3)] (inline): Remove macro.
58491         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
58492         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
58493         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
58494         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
58495         * string/memcmp.c (memcmp_bytes): Likewise.
58496         * locale/programs/locarchive.c (compute_hashval): Likewise.
58497         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
58498         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
58499         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
58500         * nss/getent.c (print_rpc, print_protocols): Likewise.
58501         (print_passwd, print_group, print_aliases): Likewise.
58502         * nis/nss-nisplus.h (niserr2nss): Likewise.
58503         * nscd/connections.c (restart_p): Likewise.
58504         Change return type to bool.
58506 2013-02-05  Roland McGrath  <roland@hack.frob.com>
58508         * Makeconfig (all-Depend-files): Add existing
58509         $(sorted-subdirs:=/Depend) files.
58510         (all-subdirs): Remove nss.
58511         * sysdeps/unix/inet/Subdirs: Add it here instead.
58512         * hesiod/Depend: New file.
58514         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
58515         instead of calling alloca.
58517         * io/lseek.c (__lseek): Rename to __libc_lseek.
58518         Define __lseek as an alias.
58520         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
58522 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
58524         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
58525         else clause and remove check for non-standard endianness.
58527 2013-02-04  David S. Miller  <davem@davemloft.net>
58529         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58531 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
58533         [BZ #13550]
58534         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
58535         (__ubp_memchr): Remove prototype.
58536         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
58537         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
58538         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
58539         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
58540         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
58541         Remove alias.
58542         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
58543         (__ubp_memchr): Likewise.
58544         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
58545         (__ubp_memchr): Likewise.
58546         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
58547         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
58548         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
58549         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
58550         CHECK_STRING.
58551         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
58552         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
58553         (__getcwd): Do not use CHECK_STRING.
58554         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
58555         <bp-checks.h>.
58556         (__real_chown): Do not use CHECK_STRING.
58557         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
58558         <bp-checks.h>.
58559         (fchownat): Do not use CHECK_STRING.
58560         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
58561         CHECK_STRING.
58562         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
58563         <bp-checks.h>.
58564         (__lchown): Do not use CHECK_STRING.
58565         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
58566         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
58567         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
58568         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
58569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
58570         include <bp-checks.h>.
58571         (truncate64): Do not use CHECK_STRING.
58572         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
58573         <bp-checks.h>.
58574         (__real_chown): Do not use CHECK_STRING.
58575         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
58576         <bp-checks.h>.
58577         (__lchown): Do not use CHECK_STRING.
58578         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
58579         <bp-checks.h>.
58580         (__chown): Do not use CHECK_STRING.
58581         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
58582         <bp-checks.h>.
58583         (truncate64): Do not use CHECK_STRING.
58584         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
58585         Likewise.
58586         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
58587         (__xmknod): Do not use CHECK_STRING.
58588         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
58589         <bp-checks.h>.
58590         (__xmknodat): Do not use CHECK_STRING.
58591         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
58592         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
58594 2013-02-04  Andreas Schwab  <schwab@suse.de>
58596         [BZ #14142]
58597         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
58598         * include/netdb.h: Likewise for h_errno.
58599         * elf/tst-stackguard1.c: Include <tls.h>.
58601 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
58603         * elf/link.h (struct link_map): Extend the l_addr comment.
58604         * include/link.h (struct link_map): Likewise.
58606 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
58608         [BZ #13550]
58609         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
58610         (BOUNDED_1): Remove macro.
58611         * debug/backtrace.c: Don't include <bp-checks.h>.
58612         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
58613         (__backtrace): Likewise.
58614         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
58615         <bp-checks.h>.
58616         (__backtrace): Don't use BOUNDED_1.
58617         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
58618         <bp-checks.h>.
58619         (__backtrace): Don't use BOUNDED_1.
58620         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
58621         (__backtrace): Don't use BOUNDED_1.
58622         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
58623         (shmat): Don't use BOUNDED_N.
58625 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
58627         [BZ #13550]
58628         * sysdeps/generic/bp-start.h: Remove file.
58629         * csu/libc-start.c: Don't include <bp-start.h>.
58630         (LIBC_START_MAIN): Set up __environ directly instead of using
58631         INIT_ARGV_and_ENVIRON.
58632         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
58633         <bp-start.h>.
58635         [BZ #13550]
58636         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
58637         definitions.
58638         (CHECK_FCNTL): Likewise.
58639         (CHECK_N_PAGES): Likewise.
58641         [BZ #13550]
58642         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
58643         definitions.
58644         (CHECK_SIGSET_NULL_OK): Likewise.
58645         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
58646         <bp-checks.h>.
58647         (sigpending): Don't use CHECK_SIGSET.
58648         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
58649         <bp-checks.h>.
58650         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
58651         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
58652         <bp-checks.h>.
58653         (do_sigsuspend): Don't use CHECK_SIGSET.
58654         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
58655         use CHECK_SIGSET.
58656         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
58657         (do_sigwait): Don't use CHECK_SIGSET.
58658         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
58659         use CHECK_SIGSET.
58660         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
58661         include <bp-checks.h>.
58662         (sigpending): Don't use CHECK_SIGSET.
58663         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
58664         include <bp-checks.h>.
58665         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
58666         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
58667         <bp-checks.h>.
58668         (sigpending): Don't use CHECK_SIGSET.
58669         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
58670         <bp-checks.h>.
58671         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
58673         [BZ #13550]
58674         * sysdeps/generic/bp-semctl.h: Remove file.
58675         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
58676         <bp-checks.h> and <bp-semctl.h>.
58677         (__old_semctl): Don't use CHECK_SEMCTL.
58678         (__new_semctl): Likewise.
58679         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
58680         and <bp-semctl.h>.
58681         (__old_semctl): Don't use CHECK_SEMCTL.
58682         (__new_semctl): Likewise.
58683         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
58684         <bp-checks.h> and <bp-semctl.h>.
58685         (__old_semctl): Don't use CHECK_SEMCTL.
58686         (__new_semctl): Likewise.
58687         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
58688         <bp-checks.h> and <bp-semctl.h>.
58689         (semctl): Don't use CHECK_SEMCTL.
58691         [BZ #13550]
58692         * Makerules (elide-bp-thunks): Remove variable.
58693         (elide-routines.oS): Don't use $(elide-bp-thunks).
58694         (elide-routines.os): Likewise.
58695         (elide-routines.o): Likewise.
58696         (elide-routines.op): Likewise.
58697         (elide-routines.og): Likewise.
58698         (objects): Don't use $(bp-thunks).
58699         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
58700         include.
58701         (common-generated): Do not add s-proto-bp.d.
58702         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
58703         (int): Likewise.
58704         (typ): Likewise.
58705         Do not generate makefile rules for bounded-pointer thunks.
58706         * sysdeps/generic/bp-thunks.h: Remove file.
58707         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
58708         * sysdeps/unix/s-proto-bp.S: Likewise.
58710         [BZ #15062]
58711         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
58712         parts of result separately when argument is not close to line from
58713         -i to i and one part of argument is small.
58714         * math/k_casinhf.c (__kernel_casinhf): Likewise.
58715         * math/k_casinhl.c (__kernel_casinhl): Likewise.
58716         * math/libm-test.inc (cacos_test): Add more tests.
58717         (casin_test): Likewise.
58718         (casinh_test): Likewise.
58719         * sysdeps/i386/fpu/libm-test-ulps: Update.
58720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58722 2013-01-31  David S. Miller  <davem@davemloft.net>
58724         * po/de.po: Update from translation team.
58726 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
58728         * time/tzfile.c: Include stdint.h for SIZE_MAX.
58730 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
58732         * configure.in (_AC_PROG_CC_C89): New definition.
58733         * configure: Regenerate.
58735         * configure.in (AC_PROG_CPP): New definition.
58736         * configure: Regenerate.
58738 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
58740         * debug/tst-backtrace.h: New file.
58741         * debug/tst-backtrace2.c: Include tst-backtrace.h.
58742         (ret): Remove variable.
58743         (x): Likewise.
58744         (FAIL): Remove macro.
58745         (NO_INLINE): Likewise.
58746         (fn1): Use match function instead of strstr.
58747         * debug/tst-backtrace3.c: Include tst-backtrace.h.
58748         (ret): Remove variable.
58749         (x): Likewise.
58750         (FAIL): Remove macro.
58751         (NO_INLINE): Likewise.
58752         (fn): Use match function instead of strstr.
58753         * debug/tst-backtrace4.c: Include tst-backtrace.h.
58754         (ret): Remove variable.
58755         (x): Likewise.
58756         (FAIL): Remove macro.
58757         (NO_INLINE): Likewise.
58758         (handle_signal): Use match function instead of strstr.
58759         * debug/tst-backtrace5.c: Include tst-backtrace.h.
58760         (ret): Remove variable.
58761         (x): Likewise.
58762         (FAIL): Remove macro.
58763         (NO_INLINE): Likewise.
58764         (handle_signal): Use match function instead of strstr.
58766 2013-01-23  Roland McGrath  <roland@hack.frob.com>
58768         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
58770 2013-01-23  David S. Miller  <davem@davemloft.net>
58772         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
58773         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
58774         argument of CAS if possible.
58775         * sysdeps/sparc/sparc64/bits/atomic.h
58776         (__arch_compare_and_exchange_val_32_acq): Likewise.
58777         (__arch_compare_and_exchange_val_64_acq): Likewise.
58779 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
58781         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
58782         * sysdeps/posix/ulimit.c: ... this.
58783         Include <limits.h>.
58784         * sysdeps/unix/bsd/ulimit.c: Remove file.
58786 2013-01-23  Adam Conrad  <adconrad@0c3.net>
58788         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
58789         (LDFLAGS-tst-array5): Likewise.
58791 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
58793         [BZ #15036]
58794         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
58795         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
58796         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
58797         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
58799 2013-01-21  David S. Miller  <davem@davemloft.net>
58801         * sysdeps/sparc/backtrace.c: New file.
58802         * sysdeps/sparc/sparc32/backtrace.h: New file.
58803         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
58804         * sysdeps/sparc/sparc64/backtrace.h: New file.
58805         * sysdeps/sparc/sparc64/backtrace.c: Delete.
58806         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
58807         -funwind-tables.
58809 2013-01-21  Andreas Schwab  <schwab@suse.de>
58811         [BZ #15020]
58812         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
58813         closed its stdout.
58815 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
58817         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
58818         "mpa2.h".
58819         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
58821 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
58822             Mark Mitchell  <mark@codesourcery.com>
58823             Tom de Vries  <tom@codesourcery.com>
58824             Paul Pluzhnikov  <ppluzhnikov@google.com>
58826         * debug/tst-backtrace2.c: New file.
58827         * debug/tst-backtrace3.c: Likewise.
58828         * debug/tst-backtrace4.c: Likewise.
58829         * debug/tst-backtrace5.c: Likewise.
58830         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
58831         (CFLAGS-tst-backtrace3.c): Likewise.
58832         (CFLAGS-tst-backtrace4.c): Likewise.
58833         (CFLAGS-tst-backtrace5.c): Likewise.
58834         (LDFLAGS-tst-backtrace2): Likewise.
58835         (LDFLAGS-tst-backtrace3): Likewise.
58836         (LDFLAGS-tst-backtrace4): Likewise.
58837         (LDFLAGS-tst-backtrace5): Likewise.
58838         (tests): Add new tests tst-backtrace2, tst-backtrace3,
58839         tst-backtrace4 and tst-backtrace5.
58841 2013-01-18  Anton Blanchard  <anton@samba.org>
58842             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58844         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
58845         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
58846         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
58847         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
58848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
58849         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
58850         "+r" and remove output regs list as redundant.  Add explicit inline
58851         asm to specify register of return val to work around compiler codegen
58852         bug.  Remove (int) cast on return value.  Add return type parameter to
58853         use in macro so that this macro does not truncate return value for
58854         64-bit values.
58855         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
58856         pass to INTERNAL_VSYSCALL_NCS.
58857         (INLINE_VSYSCALL): Add 'long int' as return type to
58858         INTERNAL_VSYSCALL_NCS macro invocation.
58859         (INTERNAL_VSYSCALL): Add 'long int' as return type to
58860         INTERNAL_VSYSCALL_NCS macro invocation.
58861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
58863 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
58865         [BZ #14496]
58866         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
58867         Fix application of SIMD FP exception mask.
58869         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
58870         mp_no from a power of two.
58871         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
58872         __mpexp_twomm1.  Use __pow_mp.
58874         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
58875         multiplication.
58877 2013-01-17  David S. Miller  <davem@davemloft.net>
58879         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58881 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
58883         [BZ #15023]
58884         * include/complex.h: Condition contents on [!_COMPLEX_H].
58885         (__kernel_casinhf): New prototype.
58886         (__kernel_casinh): Likewise.
58887         (__kernel_casinhl): Likewise.
58888         * math/Makefile (libm_calls): Add k_casinh.
58889         * math/k_casinh.c: New file.
58890         * math/k_casinhf.c: Likewise.
58891         * math/k_casinhl.c: Likewise.
58892         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
58893         finite nonzero arguments.
58894         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
58895         finite nonzero arguments.
58896         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
58897         finite nonzero arguments.
58898         * math/s_casinh.c: Do not include <float.h>.
58899         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
58900         * math/s_casinhf.c: Do not include <float.h>.
58901         (__casinhf): Move code for finite nonzero arguments to
58902         k_casinhf.c.
58903         * math/s_casinhl.c: Do not include <float.h>.
58904         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
58905         redefine.
58906         (__casinhl): Move code for finite nonzero arguments to
58907         k_casinhl.c.
58908         * math/libm-test.inc (cacos_test): Add more tests.
58909         * sysdeps/i386/fpu/libm-test-ulps: Update.
58910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58912 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
58914         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
58915         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
58916         [!HAVE_MREMAP]: Remove [defined linux] case.
58917         * malloc/arena.c: Do not include <malloc-sysdep.h>.
58919 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
58921         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
58923 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
58925         * elf/elf.h (R_386_SIZE32): New relocation.
58926         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
58927         R_386_SIZE32.
58928         (elf_machine_rela): Likewise.
58929         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
58930         R_X86_64_SIZE64 and R_X86_64_SIZE32.
58932 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
58934         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
58935         (FP_FAST_FMA): Do not define.
58936         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
58937         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
58938         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
58939         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
58940         !_SOFT_FLOAT]: Likewise.
58941         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
58942         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
58943         value.
58944         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
58945         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
58946         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
58947         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
58948         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
58949         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
58950         file.
58952 2013-01-16  Andreas Schwab  <schwab@suse.de>
58954         [BZ #14327]
58955         * include/stdlib.h (__mktemp): Add declaration.
58956         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
58957         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
58959 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
58961         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
58962         definitions.
58963         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
58964         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
58965         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
58966         definitions here.
58967         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
58968         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
58969         definitions.
58970         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
58971         and ONE.
58972         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
58973         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
58974         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
58975         definitions.
58976         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
58977         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
58978         definitions.
58979         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
58981         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
58983 2013-01-15  David S. Miller  <davem@davemloft.net>
58985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
58986         trunc{,f} to libm-sysdep_routes.
58987         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
58988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
58989         file.
58990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
58991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
58992         file.
58993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
58994         file.
58995         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
58996         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
58997         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
58998         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
58999         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
59000         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
59001         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
59002         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
59004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
59005         nearbyint{,f} to libm-sysdep_routes.
59006         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
59007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
59008         New file.
59009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
59010         file.
59011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
59012         New file.
59013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
59014         file.
59015         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
59016         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
59017         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
59018         file.
59019         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
59020         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
59021         file.
59022         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
59023         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
59024         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
59026         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
59027         libc_feholdexcept and libc_fesetenv.
59029 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
59031         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
59033 2013-01-14  David S. Miller  <davem@davemloft.net>
59035         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
59036         (SPARC_ASM_VIS2_IFUNC): Likewise.
59037         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
59038         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
59039         use of 'siam' instruction.
59040         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
59041         Likewise.
59042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
59043         Likewise.
59044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
59045         Likewise.
59046         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
59047         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
59048         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
59049         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
59050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
59051         file.
59052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
59053         file.
59054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
59055         file.
59056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
59057         file.
59058         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
59059         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
59060         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
59061         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
59062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
59063         new VIS2 routines.
59064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
59065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
59066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
59067         Likewise.
59068         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
59069         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
59070         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
59071         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
59072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
59073         routines to libm-sysdep_routines.
59074         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
59076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
59077         fdim/fdimf to libm-sysdep_routines.
59078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
59079         file.
59080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
59081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
59082         file.
59083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
59084         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
59085         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
59086         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
59087         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
59088         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
59089         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
59091 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
59093         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
59094         to optimize copies.
59096         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
59097         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
59098         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
59100         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
59101         local variable MPTWO.
59102         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
59103         Likewise.
59105 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
59107         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
59108         GLOB_NOESCAPE.
59110 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
59112         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
59114 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
59116         * manual/pattern.texi (glob_t): Document gl_flags.
59117         (glob64_t): Likewise.
59119 2013-01-11  David S. Miller  <davem@davemloft.net>
59121         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
59122         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
59123         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
59124         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
59125         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
59126         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
59127         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
59128         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
59129         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
59130         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
59131         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
59132         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
59133         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
59135         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
59136         sparc V9 rather than using V8 code.
59137         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
59138         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
59140         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
59141         Move to...
59142         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
59143         Here.
59145 2013-01-11  Roland McGrath  <roland@hack.frob.com>
59147         [BZ #14941]
59148         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
59149         not in the main loop.
59150         * configure: Regenerated.
59152 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
59154         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
59155         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
59156         to just #else.
59157         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
59158         [!__GLIBC_HAVE_LONG_LONG] case.
59159         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
59160         condition to just #else.
59161         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
59162         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
59163         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
59164         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
59165         unconditional.
59166         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
59167         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
59168         #elif condition to just #else.
59169         * sysdeps/unix/sysv/linux/sys/sysmacros.h
59170         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
59171         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
59172         #elif condition to just #else.
59174 2013-01-11  Steve Ellcey  <sellcey@mips.com>
59176         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
59177         (EF_MIPS_ARCH_64): Fix value.
59178         (EF_MIPS_ARCH_32R2): New.
59179         (EF_MIPS_ARCH_64R2): New.
59181 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
59183         * Makeconfig (+link-pie-before-libc): New.
59184         (+link-pie-after-libc): Likewise.
59185         (+link-pie-tests): Likewise.
59186         (+link-pie): Rewritten.
59187         (link-before-libc): Remove $(config-LDFLAGS).
59188         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
59189         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
59190         (config-LDFLAGS): Renamed to ...
59191         (rtld-LDFLAGS): This.
59192         (rtld-tests-LDFLAGS): New macro.
59193         (link-libc-rpath-link): Likewise.
59194         (link-libc-tests-rpath-link): Likewise.
59195         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
59196         (link-libc): Prepand $(link-libc-rpath-link).
59197         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
59198         (test-program-prefix): New macro.
59199         (test-via-rtld-prefix): Likewise.
59200         (test-program-cmd): Likewise.
59201         (host-test-program-cmd): Likewise.
59202         * Makefile ($(common-objpfx)testrun.sh): Replace
59203         $(run-program-prefix) with $(test-program-prefix).
59204         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
59205         $(rtld-LDFLAGS).
59206         ($(common-objpfx)shlib.lds): Likewise.
59207         (build-module-helper): Likewise.
59208         ($(common-objpfx)format.lds): Likewise.
59209         * Rules (binaries-pie-tests): New.
59210         (binaries-pie-notests): Likewise.
59211         (binaries-pie): Rewritten.
59212         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
59213         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
59214         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
59215         (make-test-out): Replace $(host-built-program-cmd) with
59216         $(host-test-program-cmd).
59217         * config.make.in (build-hardcoded-path-in-tests): New variable.
59218         * configure.in (--enable-hardcoded-path-in-tests): New configure
59219         option.
59220         (hardcoded_path_in_tests): New AC_SUBST.
59221         * configure: Regenerated.
59222         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
59223         $(built-program-cmd) with $(test-program-cmd).
59224         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
59225         (test_program_cmd): This.
59226         * elf/Makefile ($(objpfx)order.out): Run test with
59227         $(test-program-prefix).
59228         ($(objpfx)order2.out): Likewise.
59229         ($(objpfx)tst-initorder.out): Likewise.
59230         ($(objpfx)tst-initorder2.out): Likewise.
59231         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
59232         $(test-program-cmd).
59233         ($(objpfx)tst-array1-static.out): Likewise.
59234         ($(objpfx)tst-array2.out): Likewise.
59235         ($(objpfx)tst-array3.out): Likewise.
59236         ($(objpfx)tst-array4.out): Likewise.
59237         ($(objpfx)tst-array5.out): Likewise.
59238         ($(objpfx)tst-array5-static.out): Likewise.
59239         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
59240         $(test-program-cmd).
59241         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
59242         $(run-program-prefix) with $(test-program-prefix).
59243         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
59244         (test_program_prefix): This.
59245         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
59246         $(run-program-prefix) with $(test-program-prefix).
59247         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
59248         (test_program_prefix): This.
59249         * iconvdata/tst-tables.sh: Likewise.
59250         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
59251         $(run-program-prefix) with $(test-program-prefix).
59252         ($(objpfx)tst-translit.out): Likewise.
59253         ($(objpfx)tst-gettext2.out): Likewise.
59254         ($(objpfx)tst-gettext4.out): Likewise.
59255         ($(objpfx)tst-gettext6.out): Likewise.
59256         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
59257         (test_program_prefix): This.
59258         * intl/tst-gettext2.sh: Likewise.
59259         * intl/tst-gettext4.sh  Likewise.
59260         * intl/tst-gettext6.sh: Likewise.
59261         * intl/tst-translit.sh: Likewise.
59262         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
59263         with $(test-program-cmd).
59264         * libio/Makefile ($(objpfx)test-freopen.out): Replace
59265         $(run-program-prefix) with $(test-program-prefix).
59266         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
59267         (test_program_prefix): This.
59268         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
59269         $(run-program-prefix) with $(test-program-prefix).
59270         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
59271         (test_program_prefix): This.
59272         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
59273         * posix/Makefile ($(objpfx)globtest.out): Replace
59274         $(run-via-rtld-prefix) and $(test-wrapper) with
59275         $(test-program-prefix) and $(test-via-rtld-prefix).
59276         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
59277         $(test-program-prefix).
59278         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
59279         $(host-test-program-cmd).
59280         (tst-spawn-ARGS): Likewise.
59281         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
59282         $(test-program-prefix).
59283         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
59284         (test_via_rtld_prefix): This.
59285         (test_wrapper): Renamed to ...
59286         (test_program_prefix): This.
59287         (run_program_prefix): Replaced by test_program_prefix.
59288         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
59289         (test_program_prefix): This.
59290         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
59291         with $(host-test-program-cmd).
59292         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
59293         $(run-program-prefix) with $(test-program-prefix).
59294         ($(objpfx)tst-printf.out): Likewise.
59295         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
59296         $(test-program-cmd).
59297         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
59298         (test_program_prefix): This.
59299         * stdio-common/tst-unbputc.sh: Likewise.
59300         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
59301         $(run-program-prefix) with $(test-program-prefix).
59302         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
59303         (test_program_prefix): This.
59304         * string/Makefile ($(objpfx)tst-svc.out):  Replace
59305         $(built-program-cmd) with $(test-program-cmd).
59307 2013-01-11  Andreas Jaeger  <aj@suse.de>
59309         [BZ #15003]
59310         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
59311         value. Sync with Linux 3.7.
59313 2013-01-10  David S. Miller  <davem@davemloft.net>
59315         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
59316         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
59317         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
59319 2013-01-10  Roland McGrath  <roland@hack.frob.com>
59321         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
59322         never set.
59323         * configure: Regenerated.
59325 2013-01-10  David S. Miller  <davem@davemloft.net>
59327         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
59328         sparc V9 rather than using V8 code.
59329         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
59330         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
59332 2013-01-10  Roland McGrath  <roland@hack.frob.com>
59334         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
59335         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
59336         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
59337         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
59338         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
59339         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
59340         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
59341         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
59342         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
59343         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
59344         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
59345         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
59346         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
59347         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
59348         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
59349         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
59350         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
59351         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
59352         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
59353         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
59354         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
59355         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
59356         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
59357         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
59358         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
59359         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
59360         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
59362 2013-01-10  David S. Miller  <davem@davemloft.net>
59364         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59366 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
59368         * posix/Makefile (tests-static): New variable.
59369         (tests): Add $(tests-static).
59370         (tst-exec-static-ARGS): New variable.
59371         (tst-spawn-static-ARGS): Likewise.
59372         * posix/tst-exec-static.c: New file.
59373         * posix/tst-spawn-static.c: Likewise.
59374         * posix/tst-exec.c: Support run directly.
59375         * posix/tst-spawn.c: Likewise.
59377 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
59379         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
59380         long.
59381         * math/bits/mathcalls.h (llrint): Likewise.
59382         (llround): Likewise.
59383         * stdlib/stdlib.h (struct drand48_data): Likewise.
59384         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
59385         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
59386         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
59387         Likewise.
59388         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
59389         Likewise.
59390         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
59391         (elf_greg_t): Likewise.
59392         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
59393         (__jmp_buf): Likewise.
59394         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
59395         definitions.
59396         (llrint): Likewise, for all definitions.
59397         (llrintl): Likewise.
59399         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
59400         Remove [__GNUC__] condition.
59401         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
59402         condition to just [__USE_ISOC99].
59403         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
59405 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
59407         [BZ #14200]
59408         * sysdeps/unix/sysv/linux/x86/bits/environments.h
59409         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
59410         defined.
59411         (_POSIX_V6_ILP32_OFF32): Likewise.
59412         (_XBS5_ILP32_OFF32): Likewise.
59413         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
59414         (__ILP32_OFFBIG_LDFLAGS): Likewise.
59416 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
59418         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
59420         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
59421         doubles __mpexp_twomm1.  Adjust usage.
59422         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
59423         Remove.
59425 2013-01-10  Andreas Schwab  <schwab@suse.de>
59427         [BZ #14964]
59428         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
59429         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
59431 2013-01-09  David S. Miller  <davem@davemloft.net>
59433         [BZ #15003]
59434         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
59435         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
59436         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
59437         (TCP_FASTOPEN): Define.
59438         (tcp_repair_opt): New structure.
59439         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
59440         enum values.
59441         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
59442         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
59443         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
59444         (tcp_cookie_transactions): New structure.
59446 2013-01-09  Anton Blanchard  <anton@samba.org>
59448         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
59449         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
59450         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
59451         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
59453 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
59455         * include/features.h (__USE_ANSI): Remove.
59457 2013-01-09  Roland McGrath  <roland@hack.frob.com>
59459         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
59461         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
59463 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
59465         * sysdeps/s390/fpu/libm-test-ulps: Update.
59467         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59469         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
59470         (__acr): Likewise.
59471         (__cpy): Likewise.
59472         (norm): Likewise.
59473         (denorm): Likewise.
59474         (__mp_dbl): Likewise.
59475         (__dbl_mp): Likewise.
59476         (add_magnitudes): Likewise.
59477         (sub_magnitudes): Likewise.
59478         (__add): Likewise.
59479         (__sub): Likewise.
59480         (__mul): Likewise.
59481         (__inv): Likewise.
59482         (__dvd): Likewise.
59483         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
59484         (__acr): Likewise.
59485         (__cpy): Likewise.
59486         (norm): Likewise.
59487         (denorm): Likewise.
59488         (__mp_dbl): Likewise.
59489         (__dbl_mp): Likewise.
59490         (add_magnitudes): Likewise.
59491         (sub_magnitudes): Likewise.
59492         (__add): Likewise.
59493         (__sub): Likewise.
59494         (__mul): Likewise.
59495         (__inv): Likewise.
59496         (__dvd): Likewise.
59497         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
59498         (__acr): Likewise.
59499         (__cpy): Likewise.
59500         (norm): Likewise.
59501         (denorm): Likewise.
59502         (__mp_dbl): Likewise.
59503         (__dbl_mp): Likewise.
59504         (add_magnitudes): Likewise.
59505         (sub_magnitudes): Likewise.
59506         (__add): Likewise.
59507         (__sub): Likewise.
59508         (__mul): Likewise.
59509         (__inv): Likewise.
59510         (__dvd): Likewise.
59512 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
59514         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
59515         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
59516         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
59517         2 && __USE_EXTERN_INLINES]: Likewise.
59519 2013-01-08  Andreas Jaeger  <aj@suse.de>
59521         [BZ# 14985]
59522         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
59523         Remove.
59524         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
59525         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
59527 2013-01-07  Anton Blanchard  <anton@samba.org>
59529         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
59530         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
59531         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
59532         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
59533         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
59534         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
59535         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
59536         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
59537         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
59538         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
59539         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
59540         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
59541         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
59542         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
59543         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
59544         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
59545         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
59546         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
59547         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
59548         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
59549         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
59550         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
59551         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
59552         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
59553         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
59554         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
59555         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
59556         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
59557         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
59558         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
59559         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
59560         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
59561         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
59562         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
59563         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
59564         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
59565         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
59566         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
59567         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
59568         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
59569         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
59570         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59571         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
59573 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
59575         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
59576         (__MALLOC_PMT): Likewise.
59577         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
59578         [__GNUC__], only on [_LIBC].
59579         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
59580         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
59581         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
59582         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
59583         forward declaration.
59584         (realloc_hook_ini): Likewise.
59585         (memalign_hook_ini): Likewise.
59586         (__libc_memalign): Do not use __MALLOC_PMT in variable
59587         declaration.
59588         (__libc_valloc): Likewise.
59589         (__libc_pvalloc): Likewise.
59590         (__libc_calloc): Likewise.
59591         (__posix_memalign): Likewise.
59593         [BZ #14996]
59594         * math/s_casinh.c: Include <float.h>.
59595         (__casinh): Do not do computation with squaring and square root
59596         for large arguments.
59597         * math/s_casinhf.c: Include <float.h>.
59598         (__casinhf): Do not do computation with squaring and square root
59599         for large arguments.
59600         * math/s_casinhl.c: Include <float.h>.
59601         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
59602         (__casinhl): Do not do computation with squaring and square root
59603         for large arguments.
59604         * math/libm-test.inc (casin_test): Add more tests.
59605         (casinh_test): Likewise.
59606         * sysdeps/i386/fpu/libm-test-ulps: Update.
59607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59609 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
59611         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
59612         (__x86_64_raw_data_cache_size): Likewise.
59613         (__x86_64_data_cache_size_half): Likewise.
59614         (__x86_64_raw_data_cache_size_half): Likewise.
59615         (__x86_64_shared_cache_size): Likewise.
59616         (__x86_64_raw_shared_cache_size): Likewise.
59617         (__x86_64_shared_cache_size_half): Likewise.
59618         (__x86_64_raw_shared_cache_size_half): Likewise.
59619         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
59620         to ...
59621         (__x86_data_cache_size): This.
59622         (__x86_64_raw_data_cache_size): Renamed to ...
59623         (__x86_raw_data_cache_size): This.
59624         (__x86_64_data_cache_size_half): Renamed to ...
59625         (__x86_data_cache_size_half): This.
59626         (__x86_64_raw_data_cache_size_half): Renamed to ...
59627         (__x86_raw_data_cache_size_half): This.
59628         (__x86_64_shared_cache_size): Renamed to ...
59629         (__x86_shared_cache_size): This.
59630         (__x86_64_raw_shared_cache_size): Renamed to ...
59631         (__x86_raw_shared_cache_size): This.
59632         (__x86_64_shared_cache_size_half): Renamed to ...
59633         (__x86_shared_cache_size_half): This.
59634         (__x86_64_raw_shared_cache_size_half): Renamed to ...
59635         (__x86_raw_shared_cache_size_half): This.
59636         * sysdeps/x86_64/memcpy.S: Updated.
59637         * sysdeps/x86_64/memset.S: Likewise.
59638         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
59639         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
59640         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
59642 2013-01-04  David S. Miller  <davem@davemloft.net>
59644         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59646 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
59648         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
59649         1 to avoid redefinition warning.
59650         (__USE_GNU): Don't define.
59651         (init_signaling_nan): Protoize.
59653         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59655 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
59657         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
59658         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
59659         (__cpymn): Likewise.
59660         (norm): Remove commented code.
59661         (denorm): Likewise.
59662         (__mp_dbl): Likewise.
59663         (__inv): Likewise.
59664         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
59665         (__cpymn): Likewise.
59666         (norm): Remove commented code.
59667         (denorm): Likewise.
59668         (__mp_dbl): Likewise.
59669         (__inv): Likewise.
59671         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
59672         mp_no value for 1.0 and 2.0.
59673         (norm): Use RADIXI instead of radixi.d.
59674         (denorm): Likewise.
59675         (__mul): Use 0.0 instead of zero.d.
59676         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
59677         mp_no value for 1.0 and 2.0.
59678         (norm): Use RADIXI instead of radixi.d.
59679         (denorm): Likewise.
59680         (__mul): Use 0.0 instead of zero.d.
59682 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
59684         [BZ #14994]
59685         * math/s_casinh.c (__casinh): Reduce finite argument to first
59686         quadrant then set signs of results at the end.
59687         * math/s_casinhf.c (__casinhf): Likewise.
59688         * math/s_casinhl.c (__casinhl): Likewise.
59689         * math/libm-test.inc (casin_test): Add more tests.
59690         (casinh_test): Likewise.
59691         * sysdeps/i386/fpu/libm-test-ulps: Update.
59692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59694 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
59696         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
59698         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
59700         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
59701         declarations.
59702         (denorm): Likewise.
59703         (__mp_dbl): Likewise.
59704         (__inv): Likewise.
59706         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
59707         and adjust the header comment.
59709         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
59710         variable name from declaration.
59712 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
59714         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59715         Initialize COMMON_CPUID_INDEX_7 element.
59716         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
59717         (CPUID_RTM): Likewise.
59718         (HAS_RTM): Likewise.
59719         (COMMON_CPUID_INDEX_7): New enum.
59721 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
59723         [BZ #14981]
59724         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
59725         size is zero, record memory as freed.
59727 2013-01-03  Andreas Jaeger  <aj@suse.de>
59729         * po/ia.po: Add new Interlingua translation.
59731 2012-01-03  Allan McRae  <allan@archlinux.org>
59733         * locale/programs/localedef.c: Fix description of '--posix' flag.
59735 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
59737         * NEWS: Update dates in second copyright notice.
59738         * README: Update copyright dates in example.
59739         * manual/libc.texinfo: Update copyright dates.
59740         * scripts/test-installation.pl: Update copyright date in --version
59741         output.
59743         * hurd/ctty-input.c: Fix copyright notice formatting.
59744         * hurd/ctty-output.c: Likewise.
59745         * hurd/dtable.c: Likewise.
59746         * hurd/hurd-raise.c: Likewise.
59747         * hurd/hurdprio.c: Likewise.
59748         * hurd/msgportdemux.c: Likewise.
59749         * misc/sys/file.h: Likewise.
59750         * misc/sys/ioctl.h: Likewise.
59751         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
59752         * sysdeps/mach/hurd/chdir.c: Likewise.
59753         * sysdeps/mach/hurd/fchdir.c: Likewise.
59754         * sysdeps/mach/hurd/rename.c: Likewise.
59755         * sysdeps/mach/hurd/rmdir.c: Likewise.
59756         * sysdeps/mach/hurd/seekdir.c: Likewise.
59757         * sysdeps/mach/hurd/setsid.c: Likewise.
59758         * sysdeps/posix/wait3.c: Likewise.
59760         * All files with FSF copyright notices: Update copyright dates
59761         using scripts/update-copyrights.
59762         * intl/plural.c: Regenerated.
59763         * locale/programs/charmap-kw.h: Likewise.
59764         * locale/programs/locfile-kw.h: Likewise.
59766 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
59768         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
59769         four values.
59771         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
59772         calculation loop and add branch prediction.
59774         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
59775         check access beyond bounds of m1np.
59777         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
59778         MPTWO.
59779         (__inv): Remove local variable MPTWO to use the global
59780         constant.
59781         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
59782         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
59783         variable MPTWO.
59784         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
59785         MP3HALFS static const.
59787 2013-01-01  David S. Miller  <davem@davemloft.net>
59789         * po/ca.po: Update from translation team.
59791 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
59793         * scripts/update-copyrights: New file.
59794         * Makeconfig: Reformat copyright notice.
59795         * ctype/ctype.h: Likewise.
59796         * debug/swprintf_chk.c: Likewise.
59797         * elf/dl-cache.c: Likewise.
59798         * elf/dl-debug.c: Likewise.
59799         * elf/dl-object.c: Likewise.
59800         * grp/initgroups.c: Likewise.
59801         * hurd/Makefile: Likewise.
59802         * hurd/hurd/signal.h: Likewise.
59803         * hurd/hurdfault.c: Likewise.
59804         * hurd/hurdioctl.c: Likewise.
59805         * hurd/hurdlookup.c: Likewise.
59806         * hurd/intr-msg.c: Likewise.
59807         * iconv/gconv_open.c: Likewise.
59808         * libio/swprintf.c: Likewise.
59809         * locale/lc-ctype.c: Likewise.
59810         * locale/nl_langinfo.c: Likewise.
59811         * mach/Machrules: Likewise.
59812         * mach/Makefile: Likewise.
59813         * malloc/obstack.h: Likewise.
59814         * manual/Makefile: Likewise.
59815         * manual/tsort.awk: Likewise.
59816         * misc/bits/stab.def: Likewise.
59817         * nis/nis_print_group_entry.c: Likewise.
59818         * nis/nis_table.c: Likewise.
59819         * nis/nss_compat/compat-pwd.c: Likewise.
59820         * nis/nss_compat/compat-spwd.c: Likewise.
59821         * po/Makefile: Likewise.
59822         * posix/fnmatch.c: Likewise.
59823         * posix/regex.h: Likewise.
59824         * resolv/Makefile: Likewise.
59825         * resolv/nss_dns/dns-network.c: Likewise.
59826         * resolv/res_hconf.c: Likewise.
59827         * scripts/gen-sorted.awk: Likewise.
59828         * soft-fp/soft-fp.h: Likewise.
59829         * stdio-common/printf.h: Likewise.
59830         * stdlib/monetary.h: Likewise.
59831         * stdlib/random.c: Likewise.
59832         * stdlib/random_r.c: Likewise.
59833         * sysdeps/generic/Makefile: Likewise.
59834         * sysdeps/gnu/Makefile: Likewise.
59835         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
59836         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59837         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
59838         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59839         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59840         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59841         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59842         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
59843         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
59844         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59845         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
59846         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
59847         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
59848         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
59849         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
59850         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
59851         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
59852         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59853         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
59854         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59855         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
59856         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
59857         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
59858         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
59859         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
59860         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
59861         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
59862         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
59863         * sysdeps/mach/hurd/errnos.awk: Likewise.
59864         * sysdeps/mach/hurd/fork.c: Likewise.
59865         * sysdeps/mach/hurd/getcwd.c: Likewise.
59866         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
59867         * sysdeps/mach/hurd/mmap.c: Likewise.
59868         * sysdeps/mach/hurd/utimes.c: Likewise.
59869         * sysdeps/mach/hurd/xmknod.c: Likewise.
59870         * sysdeps/posix/profil.c: Likewise.
59871         * sysdeps/posix/readdir_r.c: Likewise.
59872         * sysdeps/powerpc/bits/mathdef.h: Likewise.
59873         * sysdeps/powerpc/bits/setjmp.h: Likewise.
59874         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
59875         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
59876         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
59877         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
59878         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
59879         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
59880         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
59881         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
59882         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
59883         * sysdeps/pthread/lio_listio.c: Likewise.
59884         * sysdeps/sparc/dl-procinfo.h: Likewise.
59885         * sysdeps/unix/i386/sysdep.S: Likewise.
59886         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
59887         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
59888         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
59889         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
59890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
59891         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
59892         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
59893         * sysdeps/unix/sysv/linux/speed.c: Likewise.
59894         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
59895         * sysdeps/wordsize-32/divdi3.c: Likewise.
59896         * time/sys/time.h: Likewise.
59897         * wcsmbs/Makefile: Likewise.
59899 2013-01-01  David S. Miller  <davem@davemloft.net>
59901         * po/fr.po: Update from translation team.
59903         * catgets/gencat.c: Update copyright year.
59904         * csu/version.c: Likewise.
59905         * debug/catchsegv.sh: Likewise.
59906         * debug/pcprofiledump.c: Likewise.
59907         * debug/xtrace.sh: Likewise.
59908         * elf/ldconfig.c: Likewise.
59909         * elf/ldd.bash.in: Likewise.
59910         * elf/pldd.c: Likewise.
59911         * elf/sotruss.ksh: Likewise.
59912         * elf/sprof.c: Likewise.
59913         * iconv/iconv_prog.c: Likewise.
59914         * iconv/iconvconfig.c: Likewise.
59915         * locale/programs/locale.c: Likewise.
59916         * locale/programs/localedef.c: Likewise.
59917         * login/programs/pt_chown.c: Likewise.
59918         * malloc/memusage.sh: Likewise.
59919         * malloc/memusagestat.c: Likewise.
59920         * malloc/mtrace.pl: Likewise.
59921         * nscd/nscd.c: Likewise.
59922         * nss/getent.c: Likewise.
59923         * nss/makedb.c: Likewise.
59924         * posix/getconf.c: Likewise.
59926 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
59928         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
59929         numbers.
59931 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
59933         * math/bits/mathcalls.h (modf): Use __nonnull.
59935 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
59937         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
59938         (split): Use macro CN instead of the bare value.
59939         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
59940         could be used.
59941         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
59942         instead of the bare value.
59943         (power1): Likewise.
59945 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59947         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
59948         __ATAN_TWOM.
59949         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
59951         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
59952         their values.
59953         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
59954         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
59955         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
59956         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
59958 2012-12-28  Andreas Jaeger  <aj@suse.de>
59960         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
59961         values are from Linux 3.7.
59963         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
59964         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
59966 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59968         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
59969         TRUE case.
59971         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
59972         (norm): Likewise.
59973         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
59974         variables with preprocessor constants.
59975         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
59976         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
59977         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
59979 2012-12-27  Bruno Haible  <bruno@clisp.org>
59981         [BZ #14317]
59982         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
59983         only if needed.
59985 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
59987         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
59988         and use variable directly.
59989         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
59991         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
59992         MPONE.
59993         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
59994         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
59995         variable MPONE.
59996         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
59997         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
59998         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
59999         include directive.  Remove local variable MPONE.
60000         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
60001         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
60002         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
60004 2012-12-25  David S. Miller  <davem@davemloft.net>
60006         * version.h (RELEASE): Set to "development".
60007         (VERSION): Set to "2.17.90".
60008         * NEWS: Add 2.18 section.
60010 2012-12-21  David S. Miller  <davem@davemloft.net>
60012         * po/hr.po: Update from translation team.
60014 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60016         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
60018 2012-12-19  Steve Ellcey  <sellcey@mips.com>
60020         * NEWS:  Mention new memcpy for MIPS.
60022 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60024         * manual/contrib.texi (Contributors): Spelling correction.
60026 2012-12-15  David S. Miller  <davem@davemloft.net>
60028         * po/ru.po: Update from translation team.
60030 2012-12-13  David S. Miller  <davem@davemloft.net>
60032         * NEWS: Mention IFUNC testsuite enhancements.
60034         * po/pl.po: Update from translation team.
60035         * po/bg.po: Likewise.
60037         * manual/contrib.texi (Contributors): Update entries for Hongjiu
60038         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
60040 2012-12-11  David S. Miller  <davem@davemloft.net>
60042         * po/sv.po: Update from translation team.
60044         * po/vi.po: Update from translation team.
60046         * po/cs.po: Update from translation team.
60048         * po/de.po: Update from translation team.
60049         * po/eo.po: Likewise.
60050         * po/nl.po: Likewise.
60052 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
60054         [BZ #14246]
60055         * manual/argp.texi (Argp Helper Functions): Move node to follow
60056         Argp Parsing State.
60058         [BZ #14872]
60059         * manual/conf.texi (Limits on File System Capacity): Mention if
60060         terminating null is included in the max size.
60062 2012-12-10  Andreas Jaeger  <aj@suse.de>
60064         * po/cs.po: Update from translation team.
60066 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
60068         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
60069         void pointer and cast to uintptr_t.
60070         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
60071         path.
60072         * sysdeps/s390/s390-64/memcpy.S: Likewise.
60073         * sysdeps/s390/s390-64/memset.S: Likewise.
60075 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
60077         [BZ #14833]
60078         * menual/message.texi (Message Translation): Fix typos.
60079         (Helper programs for gettext): Likewise.
60081 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
60083         [BZ #14898]
60084         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
60085         Change to -1.
60087 2012-12-07  David S. Miller  <davem@davemloft.net>
60089         * po/libc.pot: Update.
60091 2012-12-07  Richard Henderson  <rth@redhat.com>
60093         [BZ #10114]
60094         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
60095         normal/normal case to before the switch.
60096         (_FP_DIV): Likewise.
60098 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
60099             Mike Frysinger  <vapier@gentoo.org>
60101         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
60102         check for __NR_fadvise64_64.
60104 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
60106         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
60107         0, not just to plain "0" as a statement.
60108         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
60109         with cw.
60111 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
60113         * NEWS: Use sourceware.org in Bugzilla URL.
60115 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
60117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
60118         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
60120         * stdio-common/tst-put-error.c (do_test): Add newline to the
60121         padded test to ensure flush.
60123 2012-12-05  Jeff Law  <law@redhat.com>
60125         * sunrpc/etc.rpc (fedfs_admin): Add entry.
60127 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
60129         * README: Don't refer to ports add-on as distributed separately.
60130         Mention AArch64 in list of systems supported in the ports add-on.
60132         * LICENSES: Add more non-FSF copyright and license notices.
60134         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
60135         ((unused)).
60137         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
60139         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
60140         10000 as width of padded output.
60142 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
60144         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
60146         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
60147         variable LX with __attribute__ ((unused)).
60148         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
60149         Likewise.
60150         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
60151         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
60152         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
60153         with __attribute__ ((unused)).
60155 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
60157         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
60159 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
60161         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
60162         (CFLAGS-nldbl-acos.c): New variable.
60163         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
60164         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
60165         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
60166         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
60167         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
60168         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
60169         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
60170         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
60171         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
60172         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
60173         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
60174         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
60175         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
60176         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
60177         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
60178         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
60179         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
60180         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
60181         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
60182         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
60183         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
60184         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
60185         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
60186         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
60187         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
60188         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
60189         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
60190         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
60191         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
60192         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
60193         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
60194         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
60195         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
60196         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
60197         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
60198         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
60199         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
60200         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
60201         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
60202         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
60203         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
60204         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
60205         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
60206         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
60207         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
60208         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
60209         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
60210         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
60211         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
60212         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
60213         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
60214         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
60215         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
60216         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
60217         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
60218         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
60219         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
60220         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
60221         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
60222         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
60223         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
60224         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
60225         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
60226         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
60227         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
60228         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
60229         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
60230         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
60231         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
60232         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
60233         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
60234         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
60235         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
60236         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
60237         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
60238         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
60239         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
60240         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
60241         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
60242         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
60243         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
60244         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
60245         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
60246         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
60247         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
60248         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
60249         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
60250         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
60251         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
60252         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
60253         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
60254         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
60255         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
60256         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
60257         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
60258         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
60259         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
60261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
60262         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
60264         [BZ #14914]
60265         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
60266         whole low double instead of just low 47 bits when splitting values
60267         into two parts.
60269 2012-12-03  Allan McRae  <allan@archlinux.org>
60271         * manual/stdio.texi (Predefined Printf Handlers): Remove
60272         @hsep and @vsep usage.
60274 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
60276         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
60277         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
60279 2012-12-03  Jeff Law  <law@redhat.com>
60281         * time/sys/time.h (settimeofday): Do not mark TV argument
60282         as __nonnull.
60284 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
60286         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
60287         when currently writing and seek to current position when not.
60288         * libio/Makefile (tests): Remove bug-fclose1.
60289         * libio/bug-fclose1.c: Delete.
60291 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
60293         * manual/arith.texi (feenableexcept): Fix typo.
60294         (fedisableexcept): Likewise.
60296 2012-11-30  Roland McGrath  <roland@hack.frob.com>
60298         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
60299         second, differently-typed declaration, rather than a cast.
60301 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
60303         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
60304         * include/rpc/svc.h: ... here.
60306 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
60308         [BZ #13013]
60309         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
60310         depending n and resplen2 to catch cases where answer
60311         equals answerp2.
60313 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
60315         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
60316         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
60318 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
60320         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
60322 2012-11-29  Roland McGrath  <roland@hack.frob.com>
60324         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
60326 2012-11-28  Jeff Law  <law@redhat.com>
60328         [BZ #13761]
60329         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
60330         dataset_temporary.  Track alloca usage into alloca_used.
60331         If dataset is large allocate and release it via malloc/free.
60333 2012-06-04  Florian Weimer  <fweimer@redhat.com>
60335         [BZ #14197]
60336         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
60338 2012-11-28  David S. Miller  <davem@davemloft.net>
60340         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60342 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
60344         [BZ #14803]
60345         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
60346         of pi/2 rounded to nearest to 64 bits.
60347         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
60348         nearest to 64 bits.
60349         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
60350         bits.
60352 2012-11-28  Jeff Law <law@redhat.com>
60353             Martin Osvald <mosvald@redhat.com>
60355         [BZ #14889]
60356         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
60357         * sunrpc/svc.c: Include time.h.
60358         (__svc_accept_failed): New function.
60359         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
60360         any reason other than EINTR, call __svc_accept_failed.
60361         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
60362         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
60364 2012-11-28  Andreas Schwab  <schwab@suse.de>
60366         * scripts/abilist.awk: Also handle indirect functions in .opd
60367         section.
60369 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
60371         [BZ #13881]
60372         * sysdeps/x86/fpu/powl_helper.c: New file.
60373         * sysdeps/x86/fpu/Makefile: Likewise.
60374         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
60375         (p3): New object.
60376         (__ieee754_powl): Use __powl_helper for finite arguments except
60377         integer exponents below 8.
60378         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
60379         (p3): New object.
60380         (__ieee754_powl): Use __powl_helper for finite arguments except
60381         integer exponents below 8.
60382         * math/libm-test.inc (pow_test): Add more tests and enable some
60383         previously disabled tests.
60384         * sysdeps/i386/fpu/libm-test-ulps: Update.
60385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60387 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60388             Carlos O'Donell  <carlos_odonell@mentor.com>
60390         * nss/makedb.c (is_prime): Assert that input is odd and greater
60391         than 4.  Note that fact in a comment too.
60392         (next_prime): Add 4 to input.
60394 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
60396         [BZ #11741]
60397         * libio/Makefile (tests): Add test case tst-fwrite-error.
60398         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
60399         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
60400         * libio/tst-fwrite-error.c: New test case.
60402 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
60404         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
60405         before casting to void *.
60406         * include/libc-internal.h (__pointer_type): New macro.
60407         (__integer_if_pointer_type_sub): Likewise.
60408         (__integer_if_pointer_type): Likewise.
60409         (cast_to_integer): Likewise.
60410         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
60411         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
60412         before casting to atomic64_t.
60413         (atomic_exchange_acq): Likewise.
60414         (__arch_exchange_and_add_body): Likewise.
60415         (__arch_add_body): Likewise.
60416         (atomic_add_negative): Likewise.
60417         (atomic_add_zero): Likewise.
60419 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
60421         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
60422         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
60423         (add_fdes): Likewise.
60424         (linear_search_fdes): Likewise.
60425         (binary_search_unencoded_fdes): Likewise.
60427 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
60429         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
60431 2012-11-24  Adam Conrad  <adconrad@0c3.net>
60433         * configure.in: Autodetect C++ header directories.
60434         * configure: Regenerated.
60436 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
60438         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
60440 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
60442         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60444 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
60446         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
60447         LDBL_MANT_DIG == 106]: Disable some tests.
60448         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
60449         Likewise.
60450         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
60451         Likewise.
60453         [BZ #14871]
60454         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
60455         input for small inputs.  Return +/- pi/2 for large inputs.
60456         * math/libm-test.inc (atan_test): Add more tests.
60458         * sysdeps/generic/unwind-dw2-fde-glibc.c
60459         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
60460         __attribute__ ((unused)).
60462         [BZ #14645]
60463         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
60464         x * y if x and y are nonzero and z is zero.
60466         [BZ #14811]
60467         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
60468         nonzero exponents with absolute value below 0x1p-117 to +/-
60469         0x1p-117.
60471         [BZ #14869]
60472         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
60473         up arguments below 2**-450, not just those below 2**-500.
60474         * math/libm-test.inc (hypot_test): Add another test.
60476         [BZ #14868]
60477         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
60478         Return a+b for ratio over 2**120, not 2**60.
60479         * math/libm-test.inc (hypot_test): Add another test.
60481         * math/libm-test.inc (clog_test): Use
60482         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
60483         (clog10_test): Likewise.
60485         [BZ #6778]
60486         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
60488 2012-11-22  Andreas Schwab  <schwab@suse.de>
60490         * sysdeps/i386/fpu/libm-test-ulps: Update.
60492 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
60494         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
60495         printf output with newline.
60497 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
60499         [BZ #14865]
60500         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
60501         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
60502         -z nodlopen, -z initfirst and -z execstack support.
60503         * configure: Regenerated.
60505         * elf/elf.h (DF_1_NODIRECT): New macro.
60506         (DF_1_IGNMULDEF): Likewise.
60507         (DF_1_NOKSYMS): Likewise.
60508         (DF_1_NOHDR): Likewise.
60509         (DF_1_EDITED): Likewise.
60510         (DF_1_NORELOC): Likewise.
60511         (DF_1_SYMINTPOSE): Likewise.
60512         (DF_1_GLOBAUDIT): Likewise.
60513         (DF_1_SINGLETON): Likewise.
60514         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
60515         DT_1_SUPPORTED_MASK bits.
60516         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
60518 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
60520         * sysdeps/unix/make-syscalls.sh: Document prefixes.
60522 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
60524         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
60525         macro.
60527         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
60528         (sendmmsg): Move declarations...
60529         * socket/sys/socket.h: ... here.
60530         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
60531         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
60532         include it from...
60533         * socket/recvmmsg.c: ... this new file.
60534         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
60535         (sendmmsg): Rename to __sendmmsg, create weak alias and make
60536         definition of __sendmmsg hidden.
60537         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
60538         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
60539         Move ENOSYS stub into and include it from...
60540         * socket/sendmmsg.c: ... this new file.
60541         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
60542         (sysdep_routines): Move recvmmsg and sendmmsg...
60543         * socket/Makefile (routines): ... here.
60544         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
60545         (GLIBC_PRIVATE): Add __sendmmsg.
60546         * include/sys/socket.h (__sendmmsg): Add declarations.
60547         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
60548         sendmmsg.
60550 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
60552         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
60553         variable I1 with __attribute__ ((unused)).
60554         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
60556 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
60558         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
60559         DUMMY variables with __attribute__ ((unused)).
60561         * bits/byteswap.h: Include <bits/types.h>.
60562         (__bswap_64): Use __uint64_t instead of unsigned long long int.
60564 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
60566         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
60567         string_t.  Do not manually set errno.
60568         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
60569         length with __strnlen.  Make sure to both set errno and return it on
60570         failure.
60572 2012-11-19  David S. Miller  <davem@davemloft.net>
60574         With help from Joseph Myers.
60575         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
60576         very large arguments properly.
60577         * math/libm-test.inc (atan_test): New tests.
60578         (atan2_test): New tests.
60579         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60580         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60582 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
60584         [BZ #14856]
60585         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
60586         Define to 3.
60588         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
60589         [POSIX] (EADDRNOTAVAIL): Likewise.
60590         [POSIX] (EAFNOSUPPORT): Likewise.
60591         [POSIX] (EALREADY): Likewise.
60592         [POSIX] (ECONNABORTED): Likewise.
60593         [POSIX] (ECONNREFUSED): Likewise.
60594         [POSIX] (ECONNRESET): Likewise.
60595         [POSIX] (EDESTADDRREQ): Likewise.
60596         [POSIX] (EDQUOT): Likewise.
60597         [POSIX] (EHOSTUNREACH): Likewise.
60598         [POSIX] (EIDRM): Likewise.
60599         [POSIX] (EISCONN): Likewise.
60600         [POSIX] (ELOOP): Likewise.
60601         [POSIX] (EMULTIHOP): Likewise.
60602         [POSIX] (ENETDOWN): Likewise.
60603         [POSIX] (ENETUNREACH): Likewise.
60604         [POSIX] (ENOBUFS): Likewise.
60605         [POSIX] (ENODATA): Likewise.
60606         [POSIX] (ENOLINK): Likewise.
60607         [POSIX] (ENOMSG): Likewise.
60608         [POSIX] (ENOPROTOOPT): Likewise.
60609         [POSIX] (ENOSR): Likewise.
60610         [POSIX] (ENOSTR): Likewise.
60611         [POSIX] (ENOTCONN): Likewise.
60612         [POSIX] (ENOTSOCK): Likewise.
60613         [POSIX] (EOPNOTSUPP): Likewise.
60614         [POSIX] (EOVERFLOW): Likewise.
60615         [POSIX] (EPROTO): Likewise.
60616         [POSIX] (EPROTONOSUPPORT): Likewise.
60617         [POSIX] (EPROTOTYPE): Likewise.
60618         [POSIX] (ESTALE): Likewise.
60619         [POSIX] (ETIME): Likewise.
60620         [POSIX] (ETXTBSY): Likewise.
60621         [POSIX] (EWOULDBLOCK): Likewise.
60622         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
60623         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
60624         [POSIX] (SEEK_CUR): Likewise.
60625         [POSIX] (SEEK_END): Likewise.
60626         [POSIX || UNIX98] (mode_t): Do not require.
60627         [POSIX] (off_t): Likewise.
60628         [POSIX] (pid_t): Likewise.
60629         [POSIX] (sys/stat.h): Do not allow header.
60630         [POSIX] (unistd.h): Likewise.
60631         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
60632         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
60633         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
60634         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
60635         require.
60636         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
60637         sigevent): Specify elements.
60638         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
60639         entry.
60640         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
60641         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
60643         * conform/data/cpio.h-data [POSIX]: Disable whole file.
60644         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
60645         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
60646         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
60647         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
60648         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
60649         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
60650         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
60651         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
60652         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
60653         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
60654         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
60655         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
60656         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
60657         Likewise.
60658         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
60659         Likewise.
60660         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
60661         Likewise.
60662         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
60663         Likewise.
60664         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
60665         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
60666         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
60667         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
60668         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
60669         Specify lower bound on value.
60670         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
60671         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
60672         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
60673         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
60674         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
60675         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
60676         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
60677         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
60678         value.
60679         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
60680         as optional.
60681         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
60682         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
60683         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
60684         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
60685         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
60686         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
60687         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
60688         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
60689         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
60690         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
60691         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
60692         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
60693         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
60694         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
60695         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
60696         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
60697         entry.
60698         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
60699         optional.
60700         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
60701         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
60702         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
60703         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
60704         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
60705         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
60706         Likewise.
60707         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
60708         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
60709         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
60710         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
60711         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
60712         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
60713         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
60714         as optional.
60715         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
60716         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
60717         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
60718         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
60719         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
60720         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
60721         specify as optional.
60722         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
60723         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
60724         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
60725         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
60726         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
60727         [XPG3] (NL_LANGMAX): Likewise.
60728         [POSIX || XPG3] (NL_MSGMAX): Likewise.
60729         [POSIX || XPG3] (NL_NMAX): Likewise.
60730         [POSIX || XPG3] (NL_SETMAX): Likewise.
60731         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
60732         [XPG3] (NZERO): Likewise.
60733         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
60734         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
60735         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
60736         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
60737         (REG_ERANGE): Expect.
60738         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
60739         optional-constant.
60740         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
60741         Use (void) in prototype.
60742         [POSIX] (*_t): Allow.
60743         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
60744         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
60745         (WRDE_BADVAL): Expect.
60747         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
60748         expect.
60749         [XPG3 || XPG4] (O_RSYNC): Likewise.
60750         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
60751         Likewise.
60752         [XPG3 || XPG4] (pthread_sigmask): Likewise.
60753         [XPG3 || XPG4] (sigqueue): Likewise.
60754         [XPG3 || XPG4] (sigtimedwait): Likewise.
60755         [XPG3 || XPG4] (sigwaitinfo): Likewise.
60756         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
60757         [XPG3 || XPG4] (vsnprintf): Likewise.
60758         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
60759         Likewise.
60760         [XPG3 || XPG4] (blksize_t): Likewise.
60761         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
60762         Likewise.
60763         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
60764         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
60765         [XPG3 || XPG4] (struct itimerspec): Likewise.
60766         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
60767         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
60768         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
60769         [XPG3 || XPG4] (clockid_t): Likewise.
60770         [XPG3 || XPG4] (timer_t): Likewise.
60771         [XPG3 || XPG4] (clock_getres): Likewise.
60772         [XPG3 || XPG4] (clock_gettime): Likewise.
60773         [XPG3 || XPG4] (clock_settime): Likewise.
60774         [XPG3 || XPG4] (nanosleep): Likewise.
60775         [XPG3 || XPG4] (timer_create): Likewise.
60776         [XPG3 || XPG4] (timer_delete): Likewise.
60777         [XPG3 || XPG4] (timer_gettime): Likewise.
60778         [XPG3 || XPG4] (timer_getoverrun): Likewise.
60779         [XPG3 || XPG4] (timer_settime): Likewise.
60780         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
60781         [XPG3 || XPG4] (getlogin_r): Likewise.
60782         [XPG3 || XPG4] (pread): Likewise.
60783         [XPG3 || XPG4] (pthread_atfork): Likewise.
60784         [XPG3 || XPG4] (pwrite): Likewise.
60786         [BZ #14835]
60787         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
60788         <bits/siginfo.h>.
60790 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
60792         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
60793         finalizing MALLSTREAM.
60795         * sysdeps/mach/hurd/syncfs.c: New file.
60797 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
60799         [BZ #14719]
60800         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
60801         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
60802         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
60803         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
60804         (_nss_dns_gethostbyname4_r): Likewise.
60805         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
60806         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
60808 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
60810         [BZ #13763]
60811         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
60813 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
60815         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
60816         * elf/cache.c (print_entry): Print ",AArch64" for
60817         FLAG_AARCH64_LIB64
60819         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
60820         * elf/cache.c (print_entry): Print ",hard-float" for
60821         FLAG_ARM_LIBHF.
60823 2012-11-18  David S. Miller  <davem@davemloft.net>
60825         With help from Joseph Myers.
60826         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
60827         cutoff to 2**-13.
60828         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
60829         cutoff to 2**-25.
60830         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
60831         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
60832         small.
60833         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
60834         * math/libm-test.inc (y0_test): New tests.
60835         (y1_test): New tests.
60836         * sysdeps/i386/fpu/libm-test-ulps: Update.
60837         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60838         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60840 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
60842         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
60843         64-bit targets.
60844         * configure: Regenerated.
60846 2012-11-17  David S. Miller  <davem@davemloft.net>
60848         [BZ #14811]
60849         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
60850         nonzero exponents with absolute value below 0x1p-128 to +/-
60851         0x1p-128.
60853 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
60855         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
60857         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
60859         * posix/getconf-speclist.c: New file.
60860         * posix/posix-envs.def: Likewise.
60861         * posix/confstr.c (START_ENV_GROUP): New macro.
60862         (END_ENV_GROUP): Likewise.
60863         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
60864         (KNOWN_PRESENT_ENV_STRING): Likewise.
60865         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
60866         (UNKNOWN_ENVIRONMENT): Likewise.
60867         (confstr): Include posix-envs.def instead of handling
60868         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
60869         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
60870         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
60871         (END_ENV_GROUP): Likewise.
60872         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
60873         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
60874         (UNKNOWN_ENVIRONMENT): Likewise.
60875         (__sysconf): Include posix-envs.def instead of handling associated
60876         cases directly here.
60877         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
60878         preprocessing getconf-speclist.c rather than running getconf or
60879         generating empty file.
60881 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
60883         * scripts/check-local-headers.sh: Ignore 'mach' headers.
60885 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
60887         [BZ #14672]
60888         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
60890 2012-11-16  David S. Miller  <davem@davemloft.net>
60892         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
60893         smaller than LDBL_EPSILON/2.0L, just return xm1.
60895 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
60897         * elf/tst-array1.c (init): Set constructor priority to 1000.
60898         (fini): Set destructor priority to 1000.
60899         * elf/tst-array2dep.c: Likewise.
60901 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
60903         [BZ #11741]
60904         * libio/fileops.c (_IO_new_file_write): Correctly return error.
60905         (_IO_new_file_xsputn): Also return EOF if none of the input
60906         data was written when overflow failed.
60907         * libio/iopadn.c (_IO_padn): Likewise.
60908         * libio/iowpadn.c (_IO_wpadn): Likewise.
60909         * stdio-common/tst-put-error.c: Add copyright notice.
60910         (do_test): Add case for printing padded string.
60911         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
60912         _IO_padn returned error.
60913         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
60914         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
60915         return EOF.
60917 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
60919         * libio/libioP.h: Add comment note that the references to C++
60920         bits are now obsolete.
60922 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60924         * math/libm-test.inc (check_complex): Use asprintf.
60926 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
60928         * debug/pcprofiledump.c (print_version): Update copyright year.
60929         * malloc/memusagestat.c (print_version): Likewise.
60931 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
60933         [BZ #14831]
60934         * elf/Makefile (tests): Add tst-audit8.
60935         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
60936         ($(objpfx)tst-audit8.out): New target.
60937         (tst-audit8-ENV): New variable.
60938         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
60939         audit if l_reloc_result is NULL.
60940         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
60941         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
60942         * elf/tst-audit8.c: New file.
60944 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60946         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
60947         * misc/Makefile (CFLAGS-select.c): Define.
60948         * posix/Makefile (CFLAGS-pause.c): Define.
60950 2012-11-13  David S. Miller  <davem@davemloft.net>
60952         * crypt/Makefile: Move test targets after toplevel Rules
60953         inclusion.  Grab any necessary sysdep routines when linking.
60954         * crypt/md5.c (md5_process_block): Remove define, we will always
60955         name it __md5_process_block.
60956         (md5_finish_ctx): Update md5_process_block call.
60957         (md5_stream): Likewise.
60958         (md5_process_bytes): Likewise.
60959         (md5_process_block): Rename to __md5_process_block and move to ...
60960         * crypt/md5-block.c: ... here.
60961         * crypt/sha256.c (sha256_process_block): Move to ...
60962         * crypt/sha256-block.c: ... here.
60963         * crypt/sha512.c (sha512_process_block): Move to ...
60964         * crypt/sha512-block.c: ... here.
60965         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
60966         path.
60967         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
60968         * sysdeps/sparc/sparc64/multiarch/Makefile
60969         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
60970         crypt subdir.
60971         (localedef-aux): Add md5 crypto assembler when in locale subdir.
60972         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
60973         multiarch changes.
60974         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
60975         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
60976         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
60977         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
60978         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
60979         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
60980         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
60981         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
60982         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
60983         file.
60984         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
60985         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
60986         file.
60987         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
60989 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
60991         * timezone/tzselect.ksh: Update from tzcode git revision
60992         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
60993         * timezone/zdump.c: Likewise.
60994         * timezone/zic.c: Likewise.
60995         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
60996         in TZVERSION setting, not $(PKGVERSION).
60997         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
60998         REPORT_BUGS_TO settings.
61000         [BZ #14838]
61001         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
61002         macro.
61004 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61006         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
61007         detection to immediately after _FP_ROUND().
61008         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
61009         bits are 0.
61011 2012-11-11  David S. Miller  <davem@davemloft.net>
61013         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
61014         inttypes.h
61015         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
61016         __close rather than their public counterparts.
61018 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
61020         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
61021         file.
61022         [UNIX98] (sem_timedwait): Do not expect.
61023         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
61024         [XPG4 || UNIX98] (sockatmark): Do not expect.
61025         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
61026         (clock_getcpuclockid): Do not expect.
61027         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
61028         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
61029         Do not expect.
61030         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
61031         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
61032         [UNIX98] (vwscanf): Likewise.
61033         [UNIX98] (vswscanf): Likewise.
61035 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
61037         * timezone/version.h: Remove file.
61038         * timezone/README: Do not refer to version.h.
61039         * timezone/Makefile ($(objpfx)zic.o): New dependency on
61040         $(objpfx)version.h.
61041         ($(objpfx)zdump.o): Likewise.
61042         ($(objpfx)version.h): New target.
61044         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
61045         2012i.
61046         * timezone/README: Don't mention modification to tzselect.ksh.
61047         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
61048         work on unmodified tzselect.ksh.  Substitute version numbers in
61049         tzselect.ksh.
61051         * Makefile (format-me): Remove.
61052         (INSTALL): Adjust indentation.  Use commands directly instead of
61053         using $(format-me).
61055         * aclocal.m4 (ACX_PKGVERSION): New macro.
61056         (ACX_BUGURL): Likewise.
61057         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
61058         (PKGVERSION): New AC_DEFINE_UNQUOTED.
61059         (REPORT_BUGS_TO): Likewise.
61060         * configure: Regenerated.
61061         * config.h.in (PKGVERSION): New macro.
61062         (REPORT_BUGS_TO): Likewise.
61063         * config.make.in (PKGVERSION): New variable.
61064         (PKGVERSION_TEXI): Likewise.
61065         (REPORT_BUGS_TO): Likewise.
61066         (REPORT_BUGS_TEXI): Likewise.
61067         * Makefile (format-me): Use -I$(common-objpfx)manual.
61068         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
61069         ($(common-objpfx)manual/%): New target.
61070         (manual/%): Remove target.
61071         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
61072         (print_version): Use PKGVERSION.
61073         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
61074         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
61075         and REPORT_BUGS_TO.
61076         ($(objpfx)xtrace): Likewise.
61077         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
61078         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
61079         (print_version): Use PKGVERSION.
61080         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
61081         (do_version): Use PKGVERSION.
61082         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
61083         REPORT_BUGS_TO.
61084         (common-ldd-rewrite): Likewise.
61085         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
61086         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
61087         (print_version): Use PKGVERSION.
61088         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
61089         * elf/pldd.c (argp_program_bug_address): Remove variable.
61090         (more_help): New function.
61091         (argp): Use more_help.
61092         (print_version): Use PKGVERSION.
61093         * elf/sln.c (main): Use PKGVERSION.
61094         (usage): Use REPORT_BUGS_TO.
61095         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
61096         (top level): Use PKGVERSION.
61097         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
61098         (print_version): Use PKGVERSION.
61099         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
61100         (print_version): Use PKGVERSION.
61101         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
61102         (print_version): Use PKGVERSION.
61103         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
61104         (print_version): Use PKGVERSION.
61105         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
61106         (print_version): Use PKGVERSION.
61107         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
61108         (print_version): Use PKGVERSION.
61109         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
61110         and BUGURL.
61111         ($(objpfx)memusage): Likewise.
61112         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
61113         (do_version): Use PKGVERSION.
61114         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
61115         (print_version): Use PKGVERSION.
61116         * malloc/mtrace.pl ($PACKAGE): Remove variable.
61117         ($PKGVERSION): New variable.
61118         ($REPORT_BUGS_TO): Likewise.
61119         (usage): Use $REPORT_BUGS_TO.
61120         (top level): Use $PKGVERSION.
61121         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
61122         ($(objpfx)pkgvers.texi): New rule.
61123         ($(objpfx)stamp-pkgvers): Likewise.
61124         * manual/install.texi: Include pkgvers.texi.
61125         (--with-pkgversion): Document new configure option.
61126         (--with-bugurl): Likewise.
61127         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
61128         than necessarily for this particular distribution.  Use
61129         REPORT_BUGS_TO for where to report bugs.
61130         * INSTALL: Regenerated.
61131         * manual/libc.texinfo: Include pkgvers.texi.
61132         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
61133         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
61134         (print_version): Use PKGVERSION.
61135         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
61136         (print_version): Use PKGVERSION.
61137         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
61138         (print_version): Use PKGVERSION.
61139         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
61140         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
61141         macro.
61142         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
61143         (print_version): Use PKGVERSION.
61144         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
61145         (print_version): Use PKGVERSION.
61146         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
61147         and PKGVERSION.
61149         * timezone/checktab.awk: Update from tzcode 2012i.
61150         * timezone/ialloc.c: Likewise.
61151         * timezone/private.h: Likewise.
61152         * timezone/scheck.c: Likewise.
61153         * timezone/tzfile.h: Likewise.
61154         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
61155         (TZVERSION): Hardcode tzcode version number.
61156         * timezone/zdump.c: Update from tzcode 2012i.
61157         * timezone/zic.c: Likewise.
61158         * timezone/version.h: New file.
61159         * timezone/README: Describe version.h.  Update upstream location.
61161         [BZ #14824]
61162         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
61163         (mktemp): Enable declaration.
61164         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
61165         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
61166         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
61167         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
61168         Likewise.
61169         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
61170         Likewise.
61171         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
61172         Likewise.
61173         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
61174         Likewise.
61175         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
61176         Likewise.
61177         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
61178         Likewise.
61180         [BZ #14821]
61181         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
61182         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
61183         for copies of such integer values.
61184         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
61185         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
61187 2012-11-09  Andreas Jaeger  <aj@suse.de>
61189         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
61190         definitions and declarations that are provided by
61191         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
61193 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61195         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
61196         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
61197         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
61198         definition.
61200 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61202         * elf/elf.h: Update comment before AArch64 relocations.
61204 2012-11-07  David S. Miller  <davem@davemloft.net>
61206         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
61207         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
61208         (__start_context): Declare.
61209         (__makecontext_ret): Delete.
61210         (__makecontext): Hook up __start_context instead of
61211         __makecontext_ret.
61212         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
61213         (sysdep_routines): Add __start_context when in stdlib.
61215 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
61217         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
61218         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
61219         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
61220         hardcoded "nm".
61221         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
61222         (READELF): New variable.  Use it instead of hardcoded "readelf".
61224 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
61226         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
61227         * sysdeps/x86/Makefile: Here.
61228         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
61229         * sysdeps/x86/tst-xmmymm.sh: This.
61231 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
61233         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
61234         expectations.
61235         [UNIX98] (pthread_barrier_t): Do not expect.
61236         [UNIX98] (pthread_barrierattr_t): Likewise.
61237         [UNIX98] (pthread_spinlock_t): Likewise.
61238         [UNIX98] (pthread_barrier_destroy): Likewise.
61239         [UNIX98] (pthread_barrier_init): Likewise.
61240         [UNIX98] (pthread_barrier_wait): Likewise.
61241         [UNIX98] (pthread_barrierattr_destroy): Likewise.
61242         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
61243         [UNIX98] (pthread_barrierattr_init): Likewise.
61244         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
61245         [UNIX98] (pthread_getcpuclockid): Likewise.
61246         [UNIX98] (pthread_mutex_timedlock): Likewise.
61247         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
61248         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
61249         [UNIX98] (pthread_sigmask): Likewise.
61250         [UNIX98] (pthread_spin_destroy): Likewise.
61251         [UNIX98] (pthread_spin_init): Likewise.
61252         [UNIX98] (pthread_spin_lock): Likewise.
61253         [UNIX98] (pthread_spin_trylock): Likewise.
61254         [UNIX98] (pthread_spin_unlock): Likewise.
61255         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
61256         Do not expect.
61257         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
61258         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
61259         [XPG3 || XPG4] (pthread_cond_t): Likewise.
61260         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
61261         [XPG3 || XPG4] (pthread_key_t): Likewise.
61262         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
61263         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
61264         [XPG3 || XPG4] (pthread_once_t): Likewise.
61265         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
61266         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
61267         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
61268         [XPG3 || XPG4] (pthread_t): Likewise.
61270         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
61271         not expect.
61272         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
61274         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
61275         Change function return type to int.
61277         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
61278         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
61279         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
61280         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
61281         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
61282         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
61283         [!POSIX] (posix_madvise): Likewise.
61284         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
61285         && !UNIX98].
61286         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
61287         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
61288         (mode_t): Likewise.
61289         (posix_mem_offset): Likewise.
61290         (posix_typed_mem_get_info): Likewise.
61291         (posix_typed_mem_open): Likewise.
61293         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
61294         Change condition to [XOPEN2K8].
61296         * conform/conformtest.pl: Preprocess allow-header data with -x c
61297         instead of from stdin.
61298         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
61299         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
61300         [C99-based standards] (cerfc): Likewise.
61301         [C99-based standards] (cexp2): Likewise.
61302         [C99-based standards] (cexpm1): Likewise.
61303         [C99-based standards] (clog10): Likewise.
61304         [C99-based standards] (clog1p): Likewise.
61305         [C99-based standards] (clog2): Likewise.
61306         [C99-based standards] (clgamma): Likewise.
61307         [C99-based standards] (ctgamma): Likewise.
61308         [C99-based standards] (cerff): Likewise.
61309         [C99-based standards] (cerfcf): Likewise.
61310         [C99-based standards] (cexp2f): Likewise.
61311         [C99-based standards] (cexpm1f): Likewise.
61312         [C99-based standards] (clog10f): Likewise.
61313         [C99-based standards] (clog1pf): Likewise.
61314         [C99-based standards] (clog2f): Likewise.
61315         [C99-based standards] (clgammaf): Likewise.
61316         [C99-based standards] (ctgammaf): Likewise.
61317         [C99-based standards] (cerfl): Likewise.
61318         [C99-based standards] (cerfcl): Likewise.
61319         [C99-based standards] (cexp2l): Likewise.
61320         [C99-based standards] (cexpm1l): Likewise.
61321         [C99-based standards] (clog10l): Likewise.
61322         [C99-based standards] (clog1pl): Likewise.
61323         [C99-based standards] (clog2l): Likewise.
61324         [C99-based standards] (clgammal): Likewise.
61325         [C99-based standards] (ctgammal): Likewise.
61326         * conform/data/inttypes.h-data [C99-based standards]: Include
61327         stdint.h-data.  Remove all expectations for stdint.h contents.
61328         [C99-based standards] (PRI*): Do not allow.
61329         [C99-based standards] (SCN*): Likewise.
61330         [C99-based standards] (*_t): Likewise.
61331         [C99-based-standards] (PRId8): Expect macro.
61332         [C99-based-standards] (PRIi8): Likewise.
61333         [C99-based-standards] (PRIo8): Likewise.
61334         [C99-based-standards] (PRIu8): Likewise.
61335         [C99-based-standards] (PRIx8): Likewise.
61336         [C99-based-standards] (PRIX8): Likewise.
61337         [C99-based-standards] (SCNd8): Likewise.
61338         [C99-based-standards] (SCNi8): Likewise.
61339         [C99-based-standards] (SCNo8): Likewise.
61340         [C99-based-standards] (SCNu8): Likewise.
61341         [C99-based-standards] (SCNx8): Likewise.
61342         [C99-based-standards] (PRIdLEAST8): Likewise.
61343         [C99-based-standards] (PRIiLEAST8): Likewise.
61344         [C99-based-standards] (PRIoLEAST8): Likewise.
61345         [C99-based-standards] (PRIuLEAST8): Likewise.
61346         [C99-based-standards] (PRIxLEAST8): Likewise.
61347         [C99-based-standards] (PRIXLEAST8): Likewise.
61348         [C99-based-standards] (SCNdLEAST8): Likewise.
61349         [C99-based-standards] (SCNiLEAST8): Likewise.
61350         [C99-based-standards] (SCNoLEAST8): Likewise.
61351         [C99-based-standards] (SCNuLEAST8): Likewise.
61352         [C99-based-standards] (SCNxLEAST8): Likewise.
61353         [C99-based-standards] (PRIdFAST8): Likewise.
61354         [C99-based-standards] (PRIiFAST8): Likewise.
61355         [C99-based-standards] (PRIoFAST8): Likewise.
61356         [C99-based-standards] (PRIuFAST8): Likewise.
61357         [C99-based-standards] (PRIxFAST8): Likewise.
61358         [C99-based-standards] (PRIXFAST8): Likewise.
61359         [C99-based-standards] (SCNdFAST8): Likewise.
61360         [C99-based-standards] (SCNiFAST8): Likewise.
61361         [C99-based-standards] (SCNoFAST8): Likewise.
61362         [C99-based-standards] (SCNuFAST8): Likewise.
61363         [C99-based-standards] (SCNxFAST8): Likewise.
61364         [C99-based-standards] (PRId16): Likewise.
61365         [C99-based-standards] (PRIi16): Likewise.
61366         [C99-based-standards] (PRIo16): Likewise.
61367         [C99-based-standards] (PRIu16): Likewise.
61368         [C99-based-standards] (PRIx16): Likewise.
61369         [C99-based-standards] (PRIX16): Likewise.
61370         [C99-based-standards] (SCNd16): Likewise.
61371         [C99-based-standards] (SCNi16): Likewise.
61372         [C99-based-standards] (SCNo16): Likewise.
61373         [C99-based-standards] (SCNu16): Likewise.
61374         [C99-based-standards] (SCNx16): Likewise.
61375         [C99-based-standards] (PRIdLEAST16): Likewise.
61376         [C99-based-standards] (PRIiLEAST16): Likewise.
61377         [C99-based-standards] (PRIoLEAST16): Likewise.
61378         [C99-based-standards] (PRIuLEAST16): Likewise.
61379         [C99-based-standards] (PRIxLEAST16): Likewise.
61380         [C99-based-standards] (PRIXLEAST16): Likewise.
61381         [C99-based-standards] (SCNdLEAST16): Likewise.
61382         [C99-based-standards] (SCNiLEAST16): Likewise.
61383         [C99-based-standards] (SCNoLEAST16): Likewise.
61384         [C99-based-standards] (SCNuLEAST16): Likewise.
61385         [C99-based-standards] (SCNxLEAST16): Likewise.
61386         [C99-based-standards] (PRIdFAST16): Likewise.
61387         [C99-based-standards] (PRIiFAST16): Likewise.
61388         [C99-based-standards] (PRIoFAST16): Likewise.
61389         [C99-based-standards] (PRIuFAST16): Likewise.
61390         [C99-based-standards] (PRIxFAST16): Likewise.
61391         [C99-based-standards] (PRIXFAST16): Likewise.
61392         [C99-based-standards] (SCNdFAST16): Likewise.
61393         [C99-based-standards] (SCNiFAST16): Likewise.
61394         [C99-based-standards] (SCNoFAST16): Likewise.
61395         [C99-based-standards] (SCNuFAST16): Likewise.
61396         [C99-based-standards] (SCNxFAST16): Likewise.
61397         [C99-based-standards] (PRId32): Likewise.
61398         [C99-based-standards] (PRIi32): Likewise.
61399         [C99-based-standards] (PRIo32): Likewise.
61400         [C99-based-standards] (PRIu32): Likewise.
61401         [C99-based-standards] (PRIx32): Likewise.
61402         [C99-based-standards] (PRIX32): Likewise.
61403         [C99-based-standards] (SCNd32): Likewise.
61404         [C99-based-standards] (SCNi32): Likewise.
61405         [C99-based-standards] (SCNo32): Likewise.
61406         [C99-based-standards] (SCNu32): Likewise.
61407         [C99-based-standards] (SCNx32): Likewise.
61408         [C99-based-standards] (PRIdLEAST32): Likewise.
61409         [C99-based-standards] (PRIiLEAST32): Likewise.
61410         [C99-based-standards] (PRIoLEAST32): Likewise.
61411         [C99-based-standards] (PRIuLEAST32): Likewise.
61412         [C99-based-standards] (PRIxLEAST32): Likewise.
61413         [C99-based-standards] (PRIXLEAST32): Likewise.
61414         [C99-based-standards] (SCNdLEAST32): Likewise.
61415         [C99-based-standards] (SCNiLEAST32): Likewise.
61416         [C99-based-standards] (SCNoLEAST32): Likewise.
61417         [C99-based-standards] (SCNuLEAST32): Likewise.
61418         [C99-based-standards] (SCNxLEAST32): Likewise.
61419         [C99-based-standards] (PRIdFAST32): Likewise.
61420         [C99-based-standards] (PRIiFAST32): Likewise.
61421         [C99-based-standards] (PRIoFAST32): Likewise.
61422         [C99-based-standards] (PRIuFAST32): Likewise.
61423         [C99-based-standards] (PRIxFAST32): Likewise.
61424         [C99-based-standards] (PRIXFAST32): Likewise.
61425         [C99-based-standards] (SCNdFAST32): Likewise.
61426         [C99-based-standards] (SCNiFAST32): Likewise.
61427         [C99-based-standards] (SCNoFAST32): Likewise.
61428         [C99-based-standards] (SCNuFAST32): Likewise.
61429         [C99-based-standards] (SCNxFAST32): Likewise.
61430         [C99-based-standards] (PRId64): Likewise.
61431         [C99-based-standards] (PRIi64): Likewise.
61432         [C99-based-standards] (PRIo64): Likewise.
61433         [C99-based-standards] (PRIu64): Likewise.
61434         [C99-based-standards] (PRIx64): Likewise.
61435         [C99-based-standards] (PRIX64): Likewise.
61436         [C99-based-standards] (SCNd64): Likewise.
61437         [C99-based-standards] (SCNi64): Likewise.
61438         [C99-based-standards] (SCNo64): Likewise.
61439         [C99-based-standards] (SCNu64): Likewise.
61440         [C99-based-standards] (SCNx64): Likewise.
61441         [C99-based-standards] (PRIdLEAST64): Likewise.
61442         [C99-based-standards] (PRIiLEAST64): Likewise.
61443         [C99-based-standards] (PRIoLEAST64): Likewise.
61444         [C99-based-standards] (PRIuLEAST64): Likewise.
61445         [C99-based-standards] (PRIxLEAST64): Likewise.
61446         [C99-based-standards] (PRIXLEAST64): Likewise.
61447         [C99-based-standards] (SCNdLEAST64): Likewise.
61448         [C99-based-standards] (SCNiLEAST64): Likewise.
61449         [C99-based-standards] (SCNoLEAST64): Likewise.
61450         [C99-based-standards] (SCNuLEAST64): Likewise.
61451         [C99-based-standards] (SCNxLEAST64): Likewise.
61452         [C99-based-standards] (PRIdFAST64): Likewise.
61453         [C99-based-standards] (PRIiFAST64): Likewise.
61454         [C99-based-standards] (PRIoFAST64): Likewise.
61455         [C99-based-standards] (PRIuFAST64): Likewise.
61456         [C99-based-standards] (PRIxFAST64): Likewise.
61457         [C99-based-standards] (PRIXFAST64): Likewise.
61458         [C99-based-standards] (SCNdFAST64): Likewise.
61459         [C99-based-standards] (SCNiFAST64): Likewise.
61460         [C99-based-standards] (SCNoFAST64): Likewise.
61461         [C99-based-standards] (SCNuFAST64): Likewise.
61462         [C99-based-standards] (SCNxFAST64): Likewise.
61463         [C99-based-standards] (PRIdMAX): Likewise.
61464         [C99-based-standards] (PRIiMAX): Likewise.
61465         [C99-based-standards] (PRIoMAX): Likewise.
61466         [C99-based-standards] (PRIuMAX): Likewise.
61467         [C99-based-standards] (PRIxMAX): Likewise.
61468         [C99-based-standards] (PRIXMAX): Likewise.
61469         [C99-based-standards] (SCNdMAX): Likewise.
61470         [C99-based-standards] (SCNiMAX): Likewise.
61471         [C99-based-standards] (SCNoMAX): Likewise.
61472         [C99-based-standards] (SCNuMAX): Likewise.
61473         [C99-based-standards] (SCNxMAX): Likewise.
61474         [C99-based-standards] (PRIdPTR): Likewise.
61475         [C99-based-standards] (PRIiPTR): Likewise.
61476         [C99-based-standards] (PRIoPTR): Likewise.
61477         [C99-based-standards] (PRIuPTR): Likewise.
61478         [C99-based-standards] (PRIxPTR): Likewise.
61479         [C99-based-standards] (PRIXPTR): Likewise.
61480         [C99-based-standards] (SCNdPTR): Likewise.
61481         [C99-based-standards] (SCNiPTR): Likewise.
61482         [C99-based-standards] (SCNoPTR): Likewise.
61483         [C99-based-standards] (SCNuPTR): Likewise.
61484         [C99-based-standards] (SCNxPTR): Likewise.
61485         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
61486         allow.
61487         * conform/data/stdint.h-data: Update comments to clarify
61488         requirements.
61489         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
61490         type.
61491         [C99-based standards] (INT8_MAX): Likewise.
61492         [C99-based standards] (INT16_MIN): Likewise.
61493         [C99-based standards] (INT16_MAX): Likewise.
61494         [C99-based standards] (INT32_MIN): Likewise.
61495         [C99-based standards] (INT32_MAX): Likewise.
61496         [C99-based standards] (INT64_MIN): Likewise.
61497         [C99-based standards] (INT64_MAX): Likewise.
61498         [C99-based standards] (UINT8_MAX): Likewise.
61499         [C99-based standards] (UINT16_MAX): Likewise.
61500         [C99-based standards] (UINT32_MAX): Likewise.
61501         [C99-based standards] (UINT64_MAX): Likewise.
61502         [C99-based standards] (INT_LEAST8_MIN): Likewise.
61503         [C99-based standards] (INT_LEAST8_MAX): Likewise.
61504         [C99-based standards] (INT_LEAST16_MIN): Likewise.
61505         [C99-based standards] (INT_LEAST16_MAX): Likewise.
61506         [C99-based standards] (INT_LEAST32_MIN): Likewise.
61507         [C99-based standards] (INT_LEAST32_MAX): Likewise.
61508         [C99-based standards] (INT_LEAST64_MIN): Likewise.
61509         [C99-based standards] (INT_LEAST64_MAX): Likewise.
61510         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
61511         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
61512         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
61513         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
61514         [C99-based standards] (INT_FAST8_MIN): Likewise.
61515         [C99-based standards] (INT_FAST8_MAX): Likewise.
61516         [C99-based standards] (INT_FAST16_MIN): Likewise.
61517         [C99-based standards] (INT_FAST16_MAX): Likewise.
61518         [C99-based standards] (INT_FAST32_MIN): Likewise.
61519         [C99-based standards] (INT_FAST32_MAX): Likewise.
61520         [C99-based standards] (INT_FAST64_MIN): Likewise.
61521         [C99-based standards] (INT_FAST64_MAX): Likewise.
61522         [C99-based standards] (UINT_FAST8_MAX): Likewise.
61523         [C99-based standards] (UINT_FAST16_MAX): Likewise.
61524         [C99-based standards] (UINT_FAST32_MAX): Likewise.
61525         [C99-based standards] (UINT_FAST64_MAX): Likewise.
61526         [C99-based standards] (INTPTR_MIN): Likewise.
61527         [C99-based standards] (INTPTR_MAX): Likewise.
61528         [C99-based standards] (UINTPTR_MAX): Likewise.
61529         [C99-based standards] (INTMAX_MIN): Likewise.
61530         [C99-based standards] (INTMAX_MAX): Likewise.
61531         [C99-based standards] (UINTMAX_MAX): Likewise.
61532         [C99-based standards] (PTRDIFF_MIN): Likewise.
61533         [C99-based standards] (PTRDIFF_MAX): Likewise.
61534         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
61535         [C99-based standards] (SIZE_MAX): Likewise.
61536         [C99-based standards] (WCHAR_MAX): Likewise.
61537         [C99-based standards] (WINT_MAX): Likewise.
61538         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
61539         constraint on value.
61540         [C99-based standards] (WCHAR_MIN): Likewise.
61541         [C99-based standards] (WINT_MIN): Likewise.
61542         [C99-based standards] (*_t): Allow.
61543         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
61544         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
61545         Include math.h-data and complex.h-data.  Remove all expectations
61546         of math.h and complex.h contents.
61547         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
61548         at end of line.
61549         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
61550         (struct tm): Expect tag.
61551         [C99-based-standards] (wcstof): Expect function.
61552         [C99-based-standards] (wcstold): Likewise.
61553         [C99-based-standards] (wcstoll): Likewise.
61554         [C99-based-standards] (wcstoull): Likewise.
61555         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
61556         macro-int-constant.  Specify type.
61557         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
61558         constraint on value.
61559         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
61560         Specify type.
61561         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
61562         Specify value.
61563         [ISO C standards]: Do not allow headers.
61564         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
61565         wcs[abcdefghijklmnopqrstuvwxyz]*.
61566         [ISO C standards] (*_t): Do not allow.
61567         * conform/data/wctype.h-data [C99-based standards] (iswblank):
61568         Expect function.
61569         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
61570         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
61571         Specify type.
61572         [ISO C standards]: Do not allow headers.
61573         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
61574         is[abcdefghijklmnopqrstuvwxyz]*.
61575         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
61576         to[abcdefghijklmnopqrstuvwxyz]*.
61577         [ISO C standards] (*_t): Do not allow.
61578         * conform/data/stdalign.h-data: New file.
61579         * conform/data/stdbool.h-data: Likewise.
61580         * conform/data/stdnoreturn.h-data: Likewise.
61582 2012-11-07  Roland McGrath  <roland@hack.frob.com>
61584         [BZ #14815]
61585         * manual/filesys.texi (Directory Entries): Typo fix.
61586         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
61588 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61590         * elf/elf.h (EM_AARCH64): New macro.
61591         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
61592         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
61593         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
61594         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
61595         (R_AARCH64_TLSDESC): Likewise.
61596         (NT_ARM_TLS): Likewise.
61597         (NT_ARM_HW_BREAK): Likewise.
61598         (NT_ARM_HW_WATCH): Likewise.
61600 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
61602         [BZ #14811]
61603         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
61604         (__ieee754_powl): Saturate nonzero exponents with absolute value
61605         below 0x1p-79 to +/- 0x1p-79.
61606         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
61607         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
61608         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
61609         nonzero exponents with absolute value below 0x1p-32 to +/-
61610         0x1p-32.
61611         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
61612         (__ieee754_powl): Saturate nonzero exponents with absolute value
61613         below 0x1p-79 to +/- 0x1p-79.
61614         * math/libm-test.inc (pow_test): Add more tests.
61616 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61618         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
61619         _dl_s390_cap_flags with kernel. Increase string length.
61620         (_dl_s390_platforms): Add z196 and zEC12.
61622 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
61624         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
61625         Change XOPEN21K to XOPEN2K.
61627 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
61629         * string/memmove.c: Use memcpy when possible.
61631 2012-11-06  Andreas Jaeger  <aj@suse.de>
61633         * po/eo.po: Update from translation team.
61635 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
61637         [BZ #14793]
61638         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
61639         exponent and small x and y exponents, scale x or y up.  Increase
61640         by 2 the exponent used in scaling up.
61641         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61642         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61643         * math/libm-test.inc (fma_test): Add more tests.
61644         (fma_test_towardzero): Likewise.
61645         (fma_test_downward): Likewise.
61646         (fma_test_upward): Likewise.
61648 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
61650         [BZ #14805]
61651         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
61652         fenv_t *.
61654         [BZ #14801]
61655         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
61656         namespace for names of struct fields.
61657         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
61658         fenv_t fields.
61659         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
61660         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
61662 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61664         [BZ #3665]
61665         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
61667 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
61669         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
61670         PTR_DEMANGLE.
61672         [BZ #5246]
61673         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
61674         PTR_DEMANGLE.
61676 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
61678         [BZ #14797]
61679         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
61680         definitely overflow as x * y not x * y + z.
61681         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61682         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61683         * math/libm-test.inc (fma_test): Add more tests.
61684         (fma_test_towardzero): Likewise.
61685         (fma_test_downward): Likewise.
61686         (fma_test_upward): Likewise.
61688 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
61690         [BZ #157]
61692         * include/stub-tag.h: Remove file.
61693         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
61694         '#include' of it.
61695         * manual/maint.texi (Porting): Don't reference it.
61696         * Makerules ($(objpfx)stubs): Likewise.
61697         * dirent/closedir.c: Don't include <stub-tag.h>.
61698         * dirent/dirfd.c: Likewise.
61699         * dirent/fdopendir.c: Likewise.
61700         * dirent/getdents.c: Likewise.
61701         * dirent/getdents64.c: Likewise.
61702         * dirent/opendir.c: Likewise.
61703         * dirent/readdir.c: Likewise.
61704         * dirent/readdir64.c: Likewise.
61705         * dirent/readdir64_r.c: Likewise.
61706         * dirent/readdir_r.c: Likewise.
61707         * dirent/rewinddir.c: Likewise.
61708         * dirent/seekdir.c: Likewise.
61709         * dirent/telldir.c: Likewise.
61710         * gmon/profil.c: Likewise.
61711         * grp/setgroups.c: Likewise.
61712         * inet/if_index.c: Likewise.
61713         * io/access.c: Likewise.
61714         * io/chdir.c: Likewise.
61715         * io/chmod.c: Likewise.
61716         * io/chown.c: Likewise.
61717         * io/close.c: Likewise.
61718         * io/dup.c: Likewise.
61719         * io/dup2.c: Likewise.
61720         * io/dup3.c: Likewise.
61721         * io/euidaccess.c: Likewise.
61722         * io/faccessat.c: Likewise.
61723         * io/fchdir.c: Likewise.
61724         * io/fchmod.c: Likewise.
61725         * io/fchmodat.c: Likewise.
61726         * io/fchown.c: Likewise.
61727         * io/fchownat.c: Likewise.
61728         * io/fcntl.c: Likewise.
61729         * io/flock.c: Likewise.
61730         * io/fstatfs.c: Likewise.
61731         * io/fstatfs64.c: Likewise.
61732         * io/fstatvfs.c: Likewise.
61733         * io/fstatvfs64.c: Likewise.
61734         * io/futimens.c: Likewise.
61735         * io/fxstat.c: Likewise.
61736         * io/fxstat64.c: Likewise.
61737         * io/fxstatat.c: Likewise.
61738         * io/fxstatat64.c: Likewise.
61739         * io/getcwd.c: Likewise.
61740         * io/isatty.c: Likewise.
61741         * io/lchmod.c: Likewise.
61742         * io/lchown.c: Likewise.
61743         * io/link.c: Likewise.
61744         * io/linkat.c: Likewise.
61745         * io/lseek.c: Likewise.
61746         * io/lseek64.c: Likewise.
61747         * io/lxstat64.c: Likewise.
61748         * io/mkdir.c: Likewise.
61749         * io/mkdirat.c: Likewise.
61750         * io/mkfifo.c: Likewise.
61751         * io/mkfifoat.c: Likewise.
61752         * io/open.c: Likewise.
61753         * io/open64.c: Likewise.
61754         * io/openat.c: Likewise.
61755         * io/openat64.c: Likewise.
61756         * io/pipe.c: Likewise.
61757         * io/pipe2.c: Likewise.
61758         * io/poll.c: Likewise.
61759         * io/posix_fadvise.c: Likewise.
61760         * io/posix_fadvise64.c: Likewise.
61761         * io/posix_fallocate.c: Likewise.
61762         * io/posix_fallocate64.c: Likewise.
61763         * io/read.c: Likewise.
61764         * io/readlink.c: Likewise.
61765         * io/readlinkat.c: Likewise.
61766         * io/rmdir.c: Likewise.
61767         * io/sendfile.c: Likewise.
61768         * io/sendfile64.c: Likewise.
61769         * io/statfs.c: Likewise.
61770         * io/statfs64.c: Likewise.
61771         * io/statvfs.c: Likewise.
61772         * io/statvfs64.c: Likewise.
61773         * io/symlink.c: Likewise.
61774         * io/symlinkat.c: Likewise.
61775         * io/ttyname.c: Likewise.
61776         * io/ttyname_r.c: Likewise.
61777         * io/umask.c: Likewise.
61778         * io/unlink.c: Likewise.
61779         * io/unlinkat.c: Likewise.
61780         * io/utime.c: Likewise.
61781         * io/utimensat.c: Likewise.
61782         * io/write.c: Likewise.
61783         * io/xmknod.c: Likewise.
61784         * io/xmknodat.c: Likewise.
61785         * io/xstat.c: Likewise.
61786         * io/xstat64.c: Likewise.
61787         * login/getpt.c: Likewise.
61788         * login/grantpt.c: Likewise.
61789         * login/unlockpt.c: Likewise.
61790         * math/e_acoshl.c: Likewise.
61791         * math/e_acosl.c: Likewise.
61792         * math/e_asinl.c: Likewise.
61793         * math/e_atan2l.c: Likewise.
61794         * math/e_atanhl.c: Likewise.
61795         * math/e_coshl.c: Likewise.
61796         * math/e_expl.c: Likewise.
61797         * math/e_fmodl.c: Likewise.
61798         * math/e_gammal_r.c: Likewise.
61799         * math/e_hypotl.c: Likewise.
61800         * math/e_j0l.c: Likewise.
61801         * math/e_j1l.c: Likewise.
61802         * math/e_jnl.c: Likewise.
61803         * math/e_lgammal_r.c: Likewise.
61804         * math/e_log10l.c: Likewise.
61805         * math/e_log2l.c: Likewise.
61806         * math/e_logl.c: Likewise.
61807         * math/e_powl.c: Likewise.
61808         * math/e_rem_pio2l.c: Likewise.
61809         * math/e_sinhl.c: Likewise.
61810         * math/e_sqrtl.c: Likewise.
61811         * math/fclrexcpt.c: Likewise.
61812         * math/fedisblxcpt.c: Likewise.
61813         * math/feenablxcpt.c: Likewise.
61814         * math/fegetenv.c: Likewise.
61815         * math/fegetexcept.c: Likewise.
61816         * math/fegetround.c: Likewise.
61817         * math/feholdexcpt.c: Likewise.
61818         * math/fesetenv.c: Likewise.
61819         * math/fesetround.c: Likewise.
61820         * math/feupdateenv.c: Likewise.
61821         * math/fgetexcptflg.c: Likewise.
61822         * math/fraiseexcpt.c: Likewise.
61823         * math/fsetexcptflg.c: Likewise.
61824         * math/ftestexcept.c: Likewise.
61825         * math/k_cosl.c: Likewise.
61826         * math/k_rem_pio2l.c: Likewise.
61827         * math/k_sinl.c: Likewise.
61828         * math/k_tanl.c: Likewise.
61829         * math/s_asinhl.c: Likewise.
61830         * math/s_atanl.c: Likewise.
61831         * math/s_cbrtl.c: Likewise.
61832         * math/s_erfl.c: Likewise.
61833         * math/s_expm1l.c: Likewise.
61834         * math/s_log1pl.c: Likewise.
61835         * math/s_tanhl.c: Likewise.
61836         * misc/acct.c: Likewise.
61837         * misc/brk.c: Likewise.
61838         * misc/chflags.c: Likewise.
61839         * misc/chroot.c: Likewise.
61840         * misc/fchflags.c: Likewise.
61841         * misc/fgetxattr.c: Likewise.
61842         * misc/flistxattr.c: Likewise.
61843         * misc/fremovexattr.c: Likewise.
61844         * misc/fsetxattr.c: Likewise.
61845         * misc/fsync.c: Likewise.
61846         * misc/ftruncate.c: Likewise.
61847         * misc/futimes.c: Likewise.
61848         * misc/futimesat.c: Likewise.
61849         * misc/getdomain.c: Likewise.
61850         * misc/getdtsz.c: Likewise.
61851         * misc/gethostid.c: Likewise.
61852         * misc/gethostname.c: Likewise.
61853         * misc/getloadavg.c: Likewise.
61854         * misc/getpagesize.c: Likewise.
61855         * misc/getsysstats.c: Likewise.
61856         * misc/getxattr.c: Likewise.
61857         * misc/gtty.c: Likewise.
61858         * misc/ioctl.c: Likewise.
61859         * misc/lgetxattr.c: Likewise.
61860         * misc/listxattr.c: Likewise.
61861         * misc/llistxattr.c: Likewise.
61862         * misc/lremovexattr.c: Likewise.
61863         * misc/lsetxattr.c: Likewise.
61864         * misc/lutimes.c: Likewise.
61865         * misc/madvise.c: Likewise.
61866         * misc/mincore.c: Likewise.
61867         * misc/mlock.c: Likewise.
61868         * misc/mlockall.c: Likewise.
61869         * misc/mmap.c: Likewise.
61870         * misc/mprotect.c: Likewise.
61871         * misc/msync.c: Likewise.
61872         * misc/munlock.c: Likewise.
61873         * misc/munlockall.c: Likewise.
61874         * misc/munmap.c: Likewise.
61875         * misc/preadv.c: Likewise.
61876         * misc/preadv64.c: Likewise.
61877         * misc/ptrace.c: Likewise.
61878         * misc/pwritev.c: Likewise.
61879         * misc/pwritev64.c: Likewise.
61880         * misc/readv.c: Likewise.
61881         * misc/reboot.c: Likewise.
61882         * misc/remap_file_pages.c: Likewise.
61883         * misc/removexattr.c: Likewise.
61884         * misc/revoke.c: Likewise.
61885         * misc/select.c: Likewise.
61886         * misc/setdomain.c: Likewise.
61887         * misc/setegid.c: Likewise.
61888         * misc/seteuid.c: Likewise.
61889         * misc/sethostid.c: Likewise.
61890         * misc/sethostname.c: Likewise.
61891         * misc/setregid.c: Likewise.
61892         * misc/setreuid.c: Likewise.
61893         * misc/setxattr.c: Likewise.
61894         * misc/sstk.c: Likewise.
61895         * misc/stty.c: Likewise.
61896         * misc/swapoff.c: Likewise.
61897         * misc/swapon.c: Likewise.
61898         * misc/sync.c: Likewise.
61899         * misc/syncfs.c: Likewise.
61900         * misc/syscall.c: Likewise.
61901         * misc/truncate.c: Likewise.
61902         * misc/ualarm.c: Likewise.
61903         * misc/usleep.c: Likewise.
61904         * misc/ustat.c: Likewise.
61905         * misc/utimes.c: Likewise.
61906         * misc/vhangup.c: Likewise.
61907         * misc/writev.c: Likewise.
61908         * posix/_exit.c: Likewise.
61909         * posix/alarm.c: Likewise.
61910         * posix/execve.c: Likewise.
61911         * posix/fexecve.c: Likewise.
61912         * posix/fork.c: Likewise.
61913         * posix/fpathconf.c: Likewise.
61914         * posix/getaddrinfo.c: Likewise.
61915         * posix/getegid.c: Likewise.
61916         * posix/geteuid.c: Likewise.
61917         * posix/getgid.c: Likewise.
61918         * posix/getgroups.c: Likewise.
61919         * posix/getlogin.c: Likewise.
61920         * posix/getlogin_r.c: Likewise.
61921         * posix/getpgid.c: Likewise.
61922         * posix/getpid.c: Likewise.
61923         * posix/getppid.c: Likewise.
61924         * posix/getresgid.c: Likewise.
61925         * posix/getresuid.c: Likewise.
61926         * posix/getsid.c: Likewise.
61927         * posix/getuid.c: Likewise.
61928         * posix/glob64.c: Likewise.
61929         * posix/nanosleep.c: Likewise.
61930         * posix/pathconf.c: Likewise.
61931         * posix/pause.c: Likewise.
61932         * posix/posix_madvise.c: Likewise.
61933         * posix/pread.c: Likewise.
61934         * posix/pread64.c: Likewise.
61935         * posix/pwrite.c: Likewise.
61936         * posix/pwrite64.c: Likewise.
61937         * posix/sched_getaffinity.c: Likewise.
61938         * posix/sched_getp.c: Likewise.
61939         * posix/sched_gets.c: Likewise.
61940         * posix/sched_primax.c: Likewise.
61941         * posix/sched_primin.c: Likewise.
61942         * posix/sched_rr_gi.c: Likewise.
61943         * posix/sched_setaffinity.c: Likewise.
61944         * posix/sched_setp.c: Likewise.
61945         * posix/sched_sets.c: Likewise.
61946         * posix/sched_yield.c: Likewise.
61947         * posix/setgid.c: Likewise.
61948         * posix/setlogin.c: Likewise.
61949         * posix/setpgid.c: Likewise.
61950         * posix/setresgid.c: Likewise.
61951         * posix/setresuid.c: Likewise.
61952         * posix/setsid.c: Likewise.
61953         * posix/setuid.c: Likewise.
61954         * posix/sleep.c: Likewise.
61955         * posix/spawni.c: Likewise.
61956         * posix/sysconf.c: Likewise.
61957         * posix/times.c: Likewise.
61958         * posix/wait.c: Likewise.
61959         * posix/wait3.c: Likewise.
61960         * posix/wait4.c: Likewise.
61961         * posix/waitpid.c: Likewise.
61962         * resolv/gai_sigqueue.c: Likewise.
61963         * resource/getpriority.c: Likewise.
61964         * resource/getrlimit.c: Likewise.
61965         * resource/getrusage.c: Likewise.
61966         * resource/nice.c: Likewise.
61967         * resource/setpriority.c: Likewise.
61968         * resource/setrlimit.c: Likewise.
61969         * resource/ulimit.c: Likewise.
61970         * rt/aio_cancel.c: Likewise.
61971         * rt/aio_fsync.c: Likewise.
61972         * rt/aio_read.c: Likewise.
61973         * rt/aio_sigqueue.c: Likewise.
61974         * rt/aio_suspend.c: Likewise.
61975         * rt/aio_write.c: Likewise.
61976         * rt/clock_getres.c: Likewise.
61977         * rt/clock_gettime.c: Likewise.
61978         * rt/clock_nanosleep.c: Likewise.
61979         * rt/clock_settime.c: Likewise.
61980         * rt/lio_listio.c: Likewise.
61981         * rt/mq_close.c: Likewise.
61982         * rt/mq_getattr.c: Likewise.
61983         * rt/mq_notify.c: Likewise.
61984         * rt/mq_open.c: Likewise.
61985         * rt/mq_receive.c: Likewise.
61986         * rt/mq_send.c: Likewise.
61987         * rt/mq_setattr.c: Likewise.
61988         * rt/mq_timedreceive.c: Likewise.
61989         * rt/mq_timedsend.c: Likewise.
61990         * rt/mq_unlink.c: Likewise.
61991         * rt/shm_open.c: Likewise.
61992         * rt/shm_unlink.c: Likewise.
61993         * rt/timer_create.c: Likewise.
61994         * rt/timer_delete.c: Likewise.
61995         * rt/timer_getoverr.c: Likewise.
61996         * rt/timer_gettime.c: Likewise.
61997         * rt/timer_settime.c: Likewise.
61998         * setjmp/__longjmp.c: Likewise.
61999         * setjmp/setjmp.c: Likewise.
62000         * signal/kill.c: Likewise.
62001         * signal/killpg.c: Likewise.
62002         * signal/raise.c: Likewise.
62003         * signal/sigaction.c: Likewise.
62004         * signal/sigaltstack.c: Likewise.
62005         * signal/sigblock.c: Likewise.
62006         * signal/sigignore.c: Likewise.
62007         * signal/sigintr.c: Likewise.
62008         * signal/signal.c: Likewise.
62009         * signal/sigpause.c: Likewise.
62010         * signal/sigpending.c: Likewise.
62011         * signal/sigqueue.c: Likewise.
62012         * signal/sigreturn.c: Likewise.
62013         * signal/sigset.c: Likewise.
62014         * signal/sigsetmask.c: Likewise.
62015         * signal/sigstack.c: Likewise.
62016         * signal/sigsuspend.c: Likewise.
62017         * signal/sigtimedwait.c: Likewise.
62018         * signal/sigvec.c: Likewise.
62019         * signal/sigwait.c: Likewise.
62020         * signal/sigwaitinfo.c: Likewise.
62021         * signal/sysv_signal.c: Likewise.
62022         * socket/accept.c: Likewise.
62023         * socket/accept4.c: Likewise.
62024         * socket/bind.c: Likewise.
62025         * socket/connect.c: Likewise.
62026         * socket/getpeername.c: Likewise.
62027         * socket/getsockname.c: Likewise.
62028         * socket/getsockopt.c: Likewise.
62029         * socket/isfdtype.c: Likewise.
62030         * socket/listen.c: Likewise.
62031         * socket/recv.c: Likewise.
62032         * socket/recvfrom.c: Likewise.
62033         * socket/recvmsg.c: Likewise.
62034         * socket/send.c: Likewise.
62035         * socket/sendmsg.c: Likewise.
62036         * socket/sendto.c: Likewise.
62037         * socket/setsockopt.c: Likewise.
62038         * socket/shutdown.c: Likewise.
62039         * socket/sockatmark.c: Likewise.
62040         * socket/socket.c: Likewise.
62041         * socket/socketpair.c: Likewise.
62042         * stdio-common/ctermid.c: Likewise.
62043         * stdio-common/cuserid.c: Likewise.
62044         * stdio-common/remove.c: Likewise.
62045         * stdio-common/rename.c: Likewise.
62046         * stdio-common/renameat.c: Likewise.
62047         * stdio-common/tempname.c: Likewise.
62048         * stdlib/getcontext.c: Likewise.
62049         * stdlib/makecontext.c: Likewise.
62050         * stdlib/setcontext.c: Likewise.
62051         * stdlib/swapcontext.c: Likewise.
62052         * stdlib/system.c: Likewise.
62053         * streams/fattach.c: Likewise.
62054         * streams/fdetach.c: Likewise.
62055         * streams/getmsg.c: Likewise.
62056         * streams/getpmsg.c: Likewise.
62057         * streams/putmsg.c: Likewise.
62058         * streams/putpmsg.c: Likewise.
62059         * sysdeps/unix/bsd/getpt.c: Likewise.
62060         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
62061         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
62062         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
62063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
62064         Likewise.
62065         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
62066         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
62067         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
62068         * sysvipc/msgctl.c: Likewise.
62069         * sysvipc/msgget.c: Likewise.
62070         * sysvipc/msgrcv.c: Likewise.
62071         * sysvipc/msgsnd.c: Likewise.
62072         * sysvipc/semctl.c: Likewise.
62073         * sysvipc/semget.c: Likewise.
62074         * sysvipc/semop.c: Likewise.
62075         * sysvipc/semtimedop.c: Likewise.
62076         * sysvipc/shmat.c: Likewise.
62077         * sysvipc/shmctl.c: Likewise.
62078         * sysvipc/shmdt.c: Likewise.
62079         * sysvipc/shmget.c: Likewise.
62080         * termios/tcdrain.c: Likewise.
62081         * termios/tcflow.c: Likewise.
62082         * termios/tcflush.c: Likewise.
62083         * termios/tcgetattr.c: Likewise.
62084         * termios/tcgetpgrp.c: Likewise.
62085         * termios/tcsendbrk.c: Likewise.
62086         * termios/tcsetattr.c: Likewise.
62087         * termios/tcsetpgrp.c: Likewise.
62088         * time/adjtime.c: Likewise.
62089         * time/clock.c: Likewise.
62090         * time/getitimer.c: Likewise.
62091         * time/gettimeofday.c: Likewise.
62092         * time/setitimer.c: Likewise.
62093         * time/settimeofday.c: Likewise.
62094         * time/stime.c: Likewise.
62095         * time/time.c: Likewise.
62097 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
62099         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
62100         /usr/old/bin.
62102         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
62103         instead of spaces.
62104         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
62106 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
62108         [BZ #14796]
62109         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
62110         FE_TONEAREST before applying Dekker multiplication and Knuth
62111         addition.  Clear inexact exceptions and check for exact zero
62112         results afterwards.
62113         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
62114         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
62115         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62116         * math/libm-test.inc (fma_test): Add more tests.
62117         (fma_test_towardzero): Likewise.
62118         (fma_test_downward): Likewise.
62119         (fma_test_upward): Likewise.
62120         * sysdeps/generic/math_private.h (default_libc_fesetround): New
62121         function.
62122         (libc_fesetround): New macro.
62123         (libc_fesetroundf): Likewise.
62124         (libc_fesetroundl): Likewise.
62125         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
62126         function.
62127         (libc_fesetround_387): Likewise.
62128         (libc_fesetroundf): New macro.
62129         (libc_fesetround): Likewise.
62130         (libc_fesetroundl): Likewise.
62131         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
62132         function.
62133         (libc_fesetroundf): New macro.
62134         (libc_fesetround): Likewise.
62135         (libc_fesetroundl): Likewise.
62136         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
62137         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
62138         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
62139         libm_hidden_ver.
62140         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
62141         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
62142         libm_hidden_def.
62143         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
62144         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
62145         libm_hidden_ver.
62146         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
62147         libm_hidden_def.
62149         [BZ #3439]
62150         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
62151         integer constant usable in #if and use that to give value to enum
62152         constant.
62153         (FE_DIVBYZERO): Likewise.
62154         (FE_UNDERFLOW): Likewise.
62155         (FE_OVERFLOW): Likewise.
62156         (FE_INVALID): Likewise.
62157         (FE_INVALID_SNAN): Likewise.
62158         (FE_INVALID_ISI): Likewise.
62159         (FE_INVALID_IDI): Likewise.
62160         (FE_INVALID_ZDZ): Likewise.
62161         (FE_INVALID_IMZ): Likewise.
62162         (FE_INVALID_COMPARE): Likewise.
62163         (FE_INVALID_SOFTWARE): Likewise.
62164         (FE_INVALID_SQRT): Likewise.
62165         (FE_INVALID_INTEGER_CONVERSION): Likewise.
62166         (FE_TONEAREST): Likewise.
62167         (FE_TOWARDZERO): Likewise.
62168         (FE_UPWARD): Likewise.
62169         (FE_DOWNWARD): Likewise.
62170         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
62171         (FE_DIVBYZERO): Likewise.
62172         (FE_OVERFLOW): Likewise.
62173         (FE_UNDERFLOW): Likewise.
62174         (FE_INEXACT): Likewise.
62175         (FE_TONEAREST): Likewise.
62176         (FE_DOWNWARD): Likewise.
62177         (FE_UPWARD): Likewise.
62178         (FE_TOWARDZERO): Likewise.
62179         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
62180         (FE_UNDERFLOW): Likewise.
62181         (FE_OVERFLOW): Likewise.
62182         (FE_DIVBYZERO): Likewise.
62183         (FE_INVALID): Likewise.
62184         (FE_TONEAREST): Likewise.
62185         (FE_TOWARDZERO): Likewise.
62186         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
62187         (FE_OVERFLOW): Likewise.
62188         (FE_UNDERFLOW): Likewise.
62189         (FE_DIVBYZERO): Likewise.
62190         (FE_INEXACT): Likewise.
62191         (FE_TONEAREST): Likewise.
62192         (FE_TOWARDZERO): Likewise.
62193         (FE_UPWARD): Likewise.
62194         (FE_DOWNWARD): Likewise.
62195         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
62196         (FE_DIVBYZERO): Likewise.
62197         (FE_OVERFLOW): Likewise.
62198         (FE_UNDERFLOW): Likewise.
62199         (FE_INEXACT): Likewise.
62200         (FE_TONEAREST): Likewise.
62201         (FE_DOWNWARD): Likewise.
62202         (FE_UPWARD): Likewise.
62203         (FE_TOWARDZERO): Likewise.
62205 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
62207         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
62209 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
62211         * scripts/cross-test-ssh.sh (command): Use newlines to separate
62212         commands.  Quote $PWD.
62213         (blacklist_exports): Don't use remove_newlines.  Replace "declare
62214         -x" by "export".
62215         (remove_newlines): Remove.
62217 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
62219         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
62220         * stdlib/stdlib.h (atof): Moved to ...
62221         * include/bits/stdlib-float.h: Here.  New file.
62222         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
62223         * stdlib/bits/stdlib-float.h: New file.
62224         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
62225         -mno-sse -mno-mmx.
62226         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
62227         <xmmintrin.h>.
62229 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
62231         * conform/conformtest.pl (@headers): Add fenv.h.
62232         * conform/data/fenv.h-data: New file.
62233         * include/fenv.h [_ISOMAC]: Disable all contents of file except
62234         include of <math/fenv.h>.
62236         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
62237         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
62238         && !UNIX98].  Enables tests for XOPEN2K8.
62239         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
62240         POSIX2008]: Likewise.
62242         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
62243         (struct rusage): Do not expect type or its members.
62245         [BZ #3439]
62246         * math/math.h (FP_NAN): Define macro to integer constant usable in
62247         #if and use that to give value to enum constant.
62248         (FP_INFINITE): Likewise.
62249         (FP_ZERO): Likewise.
62250         (FP_SUBNORMAL): Likewise.
62251         (FP_NORMAL): Likewise.
62253 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
62255         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
62256         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
62257         arguments.
62259 2012-11-02  Roland McGrath  <roland@hack.frob.com>
62261         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
62262         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
62263         autoconf-time if not.
62264         * configure.in: Remove AC_PREREQ.
62266 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62268         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
62269         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
62270         of the internal implementation.
62272 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
62274         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
62275         except include of <misc/sys/syslog.h>.
62277 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
62279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
62280         function returns with a NULL context exit with zero.
62282 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62284         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
62286 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
62288         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
62289         (run_program_cmd): This.
62290         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
62291         (tst_langinfo): New variable.  Use it.
62293 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
62295         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
62296         floating point opcodes.
62298 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
62300         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
62301         variable.
62303         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
62305         * sysdeps/mach/hurd/powerpc: Remove directory.
62306         * sysdeps/mach/powerpc: Likewise.
62308 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
62310         * scripts/check-local-headers.sh: Ignore c++ headers.
62312 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
62314         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
62315         __libc_cleanup_region_start argument.
62317 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
62319         [BZ #14784]
62320         [BZ #14785]
62321         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
62322         x * y using scaling, not as x * y + z.
62323         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
62324         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62325         * math/libm-test.inc (fma_test): Add more tests.
62326         (fma_test_towardzero): Likewise.
62327         (fma_test_downward): Likewise.
62328         (fma_test_upward): Likewise.
62330 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
62332         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
62334 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
62336         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
62337         New variable.
62339 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
62341         * rt/tst-shm.c (worker): Correct checking for mmap failure.
62343 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
62345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62346         Fix sort order.
62347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62348         Likewise.
62350 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62353         Fix the order of the list for glibc 2.17.
62354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62355         Likewise.
62357 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
62359         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62361 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
62363         [BZ #14610]
62364         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
62365         for low part of x being zero before using __atanl (y).
62366         * math/libm-test.inc (atan2_test): Add another test.
62368         * manual/install.texi (Configuring and compiling): Document
62369         general use of test-wrapper and test-wrapper-env.
62370         * INSTALL: Regenerated.
62372         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
62373         (__fma): Do not extract and scale down low bits on after-rounding
62374         systems when result rounded to normal precision would have normal
62375         exponent.
62376         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
62377         (__fmal): Do not extract and scale down low bits on after-rounding
62378         systems when result rounded to normal precision would have normal
62379         exponent.
62380         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
62381         (__fmal): Do not extract and scale down low bits on after-rounding
62382         systems when result rounded to normal precision would have normal
62383         exponent.
62384         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
62385         macro.
62386         (fma_test): Add more tests.
62387         (fma_test_towardzero): Likewise.
62388         (fma_test_downward): Likewise.
62389         (fma_test_upward): Likewise.
62391 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
62393         * sysdeps/i386/tininess.h: Renamed to ...
62394         * sysdeps/x86/tininess.h: This.
62395         * sysdeps/x86_64/tininess.h: Removed.
62397 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
62399         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
62400         input.  Use $(build-program-cmd).
62401         ($(objpfx)tst-array1-static.out): Likewise.
62402         ($(objpfx)tst-array2.out): Likewise.
62403         ($(objpfx)tst-array3.out): Likewise.
62404         ($(objpfx)tst-array4.out): Likewise.
62405         ($(objpfx)tst-array5.out): Likewise.
62406         ($(objpfx)tst-array5-static.out): Likewise.
62408 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
62410         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
62411         if defined.
62413         * nss/nsswitch.h (nss_interface_function): Provide new
62414         macro for use with NSS functions.
62415         * grp/initgroups.c: Use new macro.
62416         * nss/getXXbyYY.c: Likewise.
62417         * nss/getXXbyYY_r.c: Likewise.
62418         * nss/getXXent.c: Likewise.
62419         * nss/getXXent_r.c: Likewise.
62420         * sysdeps/posix/getaddrinfo.c: Likewise.
62422 2012-10-30  Andreas Jaeger  <aj@suse.de>
62424         * po/ru.po: Update Russion translation from translation project.
62426 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
62428         [BZ #14152]
62429         [BZ #14783]
62430         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
62431         result and shift together with sticky bit instead of replicating
62432         round-to-nearest rounding.
62433         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
62434         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62435         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
62436         missing underflow exceptions.
62437         (fma_test_towardzero): Add more tests.
62438         (fma_test_downward): Likewise.
62439         (fma_test_upward): Likewise.
62441         [BZ #14047]
62442         * sysdeps/generic/tininess.h: New file.
62443         * sysdeps/i386/tininess.h: Likewise.
62444         * sysdeps/sh/tininess.h: Likewise.
62445         * sysdeps/x86_64/tininess.h: Likewise.
62446         * stdlib/tst-strtod-underflow.c: Likewise.
62447         * stdlib/tst-tininess.c: Likewise.
62448         * stdlib/strtod_l.c: Include <tininess.h>.
62449         (round_and_return): Do not set errno for exact underflow cases.
62450         Force an underflow exception when setting errno for underflow.
62451         Determine underflow based on rounding to normal precision if
62452         TININESS_AFTER_ROUNDING.
62453         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
62454         ERANGE for exact underflow cases.
62455         * stdlib/Makefile (tests): Add tst-tininess and
62456         tst-strtod-underflow.
62457         ($(objpfx)tst-tininess): Use $(link-libm).
62458         ($(objpfx)tst-strtod-underflow): Likewise.
62460 2012-10-30  Andreas Jaeger  <aj@suse.de>
62462         [BZ#14767]
62463         * elf/Makefile (tests): Remove conditional for have-initfini-array
62464         since this is now always required and the variable does not exist
62465         anymore.
62466         (tests-static): Likewise.
62467         (modules-names): Likewise.
62469         * po/eo.po: Add Esperanto translation from translation project.
62471         * elf/tst-array1.c (fini_array): Make writeable so that it can be
62472         merged with constructor/destructor.
62473         (init_array): Likewise.
62474         * elf/tst-array2dep.c (fini_array): Likewise.
62475         (init_array): Likewise.
62477 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
62479         * manual/message.texi: Delete @cartouche tags.
62481 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
62483         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
62484         EOPNOTSUPP.
62485         * sysdeps/mach/hurd/fsync.c: Likewise.
62487         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
62488         [_POSIX_REALTIME_SIGNALS]: Change condition to
62489         [_POSIX_REALTIME_SIGNALS > 0].
62491 2012-10-27  Andreas Jaeger  <aj@suse.de>
62493         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
62494         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
62495         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
62496         [__WORDSIZE != 64]: Likewise.
62498 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
62500         *  iconvdata/tst-table.sh: Remove ${SHELL}.
62501         *  iconvdata/tst-tables.sh: Likewise.
62503 2012-10-25  David S. Miller  <davem@davemloft.net>
62505         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
62506         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
62507         of strtoull.
62509         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
62510         ifunc-impl-list.c
62511         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
62512         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
62513         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
62514         file.
62516 2012-10-25  Roland McGrath  <roland@hack.frob.com>
62518         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
62519         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
62520         __getdirentries.
62522 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
62523             Jim Blandy  <jimb@codesourcery.com>
62525         * scripts/cross-test-ssh.sh: New file.
62526         * manual/install.texi (Configuring and compiling): Document use of
62527         cross-test-ssh.sh.
62528         * INSTALL: Regenerated.
62530 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
62532         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
62533         EOPNOTSUPP.
62535 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
62537         * Makeconfig (run-program-prefix): Fix comment.
62539 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
62540             Jim Blandy  <jimb@codesourcery.com>
62542         * Makeconfig (test-wrapper): New variable,
62543         (test-wrapper-env): Likewise.
62544         [$(cross-compiling) = yes && $(test-wrapper) != ""]
62545         (run-built-tests): Define to yes.
62546         (run-program-prefix): Use $(test-wrapper).
62547         (built-program-cmd): Likewise.
62548         * Rules (make-test-out): Use $(test-wrapper-env) and
62549         $(host-built-program-cmd).
62550         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
62551         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
62552         tst-pathopt.sh.
62553         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
62554         $(test-wrapper-env) to tst-rtld-load-self.sh.
62555         ($(objpfx)order2.out): Use $(test-wrapper).
62556         ($(objpfx)tst-initorder.out): Likewise.
62557         ($(objpfx)tst-initorder2.out): Likewise.
62558         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
62559         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
62560         (test_wrapper_env): New variable.  Use it to run ld.so.
62561         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
62562         Use it to run ld.so.
62563         (test_wrapper_env): Likewise.
62564         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
62565         $(test-wrapper) to run-iconv-test.sh.
62566         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
62567         (ICONV): Use $test_wrapper.
62568         * posix/Makefile ($(objpfx)globtest.out): Pass
62569         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
62570         globtest.sh, not $(run-program-prefix).
62571         * posix/globtest.sh (run_via_rtld_prefix): New variable.
62572         (test_wrapper): Likewise.
62573         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
62574         set together with run_via_rtld_prefix.
62575         (run_program_prefix): Define in terms of test_wrapper and
62576         run_via_rtld_prefix.
62578 2012-10-24  Roland McGrath  <roland@hack.frob.com>
62580         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
62581         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
62582         Targets removed.
62584         [BZ #14743]
62585         * include/time.h: Remove librt_hidden_proto (clock_gettime).
62586         Declare __clock_getres, __clock_gettime, __clock_settime,
62587         __clock_nanosleep, and __clock_getcpuclockid.
62588         * rt/clock_gettime.c: Define __clock_gettime as an alias.
62589         Remove librt_hidden_def (clock_gettime).
62590         * sysdeps/unix/clock_gettime.c: Likewise.
62591         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
62592         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
62593         * rt/clock_getres.c: Define __clock_getres as an alias.
62594         * sysdeps/posix/clock_getres.c: Likewise.
62595         * rt/clock_settime.c: Define __clock_settime as an alias.
62596         * sysdeps/unix/clock_settime.c: Likewise.
62597         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
62598         * sysdeps/unix/clock_nanosleep.c: Likewise.
62599         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
62600         * rt/clock-compat.c: New file.
62601         * rt/Makefile (librt-routines): Add clock-compat and move
62602         $(clock-routines) to ...
62603         (routines): ... here, new variable.
62604         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
62605         Don't add get_clockfreq here.
62606         * rt/Versions (libc: GLIBC_2.17): New version set.
62607         Add clock_* symbols here.
62608         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
62609         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
62610         (GLIBC_2.17): Add clock_* symbols.
62611         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
62612         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
62613         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
62614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62615         Likewise.
62616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62617         Likewise.
62618         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
62619         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
62620         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
62621         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
62622         * NEWS: Mention the move.
62624         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
62625         Use __open, __read, __close rather than their public counterparts.
62626         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
62627         (__get_clockfreq_via_cpuinfo): Likewise.
62628         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
62629         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
62631         * config.h.in (HAVE_IFUNC): New #undef.
62632         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
62633         was successful.
62634         * configure: Regenerated.
62636 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
62638         * configure.in: Move READELF check to start of file.
62639         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
62640         libc_cv_asm_gnu_indirect_function in the process.
62641         * configure: Regenerated.
62643 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
62645         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
62646         send the output to /dev/null.
62647         (libc_cv_cc_with_libunwind): Likewise.
62648         (libc_cv_as_noexecstack): Likewise.
62649         * configure: Regenerate.
62651 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
62653         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
62655         * posix/globtest.sh (TMPDIR): Do not set.
62656         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
62657         (testout): Likewise.
62659 2012-10-24  Andreas Jaeger  <aj@suse.de>
62661         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
62662         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
62663         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
62664         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
62665         posix_fadvise64, posix_fallocate64.
62667         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
62668         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
62669         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
62670         Likewise.
62671         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
62672         Likewise.
62673         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
62675         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
62676         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
62677         <bits/fcntl-linux.h>.
62678         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
62680         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
62681         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
62682         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
62683         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
62684         [__WORDSIZE != 64]: Likewise.
62686 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
62688         * Makeconfig (run-built-tests): New variable.
62689         * Rules [$(cross-compiling) = yes]: Change condition to
62690         [$(run-built-tests) = no].
62691         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
62692         to [$(run-built-tests) = yes].
62693         * elf/Makefile [$(cross-compiling) = no]: Likewise.
62694         * grp/Makefile [$(cross-compiling) = no]: Likewise.
62695         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
62696         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
62697         * intl/Makefile [$(cross-compiling) = no]: Likewise.
62698         * io/Makefile [$(cross-compiling) = no]: Likewise.
62699         * libio/Makefile [$(cross-compiling) = no]: Likewise.
62700         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
62701         * misc/Makefile [$(cross-compiling) = no]: Likewise.
62702         * posix/Makefile [$(cross-compiling) = no]: Likewise.
62703         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
62704         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
62705         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
62706         * string/Makefile [$(cross-compiling) = no]: Likewise.
62708         * posix/Makefile ($(objpfx)globtest.out): Pass
62709         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
62710         $(rtld-installed-name).
62711         * posix/globtest.sh (elf_objpfx): Remove variable.
62712         (rtld_installed_name): Likewise.
62713         (library_path): Likewise.
62714         (run_program_prefix): New variable.  Use for running globtest
62715         binary.
62717 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
62718             Joseph Myers  <joseph@codesourcery.com>
62720         * Makeconfig (host-built-program-cmd): New variable.
62721         * elf/Makefile (tst-stackguard1-ARGS): Use
62722         $(host-built-program-cmd).
62723         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
62724         (tst-spawn-ARGS): Likewise.
62725         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
62727 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
62728             Jim Blandy  <jimb@codesourcery.com>
62730         * Makeconfig (run-via-rtld-prefix): New variable.
62731         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
62732         (built-program-cmd): Likewise.
62734 2012-10-22  Andreas Jaeger  <aj@suse.de>
62736         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
62737         __O_RSYNC if it exists, otherwise to O_SYNC.
62739 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
62740             Joseph Myers  <joseph@codesourcery.com>
62742         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
62743         /dev/null.
62744         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
62745         from /dev/null
62746         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
62747         /dev/null.
62749 2012-10-22  Andreas Jaeger  <aj@suse.de>
62751         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
62752         Define always.
62753         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
62755         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62756         bits/fcntl-linux.h.
62758         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
62759         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
62761         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
62762         to __O_LARGEFILE.
62763         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
62764         to __O_LARGEFILE.
62766 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
62767             Joseph Myers  <joseph@codesourcery.com>
62769         * config.make.in (NM): New variable.
62771 2012-10-21  Andreas Jaeger  <aj@suse.de>
62773         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
62774         definitions and declarations that are provided by
62775         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
62777 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
62779         [BZ #14683]
62780         * elf/Makefile (tests-static): Add tst-leaks1-static.
62781         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
62782         ($(objpfx)tst-leaks1-static): New rule.
62783         ($(objpfx)tst-leaks1-static-mem): Likewise.
62784         (tst-leaks1-static-ENV): New macro.
62785         * elf/dl-open.c (dl_open_worker): Check the main application
62786         only if SHARED is defined.
62787         * elf/tst-leaks1-static.c: New file.
62789 2012-10-20  Andreas Jaeger  <aj@suse.de>
62791         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
62792         generic values for Linux.
62793         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
62794         and declarations that are provided by <bits/fcntl-linux.h> and
62795         include <bits/fcntl-linux.h>.
62796         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62797         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62799 2012-10-20  Roland McGrath  <roland@hack.frob.com>
62801         * io/fcntl.h: Move include of <bits/types.h> to the top and
62802         include it unconditionally.
62804 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
62806         * wcsmbs/Makefile (tests-ifunc): New variable.
62807         (tests): Add $(tests-ifunc).
62808         * wcsmbs/test-wcschr-ifunc.c: New file.
62809         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
62810         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
62811         * wcsmbs/test-wcslen-ifunc.c: Likewise.
62812         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
62813         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
62815         * string/Makefile (tests-ifunc): New variable.
62816         (tests): Add $(tests-ifunc).
62817         * string/test-memccpy.c (TEST_NAME): New macro.
62818         * string/test-memchr.c (TEST_NAME): Likewise.
62819         * string/test-memcmp.c (TEST_NAME): Likewise.
62820         * string/test-memcpy.c (TEST_NAME): Likewise.
62821         * string/test-memmem.c (TEST_NAME): Likewise.
62822         * string/test-memmove.c (TEST_NAME): Likewise.
62823         * string/test-memset.c (TEST_NAME): Likewise.
62824         * string/test-rawmemchr.c (TEST_NAME): Likewise.
62825         * string/test-stpcpy.c (TEST_NAME): Likewise.
62826         * string/test-stpncpy.c (TEST_NAME): Likewise.
62827         * string/test-strcasecmp.c (TEST_NAME): Likewise.
62828         * string/test-strcasestr.c (TEST_NAME): Likewise.
62829         * string/test-strcat.c (TEST_NAME): Likewise.
62830         * string/test-strchr.c (TEST_NAME): Likewise.
62831         * string/test-strcmp.c(TEST_NAME): Likewise.
62832         * string/test-strcpy.c (TEST_NAME): Likewise.
62833         * string/test-strcspn.c (TEST_NAME): Likewise.
62834         * string/test-strlen.c (TEST_NAME): Likewise.
62835         * string/test-strncasecmp.c (TEST_NAME): Likewise.
62836         * string/test-strncmp.c (TEST_NAME): Likewise.
62837         * string/test-strncpy.c (TEST_NAME): Likewise.
62838         * string/test-strnlen.c (TEST_NAME): Likewise.
62839         * string/test-strpbrk.c (TEST_NAME): Likewise.
62840         * string/test-strrchr.c (TEST_NAME): Likewise.
62841         * string/test-strspn.c (TEST_NAME): Likewise.
62842         * string/test-strstr.c (TEST_NAME): Likewise.
62843         * string/test-bcopy-ifunc.c: New file.
62844         * string/test-bzero-ifunc.c: Likewise.
62845         * string/test-memccpy-ifunc.c: Likewise.
62846         * string/test-memchr-ifunc.c: Likewise.
62847         * string/test-memcmp-ifunc.c: Likewise.
62848         * string/test-memcpy-ifunc.c: Likewise.
62849         * string/test-memmem-ifunc.c: Likewise.
62850         * string/test-memmove-ifunc.c: Likewise.
62851         * string/test-mempcpy-ifunc.c: Likewise.
62852         * string/test-memset-ifunc.c: Likewise.
62853         * string/test-rawmemchr-ifunc.c: Likewise.
62854         * string/test-stpcpy-ifunc.c: Likewise.
62855         * string/test-stpncpy-ifunc.c: Likewise.
62856         * string/test-strcasecmp-ifunc.c: Likewise.
62857         * string/test-strcasestr-ifunc.c: Likewise.
62858         * string/test-strcat-ifunc.c: Likewise.
62859         * string/test-strchr-ifunc.c: Likewise.
62860         * string/test-strchrnul-ifunc.c: Likewise.
62861         * string/test-strcmp-ifunc.c: Likewise.
62862         * string/test-strcpy-ifunc.c: Likewise.
62863         * string/test-strcspn-ifunc.c: Likewise.
62864         * string/test-strlen-ifunc.c: Likewise.
62865         * string/test-strncasecmp-ifunc.c: Likewise.
62866         * string/test-strncat-ifunc.c: Likewise.
62867         * string/test-strncmp-ifunc.c: Likewise.
62868         * string/test-strncpy-ifunc.c: Likewise.
62869         * string/test-strnlen-ifunc.c: Likewise.
62870         * string/test-strpbrk-ifunc.c: Likewise.
62871         * string/test-strrchr-ifunc.c: Likewise.
62872         * string/test-strspn-ifunc.c: Likewise.
62873         * string/test-strstr-ifunc.c: Likewise.
62875         * debug/Makefile (tests-ifunc): New variable.
62876         (tests): Add $(tests-ifunc).
62877         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
62878         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
62879         * debug/test-stpcpy_chk-ifunc.c: New file.
62880         * debug/test-strcpy_chk-ifunc.c: Likewise.
62882 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
62884         [BZ #13601]
62885         * elf/dl-load.c (open_verify): Retry read if the entire ELF
62886         header is not read in.
62888 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
62890         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
62891         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
62892         directly.  Pass built executable to script as
62893         $(built-program-cmd).
62894         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
62895         $testprogram without using LD_LIBRARY_PATH and $ldso.
62897         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
62898         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
62899         $(rtld-installed-name).
62900         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
62901         (rtld_installed_name): Likewise.
62902         (library_path): Likewise.
62903         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
62904         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
62905         $(run-program-prefix) to tst-tables.sh.
62906         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
62907         it to run tst-table-from and tst-table-to.
62908         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
62909         Pass it to tst-table.sh.
62910         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
62911         $(run-program-prefix) to tst-gettext.sh.
62912         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
62913         tst-translit.sh.
62914         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
62915         tst-gettext2.sh.
62916         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
62917         to run tst-gettext.
62918         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
62919         to run tst-gettext2.
62920         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
62921         to run tst-translit.
62922         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
62923         $(run-program-prefix) to tst-mtrace.sh.
62924         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
62925         to run tst-mtrace.
62926         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
62927         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
62928         $(rtld-installed-name).
62929         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
62930         (rtld_installed_name): Likewise.
62931         (run_program_prefix): New variable.  Use it to run wordexp-test.
62933         * Makeconfig (ARCH): Remove all definitions.
62934         (machine): Likewise.
62935         [ARCH]: Remove conditional code.
62936         [!objdir]: Give error.
62937         [!objdir] (objpfx): Remove.
62938         [!objdir] (common-objpfx): Likewise.
62939         [!objdir] (common-objdir): Likewise.
62940         * configure.in (config_makefile): Remove.  Hardcode Makefile in
62941         AC_CONFIG_FILES call.
62942         * configure: Regenerated.
62944         [BZ #13888]
62945         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
62946         or TMPDIR.
62947         (testout): Likewise.
62949         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
62950         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
62951         $(rtld-installed-name).
62952         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
62953         (rtld_installed_name): Likwise.
62954         (runit): Remove function.
62955         (run_getconf): New variable,  Use it for running getconf binary.
62957 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
62959         [BZ #14716]
62960         * string/test-memmem.c (check_result): New function.
62961         (do_one_test): Use it.
62962         (check1): New function.
62963         (test_main): Use it.
62965 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
62967         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
62969 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
62971         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
62972         (_G_LSEEK64): Likewise.
62973         (_G_MMAP64): Likewise.
62974         (_G_FSTAT64): Likewise.
62975         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
62976         (_G_LSEEK64): Likewise.
62977         (_G_MMAP64): Likewise.
62978         (_G_FSTAT64): Likewise.
62979         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
62980         unconditional.  Call __mmap64 directly.
62981         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
62982         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
62983         __lseek64 directly.
62984         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
62985         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
62986         __mmap64 directly.
62987         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
62988         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
62989         __lseek64 directly.
62990         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
62991         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
62992         __lseek64 directly.
62993         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
62994         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
62995         __lseek64 directly.
62996         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
62997         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
62998         __fxstat64 directly.
62999         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
63000         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
63001         unconditional.
63002         (freopen64) [!_G_OPEN64]: Remove conditional code.
63003         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
63004         unconditional.
63005         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
63006         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
63007         unconditional.
63008         (ftello64) [!_G_LSEEK64]: Remove conditional code.
63009         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
63010         unconditional.
63011         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
63012         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
63013         unconditional.
63014         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
63015         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
63016         unconditional.
63017         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
63018         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
63019         unconditional.
63020         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
63021         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
63022         unconditional.
63023         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
63025 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
63027         [BZ #12140]
63028         * manual/memory.texi (Malloc Tunable Parameters): Add note
63029         about free list pointers overwriting some perturb bytes.
63030         Wording suggested by Roland McGrath.
63032 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
63034         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
63035         (lgamma_test): Likewise.
63036         (tgamma_test): Likewise.
63038 2012-10-16  Florian Weimer  <fweimer@redhat.com>
63040         [BZ #14700]
63041         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
63042         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
63044 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
63046         * NEWS: Mention BZ #14716.
63047         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
63048         when removing AVAILABLE1_USES_J macro.
63050 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
63052         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
63053         (__bswap_64): __uint64_t for unsigned 64-bit int.
63055 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
63057         * include/string.h (memmem): Declare libc hidden alias.
63058         * string/memmem.c (memmem): Define libc hidden alias.
63059         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
63060         __read, __close instead of open, read, close.
63062 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
63064         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
63065         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
63066         global and hidden.
63067         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
63068         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
63069         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
63070         Likewise.
63071         (__rawmemchr_sse2): Likewise.
63072         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
63073         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
63074         (__strchr_sse2): Likewise.
63075         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
63076         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
63077         (__strcasecmp_sse2): Likewise.
63078         (__strncasecmp_sse2): Likewise.
63079         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
63080         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
63081         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
63082         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
63083         (__strrchr_sse2): Likewise.
63084         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
63085         ifunc-impl-list.c.
63086         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
63087         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
63088         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
63089         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
63090         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
63091         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
63092         * sysdeps/x86_64/multiarch/memset.S: Likewise.
63093         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
63094         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
63095         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
63096         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
63097         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
63098         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
63099         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
63100         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
63101         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
63102         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
63103         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
63104         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
63105         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
63106         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
63107         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
63108         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
63109         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
63110         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
63111         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
63112         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
63113         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
63114         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
63115         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
63117         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
63118         global and hidden.
63119         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
63120         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
63121         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
63122         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
63123         Likewise.
63124         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
63125         Likewise.
63126         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
63127         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
63128         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
63129         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
63130         ifunc-impl-list.c.
63131         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
63132         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
63133         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
63134         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
63135         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
63136         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
63137         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
63138         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
63139         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
63140         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
63141         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
63142         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
63143         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
63144         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
63145         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
63146         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
63147         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
63148         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
63149         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
63150         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
63151         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
63152         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
63153         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
63154         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
63155         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
63156         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
63157         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
63158         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
63159         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
63160         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
63161         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
63162         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
63163         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
63164         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
63165         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
63166         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
63167         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
63168         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
63169         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
63170         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
63171         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
63173         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
63174         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
63175         * include/ifunc-impl-list.h: New file.
63176         * misc/ifunc-impl-list.c: Likewise.
63177         * misc/Makefile (routines): Add ifunc-impl-list.
63178         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
63179         * string/test-string.h: Include <ifunc-impl-list.h>.
63180         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
63181         TEST_NAME]: New variables.
63182         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
63183         are defined.
63184         (test_init): Call __libc_ifunc_impl_list to initialize
63185         func_list if TEST_IFUNC and TEST_NAME are defined.
63187         * string/Makefile (strop-tests): Add bcopy and bzero.
63188         * string/test-bcopy.c: New file.
63189         * string/test-bzero.c: Likewise.
63190         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
63191         defined.
63192         * string/test-memset.c: Support bzero test if TEST_BZERO is
63193         defined.
63194         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
63195         __libc_memmove.
63196         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
63197         __libc_memset.
63198         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
63199         of memset.
63201 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
63203         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
63204         * configure: Regenerated.
63206         * Makeconfig (+link-static-before-libc): Don't include
63207         $(link-static-libc).
63209         * libio/libio.h (_IO_pos_t): Remove.
63211 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
63213         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
63214         McGrath.
63216 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
63218         * crypt/crypt-entry.c: Include fips-private.h.
63219         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
63220         * crypt/md5c-test.c (main): Tolerate disabled MD5.
63221         * sysdeps/unix/sysv/linux/fips-private.h: New file.
63222         * sysdeps/generic/fips-private.h: New file, dummy fallback.
63224 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
63226         * crypt/crypt-private.h: Include stdbool.h.
63227         (_ufc_setup_salt_r): Return bool.
63228         * crypt/crypt-entry.c: Include errno.h.
63229         (__crypt_r): Return NULL with EINVAL for bad salt.
63230         * crypt/crypt_util.c (bad_for_salt): New.
63231         (_ufc_setup_salt_r): Check that salt is long enough and within
63232         the specified alphabet.
63233         * crypt/badsalttest.c: New file.
63234         * crypt/Makefile (tests): Add it.
63235         ($(objpfx)badsalttest): New.
63237 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
63239         * NEWS: Add entry for BZ #14602.
63241 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
63243         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
63244         type-generic.
63245         * math/libm-test.inc: Update comment listing what functions and
63246         macros are tested.
63247         (isgreater_test): New function.
63248         (isgreaterequal_test): Likewise.
63249         (isless_test): Likewise.
63250         (islessequal_test): Likewise.
63251         (islessgreater_test): Likewise.
63252         (isunordered_test): Likewise.
63253         (main): Call the new functions.
63255 2012-10-09  Roland McGrath  <roland@hack.frob.com>
63257         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
63258         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
63259         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
63260         * sysdeps/i386/configure: Regenerated.
63261         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
63262         * sysdeps/mach/configure: Regenerated.
63263         * sysdeps/mach/hurd/configure: Regenerated.
63264         * sysdeps/powerpc/configure: Regenerated.
63265         * sysdeps/powerpc/powerpc32/configure: Regenerated.
63266         * sysdeps/powerpc/powerpc64/configure: Regenerated.
63267         * sysdeps/s390/s390-32/configure: Regenerated.
63268         * sysdeps/s390/s390-64/configure: Regenerated.
63269         * sysdeps/sh/configure: Regenerated.
63270         * sysdeps/sparc/configure: Regenerated.
63271         * sysdeps/unix/sysv/linux/configure: Regenerated.
63272         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
63273         * sysdeps/x86_64/configure: Regenerated.
63275         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
63276         defined.  Don't check if MAP is NULL.
63278 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
63280         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
63281         (_G_stat64): Likewise.
63282         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
63283         (_G_stat64): Likewise.
63284         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
63285         instead of struct _G_stat64.
63286         * libio/fileops.c (mmap_remap_check): Likewise.
63287         (decide_maybe_mmap): Likewise.
63288         (_IO_new_file_seekoff): Likewise.
63289         (_IO_file_stat): Likewise.
63290         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
63291         _G_off64_t.
63292         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
63293         instead of struct _G_stat64.
63294         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
63296 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
63298         [BZ #14602]
63299         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
63300         Replace with ...
63301         (CHECK_EOL): New macro.
63302         (two_way_short_needle): Check beginning of haystack for EOL.  Use
63303         CHECK_EOL.
63304         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
63305         Replace with CHECK_EOL.
63306         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
63307         Replace with CHECK_EOL.
63309 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
63311         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
63312         type-generic.
63313         * math/libm-test.inc: Update comment listing what functions and
63314         macros are tested.
63315         (finite_test): New function.
63316         (isinf_test): Likewise.
63317         (isnan_test): Likewise.
63318         (fpclassify_test): Test subnormal input.
63319         (isfinite_test): Likewise.
63320         (isnormal_test): Likewise.
63321         (main): Call the new functions.
63323 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
63325         [BZ #14660]
63326         * Makerules (%.dynsym): Force C locale when running
63327         $(OBJDUMP) --dynamic-syms.
63329 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
63331         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
63332         <stdint.h>.
63334 2012-10-06  David S. Miller  <davem@davemloft.net>
63336         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
63337         upper 32-bits of the length value in %o2 since we use branch-on-register
63338         tests which consider the entire 64-bit register.
63340 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
63342         * string/test-strstr.c (check2): Add a test for page boundary.
63344 2012-10-05  David S. Miller  <davem@davemloft.net>
63346         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
63347         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
63348         file.
63349         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
63350         sysdep_routines.
63351         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
63352         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
63353         and bzero when HWCAP_SPARC_CRYPTO is present.
63355 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
63357         [BZ #14602]
63358         * string/test-strstr.c (check2): New function.
63359         (test_main): Call check2.
63361         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
63362         and bug-strchr1.
63363         * string/bug-strcasestr1.c (do_test): Moved to ...
63364         * string/test-strcasestr.c (check1): Here.  New function.
63365         (do_one_test): Break out result checking code into ...
63366         (check_result): This.  New function.
63367         (do_one_test): Call check_result.
63368         (test_main): Call check1.
63369         * string/bug-strchr1.c (do_test): Moved to ...
63370         * string/test-strchr.c (check1): Here.  New function.
63371         (do_one_test): Break out result checking code into ...
63372         (check_result): This.  New function.
63373         (do_one_test): Call check_result.
63374         (test_main): Call check1.
63375         * string/bug-strstr1.c (main): Moved to ...
63376         * string/test-strstr.c (check1): Here.  New function.
63377         (do_one_test): Break out result checking code into ...
63378         (check_result): This.  New function.
63379         (do_one_test): Call check_result.
63380         (test_main): Call check1.
63381         * string/bug-strcasestr1.c: Removed.
63382         * string/bug-strchr1.c: Likewise.
63383         * string/bug-strstr1.c: Likewise.
63385         * elf/Makefile (dl-routines): Add hwcaps.
63386         * elf/dl-support.c (_dl_important_hwcaps): Removed.
63387         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
63388         (_dl_important_hwcaps): Moved to ...
63389         * elf/dl-hwcaps.c: Here.  New file.
63390         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
63392         [BZ #14557]
63393         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
63394         if IS_IN_rtld isn't defined.
63396         * elf/dl-support.c (_dl_sysinfo_map): New.
63397         Include "get-dynamic-info.h" and "setup-vdso.h".
63398         (_dl_non_dynamic_init): Call setup_vdso.
63399         * elf/dynamic-link.h: Don't include <assert.h>.
63400         (elf_get_dynamic_info): Moved to ...
63401         * elf/get-dynamic-info.h: Here.  New file.
63402         * elf/dynamic-link.h: Include "get-dynamic-info.h".
63403         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
63404         * elf/setup-vdso.h: Here.  New file.
63405         * elf/rtld.c: Include "setup-vdso.h".
63406         (dl_main): Call setup_vdso.
63408 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
63410         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
63411         creal in comment listing functions tested.  List finite, isinf,
63412         isnan, isless, islessequal, isgreater, isgreaterequal,
63413         islessgreater, isunordered, lgamma_r and pow10 as functions and
63414         macros not tested.  Mention which functions not tested are aliases
63415         for other functions.  Fix typo.  Note that signs of NaNs are not
63416         tested.
63418         * scripts/config.guess: Update from config.git.
63419         * scripts/config.sub: Likewise.
63421 2012-10-04  Roland McGrath  <roland@hack.frob.com>
63423         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
63424         * misc/madvise.c (madvise): Renamed to __madvise.
63425         Make madvise a weak alias.
63426         * include/sys/mman.h: Declare __madvise.
63427         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
63428         * sysdeps/unix/syscalls.list
63429         (madvise): Make __madvise the strong name, and madvise a weak alias.
63430         * sysdeps/unix/sysv/linux/syscalls.list
63431         (madvise, mmap): Remove redundant entries.
63432         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
63433         * malloc/malloc.c (mtrim): Likewise.
63434         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
63436 2012-10-03  Roland McGrath  <roland@hack.frob.com>
63438         * sysdeps/mach/hurd/dl-cache.c: File removed.
63439         * config.h.in (USE_LDCONFIG): New #undef.
63440         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
63441         * configure: Regenerated.
63442         * elf/Makefile (dl-routines): Add dl-cache only under
63443         [$(use-ldconfig) = yes].
63444         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
63445         cache on [USE_LDCONFIG].
63446         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
63447         [USE_LDCONFIG].
63448         * elf/rtld.c (dl_main): Likewise.
63450 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
63452         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
63453         _SC_LEVEL4_CACHE_LINESIZE.
63455 2012-10-03  Roland McGrath  <roland@hack.frob.com>
63457         * sysdeps/unix/bsd/confstr.h: File removed.
63459 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
63461         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
63462         sys/sdt-config.h.
63464 2012-10-02  Roland McGrath  <roland@hack.frob.com>
63466         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
63467         Make 'mapoff' field ElfW(Off) rather than off_t.
63469 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
63471         * nscd/Makefile: Remove nscd-cflags and all its users.
63472         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
63473         (CFLAGS-nonlib): Add compiler flags for nscd modules.
63475         [BZ #10631]
63476         * malloc.c (malloc_printerr): Clarify error message.
63478 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
63480         [BZ #14648]
63481         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63482         Set bit_FMA_Usable if FMA is supported.
63483         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
63484         macro.
63485         (bit_FMA4_Usable): Updated.
63486         (index_FMA_Usable): New macro.
63487         (CPUID_FMA): Likewise.
63488         (HAS_FMA): Defined with bit_FMA_Usable.
63490 2012-10-01  Roland McGrath  <roland@hack.frob.com>
63492         * bits/types.h (__swblk_t): Type removed.
63493         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
63494         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
63495         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63496         (__SWBLK_T_TYPE): Likewise.
63497         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
63498         (__SWBLK_T_TYPE): Likewise.
63499         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63500         (__SWBLK_T_TYPE): Likewise.
63501         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63502         (__SWBLK_T_TYPE): Likewise.
63504 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
63505             Honza Horak <hhorak@redhat.com>
63507         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
63508         (xdr_mapname): Use YPMAXMAP as maxsize.
63509         (xdr_peername): Use YPMAXPEER as maxsize.
63510         (xdr_keydat): Use YPAXRECORD as maxsize.
63511         (xdr_valdat): Use YPMAXRECORD as maxsize.
63513 2012-10-01  Roland McGrath  <roland@hack.frob.com>
63515         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
63517         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
63518         * csu/init-first.c: ... here.
63519         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
63520         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
63521         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
63522         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
63523         * sysdeps/i386/init-first.c: File removed.
63524         * sysdeps/sh/init-first.c: File removed.
63526 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
63528         [BZ #14645]
63529         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
63530         if x * y might underflow to zero and z is zero.
63531         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
63532         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
63533         * math/libm-test.inc (min_subnorm_value): New variable.
63534         (fma_test): Add more tests.
63535         (fma_test_towardzero): Likewise.
63536         (fma_test_downward): Likewise.
63537         (fma_test_upward): Likewise.
63538         (initialize): Set min_subnorm_value.
63540 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
63542         [BZ #14638]
63543         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
63544         0 + 0.
63545         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
63546         mode for addition resulting in exact zero.
63547         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
63548         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
63549         exact 0 + 0.
63550         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
63551         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
63552         * math/libm-test.inc (fma_test): Add more tests.
63553         (fma_test_towardzero): New function.
63554         (fma_test_downward): Likewise.
63555         (fma_test_upward): Likewise.
63556         (main): Call the new functions.
63558 2012-09-28  David S. Miller  <davem@davemloft.net>
63560         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
63562 2012-09-28  Roland McGrath  <roland@hack.frob.com>
63564         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
63565         instead of SIGALRM.
63567         * sysdeps/gnu/_G_config.h: Moved to ...
63568         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
63569         * sysdeps/mach/hurd/_G_config.h: Moved to ...
63570         * sysdeps/generic/_G_config.h: ... here.
63572         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
63574         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
63576         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
63577         Conditionalize target on [libnss_test1.so-version].
63579         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
63581         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
63582         (elfobjdir): Move out of conditionals.
63584         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
63585         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
63586         (__nss_lookup_function): Conditionalize label remove_from_tree on
63587         [!DO_STATIC_NSS || SHARED], matching its only use.
63589 2012-09-28  David S. Miller  <davem@davemloft.net>
63591         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
63592         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
63593         file.
63594         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
63595         sysdep_routines.
63596         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
63597         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
63598         when HWCAP_SPARC_CRYPTO is present.
63600 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
63602         * io/tst-mknodat.c: Create a FIFO instead of a socket.
63604 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
63606         [BZ #6530]
63607         * stdio-common/vfprintf.c (process_string_arg): Revert
63608         2000-07-22 change.
63610 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
63612         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
63613         for testcase.
63614         * stdio-common/tst-sprintf.c: Include <locale.h>
63615         (main): Test sprintf's handling of incomplete multibyte
63616         characters.
63618 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
63620         * elf/dl-runtime.c (VERSYMIDX): Removed.
63621         * elf/dl-version.c (VERSYMIDX): Likewise.
63622         * elf/do-rel.h (VERSYMIDX): Likewise.
63623         (VALIDX): Likewise.
63624         * elf/dynamic-link.h (VERSYMIDX): Likewise.
63625         * elf/rtld.c (VALIDX): Likewise.
63626         (ADDRIDX): Likewise.
63627         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
63628         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
63629         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
63630         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
63631         (VALIDX): Likewise.
63632         (ADDRIDX): Likewise.
63634 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
63636         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
63638 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
63640         [BZ #11438]
63641         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
63642         to global scope.
63643         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
63644         addresses are in the same scope as 192.0.2/24.
63645         * posix/gai.conf: Document new scope table defaults.
63647 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63649         [BZ #5298]
63650         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
63651         for ftell.  Compute offsets from write pointers instead.
63652         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
63654 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63656         [BZ #14543]
63657         * libio/Makefile (tests): New test case tst-fseek.
63658         * libio/tst-fseek.c: New test case to verify that fseek/ftell
63659         combination works in wide mode.
63660         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
63661         state when the external buffer state changes.
63663 2012-09-27  David S. Miller  <davem@davemloft.net>
63665         [BZ #14376]
63666         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
63667         pass reloc->r_addend in as the 'high' argument to
63668         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
63670         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63672 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
63674         * rt/tst-aio2.c: Include <pthread.h>.
63675         * rt/tst-aio3.c: Likewise.
63677 2012-09-27  Steve Ellcey  <sellcey@mips.com>
63679         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
63681 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
63683         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
63684         contents on [SHARED].
63686 2012-09-26  Marek Polacek  <polacek@redhat.com>
63688         [BZ #14530]
63689         [BZ #13741]
63690         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
63691         for C++ and GCC <4.3 as well as for non GCC compilers.
63693 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
63695         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63697 2012-09-25  Roland McGrath  <roland@hack.frob.com>
63699         * Makefile.in (all, install): Declare with .PHONY.
63700         Reported by Michael Hope <michael.hope@linaro.org>.
63702 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63704         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
63705         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
63706         system header.
63707         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
63708         Likewise.
63709         (sydep_routines): Add the new and the internal functions.
63710         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
63711         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
63712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
63713         (GLIBC_2.17): Add the new function.
63714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
63715         (GLIBC_2.17): Likewise.
63716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
63717         (GLIBC_2.17): Likewise.
63718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
63719         (GLIBC_2.17): Likewise.
63720         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
63722 2012-09-25  Alan Modra  <amodra@gmail.com>
63724         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
63725         Add release barrier before setting once_control to say
63726         initialisation is done.  Add hints on lwarx.  Use macro in
63727         place of isync.
63728         (clear_once_control): Add release barrier.
63730 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
63732         [BZ #13629]
63733         * math/s_clog.c (__clog): Handle more values close to |z| = 1
63734         specially.
63735         * math/s_clog10.c (__clog10): Likewise.
63736         * math/s_clog10f.c (__clog10f): Likewise.
63737         * math/s_clog10l.c (__clog10l): Likewise.
63738         * math/s_clogf.c (__clogf): Likewise.
63739         * math/s_clogl.c (__clogl): Likewise.
63740         * math/Makefile (libm-calls): Add x2y2m1.
63741         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
63742         (__x2y2m1): Likewise.
63743         (__x2y2m1l): Likewise.
63744         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
63745         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
63746         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
63747         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
63748         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
63749         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
63750         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
63751         * sysdeps/i386/fpu/libm-test-ulps: Update.
63752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63754         [BZ #14621]
63755         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
63756         int as type of variable DEPTH.
63757         (glob): Use size_t instead of int as type of variables NEWCOUNT
63758         and OLD_PATHC.
63760 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63762         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
63763         Add s_sincosf-sse2.
63764         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
63765         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
63766         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
63767         macros for using routine as __sincosf_ia32.
63768         Use macro for function declaration and weak_alias.
63769         * sysdeps/i386/fpu/libm-test-ulps: Update.
63771         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
63772         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63774         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
63775         subnormal argument.
63776         * math/s_cexpf.c (__cexpf): Likewise.
63777         * math/s_csinf.c (__csinf): Likewise.
63778         * math/s_csinhf.c (__csinhf): Likewise.
63779         * math/s_ctanf.c (__ctanf): Likewise.
63780         * math/s_ctanhf.c (__ctanhf): Likewise.
63781         * math/s_ccosh.c (__ccoshf): Likewise.
63782         * math/s_cexp.c (__cexpl): Likewise.
63783         * math/s_csin.c (__csin): Likewise.
63784         * math/s_csinh.c (__csinh): Likewise.
63785         * math/s_ctan.c (__ctan): Likewise.
63786         * math/s_ctanh.c (ctanh): Likewise.
63787         * math/s_ccoshl.c (__ccoshl): Likewise.
63788         * math/s_cexpl.c (__cexpl): Likewise.
63789         * math/s_csinl.c (__csinl): Likewise.
63790         * math/s_csinhl.c (__csinhl): Likewise.
63791         * math/s_ctanl.c (__ctanl): Likewise.
63792         * math/s_ctanhl.c (__ctanhl): Likewise.
63794 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
63796         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
63797         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
63798         (_IO_off_t): Define to __off_t, not _G_off_t.
63799         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
63800         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
63801         (_IO_wint_t): Define to wint_t, not _G_wint_t.
63802         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
63803         type of __dummy and __dummy2 fields.
63804         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
63805         (_G_ssize_t): Likewise.
63806         (_G_off_t): Likewise.
63807         (_G_pid_t): Likewise.
63808         (_G_uid_t): Likewise.
63809         (_G_wchar_t): Likewise.
63810         (_G_wint_t): Likewise.
63811         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
63812         (_G_ssize_t): Likewise.
63813         (_G_off_t): Likewise.
63814         (_G_pid_t): Likewise.
63815         (_G_uid_t): Likewise.
63816         (_G_wchar_t): Likewise.
63817         (_G_wint_t): Likewise.
63818         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
63819         (_G_ssize_t): Likewise.
63820         (_G_off_t): Likewise.
63821         (_G_pid_t): Likewise.
63822         (_G_uid_t): Likewise.
63823         (_G_wchar_t): Likewise.
63824         (_G_wint_t): Likewise.
63826 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
63828         * malloc/arena.c: Include malloc-sysdep.h.
63829         (shrink_heap): Use check_may_shrink_heap to decide if madvise
63830         is sufficient to shrink the heap or an unmap is needed.
63831         * sysdeps/generic/malloc-sysdep.h: New file.  Define
63832         new function check_may_shrink_heap.
63833         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
63834         new function check_may_shrink_heap.
63836 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
63838         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
63839         comments.
63841 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
63843         * catgets/test-gencat.sh: Add "set -e".
63844         * elf/tst-pathopt.sh: Likewise.
63845         * grp/tst_fgetgrent.sh: Likewise.
63846         * iconvdata/run-iconv-test.sh: Likewise.
63847         * intl/tst-gettext.sh: Likewise.
63848         * intl/tst-gettext2.sh: Likewise.
63849         * intl/tst-gettext4.sh: Likewise.
63850         * intl/tst-gettext6.sh: Likewise.
63851         * intl/tst-translit.sh: Likewise.
63852         * io/ftwtest-sh: Likewise.
63853         * libio/test-freopen.sh: Likewise.
63854         * malloc/tst-mtrace.sh: Likewise.
63855         * posix/globtest.sh: Likewise.
63856         * posix/tst-getconf.sh: Likewise.
63857         * posix/wordexp-tst.sh: Likewise.
63858         * stdio-common/tst-printf.sh: Likewise.
63859         * stdio-common/tst-unbputc.sh: Likewise.
63860         * stdlib/tst-fmtmsg.sh: Likewise.
63861         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
63862         * catgets/Makefile: Do not specify -e option when running
63863         testsuite shell scripts.
63864         * elf/Makefile: Likewise.
63865         * grp/Makefile: Likewise.
63866         * iconvdata/Makefile: Likewise.
63867         * intl/Makefile: Likewise.
63868         * io/Makefile: Likewise.
63869         * libio/Makefile: Likewise.
63870         * malloc/Makefile: Likewise.
63871         * posix/Makefile: Likewise.
63872         * stdio-common/Makefile: Likewise.
63873         * stdlib/Makefile: Likewise.
63874         * sysdeps/x86_64/Makefile: Likewise.
63876         * io/ftwtest-sh: Add copyright header.
63877         * posix/globtest.sh: Likewise.
63878         * posix/tst-getconf.sh: Likewise.
63879         * posix/wordexp-tst.sh: Likewise.
63880         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
63882 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
63884         [BZ #13679]
63885         * Makeconfig (+link): Defined as $(+link-static) if
63886         $(build-shared) isn't yes.
63887         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
63888         isn't yes.
63889         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
63891         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
63893         [BZ #14562]
63894         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
63895         new chunk size with MALLOC_ALIGN_MASK.
63897 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
63899         [BZ #5044]
63900         * stdio-common/printf_fphex.c: Include <stdbool.h> and
63901         <rounding-mode.h>.
63902         (__printf_fphex): Determine rounding using get_rounding_mode and
63903         round_away.
63904         * stdio-common/tst-printf-round.c (struct hex_test): New
63905         structure.
63906         (hex_tests): New variable.
63907         (test_hex_in_one_mode): New function.
63908         (do_test): Also run tests for hex float output.
63910 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
63912         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
63913         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
63914         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
63915         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
63916         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
63917         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
63918         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
63919         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
63921 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
63923         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
63924         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
63925         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
63926         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
63928 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
63930         [BZ #14579]
63931         * elf/rtld.c (dl_main): Limit the check for self loading to normal
63932         mode only.
63933         * elf/tst-rtld-load-self.sh: New test.
63934         * elf/Makefile: Run it.
63936 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
63938         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
63939         (tst-writev-ENV): Remove.
63940         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
63942 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
63944         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
63946 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
63948         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
63949         unconditional.
63950         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
63951         Likewise.
63952         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
63953         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
63954         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
63955         Likewise.
63957 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
63959         [BZ #14587]
63960         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
63961         * config.make.in (have-cpp-asm-debuginfo): Removed.
63962         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
63963         * configure: Regenerated.
63965 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
63967         [BZ #5044]
63968         * stdio-common/printf_fp.c: Include <stdbool.h> and
63969         <rounding-mode.h>.
63970         (___printf_fp): Determine rounding using get_rounding_mode and
63971         round_away.
63972         * stdio-common/tst-printf-round.c: New file.
63973         * stdio-common/Makefile (tests): Add tst-printf-round.
63974         (link-libm): New variable.
63975         ($(objpfx)tst-printf-round): Depend in $(link-libm).
63977 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
63979         [BZ #14576]
63980         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
63981         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
63982         Likewise.
63983         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
63984         Likewise.
63986 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
63988         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
63989         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
63990         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
63991         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
63993 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
63995         [BZ #14518]
63996         * include/rounding-mode.h: New file.
63997         * sysdeps/generic/get-rounding-mode.h: Likewise.
63998         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
63999         * stdlib/strtod_l.c: Include <rounding-mode.h>.
64000         (MAX_VALUE): New macro.
64001         (MIN_VALUE): Likewise.
64002         (overflow_value): New function.
64003         (underflow_value): Likewise.
64004         (round_and_return): Use overflow_value and underflow_value to
64005         determine return values in overflow and underflow cases.  Use
64006         round_away to determine rounding depending on rounding mode.
64007         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
64008         determine return values in overflow and underflow cases.
64009         * stdlib/tst-strtod-round.c: Include <fenv.h>.
64010         (struct test_results): New structure.
64011         (struct test): Use struct test_results to store expected results
64012         for all rounding modes.
64013         (TEST): Include expected results for all rounding modes.
64014         (test_in_one_mode): New function.
64015         (do_test): Use test_in_one_mode to compute and check results.
64016         Check results for all rounding modes.
64017         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
64018         $(link-libm).
64020 2012-12-09  Allan McRae  <allan@archlinux.org>
64022         * sysdeps/i386/fpu/libm-test-ulps: Update
64024 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
64026         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
64027         (_G_int32_t): Likewise.
64028         (_G_uint16_t): Likewise.
64029         (_G_uint32_t): Likewise.
64030         (_G_HAVE_BOOL): Likewise.
64031         (_G_HAVE_ATEXIT): Likewise.
64032         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
64033         (_G_HAVE_IO_FILE_OPEN): Likewise.
64034         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
64035         (_G_int32_t): Likewise.
64036         (_G_uint16_t): Likewise.
64037         (_G_uint32_t): Likewise.
64038         (_G_HAVE_BOOL): Likewise.
64039         (_G_HAVE_ATEXIT): Likewise.
64040         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
64041         (_G_HAVE_IO_FILE_OPEN): Likewise.
64042         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
64043         (_G_int32_t): Likewise.
64044         (_G_uint16_t): Likewise.
64045         (_G_uint32_t): Likewise.
64046         (_G_HAVE_BOOL): Likewise.
64047         (_G_HAVE_ATEXIT): Likewise.
64048         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
64049         (_G_HAVE_IO_FILE_OPEN): Likewise.
64051 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
64053         * csu/libc-tls.c: Update copyright years.
64055 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
64057         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
64058         [!_G_USING_THUNKS]: Remove conditional code.
64059         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
64060         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
64062         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
64063         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
64064         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
64065         (_G_VTABLE_LABEL_PREFIX): Likewise.
64066         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
64067         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
64068         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
64069         (_G_VTABLE_LABEL_PREFIX): Likewise.
64070         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
64071         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
64072         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
64073         (_G_VTABLE_LABEL_PREFIX): Likewise.
64074         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
64076 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
64078         * libio/Makefile: Include ../Makeconfig before tests.
64079         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
64080         only if $(build-shared) is yes.
64082         * iconv/gconv_db.c: Update copyright years.
64084 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64086         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
64087         unwind info if defined PIC. Fix special cases description.
64088         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
64090         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
64091         DP_HI_MASK entry.
64092         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
64094 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
64096         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
64098         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
64099         is NULL.
64101         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
64102         (LDLIBS-tst-chk4): This.
64103         (LDFLAGS-tst-chk5): Renamed to ...
64104         (LDLIBS-tst-chk5): This.
64105         (LDFLAGS-tst-chk6): Renamed to ...
64106         (LDLIBS-tst-chk6): This.
64107         (LDFLAGS-tst-lfschk4): Renamed to ...
64108         (LDLIBS-tst-lfschk4): This.
64109         (LDFLAGS-tst-lfschk5): Renamed to ...
64110         (LDLIBS-tst-lfschk5): This.
64111         (LDFLAGS-tst-lfschk6): Renamed to ...
64112         (LDLIBS-tst-lfschk6): This.
64114         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
64115         on $(common-objpfx)soversions.mk.
64117 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
64119         [BZ #10014]
64120         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
64121         example host name.
64123 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
64125         * malloc/arena.c (arena_get_retry): New function that gets
64126         another arena for the caller to try its request on.
64127         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
64128         current arena cannot fulfill the request.
64129         (__libc_memalign): Likewise.
64130         (__libc_memalign): Likewise.
64131         (__libc_pvalloc): Likewise.
64132         (__libc_calloc): Likewise.
64134 2012-09-05  John Tobey  <john.tobey@gmail.com>
64136         [BZ #13542]
64137         * manual/arith.texi (Operations on Complex): Fix description
64138         of carg branch cut.
64140 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
64142         [BZ #10014]
64143         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
64144         host name.
64146         [BZ #10038]
64147         * manual/memory.texi (Memory): Make order of menu items match
64148         order of sections.
64150 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
64152         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
64153         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
64154         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
64156 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
64158         * csu/libc-tls.c (static_dtv): Renamed to ...
64159         (_dl_static_dtv): This.  Make it global.
64160         (_dl_initial_dtv): Removed.
64161         (__libc_setup_tls): Updated.
64162         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
64163         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
64164         DL_INITIAL_DTV.
64166 2012-09-06  Petr Machata  <pmachata@redhat.com>
64168         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
64169         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
64170         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
64171         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
64173 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
64175         [BZ #14545]
64176         * csu/libc-tls.c (_dl_initial_dtv): New variable.
64177         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
64178         freeing dtv[-1].
64180 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
64182         [BZ #14544]
64183         * Makeconfig (link-static-before-libc): Replace $(+prector)
64184         with $(+prectorT).
64185         (link-static-after-libc): Replace $(+postctor) with
64186         $(+postctorT).
64187         (link-bounded): Replace $(+prector)/$(+postctor) with
64188         $(+prectorT)/$(+postctorT).
64189         (+prectorT): New macro.
64190         (+postctorT): Likewise.
64192 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
64194         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
64195         (round_str): Handle values above the maximum for IBM long double
64196         as inexact.
64197         * stdlib/tst-strtod-round.c (tests): Regenerated.
64199 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64201         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
64202         assembler flag.
64203         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
64204         zarch_nohighgprs around the zarch optimized routines.
64205         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
64206         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
64207         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
64208         for zarch.
64210 2012-09-05  David S. Miller  <davem@davemloft.net>
64212         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64214         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
64215         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
64216         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
64217         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
64218         entries.
64220 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
64222         * malloc/arena.c: Fold copyright years.
64223         * malloc/mcheck.c, malloc/memusage.c: Likewise.
64225 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
64227         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
64229 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
64231         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
64233 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
64235         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
64236         change internal state upon failure.
64238 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
64240         * malloc/mcheck.c (mcheck_check_all): Fix typo.
64241         * malloc/memusage.c (mmap): Likewise.
64242         (mmap64, mremap): Likewise.  Adjust name in comment.
64244 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
64246         * libio/fileops.c: Fix typos in comments.
64247         * libio/oldfileops.c: Likewise.
64248         * libio/wfileops.c: Likewise.
64250 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
64252         [BZ #1349]
64253         * malloc/Makefile (tests): Add tst-malloc-usable test case.
64254         (tst-malloc-usable-ENV): Set environment for test case.
64255         * malloc/hooks.c (malloc_check_get_size): New function to get
64256         requested size.
64257         * malloc/malloc.c (musable): Use malloc_check_get_size.
64258         * malloc/tst-malloc-usable.c: New test case.
64260 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
64262         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
64264 2012-09-05  Allan McRae  <allan@archlinux.org>
64266         [BZ #13966]
64267         * configure.in (CXX_SYSINCLUDES): Use compiler output to
64268         determine header location.
64269         * configure: Regenerated.
64271 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
64273         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
64274         float format.
64275         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
64276         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
64277         format.
64278         (test): Regenerate.
64280 2012-09-04  David S. Miller  <davem@davemloft.net>
64282         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
64283         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
64284         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
64286 2012-09-04  Florian Weimer  <fweimer@redhat.com>
64288         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
64289         failures.
64291         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
64293 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
64295         [BZ #9914]
64296         * libio/iogetdelim.c: Include <limits.h>.
64297         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
64298         + len + 1 would overflow.
64300 2012-09-03  Andreas Jaeger  <aj@suse.de>
64302         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64303         * sysdeps/i386/fpu/libm-test-ulps: Update.
64305 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64307         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
64308         Add s_sinf-sse2, s_conf-sse2.
64310         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
64311         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
64312         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
64313         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
64315         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
64316         for using routine as __sinf_ia32.
64317         Use macro for function declaration and weak_alias.
64318         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
64319         for using routine as __cosf_ia32.
64320         Use macro for function declaration and weak_alias.
64322         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
64323         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
64325         * sysdeps/x86_64/fpu/s_sinf.S: New file.
64326         * sysdeps/x86_64/fpu/s_cosf.S: New file.
64327         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64329         * math/libm-test.inc (cos_test): Add more test cases.
64330         (sin_test): Likewise.
64331         (sincos_test): Likewise.
64333 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64335         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
64336         (IFUNC_RESOLVE): Make pointers to the specialized implementations
64337         hidden.
64338         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
64340 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
64342         [BZ #14538]
64343         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
64344         first element of the GOT.
64345         (elf_machine_load_address): Return the difference between
64346         the runtime address of _DYNAMIC and elf_machine_dynamic ().
64348 2012-09-01  Allan McRae  <allan@archlinux.org>
64350         [BZ #13412]
64351         * configure.in (AWK): Require gawk version 3.0 or later.
64352         * configure: Regenerated.
64354 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
64356         * sysdeps/unix/sysv/linux/kernel-features.h
64357         (__ASSUME_POSIX_CPU_TIMERS): Remove.
64358         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
64359         [__NR_clock_getres]: Make code unconditional.
64360         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
64361         (clock_getcpuclockid): Remove code left unreachable by removal of
64362         conditionals.
64363         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
64364         code unconditional.
64365         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
64366         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
64367         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
64368         Make code unconditional.
64369         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
64370         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
64371         * sysdeps/unix/sysv/linux/clock_settime.c
64372         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
64373         conditional code.
64374         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
64375         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
64377 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
64379         [BZ #14476]
64380         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
64381         scripts/test-installation.pl.
64383         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
64384         and $ld_so_version if it is set.
64386 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
64388         [BZ #14516]
64389         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
64390         failure if reading from procfs failed.
64391         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
64393 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
64395         * sysdeps/unix/sysv/linux/kernel-features.h
64396         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
64397         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
64398         Remove conditional code.
64399         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64400         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
64401         Remove conditional code.
64402         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64403         * sysdeps/unix/sysv/linux/i386/fxstat.c
64404         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
64405         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64406         * sysdeps/unix/sysv/linux/i386/fxstatat.c
64407         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
64408         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64409         * sysdeps/unix/sysv/linux/i386/lxstat.c
64410         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
64411         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64412         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
64413         Remove conditional code.
64414         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64415         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
64416         Remove conditional code.
64417         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64418         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
64419         <kernel-features.h>.
64420         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
64421         Remove.
64422         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
64423         Remove conditional code.
64424         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64425         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
64426         Remove conditional.
64428 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
64430         [BZ #5400]
64431         * NEWS: Add fixed bug number.
64433 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
64435         [BZ #14519]
64436         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
64437         underflowing exponent in case of negative sign.
64438         * stdlib/tst-strtod-round-data: Add more tests.
64439         * stdlib/tst-strtod-round.c (tests): Regenerated.
64441         [BZ #3479]
64442         * stdlib/strtod_l.c (NDIG): Remove.
64443         (HEXNDIG): Likewise.
64444         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
64445         smallest representable value.
64446         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
64447         lie within an exact representation of 1/2 ulp of the result.
64448         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
64449         unconditionally.
64450         (TENS_P9_IDX): Define unconditionally.
64451         (TENS_P9_SIZE): Likewise.
64452         (TENS_P10_IDX): Likewise.
64453         (TENS_P10_SIZE): Likewise.
64454         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
64455         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
64456         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
64457         entries for 10^2^13 and 10^2^14.
64458         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
64459         (TENS_P13_IDX): Define.
64460         (TENS_P13_SIZE): Likewise.
64461         (TENS_P14_IDX): Likewise.
64462         (TENS_P14_SIZE): Likewise.
64463         (_fpioconst_pow10): Change array size to
64464         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
64465         unconditional.
64466         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
64467         1024]: Add entries for 10^2^13 and 10^2^14.
64468         [LAST_POW10 > _LAST_POW10]: Remove #error.
64469         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
64470         (_fpioconst_pow10): Change array size to
64471         FPIOCONST_POW10_ARRAY_SIZE.
64472         * stdlib/gen-fpioconst.c: New file.
64473         * stdlib/gen-tst-strtod-round.c: Likewise.
64474         * stdlib/tst-strtod-round-data: Likewise.
64475         * stdlib/tst-strtod-round.c: Likewise.
64476         * stdlib/Makefile (tests): Add tst-strtod-round.
64478         [BZ #14459]
64479         * stdlib/strtod_l.c: Include <stdint.h>.
64480         (NDEBUG): Do not define.
64481         (round_and_return): Change EXPONENT parameter to type intmax_t.
64482         Rearrange calculations to avoid internal overflow possibilities.
64483         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
64484         Rearrange calculations to avoid internal overflow possibilities.
64485         Assert that number fits inside MPNSIZE limbs.
64486         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
64487         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
64488         calculations and add assertions to avoid internal overflow
64489         possibilities.  Add casts to avoid signed/unsigned operations.
64490         * stdlib/tst-strtod-overflow.c: New file.
64491         * stdlib/Makefile (tests): Add tst-strtod-overflow.
64493 2012-08-25  Marek Polacek  <polacek@redhat.com>
64495         * time/time.h: Fix some typos in comments.
64497 2012-08-23  Roland McGrath  <roland@hack.frob.com>
64499         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
64500         * posix/tst-rfc3484-2.c: Likewise.
64501         * posix/tst-rfc3484-3.c: Likewise.
64503 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
64505         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
64506         (EF_ARM_ABI_FLOAT_HARD): Likewise.
64508 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
64510         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
64511         #include of fxstatat64.c.
64513 2012-08-22  Roland McGrath  <roland@hack.frob.com>
64515         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
64516         * shadow/getspent_r.c: Likewise.
64517         * shadow/getspnam.c: Likewise.
64518         * shadow/getspnam_r.c: Likewise.
64519         * gshadow/getsgent.c: Likewise.
64520         * gshadow/getsgent_r.c: Likewise.
64521         * gshadow/getsgnam.c: Likewise.
64522         * gshadow/getsgnam_r.c: Likewise.
64523         * inet/getnetbyad.c: Likewise.
64524         * inet/getnetbyad_r.c: Likewise.
64525         * inet/getnetbynm.c: Likewise.
64526         * inet/getnetbynm_r.c: Likewise.
64527         * inet/getnetent.c: Likewise.
64528         * inet/getnetent_r.c: Likewise.
64529         * inet/getproto.c: Likewise.
64530         * inet/getproto_r.c: Likewise.
64531         * inet/getprtent.c: Likewise.
64532         * inet/getprtent_r.c: Likewise.
64533         * inet/getprtname.c: Likewise.
64534         * inet/getprtname_r.c: Likewise.
64535         * inet/getrpcbyname.c: Likewise.
64536         * inet/getrpcbyname_r.c: Likewise.
64537         * inet/getrpcbynumber.c: Likewise.
64538         * inet/getrpcbynumber_r.c: Likewise.
64539         * inet/getrpcent.c: Likewise.
64540         * inet/getrpcent_r.c: Likewise.
64541         * inet/getaliasent.c: Likewise.
64542         * inet/getaliasent_r.c: Likewise.
64543         * inet/getaliasname.c: Likewise.
64544         * inet/getaliasname_r.c: Likewise.
64545         * nscd/getgrgid_r.c: Likewise.
64546         * nscd/getgrnam_r.c: Likewise.
64547         * nscd/gethstbyad_r.c: Likewise.
64548         * nscd/gethstbynm3_r.c: Likewise.
64549         * nscd/getpwnam_r.c: Likewise.
64550         * nscd/getpwuid_r.c: Likewise.
64551         * nscd/getsrvbynm_r.c: Likewise.
64552         * nscd/getsrvbypt_r.c: Likewise.
64553         * nscd/gai.c: Likewise.
64555         * configure.in (build_nscd): New substituted variable, set
64556         by --disable-build-nscd and defaults to $use_nscd.
64557         * configure: Regenerated.
64558         * config.make.in (build-nscd): New substituted variable.
64559         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
64560         Change conditional to require [$(build-nscd) = yes] as well.
64561         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
64563         [BZ# 13696]
64564         * configure.in (use_nscd): New substituted variable, set by
64565         --disable-nscd.  If enabled, define USE_NSCD.
64566         * configure: Regenerated.
64567         * config.h.in: Add USE_NSCD.
64568         * config.make.in (use-nscd): New substituted variable.
64569         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
64570         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
64571         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
64572         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
64573         (CFLAGS-getgrnam_r.c): Likewise.
64574         (CFLAGS-initgroups.c): Likewise.
64575         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
64576         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
64577         Variables removed.
64578         * inet/getnetgrent_r.c
64579         (nscd_setnetgrent): New function, broken out of ...
64580         (setnetgrent): ... here.  Call it.
64581         (innetgr): Conditionalize nscd bits on [USE_NSCD].
64582         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
64583         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
64584         * nscd/Makefile (routines, aux): Move definitions after include of
64585         Makeconfig.  Conditionalize on [$(use-nscd) != no].
64586         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
64587         Conditionalize on [USE_NSCD].
64588         (is_nscd, nscd_init_cb): Likewise.
64589         (nss_load_library): Conditionalize init callback on [USE_NSCD].
64590         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
64591         * nss/nss_db/db-init.c: Likewise.
64592         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
64593         [USE_NSCD].
64594         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
64595         (make_request): Use it.
64596         (cache_valid_p): New function.
64597         (__check_pf): Use it.
64598         * NEWS: Add item for --disable-nscd.
64600 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
64602         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
64603         to support sed >= 4.2.1-20-ga9bf076.
64604         * configure: Regenerated.
64606 2012-08-22  Roland McGrath  <roland@hack.frob.com>
64608         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
64609         Conditionalize whole body on [IREL].
64611 2012-08-22  Jeff Law <law@redhat.com>
64613         [BZ #14505]
64614         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
64615         if the family is PF_UNSPEC.
64617 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
64619         * Makerules (lib-version): Rename from V.
64620         (install-lib-nosubdir): Change V to lib-version.
64622 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
64624         [BZ #14252]
64625         * powerpc32/power6/wcschr.c: New file.
64626         * powerpc32/power6/wcscpy.c: New file.
64627         * powerpc32/power6/wcsrchr.c: New file.
64628         * powerpc64/power6/wcschr.c: New file.
64629         * powerpc64/power6/wcscpy.c: New file.
64630         * powerpc64/power6/wcsrchr.c: New file.
64632 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
64634         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
64635         (two_way_short_needle): Use it.
64636         * string/strstr.c (AVAILABLE1_USES_J): Define.
64637         * string/strcasestr.c: Likewise.
64639         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
64640         array references.
64641         * string/strcasestr.c (TOLOWER): Make side-effect safe.
64643         [BZ #11607]
64644         * NEWS: Add an entry.
64645         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
64646         define their defaults.
64647         (two_way_short_needle): Detect end-of-string on-the-fly.
64648         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
64649         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
64650         * string/bug-strcasestr1.c: New test.
64651         * string/Makefile: Run it.
64653 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
64655         [BZ #11607]
64656         * string/str-two-way.h (two_way_short_needle): Optimize matching of
64657         the first character.
64659 2012-08-21  Roland McGrath  <roland@hack.frob.com>
64661         * csu/elf-init.c (__libc_csu_irel): Function removed.
64662         * csu/libc-start.c (apply_irel): New function.
64663         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
64665 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
64667         * sysdeps/unix/sysv/linux/kernel-features.h
64668         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
64669         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
64670         <kernel-features.h>.
64671         [__NR_fadvise64_64]: Make code unconditional.
64672         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
64673         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
64674         !__NR_fadvise64_64)]: Likewise.
64675         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
64676         !__NR_fadvise64_64))]: Likewise.
64677         [__NR_fadvise64]: Make code unconditional.
64678         [!__NR_fadvise64]: Remove conditional code.
64679         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
64680         <kernel-features.h>.
64681         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
64682         unconditional.
64683         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
64684         conditional code.
64685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
64686         not include <kernel-features.h>.
64687         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
64688         unconditional.
64689         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
64690         conditional code.
64691         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
64692         include <kernel-features.h>.
64693         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
64694         unconditional.
64695         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
64696         conditional code.
64698 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
64700         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
64701         slight instruction rearrangements per scrollpipe analysis.
64702         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
64704 2012-08-20  Roland McGrath  <roland@hack.frob.com>
64706         * manual/syslog.texi (syslog; vsyslog, closelog):
64707         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
64708         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
64710         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
64711         DSOCAPS to match condition on defining it.
64713 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
64715         * sysdeps/unix/sysv/linux/kernel-features.h
64716         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
64717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
64718         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
64719         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
64720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
64721         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
64722         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
64723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
64724         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
64725         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
64727         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
64728         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
64730         * sysdeps/unix/sysv/linux/kernel-features.h
64731         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
64732         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
64733         unconditional.
64734         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64735         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
64736         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
64737         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64738         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
64739         Make code unconditional.
64740         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64741         (__mmap64) [!__NR_mmap2]: Likewise.
64742         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
64743         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
64744         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64745         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
64746         [__NR_mmap2]: Make code unconditional.
64747         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64748         (__mmap64) [!__NR_mmap2]: Likewise.
64750 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64752         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
64754 2012-08-18  Andreas Jaeger  <aj@suse.de>
64756         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
64758 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
64760         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
64761         * include/unistd.h (__have_sock_cloexec): Likewise.
64762         (__have_pipe2): Likewise.
64763         (__have_dup3): Likewise.
64765 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
64767         [BZ #9685]
64768         * include/unistd.h (__have_pipe2): Change define into an extern int.
64769         (__have_dup3): Likewise.
64770         * socket/have_sock_cloexec.c: Include fcntl.h.
64771         (__have_pipe2): New variable.
64772         (__have_dup3): Likewise.
64774 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
64776         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
64778 2012-08-17  Marek Polacek  <polacek@redhat.com>
64780         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
64781         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
64783 2012-08-17  Roland McGrath  <roland@hack.frob.com>
64785         * configure.in: Add AC_SUBST for sysheaders.
64786         * configure: Regenerated.
64787         * config.make.in (sysheaders): New substituted variable.
64789         * sysdeps/unix/mkfifo.c: Moved ...
64790         * sysdeps/posix/mkfifo.c: ... here.
64791         * sysdeps/unix/mkfifoat.c: Moved ...
64792         * sysdeps/posix/mkfifoat.c: ... here.
64794         * sysdeps/unix/utime.c: Moved ...
64795         * sysdeps/posix/utime.c: ... here.
64797         * sysdeps/unix/time.c: Moved ...
64798         * sysdeps/posix/time.c: ... here.
64799         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
64800         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
64802         * sysdeps/unix/nice.c: Moved ...
64803         * sysdeps/posix/nice.c: ... here.
64805         * sysdeps/unix/alarm.c: Moved ...
64806         * sysdeps/posix/alarm.c: ... here.
64808         * intl/Makefile ($(codeset_mo)): Depend on the input file.
64810 2012-08-17  Jeff Law <law@redhat.com>
64812         * intl/Makefile (codeset_mo): New variable.
64813         ($(codeset_mo)): New target.
64814         (tst-codeset.out): Depend on that.  Remove explicit rule.
64815         (tst-gettext3.out, tst-gettext5.out): Likewise.
64816         (LOCPATH-ENV, tst-codeset-ENV): New variables.
64817         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
64818         * intl/tst-codeset.sh: Remove.
64819         * intl/tst-gettext3.sh: Likewise.
64820         * intl/tst-gettext5.sh: Likewise.
64822 2012-08-17  Roland McGrath  <roland@hack.frob.com>
64824         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
64825         * sysdeps/unix/syscalls.list: ... here.
64827         * sysdeps/posix/getaddrinfo.c
64828         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
64829         (gaiconf_init, gaiconf_reload): Use them.
64830         [!_STATBUF_ST_NSEC]
64831         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
64832         Define using time_t rather than struct timespec.
64834         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
64835         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
64836         Macros removed.
64837         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
64838         [!NO_THREADS].
64839         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
64840         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
64841         Likewise.
64843         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
64844         __libc_cleanup_push argument.
64846         * bits/param.h: New file.
64847         * misc/sys/param.h: New file.
64848         * include/sys/param.h: New file.
64849         * misc/Makefile (headers): Add bits/param.h.
64850         * sysdeps/generic/sys/param.h: File removed.
64851         * sysdeps/unix/sysv/linux/bits/param.h: New file.
64852         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
64853         * sysdeps/mach/hurd/bits/param.h: New file.
64854         * sysdeps/mach/hurd/sys/param.h: File removed.
64856         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
64857         last change.
64859         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
64860         [_IO_MTSAFE_IO].
64861         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
64862         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
64863         New macros.
64865         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
64866         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
64867         rather than -D_IO_MTSAFE_IO conditionally.
64868         * stdio-common/Makefile (CPPFLAGS): Likewise.
64869         * wcsmbs/Makefile (CPPFLAGS): Likewise.
64870         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
64871         Use $(libio-mtsafe).
64872         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
64873         of -D_IO_MTSAFE_IO.
64874         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
64875         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
64876         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
64877         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
64878         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
64879         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
64880         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
64881         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
64882         (CFLAGS-fread_u_chk.c): Likewise.
64883         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
64884         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
64885         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
64886         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
64887         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
64888         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
64889         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
64890         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
64891         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
64893         * libio/Makefile: Test [$(libc-reentrant) = yes]
64894         instead of [$(filter %REENTRANT, $(defines)) nonempty].
64896         * Makeconfig
64897         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
64898         * sysdeps/pthread/configure: File removed.
64899         * sysdeps/pthread/Makeconfig: New file.
64900         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
64901         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
64903 2012-08-16  Gary Benson  <gbenson@redhat.com>
64905         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
64906         unmapping the first object in a namespace.
64908 2012-08-16  Roland McGrath  <roland@hack.frob.com>
64910         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
64911         (__internal_setnetgrent): ... this.  Add internal_function to
64912         definition.  Add libc_hidden_def.
64913         (setnetgrent): Update caller.
64914         (internal_endnetgrent): Renamed to ...
64915         (__internal_endnetgrent): ... this.  Add internal_function to
64916         definition.  Add libc_hidden_def.
64917         (endnetgrent): Update caller.
64918         (internal_getnetgrent_r): Renamed to ...
64919         (__internal_getnetgrent_r): ... this.  Add internal_function to
64920         definition.  Add libc_hidden_def.
64921         (__getnetgrent_r): Update caller.
64922         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
64924 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
64926         * stdlib/longlong.h: Update from GCC.
64928 2012-08-16  Roland McGrath  <roland@hack.frob.com>
64930         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
64931         on _QL, which is set by umul_ppmm but never used.
64932         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
64933         variables, which are set by GMP macros but never used.
64934         * stdio-common/_itowa.c (_itowa): Likewise.
64935         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
64936         * stdlib/mod_1.c (mpn_mod_1): Likewise.
64938 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
64940         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
64941         struct La_sh_regs is not constant.
64942         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
64943         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
64944         and struct La_sparc64_regs are not constant.
64946 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
64948         * sysdeps/unix/sysv/linux/kernel-features.h
64949         (__ASSUME_POSIX_TIMERS): Remove.
64950         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
64951         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
64952         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
64953         Make code unconditional.
64954         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
64955         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
64956         Make code unconditional.
64957         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
64958         * sysdeps/unix/sysv/linux/clock_nanosleep.c
64959         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
64960         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
64961         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
64962         Make code unconditional.
64963         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
64964         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
64965         (__libc_missing_posix_timers): Remove.
64967 2012-08-15  Roland McGrath  <roland@hack.frob.com>
64969         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
64970         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
64972         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
64974         * elf/dl-sym.c: Include <stdlib.h>.
64976         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
64977         constants, which avoids warnings in 32-bit builds.
64979         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
64980         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
64982         * misc/lseek.c: File moved to ...
64983         * io/lseek.c: ... here.
64985         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
64987         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
64988         shifting LEN more than 31 bits at once.
64990 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64992         [BZ #14195]
64993         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
64994         segmentation fault for a case of two empty input strings.
64995         * string/test-strncasecmp.c (check1): Renamed to...
64996         (bz12205): ...this.
64997         (bz14195): Add new testcase for two empty input strings and N > 0.
64998         (test_main): Call new testcase, adapt for renamed function.
65000 2012-08-15  Andreas Jaeger  <aj@suse.de>
65002         [BZ #14090]
65003         * crypt/md5test2.c: New test, based on test supplied by Serge
65004         Belyshev <belyshev@depni.sinp.msu.ru>.
65005         * crypt/Makefile (xtests): Add md5test-giant..
65006         * crypt/Makefile ($(objpfx)md5test-giant): Add.
65008 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
65010         [BZ #14090]
65011         * crypt/md5.c (md5_process_block): Don't assume the buffer
65012         length is less than 2**32.
65013         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
65014         length is less than 2**64.
65016 2012-08-15  Roland McGrath  <roland@hack.frob.com>
65018         * string/str-two-way.h: Include <sys/param.h>.
65019         (MAX): Macro removed.
65021         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
65022         Move #define and #undef of memmove to just before and after
65023         including <string.h>.
65025         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
65026         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
65027         and after including <string.h>.  Move declarations of
65028         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
65029         to before #include "string/memmove.c".
65031         * include/dirent.h: Declare __getdirentries.
65033         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
65034         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
65036 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
65038         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
65039         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
65040         * sysdeps/i386/configure: Regenerated.
65041         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
65042         STABS_CURRENT_FILE, and STABS_FUN.
65043         (END): Remove call to STABS_FUN_END.
65044         (STABS_CURRENT_FILE1): Delete.
65045         (STABS_CURRENT_FILE): Likewise.
65046         (STABS_FUN): Likewise.
65047         (STABS_FUN_END): Likewise.
65048         (STABS_FUN2): Likewise.
65049         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
65050         * sysdeps/x86_64/configure: Regenerated.
65052 2012-08-14  Roland McGrath  <roland@hack.frob.com>
65054         * elf/dl-open.c: Include <atomic.h>.
65055         * elf/dl-lookup.c: Likewise.
65057 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
65059         * sysdeps/unix/sysv/linux/kernel-features.h
65060         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
65061         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
65062         unconditionally.
65063         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
65064         unconditionally.
65065         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
65066         condition on __ASSUME_CLONE_THREAD_FLAGS.
65068 2012-08-14  Andreas Jaeger  <aj@suse.de>
65070         * sysdeps/i386/fpu/libm-test-ulps: Update.
65072 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
65074         * include/atomic.h (atomic_exchange_and_add): Split into ...
65075         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
65076         New atomic macros.
65078 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
65080         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65082 2012-08-13  Jeff Law <law@redhat.com>
65084         * manual/stdio.texi (snprintf): Clarify handling of the trailing
65085         null byte in the output string.
65087 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
65089         * sysdeps/unix/sysv/linux/kernel-features.h
65090         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
65091         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
65092         (__ASSUME_ARG_MAX_STACK_BASED): Define.
65093         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
65094         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
65095         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
65096         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
65098 2012-08-09  Jeff Law <law@redhat.com>
65100         [BZ #13939]
65101         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
65102         When avoid_arena is set, don't retry in the that arena.  Pick the
65103         next one, whatever it might be.
65104         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
65105         (arena_lock): Pass in new parameter to arena_get2.
65106         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
65107         arena_get2.
65108         (__libc_malloc): Unify retrying after main arena failure with
65109         __libc_memalign version.
65110         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
65112 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
65114         [BZ #14166]
65115         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
65116         to __redirect_strstr.
65117         (__strstr_sse42): Use typeof __redirect_strstr.
65118         (__strstr_ia32): Likewise.
65119         (__libc_strstr): New prototype.
65120         (strstr): Renamed to ...
65121         (__libc_strstr): This.
65122         (strstr): New strong alias of __libc_strstr.
65123         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
65124         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
65125         __redirect_time.
65126         Include <time.h>.
65127         (__libc_time): New prototype.
65128         (time_ifunc): Replace time with __libc_time.
65129         (time): New strong alias and hidden definition of __libc_time.
65130         (__GI_time): Remove strong alias.
65131         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
65132         Include <stddef.h>.
65133         (memmove): Redefined to __redirect_memmove.
65134         (__memmove_sse2): Use typeof __redirect_memmove.
65135         (__memmove_ssse3): Likewise.
65136         (__memmove_ssse3_back): Likewise.
65137         (__libc_memmove): New prototype.
65138         (memmove): Renamed to ...
65139         (__libc_memmove): This.
65140         (memmove): New strong alias of __libc_memmove.
65142 2012-08-08  Mark Salter  <msalter@redhat.com>
65144         * elf/elf.h
65145         (R_MN10300_TLS_GD): Define.
65146         (R_MN10300_TLS_LD): Likewise.
65147         (R_MN10300_TLS_LDO): Likewise.
65148         (R_MN10300_TLS_GOTIE): Likewise.
65149         (R_MN10300_TLS_IE): Likewise.
65150         (R_MN10300_TLS_LE): Likewise.
65151         (R_MN10300_TLS_DTPMOD): Likewise.
65152         (R_MN10300_TLS_DTPOFF): Likewise.
65153         (R_MN10300_TLS_TPOFF): Likewise.
65154         (R_MN10300_SYM_DIFF): Likewise.
65155         (R_MN10300_ALIGN): Likewise.
65156         (R_MN10300_NUM): Update.
65158 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
65160         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
65161         Remove.
65163 2012-08-08  Roland McGrath  <roland@hack.frob.com>
65165         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
65167         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
65168         sysdeps/unix -> sysdeps/posix move.
65169         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
65171 2012-08-07      Allan McRae     <allan@archlinux.org>
65173         [BZ #14303]
65174         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
65175         (SUNOS_CPP): Likewise.
65176         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
65177         not found.
65178         (open_input): Call CPP using execvp.
65180 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
65182         * sysdeps/unix/sysv/linux/kernel-features.h
65183         (__ASSUME_PROT_GROWSUPDOWN): Remove.
65184         (__ASSUME_NO_CLONE_DETACHED): Likewise.
65185         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
65186         (__ASSUME_WAITID_SYSCALL): Likewise.
65187         * sysdeps/unix/sysv/linux/dl-execstack.c
65188         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
65189         code unconditional.
65190         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
65191         conditional code.
65192         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
65193         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
65194         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
65195         code.
65196         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
65197         unconditional.
65198         [__ASSUME_WAITID_SYSCALL]: Likewise.
65199         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
65201 2012-08-07  Roland McGrath  <roland@hack.frob.com>
65203         * sysdeps/unix/closedir.c: Renamed to ...
65204         * sysdeps/posix/closedir.c: ... here.
65205         * sysdeps/unix/dirfd.c: Renamed to ...
65206         * sysdeps/posix/dirfd.c: ... here.
65207         * sysdeps/unix/dirstream.h: Renamed to ...
65208         * sysdeps/posix/dirstream.h: ... here.
65209         * sysdeps/unix/fdopendir.c: Renamed to ...
65210         * sysdeps/posix/fdopendir.c: ... here.
65211         * sysdeps/unix/opendir.c: Renamed to ...
65212         * sysdeps/posix/opendir.c: ... here.
65213         * sysdeps/unix/readdir.c: Renamed to ...
65214         * sysdeps/posix/readdir.c: ... here.
65215         * sysdeps/unix/readdir_r.c: Renamed to ...
65216         * sysdeps/posix/readdir_r.c: ... here.
65217         * sysdeps/unix/rewinddir.c: Renamed to ...
65218         * sysdeps/posix/rewinddir.c: ... here.
65219         * sysdeps/unix/seekdir.c: Renamed to ...
65220         * sysdeps/posix/seekdir.c: ... here.
65221         * sysdeps/unix/telldir.c: Renamed to ...
65222         * sysdeps/posix/telldir.c: ... here.
65223         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
65224         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
65225         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
65226         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
65228         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
65229         * bits/fcntl.h: ... here.
65231         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
65232         not 0.
65233         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
65234         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
65235         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
65236         (struct flock): Move l_start, l_len to the beginning.
65237         Use __pid_t for l_pid.
65238         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
65239         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
65240         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
65241         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
65242         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
65243         [__USE_LARGEFILE64] (struct flock64): New type.
65244         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
65246         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
65247         * bits/dirent.h: ... here.
65249         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
65250         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
65252 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
65254         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
65255         Change from 2.6.0 to 2.6.16.
65256         * sysdeps/unix/sysv/linux/configure: Regenerated.
65257         * sysdeps/unix/sysv/linux/kernel-features.h
65258         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
65259         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
65260         version.
65261         (__ASSUME_UTIMES): Likewise.
65262         (__ASSUME_CLONE_STOPPED): Remove.
65263         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
65264         architectures, not kernel version.
65265         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
65266         (__ASSUME_NO_CLONE_DETACHED): Likewise.
65267         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
65268         (__ASSUME_WAITID_SYSCALL): Likewise.
65269         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
65270         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
65271         * README: State 2.6.16 as minimum Linux kernel version.  Do not
65272         refer to older versions.
65274 2012-08-06  Roland McGrath  <roland@hack.frob.com>
65276         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
65277         Define alphasort64 as an alias.
65278         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
65279         Define versionsort64 as an alias.
65280         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
65281         Define scandir64 as an alias.
65282         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
65283         Define scandirat64 as an alias.
65284         * dirent/alphasort64.c (alphasort64):
65285         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
65286         * dirent/versionsort64.c: Likewise.
65287         * dirent/scandir64.c: Likewise.
65288         * dirent/scandirat64.c: Likewise.
65289         * sysdeps/wordsize-64/alphasort.c: File removed.
65290         * sysdeps/wordsize-64/alphasort64.c: File removed.
65291         * sysdeps/wordsize-64/scandir.c: File removed.
65292         * sysdeps/wordsize-64/scandir64.c: File removed.
65293         * sysdeps/wordsize-64/scandirat.c: File removed.
65294         * sysdeps/wordsize-64/scandirat64.c: File removed.
65295         * sysdeps/wordsize-64/versionsort.c: File removed.
65296         * sysdeps/wordsize-64/versionsort64.c: File removed.
65297         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
65298         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
65299         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
65300         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
65301         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
65302         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
65303         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
65304         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
65306         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
65307         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
65308         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
65309         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65310         [defined __arch64__ || defined __sparcv9]
65311         (__INO_T_MATCHES_INO64_T): New macro.
65312         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
65313         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
65314         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
65315         * sysdeps/unix/sysv/linux/bits/dirent.h
65316         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
65317         (_DIRENT_MATCHES_DIRENT64): New macro.
65319         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
65320         Define lockf64 as an alias.
65321         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
65322         Define fseeko64 as an alias.
65323         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
65324         Define ftello64 as an alias.
65325         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
65326         Define _IO_fgetpos64 and fgetpos64 as aliases.
65327         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
65328         Define _IO_fsetpos64 and fsetpos64 as aliases.
65329         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
65330         Conditionalize body on this.
65331         * libio/fseeko64.c: Likewise.
65332         * libio/ftello64.c: Likewise.
65333         * libio/iofgetpos64.c: Likewise.
65334         * libio/iofsetpos64.c: Likewise.
65335         * sysdeps/wordsize-64/lockf.c: File removed.
65336         * sysdeps/wordsize-64/lockf64.c: File removed.
65337         * sysdeps/wordsize-64/fseeko.c: File removed.
65338         * sysdeps/wordsize-64/fseeko64.c: File removed.
65339         * sysdeps/wordsize-64/ftello.c: File removed.
65340         * sysdeps/wordsize-64/ftello64.c: File removed.
65341         * sysdeps/wordsize-64/iofgetpos.c: File removed.
65342         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
65343         * sysdeps/wordsize-64/iofsetpos.c: File removed.
65344         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
65345         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
65346         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
65347         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
65348         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
65349         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
65350         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
65351         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
65352         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
65353         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
65354         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
65356         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
65357         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
65358         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
65359         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65360         [defined __arch64__ || defined __sparcv9]
65361         (__OFF_T_MATCHES_OFF64_T): New macro.
65362         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
65363         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
65364         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65365         (__OFF_T_MATCHES_OFF64_T): New macro.
65367 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
65369         * stdlib/secure-getenv.c (__secure_getenv): Replace
65370         GLIBC_2_16 with GLIBC_2_17.
65372 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
65374         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
65375         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
65377 2012-08-03  David S. Miller  <davem@davemloft.net>
65379         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65381 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
65383         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
65384         Remove.
65385         (__ASSUME_CORRECT_SI_PID): Likewise.
65386         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
65387         (__ASSUME_TMPFS_NAME): Likewise.
65388         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
65389         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
65390         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
65391         (HAVE_AUX_SECURE): Make definition unconditional.
65392         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
65393         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
65395 2012-08-03  Roland McGrath  <roland@hack.frob.com>
65397         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
65398         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
65399         * sysdeps/mach/hurd/eloop-threshold.h: New file.
65400         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
65401         __eloop_threshold instead of SYMLOOP_MAX.
65403         * sysdeps/generic/eloop-threshold.h: New file.
65404         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
65405         of MAXSYMLINKS.
65406         * elf/chroot_canon.c (chroot_canon): Likewise.
65408 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
65410         [BZ #13717]
65411         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
65412         Change to 2.6.0 everywhere.
65413         * sysdeps/unix/sysv/linux/configure: Regenerated.
65414         * sysdeps/unix/sysv/linux/kernel-features.h
65415         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
65416         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
65417         kernel versions.
65418         (__ASSUME_POSIX_TIMERS): Define unconditionally.
65419         (__ASSUME_FUTEX_REQUEUE): Remove.
65420         (__ASSUME_STATFS64): Define unconditionally.
65421         (__ASSUME_AT_SECURE): Likewise.
65422         (__ASSUME_CORRECT_SI_PID): Likewise.
65423         (__ASSUME_TGKILL): Define without depending on kernel version for
65424         i386.
65425         (__ASSUME_UTIMES): Likewise.
65426         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
65427         kernel version.
65428         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
65429         (__ASSUME_TMPFS_NAME): Likewise.
65430         * README: Update reference to Linux kernel versions.
65432 2012-08-02  Marek Polacek  <polacek@redhat.com>
65434         [BZ# 14150]
65435         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
65436         libc_cv_asm_type_prefix with %.
65437         * configure: Regenerated.
65438         * include/libc-symbols.h: Remove comment about
65439         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
65440         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
65441         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
65442         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
65443         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
65444         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
65445         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
65446         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
65447         * elf/tst-unique2mod1.c: Likewise.
65448         * elf/tst-unique1mod2.c: Likewise.
65449         * elf/tst-unique1mod1.c: Likewise.
65450         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
65451         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
65452         Replace ASM_TYPE_DIRECTIVE with .type.
65453         * sysdeps/s390/s390-64/sysdep.h: Likewise.
65454         * sysdeps/i386/sysdep.h: Likewise.
65455         * sysdeps/x86_64/sysdep.h: Likewise.
65456         * sysdeps/sh/sysdep.h: Likewise.
65457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
65458         Do not define ASM_TYPE_DIRECTIVE.
65459         * sysdeps/powerpc/sysdep.h: Likewise.
65460         * sysdeps/powerpc/powerpc32/sysdep.h:
65461         Replace ASM_TYPE_DIRECTIVE with .type.
65462         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
65463         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
65464         * sysdeps/i386/fpu/e_powf.S: Likewise.
65465         * sysdeps/i386/fpu/e_expl.S: Likewise.
65466         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
65467         * sysdeps/i386/fpu/e_acosh.S: Likewise.
65468         * sysdeps/i386/fpu/e_pow.S: Likewise.
65469         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
65470         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
65471         * sysdeps/i386/fpu/s_expm1.S: Likewise.
65472         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
65473         * sysdeps/i386/fpu/e_log2.S: Likewise.
65474         * sysdeps/i386/fpu/e_log2l.S: Likewise.
65475         * sysdeps/i386/fpu/e_scalb.S: Likewise.
65476         * sysdeps/i386/fpu/e_powl.S: Likewise.
65477         * sysdeps/i386/fpu/e_log10f.S: Likewise.
65478         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
65479         * sysdeps/i386/fpu/e_logl.S: Likewise.
65480         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
65481         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
65482         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
65483         * sysdeps/i386/fpu/e_log2f.S: Likewise.
65484         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
65485         * sysdeps/i386/fpu/e_log.S: Likewise.
65486         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
65487         * sysdeps/i386/fpu/e_logf.S: Likewise.
65488         * sysdeps/i386/fpu/e_log10l.S: Likewise.
65489         * sysdeps/i386/fpu/e_atanh.S: Likewise.
65490         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
65491         * sysdeps/i386/fpu/e_log10.S: Likewise.
65492         * sysdeps/i386/fpu/s_frexp.S: Likewise.
65493         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
65494         * sysdeps/i386/fpu/s_asinh.S: Likewise.
65495         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
65496         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
65497         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
65498         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
65499         * sysdeps/i386/i686/strtok.S: Likewise.
65500         * sysdeps/i386/i386-mcount.S: Likewise.
65501         * sysdeps/i386/strtok.S: Likewise.
65502         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
65503         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
65504         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
65505         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
65506         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
65507         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
65508         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
65509         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
65510         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
65511         * sysdeps/x86_64/_mcount.S: Likewise.
65512         * sysdeps/x86_64/strtok.S: Likewise.
65513         * sysdeps/sh/_mcount.S: Likewise.
65515 2012-08-01  Roland McGrath  <roland@hack.frob.com>
65517         * libio/iofopen.c: Include <fcntl.h>.
65518         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
65519         (_IO_fopen64, fopen64): Define as aliases.
65520         * libio/iofopen64.c: Include <fcntl.h>.
65521         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
65522         Conditionalize body on this.
65523         * sysdeps/wordsize-64/iofopen.c: File removed.
65524         * sysdeps/wordsize-64/iofopen64.c: File removed.
65526 2012-08-01  Marek Polacek  <polacek@redhat.com>
65528         * libc/Makeconfig: Use elf in place of binfmt-subdir.
65529         Use dlfcn directly instead of a variable.
65530         (binfmt-subdir): Do not define.
65531         (dlfcn): Likewise.
65533 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
65535         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
65536         Remove all definitions.
65537         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
65538         <kernel-features.h>.
65539         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
65540         (miss_F_GETOWN_EX): Remove all definitions.
65541         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
65542         macro definition.
65543         [!__ASSUME_FCNTL64]: Remove conditional code.
65544         [__ASSUME_FCNTL64]: Make code unconditional.
65545         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
65546         <kernel-features.h>.
65547         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
65548         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
65549         (lockf64) [__NR_fcntl64]: Make code unconditional.
65550         (lockf64) [__ASSUME_FCNTL64]: Likewise.
65552         * sysdeps/unix/sysv/linux/kernel-features.h
65553         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
65554         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
65555         Make code unconditional.
65556         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
65557         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
65558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
65559         [__NR_vfork]: Make code unconditional.
65560         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
65561         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
65562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
65563         [__NR_vfork]: Make code unconditional.
65564         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
65565         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
65567 2012-08-01  Roland McGrath  <roland@hack.frob.com>
65569         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
65570         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
65572         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
65573         Define mkstemp64 as an alias.
65574         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
65575         Define mkstemps64 as an alias.
65576         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
65577         Define mkostemp64 as an alias.
65578         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
65579         Define mkostemps64 as an alias.
65580         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
65581         Conditionalize body on this.
65582         * misc/mkostemp64.c: Likewise.
65583         * misc/mkostemps64.c: Likewise.
65584         * misc/mkstemps64.c: Likewise.
65585         * sysdeps/wordsize-64/mkstemp64.c: File removed.
65586         * sysdeps/wordsize-64/mkostemp64.c: File removed.
65587         * sysdeps/wordsize-64/mkostemp.c: File removed.
65588         * sysdeps/wordsize-64/mkstemp.c: File removed.
65589         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
65590         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
65591         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
65592         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
65594         [BZ #14138]
65595         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
65596         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
65597         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
65598         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
65600         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
65601         compat_symbol macros from <shlib-compat.h> rather than the underlying
65602         default_symbol_version and symbol_version macros, so that DEFAULT
65603         lines in shlib-versions are respected.
65604         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
65606 2012-08-01  Florian Weimer  <fweimer@redhat.com>
65608         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
65609         Declare with warn_unused_result.
65610         (setgid, setregid, setegid, setresgid): Likewise.
65611         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
65612         Likewise.
65613         * WUR-REPORT: Remove set*id functions.
65615 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
65617         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
65619 2012-07-31  Roland McGrath  <roland@hack.frob.com>
65621         [BZ #10191]
65622         * include/sys/socket.h (__libc_accept, __libc_accept4):
65623         Add attribute_hidden.
65624         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
65626         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
65627         use of PTR_MANGLE.
65628         * inet/getnetgrent_r.c (setup): Likewise.
65630         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
65632 2012-07-31  David S. Miller  <davem@davemloft.net>
65634         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65636 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
65638         [BZ #13629]
65639         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
65640         value between 1.0 and 2.0 and smaller part has absolute value less
65641         than 1.0.
65642         * math/s_clog10.c (__clog10): Likewise.
65643         * math/s_clog10f.c (__clog10f): Likewise.
65644         * math/s_clog10l.c (__clog10l): Likewise.
65645         * math/s_clogf.c (__clogf): Likewise.
65646         * math/s_clogl.c (__clogl): Likewise.
65647         * math/libm-test.inc (clog_test): Add more tests.
65648         (clog10_test): Likewise.
65649         * sysdeps/i386/fpu/libm-test-ulps: Update.
65650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65652 2012-07-31  Florian Weimer  <fweimer@redhat.com>
65654         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
65655         Exit with zero in case no suitable GID is found, and write a
65656         message to standard error.
65658 2012-07-30  Roland McGrath  <roland@hack.frob.com>
65660         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
65661         rather than to 1.
65662         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
65663         (MAXPATHLEN): Removed.
65664         (NOGROUP, NODEV): New macros.
65665         (setbit, clrbit, isset, isclr): New macros.
65666         (howmany, roundup, powerof2): New macros.
65667         (DEV_BSIZE): New macro.
65669         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
65670         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
65672         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
65673         definition on [!__NO_LONG_DOUBLE_MATH].
65675         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
65676         PTR_MANGLE and PTR_DEMANGLE.
65678         * socket/accept4.c (accept4): Rename to __libc_accept4.
65679         Define accept4 as a weak alias.
65681         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
65682         on [_DIRENT_HAVE_D_TYPE].
65683         * io/ftw.c (ftw_dir): Likewise.
65685         * io/xmknod.c (__xmknod): Don't check PATH for being null.
65687         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
65689         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
65690         Use the BSD numbers rather than the arbitrary ones we had.
65691         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
65692         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
65693         (SIGXCPU, SIGXFSZ): New macros.
65694         (_NSIG): Now 32.
65696         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
65697         initializer on [_LIBC_REENTRANT].
65699         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
65700         definitions inside [_POSIX_MAPPED_FILES].
65702         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
65704         * dirent/opendir.c: Include <fcntl.h>.
65706         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
65707         (__libc_getspecific): Likewise.
65708         (__libc_key_create): Likewise.
65710         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
65711         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
65712         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
65713         (tmpfile64): Define as alias.
65714         * sysdeps/wordsize-64/tmpfile.c: File removed.
65715         * sysdeps/wordsize-64/tmpfile64.c: File removed.
65716         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
65717         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
65719         * stdio-common/vfscanf.c: Include <stdbool.h>.
65720         * nss/makedb.c: Likewise.
65721         * stdio-common/_i18n_number.h: Likewise.
65722         * argp/argp-help.c: Likewise.
65723         * posix/wordexp.c: Likewise.
65724         * sysdeps/posix/spawni.c: Likewise.
65725         * nss/nss_files/files-initgroups.c: Likewise.
65726         * stdio-common/reg-modifier.c: Include <stdlib.h>.
65727         * nss/nss_files/files-initgroups.c: Likewise.
65728         * nss/nss_db/db-netgrp.c: Likewise.
65729         * nss/nss_db/db-initgroups.c: Likewise.
65730         * io/fchmodat.c: Include <sys/stat.h>.
65732         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
65733         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
65735         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
65736         [HAVE_MMAP].
65738         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
65739         Add multiple inclusion protection.
65741 2012-07-27  David S. Miller  <davem@davemloft.net>
65743         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65745 2012-07-27  Gary Benson  <gbenson@redhat.com>
65747         [BZ #14298]
65748         * elf/rtld.c: Include <stap-probe.h>.
65749         (dl_main): Added static probes "init_start" and "init_complete".
65750         * elf/dl-load.c: Include <stap-probe.h>.
65751         (lose): Take new parameter "nsid".
65752         Added static probe "map_failed".
65753         (_dl_map_object_from_fd): Pass namespace id to lose.
65754         Added static probe "map_start".
65755         (open_verify): Pass namespace id to lose.
65756         * elf/dl-open.c: Include <stap-probe.h>.
65757         (dl_open_worker) Added static probes "map_complete", "reloc_start"
65758         and "reloc_complete".
65759         * elf/dl-close.c: Include <stap-probe.h>.
65760         (_dl_close_worker): Added static probes "unmap_start" and
65761         "unmap_complete".
65762         * elf/rtld-debugger-interface.txt: New file documenting the above.
65764 2012-07-26  Roland McGrath  <roland@hack.frob.com>
65766         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
65767         rather than a string variable.
65768         * sunrpc/rpc_main.c (h_output): Likewise.
65769         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
65771 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
65773         * inet/check_native.c: New file.
65775 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
65777         [BZ #13629]
65778         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
65779         if larger part has absolute value 1.0.
65780         * math/s_clog10.c (__clog10): Likewise.
65781         * math/s_clog10f.c (__clog10f): Likewise.
65782         * math/s_clog10l.c (__clog10l): Likewise.
65783         * math/s_clogf.c (__clogf): Likewise.
65784         * math/s_clogl.c (__clogl): Likewise.
65785         * math/libm-test.inc (clog_test): Add more tests.
65786         (clog10_test): Likewise.
65787         * sysdeps/i386/fpu/libm-test-ulps: Update.
65788         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65790         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
65791         (pltexit): Likewise.
65792         (La_regs): Likewise.
65793         (La_retval): Likewise.
65794         (int_retval): Likewise.
65795         Update #error for removed macros to refer only to definitions in
65796         tst-audit.h.
65797         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
65798         macro.
65799         (pltexit): Likewise.
65800         (La_regs): Likewise.
65801         (La_retval): Likewise.
65802         (int_retval): Likewise.
65803         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
65804         macro.
65805         (pltexit): Likewise.
65806         (La_regs): Likewise.
65807         (La_retval): Likewise.
65808         (int_retval): Likewise.
65809         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
65810         macro.
65811         (pltexit): Likewise.
65812         (La_regs): Likewise.
65813         (La_retval): Likewise.
65814         (int_retval): Likewise.
65815         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
65816         macro.
65817         (pltexit): Likewise.
65818         (La_regs): Likewise.
65819         (La_retval): Likewise.
65820         (int_retval): Likewise.
65821         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
65822         macro.
65823         (pltexit): Likewise.
65824         (La_regs): Likewise.
65825         (La_retval): Likewise.
65826         (int_retval): Likewise.
65827         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
65828         macro.
65829         (pltexit): Likewise.
65830         (La_regs): Likewise.
65831         (La_retval): Likewise.
65832         (int_retval): Likewise.
65833         * sysdeps/generic/tst-audit.h: Update comment to refer only to
65834         macro definitions in tst-audit.h.
65835         * sysdeps/i386/tst-audit.h: New file.
65836         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
65837         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
65838         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
65839         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
65840         * sysdeps/sh/tst-audit.h: Likewise.
65841         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
65842         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
65843         * sysdeps/x86_64/tst-audit.h: Likewise.
65845 2012-07-26  Andreas Jaeger  <aj@suse.de>
65847         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
65848         ptrace.
65850         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
65851         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
65852         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
65853         PTRACE_O_MASK.
65854         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
65855         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
65856         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
65858         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
65859         value.
65861         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
65862         _sigsys.
65863         (si_call_addr, si_syscall, si_arch): Define new macro.
65864         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
65865         _sigsys.
65866         (si_call_addr, si_syscall, si_arch): Define new marcro.
65867         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
65868         _sigsys.
65869         (si_call_addr, si_syscall, si_arch): Define new macro.
65870         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
65871         _sigsys.
65872         (si_call_addr, si_syscall, si_arch): Define new macro.
65874 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
65876         [BZ #13717]
65877         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
65878         Change to 2.4.21 where previously 2.4.1.
65879         * sysdeps/unix/sysv/linux/configure: Regenerated.
65880         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
65881         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
65882         Linux kernel version.
65883         (__ASSUME_STD_AUXV): Remove.
65884         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
65885         kernel version.
65886         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
65887         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
65888         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
65889         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
65890         (__ASSUME_NETLINK_SUPPORT): Likewise.
65891         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
65892         (__no_netlink_support): Remove conditional definition.
65893         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
65894         Remove.
65895         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
65896         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
65897         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
65898         (if_nameindex_ioctl): Remove.
65899         (if_nameindex_netlink): Do not handle __no_netlink_support.
65900         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
65901         code.
65902         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
65903         Remove conditional code.
65904         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
65905         code.
65906         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
65907         unconditional.
65908         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
65909         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
65910         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
65911         Remove.
65912         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
65913         [!__ASSUME_STD_AUXV]: Remove conditional code.
65914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
65915         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
65916         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
65917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
65918         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
65919         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
65920         code.
65921         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
65922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
65923         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
65924         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
65925         conditional code.
65926         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
65927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
65928         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
65929         code.
65930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
65931         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
65932         conditional code.
65933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
65934         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
65935         code unconditional.
65936         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
65937         conditional code.
65938         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
65939         unconditional.
65940         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
65941         conditional code.
65942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
65943         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
65944         unconditional.
65945         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
65946         conditional code.
65947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
65948         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
65949         code unconditional.
65950         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
65951         conditional code.
65952         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
65953         unconditional.
65954         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
65955         conditional code.
65956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
65957         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
65958         code unconditional.
65959         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
65960         conditional code.
65961         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
65962         unconditional.
65963         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
65964         conditional code.
65966 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
65968         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
65969         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
65970         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
65971         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
65972         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
65973         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
65974         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
65975         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
65976         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
65977         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
65978         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
65979         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
65980         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
65981         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
65982         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
65983         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
65984         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
65985         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
65986         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
65987         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
65988         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
65989         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
65990         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
65992 2012-07-25  Florian Weimer  <fweimer@redhat.com>
65994         * Versions.def: Add GLIBC_2.17.
65995         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
65996         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
65997         Introduce __libc_secure_getenv.
65998         * stdlib/Versions (2.17): Add secure_getenv
65999         (GLIBC_PRIVATE): Add __libc_secure_getenv.
66000         * stdlib/secure-getenv.c: Rename __secure_getenv to
66001         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
66002         symbol __secure_getenv for GLIBC_2.0.
66003         * stdlib/tst-secure-getenv.c: New.
66004         * stdlib/Makefile (tests): Add testcase.
66005         * manual/startup.texi (Environment Access): Document
66006         secure_getenv.
66007         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
66008         __libc_secure_getenv.
66009         * inet/ruserpass.c (ruserpass): Likewise.
66010         * malloc/mtrace.c (mtrace): Likewise.
66011         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
66012         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
66013         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
66014         * sysdeps/posix/tempname.c: Likewise.  Evaluate
66015         HAVE_SECURE_GETENV.
66016         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
66017         __secure_getenv to __libc_secure_getenv.
66018         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
66019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66020         Likewise.
66021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
66022         Likewise.
66023         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
66024         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
66025         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
66026         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
66027         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
66028         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
66029         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
66031 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
66033         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
66034         (struct La_i86_retval): Likewise.
66035         (struct La_x86_64_regs): Likewise.
66036         (struct La_x86_64_retval): Likewise.
66037         (struct La_x32_regs): Likewise.
66038         (struct La_x32_retval): Likewise.
66039         (struct La_ppc32_regs): Likewise.
66040         (struct La_ppc32_retval): Likewise.
66041         (struct La_ppc64_regs): Likewise.
66042         (struct La_ppc64_retval): Likewise.
66043         (struct La_sh_regs): Likewise.
66044         (struct La_sh_retval): Likewise.
66045         (struct La_s390_32_regs): Likewise.
66046         (struct La_s390_32_retval): Likewise.
66047         (struct La_s390_64_regs): Likewise.
66048         (struct La_s390_64_retval): Likewise.
66049         (struct La_sparc32_regs): Likewise.
66050         (struct La_sparc32_retval): Likewise.
66051         (struct La_sparc64_regs): Likewise.
66052         (struct La_sparc64_retval): Likewise.
66053         (struct audit_ifaces): Remove architecture-specific pltenter and
66054         pltexit members.
66055         * sysdeps/i386/ldsodefs.h: New file.
66056         * sysdeps/powerpc/ldsodefs.h: Likewise.
66057         * sysdeps/s390/ldsodefs.h: Likewise.
66058         * sysdeps/sh/ldsodefs.h: Likewise.
66059         * sysdeps/sparc/ldsodefs.h: Likewise.
66060         * sysdeps/x86_64/ldsodefs.h: Likewise.
66062 2012-07-25  Marek Polacek  <polacek@redhat.com>
66064         [BZ #6808]
66065         * math/libm-test.inc (yn_test): Add another test.
66066         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
66067         to ERANGE when the result is +-Inf.
66068         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
66069         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
66070         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
66071         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
66073 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
66075         * conform/data/time.h-data (NULL): Use macro-constant.  Require
66076         equal to 0.
66077         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
66078         clock_t.
66079         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
66081 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
66083         * configure.in <sysdeps resolving>: Correct printing
66084         Implies_before.
66085         * configure: Regenerate.
66087 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
66089         * math/w_ilogb.c: Include <limits.h>.
66090         * math/w_ilogbl.c: Likewise.
66092 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
66094         * manual/lang.texi (__va_copy): Document primarily as ISO C99
66095         va_copy.  Document allowing for unavailable va_copy only as
66096         pre-C99 compatibility.
66097         * manual/string.texi (Copying and Concatenation): Use va_copy
66098         instead of __va_copy in concat example.
66100 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
66102         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
66103         (__sendto): Use create_address_port.  Initialize APORT and deallocate
66104         it if not null.
66106         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
66107         with O_NOLINK passed to __file_name_lookup.
66109         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
66110         with O_NOLINK passed to __file_name_lookup.
66112         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
66113         negative N or less than NGIDS.
66115         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
66116         type to string_t.  Set ERANGE as errno and return it if NAME is not big
66117         enough.  Use memcpy instead of strncpy.
66119 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
66121         * elf/Makefile (check-data): Remove.
66122         (localplt.data): New vpath directive.
66123         ($(objpfx)check-localplt.out): Use localplt.data from vpath
66124         instead of $(check-data).
66125         * scripts/data/localplt-generic.data: Move to ...
66126         * sysdeps/generic/localplt.data: ... here.
66127         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
66128         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
66129         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
66130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
66131         ... here.
66132         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
66133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
66134         ... here.
66135         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
66136         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
66137         ... here.
66138         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
66139         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
66140         ... here.
66141         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
66142         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
66143         ... here.
66144         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
66145         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
66146         ... here.
66148 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66150         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
66151         PPC32 and PPC64 files.
66152         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
66153         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
66155 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66157         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
66158         __makecontext_ret to ...
66159         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
66160         ... here and call exit if uc_link is NULL.  New file.
66161         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
66162         __makecontext_ret.S.
66163         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
66164         __makecontext_ret to ...
66165         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
66166         ... here and call exit if uc_link is NULL.  New file.
66167         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
66168         __makecontext_ret.S.
66170 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66172         * elf/elf.h (R_390_IRELATIVE): New definition.
66173         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
66174         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
66175         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
66176         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
66177         (elf_machine_lazy_rel): Likewise.
66178         * sysdeps/s390/dl-irel.h: New file.
66179         * sysdeps/s390/s390-64/memcpy.S: New asm code.
66180         * sysdeps/s390/s390-64/memset.S: New asm code.
66181         * sysdeps/s390/s390-64/memcmp.S: New asm code.
66182         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
66183         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
66184         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
66185         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
66186         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
66187         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
66188         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
66189         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
66190         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
66191         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
66192         * sysdeps/s390/s390-32/memcpy.S: New asm code.
66193         * sysdeps/s390/s390-32/memset.S: New asm code.
66194         * sysdeps/s390/s390-32/memcmp.S: New asm code.
66196 2012-07-17  Marek Polacek  <polacek@redhat.com>
66198         [BZ #14349]
66199         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
66200         * sysdeps/s390/s390-64/configure.in: Likewise.
66201         * sysdeps/sparc/configure.in: Likewise.
66202         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
66203         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
66204         * sysdeps/i386/configure.in: Likewise.
66205         * sysdeps/x86_64/configure.in: Likewise.
66206         * sysdeps/sh/configure.in: Likewise.
66207         * sysdeps/s390/s390-32/configure: Regenerated.
66208         * sysdeps/s390/s390-64/configure: Likewise.
66209         * sysdeps/x86_64/configure: Likewise.
66210         * sysdeps/sh/configure: Likewise.
66211         * sysdeps/powerpc/powerpc64/configure: Likewise.
66212         * sysdeps/powerpc/powerpc32/configure: Likewise.
66213         * sysdeps/sparc/configure: Likwise.
66214         * sysdeps/i386/configure: Likewise.
66216         * elf/dl-open.c: Comment fixes.
66218 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
66220         * Makefile [CXX] (check-data): Remove.
66221         [CXX] (c++-types.data): New vpath directive.
66222         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
66223         vpath.  Do not allow for C++ type data being missing.
66224         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
66225         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
66226         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
66227         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
66228         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
66229         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
66230         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
66231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
66232         ... here.
66233         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
66234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
66235         ... here.
66236         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
66237         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
66238         ... here.
66239         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
66240         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
66241         ... here.
66242         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
66243         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
66244         ... here.
66245         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
66246         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
66247         ... here.
66248         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
66249         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
66250         ... here.
66251         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
66252         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
66254         * elf/tls-macros.h (TLS_LE): Move architecture-specific
66255         definitions to architecture-specific files.
66256         (TLS_IE): Likewise.
66257         (TLS_LD): Likewise.
66258         (TLS_GD): Likewise.
66259         * sysdeps/i386/tls-macros.h: New file.
66260         * sysdeps/powerpc/tls-macros.h: Likewise.
66261         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
66262         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
66263         * sysdeps/sh/tls-macros.h: Likewise.
66264         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
66265         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
66266         * sysdeps/x86_64/tls-macros.h: Likewise.
66268 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
66270         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
66271         zero value for regular exit case.
66273         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
66274         (__start_context): Preserve zero value for regular exit case.
66276 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
66277             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66279         * manual/setjmp.texi (setcontext): Clarify normal process
66280         termination when uc_link is the null pointer.
66281         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
66282         exit call.
66284 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
66286         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
66287         preprocessor.  Test for each exception mask separately.
66289 2012-07-16  Andreas Jaeger  <aj@suse.de>
66291         * po/ru.po: Update from translation team.
66293 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
66295         * conform/data/string.h-data (NULL): Use macro-constant.  Require
66296         equal to 0.
66297         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
66298         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
66299         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
66300         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
66301         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66303 2012-07-13  Andreas Jaeger  <aj@suse.de>
66305         * po/fr.po: Update from translation team.
66307 2012-07-12  Marek Polacek  <polacek@redhat.com>
66309         [BZ #14173]
66310         * math/libm-test.inc (yn_test): Add test for BZ #14173.
66311         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
66312         loop condition.
66314 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
66316         [BZ #13717]
66317         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
66318         Change to 2.4.1 where previously 2.4.0.
66319         * sysdeps/unix/sysv/linux/configure: Regenerated.
66320         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
66321         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
66322         version.
66323         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
66324         (__ASSUME_AT_CLKTCK): Remove.
66325         (__ASSUME_AT_PAGESIZE): Likewise.
66326         (__ASSUME_AT_XID): Likewise.
66327         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
66328         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
66329         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
66330         unconditionally.
66331         (HAVE_AUX_PAGESIZE): Likewise.
66332         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
66333         [__ASSUME_AT_CLKTCK]: Make code unconditional.
66334         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
66336 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
66338         [BZ #14307]
66339         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
66340         the temporary buffer used to invoke __gethostbyname2_r,
66341         __gethostbyaddr_r and gethostbyname4_r to make room for struct
66342         host_data / struct gaih_addrtuple.
66343         * resolv/nss_dns/dns-host.c (global scope): Move definition of
66344         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
66345         header file nss/nsswitch.h.
66346         * nss/nsswitch.h (global scope): Add definition of implementation
66347         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
66348         resolv/nss_dns/dns-host.c).
66350 2012-07-11  Andreas Jaeger  <aj@suse.de>
66352         * po/fr.po: Update from translation team.
66354         * po/sv.po: Update from translation team
66355         * po/fr.po: Another update from translation team.
66357 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66359         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
66360         for subnormals or multiply small sinh result by itself.
66361         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
66362         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66364 2012-07-11  David S. Miller  <davem@davemloft.net>
66366         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66368 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
66370         [BZ #14347]
66371         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
66372         (INTERNAL_MARK): Shift it here.
66374 2012-07-10  Marek Polacek  <polacek@redhat.com>
66376         [BZ #14151]
66377         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
66378         libc_cv_asm_global_directive with .globl.
66379         * configure: Regenerated.
66380         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
66381         with .globl.
66382         * sysdeps/i386/configure: Regenerated.
66383         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
66384         with .globl.
66385         * sysdeps/x86_64/configure: Regenerated.
66386         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
66387         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
66388         * elf/tst-unique2mod2.c: Likewise.
66389         * elf/tst-unique2mod1.c: Likewise.
66390         * elf/tst-unique1mod2.c: Likewise.
66391         * elf/tst-unique1mod1.c: Likewise.
66392         * sysdeps/s390/s390-32/sysdep.h: Likewise.
66393         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
66394         * sysdeps/s390/s390-64/sysdep.h: Likewise.
66395         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
66396         * sysdeps/mach/sysdep.h: Likewise.
66397         * sysdeps/i386/sysdep.h: Likewise.
66398         * sysdeps/i386/i386-mcount.S: Likewise.
66399         * sysdeps/x86_64/_mcount.S: Likewise.
66400         * sysdeps/x86_64/sysdep.h: Likewise.
66401         * sysdeps/sh/_mcount.S: Likewise.
66402         * sysdeps/sh/sysdep.h: Likewise.
66403         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
66404         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
66405         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
66406         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
66407         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
66408         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
66409         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
66410         * locale/localeinfo.h: Likewise.
66411         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
66412         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
66414 2012-07-09  Roland McGrath  <roland@hack.frob.com>
66416         [BZ #14336]
66417         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
66418         system".
66419         * manual/message.texi (The Uniforum approach): Likewise.
66420         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
66421         (glibc iconv Implementation): Likewise.
66423 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
66425         [BZ #14337]
66426         * math/s_clog.c (__clog): Avoid scaling a value down where that
66427         could result in underflow.
66428         * math/s_clog10.c (__clog10): Likewise.
66429         * math/s_clog10f.c (__clog10f): Likewise.
66430         * math/s_clog10l.c (__clog10l): Likewise.
66431         * math/s_clogf.c (__clogf): Likewise.
66432         * math/s_clogl.c (__clogl): Likewise.
66433         * math/libm-test.inc (clog_test): Add more tests.
66434         (clog10_test): Likewise.
66435         * sysdeps/i386/fpu/libm-test-ulps: Update.
66436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66438 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
66440         [BZ #14283]
66441         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
66442         by 7 not 8 to examine high bit of fractional part.
66444         [BZ #14042]
66445         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
66446         for call to __mcount_internal.
66447         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
66448         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
66449         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
66451 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
66453         [BZ #14154]
66454         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
66455         approximation for values within 0x1p-13f of an odd multiple of
66456         pi/4.
66457         * math/libm-test.inc (tan_test): Do not allow spurious underflow
66458         exception.  Add more tests.
66459         * sysdeps/i386/fpu/libm-test-ulps: Update.
66461         [BZ #6778]
66462         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
66463         inputs and return -1 for them.  Do not check for +Inf in case not
66464         reachable for +Inf.
66465         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
66466         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
66467         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
66468         and return -1 for them.  Do not check for +Inf in case not
66469         reachable for +Inf.
66470         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
66471         define.
66472         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
66473         and return -1 for them.  Do not check for +Inf in case not
66474         reachable for +Inf.
66475         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
66476         spurious underflow.
66477         * sysdeps/i386/fpu/libm-test-ulps: Update.
66478         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66480 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
66482         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
66484 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
66486         [BZ #14157]
66487         [BZ #14331]
66488         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
66489         could result in spurious underflow.  Scale down values above
66490         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
66491         * math/s_csqrtf.c (__csqrtf): Likewise.
66492         * math/s_csqrtl.c (__csqrtl): Likewise.
66493         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
66494         spurious underflow.
66495         * sysdeps/i386/fpu/libm-test-ulps: Update.
66496         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66498 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
66500         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
66501         xopen-msg.sed.
66502         * catgets/xopen-msg.awk: New file.
66503         * catgets/xopen-msg.sed: Removed.
66505         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
66506         po2text.sed.
66507         * intl/po2test.awk: New file.
66508         * intl/po2test.sed: Removed.
66510 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
66512         [BZ #14328]
66513         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
66514         or multiply small sinh result by itself.
66515         * math/s_ctanf.c (__ctanf): Likewise.
66516         * math/s_ctanh.c (__ctanh): Likewise.
66517         * math/s_ctanhf.c (__ctanhf): Likewise.
66518         * math/s_ctanhl.c (__ctanhl): Likewise.
66519         * math/s_ctanl.c (__ctanl): Likewise.
66520         * math/libm-test.inc (ctan_test_tonearest): New function.
66521         (ctan_test_towardzero): Likewise.
66522         (ctan_test_downward): Likewise.
66523         (ctan_test_upward): Likewise.
66524         (ctanh_test_tonearest): Likewise.
66525         (ctanh_test_towardzero): Likewise.
66526         (ctanh_test_downward): Likewise.
66527         (ctanh_test_upward): Likewise.
66528         (main): Call these new functions.
66529         * sysdeps/i386/fpu/libm-test-ulps: Update.
66530         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66532 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
66534         * .gitignore: Delete /ports entry.
66536 2012-07-03  Andreas Jaeger  <aj@suse.de>
66538         * po/bg.po: Update from translation team.
66539         * po/cs.po: Likewise.
66540         * po/de.po: Likewise.
66541         * po/hr.po: Likewise.
66542         * po/nl.pl: Likewise.
66543         * po/pl.po: Likewise.
66544         * po/vi.po: Likewise.
66546 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
66548         * Makeconfig [!+link] (+link-before-libc): New variable.
66549         [!+link] (+link-after-libc): Likewise.
66550         [!+link] (+link-tests): Likewise.
66551         [!+link] (+link): Define in terms of $(+link-before-libc) and
66552         $(+link-after-libc).
66553         [!+link-static] (+link-static-before-libc): New variable.
66554         [!+link-static] (+link-static-after-libc): Likewise.
66555         [!+link-static] (+link-static-tests): Likewise.
66556         [!+link-static] (+link-static): Define in terms of
66557         $(+link-static-before-libc) and $(+link-static-after-libc).
66558         [build-shared] (link-libc-before-gnulib): New variable.
66559         [build-shared] (link-libc-tests): Likewise.
66560         [build-shared] (link-libc): Define in terms of
66561         $(link-libc-before-gnulib).
66562         [!build-shared] (link-libc-tests): New variable.
66563         (link-libc-static-tests): New variable.
66564         [!gnulib] (gnulib-arch): New variable.
66565         [!gnulib] (gnulib-tests): Likewise.
66566         [!gnulib] (static-gnulib-arch): Likewise.
66567         [!gnulib] (static-gnulib-tests): Likewise.
66568         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
66569         Define with "=" instead of ":=".
66570         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
66571         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
66572         * Rules (binaries-all-notests): New variable.
66573         (binaries-all-tests): Likewise.
66574         (binaries-static-notests): Likewise.
66575         (binaries-static-tests): Likewise.
66576         (binaries-all): Define using $(binaries-all-notests) and
66577         $(binaries-all-tests).
66578         (binaries-static): Define using $(binaries-static-notests) and
66579         $(binaries-static-tests).
66580         (binaries-shared-tests): New variable.
66581         (binaries-shared-notests): Likewise.
66582         (binaries-shared): Remove variable.
66583         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
66584         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
66585         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
66586         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
66587         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
66588         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
66589         * elf/Makefile (sln-modules): New variable.
66590         (extra-objs): Add $(sln-modules:=.o).
66591         (ldconfig-modules): Add static-stubs.
66592         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
66593         * elf/static-stubs.c: New file.
66595         [BZ #14283]
66596         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
66597         by 7 not 8 to examine high bit of fractional part.  Use volatile
66598         variables when splitting into final array of floats if
66599         __FLT_EVAL_METHOD__ != 0.
66600         * math/libm-test.inc (cos_test): Add another test.
66601         (sin_test): Likewise.
66602         * sysdeps/i386/fpu/libm-test-ulps: Update.
66604         [BZ #14273]
66605         * math/libm-test.inc (cosh_test): Add more tests.
66607         * version.h (RELEASE): Set to "development".
66608         (VERSION): Set to "2.16.90".
66610 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
66612         * NEWS: Update copyright. Remove last-updated date.
66613         Mention math library bug fixes and timezone data changes.
66614         * README: Mention GNU/Hurd, x32, and HPPA support status.
66616 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
66618         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
66620 2012-06-27  Andreas Jaeger  <aj@suse.de>
66622         * manual/contrib.texi (Contributors): Add Samuel Thibault.
66624 2012-06-25  Andreas Jaeger  <aj@suse.de>
66626         * sysdeps/s390/fpu/libm-test-ulps: Update.
66628 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
66629             Thomas Schwinge  <thomas@codesourcery.com>
66631         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
66632         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
66633         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
66634         fanotify_mark.
66636 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
66638         * sysdeps/mach/start.c: Remove file.
66639         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
66640         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
66641         * sysdeps/sh/init-first.c: Likewise.
66643         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
66644         registers for frame unwinding purposes, add CFI directives.
66645         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
66646         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
66647         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
66648         Likewise.
66650         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
66651         __fortify_fail returning.
66652         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
66654         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
66655         sysdeps/sh/____longjmp_chk.S.
66656         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
66657         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
66658         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
66659         (gen-as-const-headers): Append sigaltstack-offsets.sym.
66661         * sysdeps/sh/abort-instr.h: New file.
66662         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
66663         process in case exit returns.
66665         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
66666         initialize the GOT register before use.
66668         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
66669         calculation of ARGC > 4.
66671         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
66672         meaningful names to some local labels.
66674 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66675             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
66677         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
66678         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
66679         (__arch_compare_and_exchange_val_16_acq): Likewise.
66680         (__arch_compare_and_exchange_val_32_acq): Likewise.
66681         (atomic_exchange_and_add): Fix gUSA sequence.
66682         (atomic_add): Likewise.
66683         (atomic_add_negative): Likewise.
66684         (atomic_add_zero): Likewise.
66685         (atomic_bit_test_set): Likewise.
66687 2012-06-22  Andreas Schwab  <schwab@redhat.com>
66689         [BZ #13579]
66690         * include/link.h (struct link_map): Add l_free_initfini.
66691         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
66692         l_initfini.
66693         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
66694         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
66695         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
66696         set.
66698 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
66700         * configure.in: Use AC_LANG_SOURCE.
66701         * configure: Regenerate.
66703 2012-06-22  Roland McGrath  <roland@hack.frob.com>
66705         * configure.in (libc_cv_localstatedir): New substituted variable.
66706         * configure: Regenerated.
66707         * config.make.in (localstatedir): New variable, substituted from
66708         libc_cv_localstatedir.
66709         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
66710         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
66711         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
66712         * sysdeps/gnu/configure: Regenerated.
66714 2012-06-21  Jeff Law  <law@redhat.com>
66716         [BZ #14277]
66717         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
66718         free.  Simplify list management for _LIBC case.
66720 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
66722         [BZ #14273]
66723         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
66724         Clear sign bit of 64-bit integer value before comparing against
66725         overflow value.
66727         * sysdeps/mach/configure: Regenerated.
66729 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
66731         [BZ #14278]
66732         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
66734 2012-06-21  Jeff Law  <law@redhat.com>
66736         [BZ #13882]
66737         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
66738         uint16_t for elements in the "seen" array to avoid char overflows.
66739         * elf/dl-fini.c (_dl_sort_fini): Likewise.
66740         * elf/dl-open.c (dl_open_worker): Likewise.
66742 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
66744         * scripts/list-sources.sh: Scan PORTS for translations.
66745         * po/libc.pot: Regenerated.
66747 2012-06-21  Andreas Jaeger  <aj@suse.de>
66749         [BZ #12194]
66750         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
66751         warning.
66752         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
66753         * bits/byteswap-16.h (__bswap_16): Likewise.
66754         * bits/byteswap.h (__bswap_constant_16): Likewise.
66756 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
66758         [BZ #14117]
66759         * sysdeps/i386/fpu_control.h: Removed.
66760         * sysdeps/x86_64/fpu_control.h: Moved to ...
66761         * sysdeps/x86/fpu_control.h: Here.
66763         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
66764         (_FPU_SETCW): Likewise.
66766 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
66768         [BZ #14117]
66769         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
66770         * sysdeps/x86/fpu/bits/mathinline.h: This.
66771         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
66773         [BZ #14050]
66774         [BZ #14117]
66775         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
66776         functions if __x86_64__ is defined.
66778 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
66780         * string/endian.h: Add !__ASSEMBLER__ condition for including
66781         conversion interfaces.
66783 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
66785         [BZ #14241]
66786         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
66787         of ABS(x) in calculating zero to negative powers other than odd
66788         integers.
66789         * math/libm-test.inc (pow_test): Add more tests.
66791 2012-06-15  Andreas Jaeger  <aj@suse.de>
66793         * manual/contrib.texi (Contributors): Update entry of Liubov
66794         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
66795         Machado Filho.
66797 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
66799         * string/string.h: Add __wur to GNU version of strerror_r.
66801 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
66803         [BZ #14229]
66804         * string/Makefile (tests): Add tst-strtok_r.
66805         * string/tst-strtok_r.c: New file.
66806         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
66807         RAX_LP/RDX_LP on SAVE_PTR.
66809 2012-06-14  Roland McGrath  <roland@hack.frob.com>
66811         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
66813 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
66815         * libm_test.inc (csqrt_test): Allow more spurious underflow
66816         exceptions.
66817         (j0_test): Likewise.
66818         (j1_test): Likewise.
66819         (y0_test): Likewise.
66820         (y1_test): Likewise.
66822 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
66824         * po/Makefile (libc.pot): Use UTF-8 charset.
66826 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
66828         [BZ #14210]
66829         Suppress sign-conversion warning from FD_SET.
66830         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
66831         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
66832         not unsigned long int.
66833         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
66835 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
66837         [BZ #14050]
66838         [BZ #14117]
66839         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
66840         __extern_always_inline instead of __extern_inline.
66841         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
66842         (__signbit): Likewise.
66843         (__signbitl): Support C++ namespace.
66844         (lrintf): New inline function.
66845         (lrint): Likewise.
66846         (llrintf): Likewise.
66847         (llrint): Likewise.
66848         (fmaxf): Likewise.
66849         (fmax): Likewise.
66850         (fminf): Likewise.
66851         (fmin): Likewise.
66852         (rint): Likewise.
66853         (rintf): Likewise.
66854         (ceil): Likewise.
66855         (ceilf): Likewise.
66856         (floor): Likewise.
66857         (floorf): Likewise.
66858         (nearbyint): Likewise.
66859         (nearbyintf): Likewise.
66861 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
66863         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
66864         non-default versions.
66866 2012-06-11  Roland McGrath  <roland@hack.frob.com>
66868         [BZ #14218]
66869         * manual/argp.texi (Argp): Reword argp_parse description slightly.
66871 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
66873         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
66874         (FE_UPWARD, FE_DOWNWARD): Don't define.
66875         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
66876         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
66878         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
66879         reading it.
66880         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
66881         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
66883 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
66885         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
66886         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
66887         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
66888         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
66890 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
66892         [BZ #14117]
66893         * sysdeps/i386/fpu/bits/fenv.h: Removed.
66894         * sysdeps/i386/fpu/Implies: New file.
66895         * sysdeps/x86_64/fpu/Implies: Likewise.
66896         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
66897         * sysdeps/x86/fpu/bits/fenv.h: This.
66899         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
66900         __SSE_MATH__.
66902 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
66904         [BZ #14134]
66905         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
66906         character 0xffff that matches the last element of the
66907         conversion table.
66909 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66911         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
66912         fmodl commit.
66914 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66916         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
66917         values higher than 25.6283.
66919 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66921         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
66922         subnormal exponent extraction and add some __builtin_expect.
66923         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
66924         Fix for subnormal mantissa calculation.
66926 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
66928         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
66929         cpu2 is -1 and errno is not ENOSYS.
66931 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
66933         [BZ #14117]
66934         * sysdeps/i386/i486/bits/string.h: Renamed to ...
66935         * sysdeps/x86/bits/string.h: This.
66936         * sysdeps/x86_64/bits/string.h: Removed.
66938         * sysdeps/i386/i486/bits/string.h: Define inline functions only
66939         if not compiling for x86-64, but compiling for >= i486.
66941         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
66942         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
66944         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
66945         New macro from Linux kernel 3.4.0.
66946         (FP_XSTATE_MAGIC2): Likewise.
66947         (FP_XSTATE_MAGIC2_SIZE): Likewise.
66948         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
66949         (struct _fpx_sw_bytes): New struct.
66950         (struct _xsave_hdr): Likewise.
66951         (struct _ymmh_state): Likewise.
66952         (struct _xstate): Likewise.
66954         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
66955         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
66956         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
66957         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
66958         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
66959         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
66961         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
66962         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
66963         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
66964         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
66965         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
66966         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
66968 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66970         [BZ #13743]
66971         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
66972         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
66973         (sysdep_headers): Include sys/platform/ppc.h.
66974         * sysdeps/powerpc/test-gettimebase.c: Test for
66975         __ppc_get_timebase() to catch future ISA opcode/insn changes.
66976         * manual/Makefile (appendices): Include platform.texi.
66977         * manual/contrib.texi (Contributors): Update @node pointers.
66978         * manual/maint.texi (Maintenance): Likewise.
66979         (Platform): New node.
66980         * manual/platform.texi: New file.  Document the new features.
66982 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
66983             Jakub Jelinek  <jakub@redhat.com>
66985         [BZ #14188]
66986         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
66987         where __builtin_expect is unavailable.
66989 2012-06-03  David S. Miller  <davem@davemloft.net>
66991         * stdlib/longlong.h: Updated from GCC.
66993 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
66995         [BZ #14042]
66996         * sysdeps/powerpc/powerpc32/mcount.c: New file.
66997         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
66998         __mcount_internal.
66999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
67000         (GLIBC_2.16): Likewise.
67002 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
67004         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
67006 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
67008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
67009         (default-abi): New variable.
67010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
67011         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
67012         variable.
67013         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
67014         Likewise.
67015         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
67016         Likewise.
67017         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
67018         Likewise.
67020         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
67021         definition.  Document in comment.
67023 2012-06-01  David S. Miller  <davem@davemloft.net>
67025         * stdlib/longlong.h: Updated from GCC.
67027 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
67029         [BZ #14117]
67030         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
67031         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
67032         sys/debugreg.h sys/io.h here.
67033         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
67034         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
67035         sys/io.h.
67036         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
67037         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
67038         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
67039         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
67040         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
67041         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
67043         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
67044         Define only if __x86_64__ is defined.
67046 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
67048         [BZ #14048]
67049         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
67050         Use int64_t for variable i.
67051         * math/libm-test.inc (fmod_test): Add more tests.
67053         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
67054         z computation is not scheduled after fetestexcept.
67055         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
67056         Use math_force_eval instead of asm to ensure calculation scheduled
67057         before exception test.
67058         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
67059         Ensure a1 + u.d computation is not scheduled after fetestexcept.
67061 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
67063         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
67064         computation is not scheduled after fetestexcept.
67066 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
67068         [BZ #14117]
67069         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
67070         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
67072 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67074         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
67075         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
67077 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
67079         [BZ #14117]
67080         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
67081         <bits/wordsize.h>.
67082         (__WCHAR_MIN): Support __WORDSIZE == 64.
67083         (__WCHAR_MAX): Likewise.
67085         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
67086         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
67088         [BZ #14183]
67089         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
67090         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
67092         [BZ #14117]
67093         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
67094         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
67096         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
67097         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
67099         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
67100         Defined to 1 if __x86_64__ isn't defined.
67101         (_STAT_VER_LINUX_OLD): New.
67102         (st_atime): Remove duplicate.
67103         (st_mtime): Likewise.
67104         (st_ctime): Likewise.
67106 2012-05-31  David S. Miller  <davem@davemloft.net>
67108         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
67109         entries.
67111 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
67113         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
67114         gen-libm-test.pl.
67116         [BZ #14132]
67117         * elf/dl-reloc.c: Include <_itoa.h>.
67118         (_dl_reloc_bad_type): Remove use of INTUSE.
67119         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
67120         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
67121         * stdio-common/psiginfo.c (psiginfo): Likewise.
67122         * stdio-common/psignal.c (psignal): Likewise.
67123         * string/strsignal.c (strsignal): Likewise.
67124         * include/signal.h (_sys_siglist): Declare hidden proto.
67125         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
67126         INTVARDEF with libc_hidden_data_def.
67127         * stdio-common/itoa-udigits.c: Likewise.
67128         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
67129         (_itoa_lower_digits_internal): Remove declaration.
67130         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
67131         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
67132         (_sys_sigabbrev_internal): Remove aliases.
67133         (_sys_siglist): Define hidden alias.
67135 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
67137         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67138         bits/sysctl.h.
67140 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
67142         [BZ #14117]
67143         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
67144         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
67146         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
67147         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
67148         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
67149         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
67150         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
67151         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
67153         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
67154         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
67155         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
67157         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
67158         with __addr.
67159         (insw): Likewise.
67160         (insl): Likewise.
67161         (outsb): Likewise.
67162         (outsw): Likewise.
67163         (outsl): Likewise.
67165         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
67166         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
67167         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
67169         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
67170         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
67171         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
67172         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
67173         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
67174         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
67176         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
67177         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
67179         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
67180         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
67182         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
67183         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
67184         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
67186         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
67187         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
67188         to ...
67189         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
67191         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
67192         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
67193         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
67195         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
67196         for x86-64.
67197         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
67199 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
67201         * math/math.h (M_El): Use two more decimal places.
67202         (M_LOG2El): Likewise.
67203         (M_LOG10El): Likewise.
67204         (M_LN2l): Likewise.
67205         (M_LN10l): Likewise.
67206         (M_PIl): Likewise.
67207         (M_PI_2l): Likewise.
67208         (M_PI_4l): Likewise.
67209         (M_1_PIl): Likewise.
67210         (M_2_PIl): Likewise.
67211         (M_2_SQRTPIl): Likewise.
67212         (M_SQRT2l): Likewise.
67213         (M_SQRT1_2l): Likewise.
67215 2012-05-31  David S. Miller  <davem@davemloft.net>
67217         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
67218         values between float registers.
67219         * sysdeps/sparc/sparc64/memset.S: Likewise.
67220         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
67222 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
67224         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
67225         -D_FORTIFY_SOURCE=1.
67226         (CPPFLAGS-tst-longjmp_chk.c): Define.
67227         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
67228         (CPPFLAGS-tst-longjmp_chk2.c): Define.
67229         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
67230         CFLAGS-tst-wchar-h.c.
67232 2012-05-31  Marek Polacek  <polacek@redhat.com>
67234         [BZ #14132]
67235         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
67236         __endmntent_internal): Remove declaration.
67237         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
67238         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
67239         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
67241 2012-05-30  David S. Miller  <davem@davemloft.net>
67243         * sysdeps/sparc/sparc32/soft-fp/q_util.c
67244         (___Q_simulate_exceptions): Use real FP ops rather than writing
67245         into the %fsr.
67246         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
67247         Likewise.
67249 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
67251         [BZ #14117]
67252         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
67253         * sysdeps/x86/bits/xtitypes.h: This.
67255         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
67256         * sysdeps/x86/bits/wordsize.h: This.
67258         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
67259         * sysdeps/x86/bits/huge_vall.h: This.
67261         * sysdeps/i386/bits/select.h: Removed.
67262         * sysdeps/x86_64/bits/select.h: Renamed to ...
67263         * sysdeps/x86/bits/select.h: This.
67265         * sysdeps/i386/bits/setjmp.h: Removed.
67266         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
67267         * sysdeps/x86/bits/setjmp.h: This.
67269         * sysdeps/i386/bits/mathdef.h: Removed.
67270         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
67271         * sysdeps/x86/bits/mathdef.h: This.
67273 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
67275         [BZ #14132]
67276         * include/sys/socket.h (__connect_internal)
67277         (__libc_sa_len_internal): Remove declaration.
67278         (__connect, __libc_sa_len): Declare hidden_proto.
67279         (SA_LEN): Remove use of INTUSE.
67280         * socket/connect.c: Add libc_hidden_def.
67281         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
67282         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
67283         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
67284         alias.
67285         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
67286         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
67287         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
67288         of adding _internal alias.
67290 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
67292         [BZ #14117]
67293         * sysdeps/i386/bits/link.h: Removed.
67294         * sysdeps/i386/bits/linkmap.h: Likewise.
67295         * sysdeps/x86_64/bits/link.h: Renamed to ...
67296         * sysdeps/x86/bits/link.h: This.
67297         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
67298         * sysdeps/x86/bits/linkmap.h: This.
67300         * sysdeps/i386/bits/endian.h: Removed.
67301         * sysdeps/x86_64/bits/endian.h: Renamed to ...
67302         * sysdeps/x86/bits/endian.h: This.
67304         * sysdeps/i386/bits/byteswap.h: Removed.
67305         * sysdeps/i386/bits/byteswap-16.h: Likewise.
67306         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
67307         * sysdeps/x86/bits/byteswap.h: This.
67308         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
67309         * sysdeps/x86/bits/byteswap-16.h: This.
67310         * sysdeps/i386/Implies: Add x86.
67311         * sysdeps/x86_64/Implies: Likewise.
67313 2012-05-30  David S. Miller  <davem@davemloft.net>
67315         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
67316         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
67317         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
67318         (FP_TRAPPING_EXCEPTIONS): Define.
67319         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
67320         (FP_TRAPPING_EXCEPTIONS): Define.
67321         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
67322         subnormals only when inexact has been signalled or underflow
67323         exceptions are enabled.
67324         (_FP_PACK_CANONICAL): Likewise.
67326 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
67328         [BZ #14183]
67329         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
67330         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
67332 2012-05-30  Richard Henderson  <rth@twiddle.net>
67334         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
67335         with #ifndef NOT_IN_libc.
67337         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
67338         marked to avoid plt entry.
67340 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
67342         [BZ #14112]
67343         * Makeconfig (default-abi): New macro.
67344         (abi-includes): Likewise.
67345         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
67346         $(abi-$(default-abi)-lib-soname) for soname if defined.
67347         ($(common-objpfx)gnu/lib-names.stmp): Generate from
67348         abi-variants.
67349         * Makefile (installed-stubs): Likewise.
67350         * include/stubs-biarch.h: Removed.
67351         * scripts/lib-names.awk: Only handle one library at a time.
67352         * scripts/soversions.awk: Remove WORDSIZE support.
67353         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
67354         entries.
67355         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
67356         Removed.
67357         (syscall-list-default-condition): Likewise.
67358         (syscall-list-default-condition): Likewise.
67359         (syscall-list-includes): Likewise.
67360         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
67361         syscall-list-* with abi-*.  Handle undefined abi-variants.
67362         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
67363         * sysdeps/unix/sysv/linux/i386/Implies: New file.
67364         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
67365         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
67366         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
67367         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
67368         Removed.
67369         (syscall-list-32-options): Likewise.
67370         (syscall-list-32-condition): Likewise.
67371         (syscall-list-64-options): Likewise.
67372         (syscall-list-64-condition): Likewise.
67373         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
67374         macro.
67375         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
67376         Renamed to ...
67377         (abi-*): This.
67378         (abi-64-ld-soname): New macro.
67379         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
67380         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
67381         Renamed to ...
67382         (abi-*): This.
67383         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
67384         * sysdeps/x86_64/x32/shlib-versions: Likewise.
67386 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
67388         * sysdeps/unix/sysv/linux/kernel-features.h
67389         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
67390         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
67391         include <kernel-features.h>.
67392         [!__NR_ftruncate64]: Remove conditional code.
67393         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67394         [__NR_ftruncate64]: Make code unconditional.
67395         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67396         * sysdeps/unix/sysv/linux/truncate64.c: Do not
67397         include <kernel-features.h>.
67398         [!__NR_ftruncate64]: Remove conditional code.
67399         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67400         [__NR_ftruncate64]: Make code unconditional.
67401         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
67403         include <kernel-features.h>.
67404         [!__NR_ftruncate64]: Remove conditional code.
67405         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67406         [__NR_ftruncate64]: Make code unconditional.
67407         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
67409         include <kernel-features.h>.
67410         [!__NR_ftruncate64]: Remove conditional code.
67411         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67412         [__NR_ftruncate64]: Make code unconditional.
67413         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67415         * configure.in (libc_cv_fpie): Weaken to a compile test using
67416         LIBC_TRY_CC_OPTION.
67417         * configure: Regenerated.
67419 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67421         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
67422         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
67423         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
67424         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
67425         Refreshed.
67426         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
67427         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
67428         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
67429         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
67430         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
67431         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
67432         Refreshed.
67434 2012-05-27  David S. Miller  <davem@davemloft.net>
67436         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
67437         (___Q_zero): New.
67438         (__Q_simulate_exceptions): Return void.  Change to simulate
67439         exceptions by writing into the %fsr.
67440         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
67441         (__Qp_handle_exceptions): Likewise.
67442         (numbers): Delete.
67443         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
67444         __Qp_handle_exceptions.
67445         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
67446         __Qp_handle_exceptions.
67447         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
67448         as unused and give dummy FP_RND_NEAREST initializer.
67449         (FP_INHIBIT_RESULTS): Define.
67450         (___Q_simulate_exceptions): Update declaration.
67451         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
67452         formatting.
67453         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
67454         as unused and give dummy FP_RND_NEAREST initializer.
67455         (__Qp_handle_exceptions): Update declaration.
67456         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
67457         formatting.
67459 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
67461         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
67462         the temporary FPU control word.
67463         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
67464         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
67465         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
67466         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
67467         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
67468         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
67469         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
67470         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
67471         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
67472         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
67473         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
67475 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
67477         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
67478         fields.
67480 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
67482         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
67483         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
67484         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
67485         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
67486         Likewise.
67487         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
67488         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
67489         Likewise.
67491 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
67493         * po/h.po: Update from translation team.
67495 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
67497         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
67499         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
67500         handling of denormals.
67501         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
67502         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
67503         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
67504         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
67505         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
67506         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
67507         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
67508         Likewise.
67510 2012-05-26  Marek Polacek  <polacek@redhat.com>
67512         [BZ #14152]
67513         * math/libm-test.inc (fma_test): Don't always expect underflow
67514         exception.
67516 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
67518         [BZ #12416]
67519         * elf/tst-execstack.c: Include stackinfo.h.
67520         (do_test): Adjust test case to ensure that pthread_getattr_np
67521         behaviour remains the same after marking stack executable.
67523 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
67525         * sysdeps/unix/sysv/linux/kernel-features.h
67526         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
67527         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
67528         kernel-features.h.
67529         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
67530         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
67531         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
67532         kernel-features.h.
67533         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
67534         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
67536 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
67538         * configure.in: Define the default includes to being none.
67539         * configure: Regenerated.
67541 2012-05-25  Roland McGrath  <roland@hack.frob.com>
67543         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
67544         * sysdeps/x86_64/setjmp.S: Likewise.
67545         * sysdeps/i386/bsd-setjmp.S: Likewise.
67546         * sysdeps/i386/bsd-_setjmp.S: Likewise.
67547         * sysdeps/i386/setjmp.S: Likewise.
67548         * sysdeps/i386/__longjmp.S: Likewise.
67549         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
67550         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
67552         * include/stap-probe.h: New file.
67553         * configure.in: Handle --enable-systemtap.
67554         * configure: Regenerated.
67555         * config.h.in (USE_STAP_PROBE): New #undef.
67556         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
67557         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
67558         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
67560 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
67562         [BZ #13717]
67563         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
67564         to 2.4.0 where earlier.
67565         * sysdeps/unix/sysv/linux/configure: Regenerated.
67566         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
67567         <kernel-features.h>.
67568         [__ASSUME_32BITUIDS]: Make code unconditional.
67569         [!__ASSUME_32BITUIDS]: Remove conditional code.
67570         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
67571         <kernel-features.h>.
67572         [__ASSUME_32BITUIDS]: Make code unconditional.
67573         [!__ASSUME_32BITUIDS]: Remove conditional code.
67574         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
67575         [__ASSUME_32BITUIDS]: Make code unconditional.
67576         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
67577         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
67578         <kernel-features.h>.
67579         [__ASSUME_32BITUIDS]: Make code unconditional.
67580         [!__ASSUME_32BITUIDS]: Remove conditional code.
67581         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
67582         <kernel-features.h>.
67583         [__ASSUME_32BITUIDS]: Make code unconditional.
67584         [!__ASSUME_32BITUIDS]: Remove conditional code.
67585         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
67586         <kernel-features.h>.
67587         [__ASSUME_32BITUIDS]: Make code unconditional.
67588         [!__ASSUME_32BITUIDS]: Remove conditional code.
67589         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
67590         <kernel-features.h>.
67591         [__ASSUME_32BITUIDS]: Make code unconditional.
67592         [!__ASSUME_32BITUIDS]: Remove conditional code.
67593         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
67594         <kernel-features.h>.
67595         [__ASSUME_32BITUIDS]: Make code unconditional.
67596         [!__ASSUME_32BITUIDS]: Remove conditional code.
67597         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
67598         <kernel-features.h>.
67599         [__ASSUME_32BITUIDS]: Make code unconditional.
67600         [!__ASSUME_32BITUIDS]: Remove conditional code.
67601         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
67602         <kernel-features.h>.
67603         [__ASSUME_32BITUIDS]: Make code unconditional.
67604         [!__ASSUME_32BITUIDS]: Remove conditional code.
67605         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
67606         <kernel-features.h>.
67607         [__ASSUME_32BITUIDS]: Make code unconditional.
67608         [!__ASSUME_32BITUIDS]: Remove conditional code.
67609         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
67610         <kernel-features.h>.
67611         [__ASSUME_32BITUIDS]: Make code unconditional.
67612         [!__ASSUME_32BITUIDS]: Remove conditional code.
67613         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
67614         <kernel-features.h>.
67615         [__ASSUME_32BITUIDS]: Make code unconditional.
67616         [!__ASSUME_32BITUIDS]: Remove conditional code.
67617         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
67618         <kernel-features.h>.
67619         [__NR_setresgid] (__setresgid): Do not declare.
67620         [__ASSUME_32BITUIDS]: Make code unconditional.
67621         [!__ASSUME_32BITUIDS]: Remove conditional code.
67622         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
67623         <kernel-features.h>.
67624         [__NR_setresuid] (__setresuid): Do not declare.
67625         [__ASSUME_32BITUIDS]: Make code unconditional.
67626         [!__ASSUME_32BITUIDS]: Remove conditional code.
67627         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
67628         <kernel-features.h>.
67629         [__ASSUME_32BITUIDS]: Make code unconditional.
67630         [!__ASSUME_32BITUIDS]: Remove conditional code.
67631         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
67632         <kernel-features.h>.
67633         [__ASSUME_32BITUIDS]: Make code unconditional.
67634         [!__ASSUME_32BITUIDS]: Remove conditional code.
67635         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
67636         <kernel-features.h>.
67637         [__ASSUME_32BITUIDS]: Make code unconditional.
67638         [!__ASSUME_32BITUIDS]: Remove conditional code.
67639         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
67640         <kernel-features.h>.
67641         [__ASSUME_32BITUIDS]: Make code unconditional.
67642         [!__ASSUME_32BITUIDS]: Remove conditional code.
67643         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
67644         <kernel-features.h>.
67645         [__ASSUME_32BITUIDS]: Make code unconditional.
67646         [!__ASSUME_32BITUIDS]: Remove conditional code.
67647         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
67648         <kernel-features.h>.
67649         [__ASSUME_32BITUIDS]: Make code unconditional.
67650         [!__ASSUME_32BITUIDS]: Remove conditional code.
67651         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
67652         <kernel-features.h>.
67653         [__ASSUME_32BITUIDS]: Make code unconditional.
67654         [!__ASSUME_32BITUIDS]: Remove conditional code.
67655         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
67656         <kernel-features.h>.
67657         [__ASSUME_32BITUIDS]: Make code unconditional.
67658         [!__ASSUME_32BITUIDS]: Remove conditional code.
67659         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
67660         <kernel-features.h>.
67661         [__ASSUME_32BITUIDS]: Make code unconditional.
67662         [!__ASSUME_32BITUIDS]: Remove conditional code.
67663         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
67664         <kernel-features.h>.
67665         [__ASSUME_32BITUIDS]: Make code unconditional.
67666         [!__ASSUME_32BITUIDS]: Remove conditional code.
67667         * sysdeps/unix/sysv/linux/kernel-features.h
67668         (__ASSUME_SETRESUID_SYSCALL): Remove.
67669         (__ASSUME_SETRESGID_SYSCALL): Likewise.
67670         (__ASSUME_32BITUIDS): Likewise.
67671         (__ASSUME_LDT_WORKS): Likewise.
67672         (__ASSUME_O_DIRECTORY): Likewise.
67673         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
67674         architecture but not kernel version.
67675         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
67676         (__ASSUME_MMAP2_SYSCALL): Likewise.
67677         (__ASSUME_STAT64_SYSCALL): Likewise.
67678         (__ASSUME_IPC64): Likewise.
67679         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
67680         <kernel-features.h>.
67681         [__ASSUME_32BITUIDS]: Make code unconditional.
67682         [!__ASSUME_32BITUIDS]: Remove conditional code.
67683         * sysdeps/unix/sysv/linux/opendir.c: Do not include
67684         <kernel-features.h>.
67685         [__ASSUME_O_DIRECTORY]: Make code unconditional.
67686         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
67687         132096]: Remove conditional code.
67688         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
67689         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
67690         <kernel-features.h>.
67691         [__ASSUME_32BITUIDS]: Make code unconditional.
67692         [!__ASSUME_32BITUIDS]: Remove conditional code.
67693         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
67694         <kernel-features.h>.
67695         [__ASSUME_32BITUIDS]: Make code unconditional.
67696         [!__ASSUME_32BITUIDS]: Remove conditional code.
67697         * sysdeps/unix/sysv/linux/setegid.c: Do not include
67698         <kernel-features.h>.
67699         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
67700         unconditional.
67701         (__setresgid): Do not declare.
67702         [__ASSUME_32BITUIDS]: Make code unconditional.
67703         [!__ASSUME_32BITUIDS]: Remove conditional code.
67704         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
67705         <kernel-features.h>.
67706         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
67707         unconditional.
67708         (__setresuid): Do not declare.
67709         [__ASSUME_32BITUIDS]: Make code unconditional.
67710         [!__ASSUME_32BITUIDS]: Remove conditional code.
67711         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
67712         <kernel-features.h>.
67713         [__ASSUME_32BITUIDS]: Make code unconditional.
67714         [!__ASSUME_32BITUIDS]: Remove conditional code.
67715         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
67716         <kernel-features.h>.
67717         [__ASSUME_32BITUIDS]: Make code unconditional.
67718         [!__ASSUME_32BITUIDS]: Remove conditional code.
67720 2012-05-25  Richard Henderson  <rth@twiddle.net>
67722         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
67723         dl_hwcap to ifunc resolver.
67724         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
67725         elf_ifunc_invoke.
67726         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
67727         dl_hwcap to ifunc resolver.
67728         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
67730 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
67732         [BZ #14153]
67733         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
67734         for |x| <= 2**-26, not 2**-57.
67735         * math/libm-test.inc (acos_test): Do not allow spurious underflow
67736         exception.
67738 2012-05-24  Jeff Law  <law@redhat.com>
67740         * stdio-common/Makefile (tests): Add bug25.
67741         * stdio-common/bug25.c: New test.
67743 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
67745         [BZ #13576]
67746         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
67747         multiple of MALLOC_ALIGNMENT in size.
67748         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
67750 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
67752         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
67753         Require >= 256.
67754         (FILENAME_MAX): Use macro-int-constant.
67755         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
67756         (_IOFBF): Use macro-int-constant.
67757         (_IOLBF): Likewise.
67758         (_IONBF): Likewise.
67759         (SEEK_CUR): Likewise.
67760         (SEEK_END): Likewise.
67761         (SEEK_SET): Likewise.
67762         (TMP_MAX): Likewise.
67763         (EOF): Use macro-int-constant.  Require < 0.
67764         (NULL): Use macro-constant.  Require == 0.
67765         (stdin): Require type to be FILE *.
67766         (stdout): Likewise.
67767         (stderr): Likewise.
67768         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
67769         macro-int-constant.
67770         (EXIT_SUCCESS): Likewise.
67771         (NULL): Use macro-constant.  Require == 0.
67772         (RAND_MAX): Use macro-int-constant.
67773         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
67774         [C99-based standards] (strtof): Require function.
67775         [C99-based standards] (strtold): Likewise.
67776         [C99-based standards] (strtoll): Likewise.
67777         [C99-based standards] (strtoull): Likewise.
67778         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
67779         [ISO || ISO99 || ISO11] (limits.h): Likewise.
67780         [ISO || ISO99 || ISO11] (math.h): Likewise.
67781         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
67782         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
67783         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67785 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
67787         [BZ #14132]
67788         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
67789         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
67790         * intl/dgettext.c (DCGETTEXT): Likewise.
67791         * intl/gettext.c (DCGETTEXT): Likewise.
67792         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
67793         * posix/regex_internal.h (gettext): Likewise.
67794         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
67795         Remove declaration.
67796         * include/argz.h (__argz_count_internal)
67797         (__argz_stringify_internal): Remove declaration.
67798         (__argz_count, __argz_stringify): Declare hidden proto.
67799         * intl/dcgettext.c: Remove use of INTDEF.
67800         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
67801         * string/argz-stringify.c: Likewise.
67802         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
67803         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
67804         Declare hidden proto.
67805         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
67806         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
67807         Declare hidden proto.
67808         * include/stdio.h (__asprintf_internal): Don't declare.
67809         (__asprintf): Don't define as macro.  Declare hidden proto.
67810         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
67811         (__fsetlocking): Declare hidden proto.
67812         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
67813         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
67814         hidden proto.
67815         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
67816         (_IO_setlinebuf): Remove use of INTUSE.
67817         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
67818         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
67819         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
67820         Remove declaration.
67821         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
67822         (_IO_do_flush): Remove use of INTUSE.
67823         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
67824         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
67825         (_IO_adjust_column, _IO_least_wmarker)
67826         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
67827         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
67828         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
67829         (_IO_default_doallocate, _IO_wdefault_doallocate)
67830         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
67831         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
67832         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
67833         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
67834         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
67835         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
67836         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
67837         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
67838         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
67839         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
67840         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
67841         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
67842         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
67843         proto.
67844         (_IO_flush_all_internal, _IO_adjust_column_internal)
67845         (_IO_default_uflow_internal, _IO_default_finish_internal)
67846         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
67847         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
67848         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
67849         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
67850         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
67851         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
67852         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
67853         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
67854         (_IO_file_close_internal, _IO_file_close_it_internal)
67855         (_IO_file_underflow_internal, _IO_file_overflow_internal)
67856         (_IO_file_init_internal, _IO_file_attach_internal)
67857         (_IO_file_fopen_internal, _IO_file_read_internal)
67858         (_IO_file_sync_internal, _IO_file_seek_internal)
67859         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
67860         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
67861         (_IO_str_underflow_internal, _IO_str_overflow_internal)
67862         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
67863         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
67864         (_IO_list_all_internal, _IO_link_in_internal)
67865         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
67866         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
67867         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
67868         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
67869         (_IO_do_write_internal, _IO_padn_internal)
67870         (_IO_getline_info_internal, _IO_getline_internal)
67871         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
67872         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
67873         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
67874         (_IO_vfscanf_internal, _IO_vfprintf_internal)
67875         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
67876         (_IO_init_internal, _IO_un_link_internal): Don't declare.
67877         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
67878         with libc_hidden_ver, remove use of INTUSE.
67879         * libio/genops.c: Likewise.
67880         * libio/freopen.c: Likewise.
67881         * libio/freopen64.c: Likewise.
67882         * libio/iofclose.c: Likewise.
67883         * libio/iofdopen.c: Likewise.
67884         * libio/iofflush.c: Likewise.
67885         * libio/iofflush_u.c: Likewise.
67886         * libio/iofgets.c: Likewise.
67887         * libio/iofgets_u.c: Likewise.
67888         * libio/iofopen.c: Likewise.
67889         * libio/iofopncook.c: Likewise.
67890         * libio/iofread.c: Likewise.
67891         * libio/iofread_u.c: Likewise.
67892         * libio/ioftell.c: Likewise.
67893         * libio/iofwrite.c: Likewise.
67894         * libio/iogetline.c: Likewise.
67895         * libio/iogets.c: Likewise.
67896         * libio/iogetwline.c: Likewise.
67897         * libio/iopadn.c: Likewise.
67898         * libio/iopopen.c: Likewise.
67899         * libio/ioseekoff.c: Likewise.
67900         * libio/ioseekpos.c: Likewise.
67901         * libio/iosetbuffer.c: Likewise.
67902         * libio/iosetvbuf.c: Likewise.
67903         * libio/ioungetc.c: Likewise.
67904         * libio/ioungetwc.c: Likewise.
67905         * libio/iovdprintf.c: Likewise.
67906         * libio/iovsprintf.c: Likewise.
67907         * libio/iovsscanf.c: Likewise.
67908         * libio/memstream.c: Likewise.
67909         * libio/obprintf.c: Likewise.
67910         * libio/oldfileops.c: Likewise.
67911         * libio/oldiofclose.c: Likewise.
67912         * libio/oldiofdopen.c: Likewise.
67913         * libio/oldiofopen.c: Likewise.
67914         * libio/oldiopopen.c: Likewise.
67915         * libio/oldstdfiles.c: Likewise.
67916         * libio/putc.c: Likewise.
67917         * libio/setbuf.c: Likewise.
67918         * libio/setlinebuf.c: Likewise.
67919         * libio/stdfiles.c: Likewise.
67920         * libio/strops.c: Likewise.
67921         * libio/vasprintf.c: Likewise.
67922         * libio/vscanf.c: Likewise.
67923         * libio/vsnprintf.c: Likewise.
67924         * libio/vswprintf.c: Likewise.
67925         * libio/wfiledoalloc.c: Likewise.
67926         * libio/wfileops.c: Likewise.
67927         * libio/wgenops.c: Likewise.
67928         * libio/wmemstream.c: Likewise.
67929         * libio/wstrops.c: Likewise.
67930         * libio/__fpurge.c: Likewise.
67931         * libio/__fsetlocking.c: Likewise.
67932         * assert/assert.c: Likewise.
67933         * debug/fgets_chk.c: Likewise.
67934         * debug/fgets_u_chk.c: Likewise.
67935         * debug/fread_chk.c: Likewise.
67936         * debug/fread_u_chk.c: Likewise.
67937         * debug/gets_chk.c: Likewise.
67938         * debug/obprintf_chk.c: Likewise.
67939         * debug/vasprintf_chk.c: Likewise.
67940         * debug/vdprintf_chk.c: Likewise.
67941         * debug/vsnprintf_chk.c: Likewise.
67942         * debug/vsprintf_chk.c: Likewise.
67943         * malloc/mtrace.c: Likewise.
67944         * misc/error.c: Likewise.
67945         * misc/syslog.c: Likewise.
67946         * stdio-common/asprintf.c: Likewise.
67947         * stdio-common/fxprintf.c: Likewise.
67948         * stdio-common/getw.c: Likewise.
67949         * stdio-common/isoc99_fscanf.c: Likewise.
67950         * stdio-common/isoc99_scanf.c: Likewise.
67951         * stdio-common/isoc99_vfscanf.c: Likewise.
67952         * stdio-common/isoc99_vscanf.c: Likewise.
67953         * stdio-common/isoc99_vsscanf.c: Likewise.
67954         * stdio-common/printf-prs.c: Likewise.
67955         * stdio-common/printf_fp.c: Likewise.
67956         * stdio-common/printf_fphex.c: Likewise.
67957         * stdio-common/printf_size.c: Likewise.
67958         * stdio-common/putw.c: Likewise.
67959         * stdio-common/scanf.c: Likewise.
67960         * stdio-common/sprintf.c: Likewise.
67961         * stdio-common/tmpfile.c: Likewise.
67962         * stdio-common/vfprintf.c: Likewise.
67963         * stdio-common/vfscanf.c: Likewise.
67964         * stdlib/strfmon_l.c: Likewise.
67965         * sunrpc/openchild.c: Likewise.
67966         * sunrpc/xdr_stdio.c: Likewise.
67967         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
67968         * sysdeps/mach/hurd/tmpfile.c: Likewise.
67970 2012-05-24  Roland McGrath  <roland@hack.frob.com>
67972         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
67974         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
67975         in the third column, to generate for the shared library an IFUNC
67976         that uses _dl_vdso_vsym.
67977         * Makerules (COMPILE.c, compile-stdin.c): New variables.
67978         * Makeconfig (object-suffixes-noshared): New variable.
67980         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
67981         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
67982         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
67983         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
67985         [BZ #14132]
67986         * include/sys/time.h (__gettimeofday): Remove macro.
67987         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
67988         * time/gettimeofday.c (__gettimeofday): Remove #undef.
67989         Remove INTDEF.
67990         (__gettimeofday): Add libc_hidden_def.
67991         (gettimeofday): Add libc_hidden_weak.
67992         * sysdeps/mach/gettimeofday.c: Likewise.
67993         * sysdeps/posix/gettimeofday.c: Likewise.
67994         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
67995         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
67996         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
67997         (__gettimeofday_internal): Remove strong_alias.
67998         (__gettimeofday): Add libc_hidden_def.
67999         (gettimeofday): Add libc_hidden_weak.
68000         * sysdeps/unix/syscalls.list (gettimeofday):
68001         Remove __gettimeofday_internal alias.
68003 2012-05-24  Daniel Jacobowitz  <drow@false.org>
68004             H.J. Lu  <hongjiu.lu@intel.com>
68006         [BZ #12495]
68007         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
68008         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
68009         (largebin_index_32_big): New.
68010         (largebin_index): Use it for 16-byte alignment.
68011         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
68012         correction with front_misalign.
68014 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
68016         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
68017         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
68018         Likewise.
68019         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
68020         Likewise.
68021         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
68022         Likewise.
68023         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
68024         Likewise.
68025         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
68026         Likewise.
68027         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
68028         Likewise.
68029         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
68030         Likewise.
68031         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
68032         Likewise.
68033         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
68034         Likewise.
68035         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
68036         Likewise.
68037         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
68038         Likewise.
68039         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
68040         Likewise.
68042         * scripts/data/c++-types-x32-linux-gnu.data: New file.
68043         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
68045 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
68047         [BZ #10846]
68048         [BZ #14036]
68049         * math/libm-test.inc (exp_test): Add test from bug 14036.
68050         (pow_test): Add test from bug 10846.
68052         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
68053         and other flags.
68054         (special_function): Do not include flags in test name.
68055         (parse_args): Likewise.
68056         * sysdeps/i386/fpu/libm-test-ulps: Update.
68057         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
68058         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
68059         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
68060         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68062         * math/gen-libm-test.pl (%beautify): Add entries for underflow
68063         exceptions.
68064         * math/libm-test.inc ("Philosophy"): Update comment about
68065         exception testing.
68066         (UNDERFLOW_EXCEPTION): New macro.
68067         (UNDERFLOW_EXCEPTION_OK): Likewise.
68068         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
68069         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
68070         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
68071         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
68072         (INVALID_EXCEPTION_OK): Update value.
68073         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
68074         (OVERFLOW_EXCEPTION_OK): Likewise.
68075         (IGNORE_ZERO_INF_SIGN): Likewise.
68076         (test_exceptions): Handle underflow exceptions.
68077         (acos_test): Update for underflow exception expectations.
68078         (cexp_test): Likewise.
68079         (clog_test): Likewise.
68080         (clog10_test): Likewise.
68081         (csqrt_test): Likewise.
68082         (ctan_test): Likewise.
68083         (ctanh_test): Likewise.
68084         (exp_test): Likewise.
68085         (exp10_test): Likewise.
68086         (exp2_test): Likewise.
68087         (expm1_test): Likewise.
68088         (fma_test): Likewise.
68089         (j0_test): Likewise.
68090         (jn_test): Likewise.
68091         (nexttoward_test): Likewise.
68092         (pow_test): Likewise.
68093         (scalbn_test): Likewise.
68094         (scalbln_test): Likewise.
68095         (tan_test): Likewise.
68096         (y1_test): Likewise.
68097         * sysdeps/i386/fpu/libm-test-ulps: Update.
68098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68100 2012-05-23  David S. Miller  <davem@davemloft.net>
68102         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
68103         (__libc_sigaction): Remove unused local variables.
68105 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
68107         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
68109 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
68111         mktime: avoid signed integer overflow
68112         * time/mktime.c (__mktime_internal): Do not mishandle the case
68113         where diff == INT_MIN.
68115         mktime: simplify computation of average
68116         * time/mktime.c (ranged_convert): Use new time_t_avg function
68117         instead of rolling our own (probably-slower) code.
68119         mktime: do not assume signed right shift propagates sign bit
68120         * time/mktime.c (isdst_differ): New static function.
68121         (__mktime_internal): No need to normalize tm_isdst now.
68122         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
68123         tm_isdst values.
68125         mktime: merge another wrapv change from gnulib
68126         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
68127         from some compilers.
68129         mktime: remove incorrect attempt at unusual arithmetics
68130         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
68131         The code didn't really work on such machines anyway.
68132         (TYPE_MINIMUM): Assume two's complement.
68133         (twos_complement_arithmetic): Verify that long_int and time_t
68134         are two's complement (or unsigned, in the latter case).
68136         mktime: check signed shifts on long_int and time_t, too
68137         * time/mktime.c (SHR): Check that shifts work as desired
68138         on the types long_int and time_t too, as SHR is used on
68139         such types.
68141         mktime: do not assume 'long' is wide enough
68142         * time/mktime.c (verify): Move decl up.
68143         (long_int): New type.
68144         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
68145         to remove assumption in the code that 'long' is wide enough to
68146         store year values.  This assumption is not true on x32 and on
68147         some non-glibc platforms.
68149         mktime: merge wrapv change from gnulib
68150         * time/mktime.c (WRAPV): New macro.
68151         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
68152         (guess_time_tm, __mktime_internal): Do not assume that signed
68153         integer overflow wraps around; modern compilers generate code
68154         where this assumption is no longer valid.
68156 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
68158         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
68159         Replace "jmp L(pseudo_end)" with "ret".
68160         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
68161         Likewise.
68163 2012-05-23  Andreas Jaeger  <aj@suse.de>
68165         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
68166         * sysdeps/unix/sysv/linux/poll.c: Remove file.
68168 2012-05-23  Andreas Jaeger  <aj@suse.de>
68169             Maximilian Attems  <max@stro.at>
68171         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
68172         New macros.
68174 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
68176         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
68177         code so that pseudo_end is just ret and the stack pointer is
68178         correct also for static library in error case.
68180 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
68182         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
68183         move to syscalls.list.
68184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
68185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
68186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
68187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
68189         * manual/install.texi (Running make install): Do not mention Linux
68190         kernel version for which pt_chown is not needed.
68191         (Linux): Do not mention problems with nscd with 2.0 kernels.
68192         * INSTALL: Regenerated.
68194 2012-05-23  Andreas Jaeger  <aj@suse.de>
68196         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
68197         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
68198         macro.
68199         * sysdeps/unix/sysv/linux/s390/bits/mman.h
68200         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68201         * sysdeps/unix/sysv/linux/sh/bits/mman.h
68202         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68203         * sysdeps/unix/sysv/linux/i386/bits/mman.h
68204         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68205         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
68206         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68207         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
68208         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68209         * sysdeps/unix/sysv/linux/bits/in.h
68210         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
68212 2012-05-22  Roland McGrath  <roland@hack.frob.com>
68214         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
68215         (PREPARE_VERSION): Just use assert instead, it will be elided
68216         under [NDEBUG] anyway.
68218 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
68220         * sysdeps/unix/sysv/linux/Makefile: Include
68221         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
68222         (sysdep_routines): Remove sysctl.
68223         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
68224         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
68225         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
68226         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
68227         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
68229 2012-05-22  Andreas Jaeger  <aj@suse.de>
68231         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
68232         that pseudo_end is just ret and the stack pointer is correct also
68233         for static library in error case.
68235 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
68237         [BZ #14122]
68238         * nss/nsswitch.c (defconfig_entries): New variable.
68239         (__nss_database_lookup): Don't leak defconfig entries.
68240         (nss_parse_service_list): Don't leak on error paths.
68241         (free_database_entries): New function.
68242         (free_defconfig): New function.
68243         (free_mem): Move common code to free_database_entries.
68245 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
68247         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
68248         Add arch_prctl.
68249         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
68251         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
68252         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
68253         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
68254         New macro.
68255         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
68256         (INTERNAL_SYSCALL_TYPES): Likewise.
68257         (LOAD_ARGS_TYPES_[1-6]): Likewise.
68258         (LOAD_REGS_TYPES_[1-6]): Likewise.
68259         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
68260         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
68262 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68264         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
68265         copysignl for GLIBC_2_0.
68266         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
68267         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
68268         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
68269         logbl for GLIBC_2_0.
68270         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
68271         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
68273 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
68275         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
68276         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
68278         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
68279         Use "neg %eax".
68281         * time/mktime.c: Update copyright years.
68283 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
68285         mktime: merge comment-quoting-style change from gnulib
68286         * time/mktime.c: Quote 'like this' in comments.
68287         The GNU coding standards suggest that we no longer quote `like this',
68288         as "`" and "'" are typically rendered asymmetrically nowadays.
68289         The typical gnulib style is to quote 'like this' when quoting
68290         code, and "like this" when quoting English.
68292         * time/mktime.c (compile-command): Add "-I.".
68294         mktime: merge mktime-internal.h change from gnulib
68295         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
68297         mktime: merge time_r change from gnulib
68298         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
68300         mktime: merge DEBUG change from gnulib
68301         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
68302         case system <time.h> has a #define.
68304         mktime: merge <sys/types.h> change from gnulib
68305         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
68306         since <time.t> is now guaranteed to define time_t.
68308         mktime: merge HAVE_CONFIG_H change from gnulib
68309         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
68311 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
68313         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
68314         Use "neg %eax".
68316         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
68317         __rlim_t cast.
68318         (struct rusage): Use anonymous union to pad each field to
68319         __syscall_slong_t.
68321 2012-05-21  David S. Miller  <davem@davemloft.net>
68323         * Makefules (o-iterator): Remove .s cases.
68324         (compile-command.s): Delete.
68325         (COMPILE.s): Delete.
68326         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
68328 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
68330         * configure.in (libc_cv_predef_stack_protector): Only consider
68331         "foobar" and "__stack_chk_fail" lines in libc_undefs.
68332         * configure: Regenerated.
68334 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
68336         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
68337         New macro.  Use R*LP on int and pointer.
68338         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
68339         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
68340         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
68341         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
68343         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
68344         [__WORDSIZE_TIME64_COMPAT32] instead of
68345         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
68346         (struct utmp): Likewise.
68347         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
68348         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
68349         Renamed to ...
68350         (__WORDSIZE_TIME64_COMPAT32): This.
68351         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
68352         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
68353         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
68354         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
68355         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
68356         (__WORDSIZE_TIME64_COMPAT32): New macro.
68358 2012-05-21  Andreas Jaeger  <aj@suse.de>
68360         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
68361         only if [SHARED]. Add prototype for __wcschr_ia32.
68363 2012-05-21  Roland McGrath  <roland@hack.frob.com>
68365         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
68366         of %rbp unmolested in the jmp_buf while mangling the low bits.
68367         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
68368         unmolested high bits of %rbp while demangling the low bits.
68369         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
68371 2012-05-21  Andreas Jaeger  <aj@suse.de>
68373         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
68374         * sunrpc/svc_simple.c: Use it for registerrpc.
68375         * sunrpc/xcrypt.c: Use it for passwd2des.
68377         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
68379 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
68381         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
68382         Don't define if [__SYSCALL_WORDSIZE != 32].
68383         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
68384         New macro.
68386 2012-05-21  Bruno Haible  <bruno@clisp.org>
68387             Andreas Jaeger  <aj@suse.de>
68389         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
68390         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
68391         inptr and inend for must_buffer_ch.
68392         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
68393         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
68394         * stdio-common/Makefile (tests): Remove bug15.
68395         (bug15-ENV): Remove macro.
68396         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
68397         anymore.
68399 2012-05-19  Andreas Jaeger  <aj@suse.de>
68400             Roland McGrath  <roland@hack.frob.com>
68402         * manual/contrib.texi: Completely rewritten. It contains now an
68403         alphabetical list of contributors and their contributions.
68405 2012-05-21  Richard Henderson  <rth@twiddle.net>
68407         * misc/getauxval.c (__getauxval): Use unsigned long int.
68408         * misc/sys/auxv.h: Include <sys/cdefs.h>.
68409         (getauxval): Use unsigned long int.
68411 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
68413         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
68415 2012-05-21  Roland McGrath  <roland@hack.frob.com>
68417         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
68418         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
68419         __alignof__ (long double).
68421 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68423         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68425 2012-05-20  Richard Henderson  <rth@twiddle.net>
68427         * misc/getauxval.c: New file.
68428         * misc/sys/auxv.h: New file.
68429         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
68430         (routines): Add getauxval.
68431         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
68432         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
68433         * elf/dl-sysdep.c (_dl_auxv): Remove.
68434         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
68435         * elf/dl-support.c (_dl_auxv): New variable.
68436         (_dl_aux_init): Initialize it.
68437         * manual/startup.texi (Auxiliary Vector): New node.
68438         * sysdeps/generic/bits/hwcap.h: New file.
68439         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
68440         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
68441         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
68442         * sysdeps/sparc/sysdep.h: ... here.  Include it.
68443         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
68444         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
68445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68446         Update.
68447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
68448         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
68449         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
68450         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
68451         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
68452         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
68453         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
68454         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
68456 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68458         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68460 2012-05-19  David S. Miller  <davem@davemloft.net>
68462         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68464 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
68466         [BZ #14123]
68467         * math/s_ccosh.c: Include <float.h>
68468         (__ccosh): Avoid internal overflow calculating sinh and cosh
68469         values before multiplying by sin and cos values.
68470         * math/s_ccoshf.c: Likewise.
68471         * math/s_ccoshl.c: Likewise.
68472         * math/s_csin.c: Likewise.
68473         * math/s_csinf.c: Likewise.
68474         * math/s_csinl.c: Likewise.
68475         * math/s_csinh.c: Likewise.
68476         * math/s_csinhf.c: Likewise.
68477         * math/s_csinhl.c: Likewise.
68478         * math/libm-test.inc (ccos_test): Add more tests.
68479         (ccosh_test): Likewise.
68480         (csin_test): Likewise.
68481         (csinh_test): Likewise.
68482         * sysdeps/i386/fpu/libm-test-ulps: Update.
68483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68485 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
68487         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
68488         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
68490         * sysdeps/x86_64/x32/_itoa.h: Add comment.
68492 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
68494         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
68495         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
68496         * sysdeps/powerpc/soft-fp/Versions: Likewise.
68497         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
68498         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
68499         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
68500         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
68501         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
68502         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
68503         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
68504         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
68505         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
68506         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
68507         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
68508         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
68509         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
68510         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
68511         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
68512         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
68513         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
68514         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
68515         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
68516         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
68517         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
68518         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
68519         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
68520         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
68521         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
68522         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
68523         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
68524         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
68526 2012-05-18  Andreas Jaeger  <aj@suse.de>
68528         * csu/.gitignore: Delete.
68530 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
68532         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
68533         (timex): Use __syscall_slong_t.
68535 2012-05-18  Andreas Jaeger  <aj@suse.de>
68536             Carlos O'Donell  <carlos_odonell@mentor.com>
68538         * manual/install.texi (Configuring and compiling): Update
68539         description about files modified in the source directory.
68540         * INSTALL: Regenerated.
68542 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
68544         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
68545         value.  Use "or" to set return value to -1.
68546         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
68547         negate return value.
68549 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68551         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
68552         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
68553         failure if the compiler has Graphite support disabled.
68554         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
68555         Likewise.
68556         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
68557         (CFLAGS-memmove.c): Likewise.
68558         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
68559         Likewise.
68561 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
68563         * sysdeps/x86_64/x32/_itoa.h: New file.
68565         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
68566         getdents system call only if kernel and user dirents have the
68567         same d_ino and d_off.
68569         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
68570         LLONG_MAX != LONG_MAX.
68571         (_itoa_word): Use _ITOA_WORD_TYPE on value.
68572         (_fitoa_word): Likewise.
68574         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
68575         years.
68576         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
68577         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
68578         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
68580         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
68581         include <bits/wordsize.h>.  Check __x86_64__ instead of
68582         __WORDSIZE.
68583         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
68584         if __x86_64__ is defined.  Use anonymous union on fpstate.
68586         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
68587         anonymous union.
68589 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
68591         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
68592         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
68593         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
68594         Refer to _rtld_local_ro instead of _rtld_global_ro.
68595         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
68596         Likewise.
68597         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
68598         Likewise.
68599         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
68600         Likewise.
68601         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
68602         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
68603         of _rtld_global, and rtld_progname instead of _dl_argv[0].
68605         [BZ #10882]
68606         * sysdeps/powerpc/powerpc32/dl-machine.c
68607         (__elf_machine_runtime_setup) [PROF]: Don't reference
68608         _dl_prof_resolve.
68610 2012-05-18  Andreas Jaeger  <aj@suse.de>
68612         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
68613         function only available for GCCs before 3.4 since GCC 3.4
68614         introduced a builtin.
68615         (lrint): Likewise.
68616         (llrintf): Likewise.
68617         (llrint): Likewise.
68618         (fmaxf): Likewise.
68619         (fmax): Likewise.
68620         (fminf): Likewise.
68621         (fmin): Likewise.
68622         (rint): Likewise.
68623         (rintf): Likewise.
68624         (nearbyint): Likewise.
68625         (nearbyintf): Likewise.
68626         (ceil): Likewise.
68627         (ceilf): Likewise.
68628         (floor): Likewise.
68629         (floorf): Likewise.
68631 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
68633         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
68634         on both fields and cast pointer to __syscall_ulong_t.
68636         * bits/types.h (__fsword_t): New type.
68637         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
68638         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
68639         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68640         (__FSWORD_T_TYPE): Likewise.
68641         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
68642         (__FSWORD_T_TYPE): Likewise.
68643         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68644         (__FSWORD_T_TYPE): Likewise.
68645         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
68646         (__FSWORD_T_TYPE): Likewise.
68647         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
68648         __SWORD_TYPE with __fsword_t.
68649         (statfs64): Likewise.
68651 2012-05-17  David S. Miller  <davem@davemloft.net>
68653         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
68655 2012-05-17  Andreas Jaeger  <aj@suse.de>
68657         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
68658         warning.
68660 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
68662         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
68664 2012-05-17  Andreas Jaeger  <aj@suse.de>
68666         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
68667         when it is used.
68669 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
68671         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
68673 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
68675         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
68676         * sysdeps/x86_64/tst-mallocalign1.c: New file.
68678 2012-05-17  Andreas Jaeger  <aj@suse.de>
68679             Carlos O'Donell  <carlos_odonell@mentor.com>
68681         [BZ #14059]
68682         * sysdeps/x86_64/multiarch/init-arch.h
68683         (bit_YMM_Usable): Rename to...
68684         (bit_AVX_Usable): ... this.
68685         (bit_FMA4_Usable): New macro.
68686         (bit_XMM_state): New macro.
68687         (bit_YMM_state): New macro.
68688         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
68689         [__ASSEMBLER__] (index_AVX_Usable): ... this.
68690         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
68691         (CPUID_OSXSAVE): New macro.
68692         (CPUID_AVX): New macro.
68693         (CPUID_FMA4): New macro.
68694         (index_YMM_Usable): Rename to...
68695         (index_AVX_Usable): ... this.
68696         (HAS_AVX): Use HAS_ARCH_FEATURE.
68697         (HAS_FMA4): Likewise.
68698         (HAS_YMM_USABLE): Remove.
68699         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68700         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
68701         are present.
68702         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
68703         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
68704         * sysdeps/x86_64/multiarch/Makefile: Likewise.
68705         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
68706         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
68708 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
68710         * math/libm-test.c: Support platforms without multiple rounding modes.
68711         * math/bug-nextafter.c: Support platforms without FP exceptions.
68712         * math/bug-nexttoward.c: Likewise.
68713         * math/test-fenv.c: Likewise.
68714         * math/test-misc.c: Likewise.
68715         * stdlib/bug-getcontext.c: Likewise.
68717 2012-05-17  Andreas Jaeger  <aj@suse.de>
68719         * manual/examples/search.c (critter_cmp): Change signature to
68720         avoid warnings.
68721         * manual/string.texi (Collation Functions): Likewise.
68723 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68725         * bits/types.h: Fold copyright years.
68726         * bits/typesizes.h: Likewise.
68727         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
68728         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
68729         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
68730         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
68731         * time/time.h: Likewise.
68733 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
68735         [BZ #208]
68736         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
68737         in instead of returning them.  Return void.
68738         (__libc_mallinfo): Accumulate over all arenas.
68739         (__malloc_stats): Adjust for change in int_mallinfo interface.
68741 2012-05-16  Roland McGrath  <roland@hack.frob.com>
68743         [BZ #10375]
68744         * configure.in (NM): Add AC_CHECK_TOOL for it.
68745         (libc_extra_cflags): New substituted variable.
68746         Check for -fstack-protector being used implicitly.
68747         * configure: Regenerated.
68748         * config.make.in (config-extra-cflags): New variable,
68749         gets @libc_extra_cflags@.
68750         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
68752         [BZ #10375]
68753         * configure.in: Check for _FORTIFY_SOURCE being predefined.
68754         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
68755         * configure: Regenerated.
68756         * config.make.in (CPPUNDEFS): New substituted variable.
68757         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
68758         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
68759         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
68761 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68763         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
68764         (mq_attr): Use __syscall_slong_t.
68766 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68768         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
68769         Check __x86_64__ instead of __WORDSIZE.
68770         (_STAT_VER_LINUX): Likewise.
68771         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
68772         __syscall_ulong_t and __syscall_slong_t.
68773         (stat64): Likewise.
68775 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68777         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
68779 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68781         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
68783 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68785         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
68786         __syscall_ulong_t.
68788         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
68789         include <bits/wordsize.h>.  Check __x86_64__ instead of
68790         __WORDSIZE.
68791         (greg_t): Use "__extension__ long long int" if __x86_64__ is
68792         defined.
68793         (mcontext_t): Replace "unsigned long" with "unsigned long long".
68795         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
68796         include <bits/wordsize.h>.  Check __x86_64__ instead of
68797         __WORDSIZE.
68798         (user_regs_struct): Use "__extension__ unsigned long long"
68799         instead of "unsigned long" if __x86_64__ is defined.
68800         (user): Likewise.  Pad after pointer field if __ILP32__ is
68801         defined.
68803 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
68805         * configure.in (makeinfo): Require version 4.5 or later.  Allow
68806         versions 5 to 9.
68807         * configure: Regenerated.
68808         * manual/install.texi (texinfo): Increase version requirement to
68809         4.5 or later.
68810         * INSTALL: Regenerated.
68812         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
68814 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68816         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
68818         * sysdeps/x86_64/x32/ffs.c: New file.
68820         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
68821         __syscall_ulong_t.
68822         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
68823         defined.  Use __syscall_ulong_t.
68824         (shminfo): Use __syscall_ulong_t.
68825         (shm_info): Likewise.
68827         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
68828         __syscall_ulong_t.
68830         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
68831         <bits/wordsize.h>.
68832         (msgqnum_t): Use __syscall_ulong_t.
68833         (msglen_t): Likewise.
68834         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
68835         __syscall_ulong_t.
68837         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
68838         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
68840         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
68842         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
68843         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
68845         * sysvipc/sys/msg.h (msgbuf): Replace long int with
68846         __syscall_slong_t.
68848         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
68849         include <bits/wordsize.h>.  Check __x86_64__ instead of
68850         __WORDSIZE.
68852         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
68853         "unsigned long long int" if __x86_64__ is defined.
68854         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
68856         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
68857         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
68858         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
68860         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
68861         <stdint.h>.
68862         (GET_PC): Cast to uintptr_t first.
68863         (GET_FRAME): Likewise.
68864         (GET_STACK): Likewise.
68866         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
68867         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
68868         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
68869         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
68870         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
68871         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
68872         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
68873         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
68874         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
68875         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
68876         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
68877         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
68878         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
68879         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
68880         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
68881         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
68882         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
68883         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
68884         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
68885         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
68886         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
68887         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
68888         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
68889         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
68890         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
68891         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
68892         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
68893         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
68894         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
68896 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
68898         * Makerules (+depfiles): Also collect depfiles from .oS in
68899         $(extra-objs).
68900         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
68901         .oS, $(libnldbl-routines)).
68903         * Makerules (native-compile-mkdep-flags): Define.
68904         * sunrpc/Makefile (extra-objs): Add $(addprefix
68905         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
68906         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
68907         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
68908         calling $(make-target-directory).
68910 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68912         * bits/types.h (__snseconds_t): Removed.
68913         * time/time.h (struct timespec): Replace __snseconds_t with
68914         __syscall_slong_t.
68915         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
68916         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
68917         Likewise.
68918         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68919         (__SNSECONDS_T_TYPE): Likewise.
68920         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
68921         (__SNSECONDS_T_TYPE): Likewise.
68922         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68923         (__SNSECONDS_T_TYPE): Likewise.
68925 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68927         * sysdeps/mach/hurd/bits/typesizes.h
68928         (__SYSCALL_SLONG_TYPE): New macro.
68929         (__SYSCALL_ULONG_TYPE): Likewise.
68931 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68933         * bits/types.h (__syscall_slong_t): New type.
68934         (__syscall_ulong_t): Likewise.
68936         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
68937         (__SYSCALL_ULONG_TYPE): Likewise.
68938         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68939         (__SYSCALL_SLONG_TYPE): Likewise.
68940         (__SYSCALL_ULONG_TYPE): Likewise.
68941         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
68942         (__SYSCALL_SLONG_TYPE): Likewise.
68943         (__SYSCALL_ULONG_TYPE): Likewise.
68944         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68945         (__SYSCALL_SLONG_TYPE): Likewise.
68946         (__SYSCALL_ULONG_TYPE): Likewise.
68948 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68950         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
68951         Add sigaltstack-offsets.sym.
68952         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
68953         <sigaltstack-offsets.h>.
68954         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
68955         longjmp_msg pointer.
68956         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
68957         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
68958         signal stack.
68959         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
68961 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
68963         * elf/stackguard-macros.h: Remove file.
68964         * sysdeps/generic/stackguard-macros.h: New file.
68965         * sysdeps/i386/stackguard-macros.h: Likewise.
68966         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
68967         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
68968         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
68969         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
68970         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
68971         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
68972         * sysdeps/x86_64/stackguard-macros.h: Likewise.
68973         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
68974         <elf/stackguard-macros.h>.
68976         [BZ #14109]
68977         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
68978         __aligned__ in attribute.
68979         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
68980         (gregset_t): Likewise.
68982 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68984         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
68985         * sysdeps/x86_64/64/Implies-after: Here.  New file.
68986         * sysdeps/x86_64/x32/Implies-after: New file.
68988 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68990         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
68991         and access return value for _dl_profile_fixup.  Use R10_LP to
68992         load frame size.
68994 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68996         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
68998 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69000         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
69001         * sysdeps/x86_64/x32/sysdep.h: New file.
69003 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69005         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
69006         * sysdeps/x86_64/setjmp.S: Likewise.
69008 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69010         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
69011         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
69012         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
69013         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
69014         remove unused global constant.
69016 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
69018         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
69019         include of <not-cancel.h>.
69021 2012-05-15  Roland McGrath  <roland@hack.frob.com>
69023         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
69025 2012-05-15  Jeff Law  <law@redhat.com>
69026             Andreas Jaeger  <aj@suse.de>
69028         [BZ #13594]
69029         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
69030         out from...
69031         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
69032         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
69033         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
69034         code changing __hst_map_handle.map.
69036 2012-05-15  Roland McGrath  <roland@hack.frob.com>
69038         * configure.in (sysnames): Look for Implies-before and Implies-after
69039         files.
69040         * configure: Regenerated.
69042 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69044         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
69045         8-byte data alignment with LP_SIZE alignment.
69047 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69049         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
69050         into R10_LP.
69052 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69054         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
69056 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69058         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
69059         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
69060         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
69061         Likewise.
69062         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
69064 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69066         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
69067         (stackinfo_sub_sp): Likewise.
69069 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69071         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
69072         RAX_LP.
69074 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69076         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
69077         into R*_LP.
69079 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69081         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
69082         sizes into R*_LP.
69084 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69086         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
69088 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69090         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
69091         into R11_LP and load __x86_64_shared_cache_size_half into
69092         R8_LP.
69094 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69096         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
69097         R8_LP.
69099 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69101         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
69102         logb for POWER7.
69103         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
69104         logbf for POWER7.
69105         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
69106         logbl for POWER7.
69107         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
69108         powerpc32/power7/fpu/s_logb.c via #include.
69109         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
69110         powerpc32/power7/fpu/s_logbf.c via #include.
69111         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
69112         powerpc32/power7/fpu/s_logbl.c via #include.
69114 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
69116         * README.libm: Remove file.
69118 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69120         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
69121         count for x32.  Use R*_LP and omit operand-size suffix.
69123 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69125         * shlib-versions: Move x86_64-.*-linux.* entries to ...
69126         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
69127         * sysdeps/x86_64/x32/shlib-versions: New file.
69129 2012-05-14  Roland McGrath  <roland@hack.frob.com>
69131         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
69132         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
69133         Use _dl_fatal_printf instead.
69135 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
69137         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
69138         set if not set by the user.  Do not allow for being unset.
69139         * sysdeps/unix/sysv/linux/configure: Regenerated.
69141 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69143         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
69144         the `q' suffix from lea and replace .quad with ASM_ADDR.
69146 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69148         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
69149         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
69150         instead of $17.
69151         (PTR_DEMANGLE): Likewise.
69153 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69155         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
69156         (LP_OP): Likewise.
69157         (ASM_ADDR): Likewise.
69158         (RAX_LP): Likewise.
69159         (RBP_LP): Likewise.
69160         (RBX_LP): Likewise.
69161         (RCX_LP): Likewise.
69162         (RDI_LP): Likewise.
69163         (RSI_LP): Likewise.
69164         (RSP_LP): Likewise.
69165         (R8_LP): Likewise.
69166         (R9_LP): Likewise.
69167         (R10_LP): Likewise.
69168         (R10_LP): Likewise.
69169         (R11_LP): Likewise.
69170         (R12_LP): Likewise.
69171         (R13_LP): Likewise.
69172         (R14_LP): Likewise.
69173         (R15_LP): Likewise.
69175 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69177         * sysdeps/x86_64/x32/dl-machine.h: New file.
69179 2012-05-14  Andreas Jaeger  <aj@suse.de>
69181         * manual/Makefile (subdir): Remove export of subdir.
69182         (all): Remove target.
69183         (.PHONY): Remove all from list.
69184         (mkinstalldirs): Remove.
69185         (.PHONY): Remove installdirs from list.
69186         ($(inst_infodir)/libc.info): Use make-target-directory.
69187         (installdirs): Remove.
69188         (subdir_%): Remove.
69189         (glibc-targets): Remove.
69190         (lib): Remove.
69191         (stubs): Remove.
69192         ($(objpfx)stubs ../po/manual.pot): Remove.
69193         ($(objpfx)stamp%): Remove.
69194         (make-target-directory): Remove.
69195         (subdir_install): Remove.
69196         (routines): Remove.
69197         (aux): Remove.
69198         (sources): Remove.
69199         (objects): Remove.
69200         (headers): Remove.
69202         [BZ #13750]
69203         * manual/.gitignore: Remove, it's not needed anymore.
69204         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
69205         all files in it.
69206         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
69207         directory.
69208         (texis): Renamed to $(objpfx)texis.
69209         (texis-path): New, contains path to generated files.
69210         (chapters.%): Use texis-path for complete path, add extra argument
69211         libc-texinfo.sh.
69212         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
69213         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
69214         (summary,texi, stamp-summary): Use complete path of
69215         files. Generate files in build dir.
69216         (dir-add.texi): Build in build dir.
69217         (libm-err.texi,stamp-libm-err): Likewise.
69218         (version.texi, stamp-version): Likewise.
69219         (.%c.texi): Likewise.
69220         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
69221         (mostlyclean): Remove target.
69222         (realclean): Remove target.
69223         (generated): Add new variable with contents from mostlyclean and
69224         realclean, remove entries duplicated in common-mostlyclean, add
69225         stamp-libm-err and stamp-version.
69226         (generated-dirs): Add libc directory.
69227         ($(inst_infodir)/libc.info): Install files from build dir.
69229         * manual/install.texi (Configuring and compiling): Adjust since
69230         the info files are not part of the tar ball anymore.
69232 2012-05-14  Andreas Jaeger  <aj@suse.de>
69234         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
69235         variable.
69237 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
69239         [BZ #13717]
69240         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
69241         to 2.2.0 where earlier.
69242         * sysdeps/unix/sysv/linux/configure: Regenerated.
69243         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
69244         Remove conditional code.
69245         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
69246         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
69247         Remove conditional code.
69248         [!__NR_lchown]: Likewise.
69249         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
69250         [__NR_lchown]: Likewise.
69251         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
69252         comment referencing __ASSUME_LCHOWN_SYSCALL.
69253         * sysdeps/unix/sysv/linux/i386/sigaction.c
69254         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69255         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69256         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
69257         Remove conditional code.
69258         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
69259         (__protocol_available): Remove #if 0 code.
69260         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
69261         conditional code.
69262         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
69263         * sysdeps/unix/sysv/linux/kernel-features.h
69264         (__ASSUME_GETCWD_SYSCALL): Don't define.
69265         (__ASSUME_REALTIME_SIGNALS): Likewise.
69266         (__ASSUME_PREAD_SYSCALL): Likewise.
69267         (__ASSUME_PWRITE_SYSCALL): Likewise.
69268         (__ASSUME_POLL_SYSCALL): Likewise.
69269         (__ASSUME_LCHOWN_SYSCALL): Likewise.
69270         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
69271         non-SPARC.
69272         (__ASSUME_SIOCGIFNAME): Don't define.
69273         (__ASSUME_MSG_NOSIGNAL): Likewise.
69274         (__ASSUME_SENDFILE): Define unconditionally.
69275         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
69276         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
69277         conditional code.
69278         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
69279         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
69280         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
69281         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
69282         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
69283         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
69284         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
69285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
69286         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
69287         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
69289         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
69290         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
69292         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69293         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
69295         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69296         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
69298         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
69299         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
69301         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
69302         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
69304         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69305         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
69307         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69308         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69309         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
69310         Remove conditional code.
69311         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69312         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
69313         Remove conditional code.
69314         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69315         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
69316         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
69317         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
69318         Remove conditional code.
69319         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69320         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
69321         Remove conditional code.
69322         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69323         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
69324         Remove conditional code.
69325         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69326         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
69327         Remove conditional code.
69328         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69329         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
69330         Remove conditional code.
69331         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69332         * sysdeps/unix/sysv/linux/sh/pwrite64.c
69333         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69334         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69335         * sysdeps/unix/sysv/linux/sigaction.c
69336         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69337         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69338         * sysdeps/unix/sysv/linux/sigpending.c
69339         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69340         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69341         * sysdeps/unix/sysv/linux/sigprocmask.c
69342         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69343         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69344         * sysdeps/unix/sysv/linux/sigsuspend.c
69345         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69346         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69347         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
69348         (__libc_missing_rt_sigs): Remove.
69349         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
69350         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
69351         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
69352         Remove conditional code.
69353         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
69354         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
69355         return 1.
69356         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
69357         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
69358         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
69359         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
69361 2012-05-14  Andreas Jaeger  <aj@suse.de>
69363         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
69364         it's not used in glibc.
69365         (__coshm1): Likewise.
69366         (__acosh1p): Likewise.
69367         (__sgn): Likewise.
69369         * manual/string.texi (Copying and Concatenation): Add missing
69370         variable in concat example.
69371         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
69373 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69375         [BZ #14103]
69376         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
69377         __builtin_clzl with __builtin_clzll.
69379 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69381         [BZ #14104]
69382         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
69383         libc_freeres_ptr.
69385 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69387         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
69388         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
69389         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
69390         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
69392 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
69394         * NEWS: Update ia64 info.
69396 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
69398         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
69399         used as bcopy.
69401 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
69403         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
69404         * sysdeps/unix/syscalls.list (dup3): Likewise.
69405         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
69406         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
69408 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
69410         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
69411         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
69413 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
69415         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
69416         thread pointer.
69417         (TLS_IE): Use mov/add instead of movq/addq to load thread
69418         pointer.
69419         (TLS_GD_PREFIX): New.
69420         (TLS_GD): Use it.
69422 2012-05-11  David S. Miller  <davem@davemloft.net>
69424         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
69425         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
69426         (_FPU_SETCW): Likewise.
69428 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
69430         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
69431         is 32-byte aligned.
69433 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
69435         [BZ #11837]
69436         * iconvdata/gb18030.c: Update tables.
69437         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
69438         characters specially.
69439         (BODY for TO_LOOP): Add encoding of missing ranges.
69441 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
69443         [BZ #13673]
69444         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
69445         * sysdeps/mach/hurd/dup3.c: Likewise.
69446         * sysdeps/mach/hurd/readlinkat.c: Likewise.
69447         * sysdeps/powerpc/memmove.c:: Likewise.
69449 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
69451         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
69452         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
69454 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
69456         * elf/elf.h (R_X86_64_RELATIVE64): New.
69457         (R_X86_64_NUM): Updated.
69458         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
69459         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
69460         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
69461         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
69462         tst-quad1pie tst-quad2pie
69463         (modules-names): Add tst-quadmod1 tst-quadmod2.
69464         ($(objpfx)tst-quad1): New dependency.
69465         ($(objpfx)tst-quad2): Likewise.
69466         ($(objpfx)tst-quad1pie): Likewise.
69467         ($(objpfx)tst-quad2pie): Likewise.
69468         * sysdeps/x86_64/tst-quad1.c: New file.
69469         * sysdeps/x86_64/tst-quad1pie.c: New file.
69470         * sysdeps/x86_64/tst-quad2.c: Likewise.
69471         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
69472         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
69473         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
69474         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
69475         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
69477 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69479         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
69480         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
69481         * streams/stropts.h (t_scalar_t): Define type.
69483         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
69484         (_PATH_PRESERVE): Set to "/var/lib".
69485         (_PATH_RWHODIR): Set to "/var/spool/rwho".
69487         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
69488         instead of int.
69490         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
69491         if __dir_mkfile succeeded.
69493         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
69494         checking for _hurd_dtablesize.  Unlock it right after having
69495         finished _hurd_dtable allocation.
69497 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69499         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
69500         * sysdeps/mach/hurd/configure: Regenerated.
69501         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
69502         special-casing to...
69503         * sysdeps/gnu/configure.in: ... this new file.
69504         * sysdeps/unix/sysv/linux/configure: Regenerated.
69505         * sysdeps/gnu/configure: New generated file.
69507         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
69508         for Linux: use nsec instead of usec, as well as:
69509         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
69510         members of type struct timespec.
69511         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
69512         New macros.
69513         (struct stat64): Likewise.
69514         (_STATBUF_ST_NSEC): New macro.
69515         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
69517         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
69518         __strtoul_internal rather than strtoul.
69520 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
69522         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
69523         and reject them.
69525 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69527         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
69528         which preserves existing values.
69529         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
69531 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
69533         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
69534         TIMEOUT values.  Return EINVAL for NFDS values either negative or
69535         greater than FD_SETSIZE.
69537 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69539         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
69540         allocated, call __vm_protect to finish enabling the existing space, and
69541         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
69542         allocate the remainder.
69544 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
69546         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
69547         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
69549 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69551         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
69552         sysdeps/mach/hurd/readlink.c.
69554         * posix/tst-sysconf.c (posix_options): Only use
69555         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
69556         _POSIX_SYNCHRONIZED_IO when they are defined
69557         * sysdeps/mach/hurd/bits/posix_opt.h:
69558         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
69559         (_XOPEN_REALTIME): Undefine macro.
69560         (_XOPEN_REALTIME_THREADS): Undefine macro.
69561         (_XOPEN_SHM): Undefine macro.
69562         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
69563         macro to -1.
69564         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
69565         macro to -1.
69566         (_POSIX_ASYNC_IO): Undefine macro.
69567         (_POSIX_PRIORITIZED_IO): Undefine macro.
69568         (_POSIX_SPIN_LOCKS): Define macro to -1.
69570         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
69571         SA_NODEFER, SA_RESETHAND.
69572         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
69573         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
69574         F_DUPFD_CLOEXEC.
69576 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69578         * elf/Makefile (pldd-modules): Define unconditionally.
69580 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69582         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
69584 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69586         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
69587         Return ENOENT when name is empty.
69588         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
69590 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69592         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
69594         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
69596 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69598         Fix mlock in all cases except non-readable pages.
69599         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
69600         instead of VM_PROT_ALL as parameter to __vm_wire function.
69602         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
69603         (__mkdir): When path is `/', just fail with EEXIST.
69604         * sysdeps/mach/hurd/mkdirat.c: Likewise.
69606 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69608         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
69609         <sys/uio.h> (for writev).
69610         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
69611         and <sys/param.h> (for MIN).
69613 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
69615         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
69616         REQUESTED_TIME.  Properly set the remaining time and return EINTR
69617         if interrupted.
69619 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69621         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
69622         Depend on against $(link-rpcuserlibs).
69624 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69626         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
69627         (__libc_stack_end): Do not use attribute_relro.
69628         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
69629         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
69630         to libthread-provided value.
69631         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
69632         attribute_relro.
69634 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69636         [BZ #3748]
69637         * bits/libc-lock.h (__libc_once_get): New macro.
69638         * sysdeps/mach/bits/libc-lock.h: Likewise.
69639         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
69640         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
69641         instead of using implementation details.
69643         * libio/fileops.c: Unconditionally include <kernel-features.h>.
69644         * libio/freopen.c: Likewise.
69645         * libio/freopen64.c: Likewise.
69646         * misc/syslog.c: Likewise.
69647         * nscd/connections.c: Likewise.
69648         * nscd/netgroupcache.c: Likewise.
69649         * sysdeps/posix/getcwd.c: Likewise.
69651 2012-05-10  Roland McGrath  <roland@hack.frob.com>
69653         * math/w_ilogbf.c: Add #include <limits.h>.
69655 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69657         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
69658         path instead of returning without unlocking.
69660         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
69661         immediate-write ioctls.
69662         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
69664 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69666         * sysdeps/mach/hurd/i386/init-first.c (init): Use
69667         __builtin_frame_address instead of making assumptions about the
69668         location of the return address relative to DATA.  Force early load of
69669         the return address.
69670         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
69671         __builtin_frame_address.
69673         dup3 for GNU Hurd.
69674         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
69675         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
69676         implement dup3 and do some further code clean-ups.
69677         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
69678         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
69680 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69682         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
69684         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
69685         HURD_CRITICAL_END around holding _hurd_dtable_lock.
69686         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
69687         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
69688         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
69689         d->port.lock.
69691         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
69692         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
69693         when handler == SIG_ERR, not when handler != SIG_ERR.
69695 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69697         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
69698         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
69699         definitions.
69701         accept4 for GNU Hurd.
69702         * include/sys/socket.h (__libc_accept4): New prototype.
69703         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
69704         to implement __libc_accept4.
69705         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
69706         __libc_accept4.
69707         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
69709         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
69710         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
69711         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
69712         signal-defines.sym.
69714 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69716         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
69718 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69720         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
69721         assertion on O_CLOEXEC flag.
69722         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
69723         * hurd/intern-fd.c: Likewise.
69724         * hurd/port2fd.c: Likewise.
69726 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69728         [BZ #3906]
69729         * bits/in.h (IPV6_PKTINFO): Define new macro.
69730         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
69732 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69734         [BZ #13954]
69735         [BZ #13955]
69736         [BZ #13956]
69737         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
69738         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
69739         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
69740         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
69741         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
69742         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
69743         * math/libm-test.inc (logb_test) : Additional logb tests.
69745 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
69746             Andreas Jaeger  <aj@suse.de>
69748         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
69749         * configure: Regenerated.
69750         * config.h.in (LINK_OBSOLETE_RPC): New macro.
69751         * config.make.in (link-obsolete-rpc): New substituted variable.
69752         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
69753         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
69754         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
69755         (shared-only-routines): Don't set it under [link-obsolete-rpc],
69756         so that libc.a contains the symbols.
69757         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
69758         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
69759         * sunrpc/auth_none.c: Likewise.
69760         * sunrpc/auth_unix.c: Likewise.
69761         * sunrpc/authdes_prot.c: Likewise.
69762         * sunrpc/authuxprot.c: Likewise.
69763         * sunrpc/clnt_gen.c: Likewise.
69764         * sunrpc/clnt_perr.c: Likewise.
69765         * sunrpc/clnt_raw.c: Likewise.
69766         * sunrpc/clnt_simp.c: Likewise.
69767         * sunrpc/clnt_tcp.c: Likewise.
69768         * sunrpc/clnt_udp.c: Likewise.
69769         * sunrpc/clnt_unix.c: Likewise.
69770         * sunrpc/des_crypt.c: Likewise.
69771         * sunrpc/des_soft.c: Likewise.
69772         * sunrpc/get_myaddr.c: Likewise.
69773         * sunrpc/key_call.c: Likewise.
69774         * sunrpc/key_prot.c: Likewise.
69775         * sunrpc/netname.c: Likewise.
69776         * sunrpc/pm_getmaps.c: Likewise.
69777         * sunrpc/pm_getport.c: Likewise.
69778         * sunrpc/pmap_clnt.c: Likewise.
69779         * sunrpc/pmap_prot.c: Likewise.
69780         * sunrpc/pmap_prot2.c: Likewise.
69781         * sunrpc/pmap_rmt.c: Likewise.
69782         * sunrpc/publickey.c: Likewise.
69783         * sunrpc/rpc_cmsg.c: Likewise.
69784         * sunrpc/rpc_common.c: Likewise.
69785         * sunrpc/rpc_dtable.c: Likewise.
69786         * sunrpc/rpc_prot.c: Likewise.
69787         * sunrpc/rpc_thread.c: Likewise.
69788         * sunrpc/rtime.c: Likewise.
69789         * sunrpc/svc.c: Likewise.
69790         * sunrpc/svc_auth.c: Likewise.
69791         * sunrpc/svc_raw.c: Likewise.
69792         * sunrpc/svc_run.c: Likewise.
69793         * sunrpc/svc_tcp.c: Likewise.
69794         * sunrpc/svc_udp.c: Likewise.
69795         * sunrpc/svc_unix.c: Likewise.
69796         * sunrpc/svcauth_des.c: Likewise.
69797         * sunrpc/xcrypt.c: Likewise.
69798         * sunrpc/xdr.c: Likewise.
69799         * sunrpc/xdr_array.c: Likewise.
69800         * sunrpc/xdr_float.c: Likewise.
69801         * sunrpc/xdr_intXX_t.c: Likewise.
69802         * sunrpc/xdr_mem.c: Likewise.
69803         * sunrpc/xdr_rec.c: Likewise.
69804         * sunrpc/xdr_ref.c: Likewise.
69805         * sunrpc/xdr_sizeof.c: Likewise.
69806         * sunrpc/xdr_stdio.c: Likewise.
69808 2012-05-10  Roland McGrath  <roland@hack.frob.com>
69810         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
69811         change.  Update copyright years.
69813 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
69815         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
69817 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
69818             Joseph Myers  <joseph@codesourcery.com>
69819             Paul Pluzhnikov  <ppluzhnikov@google.com>
69821         [BZ #14012]
69822         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
69823         requiring rpcgen.
69824         [cross-compiling] (extra-libs): Likewise.
69825         [cross-compiling] (extra-libs-others): Likewise.
69826         [cross-compiling] (librpcsvc-routines): Likewise.
69827         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
69828         [cross-compiling] (omit-deps): Likewise.
69829         (sunrpc-CPPFLAGS): New variable.
69830         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
69831         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
69832         (cross-rpcgen-objs): New variable.
69833         (extra-objs): Append $(cross-rpcgen-objs).
69834         ($(cross-rpcgen-objs)): New rule.
69835         ($(objpfx)cross-rpcgen): Likewise.
69836         (rpcgen-cmd): Define to use $(built-program-file).  Expand
69837         comment.
69838         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
69839         ($(objpfx)x%.stmp): Likewise.
69840         * sunrpc/proto.h [IS_IN_build] (_): Define.
69841         [IS_IN_build] (_libc_intl_domainname): Likewise.
69843 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
69845         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
69846         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
69847         and R_X86_64_TPOFF64.
69849 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
69851         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
69852         sysdeps/unix/sysv/syscalls.list.
69853         (stime): Likewise.
69854         (utime): Likewise.
69855         * sysdeps/unix/sysv/syscalls.list: Remove file.
69857 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
69859         [BZ #3440]
69860         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
69861         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
69862         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
69863         (__LC_IDENTIFICATION): Make these macros useful in #if
69864         expressions, as required by C99.
69866 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
69868         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
69869         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
69870         after this.
69872 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
69874         * stdlib/longlong.h: Updated from GCC.
69876 2012-05-09  Andreas Jaeger  <aj@suse.de>
69878         * nscd/nscd.c (run_modes): Make named enum, reorder so that
69879         default is first entry.
69880         (run_mode): Set type.
69881         (main): Remove informal message about syslog.
69882         (options): Fix typo.
69884         [BZ #14053]
69885         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
69886         to asm.
69887         (lrint): Likewise.
69888         (llrintf): Likewise.
69889         (llrint): Likewise.
69890         (rint): Likewise.
69891         (rintf): Likewise.
69892         (nearbyint): Likewise.
69893         (nearbyintf): Likewise.
69895 2012-05-09  Andreas Jaeger  <aj@suse.de>
69896             Pedro Alves  <palves@redhat.com>
69898         * nscd/nscd.c (run_mode): Use enum.
69899         (main): Cleanup coding style issue.
69901 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
69902             Andreas Jaeger  <aj@suse.de>
69904         * nscd/nscd.c (go_background): Replaced with...
69905         (run_mode): ... this.
69906         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
69907         (options): Add -F --foreground.
69908         (main): Implement it.
69909         (parse_opt): Parse it.
69911 2012-05-09  Andreas Jaeger  <aj@suse.de>
69913         [BZ #14083]
69914         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
69915         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
69916         -Wconversion warning.
69917         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
69918         Likewise.
69920 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
69922         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
69923         == 0.
69924         (LC_ALL): Use macro-int-constant.
69925         (LC_COLLATE): Likewise.
69926         (LC_CTYPE): Likewise.
69927         (LC_MESSAGES): Likewise.
69928         (LC_MONETARY): Likewise.
69929         (LC_NUMERIC): Likewise.
69930         (LC_TIME): Likewise.
69931         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
69932         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
69933         [ISO || ISO99 || ISO11] (*_t): Do not allow.
69934         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
69935         Specify type.
69936         [C99-based standards] (float_t): Expect type.
69937         [C99-based standards] (double_t): Expect type.
69938         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
69939         type.
69940         [C99-based standards] (HUGE_VALL): Likewise.
69941         [C99-based standards] (INFINITY): Likewise.
69942         [C99-based standards] (NAN): Likewise.
69943         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
69944         [C99-based standards] (FP_NAN): Likewise.
69945         [C99-based standards] (FP_NORMAL): Likewise.
69946         [C99-based standards] (FP_SUBNORMAL): Likewise.
69947         [C99-based standards] (FP_ZERO): Likewise.
69948         [C99-based standards] (FP_FAST_FMA): Use
69949         optional-macro-int-constant.  Specify type.  Require == 1.
69950         [C99-based standards] (FP_FAST_FMAF): Likewise.
69951         [C99-based standards] (FP_FAST_FMAL): Likewise.
69952         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
69953         [C99-based standards] (FP_ILOGBNAN): Likewise.
69954         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
69955         Specify type.
69956         [C99-based standards] (MATH_ERREXCEPT): Likewise.
69957         [C99-based standards] (math_errhandling): Specify type.
69958         [ISO99 || ISO11] (signgam): Do not allow.
69959         [non-C99-based standards] (copysignf): Do not allow.
69960         [non-C99-based standards] (exp2f): Likewise.
69961         [non-C99-based standards] (log2f): Likewise.
69962         [non-C99-based standards] (modff): Allow.
69963         [non-C99-based standards] (erff): Do not allow.
69964         [non-C99-based standards] (erfcf): Likewise.
69965         [non-C99-based standards] (gammaf): Likewise.
69966         [non-C99-based standards] (hypotf): Likewise.
69967         [non-C99-based standards] (j0f): Likewise.
69968         [non-C99-based standards] (j1f): Likewise.
69969         [non-C99-based standards] (jnf): Likewise.
69970         [non-C99-based standards] (lgammaf): Likewise.
69971         [non-C99-based standards] (tgammaf): Likewise.
69972         [non-C99-based standards] (y0f): Likewise.
69973         [non-C99-based standards] (y1f): Likewise.
69974         [non-C99-based standards] (ynf): Likewise.
69975         [non-C99-based standards] (isnanf): Likewise.
69976         [non-C99-based standards] (acoshf): Likewise.
69977         [non-C99-based standards] (asinhf): Likewise.
69978         [non-C99-based standards] (atanhf): Likewise.
69979         [non-C99-based standards] (cbrtf): Likewise.
69980         [non-C99-based standards] (expm1f): Likewise.
69981         [non-C99-based standards] (ilogbf): Likewise.
69982         [non-C99-based standards] (log1pf): Likewise.
69983         [non-C99-based standards] (logbf): Likewise.
69984         [non-C99-based standards] (nextafterf): Likewise.
69985         [non-C99-based standards] (remainderf): Likewise.
69986         [non-C99-based standards] (rintf): Likewise.
69987         [non-C99-based standards] (scalbf): Likewise.
69988         [non-C99-based standards] (copysignl): Likewise.
69989         [non-C99-based standards] (exp2l): Likewise.
69990         [non-C99-based standards] (log2l): Likewise.
69991         [non-C99-based standards] (modfl): Allow.
69992         [non-C99-based standards] (erfl): Do not allow.
69993         [non-C99-based standards] (erfcl): Likewise.
69994         [non-C99-based standards] (gammal): Likewise.
69995         [non-C99-based standards] (hypotl): Likewise.
69996         [non-C99-based standards] (j0l): Likewise.
69997         [non-C99-based standards] (j1l): Likewise.
69998         [non-C99-based standards] (jnl): Likewise.
69999         [non-C99-based standards] (lgammal): Likewise.
70000         [non-C99-based standards] (tgammal): Likewise.
70001         [non-C99-based standards] (y0l): Likewise.
70002         [non-C99-based standards] (y1l): Likewise.
70003         [non-C99-based standards] (ynl): Likewise.
70004         [non-C99-based standards] (isnanl): Likewise.
70005         [non-C99-based standards] (acoshl): Likewise.
70006         [non-C99-based standards] (asinhl): Likewise.
70007         [non-C99-based standards] (atanhl): Likewise.
70008         [non-C99-based standards] (cbrtl): Likewise.
70009         [non-C99-based standards] (expm1l): Likewise.
70010         [non-C99-based standards] (ilogbl): Likewise.
70011         [non-C99-based standards] (log1pl): Likewise.
70012         [non-C99-based standards] (logbl): Likewise.
70013         [non-C99-based standards] (nextafterl): Likewise.
70014         [non-C99-based standards] (remainderl): Likewise.
70015         [non-C99-based standards] (rintl): Likewise.
70016         [non-C99-based standards] (scalbl): Likewise.
70017         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70018         [non-C99-based standards] (FP_*): Do not allow.
70019         [C99-based standards] (FP_*): Change to
70020         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
70021         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
70022         allow.
70023         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
70024         (SIG_ERR): Likewise.
70025         [X/Open-based standards] (SIG_HOLD): Likewise.
70026         (SIG_IGN): Likewise.
70027         (SIGABRT): Use macro-int-constant.  Specify type.  Require
70028         positive value.
70029         (SIGFPE): Likewise.
70030         (SIGILL): Likewise.
70031         (SIGINT): Likewise.
70032         (SIGSEGV): Likewise.
70033         (SIGTER): Likewise.
70034         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
70035         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
70036         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
70037         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
70038         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
70039         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
70040         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
70041         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
70042         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
70043         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
70044         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
70045         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
70046         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
70047         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
70048         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
70049         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
70050         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
70051         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
70052         [X/Open-based standards] (SIGTRAP): Likewise.
70053         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
70054         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
70055         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
70056         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
70057         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
70058         allow.
70060 2012-05-08  Ian Wienand  <ianw@vmware.com>
70062         [BZ #14080]
70063         * time/tzset.c (__tzset_parse_tz): Update default rules for
70064         daylight time changes in the Energy Policy Act of 2005.
70066 2012-05-09  Andreas Jaeger  <aj@suse.de>
70068         [BZ #13983]
70069         * elf/ldconfig.c (parse_conf): Change string to make clear that
70070         ldconfig only issued a warning if ld.so.conf does not exist.
70072 2012-05-08  David S. Miller  <davem@davemloft.net>
70074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
70075         movxtod instead of popping the value on the stack.
70077         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70079 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
70081         * config.h.in: Add HAVE_ARM_PCS_VFP.
70083 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
70085         [BZ #13979]
70086         * include/features.h: Warn if user requests __FORTIFY_SOURCE
70087         checking but the checks are disabled for any reason.
70089 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
70091         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
70092         and ELF64_R_TYPE with ELFW(R_TYPE).
70094 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
70096         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
70097         (ulimit): Likewise.
70099         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
70100         (settimeofday): Likewise.
70102 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
70104         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
70105         a struct th_u2 inside the union, and move tu_block/tu_code into
70106         a new th_u3 union of tu_block/tu_code inside of that.  Move
70107         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
70108         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
70109         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
70110         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
70111         (th_stuff): Change to th_u1.tu_stuff.
70112         (th_data): Define.
70113         (th_msg): Change to th_u1.th_u2.tu_data.
70115 2012-05-07  David S. Miller  <davem@davemloft.net>
70117         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70119         [BZ #14074]
70120         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
70121         (SETUP_PIC_REG): Use it.
70122         (SETUP_PIC_REG_LEAF): Use it.
70124 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
70126         [BZ #13885]
70127         [BZ #13923]
70128         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
70129         USE_AS_EXPM1L.
70130         (EXPL_FINITE): Likewise.
70131         (FLDLOG): Likewise.
70132         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
70133         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
70134         e_expl.S.
70135         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
70136         USE_AS_EXPM1L.
70137         (EXPL_FINITE): Likewise.
70138         (FLDLOG): Likewise.
70139         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
70140         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
70141         e_expl.S.
70142         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
70143         test of -max_value argument for long double.
70144         * sysdeps/i386/fpu/libm-test-ulps: Update.
70145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70147 2012-05-06  David S. Miller  <davem@davemloft.net>
70149         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
70150         quad soft-float symbols whose references which are compiler
70151         generated.
70152         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
70154 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
70156         [BZ #13884]
70157         [BZ #13914]
70158         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
70159         USE_AS_EXP10L.
70160         (EXPL_FINITE): Likewise.
70161         (FLDLOG): Likewise.
70162         (c0): Likewise.
70163         (c1): Likewise.
70164         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
70165         Adjust comments for base varying.
70166         (__expl_finite): Change alias to EXPL_FINITE.
70167         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
70168         e_expl.S.
70169         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
70170         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
70171         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
70172         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
70173         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
70174         USE_AS_EXP10L.
70175         (EXPL_FINITE): Likewise.
70176         (FLDLOG): Likewise.
70177         (c0): Likewise.
70178         (c1): Likewise.
70179         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
70180         Adjust comments for base varying.
70181         (__expl_finite): Change alias to EXPL_FINITE.
70182         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
70183         tests for bugs.
70184         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70186         [BZ #14064]
70187         * math/libm-test.inc (check_float_internal): Correct ulp
70188         calculation for subnormal expected results.
70190 2012-05-06  Andreas Jaeger  <aj@suse.de>
70192         * Makeconfig (+math-flags): New, set to -frounding-math.
70193         (+cflags): Add +math-flags so that all of glibc gets compiled with
70194         it.
70196         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
70198 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
70200         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
70201         Disable one test.
70203         [BZ #13787]
70204         [BZ #13922]
70205         [BZ #14036]
70206         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
70207         (__ieee754_expl): Allow for and saturate large arguments.
70208         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
70209         (u_threshold): Likewise.
70210         (__exp): Call __ieee754_exp before checking for overflow and
70211         underflow.
70212         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
70213         (u_threshold): Likewise.
70214         (__expf): Call __ieee754_expf before checking for overflow and
70215         underflow.
70216         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
70217         (u_threshold): Likewise.
70218         (__expl): Call __ieee754_expl before checking for overflow and
70219         underflow.
70220         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
70221         (__ieee754_expl): Allow for and saturate large arguments.
70222         * math/libm-test.inc (exp_test): Add another test.  Do not allow
70223         missing overflow exception on overflow.
70224         (expm1_test): Do not allow missing overflow exception on overflow.
70226         * sysdeps/i386/fpu/e_expl.c: Move to ...
70227         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
70228         rather than using inline asm.
70229         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
70230         * sysdeps/x86_64/fpu/e_expl.S: Copy from
70231         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
70233         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
70234         (nice): Likewise.
70235         (poll): Likewise.
70236         (signal): Likewise.
70237         (time): Likewise.
70238         (times): Likewise.
70240 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
70242         * sysdeps/unix/syscalls.list (adjtime): Add entry from
70243         sysdeps/unix/common/syscalls.list.
70244         (fchmod): Likewise.
70245         (fchown): Likewise.
70246         (ftruncate): Likewise.
70247         (getrusage): Likewise.
70248         (gettimeofday): Likewise.
70249         (setpgid): Likewise.
70250         (setregid): Likewise.
70251         (setreuid): Likewise.
70252         (sigaction): Likewise.
70253         (truncate): Likewise.
70254         (vhangup): Likewise.
70255         * sysdeps/unix/common/syscalls.list: Remove file.
70256         * sysdeps/unix/bsd/Implies: Don't include unix/common.
70257         * sysdeps/unix/sysv/linux/Implies: Likewise.
70259 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
70261         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
70262         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
70263         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
70264         Moved to ...
70265         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
70266         Here.
70267         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
70268         to ...
70269         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
70270         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
70271         to ...
70272         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
70273         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
70274         to ...
70275         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
70276         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
70277         to ...
70278         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
70279         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
70280         to ...
70281         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
70282         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
70283         to ...
70284         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
70285         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
70286         to ...
70287         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
70288         Here.
70289         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
70290         to ...
70291         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
70292         Here.
70293         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
70294         to ...
70295         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
70296         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
70297         Moved to ...
70298         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
70299         Here.
70300         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
70301         to ...
70302         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
70304 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
70306         * sysdeps/unix/common/bits/dirent.h: Remove file.
70307         * sysdeps/unix/common/bits/fcntl.h: Likewise.
70309         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
70310         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
70311         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
70312         * sysdeps/unix/bsd/isatty.c: Likewise.
70313         * sysdeps/unix/bsd/tcdrain.c: Likewise.
70314         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
70315         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
70317 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70319         [BZ #13563]
70320         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
70321         long double comparison inaccuracies.
70322         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
70323         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70325 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
70327         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
70328         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
70330 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
70332         [BZ #14049]
70333         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
70334         nonzero digits before rounding a hex value.
70335         * stdlib/tst-strtod.c (tests): Add another test.
70337 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70339         * sysdeps/s390/fpu/libm-test-ulps: Update.
70341 2012-05-03  Andreas Jaeger  <aj@suse.de>
70343         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
70344         does not get optimized out.
70345         (malloc_opt_barrier): New.
70347 2012-05-03  Andreas Jaeger  <aj@suse.de>
70348             Roland McGrath  <roland@hack.frob.com>
70350         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
70351         intermediate file deletion.
70352         (generated): Add .symlist files.
70354 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
70356         [BZ #13775]
70357         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
70358         Redirect under this condition.
70359         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
70360         [__USE_GNU] (__dprintf_chk): Not under this condition.
70361         [__USE_GNU] (__vdprintf_chk): Likewise.
70362         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
70363         under this condition.
70364         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
70365         [__USE_XOPEN2K8] (dprintf): Define under this condition.
70366         [__USE_XOPEN2K8] (vdprintf): Likewise.
70367         [__USE_GNU] (__dprintf_chk): Not under this condition.
70368         [__USE_GNU] (__vdprintf_chk): Likewise.
70369         [__USE_GNU] (dprintf): Likewise.
70370         [__USE_GNU] (vdprintf): Likewise.
70372 2012-05-03  Roland McGrath  <roland@hack.frob.com>
70374         * elf/Makefile (common-generated): Set this instead of generated for
70375         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
70376         $(all-built-dso)-derived lists.
70378 2012-05-03  Andreas Jaeger  <aj@suse.de>
70380         * sysdeps/i386/fpu/libm-test-ulps: Update.
70382         * FAQ: Removed.
70383         * FAQ.in: Likewise.
70384         * scripts/gen-FAQ.pl: Likewise.
70385         * manual/install.texi (Installation): Point to online location of
70386         FAQ.
70387         * Makefile (files-for-dist): Remove FAQ.
70388         (FAQ): Remove.
70390 2012-05-02  Allan McRae  <allan@archlinux.org>
70392         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
70393         (LDFLAGS-reldepmod5.so): Likewise.
70394         (LDFLAGS-reldep6mod1.so): Likewise.
70395         (LDFLAGS-reldep6mod4.so): Likewise.
70396         (LDFLAGS-reldep8mod3.so): Likewise.
70397         (LDFLAGS-unload4mod1.so): Likewise.
70398         (LDFLAGS-unload4mod2.so): Likewise.
70399         (LDFLAGS-tst-initorder): Likewise.
70400         (LDFLAGS-tst-initordera2.so): Likewise.
70401         (LDFLAGS-tst-initordera3.so): Likewise.
70402         (LDFLAGS-tst-initordera4.so): Likewise.
70403         (LDFLAGS-tst-initorderb2.so): Likewise.
70404         (LDFLAGS-noload): Likewise.
70405         (LDFLAGS-next): Likewise.
70406         (LDFLAGS-order2mod1.so): Likewise.
70407         (LDFLAGS-order2mod2.so): Likewise.
70408         (LDFLAGS-tst-initorder2): Likewise.
70409         (LDFLAGS-tst-initorder2a.so): Likewise.
70410         (LDFLAGS-tst-initorder2b.so): Likewise.
70411         (LDFLAGS-tst-initorder2c.so): Likewise.
70412         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
70414 2012-05-02  David S. Miller  <davem@davemloft.net>
70416         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70418 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
70420         [BZ #14055]
70421         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
70423 2012-05-02  Andreas Jaeger  <aj@suse.de>
70425         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
70426         since we manipulate rounding mode.
70427         (CPPFLAGS-test-idouble.c): Likewise.
70428         (CPPFLAGS-test-ifloat.c): Likewise.
70429         (CFLAGS-test-ldouble.c): Likewise.
70430         (CFLAGS-test-double.c): Likewise.
70431         (CFLAGS-test-float.c): Likewise.
70432         (CFLAGS-test-misc.c): Likewise.
70433         (CFLAGS-test-test-fenv.c): Likewise.
70435 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70437         [BZ #2550]
70438         [BZ #2570]
70439         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
70440         comparisons to determine direction to adjust input.
70442 2012-05-01  Roland McGrath  <roland@hack.frob.com>
70444         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
70445         output to the target.
70447         * scripts/localplt.awk: New file.
70448         * elf/Makefile ($(objpfx)check-localplt): Target removed.
70449         (check-localplt-CFLAGS): Variable removed.
70450         ($(all-built-dso:=.jmprel)): New static pattern rule.
70451         (generated): Add those targets.
70452         (localplt-built-dso): New variable.
70453         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
70455         * elf/check-localplt.c: File removed.
70457         * scripts/check-execstack.awk: New file.
70458         * elf/Makefile ($(objpfx)check-execstack): Target removed.
70459         (check-execstack-CFLAGS): Variable removed.
70460         ($(objpfx)check-execstack.h): Target removed.
70461         ($(objpfx)execstack-default): New target.
70462         (generated): Add that instead of check-execstack.h.
70463         ($(all-built-dso:=.phdr)): New static pattern rule.
70464         (generated): Add those targets.
70465         * elf/check-execstack.c: File removed.
70467         * scripts/check-textrel.awk: New file.
70468         * elf/Makefile ($(objpfx)check-textrel): Target removed.
70469         (check-textrel-CFLAGS): Variable removed.
70470         (all-built-dso): Use := to define.o
70471         ($(all-built-dso:=.dyn)): New static pattern rule.
70472         (generated): Add those targets.
70473         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
70474         * config.make.in (READELF): New substituted variable.
70475         * elf/check-textrel.c: File removed.
70477 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
70479         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
70480         allow.
70481         * conform/data/ctype.h-data [C99-based standards] (isblank):
70482         Expect function.
70483         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
70484         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
70485         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70486         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
70487         Specify type.  Require positive value.
70488         (EILSEQ): Likewise.
70489         (ERANGE): Likewise.
70490         [ISO || POSIX] (EILSEQ): Do not expect.
70491         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
70492         Specify type.  Require positive value.
70493         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
70494         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
70495         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
70496         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
70497         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
70498         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
70499         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
70500         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
70501         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
70502         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
70503         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
70504         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
70505         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
70506         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
70507         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
70508         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
70509         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
70510         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
70511         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
70512         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
70513         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
70514         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
70515         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
70516         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
70517         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
70518         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
70519         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
70520         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
70521         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
70522         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
70523         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
70524         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
70525         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
70526         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
70527         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
70528         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
70529         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
70530         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
70531         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
70532         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
70533         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
70534         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
70535         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
70536         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
70537         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
70538         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
70539         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
70540         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
70541         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
70542         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
70543         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
70544         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
70545         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
70546         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
70547         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
70548         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
70549         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
70550         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
70551         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
70552         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
70553         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
70554         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
70555         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
70556         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
70557         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
70558         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
70559         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
70560         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
70561         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
70562         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
70563         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
70564         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
70565         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
70566         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
70567         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
70568         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
70569         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
70570         Require >= 2.
70571         (FLT_ROUNDS): Expect as macro, not constant.
70572         (FLT_MANT_DIG): Use macro-int-constant.
70573         (DBL_MANT_DIG): Likewise.
70574         (LDBL_MANT_DIG): Likewise.
70575         (FLT_DIG): Likewise.
70576         (DBL_DIG): Likewise.
70577         (LDBL_DIG): Likewise.
70578         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
70579         (DBL_MIN_EXP): Likewise.
70580         (LDBL_MIN_EXP): Likewise.
70581         (FLT_MAX_EXP): Use macro-int-constant.
70582         (DBL_MAX_EXP): Likewise.
70583         (LDBL_MAX_EXP): Likewise.
70584         (FLT_MAX_10_EXP): Likewise.
70585         (DBL_MAX_10_EXP): Likewise.
70586         (LDBL_MAX_10_EXP): Likewise.
70587         (FLT_MAX): Use macro-constant.
70588         (DBL_MAX): Likewise.
70589         (LDBL_MAX): Likewise.
70590         (FLT_EPSILON): Use macro-constant.  Give upper bound.
70591         (DBL_EPSILON): Likewise.
70592         (LDBL_EPSILON): Likewise.
70593         (FLT_MIN): Likewise.
70594         (DBL_MIN): Likewise.
70595         (LDBL_MIN): Likewise.
70596         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
70597         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
70598         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
70599         [ISO11] (FLT_HAS_SUBNORM): Likewise.
70600         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
70601         [ISO11] (DBL_DECIMAL_DIG): Likewise.
70602         [ISO11] (FLT_DECIMAL_DIG): Likewise.
70603         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
70604         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
70605         [ISO11] (FLT_TRUE_MIN): Likewise.
70606         [ISO11] (LDBL_TRUE_MIN): Likewise.
70607         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70608         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
70609         (SCHAR_MIN): Use macro-int-constant.  Specify type.
70610         (SCHAR_MAX): Likewise.
70611         (UCHAR_MAX): Likewise.
70612         (CHAR_MIN): Likewise.
70613         (CHAR_MAX): Likewise.
70614         (MB_LEN_MAX): Use macro-int-constant.
70615         (SHRT_MIN): Use macro-int-constant.  Specify type.
70616         (SHRT_MAX): Likewise.
70617         (USHRT_MAX): Likewise.
70618         (INT_MAX): Likewise.
70619         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
70620         bound negative.
70621         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
70622         bound with "U".
70623         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
70624         bound with "L".
70625         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
70626         bound negative.  Suffix upper bound with "L".
70627         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
70628         bound with "UL".
70629         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
70630         Specify type.
70631         [C99-based standards] (LLONG_MAX): Likewise.
70632         [C99-based standards] (ULLONG_MAX): Likewise.
70633         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
70634         == 0.
70635         [ISO11] (max_align_t): Require type.
70636         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70638         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
70639         from $CFLAGS, without defining away __attribute__ calls.
70640         (checknamespace): Use $CFLAGS_namespace.
70642         * conform/conformtest.pl (@keywords): Only include C99 keywords
70643         for standards based on C99 or C11.
70645         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
70646         Disable tests.
70647         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
70648         UNIX98]: Likewise.
70650         * conform/conformtest.pl: Handle "macro-int-constant" and test for
70651         usability of symbols in #if.
70653         * conform/conformtest.pl: If macro or constant types start
70654         "promoted:", expect the symbol to be of the following type
70655         promoted by the integer promotions.
70657         * conform/conformtest.pl: Parse all "constant" and "macro" lines
70658         in one place.  Also handle "macro-constant".
70660         * conform/conformtest.pl: Only accept expected macro values with
70661         "==".  Parse all "macro" lines in one place.
70662         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
70664         * conform/conformtest.pl: Handle braced types on "constant" lines
70665         instead of handling "typed-constant".
70666         * conform/data/signal.h-data: Use "constant" instead of
70667         "typed-constant".
70669         * conform/conformtest.pl: Handle "optional-" at start of lines in
70670         one place rather than duplicating several cases.  Handle each
70671         format of "macro" line with initial "optional-".
70673         * conform/conformtest.pl: Only accept expected constant or
70674         optional-constant values with "==".  Parse all "constant" lines in
70675         one place.  Parse all "optional-constant" lines in one place.
70676         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
70677         * conform/data/fmtmsg.h-data: Likewise.
70678         * conform/data/netinet/in.h-data: Likewise.
70679         * conform/data/tar.h-data: Likewise.
70680         * conform/data/limits.h-data: Use "==" form on "constant" and
70681         "optional-constant" lines.
70683         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
70684         Use -std=c99 for XOPEN2K.
70685         (@knownproblems): Remove.
70686         (newtoken): Don't check %isknown.
70688         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
70689         Do not expect macro.
70690         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
70691         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
70692         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
70693         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
70694         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
70695         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
70696         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
70697         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
70698         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
70699         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
70700         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
70701         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
70702         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
70703         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
70704         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
70705         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
70706         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
70707         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
70708         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
70709         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
70710         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
70711         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
70712         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
70713         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
70714         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
70715         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
70716         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
70717         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
70718         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
70719         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
70720         [XPG3] (acosh): Likewise.
70721         [XPG3] (asinh): Likewise.
70722         [XPG3] (atanh): Likewise.
70723         [XPG3] (cbrt): Likewise.
70724         [XPG3] (expm1): Likewise.
70725         [XPG3] (ilogb): Likewise.
70726         [XPG3] (log1p): Likewise.
70727         [XPG3] (logb): Likewise.
70728         [XPG3] (nextafter): Likewise.
70729         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
70730         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
70731         [XPG3] (remainder): Likewise.
70732         [XPG3] (rint): Likewise.
70733         [XPG3 || XPG4 || UNIX98] (round): Likewise.
70734         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
70735         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
70736         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
70737         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
70738         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
70739         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
70740         [UNIX98 || XOPEN2K] (scalb): Expect.
70741         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
70742         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
70743         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
70744         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
70745         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
70746         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
70747         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
70748         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
70749         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
70750         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
70751         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
70752         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
70753         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
70754         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
70755         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
70756         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
70757         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
70758         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
70759         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
70760         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
70761         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
70762         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
70763         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
70764         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
70765         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
70766         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
70767         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
70768         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
70769         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
70770         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
70771         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
70772         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
70773         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
70774         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
70775         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
70776         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
70777         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
70778         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
70779         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
70780         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
70781         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
70782         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
70783         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
70784         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
70785         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
70786         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
70787         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
70788         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
70789         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
70790         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
70791         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
70792         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
70793         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
70794         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
70795         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
70796         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
70797         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
70798         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
70799         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
70800         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
70801         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
70802         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
70803         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
70804         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
70805         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
70806         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
70807         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
70808         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
70809         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
70810         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
70811         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
70812         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
70813         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
70814         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
70815         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
70816         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
70817         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
70818         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
70819         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
70820         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
70821         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
70822         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
70823         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
70824         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
70825         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
70826         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
70827         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
70828         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
70829         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
70830         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
70831         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
70832         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
70833         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
70834         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
70835         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
70836         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
70837         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
70838         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
70839         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
70840         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
70841         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
70842         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
70843         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
70844         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
70845         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
70846         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
70847         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
70848         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
70849         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
70850         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
70851         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
70852         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
70853         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
70854         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
70855         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
70856         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
70857         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
70858         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
70859         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
70860         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
70861         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
70862         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
70863         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
70864         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
70865         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
70866         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
70867         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
70868         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
70869         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
70870         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
70871         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
70872         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
70873         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
70874         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
70875         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
70876         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
70877         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
70879         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
70880         _XOPEN_SOURCE_EXTENDED for XPG4.
70882         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
70884         * Makeconfig (localtime): Remove variable.
70885         (inst_localtime-file): Likewise.
70887 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
70889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
70890         Update.
70891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70892         Update.
70893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
70894         Update.
70895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
70896         Update.
70897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
70898         Update.
70899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
70900         Update.
70901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
70902         Update.
70903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
70904         Update.
70905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
70906         Update.
70908 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
70910         [BZ #2550]
70911         [BZ #2570]
70912         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
70913         comparisons to determine direction to adjust input.
70914         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
70915         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
70916         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
70917         Likewise.
70918         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
70919         Likewise.
70920         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
70921         Likewise.
70922         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
70923         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
70924         Likewise.
70925         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
70926         Likewise.
70927         * math/libm-test.inc (nexttoward_test): Add more tests.
70929 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
70931         [BZ #14040]
70932         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
70933         in version GLIBC_2.1, not GLIBC_2.0.
70934         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
70935         Likewise.
70937 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
70939         [BZ #13942]
70940         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
70941         (1 - x) * (1 + x).
70942         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
70943         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
70944         * math/libm-test.inc (acos_test): Add more tests.
70945         (asin_test): Likewise.
70946         * sysdeps/i386/fpu/libm-test-ulps: Update.
70947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70949         [BZ #14034]
70950         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
70951         of square root.
70952         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
70953         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
70954         * math/libm-test.inc (acos_test_tonearest): New function.
70955         (acos_test_towardzero): Likewise.
70956         (acos_test_downward): Likewise.
70957         (acos_test_upward): Likewise.
70958         (asin_test_tonearest): Likewise.
70959         (asin_test_towardzero): Likewise.
70960         (asin_test_downward): Likewise.
70961         (asin_test_upward): Likewise.
70962         (main): Call the new functions.
70963         * sysdeps/i386/fpu/libm-test-ulps: Update.
70964         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70966         [BZ #13884]
70967         [BZ #13924]
70968         * math/e_exp10.c: Include <float.h>.
70969         (__ieee754_exp10): Handle underflow here rather than multiplying
70970         large negative argument by M_LN10.
70971         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
70972         of __ieee754_expf.
70973         * math/e_exp10l.c: Include <float.h>.
70974         (__ieee754_exp10l): Handle underflow here rather than multiplying
70975         large negative argument by M_LN10l.
70976         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
70977         spurious overflow exception on underflow.
70979 2012-04-29  Marek Polacek  <polacek@redhat.com>
70981         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
70982         (__fortify_function): New macro.
70983         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
70984         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
70985         __extern_always_inline.
70986         * libio/bits/stdio2.h: Likewise.
70987         * libio/bits/stdio.h: Likewise.
70988         * string/string.h: Likewise.
70989         * string/bits/string3.h: Likewise.
70990         * include/stdio.h: Likewise.
70991         * stdlib/bits/stdlib.h: Likewise.
70992         * stdlib/stdlib.h: Likewise.
70993         * rt/bits/mqueue2.h: Likewise.
70994         * rt/mqueue.h: Likewise.
70995         * posix/bits/unistd.h: Likewise.
70996         * posix/unistd.h: Likewise.
70997         * io/bits/poll2.h: Likewise.
70998         * io/bits/fcntl2.h: Likewise.
70999         * io/fcntl.h: Likewise.
71000         * io/sys/poll.h: Likewise.
71001         * misc/bits/syslog.h: Likewise.
71002         * misc/bits/syslog-ldbl.h: Likewise.
71003         * misc/sys/syslog.h: Likewise.
71004         * socket/bits/socket2.h: Likewise.
71005         * socket/sys/socket.h: Likewise.
71006         * debug/tst-chk1.c: Likewise.
71007         * wcsmbs/bits/wchar2.h: Likewise.
71008         * wcsmbs/bits/wchar-ldbl.h: Likewise.
71009         * wcsmbs/wchar.h: Likewise.
71011 2012-04-29  Andreas Jaeger  <aj@suse.de>
71013         * Makerules (tests): Remove enable-check-abi protection.
71014         (check-abi-warn): Remove.
71015         (check-abi-%): Remove check-abi-warn usage.
71017         * configure.in: Remove check-abi configure option.
71018         * configure: Regenerated.
71019         * config.make.in (enable-check-abi): Remove.
71021 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
71023         [BZ #14033]
71024         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
71025         double functions to double *_finite functions.
71027         [BZ #13941]
71028         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
71029         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
71030         LDBL_MIN_EXP.
71031         * stdio-common/Makefile (tests): Add tst-sprintf3.
71032         * stdio-common/tst-sprintf3.c: New file.
71034         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
71035         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
71037 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
71039         * conform/conformtest.pl: Remove duplicate typed-constant
71040         handling.
71042 2012-04-28  David S. Miller  <davem@davemloft.net>
71044         * Makerules (%.abilist): Add vpath on sysdep_dirs.
71045         (check-abi-%): Remove AWK script prerequisite and explicit
71046         abilist directory.
71047         (check-abi): Rewrite to just diff the symlist with the abilist.
71048         (config-tls, config-abi-config): Delete, no longer used.
71049         (update-abi-%): Remove AWK script and explicit abilist directory.
71050         (update-abi): Rewrite to simply compare and conditionally copy the
71051         symlist and the sysdep abilist file.  Remove update-abi-config
71052         checks.
71053         * abilist/ld.abilist: Remove.
71054         * abilist/libBrokenLocale.abilist: Remove.
71055         * abilist/libanl.abilist: Remove.
71056         * abilist/libcrypt.abilist: Remove.
71057         * abilist/libdl.abilist: Remove.
71058         * abilist/librt.abilist: Remove.
71059         * abilist/libthread_db.abilist: Remove.
71060         * abilist/libutil.abilist: Remove.
71061         * scripts/extract-abilist.awk: Remove.
71062         * scripts/merge-abilist.awk: Remove.
71063         * sysdeps/generic/libcidn.abilist: New file.
71064         * sysdeps/generic/libnss_compat.abilist: New file.
71065         * sysdeps/generic/libnss_db.abilist: New file.
71066         * sysdeps/generic/libnss_dns.abilist: New file.
71067         * sysdeps/generic/libnss_files.abilist: New file.
71068         * sysdeps/generic/libnss_hesiod.abilist: New file.
71069         * sysdeps/generic/libnss_nis.abilist: New file.
71070         * sysdeps/generic/libnss_nisplus.abilist: New file.
71071         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
71072         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
71073         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
71074         file.
71075         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
71076         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
71077         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
71078         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
71079         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
71080         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
71081         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
71082         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
71083         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
71084         file.
71085         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
71086         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
71087         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
71088         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
71089         file.
71090         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
71091         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
71092         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
71093         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
71094         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
71095         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
71096         file.
71097         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
71098         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
71099         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
71100         file.
71101         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
71102         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
71103         New file.
71104         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
71105         New file.
71106         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
71107         New file.
71108         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
71109         New file.
71110         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
71111         New file.
71112         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
71113         New file.
71114         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
71115         New file.
71116         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
71117         New file.
71118         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
71119         New file.
71120         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
71121         New file.
71122         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
71123         New file.
71124         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
71125         New file.
71126         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
71127         New file.
71128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
71129         file.
71130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
71131         New file.
71132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
71133         New file.
71134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
71135         file.
71136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
71137         New file.
71138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
71139         New file.
71140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
71141         file.
71142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
71143         New file.
71144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
71145         New file.
71146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
71147         New file.
71148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
71149         New file.
71150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
71151         New file.
71152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
71153         New file.
71154         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
71155         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
71156         file.
71157         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
71158         New file.
71159         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
71160         file.
71161         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
71162         file.
71163         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
71164         file.
71165         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
71166         file.
71167         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
71168         file.
71169         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
71170         New file.
71171         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
71172         file.
71173         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
71174         file.
71175         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
71176         New file.
71177         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
71178         file.
71179         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
71180         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
71181         file.
71182         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
71183         New file.
71184         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
71185         file.
71186         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
71187         file.
71188         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
71189         file.
71190         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
71191         file.
71192         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
71193         file.
71194         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
71195         New file.
71196         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
71197         file.
71198         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
71199         file.
71200         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
71201         New file.
71202         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
71203         file.
71204         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
71205         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
71206         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
71207         file.
71208         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
71209         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
71210         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
71211         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
71212         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
71213         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
71214         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
71215         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
71216         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
71217         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
71218         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
71219         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
71220         file.
71221         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
71222         New file.
71223         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
71224         file.
71225         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
71226         file.
71227         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
71228         file.
71229         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
71230         file.
71231         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
71232         file.
71233         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
71234         New file.
71235         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
71236         New file.
71237         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
71238         file.
71239         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
71240         New file.
71241         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
71242         file.
71243         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
71244         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
71245         file.
71246         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
71247         New file.
71248         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
71249         file.
71250         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
71251         file.
71252         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
71253         file.
71254         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
71255         file.
71256         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
71257         file.
71258         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
71259         New file.
71260         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
71261         New file.
71262         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
71263         file.
71264         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
71265         New file.
71266         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
71267         file.
71269 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
71271         * conform/conformtest.pl: Fix typo in handling typed-constant from
71272         allow-header.
71274 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
71276         * README: Cut down references to pre-2.6 Linux kernels and
71277         Linuxthreads.  Update lists of configurations in libc and ports
71278         and sort alphabetically.  Say "or newer" with Linux kernel version
71279         requirements.
71281         * config.h.in [IS_IN_build]: Allow compiling without optimization.
71283 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
71285         [BZ #887]
71286         * math/libm-test.inc (logb_test_downward): New test to expose
71287         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
71288         rounding mode.
71290 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
71292         [BZ #14027]
71293         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
71294         to be done.
71295         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
71296         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
71298 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
71300         * sysdeps/unix/i386/brk.S: Remove file.
71301         * sysdeps/unix/i386/dl-brk.S: Likewise.
71302         * sysdeps/unix/i386/pipe.S: Likewise.
71303         * sysdeps/unix/i386/sigreturn.S: Likewise.
71304         * sysdeps/unix/i386/syscall.S: Likewise.
71305         * sysdeps/unix/i386/vfork.S: Likewise.
71306         * sysdeps/unix/i386/wait.S: Likewise.
71308         * sysdeps/unix/common/tcsendbrk.c: Move to ...
71309         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
71311         * configure.in (arm*-none*): Do not allow without
71312         --enable-hacker-mode.
71313         (netbsd*): Remove case setting base_os.
71314         (386bsd*): Likewise.
71315         (freebsd*): Likewise.
71316         (bsdi*): Likewise.
71317         (osf*): Likewise.
71318         (sunos*): Likewise.
71319         (ultrix*): Likewise.
71320         (newsos*): Likewise.
71321         (dynix*): Likewise.
71322         (*bsd*): Likewise.
71323         (sysv*): Likewise.
71324         (isc*): Likewise.
71325         (esix*): Likewise.
71326         (sco*): Likewise.
71327         (minix*): Likewise.
71328         (irix4*): Likewise.
71329         (irix6*): Likewise.
71330         (solaris[2-9]*): Likewise.
71331         (none): Likewise.
71332         * configure: Regenerated.
71334 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71336         [BZ #11521]
71337         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
71338         overflow or cancellation in calculating denominator.
71339         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
71340         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
71341         down expression to avoid unexpected rounding in newer GCCs.
71342         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
71344 2012-04-26  David S. Miller  <davem@davemloft.net>
71346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
71347         long-double compat symbols.
71348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
71349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
71350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
71351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
71352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
71353         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
71354         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
71355         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
71356         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
71357         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
71358         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
71359         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
71360         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
71362 2012-04-25  David S. Miller  <davem@davemloft.net>
71364         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
71365         HWCAP_* values only after the memory barriers have been defined.
71366         (atomic_full_barrier): Define.
71367         (atomic_read_barrier): Define.
71368         (atomic_write_barrier): Define.
71370 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
71372         * shlib-versions: Add libgcc_s version information.
71373         * sysdeps/generic/libgcc_s.h: Remove.
71374         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
71375         libgcc_s.h.
71376         * sysdeps/gnu/unwind-resume.c: Likewise.
71377         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
71379 2012-04-25  David S. Miller  <davem@davemloft.net>
71381         * sysdeps/unix/sparc/brk.S: Delete.
71382         * sysdeps/unix/sparc/dl-brk.S: Delete.
71383         * sysdeps/unix/sparc/pipe.S: Delete.
71384         * sysdeps/unix/sparc/sysdep.S: Delete.
71385         * sysdeps/unix/sparc/sysdep.h: Delete.
71386         * sysdeps/unix/sparc/vfork.S: Delete.
71387         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
71388         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
71389         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
71390         (ret_ERRVAL, r0, r1, MOVE): Define.
71391         (JUMPTARGET): Remove.
71392         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
71393         sysdeps/unix/sparc/sysdep.h
71394         (ENTRY, END): Remove.
71395         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
71397 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
71399         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
71400         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
71401         -DIS_IN_build.
71403         * timezone/README: Update upstream location and email address for
71404         tzcode and tzdata.
71405         * timezone/zdump.c: Update from tzcode 2012b.
71406         * timezone/zic.c: Likewise.
71408         * configure.in (libc_cv_as_needed): Remove test.
71409         * configure: Regenerated.
71410         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
71411         conditional definition.
71412         [$(have-as-needed) != yes] (no-as-needed): Likewise.
71413         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
71414         * config.make.in (have-as-needed): Remove variable.
71416 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
71417             Paul Pluzhnikov  <ppluzhnikov@google.com>
71419         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
71420         strings correctly.
71422 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
71424         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
71425         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
71426         * sysdeps/sh/strlen.S: Likewise.
71428 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
71430         * sysdeps/unix/fork.S: Remove file.
71431         * sysdeps/unix/i386/fork.S: Likewise.
71432         * sysdeps/unix/sparc/fork.S: Likewise.
71434         * sysdeps/unix/system.c: Remove file.
71435         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
71437         * sysdeps/unix/getegid.S: Remove file.
71438         * sysdeps/unix/geteuid.S: Likewise.
71440 2012-04-24  Roland McGrath  <roland@hack.frob.com>
71442         * scripts/check-localplt.awk: New file.
71443         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
71444         of diff.
71445         * scripts/data/localplt-generic.data: Add a comment.
71447         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
71448         NODE when __dir_mkfile failed.
71449         * sysdeps/mach/hurd/symlinkat.c: Likewise.
71450         Reported by Ludovic Courtès <ludo@gnu.org>.
71452 2012-04-24  Andreas Jaeger  <aj@suse.de>
71454         * Makerules (common-clean): Also remove gen-as-const-headers
71455         files.
71457 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
71459         * Makerules (native-compile): Do not change working directory for
71460         build.  Use $(OUTPUT_OPTION) in command.
71461         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
71463 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71465         [BZ #13886]
71466         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
71467         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
71468         * math/libm-test.inc (floor_test): Add more tests.
71469         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
71471 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
71473         * sysdeps/unix/getdents.c: Remove file.
71474         * sysdeps/unix/sysv/getdents.c: Likewise.
71475         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
71477         * sysdeps/unix/syscalls.list (madvise): Add syscall from
71478         sysdeps/unix/mman/syscalls.list.
71479         (mmap): Likewise.
71480         (mprotect): Likewise.
71481         (msync): Likewise.
71482         (munmap): Likewise.
71483         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
71484         * sysdeps/unix/mman/syscalls.list: Remove.
71485         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
71487         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
71488         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
71489         * configure: Regenerated.
71490         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
71491         $(libgcc_s_suffix).
71492         * config.make.in (libgcc_s_suffix): Remove variable.
71494 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
71496         * sysdeps/unix/sysv/gethostname.c: Move to ...
71497         * sysdeps/posix/gethostname.c: ... here.
71499         * sysdeps/unix/execve.S: Remove file.
71501         * sysdeps/unix/_exit.S: Remove file.
71503 2012-04-23  Andreas Jaeger  <aj@suse.de>
71505         [BZ #13739]
71506         * manual/Makefile: Remove make dist support, there's no
71507         need for a stand-alone documentation tar ball.
71508         (TEXI2DVI): Define always, it's not in Makeconfig.
71509         (dist): Removed.
71510         (tar-it): Removed.
71511         (edition): Removed.
71512         (glibc-doc-$(edition).tar): Removed
71513         (%.Z): Removed.
71514         (%.gz): Removed.
71515         (%.uu): Removed.
71516         (ETAGS): Remove, it's in Makeconfig.
71517         (move-if-change): Remove, it's in Makeconfig.
71519 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
71521         [BZ #13970]
71522         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
71523         (strtod, strtof, strtold, strtol, strtoul, strtoq)
71524         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
71525         (strtod_l, strtof_l, strtold_l): Remove __wur.
71526         It is not necessarily an error to ignore strtol's return value.
71527         One can reliably look at the stored endptr to decide whether
71528         the number had valid syntax.
71530 2012-04-21  Andreas Jaeger  <aj@suse.de>
71532         [BZ #13739]
71533         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
71535 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
71537         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
71538         * sysdeps/unix/sysv/Versions: Remove file.
71540 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
71542         [BZ #13927]
71543         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71545 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
71547         [BZ #7064]
71548         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
71549         version from __vm86.
71551 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
71553         * sysdeps/unix/common/lxstat.c: Remove file.
71554         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
71556         * sysdeps/unix/sysv/Makefile: Remove file.
71558         * sysdeps/unix/sysv/direct.h: Remove file.
71560         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
71561         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
71562         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
71563         * sysdeps/unix/sysv/bits/signum.h: Likewise.
71564         * sysdeps/unix/sysv/bits/stat.h: Likewise.
71565         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
71566         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
71568         * sysdeps/unix/sysv/setrlimit.c: Remove file.
71570         * sysdeps/unix/xmknod.c: Remove file.
71571         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
71573         * sysdeps/unix/sysv/settimeofday.c: Remove file.
71575         * sysdeps/unix/sysv/i386/time.S: Remove file.
71577         * sysdeps/unix/fxstat.c: Remove file.
71578         * sysdeps/unix/xstat.c: Likewise.
71579         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
71581         * sysdeps/unix/sysv/sigaction.c: Remove file.
71583         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
71584         (sysdep_headers): Remove variable.
71585         [termio.h not in sysdep_headers] (generated): Likewise.
71586         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
71587         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
71588         * sysdeps/unix/sysv/tcdrain.c: Likewise.
71589         * sysdeps/unix/sysv/tcflow.c: Likewise.
71590         * sysdeps/unix/sysv/tcflush.c: Likewise.
71591         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
71592         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
71593         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
71594         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
71595         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
71597         * sysdeps/unix/siglist.c: Remove file.
71599         * sysdeps/unix/getppid.S: Remove file.
71601         * sysdeps/unix/mkdir.c: Remove file.
71602         * sysdeps/unix/rmdir.c: Likewise.
71604 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
71606         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
71607         ERR_MAX value.
71608         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
71609         errlist-compat value.
71611 2012-04-18  David S. Miller  <davem@davemloft.net>
71613         * sysdeps/generic/memcopy.h (reg_char): Delete.
71614         * debug/strcat_chk.c: Use char, not reg_char.
71615         * debug/strcpy_chk.c: Likewise.
71616         * debug/strncat_chk.c: Likewise.
71617         * debug/strncpy_chk.c: Likewise.
71618         * string/memchr.c: Likewise.
71619         * string/memrchr.c: Likewise.
71620         * string/rawmemchr.c: Likewise.
71621         * string/strcat.c: Likewise.
71622         * string/strchr.c: Likewise.
71623         * string/strchrnul.c: Likewise.
71624         * string/strcmp.c: Likewise.
71625         * string/strcpy.c: Likewise.
71626         * string/strncat.c: Likewise.
71627         * string/strncmp.c: Likewise.
71628         * string/strncpy.c: Likewise.
71630 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
71632         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
71633         __builtin_memcopy is called when src and dest ranges are known to not
71634         overlap.
71636 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
71638         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
71639         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
71640         fwd_align_merge macro call.
71641         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
71642         bwd_align_merge macro call.
71643         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
71645 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
71647         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
71648         bwd_align_merge macros.
71649         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
71650         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
71651         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
71653 2012-04-18  David S. Miller  <davem@davemloft.net>
71655         * sysdeps/sparc/sparc64/memcopy.h: Delete.
71657 2012-04-18  Andreas Jaeger  <aj@suse.de>
71659         [BZ# 6794]
71660         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
71661         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
71662         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
71664         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
71665         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
71666         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
71668         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
71669         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
71670         Adjust for changed ldbl-128 files.
71672         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
71673         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
71674         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
71676 2012-04-17  David S. Miller  <davem@davemloft.net>
71678         * sysdeps/sparc/sparc32/memcopy.h: Delete.
71680 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
71682         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
71683         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
71684         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
71685         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
71686         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
71687         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
71689 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71691         [BZ #6794]
71692         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
71693         * math/libm-test.inc: Add ilogb errno and exception tests.
71694         * math/w_ilogb.c: New file: ilogb wrapper.
71695         * math/w_ilogbf.c: New file: ilogbf wrapper.
71696         * math/w_ilogbl.c: New file: ilogbl wrapper.
71697         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
71698         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
71699         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
71700         exception being thrown with 0.0 as argument.
71701         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
71702         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
71703         exception being thrown with 0.0 as argument.
71704         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
71705         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
71706         exception being thrown with 0.0 as argument.
71707         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
71708         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
71709         exception being thrown with 0.0 as argument.
71710         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
71711         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
71712         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
71713         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
71714         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
71715         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
71716         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
71717         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
71718         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
71720 2012-04-17  Petr Baudis  <pasky@ucw.cz>
71722         * include/sys/uio.h: Change __vector to __iovec to avoid clash
71723         with altivec.
71725 2012-04-16  Marek Polacek  <polacek@redhat.com>
71727         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
71729 2012-04-16  Marek Polacek  <polacek@redhat.com>
71731         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
71732         operands of fdivp instruction.
71734 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
71736         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
71737         * elf/tst-auditmod3b.c: Likewise.
71738         * elf/tst-auditmod4b.c: Likewise.
71739         * elf/tst-auditmod5b.c: Likewise.
71740         * elf/tst-auditmod6b.c: Likewise.
71741         * elf/tst-auditmod6c.c: Likewise.
71742         * elf/tst-auditmod7b.c: Likewise.
71743         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
71744         * sysdeps/x86_64/preconfigure.in: Likewise.
71745         * sysdeps/x86_64/preconfigure: Regenerated.
71747 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
71749         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
71750         __ILP32__.
71752 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
71754         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
71755         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
71757 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
71759         [BZ #13973]
71760         * locale/iso-639.def: Fix gl language name. Spotted by
71761         Yaron Shahrabani.
71763 2012-04-12  Roland McGrath  <roland@hack.frob.com>
71765         [BZ #2074]
71766         * libio/libio.h (__io_write_fn): Update comment.
71768 2012-04-12  Petr Baudis  <pasky@ucw.cz>
71770         [BZ #2074]
71771         * stdio.texi (Hook Functions): The user provided writer function
71772         is not allowed to return -1.
71774 2012-04-11  David S. Miller  <davem@davemloft.net>
71776         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71778 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
71780         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
71781         Add a leading slash to rtkaio.
71783 2012-04-11  Jim Meyering  <meyering@redhat.com>
71785         [BZ #11959]
71786         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
71787         It is not necessarily an error to ignore fwrite's return
71788         value.  One can reliably use ferror to test for errors after
71789         the fact.
71791 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
71793         * bits/types.h (__snseconds_t): New type.
71794         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
71796         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
71797         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71798         (__SNSECONDS_T_TYPE): Likewise.
71799         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
71800         (__SNSECONDS_T_TYPE): Likewise.
71801         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71802         (__SNSECONDS_T_TYPE): Likewise.
71804 2012-04-10  Andreas Jaeger  <aj@suse.de>
71806         [BZ #2636]
71807         * manual/time.texi (Processor Time): Return type of times is
71808         elapsed real time since an arbitrary point in the past.
71809         (CPU Time): Move CLK_TCK from here...
71810         (Processor Time): ...to here.  Correct description.
71811         * manual/conf.texi (Constants for Sysconf): Correct description of
71812         _SC_CLK_TCK.
71814 2012-04-10  David S. Miller  <davem@davemloft.net>
71816         [BZ #13967]
71817         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
71818         where the is a gap between DT_REL(A) and DT_JMPREL.
71820 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
71822         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
71823         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
71824         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
71826 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
71828         * elf/dl-support.c (_dl_inhibit_cache): New variable.
71829         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
71830         (dl_main): Handle --inhibit-cache.
71831         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
71832         _dl_inhibit_cache.
71833         * elf/dl-load.c (_dl_map_object): Use it.
71834         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
71836 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
71838         [BZ #13872]
71839         * sysdeps/i386/fpu/e_powl.S (p78): New object.
71840         (__ieee754_powl): Saturate large exponents rather than testing for
71841         overflow of y*log2(x).
71842         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
71843         * math/libm-test.inc (pow_test): Do not permit spurious overflow
71844         exceptions.
71846         [BZ #11521]
71847         * math/s_ctan.c: Include <float.h>.
71848         (__ctan): Avoid internal overflow or cancellation in calculating
71849         denominator.
71850         * math/s_ctanf.c: Likewise.
71851         * math/s_ctanl.c: Likewise.
71852         * math/s_ctanh.c: Likewise.
71853         * math/s_ctanhf.c: Likewise.
71854         * math/s_ctanhl.c: Likewise.
71855         * math/libm-test.inc (ctan_test): Add more tests.
71856         (ctanh_test): Likewise.
71857         * sysdeps/i386/fpu/libm-test-ulps: Update.
71858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71860 2012-04-09  Andreas Jaeger  <aj@suse.de>
71862         [BZ #6894]
71863         * manual/filesys.texi (Directory Entries): Mention that d_namlen
71864         is an optional BSD extension.
71866         [BZ #10254]
71867         * manual/stdio.texi (Opening Streams): Document additional fopen
71868         parameters.
71870 2012-04-09  Roland McGrath  <roland@hack.frob.com>
71872         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
71873         %eax without telling the compiler.
71875 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
71877         [BZ # 13963]
71878         * manual/install.texi: Use sourceware.org.
71880 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
71882         [BZ #13873]
71883         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
71884         (__ieee754_pow): Generate overflow and underflow using huge*huge
71885         and tiny*tiny rather than just returning constant infinity or zero
71886         for large exponents.
71887         * math/libm-test.inc (pow_test): Require overflow exceptions for
71888         applicable cases of large exponents.
71890         [BZ #706]
71891         * sysdeps/i386/fpu/e_pow.S (p10): New object.
71892         (__ieee754_pow): Use iterative multiplication algorithm only for
71893         integer exponents with absolute value below 1024.  Check for odd
71894         integer exponents when using algorithm for real exponents.
71895         * math/libm-test.inc (pow_test): Add more tests.
71896         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71898 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
71900         [BZ #13705]
71901         * math/libm-test.inc (exp_test): Do not allow overflow exception
71902         on underflow test.
71904 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
71906         [BZ #13705]
71907         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
71908         instead of __kernel_standard_f.
71910 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
71912         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
71913         * sysdeps/x86_64/memset_chk.S: Likewise.
71915 2012-04-08  Andreas Jaeger  <aj@suse.de>
71917         [BZ #10153]
71918         * manual/startup.texi (Environment Access): Describe return value
71919         for putenv and setenv.
71921         [BZ #6895]
71922         * manual/filesys.texi (Directory Entries): Add description for
71923         DT_LNK.
71925         [BZ #6890]
71926         * manual/filesys.texi (Directory Entries): Clarify that it's file
71927         system not operating system in the description of DT_UNKNOWN.
71929         [BZ #6578]
71930         * manual/syslog.texi (closelog): Fix reference, it's openlog.
71932 2012-04-08  Stephen Compall  <s11@member.fsf.org>
71934         [BZ #6649]
71935         * manual/llio.texi (Opening and Closing Files): Add cross
71936         reference to explain mode argument.
71938 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
71940         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
71941         * sysdeps/x86_64/memset_chk.S: Likewise.
71943 2012-04-07  David S. Miller  <davem@davemloft.net>
71945         * elf/elf.h (R_SPARC_WDISP10): Define.
71946         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
71947         R_SPARC_SIZE32.
71948         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
71949         R_SPARC_SIZE64 and R_SPARC_H34.
71951 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
71953         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
71954         conditions and remove no longer applicable assertion.
71956 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
71958         * bits/byteswap.h: Include <features.h>.
71959         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
71960         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
71962 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
71964         * bits/byteswap.h (__bswap_16): Removed.
71965         Include <bits/byteswap-16.h> to get __bswap_16.
71966         * sysdeps/i386/bits/byteswap.h: Likewise.
71967         * sysdeps/s390/bits/byteswap.h: Likewise.
71968         * sysdeps/x86_64/bits/byteswap.h: Likewise.
71969         * bits/byteswap-16.h: New file.
71970         * sysdeps/i386/bits/byteswap-16.h: Likewise.
71971         * sysdeps/s390/bits/byteswap-16.h: Likewise.
71972         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
71973         * string/Makefile (headers): Add bits/byteswap-16.h.
71975 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
71977         [BZ #13895]
71978         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
71979         extra indirection.
71980         * nss/Makefile (tests-static, tests): Add tst-nss-static.
71981         * nss/tst-nss-static.c: New.
71983 2012-04-06  Robert Millan  <rmh@gnu.org>
71985         [BZ #6486]
71986         * manual/llio.texi (File Position Primitive): lseek
71987         refers to WHENCE when it really means OFFSET.
71989 2012-04-06  Andreas Jaeger  <aj@suse.de>
71991         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
71992         strncmp declarations.
71994         * abilist/libc.abilist: Add __poll and __ppoll.
71996 2012-04-05  David S. Miller  <davem@davemloft.net>
71998         * scripts/check-local-headers.sh: Accept a host triplet in the
71999         path matched by the exclude regexp.
72001         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
72002         definition.
72003         * sysdeps/powerpc/powerpc32/dl-machine.h
72004         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
72005         * sysdeps/s390/s390-32/dl-machine.h
72006         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
72007         * sysdeps/sparc/sparc32/dl-machine.h
72008         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
72009         * sysdeps/sparc/sparc64/dl-machine.h
72010         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
72012         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
72013         lazy binding.
72014         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
72015         undefined symbol errors.
72017         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
72018         DT_NEEDED entries.
72020 2012-04-05  Michael Matz  <matz@suse.de>
72022         [BZ #13592]
72023         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
72025 2012-04-05  Andreas Jaeger  <aj@suse.de>
72027         [BZ #13908]
72028         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
72029         comment.
72031 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
72033         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
72034         which ROUND is no valid rounding mode.
72036 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
72038         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
72039         read again.
72040         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
72042 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
72044         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
72045         an exception using FPU order intentionally.
72047 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
72049         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
72050         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
72051         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
72052         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
72054 2012-04-05  Simon Josefsson  <simon@josefsson.org>
72056         [BZ #12340]
72057         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
72058         EINVAL when BUFLEN is too smal.
72060 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
72062         [BZ #13553]
72063         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
72064         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
72066 2012-04-03  Andreas Jaeger  <aj@suse.de>
72068         [BZ #13938]
72069         * manual/setjmp.texi (System V contexts): Fix sentence.
72071         [BZ #13926]
72072         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
72073         New macro for this case.
72074         [!__GNUC__] (__bswap_64): New inline function for this case.
72075         * sysdeps/x86_64/bits/byteswap.h: Likewise.
72076         * bits/byteswap.h: Likewise.
72077         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
72078         ull, guard with __GLIBC_HAVE_LONG_LONG.
72080         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
72081         __GLIBC_HAVE_LONG_LONG.
72083         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
72084         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
72086 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
72088         [BZ #13691]
72089         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
72090         inptr and inend, rather than using last_ch.
72092 2012-04-02  David S. Miller  <davem@davemloft.net>
72094         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
72095         * stdio-common/printf-parse.h (read_int): Change return type to
72096         'int', return -1 on INT_MAX overflow.
72097         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
72098         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
72099         overflows INT_MAX.  Check for overflow of in-format-string precision
72100         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
72101         SIZE_MAX not INT_MAX for integer overflow test.
72102         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
72103         skip the construct in the format string but do not record anything.
72104         * stdio-common/bug22.c: Adjust to test both width/prevision
72105         INT_MAX overflow as well as total length INT_MAX overflow.  Check
72106         explicitly for proper errno values.
72108 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
72110         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
72111         CHAR_MAX.
72112         * string/test-strcmp.c [! WIDE]: Likewise.
72113         * time/tst-mktime2.c: Likewise for INT_MAX.
72114         * string/test-string.h: #include <sys/param.h> for MIN.
72116         * csu/init-first.c (__libc_init_first): Call __ctype_init.
72117         * sysdeps/i386/init-first.c (init): Likewise.
72118         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
72119         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
72120         * sysdeps/sh/init-first.c (init): Likewise.
72122 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
72124         * po/ru.po: Update from translation team.
72125         * po/vi.po: Likewise.
72127 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
72129         * resolv/nss_dns/dns-host.c: Merge copyright years.
72131 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72133         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
72134         Optimize memcpy with prefetch if
72135         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
72136         src, dst pointers have unequal 16 byte alignments.
72138 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
72140         [BZ #13928]
72141         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
72142         from a CNAME entry and return the minimum ttl for the query.
72143         (gaih_getanswer_slice): Likewise.
72145 2012-03-30  Jeff Law  <law@redhat.com>
72147         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
72148         due to long keys.
72149         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
72150         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
72152         * resolv/nss_dns/dns-host.c: Update copyright year.
72154 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
72156         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
72157         requests to save a system call.  Fix check that all bytes are sent.
72159         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
72160         comments for sendmmsg.
72162 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
72164         [BZ #13691]
72165         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
72166         with only 1 character between 0x0041 and 0x01b0.
72167         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
72168         * wcsmbs/tst-mbsnrtowcs.c: New file.
72170 2012-03-29  David S. Miller  <davem@davemloft.net>
72172         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
72173         small copies by hand.
72175 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
72177         [BZ #13761]
72178         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
72179         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
72180         group memberships.
72182 2012-03-28  David S. Miller  <davem@davemloft.net>
72184         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
72185         that branches into memcpy.
72186         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
72187         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
72188         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
72189         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
72190         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
72191         bits.
72192         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
72193         implementation too.
72194         * sysdeps/sparc/mempcpy.S: New file.
72196         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
72197         the IFUNC routine in the libc case.
72198         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
72200         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
72201         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
72202         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
72203         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
72204         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
72205         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
72206         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
72207         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
72209         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
72210         loop to 256 bytes instead of 64 bytes and fix test signedness.
72212         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
72213         * sysdeps/sparc/sparc32/Makefile: rather than here...
72214         * sysdeps/sparc/sparc64/Makefile: and here.
72216 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
72218         * malloc/mallocbug.c: Avoid warnings about unused variables.
72220 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
72222         [BZ #13760]
72223         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
72224         in the right place. Discard and retry query if response is
72225         larger than input buffer size.
72227 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
72229         [BZ #369]
72230         [BZ #2678]
72231         [BZ #3866]
72232         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
72233         x for large integer exponent.
72234         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
72235         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
72236         sign of result as needed afterwards.
72237         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
72238         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
72239         result for underflowing pow the same as for overflow.
72240         (__kernel_standard_l): Handle powl overflow and underflow here
72241         rather than calling __kernel_standard.
72242         * math/libm-test.inc (pow_test): Add more tests.
72244         [BZ #3868]
72245         [BZ #13879]
72246         [BZ #13910]
72247         [BZ #13911]
72248         [BZ #13912]
72249         [BZ #13913]
72250         [BZ #13915]
72251         [BZ #13916]
72252         [BZ #13917]
72253         [BZ #13918]
72254         [BZ #13919]
72255         [BZ #13920]
72256         [BZ #13921]
72257         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
72258         * sysdeps/ieee754/k_standard.c: Include <float.h>.
72259         (__kernel_standard_l): New function.
72260         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
72261         __kernel_standard.
72262         * math/w_acosl.c (__acosl): Likewise.
72263         * math/w_asinl.c (__asinl): Likewise.
72264         * math/w_atan2l.c (__atan2l): Likewise.
72265         * math/w_atanhl.c (__atanhl): Likewise.
72266         * math/w_coshl.c (__coshl): Likewise.
72267         * math/w_exp10l.c (__exp10l): Likewise.
72268         * math/w_exp2l.c (__exp2l): Likewise.
72269         * math/w_fmodl.c (__fmodl): Likewise.
72270         * math/w_hypotl.c (__hypotl): Likewise.
72271         * math/w_j0l.c (__j0l, __y0l): Likewise.
72272         * math/w_j1l.c (__j1l, __y1l): Likewise.
72273         * math/w_jnl.c (__jnl, __ynl): Likewise.
72274         * math/w_lgammal.c (__lgammal): Likewise.
72275         * math/w_log10l.c (__log10l): Likewise.
72276         * math/w_log2l.c (__log2l): Likewise.
72277         * math/w_logl.c (__logl): Likewise.
72278         * math/w_powl.c (__powl): Likewise.
72279         * math/w_remainderl.c (__remainderl): Likewise.
72280         * math/w_scalbl.c (sysv_scalbl): Likewise.
72281         * math/w_sinhl.c (__sinhl): Likewise.
72282         * math/w_sqrtl.c (__sqrtl): Likewise.
72283         * math/w_tgammal.c (__tgammal): Likewise.
72284         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
72285         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
72286         * math/libm-test.inc (acos_test): Add more tests.
72287         (acosh_test): Likewise.
72288         (asin_test): Likewise.
72289         (atanh_test): Likewise.
72290         (exp_test): Likewise.
72291         (exp10_test): Likewise.
72292         (exp2_test): Likewise.
72293         (expm1_test): Likewise.
72294         (lgamma_test): Likewise.
72295         (log_test): Likewise.
72296         (log10_test): Likewise.
72297         (log1p_test): Likewise.
72298         (log2_test): Likewise.
72299         (pow_test): Do not allow some spurious overflow exceptions.
72300         (sqrt_test): Add more tests.
72301         (tgamma_test): Likewise.
72302         (y0_test): Likewise.
72303         (y1_test): Likewise.
72304         (yn_test): Likewise.
72306 2012-03-27  Anton Blanchard  <anton@samba.org>
72308         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
72309         MAP_HUGETLB.
72310         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
72311         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
72312         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
72314 2012-03-27  David S. Miller  <davem@davemloft.net>
72316         * conform/Makefile: Run run-conformtest.sh using $(BASH).
72318         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
72319         have-as-vis3 check.
72321 2012-03-27  Andreas Jaeger  <aj@suse.de>
72323         * sysdeps/x86_64/elf/configure.in: Moved to ...
72324         * sysdeps/x86_64/configure.in: ... here.
72325         * sysdeps/x86_64/elf/start.S: Moved to ...
72326         * sysdeps/x86_64/start.S: ... here.
72327         * sysdeps/x86_64/elf/configure: Delete.
72329         * sysdeps/x86_64/configure.in: Merge contents from
72330         sysdeps/i386/configure.in (without i686 check).
72332         * sysdeps/i386/elf/Versions: Merge into ...
72333         * sysdeps/i386/Versions: ... this.
72334         * sysdeps/i386/elf/Versions: Delete file.
72335         * sysdeps/i386/elf/start.S: Moved to ...
72336         * sysdeps/i386/start.S: ...here.
72337         * sysdeps/i386/elf/configure.in: Merge into...
72338         * sysdeps/i386/configure.in: ...here.
72339         * sysdeps/i386/elf/configure.in: Delete file.
72340         * sysdeps/i386/elf/configure: Delete file.
72342         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
72343         * debug/backtracesyms.c: ... here.
72344         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
72345         * debug/backtracesymsfd.c: ... here.
72346         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
72347         * sysdeps/generic/ifunc-sel.h: ... here.
72349         * sysdeps/unix/i386/start.c: Delete file.
72350         * sysdeps/unix/sparc/start.c: Delete file.
72351         * sysdeps/unix/start.c: Delete file.
72353         * sysdeps/sh/elf/configure.in: Moved to ...
72354         * sysdeps/sh/configure.in: ... here.
72355         * sysdeps/sh/elf/start.S: Moved to ...
72356         * sysdeps/sh/start.S: ... here.
72357         * sysdeps/sh/elf/configure: Delete file.
72359         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
72360         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
72361         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
72362         * sysdeps/powerpc/powerpc64/entry.h: ... here.
72363         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
72364         * sysdeps/powerpc/powerpc64/start.S: here.
72365         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
72366         * sysdeps/powerpc/powerpc64/Makefile: ... this.
72367         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
72368         * sysdeps/powerpc/powerpc64/configure.in: ... this.
72369         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
72371         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
72372         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
72373         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
72374         * sysdeps/powerpc/powerpc32/start.S: ... here.
72375         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
72376         * sysdeps/powerpc/powerpc32/configure.in: ... this.
72377         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
72379         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
72380         * sysdeps/powerpc/ifunc-sel.h: ... here.
72381         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
72382         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
72384         * sysdeps/sparc/elf/configure.in: Moved to ...
72385         * sysdeps/sparc/configure.in: ... here.
72386         * sysdeps/sparc/elf/configure: Delete file.
72387         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
72388         * sysdeps/sparc/sparc32/start.S: ... here.
72389         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
72390         * sysdeps/sparc/sparc64/start.S: ... here.
72391         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
72392         * sysdeps/sparc/sparc32/Makefile: ... this.
72393         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
72394         * sysdeps/sparc/sparc64/Makefile: ... this.
72396         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
72397         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
72398         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
72399         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
72400         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
72401         * sysdeps/s390/s390-32/setjmp.S: ... here.
72402         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
72403         * sysdeps/s390/s390-32/configure.in: ... here.
72404         * sysdeps/s390/s390-32/elf/configure: Delete file.
72405         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
72406         * sysdeps/s390/s390-32/start.S: ... here.
72408         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
72409         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
72410         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
72411         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
72412         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
72413         * sysdeps/s390/s390-64/setjmp.S: ... here.
72414         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
72415         * sysdeps/s390/s390-64/configure.in: ... here
72416         * sysdeps/s390/s390-64/elf/configure: Delete file.
72417         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
72418         * sysdeps/s390/s390-64/start.S: ... here.
72419         * sysdeps/s390/s390-64/elf/configure: Delete.
72421         * configure.in: Remove support for elf directories in sysdeps.
72423         * configure: Regenerated.
72424         * sysdeps/i386/configure: Regenerated.
72425         * sysdeps/powerpc/powerpc32/configure: Regenerated.
72426         * sysdeps/powerpc/powerpc64/configure: Regenerated.
72427         * sysdeps/s390/s390-32/configure: Regenerated.
72428         * sysdeps/s390/s390-64/configure: Regenerated.
72429         * sysdeps/sh/configure: Regenerated.
72430         * sysdeps/sparc/configure: Regenerated.
72431         * sysdeps/x86_64/configure: Regenerated.
72433 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
72435         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72437         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
72438         denormal result into account.
72440 2012-03-25  Roland McGrath  <roland@hack.frob.com>
72442         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
72443         Reported by Allan McRae <allan@archlinux.org>.
72445 2012-03-23  Jeff Law  <law@redhat.com>
72447         * nss/getnssent.c (__nss_getent): Fix typo.
72449 2012-03-23  David S. Miller  <davem@davemloft.net>
72451         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72453 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
72455         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
72456         to pad to uint64_t for each field.
72457         (dl_tls_index): Replace unsigned long with uint64_t.
72459 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
72460         Paul Pluzhnikov  <ppluzhnikov@google.com>
72462         [BZ #6528]
72463         * grp/Makefile (otherlibs): Don't set it.
72464         * inet/Makefile (otherlibs): Likewise.
72465         * login/Makefile (otherlibs): Likewise.
72466         * nscd/Makefile (otherlibs): Likewise.
72467         * posix/Makefile (otherlibs): Likewise.
72468         * pwd/Makefile (otherlibs): Likewise.
72469         * rt/Makefile (otherlibs): Likewise.
72470         * sunrpc/Makefile (otherlibs): Likewise.
72471         * nss/Makefile (otherlibs): Likewise.
72472         Add libnss_files to routines and static-only-routines.
72473         ($(objpfx)getent): Remove rule.
72474         * resolv/Makefile: Add libnss_dns and libresolv to routines and
72475         static-only-routines.
72477 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
72479         [BZ #13892]
72480         * math/s_cexp.c: Include <float.h>.
72481         (__cexp): Handle exp result overflowing not necessarily
72482         overflowing both real and imaginary parts of result.
72483         * math/s_cexpf.c: Likewise.
72484         * math/s_cexpl.c: Likewise.
72485         * math/libm-test.inc (cexp_test): Add more tests.
72486         * sysdeps/i386/fpu/libm-test-ulps: Update.
72487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72489 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
72491         * include/link.h (ELFW): New macro.
72492         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
72493         Replace ELF64_R_TYPE with ELFW(R_TYPE).
72495 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
72497         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
72498         with uint64_t.
72500 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
72502         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
72503         declaration.
72504         (struct La_x32_retval): Likewise.
72506 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
72508         * sysdeps/x86_64/preconfigure.in: New file.
72509         * sysdeps/x86_64/preconfigure: New generated file.
72511 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
72513         [BZ #13824]
72514         * math/e_exp2l.c: Include <float.h>.
72515         (__ieee754_exp2l): Handle overflow and underflow cases
72516         separately.  Only pass fractional part of argument to
72517         __ieee754_expl.
72518         * math/libm-test.inc (exp2_test): Add more tests.
72520         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
72521         negating x to take absolute value.
72522         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
72523         Likewise.
72524         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
72525         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
72526         Likewise.
72527         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
72528         computing low part if x was negated.
72529         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
72531 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
72533         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
72534         la_x32_gnu_pltexit.
72535         (pltexit): Cast int_retval to ptrdiff_t.
72536         * elf/tst-auditmod3b.c: Likewise.
72537         * elf/tst-auditmod4b.c: Likewise.
72538         * elf/tst-auditmod5b.c: Likewise.
72539         * elf/tst-auditmod6b.c: Likewise.
72540         * elf/tst-auditmod6c.c: Likewise.
72541         * elf/tst-auditmod7b.c: Likewise.
72543         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
72544         and x32_gnu_pltexit.
72546         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
72547         __ELF_NATIVE_CLASS.
72548         (La_x32_regs): New macro.
72549         (La_x32_retval): Likewise.
72550         (la_x32_gnu_pltenter): New function prototype.
72551         (la_x32_gnu_pltexit): Likewise.
72553 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
72555         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
72556         exponent.
72558         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72560         * configure.in (libc_cv_cc_nofma): Check for option to disable
72561         generation of FMA instructions.
72562         * configure: Regenerate.
72563         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
72564         * sysdeps/ieee754/dbl-64/Makefile: New file.
72565         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
72566         Remove brandred-fma4.
72567         (CFLAGS-brandred-fma4.c): Remove.
72568         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
72569         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
72570         define.
72571         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
72572         define.
72574 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
72576         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
72577         LLONG_MAX != LONG_MAX.
72578         (_itoa_word): Use _ITOA_WORD_TYPE on value.
72579         (_fitoa_word): Likewise.
72580         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
72581         LLONG_MAX != LONG_MAX.
72582         * stdio-common/_itowa.h: Include <_itoa.h>.
72583         (_itowa_word): Use _ITOA_WORD_TYPE on value.
72584         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
72585         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
72586         only if not defined.
72587         (_ITOA_WORD_TYPE): Likewise.
72588         (_itoa_word): Use _ITOA_WORD_TYPE on value.
72589         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
72591 2012-03-21  David S. Miller  <davem@davemloft.net>
72593         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72595 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
72597         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
72598         of x86_64 when setting libc_cv_slibdir, libdir and
72599         libc_cv_localedir.
72600         * sysdeps/unix/sysv/linux/configure: Regenerated.
72602 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
72604         * manual/lang.texi (Old Varargs): Remove section.
72605         (How Variadic): Update menu.
72606         (va_start): Do not mention varargs.h.
72608 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
72609             Joseph Myers  <joseph@codesourcery.com>
72611         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
72612         link test.
72613         * configure: Regenerated.
72615 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
72617         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
72618         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
72619         conformtest.pl
72621 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
72623         * NOTES: Remove.
72624         * Makefile (files-for-dist): Remove NOTES.
72625         (NOTES): Remove rule.
72626         * README: Don't refer to NOTES.
72627         * manual/creature.texi: Don't include macros.texi.
72628         * manual/intro.texi (creature.texi): Remove comment referring to
72629         NOTES.
72631         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
72632         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
72633         * configure: Regenerated.
72634         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
72635         LIBC_TRY_CC_OPTION.
72636         (libc_cv_as_i686): Likewise.
72637         (libc_cv_cc_avx): Likewise.
72638         (libc_cv_cc_sse2avx): Likewise.
72639         (libc_cv_cc_fma4): Likewise.
72640         (libc_cv_cc_novzeroupper): Likewise.
72641         * sysdeps/i386/configure: Regenerated.
72643         [BZ #13883]
72644         * sysdeps/i386/fpu/s_cexp.S: Remove.
72645         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
72646         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
72647         * math/libm-test.inc (cexp_test): Add more tests.
72648         * sysdeps/i386/fpu/libm-test-ulps: Update.
72649         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72651 2012-03-21  Allan McRae  <allan@archlinux.org>
72653         * timezone/Makefile: Do not install iso3166.tab and zone.tab
72655 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
72657         [BZ #13871]
72658         * math/w_exp2.c: Do not include <float.h>.
72659         (o_threshold, u_threshold): Remove.
72660         (__exp2): Calculate result before checking finiteness and calling
72661         __kernel_standard.
72662         * math/w_exp2f.c: Likewise.
72663         * math/w_exp2l.c: Likewise.
72664         * math/libm-test.inc (exp2_test): Require overflow exception for
72665         1e6 input.
72667         [BZ #3866]
72668         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
72669         range of signed 64-bit integers before using fistpll.  Remove
72670         checks for whether integers fit in mantissa bits.
72671         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
72672         the range of signed 32-bit integers before using fistpl.  Remove
72673         checks for whether integers fit in mantissa bits.
72674         * sysdeps/i386/fpu/e_powl.S (p64): New object.
72675         (__ieee754_powl): Test for y outside the range of signed 64-bit
72676         integers before using fistpll.  Reduce 64-bit values to 63-bit
72677         ones as needed.
72678         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
72679         divide-by-zero is raised for zero to large negative powers.
72680         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
72681         (__ieee754_powl): Test for y outside the range of signed 64-bit
72682         integers before using fistpll.  Reduce 64-bit values to 63-bit
72683         ones as needed.
72684         * math/libm-test.inc (pow_test): Add more tests.
72686 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
72688         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
72689         <stdio-common/_itoa.h>.
72690         * debug/segfault.c: Likewise.
72691         * elf/dl-cache.c: Likewise.
72692         * elf/dl-minimal.c: Likewise.
72693         * elf/dl-misc.c: Likewise.
72694         * elf/dl-sysdep.c: Likewise.
72695         * elf/dl-version.c: Likewise.
72696         * elf/rtld.c: Likewise.
72697         * hurd/hurdsock.c: Likewise.
72698         * hurd/lookup-retry.c: Likewise.
72699         * malloc/malloc.c: Likewise.
72700         * malloc/mtrace.c: Likewise.
72701         * nscd/nscd_getgr_r.c: Likewise.
72702         * nscd/nscd_getpw_r.c: Likewise.
72703         * nscd/nscd_getserv_r.c: Likewise.
72704         * posix/getopt_init.c: Likewise.
72705         * posix/wordexp.c: Likewise.
72706         * stdio-common/_itoa.c: Likewise.
72707         * stdio-common/printf_fphex.c: Likewise.
72708         * stdio-common/vfprintf.c: Likewise.
72709         * string/_strerror.c: Likewise.
72710         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
72711         * sysdeps/i386/i686/hp-timing.h: Likewise.
72712         * sysdeps/mach/_strerror.c: Likewise.
72713         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
72714         * sysdeps/mach/hurd/sethostid.c: Likewise.
72715         * sysdeps/mach/hurd/xmknodat.c: Likewise.
72716         * sysdeps/mach/xpg-strerror.c: Likewise.
72717         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
72718         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
72719         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
72720         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
72721         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
72722         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
72723         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
72724         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
72725         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
72726         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
72727         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
72728         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
72729         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
72730         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
72731         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
72732         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
72733         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
72734         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
72735         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
72736         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
72737         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
72739         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
72741         * stdio-common/_itoa.h: Moved to ...
72742         * sysdeps/generic/_itoa.h: Here.
72744         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
72746         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
72747         instead of "_itoa.h" and "_itowa.h".
72748         * stdio-common/vfprintf.: Likewise.
72750 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
72752         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
72753         <bits/wordsize.h>.
72754         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
72755         (__signbit): Likwise.
72756         (llrintf): Likwise.
72757         (llrint): Likwise.
72759 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
72761         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
72762         __WORDSIZE != 64.
72764 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
72766         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
72767         OVERFLOW_EXCEPTION_OK.
72768         * math/libm-test.inc ("Philosophy"): Update comment about
72769         exception testing.
72770         (OVERFLOW_EXCEPTION): Define.
72771         (OVERFLOW_EXCEPTION_OK): Likewise.
72772         (INVALID_EXCEPTION_OK): Renumber.
72773         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
72774         (IGNORE_ZERO_INF_SIGN): Likewise.
72775         (test_exceptions): Handle FE_OVERFLOW.
72776         (exp10_test): Expect overflow exceptions.
72777         (exp2_test): Likewise.
72778         (expm1_test): Likewise.
72779         (nextafter_test): Likewise.
72780         (pow_test): Likewise.
72781         (scalbn_test): Likewise.
72782         (scalbln_test): Likewise.
72784 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72786         * sysdeps/x86_64/bits/atomic.h
72787         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
72788         64bit integer.
72789         (atomic_exchange_acq): Likewise.
72790         (__arch_exchange_and_add_body): Likewise.
72791         (__arch_add_body): Likewise.
72792         (atomic_add_negative): Likewise.
72793         (atomic_add_zero): Likewise.
72795 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72797         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
72798         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
72800 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72802         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
72803         Check __x86_64__ instead of __WORDSIZE.
72805 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72807         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
72809 2012-03-19  David S. Miller  <davem@davemloft.net>
72811         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72813         * sysdeps/sparc/fpu/fenv_private.h: New file.
72814         * sysdeps/sparc/fpu/math_private.h: Use it.
72815         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
72816         Remove.
72817         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
72818         (libc_feholdexcept_setroundl): Remove.
72819         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
72820         Remove.
72821         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
72822         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
72824 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72826         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
72827         int64_t instead of long int.
72828         (INSERT_WORDS64): Likwise.
72830 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72832         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
72833         _Unwind_GetCFA return to _Unwind_Ptr first.
72835 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
72837         [BZ #13629]
72838         * math/s_clog.c: Include <float.h>.
72839         (__clog): Scale large or subnormal inputs.
72840         * math/s_clogf.c: Likewise.
72841         * math/s_clogl.c: Likewise.
72842         * math/s_clog10.c: Include <float.h>.
72843         (M_LOG10_2): Define.
72844         (__clog10): Scale large or subnormal inputs.
72845         * math/s_clog10f.c: Likewise.
72846         * math/s_clog10l.c: Likewise.
72847         * math/libm-test.inc (clog_test): Add more tests.
72848         (clog10_test): Likewise.
72849         * sysdeps/i386/fpu/libm-test-ulps: Update.
72850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72852         [BZ #11451]
72853         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
72854         x and y.
72855         * math/libm-test.inc (atan2_test): Add another test.
72857         * Makerules (common-objdir-compile): Remove.
72858         * sysdeps/unix/Makefile (config-generated): Do not add
72859         $(unix-generated) to variable.
72860         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
72861         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
72862         Remove rule.
72863         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
72864         Likewise.
72865         [generic bits/local_lim.h] (before-compile): Do not append to
72866         variable.
72867         [generic bits/local_lim.h] (common-generated): Likewise.
72868         [generic sys/param.h] (before-compile): Do not append to variable.
72869         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
72870         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
72871         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
72872         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
72873         include.
72874         [generic sys/param.h] (sys/param.h-includes): Remove variable.
72875         [generic sys/param.h] (sys/param.h-includes): Remove rule.
72876         [generic sys/param.h] ($(addprefix
72877         $(common-objpfx),$(sys/param.h-includes))): Likewise.
72878         [generic sys/param.h] (common-generated): Do not append to
72879         variable.
72880         [generic sys/param.h] (sysdep_headers): Likewise.
72881         [generic bits/errno.h] (before-compile): Do not append to
72882         variable.
72883         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
72884         rule.
72885         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
72886         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
72887         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
72888         [generic bits/errno.h] (common-generated): Do not append to
72889         variable.
72890         [generic bits/ioctls.h] (before-compile): Do not append to
72891         variable.
72892         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
72893         rule.
72894         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
72895         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
72896         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
72897         rule.
72898         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
72899         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
72900         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
72901         [generic bits/ioctls.h] (common-generated): Do not append to
72902         variable.
72903         [generic sys/syscall.h] (syscall.h): Remove variable.
72904         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
72905         rule.
72906         [generic sys/syscall.h] (before-compile): Do not append to
72907         variable.
72908         [generic sys/syscall.h] (common-generated): Likewise.
72909         * sysdeps/unix/errnos-tmpl.c: Remove file.
72910         * sysdeps/unix/errnos.awk: Likewise.
72911         * sysdeps/unix/ioctls-tmpl.c: Likewise.
72912         * sysdeps/unix/ioctls.awk: Likewise.
72913         * sysdeps/unix/mk-local_lim.c: Likewise.
72914         * sysdeps/unix/snarf-ioctls: Likewise.
72916 2012-03-19  Richard Henderson  <rth@twiddle.net>
72918         * sysdeps/i386/fpu/fenv_private.h: New file.
72919         * sysdeps/i386/fpu/math_private.h: Use it.
72920         (math_opt_barrier, math_force_eval): Remove.
72921         (libc_feholdexcept_setround_53bit): Remove.
72922         (libc_feupdateenv_53bit): Remove.
72923         * sysdeps/x86_64/fpu/math_private.h: Likewise.
72924         (math_opt_barrier, math_force_eval): Remove.
72925         (libc_feholdexcept): Remove.
72926         (libc_feholdexcept_setround): Remove.
72927         (libc_fetestexcept, libc_fesetenv): Remove.
72928         (libc_feupdateenv_test): Remove.
72929         (libc_feupdateenv, libc_feholdsetround): Remove.
72930         (libc_feresetround): Remove.
72932         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
72933         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
72935         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
72936         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
72937         (libc_feupdateenv_testl): New.
72938         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
72939         (libc_feupdateenv_testf): New.
72940         (libc_feupdateenv): Use libc_feupdateenv_test.
72941         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
72942         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
72944         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
72945         (libc_feholdsetroundf, libc_feholdsetroundl): New.
72946         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
72947         (libc_feresetround_noex): New.
72948         (libc_feresetround_noexf): New.
72949         (libc_feresetround_noexl): New.
72950         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
72951         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
72952         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
72953         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
72954         SET_RESTORE_ROUND.
72955         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
72956         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
72957         (__cos): Likewise.
72958         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
72959         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
72960         SET_RESTORE_ROUND_NOEX.
72961         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
72962         SET_RESTORE_ROUND_NOEXF.
72963         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
72964         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
72965         (libc_feholdsetroundf): New.
72966         (libc_feresetround, libc_feresetroundf): New.
72968         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
72969         (libc_feholdexcept_setround_53bit): Convert from macro to function.
72970         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
72972         * sysdeps/generic/math_private.h: Include <fenv.h>.
72973         (default_libc_feholdexcept): New.
72974         (default_libc_feholdexcept_setround): New.
72975         (default_libc_fesetenv, default_libc_feupdateenv): New.
72976         (libc_feholdexcept): Only define if undefined.
72977         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
72978         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
72979         (libc_feholdexcept_setroundl): Likewise.
72980         (libc_feholdexcept_setround_53bit): Likewise.
72981         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
72982         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
72983         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
72984         (libc_feupdateenv_53bit): Likewise.
72985         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
72986         (libc_feholdexcept): Convert from macro to inline function.
72987         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
72988         (libc_fesetenv, libc_feupdateenv): Likewise.
72990         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
72991         not previously defined.
72992         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
72993         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
72994         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
72995         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
72996         * sysdeps/ieee754/flt-32/math_private.h: New file.
72997         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
72998         math_private.h below SET_FLOAT_WORD.
72999         (__isnan, __isinf_ns, __finite): Remove.
73000         (__isnanf, __isinf_nsf, __finitef): Remove.
73002 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
73004         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73006 2012-03-17  David S. Miller  <davem@davemloft.net>
73008         [BZ #6471]
73009         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
73010         for 2.16.
73012 2012-03-16  David S. Miller  <davem@davemloft.net>
73014         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
73015         warnings.
73017         [BZ #6471]
73018         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
73019         properly.
73020         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
73021         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
73022         sysdep_routines when subdir is sysvipc.
73023         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
73024         __getshmlba helper.
73026         * sysdeps/sparc/fpu/libm-test/ulps: Update.
73028 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
73030         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
73031         [__LP64__].
73033 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
73035         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
73036         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
73037         (__lround): Renamed to ...
73038         (__llround): This.  Replace long int with long long int.
73039         Define lround functions as aliases of llround functions.
73040         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
73042 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
73044         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
73045         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
73046         adresses to uintptr_t.  Replace "long int" and "unsigned long
73047         int" with "greg_t" on va_arg.
73049 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
73051         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
73052         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
73054         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
73055         Move e_machine check before EI_CLASS check.  Handle x32
73056         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
73057         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
73058         SKIP_EM_IA_64 and include
73059         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
73061         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
73062         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
73063         (add_system_dir): New macro.
73065         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
73066         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
73068 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
73070         [BZ #2551]
73071         [BZ #2552]
73072         [BZ #2553]
73073         [BZ #2554]
73074         [BZ #2562]
73075         [BZ #2563]
73076         [BZ #2565]
73077         [BZ #2566]
73078         [BZ #2576]
73079         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
73080         (y0): Likewise.
73081         * math/w_j0f.c (j0f): Likewise.
73082         (y0f): Likewise.
73083         * math/w_j0l.c (__j0l): Likewise.
73084         (__y0l): Likewise.
73085         * math/w_j1.c (j1): Likewise.
73086         (y1): Likewise.
73087         * math/w_j1f.c (j1f): Likewise.
73088         (y1f): Likewise.
73089         * math/w_j1l.c (__j1l): Likewise.
73090         (__y1l): Likewise.
73091         * math/w_jn.c (jn): Likewise.
73092         (yn): Likewise.
73093         * math/w_jnf.c (jnf): Likewise.
73094         (ynf): Likewise.
73095         * math/w_jnl.c (__jnl): Likewise.
73096         (__ynl): Likewise.
73097         * math/libm-test.inc (j0_test): Add more tests.
73098         (j1_test): Likewise.
73099         (jn_test): Likewise.  Add trailing semicolon to existing test.
73100         (y0_test): Likewise.
73101         (y1_test): Likewise.
73102         * sysdeps/i386/fpu/libm-test-ulps: Update.
73103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73105         [BZ #13851]
73106         [BZ #13854]
73107         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
73108         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
73109         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
73110         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
73111         (__tanl): Set errno for infinite argument.
73112         * sysdeps/i386/fpu/mptan.c: Remove.
73113         * sysdeps/i386/fpu/s_tan.S: Likewise.
73114         * sysdeps/i386/fpu/s_tanl.S: Likewise.
73115         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
73116         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
73117         * math/libm-test.inc (tan_test): Add more tests and enable more
73118         tests for double and long double.
73119         * sysdeps/i386/fpu/libm-test-ulps: Update.
73120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73122 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
73124         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
73125         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
73127 2012-03-16  Roland McGrath  <roland@hack.frob.com>
73129         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
73130         * configure.in: Use it for both main tree and add-ons.
73131         * configure: Regenerated.
73133 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
73135         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
73137 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
73139         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
73140         in comment.
73142         [BZ #13851]
73143         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
73144         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
73145         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
73146         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
73147         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
73148         infinite argument.
73149         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
73150         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
73151         != 0 for prec == 2.
73152         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
73153         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
73154         * sysdeps/i386/fpu/s_cosl.S: Likewise.
73155         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
73156         * sysdeps/i386/fpu/s_sinl.S: Likewise.
73157         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
73158         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
73159         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
73160         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
73161         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
73162         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
73163         * math/libm-test.inc (cos_test): Add more tests and enable more
73164         tests for long double.
73165         (sin_test): Likewise.
73166         (sincos_test): Likewise.
73167         * sysdeps/i386/fpu/libm-test-ulps: Update.
73168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73170 2012-03-16  David S. Miller  <davem@davemloft.net>
73172         * sysdeps/sparc/fpu/math_private.h: New file.
73174 2012-03-15  David S. Miller  <davem@davemloft.net>
73176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
73177         file.
73178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
73179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
73180         file.
73181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
73182         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
73183         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
73184         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
73185         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
73186         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
73187         sysdep routines.
73188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
73190         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
73191         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
73193         * sysdeps/sparc/sparc-ifunc.h: New file.
73194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
73195         sparc-ifunc.h
73196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
73197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
73198         Likewise.
73199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
73200         Likewise.
73201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
73202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
73203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
73204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
73205         Likewise.
73206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
73207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
73208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
73209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
73210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
73211         Likewise.
73212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
73213         Likewise.
73214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
73215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
73216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
73217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
73218         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
73219         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
73220         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
73221         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
73222         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
73223         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
73224         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
73225         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
73226         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
73227         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
73228         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
73229         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
73230         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
73231         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
73232         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
73233         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
73234         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
73235         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
73236         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
73237         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
73239 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
73241         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
73242         scaling.
73243         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73245 2012-03-15  Andreas Jaeger  <aj@suse.de>
73247         [BZ #13852]
73248         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
73249         ieee754/flt-32 implementation for sin, cos and sincos.
73250         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
73251         * sysdeps/i386/fpu/s_cosf.S: Likewise.
73252         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
73253         * sysdeps/i386/fpu/s_sinf.S: Likewise.
73254         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
73255         ieee754/flt-32 implementation for tan.
73257         * math/libm-test.inc (cos_test): Enable some large input tests for
73258         float as well
73259         (sin_test): Likewise.
73260         (sincos_test): Likewise.
73261         (tan_test): Add tests for large input.
73263         * sysdeps/i386/fpu/libm-test-ulps: Update.
73265 2012-03-15  Andreas Jaeger  <aj@suse.de>
73267         [BZ #13658]
73268         * math/libm-test.inc (cos_test): Add more test cases.
73269         (sin_test): Likewise.
73270         (sincos_test): Likewise.
73272 2012-03-15  Andreas Jaeger  <aj@suse.de>
73274         [BZ #13837]
73275         * math/libm-test.inc (cos_test): Add a test case for large input
73276         value.
73277         (sin_test): Likewise.
73278         (sincos_test): Likewise.
73280 2012-03-15  Andreas Jaeger  <aj@suse.de>
73281             Joseph Myers  <joseph@codesourcery.com>
73283         [BZ #13658]
73284         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
73285         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
73286         * sysdeps/i386/fpu/branred.c: Likewise.
73287         * sysdeps/i386/fpu/dosincos.c: Likewise.
73288         * sysdeps/i386/fpu/mpa.c: Likewise.
73289         * sysdeps/i386/fpu/s_cos.S: Likewise.
73290         * sysdeps/i386/fpu/s_sin.S: Likewise.
73291         * sysdeps/i386/fpu/s_sincos.S: Likewise.
73292         * sysdeps/i386/fpu/sincos32.c: Likewise.
73294         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
73295         Define.
73296         (libc_feupdateenv_53bit): Define.
73297         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
73298         Define.
73299         (libc_feupdateenv_53bit): Define.
73301         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
73302         53 bit (without extend i386 double precision).
73304         * math/libm-test.inc (sincos_test): Add tests for large input.
73305         (sin): Likewise.
73306         (cos): Likewise.
73308         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
73310 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
73312         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73314 2012-03-15  David S. Miller  <davem@davemloft.net>
73316         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
73317         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
73318         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
73319         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
73320         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
73321         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
73322         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
73323         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
73324         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
73325         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
73326         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
73327         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
73328         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
73329         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
73330         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
73331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
73332         file.
73333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
73334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
73335         file.
73336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
73337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
73338         file.
73339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
73340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
73341         file.
73342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
73343         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
73344         fmin/fmax sysdep routines.
73345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
73347 2012-03-14  David S. Miller  <davem@davemloft.net>
73349         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
73350         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
73351         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
73352         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
73353         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
73354         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
73355         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
73356         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
73357         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
73358         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
73359         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
73360         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
73361         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
73362         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
73363         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
73364         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
73365         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
73366         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
73367         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
73368         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
73369         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
73370         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
73371         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
73372         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
73373         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
73374         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
73375         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
73376         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
73377         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
73378         routines.
73379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
73380         file.
73381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
73382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
73383         file.
73384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
73385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
73386         file.
73387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
73388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
73389         file.
73390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
73391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
73392         file.
73393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
73394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
73395         file.
73396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
73397         file.
73398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
73399         file.
73400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
73401         file.
73402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
73403         New file.
73404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
73405         file.
73406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
73407         file.
73408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
73409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
73410         file.
73411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
73412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
73413         file.
73414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
73415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
73416         file.
73417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
73418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
73419         VIS3 routines.
73421         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
73422         New file.
73424         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73426         * sysdeps/sparc/configure.in: New file.
73427         * sysdeps/sparc/configure: Generate.
73428         * configure.in (libc_cv_sparc_as_vis3): Substitute.
73429         * configure: Regenerate.
73430         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
73431         * config.make.in (have-as-vis3): New.
73432         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
73433         available use -Av9d instead of -Av9a.
73434         * sysdeps/sparc/sparc64/Makefile: Likewise.
73435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
73436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
73437         New file.
73438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
73439         file.
73440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
73441         New file.
73442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
73443         file.
73444         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
73445         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
73446         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
73447         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
73448         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
73450         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
73451         fzeros/fnegs to load 0x80000000 into a float register instead of
73452         using the stack.
73453         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
73455 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
73457         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73458         bits/syscall.h.
73459         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
73460         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
73461         ($(inst_includedir)/bits/syscall.h): Remove rule.
73462         ($(objpfx)bits/syscall.d): Include instead of
73463         $(objpfx)syscall-list.d.
73464         (generated): Change syscall-list.h and syscall-list.d to
73465         bits/syscall.h and bits/syscall.d.
73467 2012-03-14  Roland McGrath  <roland@hack.frob.com>
73469         [BZ #13846]
73470         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
73472 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
73474         [BZ #13841]
73475         * math/s_csqrt.c: Include <float.h>.
73476         (__csqrt): Scale large or subnormal inputs.
73477         * math/s_csqrtf.c: Likewise.
73478         * math/s_csqrtl.c: Likewise.
73479         * math/libm-test.inc (csqrt_test): Add more tests.
73480         * sysdeps/i386/fpu/libm-test-ulps: Update.
73481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73483         [BZ #13840]
73484         * math/libm-test.inc (hypot_test): Add more tests.
73486 2012-03-13  David S. Miller  <davem@davemloft.net>
73488         [BZ #13840]
73489         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
73490         double-precision for the calculation instead of scaling.
73492 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
73494         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
73495         manipulate bits before adding and subtracting TWO52[sx].
73496         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
73497         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
73498         Likewise.
73499         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
73501 2012-03-13  David S. Miller  <davem@davemloft.net>
73503         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
73504         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
73505         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
73506         rtld-global-offsets.h
73507         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
73509         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
73510         large parameters.
73512         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
73514         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
73515         'err' in the ifdef scope in which it is actually used.
73517         * nss/nss_db/db-init.c: Include string.h
73519 2012-03-12  David S. Miller  <davem@davemloft.net>
73521         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
73522         masking out of the most significant byte of random value used.
73523         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
73524         Fix coding style in previous change.
73526         * sysdeps/unix/sysv/linux/kernel-features.h
73527         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
73528         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
73529         expression.
73530         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
73531         later.
73533 2012-03-11  David S. Miller  <davem@davemloft.net>
73535         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
73536         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
73537         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
73538         for 'resultvar' otherwise things get truncated on 64-bit.
73540         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
73541         Fix masking out of the most significant byte of random value used.
73543         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73545 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
73547         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73549 2012-03-09  David S. Miller  <davem@davemloft.net>
73551         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
73552         variables with appropriate CPP guards.
73553         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
73554         from the frame pointer, not the stack pointer.  Correct layout
73555         comments.  Fix test on resulting framesize and the management of
73556         the outregs buffer for pltexit.  Preserve floating point return
73557         values across _dl_call_pltexit call.
73558         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
73559         framesize and the management of the outregs buffer for pltexit.
73560         Preserve floating point return values across _dl_call_pltexit
73561         call.
73562         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
73563         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
73564         (la_sparc64_gnu_pltexit): New functions.
73565         (print_exit): Fix format string for return register value.
73567 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
73569         * sunrpc/Makefile (others): Add rpcgen.
73570         ($(objpfx)rpcgen): Remove special build rule and dependency on
73571         libc.
73572         * sunrpc/rpcgen.c: New file.
73574 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
73576         [BZ #13673]
73577         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
73578         * stdio-common/bug-vfprintf-nargs.c: Likewise.
73579         * sysdeps/i386/crti.S: Likewise.
73580         * sysdeps/i386/crtn.S: Likewise.
73581         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
73582         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
73583         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
73584         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
73585         * sysdeps/sh/crti.S: Likewise.
73586         * sysdeps/sh/crtn.S: Likewise.
73587         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
73589         [BZ #13673]
73590         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
73591         with URL.
73592         * locale/programs/locfile-kw.gperf: Likewise.
73593         * locale/programs/charmap-kw.h: Regenerated.
73594         * locale/programs/locfile-kw.h: Likewise.
73596         [BZ #13673]
73597         * intl/plural.y: Replace FSF snail mail address with URL.
73598         * intl/plural.c: Regenerated.
73600 2012-03-09  Richard Henderson  <rth@twiddle.net>
73602         * include/math_private.h: Remove file.
73603         * math/math_private.h: Move file ...
73604         * sysdeps/generic/math_private.h: ... here.
73606         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
73607         * sysdeps/powerpc/fpu/math_private.h: Likewise.
73608         * sysdeps/x86_64/fpu/math_private.h: Likewise.
73610         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
73611         and <math_private.h>.
73612         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
73613         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
73614         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
73615         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
73616         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
73617         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
73618         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
73619         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73620         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
73621         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
73622         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73623         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
73624         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
73625         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73626         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
73627         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
73628         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
73629         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
73630         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
73631         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
73632         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73633         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
73634         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
73635         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73636         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
73637         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
73638         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
73639         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
73640         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73641         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
73642         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
73643         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73644         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
73645         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
73646         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
73647         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
73648         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
73649         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
73650         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
73651         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
73652         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
73653         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
73654         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
73655         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
73656         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
73657         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
73658         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
73659         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
73660         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
73661         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
73662         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
73663         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
73664         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
73665         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
73666         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
73667         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
73668         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
73669         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
73670         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
73671         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
73672         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
73673         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
73674         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73675         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
73676         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
73677         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
73678         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
73679         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
73680         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
73681         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
73682         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
73683         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
73684         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
73685         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
73686         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
73687         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
73688         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
73689         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
73690         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
73691         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
73692         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
73693         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
73694         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
73695         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
73696         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
73697         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
73698         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
73699         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
73700         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
73701         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
73702         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
73703         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
73704         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
73705         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
73706         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
73707         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
73708         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
73709         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
73710         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
73711         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
73712         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
73713         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
73714         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
73715         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
73716         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
73717         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
73718         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
73719         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
73720         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
73721         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
73722         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
73723         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
73724         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
73725         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
73726         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
73727         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
73728         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
73729         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
73730         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
73731         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
73732         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
73733         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
73734         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
73735         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
73736         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
73737         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
73738         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
73739         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
73740         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
73741         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
73742         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
73743         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
73744         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
73745         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
73746         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
73747         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
73748         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
73749         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
73750         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
73751         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
73752         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
73753         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
73754         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
73755         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
73756         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
73757         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
73758         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
73759         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
73760         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
73761         * sysdeps/ieee754/k_standard.c: Likewise.
73762         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
73763         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
73764         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
73765         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
73766         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
73767         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
73768         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
73769         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
73770         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
73771         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
73772         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
73773         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
73774         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
73775         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
73776         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
73777         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
73778         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
73779         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
73780         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
73781         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
73782         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
73783         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
73784         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
73785         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
73786         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
73787         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
73788         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
73789         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
73790         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
73791         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
73792         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
73793         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
73794         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
73795         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
73796         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
73797         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
73798         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
73799         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
73800         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
73801         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
73802         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
73803         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
73804         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
73805         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
73806         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
73807         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
73808         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
73809         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
73810         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
73811         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
73812         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
73813         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
73814         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
73815         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
73816         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
73817         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
73818         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
73819         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
73820         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
73821         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
73822         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
73823         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
73824         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
73825         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
73826         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
73827         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
73828         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
73829         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
73830         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
73831         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
73832         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
73833         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
73834         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
73835         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
73836         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
73837         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
73838         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
73839         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
73840         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
73841         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
73842         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
73843         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
73844         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
73845         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
73846         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
73847         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
73848         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
73849         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
73850         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
73851         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
73852         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
73853         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
73854         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
73855         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
73856         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
73857         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
73858         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
73859         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
73860         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
73861         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
73862         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
73863         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
73864         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
73865         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
73866         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
73867         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
73868         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
73869         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
73870         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
73871         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
73872         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
73873         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
73874         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
73875         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
73876         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
73877         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
73878         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
73879         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
73880         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
73881         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
73882         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
73883         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
73884         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
73885         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
73886         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
73887         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
73888         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
73889         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
73890         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
73891         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
73892         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
73893         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
73894         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
73895         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
73896         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
73897         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
73898         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
73899         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
73900         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
73901         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
73902         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
73903         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
73904         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
73905         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
73906         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
73907         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
73908         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
73909         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
73910         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
73911         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
73912         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
73913         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
73914         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
73915         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
73916         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
73917         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
73918         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
73919         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
73920         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
73921         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
73922         * sysdeps/ieee754/s_lib_version.c: Likewise.
73923         * sysdeps/ieee754/s_matherr.c: Likewise.
73924         * sysdeps/ieee754/s_signgam.c: Likewise.
73925         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
73926         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
73927         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
73928         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
73929         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
73930         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
73931         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
73932         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
73933         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
73934         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
73935         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
73936         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
73937         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
73938         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
73939         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
73940         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
73941         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
73942         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
73943         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
73944         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
73945         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
73947 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
73949         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
73950         * sunrpc/rpc_main.c: Likewise.
73951         * sunrpc/rpc_svcout.c: Likewise.
73953 2012-03-09  David S. Miller  <davem@davemloft.net>
73955         * include/math_private.h: New file.
73957 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
73959         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
73960         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
73961         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
73962         from <bits/socket_type.h>.
73963         (enum __socket_type): Don't define here.
73964         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
73965         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73966         bits/socket_type.h.
73968         [BZ #13566]
73969         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
73970         checking __USE_GNU.
73972         * Makerules ($(inst_includedir)/%.h): New rule.
73973         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
73974         (install-others): Remove variable setting.
73975         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
73977 2012-03-08  Richard Henderson  <rth@twiddle.net>
73979         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
73980         from macro to inline function; merge with the
73981         !__LIBC_INTERNAL_MATH_INLINES version.
73982         (__ieee754_sqrtf): Likewise.
73984         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
73985         to inline function.
73986         (__rintf, __floor, __floorf): Likewise.
73988         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
73989         macro to inline function.
73990         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
73992         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
73993         not <math/math_private.h>.
73995 2012-03-08  David S. Miller  <davem@davemloft.net>
73997         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
73998         copyright year.
73999         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
74001 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
74003         * resolv/gai_misc.c (handle_requests): Fix struct timespec
74004         normalization.
74005         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
74006         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
74008 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
74010         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
74011         be defined individually, they must be defined as a block.  Define
74012         S for printing a string instead of hidint the different by using a
74013         macro for adding the 'l'.
74014         * stdio-common/tst-fphex-wide.c: Adjust.
74016 2012-03-07  Marek Polacek  <polacek@redhat.com>
74018         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
74020 2012-03-08  Marek Polacek  <polacek@redhat.com>
74022         [BZ #13806]
74023         * stdio-common/Makefile (tests): Add tst-fphex-wide.
74024         * stdio-common/tst-fphex.c: Define a few macros to make the
74025         test reusable.  Use them.
74026         * stdio-common/tst-fphex-wide.c: New file.
74028 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
74030         [BZ #6911]
74031         * manual/macros.texi (gnusystems): New macro.
74032         (nongnusystems): Likewise.
74033         (gnulinuxhurdsystems): Likewise.
74034         (gnuhurdsystems): Likewise..
74035         (gnulinuxsystems): Likewise.
74036         * manual/charset.texi: Use new macros or @theglibc{} to refer to
74037         variants of the GNU system, not "GNU system".
74038         * manual/conf.texi: Likewise.
74039         * manual/errno.texi: Likewise.  Update example of errno macro
74040         expansion.
74041         * manual/filesys.texi: Likewise.
74042         (getumask): Document as specific to GNU/Hurd.
74043         * manual/install.texi: Likewise.  Reword some references to
74044         GNU/Linux.
74045         * manual/intro.texi: Likewise.
74046         * manual/io.texi: Likewise.
74047         (File Name Portability): Detail which constraints are inapplicable
74048         to all GNU systems and which are only inapplicable to GNU/Hurd.
74049         * manual/job.texi: Likewise.
74050         * manual/llio.texi: Likewise.
74051         (O_NOCTTY): Document as present on GNU/Linux.
74052         * manual/maint.texi: Likewise.
74053         * manual/memory.texi: Likewise.
74054         * manual/pattern.texi: Likewise.
74055         * manual/pipe.texi: Likewise.
74056         * manual/process.texi: Likewise.
74057         * manual/resource.texi: Likewise.
74058         (RUSAGE_CHILDREN): Remove statement about specifying a particular
74059         child on GNU/Hurd.
74060         * manual/setjmp.texi: Likewise.
74061         * manual/signal.texi: Likewise.
74062         * manual/startup.texi: Likewise.
74063         * manual/stdio.texi: Likewise.
74064         * manual/terminal.texi: Likewise.
74065         (ONLCR): Document as POSIX.
74066         (OXTABS): Document availability on GNU/Linux as XTABS.
74067         (ONOEOT): Document availability separately from other bits.
74068         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
74069         * manual/time.texi: Likewise.
74070         * manual/users.texi: Likewise.
74071         * INSTALL: Regenerated.
74072         * sysdeps/gnu/errlist.c: Regenerated.
74074         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
74075         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
74076         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
74077         puts.
74078         * configure: Regenerated.
74080 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
74082         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
74083         default includes instead of AC_HEADER_CHECK.
74084         * sysdeps/i386/configure: Regenerated.
74086         [BZ #10716]
74087         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
74088         * math/s_cacoshf.c (__cacoshf): Likewise.
74089         * math/s_cacoshl.c (__cacoshl): Likewise.
74090         * math/s_casinh.c (__casinh): Set signs of result from argument.
74091         * math/s_casinhf.c (__casinhf): Likewise.
74092         * math/s_casinhl.c (__casinhl): Likewise.
74093         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
74094         (casinh_test): Add more tests.
74095         * sysdeps/i386/fpu/libm-test-ulps: Update.
74096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74098 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
74100         * po/zh_TW.po: Update from translation team.
74102         * login/Makefile (distribute): Remove variable.
74103         * catgets/Makefile: Likewise.
74104         * mach/Makefile: Likewise.
74105         * malloc/Makefile: Likewise.
74106         * misc/Makefile: Likewise.
74107         * iconv/Makefile: Likewise.
74108         * nscd/Makefile: Likewise.
74109         * hurd/Makefile: Likewise.
74110         * manual/Makefile: Likewise.
74111         * locale/Makefile: Likewise.
74112         * intl/Makefile: Likewise.
74113         * conform/Makefile: Likewise.
74114         * nss/Makefile: Likewise.
74115         * time/Makefile: Likewise.
74116         * soft-fp/Makefile: Likewise.
74117         * dirent/Makefile: Likewise.
74118         * gmon/Makefile: Likewise.
74119         * po/Makefile: Likewise.
74120         * rt/Makefile: Likewise.
74121         * socket/Makefile: Likewise.
74122         * math/Makefile: Likewise.
74123         * signal/Makefile: Likewise.
74124         * debug/Makefile: Likewise.
74125         * elf/Makefile: Likewise.
74126         * timezone/Makefile: Likewise.
74127         * stdlib/Makefile: Likewise.
74128         * iconvdata/Makefile: Likewise.
74129         * sunrpc/Makefile: Likewise.
74130         * io/Makefile: Likewise.
74131         * argp/Makefile: Likewise.
74132         * inet/Makefile: Likewise.
74133         * hesiod/Makefile: Likewise.
74134         * grp/Makefile: Likewise.
74135         * csu/Makefile: Likewise.
74136         * wctype/Makefile: Likewise.
74137         * crypt/Makefile: Likewise.
74138         * libio/Makefile: Likewise.
74139         * string/Makefile: Likewise.
74140         * nis/Makefile: Likewise.
74141         * resolv/Makefile: Likewise.
74142         * stdio-common/Makefile: Likewise.
74143         * wcsmbs/Makefile: Likewise.
74144         * dlfcn/Makefile: Likewise.
74145         * posix/Makefile: Likewise.
74147         [BZ #6959]
74148         * timezone/Makefile: Don't install timezone files, just the programs
74149         and scripts.
74151 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
74153         * nss/databases.def: Add missing gshadow entry.
74155         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
74157 2012-03-06  Marek Polacek  <polacek@redhat.com>
74159         [BZ #13726]
74160         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
74161         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
74162         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
74163         * stdio-common/tst-long-dbl-fphex.c: New file.
74165 2012-03-06  David S. Miller  <davem@davemloft.net>
74167         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
74168         (set_obp_int): New function.
74169         (get_obp_int): New function.
74170         (__get_clockfreq_via_dev_openprom): Likewise.
74171         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
74172         Avoid unused variable warnings on 'val' and use builtin_expect.
74173         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
74174         __builtin_expect.
74175         (INLINE_CLONE_SYSCALL): Likewise.
74177 2012-03-05  David S. Miller  <davem@davemloft.net>
74179         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74181 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
74183         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74185         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
74186         only for |x| >= 40.
74187         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
74189 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
74191         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
74192         Replace gettimeofday with __vdso_gettimeofday.
74194         * sysdeps/unix/sysv/linux/x86_64/init-first.c
74195         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
74196         __vdso_clock_gettime and __vdso_getcpu.
74198         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
74199         time with __vdso_time.
74201 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
74203         * manual/lang.texi (size_t): Note types to which size_t may be
74204         equivalent with the GNU C Library, but do not describe when
74205         differences between them are significant.
74207 2012-03-05  Andreas Jaeger  <aj@suse.de>
74209         * sysdeps/i386/fpu/libm-test-ulps: Update.
74211 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
74213         [BZ #3976]
74214         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
74215         (__ieee754_pow): Save and restore rounding mode and use
74216         round-to-nearest for main computations.
74217         * math/libm-test.inc (pow_test_tonearest): New function.
74218         (pow_test_towardzero): Likewise.
74219         (pow_test_downward): Likewise.
74220         (pow_test_upward): Likewise.
74221         (main): Call the new functions.
74222         * sysdeps/i386/fpu/libm-test-ulps: Update.
74223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74225         [BZ #3976]
74226         * math/libm-test.inc (cosh_test_tonearest): New function.
74227         (cosh_test_towardzero): Likewise.
74228         (cosh_test_downward): Likewise.
74229         (cosh_test_upward): Likewise.
74230         (sinh_test_tonearest): Likewise.
74231         (sinh_test_towardzero): Likewise.
74232         (sinh_test_downward): Likewise.
74233         (sinh_test_upward): Likewise.
74234         (main): Call the new functions.
74235         * sysdeps/i386/fpu/libm-test-ulps: Update.
74236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74238 2012-03-05  Tom de Vries  <tom@codesourcery.com>
74240         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
74241         default stack guard is set in last bytes.
74242         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
74244 2012-03-05  Kees Cook  <keescook@chromium.org>
74246         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
74248         [BZ #13656]
74249         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
74250         possibly allocate from heap instead of stack.
74251         * stdio-common/bug-vfprintf-nargs.c: New file.
74252         * stdio-common/Makefile (tests): Add nargs overflow test.
74254 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
74256         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74258 2012-03-03  Marek Polacek  <polacek@redhat.com>
74260         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
74261         * math/math_private.h: Likewise.
74262         * stdlib/tst-strtod.c: Likewise.
74263         * sysdeps/i386/i486/bits/atomic.h: Likewise.
74264         * sysdeps/x86_64/bits/atomic.h: Likewise.
74266 2012-03-02  David S. Miller  <davem@davemloft.net>
74268         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
74269         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
74270         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
74271         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
74272         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
74273         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
74274         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
74275         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
74277 2012-03-02  Roland McGrath  <roland@hack.frob.com>
74279         [BZ #13792]
74280         * manual/examples/README: New file, says the example source files
74281         can be used under GPL>=2.
74282         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
74283         line containing just "*/".
74284         * manual/examples/add.c: Add copyright header (GPL>=2).
74285         * manual/examples/argp-ex1.c: Likewise.
74286         * manual/examples/argp-ex2.c: Likewise.
74287         * manual/examples/argp-ex3.c: Likewise.
74288         * manual/examples/argp-ex4.c: Likewise.
74289         * manual/examples/atexit.c: Likewise.
74290         * manual/examples/db.c: Likewise.
74291         * manual/examples/dir.c: Likewise.
74292         * manual/examples/dir2.c: Likewise.
74293         * manual/examples/execinfo.c: Likewise.
74294         * manual/examples/filecli.c: Likewise.
74295         * manual/examples/filesrv.c: Likewise.
74296         * manual/examples/fmtmsgexpl.c: Likewise.
74297         * manual/examples/genpass.c: Likewise.
74298         * manual/examples/inetcli.c: Likewise.
74299         * manual/examples/inetsrv.c: Likewise.
74300         * manual/examples/isockad.c: Likewise.
74301         * manual/examples/longopt.c: Likewise.
74302         * manual/examples/memopen.c: Likewise.
74303         * manual/examples/memstrm.c: Likewise.
74304         * manual/examples/mkfsock.c: Likewise.
74305         * manual/examples/mkisock.c: Likewise.
74306         * manual/examples/mygetpass.c: Likewise.
74307         * manual/examples/pipe.c: Likewise.
74308         * manual/examples/popen.c: Likewise.
74309         * manual/examples/rprintf.c: Likewise.
74310         * manual/examples/search.c: Likewise.
74311         * manual/examples/select.c: Likewise.
74312         * manual/examples/setjmp.c: Likewise.
74313         * manual/examples/sigh1.c: Likewise.
74314         * manual/examples/sigusr.c: Likewise.
74315         * manual/examples/stpcpy.c: Likewise.
74316         * manual/examples/strdupa.c: Likewise.
74317         * manual/examples/strftim.c: Likewise.
74318         * manual/examples/strncat.c: Likewise.
74319         * manual/examples/subopt.c: Likewise.
74320         * manual/examples/swapcontext.c: Likewise.
74321         * manual/examples/termios.c: Likewise.
74322         * manual/examples/testopt.c: Likewise.
74323         * manual/examples/testpass.c: Likewise.
74324         * manual/examples/timeval_subtract.c: Likewise.
74326         [BZ #13792]
74327         * manual/time.texi (Elapsed Time): Move timeval_subtract example
74328         function to ...
74329         * manual/timeval_subtract.c.texi: ... here, new file.
74331 2012-03-02  David S. Miller  <davem@davemloft.net>
74333         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
74335 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
74337         [BZ #3976]
74338         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
74339         (__sin): Save and restore rounding mode and use round-to-nearest
74340         for all computations.
74341         (__cos): Save and restore rounding mode and use round-to-nearest
74342         for all computations.
74343         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
74344         <fenv.h>.
74345         (tan): Save and restore rounding mode and use round-to-nearest for
74346         all computations.
74347         * math/libm-test.inc (cos_test_tonearest): New function.
74348         (cos_test_towardzero): Likewise.
74349         (cos_test_downward): Likewise.
74350         (cos_test_upward): Likewise.
74351         (sin_test_tonearest): Likewise.
74352         (sin_test_towardzero): Likewise.
74353         (sin_test_downward): Likewise.
74354         (sin_test_upward): Likewise.
74355         (tan_test_tonearest): Likewise.
74356         (tan_test_towardzero): Likewise.
74357         (tan_test_downward): Likewise.
74358         (tan_test_upward): Likewise.
74359         (main): Call the new functions.
74360         * sysdeps/i386/fpu/libm-test-ulps: Update.
74361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74363         [BZ #10135]
74364         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
74365         small n, then large n, before computing and testing k+n.
74366         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
74367         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
74368         Likewise.
74369         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
74370         Likewise.
74371         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
74372         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
74373         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
74374         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
74375         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
74376         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
74377         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
74378         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
74379         * math/libm-test.inc (scalbn_test): Add more tests.
74380         (scalbln_test): Likewise.
74382         * manual/filesys.texi (mode_t): Describe constraints on size and
74383         signedness, not exact equivalence to a particular type.
74384         (ino_t): Likewise.
74385         (ino64_t): Likewise.
74386         (dev_t): Likewise.
74387         (nlink_t): Likewise.
74388         (blkcnt_t): Likewise.
74389         (blkcnt64_t): Likewise.
74390         * manual/llio.texi (off_t): Likewise.
74392         [BZ #3976]
74393         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
74394         (__ieee754_exp): Save and restore rounding mode and use
74395         round-to-nearest for all computations.
74396         * math/libm-test.inc (exp_test_tonearest): New function.
74397         (exp_test_towardzero): Likewise.
74398         (exp_test_downward): Likewise.
74399         (exp_test_upward): Likewise.
74400         (main): Call the new functions.
74401         * sysdeps/i386/fpu/libm-test-ulps: Update.
74402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74404 2012-03-01  Chris Demetriou  <cgd@google.com>
74406         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
74407         have predictable order.
74409 2012-03-01  David S. Miller  <davem@davemloft.net>
74411         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
74413         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
74414         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
74415         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
74416         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
74418         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
74419         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
74420         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
74421         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
74422         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
74423         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
74424         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
74425         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
74426         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
74428         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74430         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
74431         * sysdeps/sparc/fpu/libm-test-ulps: to here.
74432         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
74434         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
74435         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
74436         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
74437         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
74438         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
74439         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
74440         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
74441         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
74442         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
74443         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
74444         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
74445         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
74446         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
74447         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
74448         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
74449         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
74450         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
74451         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
74452         * sysdeps/sparc/elf/configure: Regenerated.
74454 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
74456         * configure.in (AS, LD): Require binutils 2.20 or later.
74457         * configure: Regenerated.
74458         * manual/install.texi (Tools for Compilation): Give binutils 2.20
74459         as required minimum version.
74460         * INSTALL: Regenerated.
74462         [BZ #2541]
74463         [BZ #4108]
74464         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
74465         before squaring exponent.
74466         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
74467         bottom long double and 27 bits of top long double before squaring
74468         exponent.
74469         * math/libm-test.inc (erfc_test): Add more tests.
74470         * sysdeps/i386/fpu/libm-test-ulps: Update.
74471         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
74472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74474 2012-03-01  Kai Tietz  <ktietz@redhat.com>
74476         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
74477         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
74478         containing bit-fields.
74479         * soft-fp/extended.h (_FP_UNION_E): Likewise.
74480         * soft-fp/single.h (_FP_UNION_S): Likewise.
74481         * soft-fp/double.h (_FP_UNION_D): Likewise.
74483 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
74485         [BZ #13786]
74486         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
74487         not include ../strcmp.S.
74488         [USE_AS_STRNCASECMP_L]: Likewise.
74489         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
74490         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
74491         * sysdeps/i386/i686/multiarch/strncase_l-c.c
74492         (__strncasecmp_l_ia32): Define as alias to
74493         __strncasecmp_l_nonascii.
74495         [BZ #5794]
74496         * math/libm-test.inc (expm1_test): Add test for bug 5794.
74497         * sysdeps/i386/fpu/libm-test-ulps: Update.
74498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74500         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
74501         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74503 2012-02-29  Jeff Law  <law@redhat.com>
74505         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
74506         out of bounds read.
74508 2012-02-29  Marek Polacek  <polacek@redhat.com>
74510         [BZ #13706]
74511         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
74512         * elf/Makefile: Add rules to run tst-unused-dep.out.
74514 2012-02-28  David S. Miller  <davem@davemloft.net>
74516         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
74517         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
74518         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
74519         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
74520         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
74521         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
74523 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
74525         * math/libm-test.inc (llround_test): Move one test from
74526         lround_test.  Use TEST_f_L in moved test.
74527         (lround_test): Move misplaced test to llround_test.  Add testcase
74528         from bug 2561.
74530 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
74532         * sysdeps/x86_64/fpu/e_expf.S: New file.
74533         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
74535 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
74537         [BZ #13637]
74538         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
74539         of remain_len that may cause incomplete multi-byte character and
74540         false match.
74541         * posix/bug-regex33.c: New file.
74542         * posix/Makefile (tests): Add bug-regex33.
74544 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
74546         * manual/macros.texi: New file.
74547         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
74548         * manual/libc.texinfo: Include macros.texi.
74549         * manual/creatute.texi: Likewise.
74550         * manual/install.texi: Likewise.
74551         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
74552         @glibcadj{} in references to the GNU C Library.
74553         * manual/charset.texi: Likewise.
74554         * manual/conf.texi: Likewise.
74555         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
74556         when not using those macros.
74557         * manual/creature.texi: Likewise.
74558         * manual/crypt.texi: Likewise.
74559         * manual/errno.texi: Likewise.
74560         * manual/filesys.texi: Likewise.
74561         * manual/header.texi: Likewise.
74562         * manual/install.texi: Likewise.
74563         * manual/intro.texi: Likewise.
74564         * manual/io.texi: Likewise.
74565         * manual/job.texi: Likewise.
74566         * manual/lang.texi: Likewise.
74567         * manual/libc.texiinfo: Likewise.
74568         * manual/llio.texi: Likewise.
74569         * manual/locale.texi: Likewise.
74570         * manual/maint.texi: Likewise.
74571         * manual/math.texi: Likewise.
74572         * manual/memory.texi: Likewise.
74573         * manual/message.texi: Likewise.
74574         * manual/nss.texi: Likewise.
74575         * manual/pattern.texi: Likewise.
74576         * manual/process.texi: Likewise.
74577         * manual/resource.texi: Likewise.
74578         * manual/search.texi: Likewise.
74579         * manual/setjmp.texi: Likewise.
74580         * manual/signal.texi: Likewise.
74581         * manual/socket.texi: Likewise.
74582         * manual/startup.texi: Likewise.
74583         * manual/stdio.texi: Likewise.
74584         * manual/string.texi: Likewise.
74585         * manual/sysinfo.texi: Likewise.
74586         * manual/syslog.texi: Likewise.
74587         * manual/terminal.texi: Likewise.
74588         * manual/time.texi: Likewise.
74589         * manual/users.texi: Likewise.
74590         * INSTALL: Regenerated.
74591         * NOTES: Regenerated.
74592         * sysdeps/gnu/errlist.c: Regenerated.
74594 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
74596         * include/dirent.h: Include <dirstream.h> before
74597         <dirent/dirent.h>.
74599 2012-02-28  David S. Miller  <davem@davemloft.net>
74601         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
74602         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
74603         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
74604         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
74606 2012-02-27  David S. Miller  <davem@davemloft.net>
74608         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
74609         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
74610         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
74611         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
74613         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
74614         frame pointer instead of stack pointer relative arg slot.
74615         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
74616         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
74617         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
74619 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
74621         [BZ #3992]
74622         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
74624 2012-02-27  David S. Miller  <davem@davemloft.net>
74626         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
74627         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
74628         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
74629         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
74630         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
74631         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
74632         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
74633         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
74635 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
74637         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
74638         later.  Allow versions 5-9.
74639         * configure: Regenerated.
74640         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
74641         required minimum version and 4.6 as recommended version.  Do not
74642         mention bugs in GCC 2.7 and 2.8.
74643         * INSTALL: Regenerated.
74645 2012-02-27  David S. Miller  <davem@davemloft.net>
74647         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
74648         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
74649         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
74650         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
74651         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
74652         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
74653         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
74654         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
74656         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
74657         manipulate bits before adding and subtracting TWO112[sx].
74658         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
74660 2012-02-27  Roland McGrath  <roland@hack.frob.com>
74662         [BZ #13775]
74663         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
74664         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
74665         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
74666         being in POSIX, because they are in 1003.1-2008.
74668         * rt/tst-aio.c: Include <fcntl.h>.
74669         * rt/tst-aio7.c: Likewise.
74670         * rt/tst-aio64.c: Likewise.
74672         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
74674 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
74676         * manual/install.texi (--with-headers): Describe headers as
74677         interface headers, not private headers.
74678         (Specific advice for GNU/Linux systems): Describe use of headers
74679         from "make headers_install", not private headers from older
74680         kernels.
74681         * INSTALL: Regenerated.
74682         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
74683         Change to 2.6.19.
74684         * sysdeps/unix/sysv/linux/configure: Regenerated.
74686         * manual/llio.texi (fclean): Remove documentation.
74688         * manual/Makefile (libc-texi-generated): New variable.  Include
74689         version.texi.
74690         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
74691         $(libc-texi-generated), not duplicated list of files.
74692         (version.texi, stamp-version): New rules.
74693         (realclean): Remove $(libc-texi-generated), not individual files
74694         from that list.  Do not remove dir-add.texinfo.
74695         * manual/libc.texinfo: Comment out uses of edition numbers and
74696         references to printed manual.  Remove last-updated dates.
74697         (EDITION): Comment out.
74698         (ISBN): Likewise.
74699         (VERSION, UPDATED): Remove.
74700         (version.texi): Include.
74702 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
74704         * sysdeps/posix/spawni.c: Include <signal.h>.
74705         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
74706         * sysdeps/pthread/aio_fsync.c: Likewise.
74708 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
74710         * conform/Makefile (tests): Run only when not cross-compiling and
74711         when fast-check is not defined.
74713         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
74714         * conform/data/limits.h-data: Fixes for POSIX2008.
74715         * conform/run-conformtest.sh: Run all tests.
74716         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
74717         headers.
74718         * include/bits/dlfcn.h: Likewise.
74719         * include/langinfo.h: Likewise.
74720         * include/monetary.h: Likewise.
74721         * include/sys/poll.h: Likewise.
74723         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
74724         for __USE_GNU.
74725         * posix/spawn.h: Define __need_sigset_t.
74726         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
74727         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
74728         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
74729         to get sigevent_t only.
74730         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
74731         only for __USE_GNU.
74732         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
74733         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
74734         process_vm_writev only for __USE_GNU.
74735         * termios/termios.h: Declare tcgetsid also for POSIX2008.
74737         * conform/Makefile: For now ignore errors from run-conformtest.
74738         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
74739         POSIX to avoid namespace pollution.  Don't prepend headers.
74740         * conform/data/aio.h-data: Fixes for POSIX testing.
74741         * conform/data/fcntl.h-data: Likewise.
74742         * conform/data/glob.h-data: Likewise.
74743         * conform/data/grp.h-data: Likewise.
74744         * conform/data/pthread.h-data: Likewise.
74745         * conform/data/pwd.h-data: Likewise.
74746         * conform/data/signal.h-data: Likewise.
74747         * conform/data/spawn.h-data: Likewise.
74748         * conform/data/stdio.h-data: Likewise.
74749         * conform/data/stdlib.h-data: Likewise.
74750         * conform/data/stropts.h-data: Likewise.
74751         * conform/data/sys/mman.h-data: Likewise.
74752         * conform/data/sys/stat.h-data: Likewise.
74753         * conform/data/sys/types.h-data: Likewise.
74754         * conform/data/sys/wait.h-data: Likewise.
74755         * conform/data/time.h-data: Likewise.
74756         * conform/data/unistd.h-data: Likewise.
74757         * conform/data/utime.h-data: Likewise.
74759         * io/sys/stat.h: fchmod was always in POSIX.
74760         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
74761         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
74762         * rt/aio.h: Define __need_timespec before including <time.h>.
74763         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
74764         struct.  Add forward declaration of pthread_attr_t and use it in
74765         sigevent.
74766         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
74767         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
74768         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
74769         always remove CLK_TCK definition.
74771 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
74773         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
74775 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
74777         * conform/run-conformtest.sh: New file.
74778         * conform/Makefile: Run run-conformtest for tests.
74779         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
74780         support.
74782         * conform/data/uchar.h-data: New file.
74783         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
74784         * conform/data/arpa/inet.h-data: Likewise.
74785         * conform/data/assert.h-data: Likewise.
74786         * conform/data/complex.h-data: Likewise.
74787         * conform/data/cpio.h-data: Likewise.
74788         * conform/data/ctype.h-data: Likewise.
74789         * conform/data/dirent.h-data: Likewise.
74790         * conform/data/dlfcn.h-data: Likewise.
74791         * conform/data/errno.h-data: Likewise.
74792         * conform/data/fcntl.h-data: Likewise.
74793         * conform/data/float.h-data: Likewise.
74794         * conform/data/fmtmsg.h-data: Likewise.
74795         * conform/data/fnmatch.h-data: Likewise.
74796         * conform/data/ftw.h-data: Likewise.
74797         * conform/data/glob.h-data: Likewise.
74798         * conform/data/grp.h-data: Likewise.
74799         * conform/data/iconv.h-data: Likewise.
74800         * conform/data/inttypes.h-data: Likewise.
74801         * conform/data/langinfo.h-data: Likewise.
74802         * conform/data/libgen.h-data: Likewise.
74803         * conform/data/limits.h-data: Likewise.
74804         * conform/data/locale.h-data: Likewise.
74805         * conform/data/math.h-data: Likewise.
74806         * conform/data/monetary.h-data: Likewise.
74807         * conform/data/mqueue.h-data: Likewise.
74808         * conform/data/ndbm.h-data: Likewise.
74809         * conform/data/net/if.h-data: Likewise.
74810         * conform/data/netdb.h-data: Likewise.
74811         * conform/data/netinet/in.h-data: Likewise.
74812         * conform/data/nl_types.h-data: Likewise.
74813         * conform/data/poll.h-data: Likewise.
74814         * conform/data/pthread.h-data: Likewise.
74815         * conform/data/pwd.h-data: Likewise.
74816         * conform/data/regex.h-data: Likewise.
74817         * conform/data/sched.h-data: Likewise.
74818         * conform/data/search.h-data: Likewise.
74819         * conform/data/semaphore.h-data: Likewise.
74820         * conform/data/setjmp.h-data: Likewise.
74821         * conform/data/signal.h-data: Likewise.
74822         * conform/data/spawn.h-data: Likewise.
74823         * conform/data/stdarg.h-data: Likewise.
74824         * conform/data/stdio.h-data: Likewise.
74825         * conform/data/stdlib.h-data: Likewise.
74826         * conform/data/string.h-data: Likewise.
74827         * conform/data/strings.h-data: Likewise.
74828         * conform/data/stropts.h-data: Likewise.
74829         * conform/data/sys/ipc.h-data: Likewise.
74830         * conform/data/sys/mman.h-data: Likewise.
74831         * conform/data/sys/msg.h-data: Likewise.
74832         * conform/data/sys/resource.h-data: Likewise.
74833         * conform/data/sys/select.h-data: Likewise.
74834         * conform/data/sys/sem.h-data: Likewise.
74835         * conform/data/sys/shm.h-data: Likewise.
74836         * conform/data/sys/socket.h-data: Likewise.
74837         * conform/data/sys/stat.h-data: Likewise.
74838         * conform/data/sys/statvfs.h-data: Likewise.
74839         * conform/data/sys/time.h-data: Likewise.
74840         * conform/data/sys/timeb.h-data: Likewise.
74841         * conform/data/sys/times.h-data: Likewise.
74842         * conform/data/sys/types.h-data: Likewise.
74843         * conform/data/sys/uio.h-data: Likewise.
74844         * conform/data/sys/un.h-data: Likewise.
74845         * conform/data/sys/utsname.h-data: Likewise.
74846         * conform/data/sys/wait.h-data: Likewise.
74847         * conform/data/syslog.h-data: Likewise.
74848         * conform/data/tar.h-data: Likewise.
74849         * conform/data/termios.h-data: Likewise.
74850         * conform/data/utime.h-data: Likewise.
74851         * conform/data/utmpx.h-data: Likewise.
74852         * conform/data/varargs.h-data: Likewise.
74853         * conform/data/wchar.h-data: Likewise.
74854         * conform/data/wctype.h-data: Likewise.
74855         * conform/data/wordexp.h-data: Likewise.
74857         * include/stropts.h: New file.
74858         * include/uchar.h: New file.
74859         * include/aio.h: Changes to allow conformtest.pl to use the headers.
74860         * include/assert.h: Likewise.
74861         * include/ctype.h: Likewise.
74862         * include/dirent.h: Likewise.
74863         * include/dlfcn.h: Likewise.
74864         * include/fcntl.h: Likewise.
74865         * include/fnmatch.h: Likewise.
74866         * include/glob.h: Likewise.
74867         * include/grp.h: Likewise.
74868         * include/libio.h: Likewise.
74869         * include/locale.h: Likewise.
74870         * include/math.h: Likewise.
74871         * include/net/if.h: Likewise.
74872         * include/netdb.h: Likewise.
74873         * include/netinet/in.h: Likewise.
74874         * include/pthread.h: Likewise.
74875         * include/pwd.h: Likewise.
74876         * include/regex.h: Likewise.
74877         * include/sched.h: Likewise.
74878         * include/search.h: Likewise.
74879         * include/setjmp.h: Likewise.
74880         * include/signal.h: Likewise.
74881         * include/stdio.h: Likewise.
74882         * include/stdlib.h: Likewise.
74883         * include/string.h: Likewise.
74884         * include/sys/cdefs.h: Likewise.
74885         * include/sys/mman.h: Likewise.
74886         * include/sys/msg.h: Likewise.
74887         * include/sys/resource.h: Likewise.
74888         * include/sys/select.h: Likewise.
74889         * include/sys/socket.h: Likewise.
74890         * include/sys/stat.h: Likewise.
74891         * include/sys/statvfs.h: Likewise.
74892         * include/sys/time.h: Likewise.
74893         * include/sys/times.h: Likewise.
74894         * include/sys/uio.h: Likewise.
74895         * include/sys/utsname.h: Likewise.
74896         * include/sys/wait.h: Likewise.
74897         * include/termios.h: Likewise.
74898         * include/time.h: Likewise.
74899         * include/ulimit.h: Likewise.
74900         * include/unistd.h: Likewise.
74901         * include/utime.h: Likewise.
74902         * include/wchar.h: Likewise.
74903         * include/wctype.h: Likewise.
74904         * include/wordexp.h: Likewise.
74906         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
74908         * time/time.h: TIME_UTC must be a macro.
74909         Make timespec_get available for ISO C11 only as well.
74911 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
74913         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
74914         Reported by Peng Haitao <penght@cn.fujitsu.com>.
74916 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
74918         * configure.in: Use -o not -a in test for unsupported multi-arch.
74920 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
74922         * manual/texinfo.tex: Update to version 2012-01-19.16.
74924 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
74926         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
74928 2012-02-24  Roland McGrath  <roland@hack.frob.com>
74930         [BZ #13738]
74931         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
74932         * manual/fdl-1.3.texi: New file.
74933         * manual/fdl-1.1.texi: File removed.
74935         [BZ #13738]
74936         * manual/libc.texinfo (FDL_VERSION): New @set.
74937         Use it for mention of FDL in cover text.
74938         (Documentation License): Use it in @include file name.
74940 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
74941             Roland McGrath  <roland@hack.frob.com>
74943         [BZ #5461]
74944         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
74945         (not LONG_LONG_MAX and LONG_LONG_MIN.
74946         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
74947         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
74948         name.
74949         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
74951 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
74953         [BZ #2547]
74954         [BZ #11365]
74955         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
74956         manipulate bits before adding and subtracting TWO23[sx].
74957         * math/libm-test.inc (nearbyint_test): Add more tests.
74959 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
74961         [BZ #2548]
74962         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
74963         bits before adding and subtracting TWO23[sx].
74964         * math/libm-test.inc (rint_test): Add more tests.
74965         (rint_test_tonearest): Likewise.
74966         (rint_test_towardzero): Likewise.
74967         (rint_test_downward): Likewise.
74968         (rint_test_upward: Likewise.
74970 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
74972         [BZ #10110]
74973         * include/stdc-predef.h: New file.  Extracted from features.h.
74974         * include/features.h: Include stdc-predef.h.
74975         * Makefile (headers): Add stdc-predef.h.
74976         * CONFORMANCE (Compiler limitations): Update.
74978 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
74980         * manual/libc.texinfo (VERSION, UPDATED): Revert.
74982 2012-02-21  David S. Miller  <davem@davemloft.net>
74984         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
74985         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
74987 2012-02-20  David S. Miller  <davem@davemloft.net>
74989         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
74990         using a normal save/restore sequence, rather than allocating a
74991         dummy stack frame just to store a frame pointer and restore.
74992         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
74994 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
74996         * manual/install.texi: Fix stray word in line-wrapped comment.
74998 2012-02-20  David S. Miller  <davem@davemloft.net>
75000         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
75001         both binutils and gcc support GOTDATA.
75003         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
75004         "rd %pc" in the PIC register setup sequences.
75006         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
75007         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
75008         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
75009         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
75010         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
75011         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
75012         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
75013         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
75014         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
75015         (SYSCALL_ERROR_HANDLER): Likewise.
75016         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
75017         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
75018         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
75019         (SYSCALL_ERROR_HANDLER): Likewise.
75021         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
75022         (HAVE_GCC_GOTDATA): New.
75023         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
75024         relocation support in both binutils and gcc.
75025         * sysdeps/sparc/elf/configure: Regenerate.
75027         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
75028         * sysdeps/sparc/sparc32/elf/configure: Delete.
75029         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
75030         * sysdeps/sparc/sparc64/elf/configure: Delete.
75031         * sysdeps/sparc/elf/configure.in: New file.
75032         * sysdeps/sparc/elf/configure: Generate.
75034         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
75035         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
75036         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
75037         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
75038         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
75040 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
75042         * manual/install.texi: Do not mention specific glibc version
75043         numbers.
75044         * manual/libc.texinfo (VERSION, UPDATED): Update.
75045         (@copying): Use @copyright{} and range of years.
75047 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
75049         [BZ #13695]
75050         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
75051         [crti.S not in sysdirs] (generated): Do not append.
75052         [crti.S not in sysdirs] (omit-deps): Likewise.
75053         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
75054         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
75055         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
75056         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
75057         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
75058         Likewise.
75059         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
75060         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
75061         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
75062         * csu/defs.awk: Remove file.
75063         * sysdeps/generic/initfini.c: Likewise.
75064         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
75065         variable.
75066         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
75067         Likewise.
75069 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
75071         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
75072         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
75073         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
75074         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
75075         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
75076         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
75077         <bits/epoll.h>.
75078         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
75079         (__EPOLL_PACKED): Define to empty if not defined by
75080         <bits/epoll.h>.
75081         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
75082         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75083         bits/epoll.h.
75085 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
75087         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
75088         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
75089         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
75090         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
75091         <bits/timerfd.h>.
75092         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
75093         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75094         bits/timerfd.h.
75096 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
75098         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
75099         in C locale.
75100         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
75101         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
75102         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
75103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75105 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
75107         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75108         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
75110 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
75112         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
75113         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
75114         defined.
75115         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
75116         Likewise.
75117         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
75118         entry for 2.16.
75120 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
75122         * math/w_acos.c: Use non-signaling floating-point comparisons.
75123         * math/w_acosf.c: Likewise.
75124         * math/w_acosh.c: Likewise.
75125         * math/w_acoshf.c: Likewise.
75126         * math/w_acoshl.c: Likewise.
75127         * math/w_acosl.c: Likewise.
75128         * math/w_asin.c: Likewise.
75129         * math/w_asinf.c: Likewise.
75130         * math/w_asinl.c: Likewise.
75131         * math/w_atanh.c: Likewise.
75132         * math/w_atanhf.c: Likewise.
75133         * math/w_atanhl.c: Likewise.
75134         * math/w_exp2.c: Likewise.
75135         * math/w_exp2f.c: Likewise.
75136         * math/w_exp2l.c: Likewise.
75137         * math/w_j0.c: Likewise.
75138         * math/w_j0f.c: Likewise.
75139         * math/w_j0l.c: Likewise.
75140         * math/w_j1.c: Likewise.
75141         * math/w_j1f.c: Likewise.
75142         * math/w_j1l.c: Likewise.
75143         * math/w_jn.c: Likewise.
75144         * math/w_jnf.c: Likewise.
75145         * math/w_log.c: Likewise.
75146         * math/w_log10.c: Likewise.
75147         * math/w_log10f.c: Likewise.
75148         * math/w_log10l.c: Likewise.
75149         * math/w_log2.c: Likewise.
75150         * math/w_log2f.c: Likewise.
75151         * math/w_log2l.c: Likewise.
75152         * math/w_logf.c: Likewise.
75153         * math/w_logl.c: Likewise.
75154         * math/w_sqrt.c: Likewise.
75155         * math/w_sqrtf.c: Likewise.
75156         * math/w_sqrtl.c: Likewise.
75157         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
75158         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
75159         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
75160         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
75161         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
75163 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
75165         [BZ #9739]
75166         * manual/string.texi (strnlen): Use correct parameter name in
75167         equivalent expression.
75169 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
75171         [BZ #11174]
75172         * manual/users.texi (seteuid): Consistently use neweuid for
75173         argument name.
75175 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
75177         [BZ #13704]
75178         * manual/nss.texi (Services in the NSS configuration): Correct
75179         list of services in example configuration file.
75181 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
75183         [BZ #11322]
75184         * manual/arith.texi: Remove statements about negative zero
75185         behaving identically to zero.
75187 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
75189         [BZ #5993]
75190         * manual/install.texi: Do not document upgrading from libc5.
75192 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
75194         [BZ #4596]
75195         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
75197 2012-02-18  David S. Miller  <davem@davemloft.net>
75199         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
75200         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
75201         %o7 across the call.
75202         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
75203         instead.
75204         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
75205         SETUP_PIC_REG_LEAF.
75206         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
75207         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
75208         * sysdeps/sparc/crtn.S: Likewise.
75210 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
75212         * aout/Makefile: Remove.
75214 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
75216         [BZ #13058]
75217         * manual/examples/argp-ex1.c (main): Format definition in GNU
75218         style.
75219         * manual/examples/argp-ex2.c (main): Likewise.
75220         * manual/examples/argp-ex3.c (main): Likewise.
75221         * manual/examples/argp-ex4.c (main): Likewise.
75222         * manual/examples/longopt.c (main): Use new-style prototype
75223         definition.
75224         * manual/examples/strncat.c (main): Specify return type and use
75225         (void) for arguments.
75226         * manual/examples/subopt.c (main): Use char **argv argument.
75228 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75230         [BZ #5077]
75231         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
75232         rounding modes.
75234 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
75236         [BZ #6907]
75237         * manual/string.texi (strchr): Change when strchrnul is
75238         recommended.
75240 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
75242         [BZ #174]
75243         * manual/locale.texi (setlocale): Document LOCPATH.
75245 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75247         [BZ #10210]
75248         * manual/process.texi (execle): Move @dots{} before last argument.
75250 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
75252         [BZ #12047]
75253         * manual/charset.texi (Generic Charset Conversion): Fix typo
75254         (LC_TYPE -> LC_CTYPE).
75256 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
75258         [BZ #5805]
75259         * manual/arith.texi (scalbn): Use @var{} on parameter names.
75260         (scalbnf): Likewise.
75261         (scalbnl): Likewise.
75262         (scalbln): Likewise.
75263         (scalblnf): Likewise.
75264         (scalblnl): Likewise.
75265         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
75266         (vwarnx): Likewise.
75267         (verr): Likewise.
75268         (verrx): Likewise.
75269         * manual/filesys.texi (telldir): Use braces around return type.
75270         * manual/llio.texi (mmap): Add space after comma.
75271         (mmap64): Likewise.
75272         * manual/math.texi (jn): Use @var{} on parameter names.
75273         (jnf): Likewise.
75274         (jnl): Likewise.
75275         (yn): Likewise.
75276         (ynf): Likewise.
75277         (ynl): Likewise.
75278         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
75279         line.
75280         * manual/resource.texi (ulimit): Use @dots{} instead of literal
75281         "...".
75282         (sched_get_priority_min): Remove semicolon on @deftypefun line.
75283         (sched_get_priority_max): Likewise.
75284         * manual/signal.texi (sigvec): Add space after comma.
75285         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
75286         names.
75287         (if_indextoname): Likewise.
75288         (if_freenameindex): Likewise.
75289         (sendto): Use ',' instead of '.' in prototype.
75290         * manual/startup.texi (syscall): Use @dots{} instead of literal
75291         "...".
75292         * manual/stdio.texi (__fpending): Separate initial words of
75293         paragraph from @deftypefun line.
75294         * manual/syslog.texi (syslog): Use @dots{} instead of literal
75295         "...".
75296         (vsyslog): Use @var{} on parameter names.
75297         * manual/terminal.texi (stty): Use @var{} on parameter names.
75298         * manual/users.texi (getutmp): Use @var{} on parameter names.
75299         (getutmpx): Likewise.
75301 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75303         [BZ #6884]
75304         * manual/stdio.texi (fopen): Fix typos in description of
75305         ",ccs=STRING".
75307 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
75309         [BZ #4026]
75310         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
75311         get clock_id definition.
75313 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
75315         [BZ #4822]
75316         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
75317         (madvise): Cast every argument to void on its own.
75319 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75321         [BZ #9902]
75322         * manual/startup.texi (Exit Status): Fix typo.
75324 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75326         [BZ #10140]
75327         * manual/examples/argp-ex1.c: Include <stdlib.h>.
75328         * manual/examples/argp-ex2.c: Likewise.
75329         * manual/examples/argp-ex3.c: Likewise.
75331 2012-02-16  Richard Henderson  <rth@redhat.com>
75333         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
75334         * sysdeps/s390/s390-32/initfini.c: Remove.
75335         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
75336         * sysdeps/s390/s390-64/initfini.c: Remove.
75338 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
75340         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
75341         compiler output for sysdeps/generic/initfini.c.
75342         * sysdeps/sh/elf/initfini.c: Remove file.
75344 2012-02-16  David S. Miller  <davem@davemloft.net>
75346         [BZ #11494]
75347         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
75349         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
75350         * sysdeps/sparc/crti.S: New file.
75351         * sysdeps/sparc/crtn.S: New file.
75352         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
75353         * sysdeps/sparc/sparc64/Makefile: Likewise.
75355 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
75357         [BZ #3335]
75358         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
75360 2012-02-15  Roland McGrath  <roland@hack.frob.com>
75362         [BZ #4822]
75363         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
75365         * mach/devstream.c (cookie_io_functions_t): Macro removed.
75366         (write, read, close): Likewise.
75367         Patch by Aurelien Jarno <aurelien@aurel32.net>.
75369 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
75371         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
75372         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
75373         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
75374         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
75375         <bits/signalfd.h>.
75376         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
75377         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75378         bits/signalfd.h.
75380 2012-02-14  Marek Polacek  <polacek@redhat.com>
75382         * sysdeps/x86_64/crti.S: New file.
75383         * sysdeps/x86_64/crtn.S: New file.
75384         * sysdeps/x86_64/elf/initfini.c: Remove file.
75386 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
75388         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
75389         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
75390         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
75391         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
75392         <bits/inotify.h>.
75393         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
75394         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75395         bits/inotify.h.
75397 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
75399         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
75400         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
75401         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
75402         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
75403         <bits/eventfd.h>.
75404         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
75405         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75406         bits/eventfd.h.
75408 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
75410         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
75411         __feraiseexcept instead of feraiseexcept.
75413         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
75414         nanosleep invocations.
75415         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
75416         strings, and add error checking for a nanosleep invocations.
75418 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
75420         Replace FSF snail mail address with URLs, as per GNU coding standards.
75421         Most of the snail mail addresses were wrong anyway, and omitting
75422         them makes the source code easier to maintain.  Almost all of the
75423         changes are to license notices and to locale LC_IDENTIFICATION
75424         addresses, except for this one:
75425         * manual/libc.texinfo: In "Published by", give the FSF's URL,
75426         not its snail mail address.
75428 2012-02-09  Richard Henderson  <rth@twiddle.net>
75430         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
75431         of kernel-features.h.
75433         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
75435 2012-02-08  Marek Polacek  <polacek@redhat.com>
75437         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
75438         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
75439         * sysdeps/gnu/_G_config.h: Likewise.
75440         * sysdeps/generic/_G_config.h: Likewise.
75442 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
75444         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
75445         tests.
75446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75448         * sysdeps/powerpc/powerpc32/crti.S: New file.
75449         * sysdeps/powerpc/powerpc32/crtn.S: New file.
75450         * sysdeps/powerpc/powerpc64/crti.S: New file.
75451         * sysdeps/powerpc/powerpc64/crtn.S: New file.
75453         * Makeconfig (have-initfini): Don't set.
75454         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
75455         * configure.in (nopic_initfini): Don't substitute.
75456         * config.h.in (HAVE_INITFINI): Don't #undef.
75457         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
75458         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
75460 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
75462         Support crti.S and crtn.S provided directly by architectures.
75463         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
75464         [crti.S in sysdirs] (omit-deps): Likewise.
75465         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
75466         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
75467         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
75468         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
75469         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
75470         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
75471         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
75472         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
75473         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
75474         compiler output for sysdeps/generic/initfini.c.
75475         * sysdeps/i386/elf/Makefile: Remove file.
75476         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
75478 2012-02-07  Marek Polacek  <polacek@redhat.com>
75480         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
75481         * sysdeps/gnu/_G_config.h: Likewise.
75482         * sysdeps/mach/hurd/_G_config.h: Likewise.
75484 2012-02-07  Marek Polacek  <polacek@redhat.com>
75486         * math/Makefile (tests): Add tst-CMPLX2.
75487         * math/tst-CMPLX2.c: New file.
75489 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
75491         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75493         * math/libm-test.inc (jn_test): Add missing L suffix.
75495 2012-02-06  Marek Polacek  <polacek@redhat.com>
75497         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
75498         * sysdeps/i386/fpu/e_powf.S: Likewise.
75499         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
75500         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
75501         * sysdeps/i386/fpu/e_acosh.S: Likewise.
75502         * sysdeps/i386/fpu/e_pow.S: Likewise.
75503         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
75504         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
75505         * sysdeps/i386/fpu/s_expm1.S: Likewise.
75506         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
75507         * sysdeps/i386/fpu/e_log2.S: Likewise.
75508         * sysdeps/i386/fpu/e_log2l.S: Likewise.
75509         * sysdeps/i386/fpu/e_scalb.S: Likewise.
75510         * sysdeps/i386/fpu/e_powl.S: Likewise.
75511         * sysdeps/i386/fpu/s_log1p.S: Likewise.
75512         * sysdeps/i386/fpu/e_log10f.S: Likewise.
75513         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
75514         * sysdeps/i386/fpu/e_logl.S: Likewise.
75515         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
75516         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
75517         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
75518         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
75519         * sysdeps/i386/fpu/e_log2f.S: Likewise.
75520         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
75521         * sysdeps/i386/fpu/e_log.S: Likewise.
75522         * sysdeps/i386/fpu/s_cexp.S: Likewise.
75523         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
75524         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
75525         * sysdeps/i386/fpu/e_logf.S: Likewise.
75526         * sysdeps/i386/fpu/e_log10l.S: Likewise.
75527         * sysdeps/i386/fpu/e_atanh.S: Likewise.
75528         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
75529         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
75530         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
75531         * sysdeps/i386/fpu/e_log10.S: Likewise.
75532         * sysdeps/i386/fpu/s_frexp.S: Likewise.
75533         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
75534         * sysdeps/i386/fpu/s_asinh.S: Likewise.
75535         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
75536         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
75537         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
75538         * sysdeps/i386/asm-syntax.h: Likewise.
75539         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
75540         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
75541         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
75542         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
75543         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
75544         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
75545         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
75546         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
75547         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
75548         * sysdeps/powerpc/sysdep.h: Likewise.
75549         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
75550         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
75552 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
75554         [BZ #411]
75555         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
75557 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
75559         * sysdeps/i386/sysdep.h: Include <features.h>.
75560         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
75561         version.
75563 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
75565         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
75566         Define.
75567         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
75568         LOAD_PIC_REG_STR.
75570 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
75572         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
75573         (SETUP_PIC_REG): Use GET_PC_THUNK.
75574         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
75575         macro.
75577 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
75579         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
75580         for non-PIC compilation.
75581         (SETUP_PIC_REG): Add .p2align directive.
75582         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
75583         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
75584         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
75585         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
75586         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
75587         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
75588         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
75589         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
75590         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
75591         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
75592         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
75593         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
75594         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
75595         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
75596         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
75597         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
75598         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
75599         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
75600         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
75601         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
75602         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
75603         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
75604         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
75605         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
75606         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
75607         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
75608         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
75609         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
75610         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
75611         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
75612         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
75613         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
75614         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
75615         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
75616         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
75617         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
75618         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
75619         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
75620         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
75621         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
75622         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
75624 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
75626         * math/tst-CMPLX.c: Include <stdio.h>.
75628 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
75630         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
75631         float.
75632         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
75633         * sysdeps/sparc/bits/mathdef.h: Likewise.
75635 2012-01-31  Marek Polacek  <polacek@redhat.com>
75637         * libio/libio.h: Don't define _PARAMS.
75638         * locale/programs/config.h: Don't define PARAMS.
75639         * stdlib/strtol_l.c: Likewise.
75640         (__strtol_l): Remove PARAMS from the prototype.
75642 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
75644         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
75645         names.  Just use the correct names.  Remove unnecessary wrapper
75646         functions.
75647         * malloc/arena.c: Likewise.
75648         * malloc/hooks.c: Likewise.
75650         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
75651         ARENA_TEST says not to.  Simplify test for creation of a new arena.
75652         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
75654 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
75656         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
75657         into tail calls.
75658         (update_get_addr): New function.
75659         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
75660         GET_ADDR_MODULE parameter.
75662 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
75664         * crypt/cert.c: Remove __STDC__ conditionals.
75665         * crypt/crypt-entry.c: Likewise.
75666         * crypt/crypt_util.c: Likewise.
75667         * libio/filedoalloc.c: Likewise.
75668         * libio/fileops.c: Likewise.
75669         * libio/genops.c: Likewise.
75670         * libio/iofclose.c: Likewise.
75671         * libio/iofdopen.c: Likewise.
75672         * libio/iofopen.c: Likewise.
75673         * libio/iofopen64.c: Likewise.
75674         * libio/iogetdelim.c: Likewise.
75675         * libio/iopopen.c: Likewise.
75676         * libio/obprintf.c: Likewise.
75677         * libio/oldfileops.c: Likewise.
75678         * libio/oldiofclose.c: Likewise.
75679         * libio/oldiofdopen.c: Likewise.
75680         * libio/oldiofopen.c: Likewise.
75681         * libio/oldiopopen.c: Likewise.
75682         * libio/wfiledoalloc.c: Likewise.
75683         * libio/wgenops.c: Likewise.
75684         * locale/programs/xmalloc.c: Likewise.
75685         * misc/syslog.c: Likewise.
75686         * stdio-common/xbug.c: Likewise.
75687         * string/memchr.c: Likewise.
75688         * string/memcmp.c: Likewise.
75689         * string/memrchr.c: Likewise.
75690         * string/rawmemchr.c: Likewise.
75691         * sysdeps/posix/getcwd.c: Likewise.
75692         * time/strftime_l.c: Likewise.
75694 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
75696         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
75697         * config.make.in (config-cflags-sse2avx): Define.
75698         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
75699         Fix typo.
75701 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
75703         * scripts/config.guess: Update from upstream config git repository.
75704         * scripts/config.sub: Likewise.
75706 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
75708         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
75709         (EM_NUM): Update.
75710         (R_TILEPRO_*, R_TILEGX_*): New macros.
75712         * scripts/firstversions.awk: Fix bug in version range handling.
75714         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
75716         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
75718         * include/sys/epoll.h: New file.
75719         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
75720         libc_hidden_def.
75722 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
75724         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
75725         Avoid unnecessary __WORDSIZE == 64 test.
75726         (fmaxf): Use VEX format if possible.
75727         (fmax): Likewise.
75728         (fminf): Likewise.
75729         (fmin): Likewise.
75731         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
75732         * math/math_private.h: Remove libc_fegetround* and
75733         libc_fesetround*.
75734         * sysdeps/i386/configure.in: Check for -msse2avx.
75735         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
75736         also if SSE2AVX is defined.
75737         Remove libc_fegetround* and libc_fesetround*.
75738         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
75739         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
75740         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
75741         of HAS_YMM_USABLE.
75742         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
75743         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
75744         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
75745         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
75746         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
75748         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
75750 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75752         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
75753         size is not set.
75754         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
75756 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
75758         [BZ #13618]
75759         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
75760         relocation.
75761         * Makeconfig (libm): Define.
75762         * elf/Makefile: Add rules to build and run tst-relsort1.
75763         * elf/tst-relsort1.c: New file.
75764         * elf/tst-relsort1mod1.c: New file.
75765         * elf/tst-relsort1mod2.c: New file.
75767 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
75769         * math/s_ldexp.c: Remove __STDC__ conditionals.
75770         * math/s_ldexpf.c: Likewise.
75771         * math/s_ldexpl.c: Likewise.
75772         * math/s_nextafter.c: Likewise.
75773         * math/s_nexttowardf.c: Likewise.
75774         * math/s_significand.c: Likewise.
75775         * math/s_significandf.c: Likewise.
75776         * math/s_significandl.c: Likewise.
75777         * math/w_jnl.c: Likewise.
75778         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
75779         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
75780         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
75781         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
75782         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
75783         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
75784         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
75785         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
75786         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
75787         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
75788         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
75789         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
75790         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
75791         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
75792         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
75793         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
75794         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
75795         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
75796         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
75797         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
75798         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
75799         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
75800         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
75801         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
75802         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
75803         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
75804         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
75805         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
75806         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
75807         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
75808         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
75809         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
75810         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
75811         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
75812         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
75813         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
75814         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
75815         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
75816         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
75817         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
75818         * sysdeps/ieee754/k_standard.c: Likewise.
75819         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
75820         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
75821         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
75822         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
75823         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
75824         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
75825         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
75826         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
75827         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
75828         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
75829         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
75830         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
75831         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
75832         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
75833         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
75834         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
75835         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
75836         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
75837         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
75838         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
75839         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
75840         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
75841         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
75842         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
75843         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
75844         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
75845         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
75846         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
75847         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
75848         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
75849         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
75850         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
75851         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
75852         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
75853         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
75854         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
75855         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
75856         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
75857         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
75858         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
75859         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
75860         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
75861         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
75862         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
75863         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
75864         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
75865         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
75866         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
75867         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
75868         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
75869         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
75870         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
75871         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
75872         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
75873         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
75874         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
75875         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
75876         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
75877         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
75878         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
75879         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
75880         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
75881         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
75882         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
75883         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
75884         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
75885         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
75886         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
75887         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
75888         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
75889         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
75890         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
75891         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
75892         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
75893         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
75894         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
75895         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
75896         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
75897         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
75898         * sysdeps/ieee754/s_matherr.c: Likewise.
75899         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
75900         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
75901         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
75902         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
75904 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
75906         * crypt/md5.h: Remove __STDC__ conditionals.
75907         * libio/libioP.h: Likewise.
75908         * locale/programs/config.h: Likewise.
75909         * sysdeps/generic/sysdep.h: Likewise.
75910         * sysdeps/i386/asm-syntax.h: Likewise.
75911         * sysdeps/s390/asm-syntax.h: Likewise.
75912         * sysdeps/unix/sysdep.h: Likewise.
75913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
75914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
75916 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
75918         * libio/libio.h: Remove __STDC__ conditionals.
75919         * malloc/obstack.h: Likewise.
75920         * math/complex.h: Likewise.
75921         * math/math.h: Likewise.
75922         * sysdeps/generic/_G_config.h: Likewise.
75923         * sysdeps/gnu/_G_config.h: Likewise.
75924         * sysdeps/mach/hurd/_G_config.h: Likewise.
75925         * sysdeps/powerpc/bits/mathdef.h: Likewise.
75926         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
75927         * sysdeps/sparc/bits/mathdef.h: Likewise.
75929 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
75931         [BZ #13583]
75932         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
75933         Clean up HAS_* macros.
75934         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
75935         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
75936         possible.
75937         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
75938         HAS_AVX.
75939         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
75940         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
75941         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
75942         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
75943         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
75945 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
75947         * elf/tst-unique3.cc (gets): Remove declaration.
75948         * elf/tst-unique3lib.cc (gets): Likewise.
75949         * elf/tst-unique3lib2.cc (gets): Likewise.
75950         * elf/tst-unique4.cc (gets): Likewise.
75952 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
75954         * include/stdio.h: Add C++ protection.  Add gets declarations and
75955         definitions.
75956         * debug/tst-chk1.c: Don't declare gets here.
75957         * stdio-common/tst-gets.c: Likewise.
75959 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
75961         * posix/glob: Remove directory.
75963 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
75965         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
75967 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
75969         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
75970         of the non-standard EPFNOSUPPORT.
75972 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75974         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
75975         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
75976         ANYWHERE set to 1 only on KERN_NO_SPACE error.
75978 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
75980         * wcsmbs/uchar.h: Test __STDC_VERSION__.
75982 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
75984         * nscd/aicache.c (addhstaiX): Do not cache negative results of
75985         transient errors.
75986         * nscd/grpcache.c (cache_addgr): Likewise.
75987         * nscd/hstcache.c (cache_addhst): Likewise.
75988         * nscd/initgrcache.c (addinitgroupsX): Likewise.
75989         * nscd/pwdcache.c (cache_addpw): Likewise.
75990         * nscd/servicescache.c (cache_addserv): Likewise.
75992 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
75994         * malloc/malloc.c: Various cleanups.
75995         * malloc/hooks.c: Likewise.
75997         * stdlib/Makefile (tests): Add bug-fmtmsg1.
75998         * stdlib/bug-fmtmsg1.c: New file.
76000         * stdlib/fmtmsg.c (init): Add missing unlock.
76001         Patch by Peng Haitao <penght@cn.fujitsu.com>.
76003 2012-01-12  Marek Polacek  <polacek@redhat.com>
76005         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
76006         and _GNU_SOURCE.
76008 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
76010         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
76011         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
76012         macro to ensure uniqueness of label name.
76013         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
76014         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
76016 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
76018         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
76020         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
76021         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
76022         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
76023         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
76025 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
76027         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
76029         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
76030         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
76031         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
76033         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
76035         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
76036         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
76037         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
76038         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
76040         * math/bits/math-finite.h: Add ldexp support.
76042 2012-01-10  Marek Polacek  <polacek@redhat.com>
76044         * locale/programs/localedef.h (show_archive_content): Add noreturn
76045         attribute.
76047 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
76049         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
76051 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
76053         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
76055         * io/Makefile (headers): Add bits/poll2.h.
76057 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
76059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
76060         typo #include statement.
76062 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
76064         * include/sys/cdefs.h: Define __attribute_alloc_size.
76065         * catgets/gencat.c: Add alloc_size attribute and apply consistently
76066         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
76067         * elf/pldd.c: Likewise.
76068         * iconv/iconv_charmap.c: Likewise.
76069         * iconv/iconvconfig.c: Likewise.
76070         * iconv/strtab.c: Likewise.
76071         * locale/programs/locale.c: Likewise.
76072         * locale/programs/localedef.h: Likewise.
76073         * locale/programs/simple-hash.c: Likewise.
76074         * nscd/nscd.h: Likewise.
76075         * nss/makedb.c: Likewise.
76076         * sysdeps/generic/ldconfig.h: Likewise.
76077         * locale/programs/localedef.c: Remove xmalloc prototype.
76078         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
76080 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
76082         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
76083         appropriate.
76085 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
76087         * math/Makefile (tests): Add tst-CMPLX.
76088         * math/tst-CMPLX.c: New file.
76090         * math/complex.h (CMPLXL): Fix typo.
76092         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
76093         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
76094         GLIBC_2.16.
76095         * debug/tst-chk1.c: Add poll and ppoll tests.
76096         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
76097         * include/sys/poll.h: Add hidden proto for ppoll.
76098         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
76099         * sysdeps/mach/hurd/ppoll.c: Likewise.
76100         * io/ppoll.c: Likewise.
76101         * debug/poll_chk.c: New file.
76102         * debug/ppoll_chk.c: New file.
76103         * include/bits/poll2.h: New file.
76104         * io/bits/poll2.h: New file.
76106         [BZ #1350]
76107         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
76109         * configure.in: static is always set to yes.  Remove.
76110         * config.make.in: Don't set build-static.
76111         * Makeconfig: Remove use of build-static.
76112         * dlfcn/Makefile: Likewise.
76113         * elf/Makefile: Likewise.
76114         * math/Makefile: Likewise.
76115         * misc/Makefile: Likewise.
76116         * nptl/Makefile: Likewise.
76117         * sysdeps/mach/hurd/Makefile: Likewise.
76119         * configure.in: PWD_P is not used anymore.
76120         * config.make.in: Remove PWD_P entry.
76122         * configure.in: Remove last remnants of RANLIB.
76123         No need to check for signed size_t anymore.
76124         Don't set libc_commonpagesize and libc_relro_required here for Alpha
76125         and IA-64.
76126         Remove __builtin_expect test because we require at least gcc 3.4.
76127         * aclocal.m4: Likewise.
76129         * wcsmbs/mbrtoc16.c: Implement using towc function.
76130         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
76131         * wcsmbs/wcsmbsload.c: Likewise.
76132         * iconv/gconv_simple.c: Likewise.
76133         * iconv/gconv_int.h: Likewise.
76134         * iconv/gconv_builtin.h: Likewise.
76135         * iconv/iconv_prog.c: Remove CHAR16 handling.
76137         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
76139         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
76141         * configure.in: Remove --with-elf and --enable-bounded options.
76142         Dont set base_machine for ia64.  More non-ELF conditions removed.
76143         Remove testing and setting of leading underscore information.
76144         * config.make.in (build-bounded): Set to no.
76145         * config.h.in: Remove NO_UNDERSCORES entry.
76146         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
76147         them.
76148         * csu/start.c: Remove !NO_UNDERSCORE code.
76149         * locale/localeinfo.h: Likewise.
76150         * sysdeps/generic/machine-gmon.h: Likewise.
76151         * sysdeps/generic/sysdep.h: Likewise.
76152         * sysdeps/i386/sysdep.h: Likewise.
76153         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
76154         * sysdeps/mach/sysdep.h: Likewise.
76155         * sysdeps/s390/s390-32/sysdep.h: Likewise.
76156         * sysdeps/s390/s390-64/sysdep.h: Likewise.
76157         * sysdeps/sh/sysdep.h: Likewise.
76158         * sysdeps/sparc/sparc32/alloca.S: Likewise.
76159         * sysdeps/unix/i386/sysdep.S: Likewise.
76160         * sysdeps/unix/sparc/start.c: Likewise.
76161         * sysdeps/unix/sparc/sysdep.S: Likewise.
76162         * sysdeps/unix/sparc/sysdep.h: Likewise.
76163         * sysdeps/unix/start.c: Likewise.
76164         * sysdeps/unix/x86_64/sysdep.S: Likewise.
76165         * sysdeps/x86_64/sysdep.h: Likewise.
76167 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
76169         [BZ #13553]
76170         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
76171         for non-gcc.
76172         * argp/argp-fmtstream.h: Use const instead __const.
76173         * argp/argp.h: Likewise.
76174         * assert/assert.h: Likewise.
76175         * bits/fenv.h: Likewise.
76176         * bits/sched.h: Likewise.
76177         * bits/sigset.h: Likewise.
76178         * bits/sigthread.h: Likewise.
76179         * catgets/nl_types.h: Likewise.
76180         * conform/data/pthread.h-data: Likewise.
76181         * crypt/crypt-private.h: Likewise.
76182         * crypt/crypt.h: Likewise.
76183         * crypt/crypt_util.c: Likewise.
76184         * ctype/ctype.h: Likewise.
76185         * debug/execinfo.h: Likewise.
76186         * debug/mbsnrtowcs_chk.c: Likewise.
76187         * debug/mbsrtowcs_chk.c: Likewise.
76188         * debug/wcsnrtombs_chk.c: Likewise.
76189         * debug/wcsrtombs_chk.c: Likewise.
76190         * debug/wcstombs_chk.c: Likewise.
76191         * dirent/dirent.h: Likewise.
76192         * dlfcn/dlfcn.h: Likewise.
76193         * elf/neededtest4.c: Likewise.
76194         * grp/grp.h: Likewise.
76195         * gshadow/gshadow.h: Likewise.
76196         * iconv/gconv.h: Likewise.
76197         * iconv/gconv_int.h: Likewise.
76198         * iconv/gconv_simple.c: Likewise.
76199         * iconv/iconv.h: Likewise.
76200         * iconv/loop.c: Likewise.
76201         * iconv/skeleton.c: Likewise.
76202         * include/aio.h: Likewise.
76203         * include/aliases.h: Likewise.
76204         * include/argz.h: Likewise.
76205         * include/arpa/inet.h: Likewise.
76206         * include/assert.h: Likewise.
76207         * include/dirent.h: Likewise.
76208         * include/dlfcn.h: Likewise.
76209         * include/execinfo.h: Likewise.
76210         * include/fcntl.h: Likewise.
76211         * include/fenv.h: Likewise.
76212         * include/glob.h: Likewise.
76213         * include/grp.h: Likewise.
76214         * include/libintl.h: Likewise.
76215         * include/mntent.h: Likewise.
76216         * include/netdb.h: Likewise.
76217         * include/pwd.h: Likewise.
76218         * include/rpc/netdb.h: Likewise.
76219         * include/sched.h: Likewise.
76220         * include/search.h: Likewise.
76221         * include/shadow.h: Likewise.
76222         * include/signal.h: Likewise.
76223         * include/stdio.h: Likewise.
76224         * include/stdlib.h: Likewise.
76225         * include/string.h: Likewise.
76226         * include/sys/socket.h: Likewise.
76227         * include/sys/stat.h: Likewise.
76228         * include/sys/statfs.h: Likewise.
76229         * include/sys/statvfs.h: Likewise.
76230         * include/sys/syslog.h: Likewise.
76231         * include/sys/time.h: Likewise.
76232         * include/sys/uio.h: Likewise.
76233         * include/time.h: Likewise.
76234         * include/unistd.h: Likewise.
76235         * include/utmp.h: Likewise.
76236         * include/wchar.h: Likewise.
76237         * include/wctype.h: Likewise.
76238         * inet/aliases.h: Likewise.
76239         * inet/arpa/inet.h: Likewise.
76240         * inet/netinet/ether.h: Likewise.
76241         * inet/netinet/in.h: Likewise.
76242         * intl/libintl.h: Likewise.
76243         * io/bits/fcntl2.h: Likewise.
76244         * io/fcntl.h: Likewise.
76245         * io/ftw.h: Likewise.
76246         * io/sys/poll.h: Likewise.
76247         * io/sys/stat.h: Likewise.
76248         * io/sys/statfs.h: Likewise.
76249         * io/sys/statvfs.h: Likewise.
76250         * io/utime.h: Likewise.
76251         * libio/bits/stdio.h: Likewise.
76252         * libio/bits/stdio2.h: Likewise.
76253         * libio/libio.h: Likewise.
76254         * libio/libioP.h: Likewise.
76255         * libio/stdio.h: Likewise.
76256         * locale/lc-ctype.c: Likewise.
76257         * locale/locale.h: Likewise.
76258         * login/utmp.h: Likewise.
76259         * malloc/arena.c: Likewise.
76260         * malloc/malloc.c: Likewise.
76261         * malloc/malloc.h: Likewise.
76262         * malloc/mcheck.c: Likewise.
76263         * malloc/mtrace.c: Likewise.
76264         * math/bits/mathcalls.h: Likewise.
76265         * math/fenv.h: Likewise.
76266         * math/math_private.h: Likewise.
76267         * misc/bits/error.h: Likewise.
76268         * misc/bits/syslog.h: Likewise.
76269         * misc/err.h: Likewise.
76270         * misc/error.h: Likewise.
76271         * misc/fstab.h: Likewise.
76272         * misc/mntent.h: Likewise.
76273         * misc/regexp.h: Likewise.
76274         * misc/search.h: Likewise.
76275         * misc/sgtty.h: Likewise.
76276         * misc/sys/mman.h: Likewise.
76277         * misc/sys/syslog.h: Likewise.
76278         * misc/sys/uio.h: Likewise.
76279         * misc/sys/xattr.h: Likewise.
76280         * misc/ttyent.h: Likewise.
76281         * nis/rpcsvc/ypclnt.h: Likewise.
76282         * nss/nss.h: Likewise.
76283         * posix/bits/unistd.h: Likewise.
76284         * posix/fnmatch.h: Likewise.
76285         * posix/glob.h: Likewise.
76286         * posix/sched.h: Likewise.
76287         * posix/spawn.h: Likewise.
76288         * posix/sys/wait.h: Likewise.
76289         * posix/unistd.h: Likewise.
76290         * posix/wordexp.h: Likewise.
76291         * pwd/pwd.h: Likewise.
76292         * resolv/netdb.h: Likewise.
76293         * resource/sys/resource.h: Likewise.
76294         * rt/aio.h: Likewise.
76295         * rt/bits/mqueue2.h: Likewise.
76296         * rt/mqueue.h: Likewise.
76297         * shadow/shadow.h: Likewise.
76298         * signal/signal.h: Likewise.
76299         * socket/send.c: Likewise.
76300         * socket/sendto.c: Likewise.
76301         * socket/sys/socket.h: Likewise.
76302         * stdio-common/printf.h: Likewise.
76303         * stdlib/bits/stdlib.h: Likewise.
76304         * stdlib/fmtmsg.h: Likewise.
76305         * stdlib/monetary.h: Likewise.
76306         * stdlib/stdlib.h: Likewise.
76307         * stdlib/ucontext.h: Likewise.
76308         * streams/stropts.h: Likewise.
76309         * string/argz.h: Likewise.
76310         * string/bits/string2.h: Likewise.
76311         * string/string.h: Likewise.
76312         * string/strings.h: Likewise.
76313         * sunrpc/rpc/auth.h: Likewise.
76314         * sunrpc/rpc/auth_des.h: Likewise.
76315         * sunrpc/rpc/clnt.h: Likewise.
76316         * sunrpc/rpc/netdb.h: Likewise.
76317         * sunrpc/rpc/pmap_clnt.h: Likewise.
76318         * sunrpc/rpc/xdr.h: Likewise.
76319         * sysdeps/generic/inttypes.h: Likewise.
76320         * sysdeps/generic/net/if.h: Likewise.
76321         * sysdeps/generic/sys/swap.h: Likewise.
76322         * sysdeps/gnu/net/if.h: Likewise.
76323         * sysdeps/gnu/utmpx.h: Likewise.
76324         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
76325         * sysdeps/i386/i486/bits/string.h: Likewise.
76326         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
76327         * sysdeps/s390/bits/string.h: Likewise.
76328         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
76329         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
76330         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
76331         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
76332         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
76333         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
76334         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
76335         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
76336         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
76337         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
76338         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
76339         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
76340         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
76341         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
76342         * sysdeps/unix/sysv/linux/readv.c: Likewise.
76343         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
76344         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
76345         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
76346         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
76347         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
76348         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
76349         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
76350         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
76351         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
76352         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
76353         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
76354         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
76355         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
76356         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
76357         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
76358         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
76359         * sysvipc/sys/ipc.h: Likewise.
76360         * sysvipc/sys/msg.h: Likewise.
76361         * sysvipc/sys/sem.h: Likewise.
76362         * sysvipc/sys/shm.h: Likewise.
76363         * termios/termios.h: Likewise.
76364         * time/sys/time.h: Likewise.
76365         * time/time.h: Likewise.
76366         * wcsmbs/bits/wchar2.h: Likewise.
76367         * wcsmbs/uchar.h: Likewise.
76368         * wcsmbs/wchar.h: Likewise.
76369         * wctype/wctype.h: Likewise.
76371         [BZ #13551]
76372         * Makeconfig: Remove all but ELF support including AIX support.
76373         * Makerules: Likewise.
76374         * config.h.in: Likewise.
76375         * config.make.in: Likewise.
76376         * configure: Likewise.
76377         * configure.in: Likewise.
76378         * csu/Makefile: Likewise.
76379         * csu/version.c: Likewise.
76380         * debug/Makefile: Likewise.
76381         * dlfcn/Makefile: Likewise.
76382         * elf/Makefile: Likewise.
76383         * extra-lib.mk: Likewise.
76384         * iconv/Makefile: Likewise.
76385         * include/libc-symbols.h: Likewise.
76386         * include/shlib-compat.h: Likewise.
76387         * resolv/Makefile: Likewise.
76388         * resolv/res_libc.c: Likewise.
76389         * rt/Makefile: Likewise.
76390         * sysdeps/i386/asm-syntax.h: Likewise.
76391         * sysdeps/i386/sysdep.h: Likewise.
76392         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
76393         * sysdeps/mach/sysdep.h: Likewise.
76394         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
76395         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
76396         * sysdeps/s390/asm-syntax.h: Likewise.
76397         * sysdeps/s390/s390-32/sysdep.h: Likewise.
76398         * sysdeps/s390/s390-64/sysdep.h: Likewise.
76399         * sysdeps/sh/sysdep.h: Likewise.
76400         * sysdeps/unix/sparc/sysdep.h: Likewise.
76401         * sysdeps/wordsize-32/divdi3.c: Likewise.
76402         * sysdeps/x86_64/sysdep.h: Likewise.
76404         * argp/Versions: Remove _argp_unlock_xxx.
76406         [BZ #13559]
76407         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
76408         * abilist/libBrokenLocale.abilist: Likewise.
76409         * abilist/libanl.abilist: Likewise.
76410         * abilist/libc.abilist: Likewise.
76411         * abilist/libcrypt.abilist: Likewise.
76412         * abilist/libdl.abilist: Likewise.
76413         * abilist/libm.abilist: Likewise.
76414         * abilist/libnsl.abilist: Likewise.
76415         * abilist/libpthread.abilist: Likewise.
76416         * abilist/libresolv.abilist: Likewise.
76417         * abilist/librt.abilist: Likewise.
76418         * abilist/libthread_db.abilist: Likewise.
76419         * abilist/libutil.abilist: Likewise.
76420         * abilist/libnss_db.abilist: New file.
76422         * scripts/abilist.awk: Add support for indirect functions.
76424         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
76426         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
76428         * shlib-versions: Remove entries for ports architectures.
76430         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
76431         files in ports.
76432         * elf/stackguard-macros.h: Remove support for IA-64.
76433         * elf/tst-auditmod1.c: Likewise.
76434         * sysdeps/generic/ldsodefs.h: Likewise.
76436         * sysdeps/unix/sysv/linux/configure.in: Ports should define
76437         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
76438         configure files.
76440         [BZ #13552]
76441         * configure.in: Remove --enable-omitfp support.
76442         * FAQ.in: Adjust.
76443         * config.make.in: Likewise.
76444         * Makeconfig: Likewise.
76445         * manual/install.texi: Likewise.
76447         In case anyone cares, the IA-64 architecture could move to ports.
76448         * sysdeps/ia64/*: Removed.
76449         * sysdeps/unix/sysv/linux/ia64/*: Removed.
76450         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
76452         [BZ #13555]
76453         * configure.in: Remove entries for unsupported architectures.
76455         [BZ #13533]
76456         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
76457         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
76458         routines.
76459         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
76460         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
76461         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
76462         fall back to using wcrtomb.
76463         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
76464         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
76465         renaming.
76466         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
76467         * wcsmbs/tst-c16c32-1.c: New file.
76469         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
76470         local variable.
76472         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
76474         * elf/tst-unique3.cc: Add explicit declaration of gets.
76475         * elf/tst-unique3lib.cc: Likewise.
76476         * elf/tst-unique3lib2.cc: Likewise.
76477         * elf/tst-unique4.cc: Likewise.
76479         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
76481 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
76483         [BZ #13566]
76484         * assert/assert.h (static_assert): Don't define for C++.
76485         * libio/stdio.h (gets): Do declare for C++ <= C++11.
76486         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
76488 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
76490         * iconv/loop.c (single loop): Fix assertion in storing of
76491         remaining bytes.
76493         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
76495 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
76497         * posix/getconf.c: Update copyright year.
76498         * nss/getent.c: Likewise.
76499         * nss/makedb.c: Likewise.
76500         * iconv/iconvconfig.c: Likewise.
76501         * iconv/iconv_prog.c: Likewise.
76502         * elf/ldconfig.c: Likewise.
76503         * elf/pldd.c: Likewise.
76504         * elf/sotruss.ksh: Likewise.
76505         * catgets/gencat.c: Likewise.
76506         * csu/version.c: Likewise.
76507         * elf/ldd.bash.in: Likewise.
76508         * elf/sprof.c (print_version): Likewise.
76509         * locale/programs/locale.c: Likewise.
76510         * locale/programs/localedef.c: Likewise.
76511         * login/programs/pt_chown.c: Likewise.
76512         * nscd/nscd.c (print_version): Likewise.
76513         * debug/xtrace.sh: Likewise.
76514         * malloc/memusage.sh: Likewise.
76515         * malloc/mtrace.pl: Likewise.
76516         * debug/catchsegv.sh: Likewise.
76518 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
76520         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
76521         pure attribute.
76523 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
76525         [BZ #13533]
76526         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
76527         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
76528         transformations.
76529         * iconv/gconv_int.h: Likewise.
76530         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
76531         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
76532         from libc for GLIBC_2.16.
76533         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
76534         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
76535         * wcsmbs/uchar.h: Really define mbstate_t.
76536         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
76537         * wcsmbs/c16rtomb.c: New file.
76538         * wcsmbs/mbrtoc16.c: New file.
76539         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
76540         for C/POSIX locale.
76541         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
76542         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
76544         * wcsmbs/wchar.h: Add missing __restrict.
76546 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
76548         [BZ #13532]
76549         * time/Makefile (routines): Add timespec_get.
76550         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
76551         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
76552         timespec for ISO C11.
76553         * time/timespec_get.c: New file.
76554         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
76555         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
76557         [BZ #13531]
76558         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
76559         * stdlib/stdlib.h: Declare aligned_alloc.
76560         * Versions.def: Add GLIBC_2.16 for libc.
76561         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
76563         [BZ 13527]
76564         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
76565         ISO C11.
76567         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
76568         code.
76570         [BZ #13528]
76571         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
76573         [BZ #13529]
76574         * assert/assert.h (static_assert): Define.
76576         * version.h: Update for 2.16 development version.
76578         [BZ #13526]
76579         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
76580         _ISOC11_SOURCE.
76582         * version.h (RELEASE): Bump for 2.15 release.
76583         * include/features.h (__GLIBC_MINOR__): Bump to 15.
76585         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
76586         Patch by Marek Polacek <mpolacek@redhat.com>.
76588         * bits/byteswap.h: Protect long long constants with __extension__.
76589         * sysdeps/i386/bits/byteswap.h: Likewise.
76590         * sysdeps/ia64/bits/byteswap.h: Likewise.
76591         * sysdeps/s390/bits/byteswap.h: Likewise.
76592         * sysdeps/x86_64/bits/byteswap.h: Likewise.
76594 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76596         [BZ #13540]
76597         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
76598         destination buffer.
76599         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
76601 2011-12-23  Marek Polacek  <polacek@redhat.com>
76603         * elf/dl-addr.c (determine_info): Add inline keyword.
76604         * elf/tst-auditmod4b.c (check_avx): Likewise.
76605         * elf/tst-auditmod6b.c (check_avx): Likewise.
76606         * elf/tst-auditmod6c.c (check_avx): Likewise.
76607         * elf/tst-auditmod7b.c (check_avx): Likewise.
76609 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
76611         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
76612         !__SSE_MATH__.
76614 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76616         [BZ #13540]
76617         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
76618         processing for last bytes.
76620 2011-08-06  Bruno Haible  <bruno@clisp.org>
76622         [BZ #13061]
76623         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
76624         U+0385, not to U+1FEE.
76626         [BZ #13062]
76627         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
76628         entry for U+00A5 U+0301.
76630 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
76632         [BZ #13166]
76633         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
76634         buffer for the output is too small.
76636         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
76637         optimization.
76639         [BZ #13185]
76640         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
76641         SSE flags if possible.
76643 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76645         [BZ #13540]
76646         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
76647         processing for last bytes.
76649 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
76651         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
76652         (syscall-list-default-options, syscall-list-default-condition)
76653         (syscall-list-includes): Define.
76654         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
76655         list of ABIs and options and #if conditions for each ABI.  Do not
76656         handle common syscalls between ABIs specially.
76657         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
76658         Remove.
76659         (syscall-list-variants, syscall-list-32bit-options)
76660         (syscall-list-32bit-condition, syscall-list-64bit-options)
76661         (syscall-list-64bit-condition): Define.
76662         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
76663         (syscall-list-variants, syscall-list-32bit-options)
76664         (syscall-list-32bit-condition, syscall-list-64bit-options)
76665         (syscall-list-64bit-condition): Define.
76666         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
76667         Remove.
76668         (syscall-list-variants, syscall-list-32bit-options)
76669         (syscall-list-32bit-condition, syscall-list-64bit-options)
76670         (syscall-list-64bit-condition): Define.
76671         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
76672         Remove.
76673         (syscall-list-variants, syscall-list-32bit-options)
76674         (syscall-list-32bit-condition, syscall-list-64bit-options)
76675         (syscall-list-64bit-condition): Define.
76677 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
76679         * locale/iso-639.def: Add brx entry.
76681         [BZ #13328]
76682         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
76683         Proposed by Mariusz_Cukr <marcukr@op.pl>.
76685         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
76686         __feraiseexcept_renamed.
76688 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
76690         [BZ #13538]
76691         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
76692         EPOLLET with unsigned values.
76693         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
76694         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
76696         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
76697         to large cancellation.
76698         * math/s_cacoshf.c: Likewise.
76699         * math/s_cacoshl.c: Likewise.
76701 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
76703         [BZ #13305]
76704         [BZ #12786]
76705         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
76706         * math/s_cacoshf.c: Likewise.
76707         * math/s_cacoshl.c: Likewise.
76709 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
76711         [BZ #13439]
76712         * iconv/gconv.h: Define __GCONV_SWAP.
76713         * iconvdata/unicode.c: The swap bit must be stored in __flags.
76714         * iconvdata/utf-16.c: Likewise.
76715         * iconvdata/utf-32.c: Likewise.
76717 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
76719         [BZ #13524]
76720         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
76721         numerator after shifting it by one limb.
76723 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
76725         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
76726         under [__USE_EXTERN_INLINES].
76728 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
76730         [BZ #13446]
76731         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
76733 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76735         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
76736         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
76737         optimized code.
76738         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
76739         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
76740         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
76741         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
76742         for strncasecmp/strncasecmp_l compilation.
76743         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
76744         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
76746 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
76748         [BZ #13484]
76749         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
76750         of __asm__.
76752 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
76754         [BZ #13506]
76755         * time/tzfile.c (__tzfile_read): Check values from file header.
76757 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
76759         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
76760         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
76761         * powerpc/powerpc32/dl-start.S: Likewise.
76762         * powerpc/powerpc32/elf/start.S: Likewise.
76763         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
76764         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
76765         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
76766         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
76767         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
76768         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
76769         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
76770         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
76771         * powerpc/powerpc32/fpu/s_round.S: Likewise.
76772         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
76773         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
76774         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
76775         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
76776         * powerpc/powerpc32/memset.S: Likewise.
76777         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
76778         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
76779         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
76780         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
76781         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
76782         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
76783         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
76784         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
76785         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
76786         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
76787         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
76788         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
76789         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
76791 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76793         * math/libm-test.inc: Added more nearbyint tests.
76794         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
76795         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
76796         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
76797         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
76799 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
76801         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
76802         FD_CLOEXEC.
76804 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76806         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
76807         Add wcscpy-ssse3 wcscpy-c.
76808         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
76809         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
76810         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
76811         * sysdeps/x86_64/wcschr.S: New file.
76812         * sysdeps/x86_64/wcsrchr.S: New file.
76813         * string/test-strcmp.c: Remove checking of wcscmp function for
76814         wrong alignments.
76815         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
76816         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
76817         wcsrchr-sse2 wcsrchr-c.
76818         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
76819         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
76820         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
76821         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
76822         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
76823         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
76824         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
76825         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
76826         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
76827         * wcsmbc/wcschr.c (WCSCHR): New macro.
76829 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76831         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
76832         * wcsmbs/test-wcsrchr.c: New file.
76833         * string/test-strrchr.c: Add wcsrchr support.
76834         (WIDE): New macro.
76835         * wcsmbs/test-wcscpy.c: New file.
76836         * string/test-strcpy.c: Add wcscpy support.
76837         (WIDE): New macro.
76839 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
76841         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
76842         the inner loop.
76844 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
76846         [BZ #13472]
76847         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
76849 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
76851         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
76852         Minor optimizations.
76854         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
76855         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
76856         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
76858 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
76860         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
76861         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
76862         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
76863         for gcc to avoid warnings.
76864         * inet/Makefile (tests): Add tst-checks.
76865         * inet/tst-checks.c: New file.
76867         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
76868         warning.
76870         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
76871         __wmemcmp_sse2.
76873         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
76874         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
76876         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
76878 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
76880         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
76881         problem.
76883         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
76885 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
76887         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
76888         conditional on GCC version.
76889         (__arch_compare_and_exchange_val_8_acq)
76890         (__arch_compare_and_exchange_val_16_acq)
76891         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
76892         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
76893         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
76895 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
76897         * sysdeps/sh/backtrace.c: New file.
76899 2011-12-02  Andreas Schwab  <schwab@redhat.com>
76901         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
76902         parenthesis.
76904 2011-12-01  Andreas Schwab  <schwab@redhat.com>
76906         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
76907         falling back to utime.
76909 2011-11-30  Andreas Schwab  <schwab@redhat.com>
76911         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
76912         expectations for float.
76914 2011-11-29  Andreas Schwab  <schwab@redhat.com>
76916         * locale/weight.h (findidx): Add parameter len.
76917         * locale/weightwc.h (findidx): Likewise.
76918         * posix/fnmatch_loop.c (FCT): Adjust caller.
76919         * posix/regcomp.c (build_equiv_class): Likewise.
76920         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
76921         * posix/regexec.c (check_node_accept_bytes): Likewise.
76922         * string/strcoll_l.c (STRCOLL): Likewise.
76923         * string/strxfrm_l.c (STRXFRM): Likewise.
76925 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
76927         * Makefile.in: Remove CVSOPT handling.
76928         * configure.in: Remove use of AC_REVISION.
76929         * iconvdata/Makefile (distribute): No need to filter out CVS.
76930         * scripts/list-sources.sh: Remove CVS, subversion and monotone
76931         handling.
76933 2011-11-16  Andreas Schwab  <schwab@redhat.com>
76935         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
76936         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
76937         [USE_AS_STRNCASECMP_L]: Likewise.
76938         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
76939         NO_TLS_DIRECT_SEG_REFS.
76940         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
76941         Fix argument offsets for non-PIC.
76942         [USE_AS_STRNCASECMP_L]: Likewise.
76943         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
76944         NO_TLS_DIRECT_SEG_REFS.
76946 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
76948         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
76949         O_CLOEXEC.
76950         * locale/loadlocale.c (_nl_load_locale): Likewise.
76952 2011-11-15  Andreas Schwab  <schwab@redhat.com>
76954         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
76955         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
76956         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
76957         (SYSCALL_GETTIME): Set errno on error.
76959         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
76960         count references to noai6ai_cached.
76962 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
76964         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
76966         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
76967         FD_CLOEXEC for /proc/self/maps.
76969         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
76970         FD_CLOEXEC for /proc/meminfo.
76972         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
76973         gai.conf.
76975         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
76976         FD_CLOEXEC for given file.
76978         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
76980         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
76981         FD_CLOEXEC for /etc/hosts.
76982         (_gethtent): Likewise.
76984         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
76986         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
76987         cancellation and set FD_CLOEXEC for /etc/netgroup.
76989         * nss/nss_files/files-key.c (search): Don't allow cancellation when
76990         reading /etc/publickey.
76992         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
76993         allow cancellation when reading /etc/group.
76995         * nss/nss_files/files-alias.c (internal_setent): Don't allow
76996         cancellation.
76997         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
76999         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
77000         when using data file.
77002         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
77004         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
77005         (write_nis_obj): Use "c" and "e" in fopen.
77007         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
77009         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
77011         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
77013         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
77015         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
77016         locale.alias.
77018         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
77020         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
77022         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
77024         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
77025         file parsing and set FD_CLOEXEC.
77027 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
77029         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
77031 2011-11-14  Andreas Schwab  <schwab@redhat.com>
77033         * malloc/arena.c (arena_get2): Don't call reused_arena when
77034         _int_new_arena failed.
77036 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
77038         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
77039         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
77040         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
77041         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
77042         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
77043         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
77044         to compile strcasecmp and strncasecmp.
77045         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
77046         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
77048         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
77050 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
77052         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
77053         locale-defines.sym to gen-as-const-headers.
77054         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
77055         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
77056         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
77057         to compile strcasecmp and strncasecmp.
77058         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
77059         strcasecmp_l and strncasecmp_l.
77060         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
77061         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
77062         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
77063         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
77064         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
77065         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
77066         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
77067         * sysdeps/i386/i686/multiarch/strncase.S: New file.
77068         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
77069         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
77070         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
77072 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
77074         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
77075         result of SYSDEP_GETTIME_CPU to retval.
77076         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
77077         parameter list to macro.  Remove trailing semicolon.  Adjust users.
77079         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
77080         variable.
77082         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
77083         mantissa words.
77084         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
77086         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
77087         from unused variable.
77089         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
77090         DWARF definitions.
77091         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
77092         for assembling.
77094         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
77095         over namespaces.
77097         * sunrpc/rpc_prot.c (rejected): Fix case value.
77099         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
77100         unsigned long long int to avoid warnings in shift.
77102         * posix/regex_internal.c (re_string_reconstruct): Actually use result
77103         of use of trans.
77104         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
77105         variable tmp.
77107         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
77108         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
77109         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
77111         * nis/nis_table.c (nis_list): Use variable of correct type for
77112         result of __follow_path call.
77114 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77116         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
77117         of math functions ceil, trunc, floor, round, and sqrt, when
77118         avaliable on the platform.
77119         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
77120         name clash.
77121         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
77122         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
77123         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
77125 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
77127         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
77128         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
77130 2011-11-11  Roland McGrath  <roland@hack.frob.com>
77132         * include/unistd.h: Fix __readlink return type.
77133         Reported by Chris Metcalf <cmetcalf@tilera.com>.
77135 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
77137         * stdlib/ucontext.h: Undo last change for makecontext.
77139 2011-11-11  Andreas Schwab  <schwab@redhat.com>
77141         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
77143         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
77144         * setjmp/setjmp.h: Mark functions as non-leaf.
77145         * setjmp/bits/setjmp2.h: Likewise.
77146         * stdlib/ucontext.h: Likewise.
77148 2011-11-10  Andreas Schwab  <schwab@redhat.com>
77150         * malloc/arena.c (_int_new_arena): Don't increment narenas.
77151         (reused_arena): Don't check arena limit.
77152         (arena_get2): Atomically check arena limit.
77154 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
77156         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
77157         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
77159         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
77160         instructions.
77162 2011-11-07  Andreas Schwab  <schwab@redhat.com>
77164         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
77165         handler when locking.
77167         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
77168         Fix size of allocated buffer.
77170 2011-11-04  Andreas Schwab  <schwab@redhat.com>
77172         [BZ #10103]
77173         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
77174         declarations for long double functions.
77175         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
77177         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
77179 2011-11-03  Andreas Schwab  <schwab@redhat.com>
77181         * nscd/nscd.c (main): Don't start AVC thread until credentials are
77182         installed.
77184         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
77185         is disabled.
77187 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77189         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
77191 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
77193         * include/alloca.h (stackinfo_alloca_round): Define.
77194         (extend_alloca): Use it.
77195         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
77196         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
77197         here.
77199         * scripts/check-local-headers.sh: Ignore libaudit.h.
77201         * nscd/Makefile (extra-objs): Make recursively expanded.
77203 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
77205         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
77206         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
77208         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
77209         * posix/tst-rfc3484-2.c: Likewise.
77210         * posix/tst-rfc3484-3.c: Likewise.
77212         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
77213         process_vm_writev.
77214         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
77215         process_vm_writev.
77216         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
77217         process_vm_writev from libc using GLIBC_2.15 version.
77219         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
77221 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
77223         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
77224         stack usage.
77226 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
77228         [BZ #13367]
77229         * nss/getent.c (initgroups_keys): Show error message in case no group
77230         names are given.
77232         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
77233         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
77234         __bump_nl_timestamp.
77235         * nscd/connections (nscd_init): When host database is served open
77236         netlink socket and request notification about configuration changes.
77237         (main_loop_poll): Track netlink file descriptor and bump timestamp
77238         in case data becomes available.
77239         (main_loop_epoll): Likewise.
77240         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
77241         (database_pers_head): Add extra_data fileds.
77242         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
77243         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
77244         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
77245         Adjust caller.
77246         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
77247         in6ai data, call __free_in6ai.
77248         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
77249         Add -DHAVE_NETLINK.
77250         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
77251         interface information.  Reuse previous data if netlink timestamp
77252         is not changed.
77253         (__bump_nl_timestamp): New function.
77254         (__free_in6ai): New function.
77256 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
77258         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
77259         close_not_cancel_no_status here.
77260         (__check_pf): Reorganize code a bit to not call close twice if OOM.
77262 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
77264         [BZ #13276]
77265         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
77266         return value.
77268         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
77269         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
77270         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
77272 2011-07-03  Andreas Jaeger  <aj@suse.de>
77274         [BZ #10709]
77275         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
77276         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
77277         * math/libm-test.inc (sin_test): Add test case.
77279 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
77281         [BZ #13337]
77282         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
77283         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
77285         * elf/chroot_canon.c (chroot_canon): Cleanups.
77287         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
77289         [BZ #13335]
77290         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
77291         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
77293         * string/test-strchr.c: Make usable for strchrnul testing.
77294         * string/test-strchrnul.c: New file.
77295         * string/Makefile (strop-tests): Add strchrnul.
77297         * po/it.po: Update from translation team.
77298         * po/es.po: Likewise.
77300 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
77302         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
77303         the three constants needed as parameters.  Drop the others.
77304         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
77305         __m128i_strloadu_tolower.
77306         Create and initialize variable zero and use it in all the places
77307         where _mm_setzero_si128 was used.
77309         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
77310         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
77311         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
77312         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
77313         anymore.
77314         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
77315         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
77316         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
77317         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
77318         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
77319         __mpranred, __mptan.
77320         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
77321         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
77322         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
77323         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
77324         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
77325         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
77326         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
77327         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
77328         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
77330 2011-10-28  Andreas Schwab  <schwab@redhat.com>
77332         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
77333         redefine if SHARED.
77334         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
77336         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
77337         wide char related routines to wcsmbs subdir.
77339 2011-10-27  Andreas Schwab  <schwab@redhat.com>
77341         [BZ #13344]
77342         * misc/sys/cdefs.h (__THROWNL): Define.
77343         * posix/unistd.h: Use __THREADNL instead of __THREAD
77344         for memory synchronization functions.
77346 2011-10-26  Roland McGrath  <roland@hack.frob.com>
77348         [BZ #13349]
77349         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
77350         doesn't exist.
77351         * manual/stdio.texi (Obstack Streams): Node removed.
77353 2011-10-26  Andreas Schwab  <schwab@redhat.com>
77355         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
77356         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
77357         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
77359         * math/math_private.h (math_force_eval): Allow non-addressable
77360         arguments.
77361         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
77363 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
77365         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
77366         file is not needed.
77368         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
77369         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
77370         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
77371         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
77372         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
77373         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
77374         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
77375         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
77376         Add AVX variants.
77377         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
77378         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
77379         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
77380         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
77381         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
77382         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
77383         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
77384         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
77385         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
77386         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
77387         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
77388         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
77389         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
77390         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
77391         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
77392         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
77393         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
77394         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
77395         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
77397         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
77398         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
77400         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
77401         place.  Use VEX encoding when compiling for AVX.
77403 2011-10-25  Andreas Schwab  <schwab@redhat.com>
77405         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
77406         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
77408         * string/test-strchr.c (do_test): Don't generate NUL bytes.
77410 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
77412         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
77413         useless if() expression.
77414         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
77415         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
77416         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
77417         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
77418         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
77419         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
77420         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
77421         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
77422         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
77423         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
77424         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
77425         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
77426         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
77427         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
77428         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
77429         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
77430         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
77431         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
77432         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
77434         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
77436 2011-10-25  Andreas Schwab  <schwab@redhat.com>
77438         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
77439         condition.
77440         * elf/dl-fini.c (_dl_sort_fini): Likewise.
77442 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
77444         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
77445         .text section.  Avoid duplicate constants.
77446         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
77447         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77448         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
77449         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77450         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
77451         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77452         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77453         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77454         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
77455         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
77456         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
77457         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
77458         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
77459         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
77460         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
77461         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
77462         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
77463         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
77464         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
77465         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
77466         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
77467         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
77468         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
77469         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
77470         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
77471         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
77472         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
77473         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
77474         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
77475         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
77476         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
77477         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
77478         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
77479         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
77480         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
77481         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
77482         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
77483         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
77484         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
77485         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
77486         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
77487         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
77488         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
77489         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
77490         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
77492 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
77494         * sysdeps/x86_64/dla.h: Move to ...
77495         * sysdeps/x86_64/fpu/dla.h: ...here.
77496         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
77497         situations.  Use __builtin_fma only for gcc 4.6 and up.
77499         * config.make.in: Add have-mfma4 entry.
77500         * configure.in: Substitute libc_cv_cc_fma4.
77501         * math/Makefile (dbl-only-routines): Add sincostab.
77502         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
77503         Use __sincostab not sincos.
77504         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
77505         name is a macro.
77506         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
77507         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77508         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77509         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
77510         using __copysign.
77511         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
77512         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
77513         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
77514         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
77515         and __inv.
77516         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
77517         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
77518         __copysign.
77519         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
77520         define aliases when function name is a macro.
77521         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
77522         sysdeps/ieee754/dbl-64/sincos.tbl.
77523         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
77524         fma4-enabled routines.
77525         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
77526         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
77527         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
77528         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
77529         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
77530         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
77531         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
77532         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
77533         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
77534         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
77535         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
77536         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
77537         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
77538         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
77539         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
77540         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
77541         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
77542         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
77543         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
77544         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
77545         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
77546         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
77547         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
77548         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
77549         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
77550         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
77551         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
77552         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
77553         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
77554         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
77556         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
77557         rename.
77558         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77559         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77560         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77561         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77562         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77563         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77564         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
77565         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
77567 2011-10-24  Andreas Schwab  <schwab@redhat.com>
77569         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
77571 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
77573         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
77575         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
77576         prediction.
77577         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
77579         * string/strnlen.c: Don't define STRNLEN, reverse logic.
77580         Remove unused variable magic_bits.
77581         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
77583         * string/strnlen.c: Define and use STRNLEN macro.
77584         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
77585         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
77586         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
77587         * wcsmbs/wcslen.c: Define and use WCSLEN.
77588         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
77589         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
77590         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
77591         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
77592         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
77593         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
77594         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
77596 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77598         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77599         strnlen-sse2-no-bsf.
77600         Rename strlen-no-bsf to strlen-sse2-no-bsf.
77601         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
77602         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
77603         Add strnlen support.
77604         (USE_AS_STRNLEN): New macro.
77605         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
77606         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
77607         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
77608         * sysdeps/x86_64/wcslen.S: New file.
77610 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
77612         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
77613         XMM-moves are used for copying on small sizes.
77615 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77617         * wcsmbs/Makefile (strop-tests): Add wcschr.
77618         * wcsmbs/test-wcschr.c: New file.
77619         * string/test-strchr.c: Update.
77620         Add wcschr support.
77621         (WIDE): New macro.
77623 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77625         * wcsmbs/Makefile (strop-tests): Add wcslen.
77626         * wcsmbs/test-wcslen.c: New file.
77627         * string/test-strlen.c: Update.
77628         Add wcslen support.
77629         (WIDE): New macro.
77631 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
77633         * po/it.po: Update from translation team.
77635 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77637         * sysdeps/x86_64/wcscmp.S: Update.
77638         Fix wrong comparison semantics.
77639         wcscmp shall use signed comparison not unsigned.
77640         Don't use substraction to avoid overflow bug.
77641         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
77642         * wcsmbc/wcscmp.c: Likewise.
77643         * string/test-strcmp.c: Likewise.
77644         Add new tests to check cases with negative values.
77646 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
77648         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
77649         * sysdeps/x86_64/dla.h: ...here.  New file.
77650         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
77651         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77652         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77653         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77654         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77655         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
77656         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77657         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
77658         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
77660 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
77662         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
77663         __ynl_finite aliases.
77665 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
77667         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77669         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
77670         define DLA_FMA.
77671         [DLA_FMA] (EMULV): Use DLA_FMA.
77672         [DLA_FMA] (MUL12): Use EMULV.
77673         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
77674         that are not needed.
77675         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77676         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77677         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77678         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77679         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77680         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
77681         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
77683 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
77685         * math/s_nan.c: Undef __nan.
77686         * math/s_nanf.c: Undef __nanf.
77687         * math/s_nanl.c: Undef __nanl.
77688         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
77689         "math_private.h".
77691 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
77693         * math/s_catan.c: Add branch predictions.
77694         * math/s_catanf.c: Likewise.
77695         * math/s_catanh.c: Likewise.
77696         * math/s_catanhf.c: Likewise.
77697         * math/s_catanhl.c: Likewise.
77698         * math/s_catanl.c: Likewise.
77699         * math/s_cexp.c: Likewise.
77700         * math/s_cexpf.c: Likewise.
77701         * math/s_cexpl.c: Likewise.
77702         * math/s_clog.c: Likewise.
77703         * math/s_clog10.c: Likewise.
77704         * math/s_clog10f.c: Likewise.
77705         * math/s_clog10l.c: Likewise.
77706         * math/s_clogf.c: Likewise.
77707         * math/s_clogl.c: Likewise.
77708         * math/s_csqrt.c: Likewise.
77709         * math/s_csqrtf.c: Likewise.
77710         * math/s_csqrtl.c: Likewise.
77711         * math/s_ctanf.c: Likewise.
77712         * math/s_ctanh.c: Likewise.
77713         * math/s_ctanhf.c: Likewise.
77714         * math/s_ctanhl.c: Likewise.
77715         * math/s_ctanl.c: Likewise.
77717         * math/math_private.h: Define __nan, __nanf, __nanl.
77718         * math/s_cacosh.c: Include <math_private.h>.
77719         * math/s_cacoshl.c: Likewise.
77720         * math/s_casinh.c: Likewise.
77721         * math/s_casinhf.c: Likewise.
77722         * math/s_casinhl.c: Likewise.
77723         * math/s_ccos.c: Rely entire on ccosh.
77724         * math/s_ccosf.c: Rely entire on ccoshf.
77725         * math/s_ccosl.c: Rely entirely on ccoshl.
77726         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
77727         Remove tests for FE_INVALID.
77728         * math/s_ccoshf.c: Likewise.
77729         * math/s_ccoshl.c: Likewise.
77730         * math/s_csin.c: Likewise.
77731         * math/s_csinf.c: Likewise.
77732         * math/s_csinh.c Likewise.
77733         * math/s_csinhf.c: Likewise.
77734         * math/s_csinhl.c: Likewise.
77735         * math/s_csinl.c: Likewise.
77736         * math/s_ctan.c: Likewise.
77737         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
77738         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
77739         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
77741 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
77743         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
77744         compilation problems.
77746         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
77747         __builtin_expect.
77749 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
77751         * sysdeps/i386/configure.in: Test for -mfma4 option.
77752         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
77753         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
77754         COMMON_CPUID_INDEX_80000001.
77755         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
77756         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
77757         use it if FMA3 is not supported.
77758         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
77760         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
77761         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
77763 2011-10-20  Andreas Schwab  <schwab@redhat.com>
77765         [BZ #12892]
77766         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
77767         it would create a cycle with a link time dependency.
77769 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
77771         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
77772         instruction.
77773         * string/Makefile (strop-tests): Add rawmemchr.
77774         * string/test-rawmemchr.c: New file.
77776         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
77777         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
77778         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
77779         when compiling str{,n}casecmp and when AVX is available.  Hook up
77780         new optimized code in initializers.
77782 2011-10-19  Andreas Schwab  <schwab@redhat.com>
77784         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
77785         __feraiseexcept instead of feraiseexcept.
77787 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
77789         * math/math_private.h: Define defaults for libc_fetestexcept and
77790         libc_feupdateenv.
77791         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
77792         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
77793         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
77794         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
77795         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
77796         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
77797         libc_fetestexcept and libc_feupdateenv.
77799         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
77800         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
77801         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
77802         * sysdeps/x86_64/fpu/math_private.h: Define special version of
77803         libc_feholdexcept_setround.
77805         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
77806         Add s_nearbyint-c and s_nearbyintf-c.
77807         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
77808         nearbyintf inlines.
77809         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
77810         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
77811         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
77812         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
77814         * math/math_private.h: Define defaults for libc_fegetround,
77815         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
77816         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
77817         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
77818         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
77819         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
77820         standard functions.
77821         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
77822         Remove comments and hacks for old compiler versions.
77823         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
77824         libc_fegetround, libc_fesetround, libc_feholdexcept, and
77825         libc_feholdexceptl.
77827 2011-10-18  Andreas Schwab  <schwab@redhat.com>
77829         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
77830         (__feraiseexcept_renamed): Add __NTH.
77831         (feraiseexcept): Add __NTH.  Rename local variables to fix
77832         namespace violations.
77834 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
77836         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
77838         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
77840         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
77841         recently added interfaces.
77842         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
77844         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
77845         about macro parameter expansion.
77847         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
77848         __NO_MATH_INLINES is defined.  Cleanups.
77850         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
77851         and __floorf is target has SSE4.1.
77852         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
77853         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
77854         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
77855         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
77857         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
77858         name.
77859         (floorf): Likewise.
77861         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
77863 2011-10-17  Andreas Schwab  <schwab@redhat.com>
77865         * misc/sys/cdefs.h: Fix last change.
77867         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
77868         database lookup.
77870 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
77872         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
77874         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
77875         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
77876         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
77877         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
77878         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
77879         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
77880         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
77881         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
77882         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
77883         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
77884         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
77885         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
77886         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
77887         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
77888         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
77889         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
77890         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
77891         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
77892         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
77893         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
77894         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
77895         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
77897         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
77898         ceil, ceilf, floor, floorf.
77900         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
77901         Perform IRELATIVE relocations last.
77903         * elf/do-rel.h: Add another parameter nrelative, replacing the
77904         local variable with the same name.  Change name of the function
77905         to end in Rel or Rela (uppercase).
77906         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
77907         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
77908         elf_dynamic_do_##reloc function.
77910 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
77912         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
77913         is sufficient, at least on modern CPUs.
77915         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
77917         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
77918         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
77920         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
77921         __expl_finite.
77922         * math/bits/math-finite.h: Add entries for exp.
77923         * math/e_expl.c: Add __*_finite alias.
77924         * sysdeps/i386/fpu/e_exp.S: Likewise.
77925         * sysdeps/i386/fpu/e_expf.S: Likewise.
77926         * sysdeps/i386/fpu/e_expl.c: Likewise.
77927         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
77928         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
77929         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
77930         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
77931         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
77932         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
77933         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
77935         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
77936         is sufficient, at least on modern CPUs.
77938         * ctype/ctype-info.c (__ctype_init): Define.
77939         * include/ctype.h (__ctype_init): Declare.
77940         (__ctype_b_loc): The variable is always initialized.
77941         (__ctype_toupper_loc): Likewise.
77942         (__ctype_tolower_loc): Likewise.
77943         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
77944         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
77946 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
77948         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
77950         * configure.in: Also look in $cxxmachine/include for C++ system
77951         headers.
77953 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77955         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
77956         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
77957         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
77958         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
77959         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
77960         (USE_AS_WMEMCMP): New macro.
77961         Fixing indents.
77962         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
77963         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
77964         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
77965         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
77966         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77967         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
77968         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
77969         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
77970         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
77971         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
77972         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
77973         (USE_AS_WMEMCMP): New macro.
77974         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
77975         * sysdeps/string/test-memcmp.c: Update.
77976         Fix simple_wmemcmp.
77977         Add new tests.
77978         * wcsmbs/wmemcmp.c: Update.
77979         (WMEMCMP): New macro.
77980         Fix overflow bug.
77982 2011-10-12  Andreas Jaeger  <aj@suse.de>
77984         [BZ #13268]
77985         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
77987 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
77989         * libio/iofwide.c (do_length): Avoid warning.
77991         * ctype/ctype.h (__isctype_f): Add missing __THROW.
77993 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
77995         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
77997         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
77998         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
77999         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
78000         * sysdeps/i386/i686/fpu/e_log.S: New file.
78001         * sysdeps/i386/i686/fpu/e_logf.S: New file.
78002         * sysdeps/i386/i686/fpu/e_logl.S: New file.
78004         * ctype/ctype.h: Add support for inlined isXXX functions when
78005         compiling C++ code.
78007 2011-10-14  Andreas Schwab  <schwab@redhat.com>
78009         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
78011         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
78013 2011-10-13  Roland McGrath  <roland@hack.frob.com>
78015         [BZ #13291]
78016         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
78018 2011-10-13  Andreas Schwab  <schwab@redhat.com>
78020         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
78021         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
78022         feraiseexcept.
78024         * sysdeps/x86_64/memrchr.S: Check for zero size.
78026         * string/stratcliff.c: Add memrchr tests.
78028 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78030         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78031         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
78032         rawmemchr-sse2 rawmemchr-sse2-bsf.
78033         * sysdeps/i386/i686/multiarch/memchr.S: New file.
78034         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
78035         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
78036         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
78037         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
78038         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
78039         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
78040         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
78041         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
78042         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
78043         * string/memrchr.c (MEMRCHR): New macro.
78045 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
78047         Add integration with gcc's -ffinite-math-only and optimize wrapper
78048         functions in libm.
78049         * Versions.def: Define GLIBC_2.15 version for libm.
78050         * math/Makefile (headers): Add bits/math-finite.h.
78051         * math/bits/math-finite.h: New file.
78052         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
78053         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
78054         * math/e_acoshl.c: Add __*_finite alias.
78055         * math/e_acosl.c: Likewise.
78056         * math/e_asinl.c: Likewise.
78057         * math/e_atan2l.c: Likewise.
78058         * math/e_atanhl.c: Likewise.
78059         * math/e_coshl.c: Likewise.
78060         * math/e_exp10.c: Likewise.
78061         * math/e_exp10f.c: Likewise.
78062         * math/e_exp10l.c: Likewise.
78063         * math/e_exp2l.c: Likewise.
78064         * math/e_fmodl.c: Likewise.
78065         * math/e_gammal_r.c: Likewise.
78066         * math/e_hypotl.c: Likewise.
78067         * math/e_j0l.c: Likewise.
78068         * math/e_j1l.c: Likewise.
78069         * math/e_jnl.c: Likewise.
78070         * math/e_lgammal_r.c: Likewise.
78071         * math/e_log10l.c: Likewise.
78072         * math/e_log2l.c: Likewise.
78073         * math/e_logl.c: Likewise.
78074         * math/e_powl.c: Likewise.
78075         * math/e_sinhl.c: Likewise.
78076         * math/e_sqrtl.c: Likewise.
78077         * math/e_scalb.c: Completely rewritten and optimized.
78078         * math/e_scalbf.c: Likewise.
78079         * math/e_scalbl.c: Likewise.
78080         * math/w_acos.c: Likewise.
78081         * math/w_acosf.c: Likewise.
78082         * math/w_acosl.c: Likewise.
78083         * math/w_acosh.c: Likewise.
78084         * math/w_acoshf.c: Likewise.
78085         * math/w_acoshl.c: Likewise.
78086         * math/w_asin.c: Likewise.
78087         * math/w_asinf.c: Likewise.
78088         * math/w_asinl.c: Likewise.
78089         * math/w_atan2.c: Likewise.
78090         * math/w_atan2f.c: Likewise.
78091         * math/w_atan2l.c: Likewise.
78092         * math/w_atanh.c: Likewise.
78093         * math/w_atanhf.c: Likewise.
78094         * math/w_atanhl.c: Likewise.
78095         * math/w_exp10.c: Likewise.
78096         * math/w_exp10f.c: Likewise.
78097         * math/w_exp10l.c: Likewise.
78098         * math/w_fmod.c: Likewise.
78099         * math/w_fmodf.c: Likewise.
78100         * math/w_fmodl.c: Likewise.
78101         * math/w_j0.c: Likewise.
78102         * math/w_j0f.c: Likewise.
78103         * math/w_j0l.c: Likewise.
78104         * math/w_j1.c: Likewise.
78105         * math/w_j1f.c: Likewise.
78106         * math/w_j1l.c: Likewise.
78107         * math/w_jn.c: Likewise.
78108         * math/w_jnf.c: Likewise.
78109         * math/w_log.c: Likewise.
78110         * math/w_logf.c: Likewise.
78111         * math/w_logl.c: Likewise.
78112         * math/w_log10.c: Likewise.
78113         * math/w_log10f.c: Likewise.
78114         * math/w_log10l.c: Likewise.
78115         * math/w_log2.c: Likewise.
78116         * math/w_log2f.c: Likewise.
78117         * math/w_log2l.c: Likewise.
78118         * math/w_pow.c: Likewise.
78119         * math/w_powf.c: Likewise.
78120         * math/w_powl.c: Likewise.
78121         * math/w_remainder.c: Likewise.
78122         * math/w_remainderf.c: Likewise.
78123         * math/w_remainderl.c: Likewise.
78124         * math/w_scalb.c: Likewise.
78125         * math/w_scalbf.c: Likewise.
78126         * math/w_scalbl.c: Likewise.
78127         * math/w_sqrt.c: Likewise.
78128         * math/w_sqrtf.c: Likewise.
78129         * math/w_sqrtl.c: Likewise.
78130         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
78131         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
78132         used.
78133         * math/math_private.h: Declare __kernel_standard_f.
78134         * math/w_cosh.c: Remove cruft and optimize a bit.
78135         * math/w_coshf.c: Likewise.
78136         * math/w_coshl.c: Likewise.
78137         * math/w_exp2.c: Likewise.
78138         * math/w_exp2f.c: Likewise.
78139         * math/w_exp2l.c: Likewise.
78140         * math/w_hypot.c: Likewise.
78141         * math/w_hypotf.c: Likewise.
78142         * math/w_hypotl.c: Likewise.
78143         * math/w_lgamma.c: Likewise.
78144         * math/w_lgamma_r.c: Likewise.
78145         * math/w_lgammaf.c: Likewise.
78146         * math/w_lgammaf_r.c: Likewise.
78147         * math/w_lgammal.c: Likewise.
78148         * math/w_lgammal_r.c: Likewise.
78149         * math/w_sinh.c: Likewise.
78150         * math/w_sinhf.c: Likewise.
78151         * math/w_sinhl.c: Likewise.
78152         * math/w_tgamma.c: Likewise.
78153         * math/w_tgammaf.c: Likewise.
78154         * math/w_tgammal.c: Likewise.
78155         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
78156         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
78157         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
78158         Minor optimizations.  Pretty printing.  Remove cruft.
78159         * sysdeps/i386/fpu/e_acosf.S: Likewise.
78160         * sysdeps/i386/fpu/e_acosh.S: Likewise.
78161         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
78162         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
78163         * sysdeps/i386/fpu/e_acosl.c: Likewise.
78164         * sysdeps/i386/fpu/e_asin.S: Likewise.
78165         * sysdeps/i386/fpu/e_asinf.S: Likewise.
78166         * sysdeps/i386/fpu/e_atan2.S: Likewise.
78167         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
78168         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
78169         * sysdeps/i386/fpu/e_atanh.S: Likewise.
78170         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
78171         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
78172         * sysdeps/i386/fpu/e_exp10.S: Likewise.
78173         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
78174         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
78175         * sysdeps/i386/fpu/e_exp2.S: Likewise.
78176         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
78177         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
78178         * sysdeps/i386/fpu/e_fmod.S: Likewise.
78179         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
78180         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
78181         * sysdeps/i386/fpu/e_hypot.S: Likewise.
78182         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
78183         * sysdeps/i386/fpu/e_log.S: Likewise.
78184         * sysdeps/i386/fpu/e_log10.S: Likewise.
78185         * sysdeps/i386/fpu/e_log10f.S: Likewise.
78186         * sysdeps/i386/fpu/e_log10l.S: Likewise.
78187         * sysdeps/i386/fpu/e_log2.S: Likewise.
78188         * sysdeps/i386/fpu/e_log2f.S: Likewise.
78189         * sysdeps/i386/fpu/e_log2l.S: Likewise.
78190         * sysdeps/i386/fpu/e_logf.S: Likewise.
78191         * sysdeps/i386/fpu/e_logl.S: Likewise.
78192         * sysdeps/i386/fpu/e_pow.S: Likewise.
78193         * sysdeps/i386/fpu/e_powf.S: Likewise.
78194         * sysdeps/i386/fpu/e_powl.S: Likewise.
78195         * sysdeps/i386/fpu/e_remainder.S: Likewise.
78196         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
78197         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
78198         * sysdeps/i386/fpu/e_scalb.S: Likewise.
78199         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
78200         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
78201         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
78202         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
78203         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
78204         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
78205         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
78206         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
78207         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
78208         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
78209         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
78210         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
78211         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
78212         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
78213         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
78214         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
78215         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
78216         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
78217         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
78218         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
78219         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
78220         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
78221         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
78222         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
78223         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
78224         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
78225         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
78226         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
78227         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
78228         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
78229         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
78230         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
78231         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
78232         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
78233         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
78234         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
78235         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
78236         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
78237         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
78238         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
78239         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
78240         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
78241         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
78242         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
78243         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
78244         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
78245         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
78246         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
78247         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
78248         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
78249         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
78250         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
78251         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
78252         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
78253         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
78254         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
78255         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
78256         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
78257         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
78258         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
78259         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
78260         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
78261         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
78262         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
78263         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
78264         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
78265         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
78266         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
78267         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
78268         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
78269         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
78270         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
78271         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
78272         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
78273         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
78274         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
78275         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
78276         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
78277         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
78278         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
78279         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
78280         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
78281         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
78282         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
78283         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
78284         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
78285         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
78286         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
78287         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
78288         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
78289         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
78290         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
78291         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
78292         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
78293         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
78294         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
78295         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
78296         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
78297         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
78298         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
78299         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
78300         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
78301         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
78302         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
78303         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
78304         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
78305         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
78306         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
78307         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
78308         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
78309         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
78310         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
78311         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
78312         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
78313         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
78314         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
78315         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
78316         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
78317         (__isnanf): Likewise.
78318         (__isinf_ns): Likewise.
78319         (__isinf_nsf): Likewise.
78320         (__finite): Likewise.
78321         (__finitef): Likewise.
78322         (__ieee754_sqrt): Define as macro.
78323         (__ieee754_sqrtf): Define as macro.
78324         (__ieee754_sqrtl): Define as macro.
78325         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
78326         inlined copy.
78327         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
78328         __FINITE_MATH_ONLY__ consistent.
78329         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
78331 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
78333         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
78334         of rawmemchr.
78336         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
78338 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
78340         * po/ja.po: Update from translation team.
78342 2011-10-08  Roland McGrath  <roland@hack.frob.com>
78344         * locale/programs/locarchive.c (prepare_address_space): New function.
78345         (create_archive, enlarge_archive, open_archive): Use it.
78347         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
78348         inside [SHARED], where it is used.
78350         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
78352         * nss/getent.c (netgroup_keys): Remove unused variable.
78353         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
78355 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
78357         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
78358         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
78359         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
78360         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
78361         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
78362         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
78363         * math/Makefile (libm-calls): Add s_isinf_ns.
78364         * math/divtc3.c: Use __isinf_nsl instead of isinf.
78365         * math/multc3.c: Likewise.
78366         * math/s_casin.c: Likewise.
78367         * math/s_casinf.c: Likewise.
78368         * math/s_casinl.c: Likewise.
78369         * math/s_ccos.c: Likewise.
78370         * math/s_ccosf.c: Likewise.
78371         * math/s_ccosl.c: Likewise.
78372         * math/s_ctan.c: Likewise.
78373         * math/s_ctanf.c: Likewise.
78374         * math/s_ctanh.c: Likewise.
78375         * math/s_ctanhf.c: Likewise.
78376         * math/s_ctanhl.c: Likewise.
78377         * math/s_ctanl.c: Likewise.
78378         * math/w_fmod.c: Likewise.
78379         * math/w_fmodf.c: Likewise.
78380         * math/w_fmodl.c: Likewise.
78381         * math/w_remainder.c: Likewise.
78382         * math/w_remainderf.c: Likewise.
78383         * math/w_remainderl.c: Likewise.
78384         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
78385         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
78386         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
78387         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
78388         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
78389         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
78390         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
78391         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
78393         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
78394         of the number.
78395         * stdio-common/printf_fphex.c: Likewise.
78396         * stdio-common/printf_size.c: Likewise.
78398         * math/e_exp10.c: Include math_private.h using <...> not "...".
78399         * math/e_exp10f.c: Likewise.
78400         * math/e_exp10l.c: Likewise.
78401         * math/e_exp2l.c: Likewise.
78402         * math/e_j0l.c: Likewise.
78403         * math/e_j1l.c: Likewise.
78404         * math/e_jnl.c: Likewise.
78405         * math/e_lgammal_r.c: Likewise.
78406         * math/e_rem_pio2l.c: Likewise.
78407         * math/e_scalb.c: Likewise.
78408         * math/e_scalbf.c: Likewise.
78409         * math/e_scalbl.c: Likewise.
78410         * math/k_cosl.c: Likewise.
78411         * math/k_sinl.c: Likewise.
78412         * math/k_tanl.c: Likewise.
78413         * math/s_cacoshf.c: Likewise.
78414         * math/s_catan.c: Likewise.
78415         * math/s_catanf.c: Likewise.
78416         * math/s_catanh.c: Likewise.
78417         * math/s_catanhf.c: Likewise.
78418         * math/s_catanhl.c: Likewise.
78419         * math/s_catanl.c: Likewise.
78420         * math/s_ccosh.c: Likewise.
78421         * math/s_ccoshf.c: Likewise.
78422         * math/s_ccoshl.c: Likewise.
78423         * math/s_cexp.c: Likewise.
78424         * math/s_cexpf.c: Likewise.
78425         * math/s_cexpl.c: Likewise.
78426         * math/s_clog.c: Likewise.
78427         * math/s_clog10.c: Likewise.
78428         * math/s_clog10f.c: Likewise.
78429         * math/s_clog10l.c: Likewise.
78430         * math/s_clogf.c: Likewise.
78431         * math/s_clogl.c: Likewise.
78432         * math/s_csin.c: Likewise.
78433         * math/s_csinf.c: Likewise.
78434         * math/s_csinh.c: Likewise.
78435         * math/s_csinhf.c: Likewise.
78436         * math/s_csinhl.c: Likewise.
78437         * math/s_csinl.c: Likewise.
78438         * math/s_csqrt.c: Likewise.
78439         * math/s_csqrtf.c: Likewise.
78440         * math/s_csqrtl.c: Likewise.
78441         * math/s_ctan.c: Likewise.
78442         * math/s_ctanf.c: Likewise.
78443         * math/s_ctanh.c: Likewise.
78444         * math/s_ctanhf.c: Likewise.
78445         * math/s_ctanhl.c: Likewise.
78446         * math/s_ctanl.c: Likewise.
78447         * math/s_ldexp.c: Likewise.
78448         * math/s_ldexpf.c: Likewise.
78449         * math/s_ldexpl.c: Likewise.
78450         * math/s_significand.c: Likewise.
78451         * math/s_significandf.c: Likewise.
78452         * math/s_significandl.c: Likewise.
78453         * math/w_acos.c: Likewise.
78454         * math/w_acosf.c: Likewise.
78455         * math/w_acosh.c: Likewise.
78456         * math/w_acoshf.c: Likewise.
78457         * math/w_acoshl.c: Likewise.
78458         * math/w_acosl.c: Likewise.
78459         * math/w_asin.c: Likewise.
78460         * math/w_asinf.c: Likewise.
78461         * math/w_asinl.c: Likewise.
78462         * math/w_atan2.c: Likewise.
78463         * math/w_atan2f.c: Likewise.
78464         * math/w_atan2l.c: Likewise.
78465         * math/w_atanh.c: Likewise.
78466         * math/w_atanhf.c: Likewise.
78467         * math/w_atanhl.c: Likewise.
78468         * math/w_cosh.c: Likewise.
78469         * math/w_coshf.c: Likewise.
78470         * math/w_coshl.c: Likewise.
78471         * math/w_dremf.c: Likewise.
78472         * math/w_exp10.c: Likewise.
78473         * math/w_exp10f.c: Likewise.
78474         * math/w_exp10l.c: Likewise.
78475         * math/w_exp2.c: Likewise.
78476         * math/w_exp2f.c: Likewise.
78477         * math/w_fmod.c: Likewise.
78478         * math/w_fmodf.c: Likewise.
78479         * math/w_fmodl.c: Likewise.
78480         * math/w_hypot.c: Likewise.
78481         * math/w_hypotf.c: Likewise.
78482         * math/w_hypotl.c: Likewise.
78483         * math/w_j0.c: Likewise.
78484         * math/w_j0f.c: Likewise.
78485         * math/w_j0l.c: Likewise.
78486         * math/w_j1.c: Likewise.
78487         * math/w_j1f.c: Likewise.
78488         * math/w_j1l.c: Likewise.
78489         * math/w_jn.c: Likewise.
78490         * math/w_jnf.c: Likewise.
78491         * math/w_jnl.c: Likewise.
78492         * math/w_lgamma.c: Likewise.
78493         * math/w_lgamma_r.c: Likewise.
78494         * math/w_lgammaf.c: Likewise.
78495         * math/w_lgammaf_r.c: Likewise.
78496         * math/w_lgammal.c: Likewise.
78497         * math/w_lgammal_r.c: Likewise.
78498         * math/w_log.c: Likewise.
78499         * math/w_log10.c: Likewise.
78500         * math/w_log10f.c: Likewise.
78501         * math/w_log10l.c: Likewise.
78502         * math/w_log2.c: Likewise.
78503         * math/w_log2f.c: Likewise.
78504         * math/w_log2l.c: Likewise.
78505         * math/w_logf.c: Likewise.
78506         * math/w_logl.c: Likewise.
78507         * math/w_pow.c: Likewise.
78508         * math/w_powf.c: Likewise.
78509         * math/w_powl.c: Likewise.
78510         * math/w_remainder.c: Likewise.
78511         * math/w_remainderf.c: Likewise.
78512         * math/w_remainderl.c: Likewise.
78513         * math/w_scalb.c: Likewise.
78514         * math/w_scalbf.c: Likewise.
78515         * math/w_scalbl.c: Likewise.
78516         * math/w_sinh.c: Likewise.
78517         * math/w_sinhf.c: Likewise.
78518         * math/w_sinhl.c: Likewise.
78519         * math/w_sqrt.c: Likewise.
78520         * math/w_sqrtf.c: Likewise.
78521         * math/w_sqrtl.c: Likewise.
78522         * math/w_tgamma.c: Likewise.
78523         * math/w_tgammaf.c: Likewise.
78524         * math/w_tgammal.c: Likewise.
78526         * po/ja.po: Update from translation team.
78528 2011-09-29  Andreas Jaeger  <aj@suse.de>
78530         [BZ #13179]
78531         * sunrpc/netname.c (netname2host): Fix logic.
78533         [BZ #6779]
78534         [BZ #6783]
78535         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
78536         correctly.
78537         * math/w_remainder.c (__remainder): Likewise.
78538         * math/w_remainderf.c (__remainderf): Likewise.
78539         * math/libm-test.inc (remainder_test): Add test cases.
78541 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78543         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
78544         sdiv_qrnnd.
78546 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
78548         * string/test-memcmp.c: Avoid unncessary #defines.
78549         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
78551 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78553         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
78554         Use new sse2 version for core i3 - i7 as it's faster
78555         than sse42 version.
78556         (bit_Prefer_PMINUB_for_stringop): New.
78557         * sysdeps/x86_64/rawmemchr.S: Update.
78558         Replace with faster SSE2 version.
78559         * sysdeps/x86_64/memrchr.S: New file.
78560         * sysdeps/x86_64/memchr.S: Update.
78561         Replace with faster SSE2 version.
78563 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
78565         * elf/dl-load.c (lose): Add cast to avoid warning.
78567 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
78569         * po/ca.po: Update from translation team.
78571         * inet/getnetgrent_r.c: Hook up nscd.
78572         * nscd/Makefile (routines): Add nscd_netgroup.
78573         (nscd-modules): Add netgroupcache.
78574         (CFLAGS-netgroupcache.c): Define.
78575         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
78576         (cache_search): Add const to second parameter.
78577         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
78578         INNETGR.
78579         (dbs): Add netgrdb entry.
78580         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
78581         (verify_persistent_db): Handle netgrdb.
78582         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
78583         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
78584         GETFDNETGR.
78585         (netgroup_response_header): Define.
78586         (innetgroup_response_header): Define.
78587         (datahead): Add netgroup_response_header and innetgroup_response_header
78588         elements.
78589         * nscd/nscd.conf: Add entries for netgroup cache.
78590         * nscd/nscd.h (dbtype): Add netgrdb.
78591         (_PATH_NSCD_NETGROUP_DB): Define.
78592         (netgroup_iov_disabled): Declare.
78593         (xmalloc, xcalloc, xrealloc): Move declarations here.
78594         (cache_search): Adjust prototype.
78595         Add netgroup-related prototypes.
78596         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
78597         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
78598         (__nscd_innetgr): Declare.
78599         * nscd/selinux.c (perms): Use access_vector_t as element type and
78600         add netgroup-related initializers.
78601         * nscd/netgroupcache.c: New file.
78602         * nscd/nscd_netgroup.c: New file.
78603         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
78604         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
78605         For four parameters use innetgr.
78606         * nss/nss_files/files-init.c: Add definition and callback for netgr.
78607         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
78608         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
78609         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
78611         * nscd/connections.c (register_traced_file): Don't register file
78612         for disabled databases.
78614 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
78616         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
78618         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
78619         from tree and freeing node.
78621 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
78623         * nss/nsswitch.c (__nss_database_lookup): Handle
78624         nss_parse_service_list out of memory case.
78626 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
78628         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
78629         out of memory case.
78631 2011-10-04  Andreas Schwab  <schwab@redhat.com>
78633         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
78634         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
78635         pass it down.
78636         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
78637         elf_machine_rela, elf_machine_lazy_rel.
78638         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
78639         (ELF_DYNAMIC_DO_REL): Likewise.
78640         (ELF_DYNAMIC_DO_RELA): Likewise.
78641         (ELF_DYNAMIC_RELOCATE): Likewise.
78642         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
78643         to ELF_DYNAMIC_DO_REL.
78644         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
78645         (dl_main): In trace mode always set __RTLD_NOIFUNC.
78646         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
78647         elf_machine_rela.
78648         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
78649         skip_ifunc, don't call ifunc function if non-zero.
78650         (elf_machine_rela): Likewise.
78651         (elf_machine_lazy_rel): Likewise.
78652         (elf_machine_lazy_rela): Likewise.
78653         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
78654         (elf_machine_lazy_rel): Likewise.
78655         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
78656         Likewise.
78657         (elf_machine_lazy_rel): Likewise.
78658         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
78659         Likewise.
78660         (elf_machine_lazy_rel): Likewise.
78661         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
78662         (elf_machine_lazy_rel): Likewise.
78663         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
78664         (elf_machine_lazy_rel): Likewise.
78665         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
78666         (elf_machine_lazy_rel): Likewise.
78667         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
78668         (elf_machine_lazy_rel): Likewise.
78669         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
78670         (elf_machine_lazy_rel): Likewise.
78671         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
78672         (elf_machine_lazy_rel): Likewise.
78674 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
78676         * nss/nss_files/files-init.c (_nss_files_init): Use static
78677         initialization for all the *_traced_file variables.
78679 2011-09-28  Andreas Schwab  <schwab@redhat.com>
78681         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
78683 2011-09-27  Roland McGrath  <roland@hack.frob.com>
78685         [BZ #13226]
78686         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
78688 2011-09-27  Andreas Schwab  <schwab@redhat.com>
78690         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
78691         Reread the line before reparsing it.
78693 2011-09-26  Andreas Schwab  <schwab@redhat.com>
78695         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
78697 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
78698             Maxim Kuvyrkov  <maxim@codesourcery.com>
78699             Joseph Myers  <joseph@codesourcery.com>
78701         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
78702         if needed for __stack_chk_guard.
78704 2011-09-19  Roland McGrath  <roland@hack.frob.com>
78706         * sysdeps/posix/spawni.c (script_execute): Always define it.
78707         It will be optimized away if unused.
78708         (maybe_script_execute): New function.
78709         (__spawni): Call it.
78711         * Makerules: Don't include tls.make.
78712         (config-tls): Always set to thread.
78713         * tls.make.c: File removed.
78715 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
78717         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
78718         * config.make.in (CPPFLAGS-config): New substituted variable.
78720 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
78722         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
78724         [BZ #13192]
78725         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
78726         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
78728 2011-09-15  Roland McGrath  <roland@hack.frob.com>
78730         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
78731         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
78732         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
78733         (CALL_FAIL): Likewise.
78734         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
78735         (CALL_FAIL): Macro removed.
78736         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
78738 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
78740         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
78741         for __FINITE_MATH_ONLY__ == 1.
78743 2011-09-15  Andreas Schwab  <schwab@redhat.com>
78745         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
78746         __ieee754_sqrt instead of sqrt.
78747         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
78748         __ieee754_sqrtf instead of sqrtf.
78749         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
78750         __floorf instead of floorf.
78751         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
78752         __floorf, __truncf instead of floorf, truncf.
78754 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
78756         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
78758         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
78759         __extern_always_inline.
78760         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
78761         32-bit.
78763 2011-09-14  Andreas Schwab  <schwab@redhat.com>
78765         * elf/rtld.c (dl_main): Also relocate in dependency order when
78766         doing symbol dependency testing.
78768 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
78770         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
78771         Always define `refsym'.
78773 2011-09-13  Andreas Schwab  <schwab@redhat.com>
78775         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
78776         (__FD_ELT): Renamed from __FDELT.
78777         * misc/bits/select2.h (__FD_ELT): Likewise.
78778         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
78779         __FD_MASK instead of __FDELT, __FDMASK.
78780         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
78781         Likewise.
78782         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
78783         Likewise.
78785         * elf/Makefile (gen-ldd): Fix pattern.
78787         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
78788         (init_tls): Likewise.
78790 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
78792         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
78794 2011-09-12  Andreas Schwab  <schwab@redhat.com>
78796         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
78797         `struct cmsghdr *' instead of `void *'.
78798         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
78799         Likewise.
78801 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
78803         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
78804         if non-absolute.
78805         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
78806         ldd_rewrite_script.
78808 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
78810         * configure.in: Remove --with-tls option.
78811         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
78812         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
78813         out in case it is missing.
78814         * sysdeps/ia64/elf/configure.in: Likewise.
78815         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
78816         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
78817         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
78818         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
78819         * sysdeps/sh/elf/configure.in: Likewise.
78820         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
78821         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
78822         * sysdeps/x86_64/elf/configure.in: Likewise.
78823         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
78824         * sysdeps/mach/hurd/tls.h: Likewise.
78826         [BZ #13067]
78827         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
78829         [BZ #13090]
78830         * configure.in: Fix use of AC_INIT.
78832         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
78834 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
78836         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
78837         __set_errno.
78838         * malloc/hooks.c: Likewise.
78840         [BZ #11929]
78841         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
78842         variables statically.
78843         (narenas): Initialize.
78844         (list_lock): Initialize.
78845         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
78846         initializtion of main_arena and list_lock.  Small cleanups.
78847         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
78848         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
78849         Add initializers to main_arena and mp_.
78850         (malloc_state): Remove pagesize member.  Change all users to use
78851         GLRO(dl_pagesize).
78853         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
78854         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
78855         is always initialized.
78857         * malloc/malloc.c: Removed unused configurations and dead code.
78858         * malloc/arena.c: Likewise.
78859         * malloc/hooks.c: Likewise.
78860         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
78862         * include/tls.h: Removed.  USE___THREAD must always be defined.
78863         * bits/libc-tsd.h: Don't handle !USE___THREAD.
78864         * elf/dl-libc.c: Likewise.
78865         * elf/dl-tsd.c: Likewise.
78866         * include/errno.h: Likewise.
78867         * include/netdb.h: Likewise.
78868         * include/resolv.h: Likewise.
78869         * inet/herrno-loc.c: Likewise.
78870         * inet/herrno.c: Likewise.
78871         * malloc/arena.c: Likewise.
78872         * malloc/hooks.c: Likewise.
78873         * malloc/malloc.c: Likewise.
78874         * resolv/res-state.c: Likewise.
78875         * resolv/res_libc.c: Likewise.
78876         * sysdeps/i386/dl-machine.h: Likewise.
78877         * sysdeps/ia64/dl-machine.h: Likewise.
78878         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
78879         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
78880         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
78881         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
78882         * sysdeps/sh/dl-machine.h: Likewise.
78883         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
78884         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
78885         * sysdeps/unix/i386/sysdep.S: Likewise.
78886         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
78887         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
78888         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
78889         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
78890         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
78891         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
78892         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
78893         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
78894         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
78895         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
78896         * sysdeps/unix/x86_64/sysdep.S: Likewise.
78897         * sysdeps/x86_64/dl-machine.h: Likewise.
78898         * tls.make.c: Likewise.
78900         * configure.in: Remove --with-__thread option.  Make tests for
78901         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
78902         tls_model attribute fail if no support is available.  Remove
78903         USE_IN_LIBIO.
78904         * Makeconfig: Adjust for dropped configure option.  All features are
78905         now mandatory.
78906         * Makerules: Likewise.
78907         * Versions.def: Likewise.
78908         * argp/argp-fmtstream.c: Likewise.
78909         * argp/argp-fmtstream.h: Likewise.
78910         * argp/argp-help.c: Likewise.
78911         * assert/assert.c: Likewise.
78912         * config.h.in: Likewise.
78913         * config.make.in: Likewise.
78914         * configure: Likewise.
78915         * configure.in: Likewise.
78916         * csu/Versions: Likewise.
78917         * csu/init.c: Likewise.
78918         * elf/tst-audit2.c: Likewise.
78919         * elf/tst-tls10.c: Likewise.
78920         * elf/tst-tls10.h: Likewise.
78921         * elf/tst-tls11.c: Likewise.
78922         * elf/tst-tls12.c: Likewise.
78923         * elf/tst-tls14.c: Likewise.
78924         * elf/tst-tlsmod11.c: Likewise.
78925         * elf/tst-tlsmod12.c: Likewise.
78926         * elf/tst-tlsmod13.c: Likewise.
78927         * elf/tst-tlsmod13a.c: Likewise.
78928         * elf/tst-tlsmod14a.c: Likewise.
78929         * elf/tst-tlsmod15b.c: Likewise.
78930         * elf/tst-tlsmod16a.c: Likewise.
78931         * elf/tst-tlsmod16b.c: Likewise.
78932         * elf/tst-tlsmod7.c: Likewise.
78933         * elf/tst-tlsmod8.c: Likewise.
78934         * elf/tst-tlsmod9.c: Likewise.
78935         * gmon/gmon.c: Likewise.
78936         * grp/fgetgrent_r.c: Likewise.
78937         * grp/putgrent.c: Likewise.
78938         * hurd/fopenport.c: Likewise.
78939         * include/libc-symbols.h: Likewise.
78940         * include/tls.h: Likewise.
78941         * intl/gettextP.h: Likewise.
78942         * intl/loadinfo.h: Likewise.
78943         * locale/global-locale.c: Likewise.
78944         * locale/localeinfo.h: Likewise.
78945         * mach/devstream.c: Likewise.
78946         * malloc/arena.c: Likewise.
78947         * malloc/set-freeres.c: Likewise.
78948         * misc/err.c: Likewise.
78949         * misc/getttyent.c: Likewise.
78950         * misc/mntent_r.c: Likewise.
78951         * posix/getopt.c: Likewise.
78952         * posix/wordexp.c: Likewise.
78953         * pwd/fgetpwent_r.c: Likewise.
78954         * resolv/Versions: Likewise.
78955         * resolv/res_hconf.c: Likewise.
78956         * shadow/fgetspent_r.c: Likewise.
78957         * shadow/putspent.c: Likewise.
78958         * stdio-common/printf_fphex.c: Likewise.
78959         * stdio-common/tmpfile.c: Likewise.
78960         * stdlib/abort.c: Likewise.
78961         * stdlib/fmtmsg.c: Likewise.
78962         * sunrpc/auth_unix.c: Likewise.
78963         * sunrpc/clnt_perr.c: Likewise.
78964         * sunrpc/clnt_tcp.c: Likewise.
78965         * sunrpc/clnt_udp.c: Likewise.
78966         * sunrpc/clnt_unix.c: Likewise.
78967         * sunrpc/openchild.c: Likewise.
78968         * sunrpc/svc_simple.c: Likewise.
78969         * sunrpc/svc_tcp.c: Likewise.
78970         * sunrpc/svc_udp.c: Likewise.
78971         * sunrpc/svc_unix.c: Likewise.
78972         * sunrpc/xdr.c: Likewise.
78973         * sunrpc/xdr_array.c: Likewise.
78974         * sunrpc/xdr_rec.c: Likewise.
78975         * sunrpc/xdr_ref.c: Likewise.
78976         * sunrpc/xdr_stdio.c: Likewise.
78978 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
78980         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
78982 2011-07-03  Andreas Jaeger  <aj@suse.de>
78984         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
78985         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
78986         regenerate with gen-libm-tests.pl.
78988 2010-05-12  Petr Baudis  <pasky@suse.cz>
78990         [BZ #11589]
78991         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
78992         around j0() zero points by switching to j1().
78993         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
78994         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
78995         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
78996         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
78998 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
79000         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
79001         instead of 0.
79002         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
79003         instead of 0.
79004         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
79005         Patch in part by Pavel Roskin <proski@gnu.org>.
79007         [BZ #13138]
79008         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
79009         realloc.
79010         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
79011         Free memory block if necessary.
79013         [BZ #12847]
79014         * libio/genops.c (INTDEF): For string streams the _lock pointer can
79015         be NULL.  Don't lock in this case.
79017 2011-09-09  Roland McGrath  <roland@hack.frob.com>
79019         * elf/elf.h (ELFOSABI_GNU): New macro.
79020         (ELFOSABI_LINUX): Define to that.
79022 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
79024         * string/strncat.c (strncat): Undef the symbol in case it has been
79025         defined in bits/string.h.
79027 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
79029         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
79031         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
79032         link map.
79034 2011-08-17  Andreas Jaeger  <aj@suse.de>
79036         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
79038 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
79039             Ian Lance Taylor  <iant@google.com>
79041         * math/libm-test.inc (lround_test): New testcase.
79042         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
79044 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
79046         * Makefile: Remove support for automatic cvs check-ins.
79047         * Makerules: Likewise.
79048         * config.make.in: Likewise.
79049         * configure.in: Likewise.
79050         * intl/Makefile: Likewise.
79051         * locale/Makefile: Likewise.
79052         * po/Makefile: Likewise.
79053         * posix/Makefile: Likewise.
79054         * sysdeps/gnu/Makefile: Likewise.
79055         * sysdeps/mach/hurd/Makefile: Likewise.
79056         * sysdeps/sparc/sparc32/Makefile: Likewise.
79058         [BZ #13118]
79059         * posix/Makefile (bug-regex32-ENV): Define.
79060         Patch by John Stanley <jpsinthemix@verizon.net>.
79062         * misc/Makefile (headers): Add bits/select2.h.
79063         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
79064         * misc/bits/select2.h: New file.
79065         * include/bits/select2.h: New file.
79066         * debug/Makefile (routines): Add fdelt_chk.
79067         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
79068         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
79069         FD_ISSET.
79070         * debug/fdelt_chk.c: New file.
79072         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
79073         * wcsmbs/test-wmemcmp.c: Likewise.
79074         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
79075         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
79077 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79079         * string/Makefile (strop-tests): Add memcmp.
79080         * string/test-wmemcmp.c: New file.
79081         * string/test-memcmp.c: Add wmemcmp support.
79083 2011-09-08  Roland McGrath  <roland@hack.frob.com>
79085         [BZ #13153]
79086         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
79087         2011-07-19 change.
79089         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
79090         garbage value in a __mach_port_mod_refs call in the cases of the
79091         task-self and thread-self ports.
79093 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79095         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
79097 2011-09-08  Andreas Schwab  <schwab@redhat.com>
79099         * elf/dl-load.c (lose): Check for non-null L.
79101 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
79103         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
79105         * elf/dl-libc.c (dlerror_run): Pass back error code from
79106         dl_catch_error.
79108         [BZ #13123]
79109         * elf/dl-load.c (lose): Free l_origin if it is valid.
79111         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
79112         names.
79113         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
79114         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
79115         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
79116         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
79117         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
79118         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
79120 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79122         * sysdeps/powerpc/fpu/e_hypot.c: New file.
79123         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
79124         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
79125         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
79126         * sysdeps/powerpc/fpu/k_cosf.c: New file.
79127         * sysdeps/powerpc/fpu/k_sinf.c: New file.
79128         * sysdeps/powerpc/fpu/s_cosf.c: New file.
79129         * sysdeps/powerpc/fpu/s_sinf.c: New file.
79130         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
79131         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
79133 2011-08-15  Alan Modra  <amodra@gmail.com>
79135         [BZ #13092]
79136         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
79137         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
79138         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
79139         ppc_mcount to static-only-routines.
79140         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
79141         __mcount_internal.
79142         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
79143         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
79145 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
79147         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
79148         for finite and infinity parameters.
79150 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
79152         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
79153         and add nop instructions for throughput optimization.
79154         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
79156 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
79158         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
79159         aligned copy for power7 with vector-scalar instructions.
79160         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
79162 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
79164         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
79165         AVX check.
79167 2011-09-07  Andreas Schwab  <schwab@redhat.com>
79169         [BZ #13144]
79170         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
79171         last change.
79173 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
79175         * sysdeps/unix/sysv/linux/x86_64/init-first.c
79176         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
79177         syscall wrapper around clock_gettime in __vdso_clock_gettime.
79178         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
79179         clock_gettime.
79181 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
79183         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
79184         Forgot to demangle the pointer.
79186         * sysdeps/i386/sysdep.h: Define atom_text_section.
79187         * sysdeps/x86_64/sysdep.h: Likewise.
79188         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
79189         section with atom_text_section.
79190         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
79191         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
79192         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
79193         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
79194         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
79196         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
79197         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
79198         already be defined.  Change to take two parameters and don't assign
79199         result to variable.  Adjust all users.
79200         Define INTERNAL_GETTIME if not already defined.
79201         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
79202         call.
79203         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
79204         HAVE_CLOCK_GETTIME_VSYSCALL.
79205         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
79207         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
79208         gettimeofday vsyscall, just use time.
79210 2011-09-06  Andreas Schwab  <schwab@redhat.com>
79212         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
79213         <errno.h>.
79215 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
79217         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
79218         syscall on x86-64.
79219         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
79220         syscall.
79221         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
79222         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
79223         syscall if possible.
79225 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
79227         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
79228         e_ident.  Don't pass to find_mapsXX.
79229         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
79231 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
79233         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79234         strchr-sse2-no-bsf strrchr-sse2-no-bsf
79235         * sysdeps/x86_64/multiarch/strchr.S: Update.
79236         Check bit_slow_BSF bit.
79237         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
79238         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
79239         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
79241 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
79243         [BZ #13134]
79244         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
79245         before glibc 2.15.
79246         (tryshell): Define.
79247         (__spawni): Change last parameter to be flag.  Test
79248         SPAWN_XFLAGS_USE_PATH flag to use path or not.
79249         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
79250         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
79251         * posix/spawni.c: Likewise.
79252         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
79253         * posix/spawnp.c: Likewise.  Change normal version to use
79254         SPAWN_XFLAGS_USE_PATH.
79255         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
79256         SPAWN_XFLAGS_TRY_SHELL.
79258         [BZ #13150]
79259         * posix/glob.h: Remove gcc 1.x support.
79261         [BZ #13068]
79262         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
79264 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
79266         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79267         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
79268         strrchr-sse2-bsf
79269         * sysdeps/i386/i686/multiarch/strchr.S: New file.
79270         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
79271         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
79272         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
79273         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
79274         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
79276 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79278         * sysdeps/x86_64/wcscmp.S: New file.
79280         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
79281         wcscmp-c wcscmp-sse2
79282         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
79283         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
79284         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
79285         * wcsmbs/wcscmp.c: Allow renaming.
79287 2011-09-05  David S. Miller  <davem@davemloft.net>
79289         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
79290         stack slot, rather than the struct return pointer slot.
79291         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
79292         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
79293         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
79294         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
79296 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
79298         * po/ja.po: Update from translation team.
79300         [BZ #13144]
79301         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
79302         kernel in 64-bit binaries.
79304 2011-09-01  David S. Miller  <davem@davemloft.net>
79306         * elf/elf.h (HWCAP_SPARC_*): Move to..
79307         * sysdeps/sparc/sysdep.h: this new file and add new values.
79308         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
79309         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
79310         _DL_HWCAP_COUNT to 24.
79311         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
79312         entries.
79313         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
79314         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
79315         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
79316         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
79317         instead of magic constants.
79318         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
79320 2011-08-31  David S. Miller  <davem@davemloft.net>
79322         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
79323         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
79324         Reimplement to do errno handling inline.
79325         (SYSCALL_ERROR_HANDLER): New macro.
79326         (__SYSCALL_STRING): Do not do errno handling in asm.
79327         (__CLONE_SYSCALL_STRING): Delete.
79328         (__INTERNAL_SYSCALL_STRING): Delete.
79329         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
79330         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
79331         (PSEUDO): Reimplement to do errno handling inline.
79332         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
79333         (SYSCALL_ERROR_HANDLER): New macro.
79334         (__SYSCALL_STRING): Do not do errno handling in asm.
79335         (__CLONE_SYSCALL_STRING): Delete.
79336         (__INTERNAL_SYSCALL_STRING): Delete.
79337         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
79338         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
79339         i386.
79340         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
79341         (inline_syscall*): Add 'err' argument.
79342         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
79343         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
79344         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
79345         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
79347         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
79348         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
79350 2011-08-30  Andreas Schwab  <schwab@redhat.com>
79352         * elf/rtld.c (dl_main): Relocate objects in dependency order.
79354 2011-08-29  Jiri Olsa <jolsa@redhat.com>
79356         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
79357         directive.
79359 2011-08-24  David S. Miller  <davem@davemloft.net>
79361         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
79363 2011-08-24  Andreas Schwab  <schwab@redhat.com>
79365         * elf/Makefile: Add rules to build and run unload8 test.
79366         * elf/unload8.c: New file.
79367         * elf/unload8mod1.c: New file.
79368         * elf/unload8mod1x.c: New file.
79369         * elf/unload8mod2.c: New file.
79370         * elf/unload8mod3.c: New file.
79372         * elf/dl-close.c (_dl_close_worker): Reset private search list if
79373         it wasn't used.
79375 2011-08-23  David S. Miller  <davem@davemloft.net>
79377         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
79378         subtract stack bias.
79379         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
79380         %sp not %fp in calculations.
79381         (_JMPBUF_UNWINDS_ADJ): Likewise.
79383         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
79384         (aio_suspend): Call it to force an exception region around the
79385         AIO_MISC_WAIT() invocation.
79387 2011-08-23  Andreas Schwab  <schwab@redhat.com>
79389         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
79390         backslash.
79392 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
79394         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
79395         protection macro.
79396         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
79397         and <dl-machine.h>.
79398         (Elf64_FuncDesc): Remove.
79400 2011-08-22  David S. Miller  <davem@davemloft.net>
79402         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
79403         sigaltstack check, add missing cfi directives.
79404         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
79405         missing cfi directives, and sigaltstack handling.
79407 2011-08-16  Andreas Schwab  <schwab@redhat.com>
79409         [BZ #11724]
79410         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
79411         object is seen twice.
79412         * elf/dl-fini.c (_dl_sort_fini): Likewise.
79414         * elf/Makefile (distribute): Add tst-initorder2.c.
79415         (tests): Add tst-initorder2.
79416         (modules-names): Add tst-initorder2a tst-initorder2b
79417         tst-initorder2c tst-initorder2d.  Add rules to build them.
79418         ($(objpfx)tst-initorder2.out): New rule.
79419         * elf/tst-initorder2.c: New file.
79420         * elf/tst-initorder2.exp: New file.
79422 2011-08-22  Andreas Schwab  <schwab@redhat.com>
79424         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
79426         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
79427         dependencies back to end of function.
79429         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
79430         $(elfobjdir)/ld.so.
79432 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
79434         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
79435         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
79436         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
79437         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
79438         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
79439         of __vdso_gettimeofday.
79440         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
79441         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
79442         attribute_hidden.
79443         (_libc_vdso_platform_setup): Remove initialization of
79444         __vdso_gettimeofday and __vdso_time.
79446 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
79448         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
79449         and fgetc_unlocked.
79450         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
79451         getc_unlocked.
79453         * elf/dl-open.c (add_to_global): Report additions to the global scope
79454         for LD_DEBUG=scopes.
79455         (dl_open_worker): Also print scope of newly loaded dependencies.
79456         (_dl_show_scope): Indicate if there is no scope.
79458         [BZ #13114]
79459         * stdio-common/Makefile (tests): Add bug24.
79460         * stdio-common/bug24.c: New file.
79462 2011-08-19  Andreas Jaeger  <aj@suse.de>
79464         [BZ #13114]
79465         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
79466         non-existant file when using close-on-exec mode.
79468 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
79470         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
79471         the very first instruction.
79473         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
79474         the CFI state in the end.
79475         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
79476         inclusion of dl-trampoline.h.
79477         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
79479 2011-08-19  Andreas Schwab  <schwab@redhat.com>
79481         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
79482         expectations for long double.
79484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
79485         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
79487 2011-08-14  David S. Miller  <davem@davemloft.net>
79489         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
79490         artificual limit depends upon the system page size.
79492 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
79494         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
79495         * resolv/Makefile: Define CFLAGS-libresolv.
79497 2011-08-17  Andreas Schwab  <schwab@redhat.com>
79499         * nss/makedb.c (compute_tables): Make variables used in nested
79500         function static.
79502 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
79504         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
79505         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
79506         if buffer was too small.
79508         * elf/pldd.c (main): Attach to all threads in the process.
79509         Rewrite /proc handling to use *at functions.
79511 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
79513         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
79514         specifies first scope to show.
79515         (dl_open_worker): Update callers.  Move printing scope of new
79516         object to before the relocation.
79517         * elf/rtld.c (dl_main): Update _dl_show_scope call.
79518         * sysdeps/generic/ldsodefs.h: Update declaration.
79520         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
79521         string for the scope number.
79523 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
79525         * nscd/servicescache.c (cache_addserv): Make sure written is always
79526         initialized.
79528 2011-08-14  Roland McGrath  <roland@hack.frob.com>
79530         * sysdeps/i386/i486/bits/atomic.h
79531         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
79532         statement expression, so as to suppress "set but not used" warning.
79533         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
79535         * string/strncat.c (STRNCAT): Use prototype definition.
79537         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
79538         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
79539         -Iprograms here.
79540         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
79541         (localedef-modules): Add localedef.
79542         (locale-modules): Add locale.
79544         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
79545         * elf/rtld.c (dl_main): Invert order of assignment in last change,
79546         to avoid a warning.
79548 2011-08-14  David S. Miller  <davem@davemloft.net>
79550         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
79551         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
79553 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
79555         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
79556         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
79557         * elf/rtld.c (dl_main): Set l_name of vDSO.
79558         Call _dl_show_scope when DL_DEBUG_SCOPES.
79559         (process_dl_debug): Recognize scopes flag and also set it for all.
79560         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
79561         Declare _dl_show_scope.
79563         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
79564         (do_dlopen): Pass caller_dlopen to dl_open.
79565         (__libc_dlopen_mode): Initialize caller_dlopen.
79567         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
79568         of libc.  Make tolower call locale-independent.  Optimize a bit by
79569         using isdigit instead of isalnum.
79570         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
79572 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
79574         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
79575         was a dependency or dynamically loaded.
79577 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
79579         * intl/l10nflist.c: Allow architecture-specific pop function.
79580         * sysdeps/x86_64/l10nflist.c: New file.
79582         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
79583         classification.
79585 2011-08-10  Andreas Schwab  <schwab@redhat.com>
79587         * include/dirent.h: Add libc_hidden_proto for scandirat and
79588         scandirat64.  Don't declare __scandirat64.
79589         * dirent/scandirat.c: Add libc_hidden_def.
79590         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
79591         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
79593 2011-08-10  David S. Miller  <davem@davemloft.net>
79595         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
79596         enum.
79597         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
79598         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
79599         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
79601 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
79603         * Versions.def [libc]: Add GLIBC_2.15.
79604         * dirent/Makefile (routines): Add scandirat and scandirat64.
79605         * dirent/Versions [libc]: Export scandirat and scandirat64 for
79606         GLIBC_2.15.
79607         * dirent/dirent.h: Declare scandirat and scandirat64.
79608         * dirent/scandirat.c: New file.
79609         * dirent/scandirat64.c: New file.
79610         * sysdeps/wordsize-64/scandirat.c: New file.
79611         * sysdeps/wordsize-64/scandirat64.c: New file.
79612         * dirent/opendir.c: Define opendirat.
79613         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
79614         using scandirat.
79615         * dirent/scandir64.c: Adjust for scandir.c change.
79616         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
79617         __scandirat64, and __scandir_cancel_handler.
79618         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
79619         additional parameter and use openat instead of open (outside of ld.so).
79620         Add new __opendir as wrapper around __opendirat.
79621         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
79622         here without requiring old scandirat implementation.
79624 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
79626         * dirent/scandir.c (cancel_handler): Renamed to
79627         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
79628         defined.  Adjust users.
79629         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
79630         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
79632 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
79634         * string/test-string.h (IMPL): Use __STRING to expand name and then
79635         stringify it.
79637         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
79638         of cleanups.
79640 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79642         * string/Makefile: Update.
79643         (strop-tests): Append strncat.
79644         * string/test-wcscmp.c: New file.
79645         New comprehensive test for wcscmp.
79646         * string/test-strcmp.c: Update.
79647         (WIDE): New define.
79649 2011-07-22  Andreas Schwab  <schwab@redhat.com>
79651         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
79652         line.
79654 2011-07-26  Andreas Schwab  <schwab@redhat.com>
79656         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
79657         encoding to ACE if AI_IDN.
79659 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
79661         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
79662         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
79664 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
79666         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
79667         Fix overflow bug in strncat.
79668         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
79670         * string/test-strncat.c: Update.
79671         Add new tests for checking overflow bugs.
79673 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
79675         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79676         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
79677         * sysdeps/i386/i686/multiarch/strcat.S: New file.
79678         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
79679         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
79680         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
79681         * sysdeps/i386/i686/multiarch/strncat.S: New file.
79682         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
79683         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
79685         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
79686         (USE_AS_STRCAT): Define.
79687         Add strcat and strncat support.
79688         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
79690 2011-07-25  Andreas Schwab  <schwab@redhat.com>
79692         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
79693         __n bigger than INT_MAX+1.
79694         (__strncmp_g): Likewise.
79696 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
79698         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
79699         * libio/stido.h: Likewise.
79701         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
79702         (AF_NFC): Define.
79703         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
79704         (AF_NFC): Define.
79706         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
79707         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
79708         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
79709         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
79710         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
79712         [BZ #13021]
79713         * scripts/test-installation.pl: Don't expect libnss_test1 to be
79714         installed.
79716         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
79717         typo.
79718         (_dl_x86_64_save_sse): Likewise.
79720 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
79722         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
79723         OSXSAVE.
79724         (_dl_x86_64_save_sse): Likewise.
79726         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
79728         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
79730 2011-07-21  Andreas Schwab  <schwab@redhat.com>
79732         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
79733         change.
79734         (_dl_x86_64_save_sse): Use correct AVX check.
79736 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79738         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
79739         bug in strncpy/strncat.
79740         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
79742 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
79744         * string/tester.c (test_strcat): Add tests for different alignments
79745         of source and destination.
79746         (test_strncat): Likewise.
79748 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
79750         [BZ #12852]
79751         * posix/glob.c (glob): Check passed in values before using them in
79752         expressions to avoid some overflows.
79753         (glob_in_dir): Likewise.
79755         [BZ #13007]
79756         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
79757         check for AVX enablement so that we don't crash with old kernels and
79758         new hardware.
79759         * elf/tst-audit4.c: Add same checks here.
79760         * elf/tst-audit6.c: Likewise.
79762         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
79764 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
79766         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
79768 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
79770         * po/cs.po: Update from translation team.
79771         * po/bg.po: Likewise.
79773 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
79775         * misc/sys/cdefs.h: Add support for const attribute.
79776         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
79777         to gnu_dev_{major,minor,makedev} functions.
79779 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
79781         * intl/dcigettext.c (get_output_charset): Add missing bracket.
79783 2011-07-20  Andreas Schwab  <schwab@redhat.com>
79785         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
79786         strlen results.
79788 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79790         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
79791         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
79792         register in order to avoid conflicts with the soft frame pointer
79793         being held in r11 when necessary.
79794         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
79795         (INTERNAL_VSYSCALL_NCS): Likewise.
79797 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
79799         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
79800         * elf/dl-fini.c (_dl_fini): Adjust caller.
79801         * elf/dl-close.c (_dl_close_worker): Likewise.
79802         * sysdeps/generic/ldsodefs.h: Adjust declaration.
79804 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
79806         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
79807         "aux_cache->nlibs < 0".
79809         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
79810         in the reload-count case.
79812 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
79814         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79815         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
79816         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
79817         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
79818         * sysdeps/x86_64/multiarch/strcat.S: New file.
79819         * sysdeps/x86_64/multiarch/strncat.S: New file.
79820         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
79821         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
79822         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
79823         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
79824         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
79825         (USE_AS_STRCAT): Define.
79826         Add strcat and strncat support.
79827         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
79828         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
79829         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
79830         * string/strncat.c: Update.
79831         (USE_AS_STRNCAT): Define.
79832         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79833         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
79834         and i7.
79835         * sysdeps/x86_64/multiarch/init-arch.h
79836         (bit_Prefer_PMINUB_for_stringop): New.
79837         (index_Prefer_PMINUB_for_stringop): Likewise.
79838         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
79839         bit_Prefer_PMINUB_for_stringop.
79841 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
79843         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
79844         buffer64.
79845         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
79846         of casting of buffer.
79847         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
79848         buffer32 and buffer64.
79849         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
79850         writes instead of casting of buffer.
79851         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
79852         buffer32.
79853         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
79854         casting of buffer.
79856 2011-07-19  Andreas Schwab  <schwab@redhat.com>
79858         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
79860 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
79862         * nscd/nscd.c (termination_handler): Don't do anything for a database
79863         if it has not yet been initialized.
79865 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
79867         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
79869 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
79871         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
79873 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
79875         * po/nl.po: Update from translation team.
79876         * po/sv.po: Likewise.
79878 2011-07-16  Roland McGrath  <roland@hack.frob.com>
79880         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
79881         now disallowed by GCC.
79883         * configure.in (use-default-link): Default to yes if a test -shared
79884         link meets our qualifications.
79885         * configure: Regenerated.
79887         * config.make.in (output-format): New variable.
79888         * configure.in: Check for ld --print-output-format support.
79889         * configure: Regenerated.
79890         * Makerules ($(common-objpfx)format.lds)
79891         [$(output-format) != unknown]: Just use $(output-format),
79892         instead of the linker-script munging.
79894 2011-07-14  Roland McGrath  <roland@hack.frob.com>
79896         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
79897         of $(common-objpfx)shlib.lds.
79898         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
79900         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
79901         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
79903         * configure.in (-z relro check): Adjust test code to add a large
79904         writable data section after it.
79905         * configure: Regenerated.
79907 2011-07-11  Roland McGrath  <roland@hack.frob.com>
79909         * configure.in (-z relro check): Fix test code to make the variable
79910         truly const.
79911         * configure: Regenerated.
79913 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
79915         * nscd/nscd.h (struct traced_file): Define.
79916         (struct database_dyn): Remove inotify_descr, reset_res, and filename
79917         elements.  Add traced_files.
79918         (inotify_fd): Declare.
79919         (register_traced_file): Declare.
79920         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
79921         (inotify_fd): Export.
79922         (resolv_conf_descr): Remove.
79923         (nscd_init): Move inotify descriptor creation to main.
79924         Don't register files for notification here.
79925         (register_traced_file): New function.
79926         (invalidate_cache): Don't use reset_res to determine whether to call
79927         res_init, go through the list of registered files.
79928         (main_loop_poll): The inotify descriptors are now stored in the
79929         structures for the traced files.
79930         (main_loop_epoll): Likewise.
79931         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
79932         to __nss_disable_nscd.
79933         * nscd/cache.c (prune_cache): There is no single inotify descriptor
79934         for a database anymore.  Check the records for all the registered
79935         files instead.
79936         * nss/Makefile (libnss_files-routines): Add files-init.
79937         (libnss_db-routines): Add db-init.
79938         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
79939         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
79940         * nss/nss_db/db-init.c: New file.
79941         * nss/nss_files/files-init.c: New file.
79942         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
79943         __nss_lookup_function.
79944         (__nss_lookup_function): Call nss_load_library.
79945         (nss_load_all_libraries): New function.
79946         (__nss_disable_nscd): Take parameter with callback function for files
79947         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
79948         used for the cached services.
79949         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
79950         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
79951         options for features to all the files in nscd.
79953         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
79955 2011-07-10  Roland McGrath  <roland@hack.frob.com>
79957         * csu/elf-init.c (__libc_csu_init): Comment typo.
79959 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
79961         * po/pl.po: Update from translation team.
79962         * po/ja.po: Likewise.
79963         * po/ru.po: Likewise.
79964         * po/ko.po: Likewise.
79965         * po/fr.po: Likewise.
79967 2011-07-09  Roland McGrath  <roland@hack.frob.com>
79969         * configure.in (.ctors/.dtors header and trailer check):
79970         Use an empirical test on a built program.
79971         * configure: Regenerated.
79973         * configure.in (-z relro check): Use an empirical test on a built DSO.
79974         Detect, but do not require, on ia64.
79975         * configure: Regenerated.
79977         * configure.in (READELF): Find it with AC_CHECK_TOOL.
79978         Update tests that use readelf to use $READELF instead.
79979         * configure: Regenerated.
79981 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
79983         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
79984         if the result is not used.
79986 2011-07-05  Andreas Jaeger  <aj@suse.de>
79988         [BZ#9696]
79989         * stdlib/tst-strtod.c: Add testcase.
79991 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
79993         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
79994         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
79995         The latter has a higher limit.  Take additional parameter to pass to
79996         the new function.
79997         (__pathconf): Pass file to __statfs_link_max.
79998         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
79999         __statfs_link_max.
80000         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
80001         __statfs_link_max.
80003         [BZ #12868]
80004         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
80005         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
80006         Handle Lustre.
80007         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
80008         (__statfs_filesize_max): Likewise.
80009         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
80011 2011-07-05  Andreas Jaeger  <aj@suse.de>
80013         * resolv/res_comp.c (dn_skipname): Remove unused variable.
80015 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
80017         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
80018         `status' variable.
80019         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
80020         Likewise.
80022 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
80024         * Makefile (strop-tests): Add strncat.
80025         * string/test-strncat.c: New file.
80027 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
80029         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
80031 2011-06-21  Andreas Jaeger  <aj@suse.de>
80033         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
80034         Copy rule from iconvdata/Makefile.
80036 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
80038         [BZ #12922]
80039         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
80040         but no long options are defined, just return 'W'.
80042 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
80044         [BZ #9696]
80045         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
80047 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
80049         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
80050         netgroups to read.
80051         (innetgr): Likewise.
80053 2011-07-05  Roland McGrath  <roland@hack.frob.com>
80055         * config.make.in (install_root): Default to $(DESTDIR).
80057 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
80059         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
80061 2011-07-02  Roland McGrath  <roland@hack.frob.com>
80063         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
80065         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
80066         containing directory rather than embedding absolute directory names.
80068         * scripts/check-local-headers.sh: Rewritten using awk.
80069         Match by word, not by line.  Print error messages for matches.
80070         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
80072         * Makerules [shlib-lds-flags empty]:
80073         ($(common-objpfx)libc_pic.opts): New target.
80074         ($(common-objpfx)libc_pic.os.clean): New target.
80075         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
80077         * config.make.in (OBJCOPY): New variable.
80078         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
80079         * configure: Regenerated.
80081         * config.make.in (use-default-link): New variable.
80082         * configure.in (use_default_link): Grok --with-default-link to set it.
80083         * configure: Regenerated.
80084         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
80085         (shlib-lds, shlib-lds-flags): Define to empty.
80087         * Makerules (shlib-lds): New variable.
80088         (shlib-lds-flags): New variable.
80089         (build-shlib, build-moduile, build-module-asneeded): Use it.
80090         ($(common-objpfx)libc.so): Use $(shlib-lds).
80091         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
80092         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
80094         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
80095         DT_FLAGS/DT_FLAGS_1 with zero flags.
80097         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
80098         linker script munging.
80100 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
80102         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
80103         as 128-bit value.
80104         * crypt/sha512.c (sha512_process_block): Perform total addition using
80105         128-bit if possible.
80106         (__sha512_finish_ctx): Likewise.
80107         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
80108         as 64-bit value.
80109         * crypt/sha256.c (SWAP64): Define.
80110         (sha256_process_block): Perform total addition using 64-bit if
80111         possible.
80112         (__sha256_finish_ctx): Likewise.
80114 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
80116         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
80117         * nscd/initgrcache.c (addinitgroupsX): Likewise.
80118         * nscd/hstcache.c (cache_addhst): Likewise.
80119         * nscd/grpcache.c (cache_addgr): Likewise.
80120         * nscd/aicache.c (addhstaiX): Likewise.
80121         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
80123 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
80125         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
80126         * nscd/initgrcache.c (addinitgroupsX): Likewise.
80127         * nscd/hstcache.c (cache_addhst): Likewise.
80128         * nscd/grpcache.c (cache_addgr): Likewise.
80129         * nscd/aicache.c (addhstaiX): Likewise.
80131 2011-07-01  Andreas Schwab  <schwab@redhat.com>
80133         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
80134         domain only when needed.
80136 2011-06-30  Andreas Schwab  <schwab@redhat.com>
80138         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
80139         is always restored.
80141 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
80143         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
80144         are re-adding the entry.
80145         * nscd/servicescache.c (cache_addserv): Likewise.
80147 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
80149         * sysdeps/generic/dl-irel.h: fix protection against multiple
80150         inclusions.
80151         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
80153 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
80155         [BZ #12935]
80156         * malloc/memusage.sh: Fix quoting in message.
80157         * debug/xtrace.sh: Likewise.
80159         * configure.in: Remove support for --experimental-malloc option, make
80160         it the default.
80161         * config.make.in: Likewise.
80162         * malloc/Makefile: Likewise.
80164 2011-06-27  Andreas Schwab  <schwab@redhat.com>
80166         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
80167         two-byte characters.
80169 2011-06-27  Roland McGrath  <roland@hack.frob.com>
80171         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
80172         AC_CACHE_CHECK invocation.
80173         * configure: Regenerated.
80175         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
80177 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
80179         [BZ #12350]
80180         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
80181         bit from old_res_options.
80183         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
80185         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
80186         value type for setfct.
80188 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
80190         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
80191         __gettimeofday instead of gettimeofday.
80193 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
80195         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
80197 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
80199         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
80201         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
80202         info.
80204 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
80206         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80207         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
80208         strcpy-sse2-unaligned strncpy-sse2-unaligned
80209         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
80210         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
80211         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
80212         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
80213         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
80214         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
80215         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
80216         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
80217         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
80218         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
80219         (STRCPY): Support SSE2 and SSSE3 versions.
80221 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
80223         [BZ #12874]
80224         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
80225         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
80226         kernels which artificially limit size of requests.
80228 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
80230         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80231         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
80232         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
80233         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
80234         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
80235         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
80236         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
80237         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
80238         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
80239         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
80240         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
80241         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
80242         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
80243         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
80244         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
80245         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80246         Enable unaligned load optimization for Intel Core i3, i5 and i7
80247         processors.
80248         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
80249         Define.
80250         (index_Fast_Unaligned_Load): Define.
80251         (HAS_FAST_UNALIGNED_LOAD): Define.
80253 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
80255         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
80257 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
80259         [BZ #12907]
80260         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
80261         until it is clear that the information is realy needed.
80262         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
80264 2011-06-22  Andreas Schwab  <schwab@redhat.com>
80266         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
80268 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
80270         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
80271         /sys/devices/system/cpu/online if it is usable.
80273         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
80274         reading the information from the /proc filesystem to once a second.
80276 2011-06-21  Andreas Jaeger  <aj@suse.de>
80278         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
80279         NULL after inclusion of kernel headers.
80281 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
80283         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
80284         calls to internal_setent.
80286         [BZ #12885]
80287         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
80288         addresses using gethostbyname4_r ignore IPv4 addresses.
80290         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
80291         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
80293         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
80295 2011-06-20  David S. Miller  <davem@davemloft.net>
80297         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
80298         inclusions.
80299         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
80301         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
80302         (elf_irel): Use it.
80303         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
80304         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
80305         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
80306         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
80307         * sysdeps/x86_64/dl-irel.h: Likewise.
80309         * elf/dl-runtime.c: Use elf_ifunc_invoke.
80310         * elf/dl-sym.c: Likewise.
80312 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
80314         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
80315         need to dereference resplen2.
80317 2011-06-14  Andreas Schwab  <schwab@redhat.com>
80319         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
80321 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
80323         * Makeconfig: Define vardbdir and inst_vardbdir.
80324         * nss/Makefile: Add rules to install db-Makefile.
80326         * nss/nss_db/db-XXX.c: Cleanup.
80328         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
80329         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
80330         GLIBC_PRIVATE.
80331         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
80332         * nss/makedb.c: Implement -g option to specify that value strings
80333         are generated and should not be added to table iterated over for
80334         get*ent calls.
80335         * nss/nss_db/db-initgroups.c: New file.
80337         * nss/getent.c: Add support for initgroups lookups through getgrouplist
80338         interface.
80340         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
80341         (internal_getgrouplist): Adjust to name change.
80342         Update use_initgroups_entry if this is not the first call.
80343         * nss/databases.def: Add initgroups entry.
80345         * nss/makedb.c (compute_tables): Check result of multiple hash table
80346         sizes to minimize maximum chain length.
80348 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
80350         * Versions.def: Add entry for libnss_db.
80351         * shlib-versions: Likewise.
80352         * nss/Makefile: Add rules to build libnss_db.
80353         * nss/Versions: Add libnss_db information.  Organize libnss_files
80354         entries better.
80355         * nss/db-Makefile: Add gshadow support.  Change rules for the new
80356         makedb progra.  Some minor improvements to generate smaller files.
80357         * nss/nss_db/nss_db.h: Move NSS database header data structures to
80358         here from...
80359         * nss/makedb.c: ...here.
80360         Improve database format to be smaller and require less memory at
80361         runtime.
80362         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
80363         db anymore.
80364         * nss/nss_db/db-netgrp.c: Likewise.
80365         * nss/nss_db/db-open.c: Likewise.
80366         * nss/nss_files/flies-XXX.x: Adjust comments.
80367         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
80368         * nss/nss_files/files-grp.c: Likewise.
80369         * nss/nss_files/files-hosts.c: Likewise.
80370         * nss/nss_files/files-network.c: Likewise.
80371         * nss/nss_files/files-proto.c: Likewise.
80372         * nss/nss_files/files-pwd.c: Likewise.
80373         * nss/nss_files/files-rpc.c: Likewise.
80374         * nss/nss_files/files-service.c: Likewise.
80375         * nss/nss_files/files-sgrp.c: Likewise.
80376         * nss/nss_files/files-spwd.c: Likewise.
80377         * nss/nss_db/db-alias.c: Removed.
80378         * nss/nss_db/dummy-db.h: Removed.
80380 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
80382         * nss/makedb.c: Rewritten to not use database library.
80383         * nss/Makefile: Update to build new makedb program.
80385 2011-06-14  Andreas Jaeger  <aj@suse.de>
80387         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
80388         memset declaration.
80390 2011-06-10  Andreas Schwab  <schwab@redhat.com>
80392         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
80393         tmpbuf.
80395 2011-06-10  Roland McGrath  <roland@hack.frob.com>
80397         * Makerules (shlib.lds): Fail if the linker script comes out empty.
80398         * elf/Makefile ($(objpfx)ld.so): Likewise.
80400         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
80401         Don't list ld.so twice in dependencies.
80403         * posix/bug-regex31.c: Include <stdlib.h>.
80405         * nscd/hstcache.c (cache_addhst): Remove unused variable.
80407         * nis/nss_compat/compat-spwd.c
80408         (getspent_next_nss_netgr): Remove unused variable.
80409         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
80411         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
80412         nonmembers" output to use the right array.
80414         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
80416         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
80418         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
80419         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
80420         * catgets/gencat.c (read_input_file): Likewise.
80421         * locale/programs/locarchive.c (enlarge_archive): Likewise.
80423         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
80424         variable definition inside #if's controlling its use.
80426         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
80428         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
80430         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
80432         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
80433         unreachable code.
80435         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
80437         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
80438         * configure: Regenerated.
80440         * Makerules: Revert last change.
80441         * elf/Makefile: Likewise.
80443 2011-06-09  Roland McGrath  <roland@hack.frob.com>
80445         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
80446         * elf/Makefile ($(objpfx)librtld.os): Likewise.
80447         (reloc-link): Likewise.
80449 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
80451         * elf/Makefile: Add rules to build pldd.
80452         * elf/pldd.c: New file.
80453         * elf/pldd-xx.c: New file.
80455 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
80457         * version.h: Update for 2.15 development version.
80459 2011-06-07  David S. Miller  <davem@davemloft.net>
80461         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
80462         ifuncs.
80463         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
80464         elf_machine_lazy_rel): Likewise.
80465         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
80466         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
80467         elf_machine_lazy_rel): Likewise.
80468         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
80469         dl_hwcap via passed in argument.
80470         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
80471         Likewise.
80473 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80475         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
80477 2011-06-06  Roland McGrath  <roland@hack.frob.com>
80479         [BZ #12849]
80480         * manual/fdl-1.1.texi: New file, verbatim from:
80481         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
80482         * manual/lgpl-2.1.texi: New file, verbatim from:
80483         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
80484         * manual/Makefile (licenses): New variable, list those new file names.
80485         (texis): Use it.
80486         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
80488         * manual/fdl.texi: File removed.
80489         * manual/lesser.texi: File removed.
80490         * manual/libc.texinfo (Copying, Documentation License):
80491         Use new @include file names, put @appendix directive before @include.
80493 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
80495         [BZ #12841]
80496         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
80497         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
80498         (mq_open): Add __NTH.
80500 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
80502         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80503         Assume Intel Core i3/i5/i7 processor if AVX is available.
80505 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
80507         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
80508         typo.
80510 2011-05-31  Andreas Schwab  <schwab@redhat.com>
80512         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
80513         memory.  Use alloca_account.  Fix memory leak when retrying.
80515 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
80517         * version.h (RELEASE): Bump for 2.14 release.
80518         * include/features.h (__GLIBC_MINOR__): Bump to 14.
80520         * config.make.in (RANLIB): Remove entry.
80522 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
80524         * po/Makefile (po-sed-cmd): Add ksh to extensions.
80525         (libc.pot): Work around missing support for .ksh extension in xgettext.
80527         [BZ #12684]
80528         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
80529         if both request failed.
80530         (send_dg): In case of server errors clear resplen or *resplen2.
80532         [BZ #12454]
80533         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
80534         when there are multiple maps.
80535         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
80536         (_dl_fini): Remove test here.
80538         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
80540 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
80542         [BZ #12350]
80543         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
80544         bit from old_res_options.
80545         (gaih_inet): Likewise.
80547         [BZ #11099]
80548         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
80549         as signed.
80551         * resolv/res_init.c (res_setoptions): Make the code more compact.
80553         [BZ #11558]
80554         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
80555         set RES_USEVC.
80557         [BZ #11634]
80558         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
80560         * malloc/malloc.h: Mark malloc hook variables as deprecated.
80562         [BZ #11781]
80563         * malloc/malloc.h: Declare malloc hook variables as volatile.
80565         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
80566         in last patch.
80568         [BZ #11799]
80569         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
80570         raise in the comment.
80571         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
80572         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
80573         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
80575 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
80577         [BZ #12811]
80578         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
80579         grow the buffers more if it already has to be sufficient.
80580         (build_wcs_upper_buffer): Likewise.
80581         * posix/regexec.c (check_matching): Likewise.
80582         (clean_state_log_if_needed): Likewise.
80583         (extend_buffers): Don't enlarge buffers beyond size of the input
80584         buffer.
80585         Patches mostly by Emil Wojak <emil@wojak.eu>.
80586         * posix/bug-regex32.c: New file.
80587         * posix/Makefile (tests): Add bug-regex32.
80589         * locale/findlocale.c (_nl_find_locale): Return right away if
80590         _nl_explode_name failed.
80591         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
80593         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
80595         * debug/xtrace.sh: Unify messages.
80596         * malloc/memusage.sh: Likewise.
80598         [BZ #12813]
80599         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
80600         time symbol from vDSO.  Substitute with vsyscall if not available.
80601         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
80602         __vdso_time.
80604         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
80605         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
80606         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
80607         Add sendmmsg and internal_sendmmsg.
80608         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
80609         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
80610         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
80612         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
80613         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
80614         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
80616 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
80618         [BZ #12813]
80619         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
80620         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
80621         available.
80622         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
80623         __vdso_getcpu.
80625         [BZ #12814]
80626         * iconvdata/Makefile (tests): Add bug-iconv9.
80627         * iconvdata/bug-iconv9.c: New file.
80629 2011-05-27  Andreas Schwab  <schwab@redhat.com>
80631         [BZ #12814]
80632         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
80634 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
80636         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
80637         (struct user_regs_struct): Change intcs field back to cs.
80639 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
80641         * po/ja.po: Update from translation team.
80643 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
80645         [BZ #12795]
80646         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
80647         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
80649 2011-05-20  Andreas Schwab  <schwab@redhat.com>
80651         * stdlib/longlong.h: Update from GCC.
80653 2011-05-23  Andreas Schwab  <schwab@redhat.com>
80655         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
80656         parameter name.
80657         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
80658         Add parameter name.
80659         (__sysconf): Pass it down.
80661 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
80663         [BZ #12671]
80664         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
80665         some situations.
80666         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
80667         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
80668         add in in __libc_use_alloca calls.  Adjust callers.
80669         (glob): Use malloc in some situations.
80671         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
80672         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
80673         pltexit.
80675 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
80677         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
80678         and CLOCK_BOOTTIME_ALARM.
80680         [BZ #12782]
80681         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
80682         is returned.
80684         * string/_strerror.c (__strerror_r): Print negative errors as signed
80685         numbers.
80687         [BZ #12777]
80688         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
80689         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
80690         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
80692         * configure.in: Fix typo in redirection and correct removal of test
80693         files in two cases.
80695         [BZ #12788]
80696         * locale/setlocale.c (new_composite_name): Fix test to check for
80697         identical name of all categories.
80699         [BZ #12792]
80700         * libio/filedoalloc.c (local_isatty): New function.
80701         (_IO_file_doallocate): Use local_isatty.
80702         * stdio-common/perror.c (perror): In case a new stream is used
80703         forward the stream error.
80704         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
80705         error flag.
80707 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
80709         [BZ #11884]
80710         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
80711         alloca.
80712         * include/alloca.h (extend_alloca_account): Define.
80714         [BZ #11857]
80715         * posix/regex.h: Fix comments with documentation of user-accessible
80716         fields after compilation and describe correct free'ing of pattern
80717         after re_compile_pattern.
80718         Patch by Reuben Thomas <rrt@sc3d.org>.
80720 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
80722         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
80723         and -mno-altivec to prevent the compiler from using Altivec and/or
80724         VSX instructions when the corresponding registers are not available.
80726 2011-05-19  Andreas Schwab  <schwab@redhat.com>
80728         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
80730 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
80732         * libio/freopen.c (freopen): Use __dup2, not dup2.
80733         * libio/freopen64.c (freopen64): Likewise.
80735 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
80737         [BZ #12775]
80738         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
80739         * math/Makefile (tests): Add test-powl.
80740         (CFLAGS-test-powl.c): Define.
80741         * math/test-powl.c: New file.
80743 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
80745         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
80747 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
80749         [BZ #11837]
80750         * iconvdata/gb18030.c: Update to GB18020-2005.
80752 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
80754         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
80755         RE_SYNTAX_POSIX_AWK): Update to match recent development.
80756         Patch by Aharon Robbins <arnold@skeeve.com>.
80758         [BZ #11892]
80759         * stdlib/putenv.c (putenv): Don't always create copy of the variable
80760         on the stack.
80762         [BZ #11895]
80763         * misc/pselect.c (__pselect): Handle timeout value errors hidden
80764         through underflows.
80766         [BZ #12766]
80767         * misc/error.c (error_at_line): Ensure file_name and old_file_name
80768         point to strings before performing equality test for error_one_per_line
80769         mode.
80771         [BZ #11697]
80772         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
80774         [BZ #11820]
80775         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
80776         (struct user_fpregs_struct): Avoid __uint*_t types.
80778         [BZ #6420]
80779         * malloc/mtrace.c (tr_where): Add additional parameter to point to
80780         symbol info.  Use it instead of calling _dl_addr locally.
80781         (lock_and_info): New function.
80782         (tr_freehook): Call lock_and_info and pass symbol info as additional
80783         parameter to tr_where.
80784         (tr_mallochook): Likewise.
80785         (tr_reallochook): Likewise.
80786         (tr_memalignhook): Likewise.
80788         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
80789         used and couldn't be at all thread-safe.
80791 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
80793         * libio/freopen.c (freopen): Don't close old file descriptor
80794         before the new one is opened.  Instead dup the new file descriptor
80795         to the old one after the new stream is created.
80796         * libio/freopen64.c (freopen64): Likewise.
80797         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
80798         * libio/fileops.c (_IO_new_file_close_it): Handle new
80799         _IO_FLAGS2_NOCLOSE flag.
80800         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
80801         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
80802         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
80803         _IO_FLAGS2_NOCLOSE flag.
80804         * include/unistd.h: Add hidden_proto for dup3.
80805         Define __have_dup3.
80806         * io/dup3.c: Define hidden symbol.
80807         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
80809         [BZ #7101]
80810         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
80811         when an incomplete long option is used.
80812         * posix/tst-getopt_long1.c: New file.
80813         * posix/Makefile (tests): Add tst-getopt_long1.
80815         [BZ #10138]
80816         * scripts/config.guess: Update from autoconf-2.68.
80817         * scripts/config.sub: Likewise.
80819         [BZ #10157]
80820         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
80821         tests into ...
80822         (has_cpuclock): ...this.  New function.
80823         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
80824         macro here based on has_cpuclock code.
80826         [BZ #10149]
80827         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
80828         First byte (not low byte) is now always NUL.
80829         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
80831         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
80832         Use non-cancelable interfaces.
80834         [BZ #9809]
80835         * locale/iso-639.def: Add entry for Sorani.
80837         [BZ #11901]
80838         * include/stdlib.h: Move include protection to the right place.
80839         Define abort_msg_s.  Declare __abort_msg with it.
80840         * stdlib/abort.c (__abort_msg): Adjust type.
80841         * assert/assert.c (__assert_fail_base): New function.  Majority
80842         of code from __assert_fail.  Allocate memory for __abort_msg with
80843         mmap.
80844         (__assert_fail): Now call __assert_fail_base.
80845         * assert/assert-perr.c: Remove bulk of implementation.  Use
80846         __assert_fail_base.
80847         * include/assert.hL Declare __assert_fail_base.
80848         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
80849         mmap.
80850         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
80852 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
80854         [BZ #11952]
80855         [BZ #12453]
80856         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
80857         until all modules are registered in the DTV.
80858         * elf/Makefile: Add rules to build and run tst-tls19.
80859         * elf/tst-tls19.c: New file.
80860         * elf/tst-tls19mod1.c: New file.
80861         * elf/tst-tls19mod2.c: New file.
80862         * elf/tst-tls19mod3.c: New file.
80863         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
80865         [BZ #12083]
80866         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
80867         correctly.
80869         [BZ #12601]
80870         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
80871         two-byte sequence errors.
80872         * iconvdata/Makefile (tests): Add bug-iconv8.
80873         * iconvdata/bug-iconv8.c: New file.
80875         [BZ #12626]
80876         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
80877         buf2 definition.
80879         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
80881         [BZ #12432]
80882         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
80883         (dummy_getcfa): New function.
80884         (init): Get _Unwind_GetCFA address, use dummy if not found.
80885         (backtrace_helper): In recursion check, also check whether CFA changes.
80886         (__backtrace): Completely initialize arg.
80888         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
80889         storing incomplete byte sequence in state object.  Avoid testing for
80890         guaranteed too small input if we know there is enough data available.
80892 2011-05-11  Andreas Schwab  <schwab@redhat.com>
80894         * Makeconfig (+link-pie): Indent.
80895         * Rules (binaries-pie): Define if $(have-fpie) and
80896         $(build-shared).
80897         (binaries-shared): Also filter out $(binaries-pie).
80898         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
80899         * nscd/Makefile (others-pie): Add nscd.
80900         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
80901         ($(objpfx)nscd): Remove command override.
80902         * login/Makefile (others-pie): Add pt_chown.
80903         ($(objpfx)pt_chown): Remove command override.
80904         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
80905         remove command overrides.
80907 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
80909         * libio/tst_putwc.c: Fix error messages.
80911         [BZ #12724]
80912         * libio/fileops.c (_IO_new_file_close_it): Always flush when
80913         currently writing and seek to current position when not.
80914         * libio/Makefile (tests): Add bug-fclose1.
80915         * libio/bug-fclose1.c: New file.
80917 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
80919         [BZ #12511]
80920         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
80921         don't set DF_1_NODELETE here.
80922         (do_lookup_x): When entering new entry test for copy relocation
80923         and if necessary set DF_1_NODELETE flag.
80924         * elf/tst-unique4.cc: New file.
80925         * elf/tst-unique4.h: New file.
80926         * elf/tst-unique4lib.cc: New file.
80927         * elf/Makefile: Add rules to build and run tst-unique4.
80928         Patch by Piotr Bury <pbury@goahead.com>.
80930 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
80932         [BZ #12052]
80933         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
80935         [BZ #12625]
80936         * misc/mntent_r.c (addmntent): Flush the stream after the output
80938         [BZ #12393]
80939         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
80940         (is_trusted_path_normalize): Skip initial colon.  Append slash
80941         to empty buffer.  Duplicate is_trusted_path code but allow
80942         constructed patch to be prefix.
80943         (is_dst): Allow $ORIGIN followed by /.
80944         (_dl_dst_substitute): Correct clearing of check_for_trusted.
80945         Correct testing of result of is_trusted_path_normalize
80946         (decompose_rpath): Fix warning.
80948 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
80950         [BZ #11257]
80951         * grp/initgroups.c (internal_getgrouplist): When we found the service
80952         list through the initgroups entry in nsswitch.conf do not always
80953         continue on a successful lookup.  Don't always use the
80954         __nss_group_database value if it is set.
80955         * nss/nsswitch.conf (initgroups): Change action for successful db
80956         lookup to continue for compatibility.
80958 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
80960         [BZ #11532]
80961         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
80962         and CP774 modules.
80963         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
80964         and CP774 modules.
80965         * iconvdata/tst-tables.sh: Likewise.
80966         * iconvdata/cp770.c: New file.
80967         * iconvdata/cp771.c: New file.
80968         * iconvdata/cp772.c: New file.
80969         * iconvdata/cp773.c: New file.
80970         * iconvdata/cp774.c: New file.
80971         * iconvdata/testdata/CP770: New file.
80972         * iconvdata/testdata/CP770..UTF8: New file.
80973         * iconvdata/testdata/CP771: New file.
80974         * iconvdata/testdata/CP771..UTF8: New file.
80975         * iconvdata/testdata/CP772: New file.
80976         * iconvdata/testdata/CP772..UTF8: New file.
80977         * iconvdata/testdata/CP773: New file.
80978         * iconvdata/testdata/CP773..UTF8: New file.
80979         * iconvdata/testdata/CP774: New file.
80980         * iconvdata/testdata/CP774..UTF8: New file.
80982         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
80983         END CHARMAP line.
80984         * iconvdata/gen-8bit-gap.sh: Likewise.
80985         * iconvdata/gen-8bit.sh: Likewise.
80987         * locale/iso-639.def: Add ary entry.
80989         [BZ #11258]
80990         * locale/C-translit.h.in: Add U20A1 transliteration.
80992         [BZ #12178]
80993         * locale/iso-639.def: Add wae entry.
80994         Patch by Kevin Bortis <bortis@translate-wae.ch>.
80996         [BZ #12545]
80997         * locale/programs/localedef.c (construct_output_path): Use ssize_t
80998         for n.
81000         [BZ #12711]
81001         * locale/C-translit.h.in: Add entry for U20B9.
81002         Patch by pravin.d.s@gmail.com.
81004 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
81006         [BZ #12713]
81007         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
81008         ENAMETOOLONG use generic getcwd.
81009         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
81010         in rtld.  Use *stat64.
81011         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
81012         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
81013         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
81014         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
81015         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
81016         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
81017         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
81018         __fstatat64 macros.
81019         * include/dirent.h: Add libc_hidden_proto for rewinddir.
81020         * dirent/rewinddir.c: Add libc_hidden_def.
81021         * sysdeps/mach/hurd/rewinddir.c: Likewise.
81022         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
81024         * include/dirent.h (__alloc_dir): Add flags parameter.
81025         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
81026         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
81027         __alloc_dir.
81028         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
81029         from fdopendir if O_CLOEXEC is already set.
81031 2011-03-15  Alan Modra  <amodra@gmail.com>
81033         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
81034         l_tls_firstbyte_offset non-zero.  Save padding offset in
81035         l_tls_firstbyte_offset for later use.
81036         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
81037         freeing static tls block.
81039 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
81041         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
81042         where #ifdef was intended.  The intent is to prevent ARG_MAX from
81043         being defined by the kernel headers.
81045 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
81047         [BZ #12734]
81048         * resolv/resolv.h: Define RES_NOTLDQUERY.
81049         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
81050         no-tld-query and set RES_NOTLDQUERY.
81051         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
81052         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
81053         modern BIND to search name as TLD unless forbidden.
81055 2011-05-07  Petr Baudis  <pasky@suse.cz>
81056             Ulrich Drepper  <drepper@gmail.com>
81058         [BZ #12393]
81059         * elf/dl-load.c (fillin_rpath): Move trusted path check...
81060         (is_trusted_path): ...to here.
81061         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
81062         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
81063         using is_trusted_path_normalize() in setuid scripts.
81065 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
81067         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
81068         __BEGIN/__END_DECLS.
81070 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
81072         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
81073         NSS_STATUS_NOTFOUND if no record was found.
81075 2011-05-05  Andreas Schwab  <schwab@redhat.com>
81077         * sunrpc/Makefile (headers): Add rpc/netdb.h.
81078         (headers-not-in-tirpc): Remove rpc/netdb.h
81079         * resolv/netdb.h: Revert last change.
81081 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
81083         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
81084         circular dependency between libgcc.a and libc.a.
81086 2011-05-05  Andreas Schwab  <schwab@redhat.com>
81088         * resolv/netdb.h: Don't include <rpc/netdb.h>.
81089         * nis/Makefile: Don't install rpcsvc/*.
81090         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
81091         instead of <rpc/types.h>.
81092         (MAXHOSTNAMELEN): Define.
81094 2011-05-03  Andreas Schwab  <schwab@redhat.com>
81096         * elf/ldconfig.c (add_dir): Don't crash on empty path.
81098 2011-04-28  Maciej Babinski  <mbabinski@google.com>
81100         [BZ #12714]
81101         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
81102         gethostbyname4_r when IPv6 results are possible.
81104 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
81106         [BZ #12723]
81107         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
81108         _PC_PIPE_BUF handling.
81110 2011-04-30  Bruno Haible  <bruno@clisp.org>
81112         [BZ #12717]
81113         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
81114         * resolv/netdb.h (getnameinfo): Change type of flags parameter
81115         to 'int'.
81116         * inet/getnameinfo.c (getnameinfo): Likewise.
81118 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
81120         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
81121         to groups setting in database lookup.
81122         * nss/nsswitch.conf: Add initgroups entry.
81124 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
81126         [BZ #12685]
81127         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
81128         mode string.
81129         Patch by Eric Blake <eblake@redhat.com>.
81131 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
81133         * sunrpc/Makefile (need-export-routines): Add svc_run.
81134         (routines): Remove svc_run.
81135         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
81136         * sunrpc/clnt_perr.c (clnt_perrno): Export.
81137         * sunrpc/svc_run.c (svc_run): Likewise.
81138         * sunrpc/svc_udp.c (svcudp_create): Likewise.
81140 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
81142         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
81143         problem in reallocation in last patch.
81145 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
81147         * sunrpc/Makefile: Move inclusion of Rules.
81149 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
81151         * nss/nss_files/files-initgroups.c: New file.
81152         * nss/Makefile (libnss_files-routines): Add files-initgroups.
81153         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
81154         _nss_files_initgroups_dyn.
81156 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
81158         * elf/elf.h (R_ARM_IRELATIVE): Define.
81160 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
81162         * po/ru.po: Update from translation team.
81164 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
81166         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
81167         dependencies.
81169 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
81171         [BZ #12653]
81172         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
81173         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
81174         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
81175         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
81176         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
81178 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
81180         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
81181         differing bytes.
81182         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
81183         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
81184         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
81186 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
81188         [BZ #12420]
81189         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
81190         storing it.
81191         * stdlib/bug-getcontext.c: New file.
81192         * stdlib/Makefile: Add rules to build and run bug-getcontext.
81194 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
81196         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
81197         instructions into .machine "z9-109".
81198         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
81199         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
81201 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
81203         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
81204         between environment variables and auxiliary vector.
81206 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
81208         * Makefile: Add rules to build linkobj/libc.so.
81209         * include/libc-symbols.h: Define libc_hidden_nolink.
81210         * include/rpc/auth.h: Mark functions which are to be hidden.
81211         * include/rpc/auth_des.h: Likewise.
81212         * include/rpc/auth_unix.h: Likewise.
81213         * include/rpc/clnt.h: Likewise.
81214         * include/rpc/des_crypt.h: Likewise.
81215         * include/rpc/key_prot.h: Likewise.
81216         * include/rpc/pmap_clnt.h: Likewise.
81217         * include/rpc/pmap_prot.h: Likewise.
81218         * include/rpc/pmap_rmt.h: Likewise.
81219         * include/rpc/rpc_msg.h: Likewise.
81220         * include/rpc/svc.h: Likewise.
81221         * include/rpc/svc_auth.h: Likewise.
81222         * include/rpc/xdr.h: Likewise.
81223         * nis/Makefile: Link all DSOs against linkobj/libc.so.
81224         * nss/Makefile: Likewise.
81225         * sunrpc/Makefile: Don't install headers.  Build library with normal
81226         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
81227         * sunrpc/auth_des.c: Hide exported symbols by default, export some
81228         for the compat linking library.  Remove use of INTDEF/INTUSE.
81229         * sunrpc/auth_none.c: Likewise.
81230         * sunrpc/auth_unix.c: Likewise.
81231         * sunrpc/authdes_prot.c: Likewise.
81232         * sunrpc/authuxprot.c: Likewise.
81233         * sunrpc/clnt_gen.c: Likewise.
81234         * sunrpc/clnt_perr.c: Likewise.
81235         * sunrpc/clnt_raw.c: Likewise.
81236         * sunrpc/clnt_simp.c: Likewise.
81237         * sunrpc/clnt_tcp.c: Likewise.
81238         * sunrpc/clnt_udp.c: Likewise.
81239         * sunrpc/clnt_unix.c: Likewise.
81240         * sunrpc/des_crypt.c: Likewise.
81241         * sunrpc/des_soft.c: Likewise.
81242         * sunrpc/get_myaddr.c: Likewise.
81243         * sunrpc/key_call.c: Likewise.
81244         * sunrpc/key_prot.c: Likewise.
81245         * sunrpc/netname.c: Likewise.
81246         * sunrpc/pm_getmaps.c: Likewise.
81247         * sunrpc/pm_getport.c: Likewise.
81248         * sunrpc/pmap_clnt.c: Likewise.
81249         * sunrpc/pmap_prot.c: Likewise.
81250         * sunrpc/pmap_prot2.c: Likewise.
81251         * sunrpc/pmap_rmt.c: Likewise.
81252         * sunrpc/publickey.c: Likewise.
81253         * sunrpc/rpc_cmsg.c: Likewise.
81254         * sunrpc/rpc_common.c: Likewise.
81255         * sunrpc/rpc_dtable.c: Likewise.
81256         * sunrpc/rpc_prot.c: Likewise.
81257         * sunrpc/rpc_thread.c: Likewise.
81258         * sunrpc/rtime.c: Likewise.
81259         * sunrpc/svc.c: Likewise.
81260         * sunrpc/svc_auth.c: Likewise.
81261         * sunrpc/svc_authux.c: Likewise.
81262         * sunrpc/svc_raw.c: Likewise.
81263         * sunrpc/svc_run.c: Likewise.
81264         * sunrpc/svc_simple.c: Likewise.
81265         * sunrpc/svc_tcp.c: Likewise.
81266         * sunrpc/svc_udp.c: Likewise.
81267         * sunrpc/svc_unix.c: Likewise.
81268         * sunrpc/svcauth_des.c: Likewise.
81269         * sunrpc/xcrypt.c: Likewise.
81270         * sunrpc/xdr.c: Likewise.
81271         * sunrpc/xdr_array.c: Likewise.
81272         * sunrpc/xdr_float.c: Likewise.
81273         * sunrpc/xdr_intXX_t.c: Likewise.
81274         * sunrpc/xdr_mem.c: Likewise.
81275         * sunrpc/xdr_rec.c: Likewise.
81276         * sunrpc/xdr_ref.c: Likewise.
81277         * sunrpc/xdr_sizeof.c: Likewise.
81278         * sunrpc/xdr_stdio.c: Likewise.
81280 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
81282         [BZ #12650]
81283         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
81284         * sysdeps/ia64/dl-tls.h: Likewise.
81285         * sysdeps/powerpc/dl-tls.h: Likewise.
81286         * sysdeps/s390/dl-tls.h: Likewise.
81287         * sysdeps/sh/dl-tls.h: Likewise.
81288         * sysdeps/sparc/dl-tls.h: Likewise.
81289         * sysdeps/x86_64/dl-tls.h: Likewise.
81290         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
81292 2011-03-14  Andreas Schwab  <schwab@redhat.com>
81294         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
81295         rpath element also skip the following colon.
81296         (expand_dynamic_string_token): Add is_path parameter and pass
81297         down to DL_DST_REQUIRED and _dl_dst_substitute.
81298         (decompose_rpath): Call expand_dynamic_string_token with
81299         non-zero is_path.  Ignore empty rpaths.
81300         (_dl_map_object_from_fd): Call expand_dynamic_string_token
81301         with zero is_path.
81303 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
81305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
81306         Make cancelable.
81308 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
81310         [BZ #12655]
81311         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
81312         Patch by Filipe David Manana <fdmanana@apache.org>.
81314 2011-04-07  Andreas Schwab  <schwab@redhat.com>
81316         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
81317         Maintain aligned stack.
81318         (CHECK_RSP): Remove unused macro.
81320 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
81322         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
81323         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
81325 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
81327         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
81329         * include/features.h: Mention __USE_XOPEN2K8 in comment.
81331 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
81333         [BZ #12518]
81334         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
81335         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
81336         * sysdeps/x86_64/memmove.c: New file.
81337         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
81338         (memcpy): Renamed to ...
81339         (__new_memcpy): This.
81340         (memcpy): Provide GLIBC_2_14 memcpy.
81341         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
81342         (memcpy): Provide GLIBC_2_2_5 memcpy.
81344 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
81346         [BZ #12631]
81347         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
81349 2011-03-30  Andreas Schwab  <schwab@redhat.com>
81351         * misc/syncfs.c: New file.
81352         * misc/Makefile (routines): Add syncfs.
81353         * posix/unistd.h: Declare syncfs.
81354         * sysdeps/unix/syscalls.list: Add syncfs.
81356 2011-04-01  Andreas Schwab  <schwab@redhat.com>
81358         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
81359         open_by_handle_at.
81360         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
81361         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
81362         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
81363         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
81364         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
81365         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
81366         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
81368 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
81370         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
81371         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
81372         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
81373         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
81374         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
81375         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
81376         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
81378         * io/Makefile: Compile fallocate.c, fallocate64.c, and
81379         sync_file_range.c with -fexceptions.
81380         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
81381         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
81382         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
81383         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
81384         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
81385         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
81386         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
81387         sync_file_range as cancellation point
81388         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
81389         now a wrapper around __call_sync_file_range with cancellation handling.
81390         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
81391         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
81392         function name to __call_sync_file_range.
81393         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
81394         Add call_sync_file_range.
81396 2011-04-01  Andreas Schwab  <schwab@redhat.com>
81398         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81399         bits/timex.h.
81401 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
81403         * iconv/iconv.h: Fix typo in comment.
81404         * io/fcntl.h: Likewise.
81405         * libio/stdio.h: Likewise.
81406         * posix/spawn.h: Likewise.
81407         * posix/unistd.h: Likewise.
81408         * stdlib/stdlib.h: Likewise.
81409         * time/time.h: Likewise.
81410         * wcsmbs/wchar.h: Likewise.
81412         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
81413         open_by_handle): Add.
81414         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
81415         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
81416         Augment a few comments.
81417         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
81418         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
81419         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
81420         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
81421         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
81422         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
81423         open_by_handle.
81425         * io/fcntl.h (AT_EMPTY_PATH): Define.
81427 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
81429         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
81430         * sysdeps/unix/sysv/linux/bits/time.h: New file.
81431         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
81432         to...
81433         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
81434         * Versions.def: Add GLIBC_2.14.
81435         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
81436         Export.
81438 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
81440         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
81441         round counter.
81442         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
81444 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
81446         [BZ #12597]
81447         * string/test-strncmp.c (do_page_test): New function.
81448         (check2): Likewise.
81449         (test_main): Call check2.
81450         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
81452 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
81454         [BZ #12587]
81455         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
81456         Handle cache information in CPU leaf 4.
81457         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
81459 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
81461         [BZ #12583]
81462         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
81463         character representation.
81464         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
81466 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
81468         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
81469         END(__isnan) to END(__isnanf) to match function entry point/label
81470         EALIGN(__isnanf,...).
81472 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
81474         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
81476 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
81478         [BZ #12510]
81479         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
81480         copy from the symbol referenced in the relocation to initialize the
81481         used variable.
81482         Patch by Piotr Bury <pbury@goahead.com>.
81483         * elf/Makefile: Add rules to build and tst-unique3.
81484         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
81485         * elf/tst-unique3.cc: New file.
81486         * elf/tst-unique3.h: New file.
81487         * elf/tst-unique3lib.cc: New file.
81488         * elf/tst-unique3lib2.cc: New file.
81490         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
81492 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
81494         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
81495         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
81496         to _start.
81498 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
81500         * elf/dl-load.c (_dl_map_object): If we are looking for the first
81501         to-be-loaded object along a path to loader is ld.so.
81503 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
81504             Ulrich Drepper  <drepper@gmail.com>
81506         * sysdeps/x86_64/memset.S: After aligning destination, code
81507         branches to different locations depending on the value of
81508         misalignment, when multiarch is enabled. Fix this.
81510 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
81512         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
81513         Set _x86_64_preferred_memory_instruction for AMD processsors.
81514         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81515         Set bit_Prefer_SSE_for_memop for AMD processors.
81517 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
81519         * libio/fmemopen.c (fmemopen): Optimize a bit.
81521 2011-03-03  Andreas Schwab  <schwab@redhat.com>
81523         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
81525 2011-03-03  Roland McGrath  <roland@redhat.com>
81527         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
81529 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
81531         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
81532         __bzero_ultra1 instead of __memset_ultra1.
81534 2011-02-23  Andreas Schwab  <schwab@redhat.com>
81535             Ulrich Drepper  <drepper@gmail.com>
81537         [BZ #12509]
81538         * include/link.h (struct link_map): Add l_orig_initfini.
81539         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
81540         returning unsuccessfully.
81541         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
81542         close of a file loaded at startup, restore the original l_initfini
81543         list.
81544         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
81545         list, store the pointer.
81546         * elf/Makefile ($(objpfx)noload-mem): New rule.
81547         (noload-ENV): Define.
81548         (tests): Add $(objpfx)noload-mem.
81549         * elf/noload.c: Include <memcheck.h>.
81550         (main): Call mtrace.  Close all opened handles.
81552 2011-02-17  Andreas Schwab  <schwab@redhat.com>
81554         [BZ #12454]
81555         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
81556         dependencies are missing.
81558 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81560         Fix __if_freereq crash: Unlike the generic version which uses free,
81561         Hurd needs munmap.
81562         * sysdeps/mach/hurd/ifreq.h: New file.
81564 2011-01-27  Petr Baudis  <pasky@suse.cz>
81565             Ulrich Drepper  <drepper@gmail.com>
81567         [BZ 12445]#
81568         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
81569         to extend_alloca().
81570         * stdio-common/bug23.c: New file.
81571         * stdio-common/Makefile (tests): Add bug23.
81573 2010-09-28  Andreas Schwab  <schwab@redhat.com>
81574             Ulrich Drepper  <drepper@gmail.com>
81576         [BZ #12489]
81577         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
81578         before performing relro protection.  At old place add assertion
81579         to make sure nothing changed.
81581 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
81582             Glauber de Oliveira Costa  <glommer@gmail.com>
81584         * elf/elf.h: Add new ARM TLS relocs.
81586 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
81588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
81589         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
81590         cast from r3.
81591         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
81592         'tests' variable.
81593         * sysdeps/wordsize-64/tst-writev.c: New file.
81595 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
81597         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
81598         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
81599         insns in _dl_start to prevent a TOC reference before relocs are
81600         resolved.
81602 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
81604         [BZ #12469]
81605         * Makeconfig: Remove RANLIB definition.
81606         * Makerules: Don't use RANLIB.
81607         * aclocal.m4: Remove ranlib test.
81608         * configure.in: No need to check for ranlib.
81609         * elf/rtld-Rules: Don't use RANLIB.
81611 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81613         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
81614         protection macro.
81615         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
81616         inclusion protection macro.
81618         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
81619         SIGRTMIN and SIGRTMAX and print information in that case only when
81620         SIGRTMIN is defined.
81622 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
81624         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
81625         arginfo fn returning -1.
81627         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
81628         and thousands string is zero terminated.
81630 2011-02-03  Andreas Schwab  <schwab@redhat.com>
81632         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
81633         sysdeps/unix/sysv/linux/bits/socket.h.
81635 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81637         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
81638         (__CPU_COUNT): Remove old macros.
81639         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
81640         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
81641         (__CPU_ALLOC, __CPU_FREE): Add macros.
81642         (__sched_cpualloc, __sched_cpufree): Add declarations.
81644 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
81646         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
81647         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
81648         * nscd/aicache.c (addhstaiX): Return timeout of added value.
81649         (readdhstai): Return value of addhstaiX call.
81650         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
81651         (addgrbyX): Return value returned by cache_addgr.
81652         (readdgrbyname): Return value returned by addgrbyX.
81653         (readdgrbygid): Likewise.
81654         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
81655         (addpwbyX): Return value returned by cache_addpw.
81656         (readdpwbyname): Return value returned by addhstbyX.
81657         (readdpwbyuid): Likewise.
81658         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
81659         (addservbyX): Return value returned by cache_addserv.
81660         (readdservbyname): Return value returned by addservbyX:
81661         (readdservbyport): Likewise.
81662         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
81663         (addhstbyX): Return value returned by cache_addhst.
81664         (readdhstbyname): Return value returned by addhstbyX.
81665         (readdhstbyaddr): Likewise.
81666         (readdhstbynamev6): Likewise.
81667         (readdhstbyaddrv6): Likewise.
81668         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
81669         (readdinitgroups): Return value returned by addinitgroupsX.
81670         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
81671         (prune_cache): Keep track of timeout value of re-added entries.
81672         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
81673         * nscd/nscd.h: Adjust prototypes of readd* functions.
81675 2011-02-04  Roland McGrath  <roland@redhat.com>
81677         * nis/nis_server.c (nis_servstate): Use the right name for 0.
81678         (nis_stats): Likewise.
81679         * nis/nis_modify.c (nis_modify): Likewise.
81680         * nis/nis_remove.c (nis_remove): Likewise.
81681         * nis/nis_add.c (nis_add): Likewise.
81683         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
81685         * posix/fnmatch_loop.c: Add some consts.
81687         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
81689 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
81691         [BZ #12460]
81692         * config.make.in (config-cflags-novzeroupper): Define.
81693         * configure.in: Substitute libc_cv_cc_novzeroupper.
81694         * elf/Makefile (AVX-CFLAGS): Define.
81695         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
81696         (CFLAGS-tst-auditmod4a.c): Likewise.
81697         (CFLAGS-tst-auditmod4b.c): Likewise.
81698         (CFLAGS-tst-auditmod6b.c): Likewise.
81699         (CFLAGS-tst-auditmod6c.c): Likewise.
81700         (CFLAGS-tst-auditmod7b.c): Likewise.
81701         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
81703 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
81705         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
81706         function to the callback.
81707         Patch partly by Jiri Olsa <jolsa@redhat.com>.
81709 2011-02-02  Andreas Schwab  <schwab@redhat.com>
81711         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
81712         of errno.
81714 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
81716         [BZ #11724]
81717         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
81718         of constructors.
81719         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
81720         of destructors.
81721         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
81723         [BZ #11724]
81724         * elf/Makefile: Add rules to build and run new test.
81725         * elf/tst-initorder.c: New file.
81726         * elf/tst-initorder.exp: New file.
81727         * elf/tst-initordera1.c: New file.
81728         * elf/tst-initordera2.c: New file.
81729         * elf/tst-initordera3.c: New file.
81730         * elf/tst-initordera4.c: New file.
81731         * elf/tst-initorderb1.c: New file.
81732         * elf/tst-initorderb2.c: New file.
81733         * elf/tst-order-a1.c: New file.
81734         * elf/tst-order-a2.c: New file.
81735         * elf/tst-order-a3.c: New file.
81736         * elf/tst-order-a4.c: New file.
81737         * elf/tst-order-b1.c: New file.
81738         * elf/tst-order-b2.c: New file.
81739         * elf/tst-order-main.c: New file.
81740         New test case by George Gensure <werkt0@gmail.com>.
81742 2010-10-01  Andreas Schwab  <schwab@redhat.com>
81744         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
81745         decoding ACE if AI_CANONIDN.
81747 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
81749         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
81751 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
81753         * version.h (RELEASE): Bump for 2.13 release.
81754         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
81756         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
81758         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
81759         MADV_NOHUGEPAGE.
81760         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
81761         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
81762         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
81763         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
81764         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
81765         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
81767         * posix/getconf.c: Update copyright year.
81768         * catgets/gencat.c: Likewise.
81769         * csu/version.c: Likewise.
81770         * debug/catchsegv.sh: Likewise.
81771         * debug/xtrace.sh: Likewise.
81772         * elf/ldconfig.c: Likewise.
81773         * elf/ldd.bash.in: Likewise.
81774         * elf/sprof.c (print_version): Likewise.
81775         * iconv/iconv_prog.c: Likewise.
81776         * iconv/iconvconfig.c: Likewise.
81777         * locale/programs/locale.c: Likewise.
81778         * locale/programs/localedef.c: Likewise.
81779         * malloc/memusage.sh: Likewise.
81780         * malloc/mtrace.pl: Likewise.
81781         * nscd/nscd.c (print_version): Likewise.
81782         * nss/getent.c: Likewise.
81784         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
81785         PF_CAIF, and PF_ALG.
81786         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
81788 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
81790         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
81791         (modules-names): Use them.
81792         (ifunc-test-modules, ifunc-pie-tests): Define.
81793         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
81794         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
81795         (test-extras): Likewise.
81796         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
81797         $(compile-command.c).
81798         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
81799         (all-built-dso): Define.
81800         (check-textrel.out, check-execstack.out): Depend on it.
81802         * configure.in: Don't override --enable-multi-arch.
81804 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
81806         [BZ #6812]
81807         * nscd/hstcache.c (tryagain): Define.
81808         (cache_addhst): Return tryagain not notfound for temporary errors.
81809         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
81810         failed.
81812 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
81814         [BZ #10563]
81815         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
81816         to make the syscall.
81817         * sysdeps/unix/sysv/linux/setgroups.c: New file.
81819         [BZ #12378]
81820         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
81821         and fall back to matching as normal character if the string ends before
81822         the matching ']' is found.  This is what POSIX requires.
81823         * posix/testfnm.c: Adjust test result.
81824         * posix/globtest.sh: Adjust test result.  Add new test.
81825         * posix/tst-fnmatch.input: Likewise.
81826         * posix/tst-fnmatch2.c: Add new test.
81828 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
81830         * elf/Makefile (check-execstack): Revert last change.  Depend on
81831         check-execstack.h.
81832         (check-execstack.h): New target.
81833         (generated): Add check-execstack.h.
81834         * elf/check-execstack.c: Include "check-execstack.h".
81835         (main): Revert last change.
81836         (handle_file): Return zero if GNU_STACK is absent and
81837         DEFAULT_STACK_PERMS doesn't include PF_X.
81839 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
81841         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
81842         in child fails because the descriptor is already closed.
81843         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
81844         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
81845         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
81847         [BZ #12397]
81848         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
81849         syscall.
81851         [BZ #10484]
81852         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
81853         temporary buffer used to handle multi lookups locally.
81854         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
81856 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
81858         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
81859         loader is ld.so.
81861 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
81863         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
81864         alignment for SSE2.
81866 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
81868         [BZ #12394]
81869         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
81870         characters.  When rounding increased number of integer digits recompute
81871         number of groups.
81872         * stdio-common/tst-grouping.c: New file.
81873         * stdio-common/Makefile: Add rules to build and run tst-grouping.
81875 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
81877         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
81878         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
81880         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
81881         void.
81882         * bits/select.h: Likewise.
81884 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
81886         * po/ja.po: Update from translation team.
81888 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
81890         [BZ #11155]
81891         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
81892         implementation just like for lxstat, fxstatat, et al.
81894 2010-12-27  Jim Meyering  <meyering@redhat.com>
81896         [BZ #12348]
81897         * posix/regexec.c (build_trtable): Return failure indication upon
81898         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
81900 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
81902         [BZ #12201]
81903         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
81904         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
81905         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
81906         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
81908         [BZ #12207]
81909         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
81911         [BZ #12204]
81912         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
81913         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
81915 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
81917         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
81918         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
81919         script has SORT_BY_INIT_PRIORITY.
81920         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
81921         NO_CTORS_DTORS_SECTIONS is defined.
81922         * elf/soinit.c: Likewise.
81923         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
81924         NO_CTORS_DTORS_SECTIONS is defined.
81925         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
81926         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
81927         * sysdeps/sh/init-first.c: Likewise.
81928         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
81930 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
81932         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
81933         always use the slow path.
81935 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
81937         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
81938         similar rule which adds the sysdep directories to the header search in
81939         order to pick up the correct platform stackinfo.h.
81940         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
81941         perform test if it is, otherwise return successfully without testing.
81942         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
81943         DEFAULT_STACK_PERMS define in stackinfo.h.
81944         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
81945         defined in stackinfo.h.
81946         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
81947         DEFAULT_STACK_PERMS defined in stackinfo.h.
81948         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
81949         * sysdeps/ia64/stackinfo.h: Likewise.
81950         * sysdeps/s390/stackinfo.h: Likewise.
81951         * sysdeps/sh/stackinfo.h: Likewise.
81952         * sysdeps/sparc/stackinfo.h: Likewise.
81953         * sysdeps/x86_64/stackinfo.h: Likewise.
81954         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
81955         PF_X for powerpc64.  Retain PF_X for powerpc32.
81957 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
81959         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
81960         accurately.
81961         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
81962         GETDENTS_64BIT_ALIGNED.
81964 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
81966         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
81968 2010-12-10  Andreas Schwab  <schwab@redhat.com>
81970         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
81971         _GNU_SOURCE.
81973         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
81974         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
81975         Remove __restrict.
81976         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
81977         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
81979 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
81981         [BZ #11655]
81982         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
81983         are initialized.
81985 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
81987         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
81989 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
81991         * po/it.po: Update from translation team.
81993 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
81995         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
81996         unused codes.
81998 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
82000         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
82002 2010-11-24  Andreas Schwab  <schwab@redhat.com>
82004         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
82005         specially.
82006         (gaih_getanswer_slice): Likewise.
82008 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
82010         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
82012 2010-05-31  Petr Baudis  <pasky@suse.cz>
82014         [BZ #11149]
82015         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
82016         silently even in the chroot mode.
82018 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
82020         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
82021         last patch a bit.  Pretty printing
82023 2010-05-31  Petr Baudis <pasky@suse.cz>
82025         [BZ #10085]
82026         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
82027         initialization of skip_initgroups_dyn.
82029 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
82031         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
82032         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
82034 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
82036         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
82038 2010-11-11  Andreas Schwab  <schwab@redhat.com>
82040         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
82041         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
82042         (tst-fnmatch-ENV): Set MALLOC_TRACE.
82043         ($(objpfx)tst-fnmatch-mem): New rule.
82044         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
82045         * posix/tst-fnmatch.c (main): Call mtrace.
82047 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
82049         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82050         Support Intel processor model 6 and model 0x2c.
82052 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
82054         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
82055           signed comparison.
82057 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
82059         [BZ #12205]
82060         * string/test-strncasecmp.c (check_result): New function.
82061         (do_one_test): Use it.
82062         (check1): New function.
82063         (test_main): Use it.
82064         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
82065         Support strcasecmp and strncasecmp.
82067 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
82069         [BZ #12194]
82070         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
82071         * sysdeps/x86_64/bits/byteswap.h: Likewise.
82073 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
82075         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
82076         IFUNC support.
82077         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82078         memset-x86-64.
82079         * sysdeps/x86_64/multiarch/bzero.S: New file.
82080         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
82081         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
82082         * sysdeps/x86_64/multiarch/memset.S: New file.
82083         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
82084         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82085         Set bit_Prefer_SSE_for_memop for Intel processors.
82086         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
82087         Define.
82088         (index_Prefer_SSE_for_memop): Define.
82089         (HAS_PREFER_SSE_FOR_MEMOP): Define.
82091 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
82093         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
82094         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
82096 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
82098         [BZ #12191]
82099         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
82100         (__x86_64_raw_data_cache_size_half): Likewise.
82101         (__x86_64_raw_shared_cache_size): Likewise.
82102         (__x86_64_raw_shared_cache_size_half): Likewise.
82104         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
82105         (__x86_64_raw_data_cache_size_half): Likewise.
82106         (__x86_64_raw_shared_cache_size): Likewise.
82107         (__x86_64_raw_shared_cache_size_half): Likewise.
82108         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
82109         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
82110         and __x86_64_raw_shared_cache_size_half.  Round
82111         __x86_64_data_cache_size_half, __x86_64_data_cache_size
82112         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
82113         to multiple of 256 bytes.
82115 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
82117         [BZ #12167]
82118         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
82119         of inacessible symlinks.  Verify result of symlink before returning it.
82120         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
82121         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
82123 2010-10-28  Erich Ritz  <erichritz@gmail.com>
82125         * math/math.h (isinf): Fix typo in comment.
82127 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
82129         * po/da.po: Update from translation team.
82131 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
82133         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
82134         is added to the list.
82136 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
82137             Ulrich Drepper  <drepper@gmail.com>
82139         * elf/dl-object.c (_dl_new_object): Don't append the new object to
82140         the global list here.  Move code to...
82141         (_dl_add_to_namespace_list): ...here.  New function.
82142         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
82143         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
82144         * elf/dl-load.c (lose): Don't remove the element from the list.
82145         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
82146         (_dl_map_object): Likewise.
82148 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
82150         [BZ #12159]
82151         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
82152         into all bytes of SSE register.
82153         Patch by Richard Li <richardpku@gmail.com>.
82155 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
82157         [BZ #12140]
82158         * malloc/malloc.c (_int_free): Fill correct number of bytes when
82159         perturbing.
82161 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
82163         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
82164         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
82165         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
82166         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
82167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
82168         submachine.
82169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
82171 2010-10-22  Andreas Schwab  <schwab@redhat.com>
82173         * include/dlfcn.h (__RTLD_SECURE): Define.
82174         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
82175         mode & __RTLD_SECURE instead.
82176         (open_path): Rename preloaded parameter to secure.
82177         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
82178         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
82179         * elf/dl-deps.c (openaux): Likewise.
82180         * elf/rtld.c (struct map_args): Remove is_preloaded.
82181         (map_doit): Don't use it.
82182         (dl_main): Likewise.
82183         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
82184         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
82186 2010-09-09  Andreas Schwab  <schwab@redhat.com>
82188         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
82189         (sysd-rules-targets): Remove duplicates.
82190         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
82191         rtld-%.$o dependency.
82193 2010-10-18  Andreas Schwab  <schwab@redhat.com>
82195         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
82196         _dl_map_object do it.
82198 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
82200         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
82201         fast fma builtins, define the macros in the C99 standard.
82202         (FP_FAST_FMAF): Likewise.
82203         (FP_FAST_FMAL): Likewise.
82204         * sysdeps/x86_64/bits/mathdef.h: Likewise.
82206         * bits/mathdef.h: Update copyright year.
82207         * sysdeps/powerpc/bits/mathdef.h: Likewise.
82209 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
82211         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
82212         builtins, define the macros in the C99 standard.
82213         (FP_FAST_FMAF): Likewise.
82214         (FP_FAST_FMAL): Likewise.
82215         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
82216         multiply/add.
82217         (FP_FAST_FMAF): Likewise.
82219 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
82221         [BZ #3268]
82222         * math/libm-test.inc (fma_test): Some new testcases.
82223         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
82224         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
82225         y and infinite z.  Do multiplication by C already in long double.
82226         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
82227         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
82228         y and infinite z.  Do bitwise or of inexact bit into u.d.
82229         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
82230         * sysdeps/i386/fpu/s_fmaf.S: Removed.
82231         * sysdeps/i386/fpu/s_fma.S: Removed.
82232         * sysdeps/i386/fpu/s_fmal.S: Removed.
82234 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
82236         [BZ #3268]
82237         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
82238         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
82239         computation is not scheduled after fetestexcept.  Fix value
82240         of minimum denormal long double.
82242 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
82244         [BZ #3268]
82245         * math/libm-test.inc (fma_test): Add some more tests.
82246         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
82247         correctly.
82249 2010-10-15  Andreas Schwab  <schwab@redhat.com>
82251         * scripts/data/localplt-s390-linux-gnu.data: New file.
82252         * scripts/data/localplt-s390x-linux-gnu.data: New file.
82254 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
82256         [BZ #3268]
82257         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
82258         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
82259         instead of dbl-64.
82260         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
82261         inlines.
82262         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
82263         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
82264         if one of x and y is very large and the other is subnormal.
82265         * sysdeps/s390/fpu/s_fmaf.c: New file.
82266         * sysdeps/s390/fpu/s_fma.c: New file.
82267         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
82268         * sysdeps/powerpc/fpu/s_fma.S: New file.
82269         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
82270         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
82271         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
82273 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
82275         [BZ #3268]
82276         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
82277         fma tests.
82278         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
82279         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
82280         * sysdeps/i386/i686/multiarch/s_fma.c: Include
82281         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
82282         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
82283         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
82284         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
82286 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
82288         [BZ #12078]
82289         * posix/regcomp.c (parse_branch): One more memory leak plugged.
82290         * posix/bug-regex31.input: Add test case.
82292 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
82294         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
82295         * posix/bug-regex31.input: New file.
82297         [BZ #12078]
82298         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
82299         (parse_sub_exp): Fix last change, use postorder.
82301         * posix/bug-regex31.c: New file.
82302         * posix/Makefile: Add rules to build and run bug-regex31.
82304         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
82306         [BZ #12078]
82307         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
82309         [BZ #12108]
82310         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
82311         to have entries in sys_siglist.
82313         [BZ #12093]
82314         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
82315         be NULL.
82317 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
82319         [BZ #3268]
82320         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
82321         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
82322         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
82323         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
82324         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
82325         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
82326         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
82327         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
82328         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
82329         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
82330         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
82331         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
82332         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
82333         * math/ftestexcept.c (fetestexcept): Likewise.
82334         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
82335         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
82336         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
82337         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
82338         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
82339         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
82340         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
82342 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
82344         [BZ #12107]
82345         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
82346         newline.
82348 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
82350         * string/bug-strstr1.c: New file.
82351         * string/Makefile: Add rules to build and run bug-strstr1.
82353 2010-10-05  Eric Blake  <eblake@redhat.com>
82355         [BZ #12092]
82356         * string/str-two-way.h (two_way_long_needle): Always clear memory
82357         when skipping input due to the shift table.
82359 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
82361         [BZ #12005]
82362         * malloc/mcheck.c: Handle large requests.
82364         [BZ #12077]
82365         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
82366         for strncmp and strncasecmp.
82367         * string/stratcliff.c: Add tests for strcmp and strncmp.
82368         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
82370 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
82372         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
82373         __set_fpscr.
82375 2010-09-30  Andreas Jaeger  <aj@suse.de>
82377         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
82378         (CGROUP_SUPER_MAGIC): Define.
82379         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
82380         Handle btrfs and cgroup file systems.
82381         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
82382         Likewise.
82384 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
82386         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
82387         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
82389 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
82391         [BZ #12067]
82392         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
82393         trying to locate the ELF header.
82395 2010-09-27  Andreas Schwab  <schwab@redhat.com>
82397         [BZ #11611]
82398         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
82399         Mask out sign-bit copies when constructing f_fsid.
82401 2010-09-24  Petr Baudis <pasky@suse.cz>
82403         * debug/stack_chk_fail_local.c: Add missing licence exception.
82404         * debug/warning-nop.c: Likewise.
82406 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
82408         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
82409         implementing getdents64 using getdents syscall, set d_type if
82410         __ASSUME_GETDENTS32_D_TYPE.
82412 2010-09-16  Andreas Schwab  <schwab@redhat.com>
82414         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
82415         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
82417 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
82419         [BZ #12037]
82420         * posix/unistd.h: Undo change of feature selection for ftruncate from
82421         2010-01-11.
82423 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
82425         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
82426         detection.
82428 2010-09-20  Andreas Schwab  <schwab@redhat.com>
82430         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
82431         fanotify_mark.
82432         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
82434 2010-09-14  Andreas Schwab  <schwab@redhat.com>
82436         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
82437         variables after CHECK_SP call.
82438         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
82440 2010-09-13  Andreas Schwab  <schwab@redhat.com>
82441             Ulrich Drepper  <drepper@redhat.com>
82443         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
82444         re-relocationg ld.so.
82445         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
82446         _dl_init_paths call.
82447         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
82448         here anymore.
82450 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
82452         * resolv/res_init.c (__res_vinit): Count the default server we added.
82454 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
82455             Ulrich Drepper  <drepper@redhat.com>
82457         [BZ #11968]
82458         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
82459         (____longjmp_chk): Use %ebx for saving value across system call.
82460         Add unwind info.
82462 2010-09-06  Andreas Schwab  <schwab@redhat.com>
82464         * manual/Makefile: Don't mix pattern rules with normal rules.
82466 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
82468         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
82469         operation.
82470         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
82471         * libio/iofopncook.c (_IO_cookie_init): Likewise.
82472         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
82473         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
82474         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
82475         Likewise.
82477 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
82479         [BZ #11979]
82480         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
82481         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
82483 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
82485         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
82486         * sysdeps/x86_64/addmul_1.S: Likewise.
82487         * sysdeps/x86_64/lshift.S: Likewise.
82488         * sysdeps/x86_64/mul_1.S: Likewise.
82489         * sysdeps/x86_64/rshift.S: Likewise.
82490         * sysdeps/x86_64/sub_n.S: Likewise.
82491         * sysdeps/x86_64/submul_1.S: Likewise.
82493 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82495         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
82496         Define __sched_param instead of SCHED_* and sched_param when
82497         <bits/sched.h> is included with __need_schedparam defined.
82498         * bits/sched.h [__need_schedparam]
82499         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
82500         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
82501         (__defined_schedparam): Define to 1.
82502         (__sched_param): New structure, identical to sched_param.
82503         (__need_schedparam): Undefine.
82505 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
82507         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
82508         (epoll_create1): Declare.
82510         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
82512 2010-08-31  Andreas Schwab  <schwab@redhat.com>
82514         [BZ #7066]
82515         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
82516         shifting retval into place.
82518 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
82520         * nis/rpcsvc/nis.h: Update copyright notice.
82521         * nis/rpcsvc/nis.x: Likewise.
82522         * nis/rpcsvc/nis_callback.h: Likewise.
82523         * nis/rpcsvc/nis_callback.x: Likewise.
82524         * nis/rpcsvc/nis_object.x: Likewise.
82525         * nis/rpcsvc/nis_tags.h: Likewise.
82526         * nis/rpcsvc/yp.h: Likewise.
82527         * nis/rpcsvc/yp.x: Likewise.
82528         * nis/rpcsvc/ypupd.h: Likewise.
82529         * nis/yp_xdr.c: Likewise.
82530         * nis/ypupdate_xdr.c: Likewise.
82532         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
82533         mainly the body of pmap_getport.  Add parameters to specify timeouts.
82534         (pmap_getport): Use __libc_rpc_getport.
82535         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
82536         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
82537         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
82539 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
82541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
82542         fanotify_mark.
82544 2010-08-27  Roland McGrath  <roland@redhat.com>
82546         * sysdeps/i386/i686/multiarch/Makefile
82547         (CFLAGS-varshift.c): New variable.
82549 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
82551         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
82552         * sysdeps/i386/i686/multiarch/varshift.c: New file.
82554         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
82556         * sysdeps/x86_64/strlen.S: Minimal code improvement.
82558 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
82560         * sysdeps/x86_64/strlen.S: Unroll the loop.
82561         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82562         strlen-sse2 strlen-sse2-bsf.
82563         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
82564         __strlen_no_bsf if bit_Slow_BSF is set.
82565         (__strlen_sse42): Removed.
82566         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
82567         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
82569 2010-08-25  Roland McGrath  <roland@redhat.com>
82571         * sysdeps/x86_64/multiarch/varshift.S: File removed.
82572         * sysdeps/x86_64/multiarch/varshift.c: New file.
82573         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
82574         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
82575         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
82576         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
82578 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
82580         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82581         strlen-sse2 strlen-sse2-bsf.
82582         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
82583         __strlen_sse2_bsf if bit_Slow_BSF is unset.
82584         (__strlen_sse2): Removed.
82585         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
82586         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
82587         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
82588         bit_Slow_BSF for Atom.
82589         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
82590         (index_Slow_BSF): Define.
82591         (HAS_SLOW_BSF): Define.
82593 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
82595         [BZ #10851]
82596         * resolv/res_init.c (__res_vinit): When no server address at all
82597         is given default to loopback.
82599 2010-08-24  Roland McGrath  <roland@redhat.com>
82601         * configure.in: Remove config-name.h generation.
82602         * configure: Regenerated.
82603         * config-name.in: File removed.
82604         * scripts/config-uname.sh: New file.
82605         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
82606         ($(objdir)config-name.h): New target.
82608         * sunrpc/rpc_parse.h: Avoid nested comment.
82610 2010-08-24  Richard Henderson  <rth@redhat.com>
82611             Ulrich Drepper  <drepper@redhat.com>
82612             H.J. Lu  <hongjiu.lu@intel.com>
82614         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
82615         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
82616         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
82617         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
82618         _mm_alignr_epi8 with _mm_loadu_si128.
82619         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
82620         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
82621         (__m128i_shift_right): Removed.
82622         * sysdeps/i386/i686/multiarch/varshift.h: New file.
82623         * sysdeps/i386/i686/multiarch/varshift.S: New file.
82624         * sysdeps/x86_64/multiarch/varshift.h: New file.
82625         * sysdeps/x86_64/multiarch/varshift.S: New file.
82627 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
82629         * configure.in: Move assembler checks to before sysdep dir checking.
82631 2010-08-20  Petr Baudis  <pasky@suse.cz>
82633         * LICENSES: Sync the sunrpc license.
82635 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
82637         * sunrpc/auth_des.c: Update copyright notice once again.
82638         * sunrpc/auth_none.c: Likewise.
82639         * sunrpc/auth_unix.c: Likewise.
82640         * sunrpc/authdes_prot.c: Likewise.
82641         * sunrpc/authuxprot.c: Likewise.
82642         * sunrpc/bindrsvprt.c: Likewise.
82643         * sunrpc/clnt_gen.c: Likewise.
82644         * sunrpc/clnt_perr.c: Likewise.
82645         * sunrpc/clnt_raw.c: Likewise.
82646         * sunrpc/clnt_simp.c: Likewise.
82647         * sunrpc/clnt_tcp.c: Likewise.
82648         * sunrpc/clnt_udp.c: Likewise.
82649         * sunrpc/clnt_unix.c: Likewise.
82650         * sunrpc/des_crypt.c: Likewise.
82651         * sunrpc/des_soft.c: Likewise.
82652         * sunrpc/get_myaddr.c: Likewise.
82653         * sunrpc/getrpcport.c: Likewise.
82654         * sunrpc/key_call.c: Likewise.
82655         * sunrpc/key_prot.c: Likewise.
82656         * sunrpc/openchild.c: Likewise.
82657         * sunrpc/pm_getmaps.c: Likewise.
82658         * sunrpc/pm_getport.c: Likewise.
82659         * sunrpc/pmap_clnt.c: Likewise.
82660         * sunrpc/pmap_prot.c: Likewise.
82661         * sunrpc/pmap_prot2.c: Likewise.
82662         * sunrpc/pmap_rmt.c: Likewise.
82663         * sunrpc/rpc/auth.h: Likewise.
82664         * sunrpc/rpc/auth_unix.h: Likewise.
82665         * sunrpc/rpc/clnt.h: Likewise.
82666         * sunrpc/rpc/des_crypt.h: Likewise.
82667         * sunrpc/rpc/key_prot.h: Likewise.
82668         * sunrpc/rpc/netdb.h: Likewise.
82669         * sunrpc/rpc/pmap_clnt.h: Likewise.
82670         * sunrpc/rpc/pmap_prot.h: Likewise.
82671         * sunrpc/rpc/pmap_rmt.h: Likewise.
82672         * sunrpc/rpc/rpc.h: Likewise.
82673         * sunrpc/rpc/rpc_des.h: Likewise.
82674         * sunrpc/rpc/rpc_msg.h: Likewise.
82675         * sunrpc/rpc/svc.h: Likewise.
82676         * sunrpc/rpc/svc_auth.h: Likewise.
82677         * sunrpc/rpc/types.h: Likewise.
82678         * sunrpc/rpc/xdr.h: Likewise.
82679         * sunrpc/rpc_clntout.c: Likewise.
82680         * sunrpc/rpc_cmsg.c: Likewise.
82681         * sunrpc/rpc_common.c: Likewise.
82682         * sunrpc/rpc_cout.c: Likewise.
82683         * sunrpc/rpc_dtable.c: Likewise.
82684         * sunrpc/rpc_hout.c: Likewise.
82685         * sunrpc/rpc_main.c: Likewise.
82686         * sunrpc/rpc_parse.c: Likewise.
82687         * sunrpc/rpc_parse.h: Likewise.
82688         * sunrpc/rpc_prot.c: Likewise.
82689         * sunrpc/rpc_sample.c: Likewise.
82690         * sunrpc/rpc_scan.c: Likewise.
82691         * sunrpc/rpc_scan.h: Likewise.
82692         * sunrpc/rpc_svcout.c: Likewise.
82693         * sunrpc/rpc_tblout.c: Likewise.
82694         * sunrpc/rpc_util.c: Likewise.
82695         * sunrpc/rpc_util.h: Likewise.
82696         * sunrpc/rpcinfo.c: Likewise.
82697         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
82698         * sunrpc/rpcsvc/key_prot.x: Likewise.
82699         * sunrpc/rpcsvc/klm_prot.x: Likewise.
82700         * sunrpc/rpcsvc/mount.x: Likewise.
82701         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
82702         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
82703         * sunrpc/rpcsvc/rex.x: Likewise.
82704         * sunrpc/rpcsvc/rstat.x: Likewise.
82705         * sunrpc/rpcsvc/rusers.x: Likewise.
82706         * sunrpc/rpcsvc/sm_inter.x: Likewise.
82707         * sunrpc/rpcsvc/spray.x: Likewise.
82708         * sunrpc/rpcsvc/yppasswd.x: Likewise.
82709         * sunrpc/rtime.c: Likewise.
82710         * sunrpc/svc.c: Likewise.
82711         * sunrpc/svc_auth.c: Likewise.
82712         * sunrpc/svc_authux.c: Likewise.
82713         * sunrpc/svc_raw.c: Likewise.
82714         * sunrpc/svc_run.c: Likewise.
82715         * sunrpc/svc_simple.c: Likewise.
82716         * sunrpc/svc_tcp.c: Likewise.
82717         * sunrpc/svc_udp.c: Likewise.
82718         * sunrpc/svc_unix.c: Likewise.
82719         * sunrpc/svcauth_des.c: Likewise.
82720         * sunrpc/xcrypt.c: Likewise.
82721         * sunrpc/xdr.c: Likewise.
82722         * sunrpc/xdr_array.c: Likewise.
82723         * sunrpc/xdr_float.c: Likewise.
82724         * sunrpc/xdr_mem.c: Likewise.
82725         * sunrpc/xdr_rec.c: Likewise.
82726         * sunrpc/xdr_ref.c: Likewise.
82727         * sunrpc/xdr_sizeof.c: Likewise.
82728         * sunrpc/xdr_stdio.c: Likewise.
82730         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
82731         handling.
82733 2010-08-19  Andreas Schwab  <schwab@redhat.com>
82735         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
82737 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
82739         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
82740         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
82741         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
82742         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
82743         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
82744         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
82745         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
82746         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
82747         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
82748         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
82749         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
82750         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
82751         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
82752         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
82754 2010-07-26  Anton Blanchard  <anton@samba.org>
82756         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
82757         * malloc/arena.c (heap_trim): Likewise.
82759 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
82761         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
82762         here.  Not...
82763         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
82764         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
82766 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
82768         * sysdeps/i386/elf/Makefile: New file.
82770 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
82772         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
82773         from fanotify_init.
82774         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
82775         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
82777 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
82779         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
82780         of strncasecmp_l.
82781         * sysdeps/multiarch/strcmp.S: Likewise.
82783 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
82785         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
82786         strncase_l-nonascii.
82787         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
82788         Add strncase_l-ssse3.
82789         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
82790         * sysdeps/x86_64/strcmp.S: Likewise.
82791         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
82792         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
82793         * sysdeps/x86_64/strncase.S: New file.
82794         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
82795         * sysdeps/x86_64/strncase_l.S: New file.
82796         * string/Makefile (strop-tests): Add strncasecmp.
82797         * string/test-strncasecmp.c: New file.
82799         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
82800         warning.
82802         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
82803         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
82805 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
82807         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
82809 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
82811         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
82812         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
82813         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
82815 2010-05-01  Alan Modra  <amodra@gmail.com>
82817         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
82818         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
82819         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
82820         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
82821         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
82822         tidying.  Don't tail-call __sigjmp_save for static lib.
82823         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
82824         save location.
82825         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
82826         (CALL_MCOUNT): Add eh info, and nop after bl.
82827         (TAIL_CALL_SYSCALL_ERROR): New macro.
82828         (PSEUDO_RET): Use it.
82829         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
82830         Correct save location of integer regs and cr.
82831         (_dl_profile_resolve): Correct cr save location.  Delete nops
82832         after bl when SHARED.  Reduce cfi size a little by better
82833         placement of cfi directives.
82834         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
82835         make a stack frame.  Instead use parm save area as a temp.
82836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
82837         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
82838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
82839         Don't make a stack frame for parent, use parm save area.
82840         Increase child stack frame to 112 bytes.  Don't save unused reg,
82841         and adjust reg usage.  Set up cfi on error recovery and
82842         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
82843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
82844         (__makecontext): Add dummy nop after jump to exit.
82845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
82846         Use correct parm save area and cr save, reduce stack frame.
82847         Correct cfi for possible PSEUDO_RET frame setup.
82848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
82849         Branch to local label emitted by PSEUDO_RET rather than
82850         __syscall_error.
82852 2010-08-12  Andreas Schwab  <schwab@redhat.com>
82854         [BZ #11904]
82855         * locale/programs/locale.c (print_assignment): New function.
82856         (show_locale_vars): Use it.
82858 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
82860         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
82861         field.
82862         (struct statfs64): Likewise.
82863         (_STATFS_F_FLAGS): Define.
82864         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
82865         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
82866         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
82867         (ST_VALID): Define locally.
82868         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
82869         __statvfs_getflags, use the provided value.
82870         * sysdeps/unix/sysv/linux/kernel-features.h: Define
82871         __ASSUME_STATFS_F_FLAGS.
82873         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
82875         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
82876         Add sys/fanotify.h.
82877         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
82878         fanotify_mask for GLIBC_2.13.
82879         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
82880         fanotify_init and fanotify_mark.
82881         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
82882         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
82884         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
82885         Add prlimit.
82886         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
82887         prlimit64 for GLIBC_2.13.
82888         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
82889         prlimit64.
82890         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
82891         syscall.
82892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
82893         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
82894         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
82895         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
82896         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
82897         add prlimit alias.
82898         * sysdeps/unix/sysv/linux/prlimit.c: New file.
82900         [BZ #11903]
82901         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
82902         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
82904         * nss/Makefile: Add rules to build and run tst-nss-test1.
82905         * shlib-versions: Add entry for libnss_test1.
82906         * nss/nss_test1.c: New file.
82907         * nss/tst-nss-test1.c: New file.
82909         * nss/nsswitch.c (__nss_database_custom): Define new variable.
82910         (__nss_configure_lookup): Set appropriate entry in
82911         __nss_configure_lookup to true.
82912         * nss/nsswitch.h: Define enum with indeces of databases in
82913         databases and __nss_database_custom arrays.  Declare
82914         __nss_database_custom.
82915         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
82916         to avoid using nscd when custom rules are installed.
82917         * nss/getXXbyYY_r.c: Likewise.
82918         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
82920         * nss/nss_files/files-parse.c: Whitespace fixes.
82922 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
82924         [BZ #11883]
82925         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
82926         * posix/fnmatch_loop.c: Likewise.
82928 2010-07-17  Andi Kleen  <ak@linux.intel.com>
82930         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
82931         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
82932         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
82933         * Versions.def [GLIBC_2.13]: Add.
82935 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
82937         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
82938         Also fail if tpwd after pwuid call is NULL.
82940 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82942         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
82943         when converting to ms.
82945 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82947         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
82948         EOPNOTSUPP errors with ENOTTY.
82949         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
82950         EOPNOTSUPP errors with ENOTTY.
82952 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
82954         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
82955         Add strcasecmp_l-ssse3.
82956         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
82957         strcasecmp.
82958         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
82959         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
82960         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
82962 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
82964         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
82966         * string/Makefile (strop-tests): Add strcasecmp.
82967         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
82968         strcasecmp_l-nonascii.
82969         (gen-as-const-headers): Add locale-defines.sym.
82970         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
82971         * sysdeps/x86_64/strcasecmp.S: New file.
82972         * sysdeps/x86_64/strcasecmp_l.S: New file.
82973         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
82974         * sysdeps/x86_64/locale-defines.sym: New file.
82975         * string/test-strcasecmp.c: New file.
82977         * string/test-strcasestr.c: Test both ends of the range of characters.
82978         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
82980 2010-07-29  Roland McGrath  <roland@redhat.com>
82982         [BZ #11856]
82983         * manual/locale.texi (Yes-or-No Questions): Fix example code.
82985 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
82987         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
82988         for ld.so.
82990 2010-07-27  Andreas Schwab  <schwab@redhat.com>
82992         * manual/memory.texi (Malloc Tunable Parameters): Document
82993         M_PERTURB.
82995 2010-07-26  Roland McGrath  <roland@redhat.com>
82997         [BZ #11840]
82998         * configure.in (-fgnu89-inline check): Set and substitute
82999         gnu89_inline, not libc_cv_gnu89_inline.
83000         * configure: Regenerated.
83001         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
83003 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
83005         * string/test-strnlen.c: New file.
83006         * string/Makefile (strop-tests): Add strnlen.
83007         * string/tester.c (test_strnlen): Add a few more test cases.
83008         * string/tst-strlen.c: Better error reporting.
83010         * sysdeps/x86_64/strnlen.S: New file.
83012 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
83014         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
83015         lower-latency instructions.
83017 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
83019         * string/test-strcasestr.c: New file.
83020         * string/test-strstr.c: New file.
83021         * string/Makefile (strop-tests): Add strstr and strcasestr.
83022         * string/str-two-way.h: Don't undefine MAX.
83023         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
83025 2010-07-21  Andreas Schwab  <schwab@redhat.com>
83027         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
83028         strcasestr-nonascii.
83029         (CFLAGS-strcasestr-nonascii.c): Define.
83030         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
83031         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
83032         Remove unused attribute.
83034 2010-07-20  Roland McGrath  <roland@redhat.com>
83036         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
83037         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
83038         ld.so.cache was broken.  With it, there is no way to disable dsocaps
83039         like LD_HWCAP_MASK can disable hwcaps.
83041 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
83043         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
83045 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
83047         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
83048         call in strcasestr.
83049         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
83050         __strcasestr_sse42_nonascii.
83051         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
83052         strcasestr-nonascii.c.
83053         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
83055 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
83057         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
83058         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
83059         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
83060         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
83062 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
83064         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
83065         fcntl.
83067 2010-07-06  Andreas Schwab  <schwab@redhat.com>
83069         [BZ #11577]
83070         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
83071         dl_signal_cerror.
83073 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
83075         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
83076         _PC_PIPE_BUF using F_GETPIPE_SZ.
83078 2010-07-05  Roland McGrath  <roland@redhat.com>
83080         * manual/arith.texi (Rounding Functions): Fix rint description
83081         implicit in round description.
83083 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
83085         * elf/Makefile: Fix linking for a few tests to make recent linker
83086         happy.
83088 2010-06-30  Andreas Schwab  <schwab@redhat.com>
83090         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
83091         $(common-objpfx)libc_nonshared.a.
83093 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
83095         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
83096         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
83097         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
83098         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
83099         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
83100         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
83101         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
83102         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
83103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
83104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
83105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
83106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
83107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
83108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
83109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
83110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
83111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
83112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
83113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
83114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
83115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
83116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
83117         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
83118         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
83119         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
83120         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
83121         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
83122         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
83123         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
83124         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
83125         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
83126         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
83127         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
83128         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
83129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
83130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
83131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
83132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
83133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
83134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
83135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
83136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
83137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
83138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
83139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
83140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
83141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
83142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
83144 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
83146         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
83147         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
83148         * string/memmove.c (memmove): Renamed to ...
83149         (MEMMOVE): ...this.  Default to memmove.
83150         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
83151         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
83152         (END_CHK): Define.
83153         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
83154         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
83155         mempcpy-ssse3-back memmove-ssse3-back.
83156         * sysdeps/x86_64/multiarch/bcopy.S: New file .
83157         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
83158         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
83159         * sysdeps/x86_64/multiarch/memcpy.S: New file.
83160         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
83161         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
83162         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
83163         * sysdeps/x86_64/multiarch/memmove.c: New file.
83164         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
83165         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
83166         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
83167         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
83168         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
83169         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
83170         Define.
83171         (index_Fast_Copy_Backward): Define.
83172         (HAS_ARCH_FEATURE): Define.
83173         (HAS_FAST_REP_STRING): Define.
83174         (HAS_FAST_COPY_BACKWARD): Define.
83176 2010-06-21  Andreas Schwab  <schwab@redhat.com>
83178         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
83179         Restore proper fallback handling.
83181 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
83183         [BZ #11701]
83184         * posix/group_member.c (__group_member): Correct checking loop.
83186         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
83187         OOM in getpwuid_r correctly.  Return error number when the caller
83188         should return, otherwise -1.
83189         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
83190         call returning > 0 value.
83191         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
83193 2010-06-07  Andreas Schwab  <schwab@redhat.com>
83195         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
83196         libc_nonshared.a from targets in modules-names.
83198 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
83200         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
83201         requires it.
83203 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
83205         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
83206         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
83207         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
83208         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
83210 2010-06-02  Andreas Schwab  <schwab@redhat.com>
83212         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
83214 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
83216         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
83217         and F_GETPIPE_SZ.
83218         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
83219         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
83220         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
83221         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
83222         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
83223         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
83225 2010-06-14  Roland McGrath  <roland@redhat.com>
83227         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
83229 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
83231         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
83232         __REDIRECT followed by __THROW.
83233         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
83234         * posix/getopt.h (getopt): Likewise.
83236 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
83238         * hurd/lookup-at.c (__file_name_lookup_at): Accept
83239         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
83240         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
83241         in AT_FLAGS.
83242         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
83243         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
83245 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
83247         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
83249 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
83251         [BZ #11640]
83252         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83253         Properly check family and model.
83255 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
83257         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
83259 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
83261         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
83263 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
83265         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
83266         symbol reference.
83268 2010-05-19  Andreas Schwab  <schwab@redhat.com>
83270         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
83271         symbol reference.
83273 2010-05-21  Andreas Schwab  <schwab@redhat.com>
83275         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
83276         and internal_recvmmsg.
83277         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
83278         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
83279         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
83280         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
83282         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
83283         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
83284         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
83286 2010-05-20  Andreas Schwab  <schwab@redhat.com>
83288         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
83290 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
83292         POWER7 optimizations.
83293         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
83294         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
83296 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
83298         * version.h: Update for 2.13 development version.
83300 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
83302         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
83303         exceptions.  Return 0.
83305 2010-05-07  Roland McGrath  <roland@redhat.com>
83307         * elf/ldconfig.c (main): Add a const.
83309 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
83311         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
83312         (args_options): Add no-idn option.
83313         (ahosts_keys_int): Add idn_flags to ai_flags.
83314         (parse_option): Handle 'i' option to clear idn_flags.
83316         * malloc/malloc.c (_int_free): Possible race in the most recently
83317         added check.  Only act on the data if no current modification
83318         happened.
83320 See ChangeLog.17 for earlier changes.