Improve generic rawmemchr for targets that don't have an
[glibc.git] / ChangeLog
blob15085f550177c1bea1f1d1c513b38351d8972a8d
1 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
3         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
5 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
7         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8         kernel version to 4.9.
10 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
12         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
13         ($(inst_libdir)/libm.a): Fix rule to create the target only.
15 2016-12-13  Andreas Schwab  <schwab@suse.de>
17         * sysdeps/powerpc/dl-procinfo.c: Don't define
18         _dl_powerpc_platforms.
19         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
20         constants instead of referencing _dl_powerpc_platforms.
21         (_dl_platform_string): Remove.
23 2016-12-13  Florian Weimer  <fweimer@redhat.com>
25         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
27 2016-12-13  Florian Weimer  <fweimer@redhat.com>
29         * Rules (binaries-shared-tests, binaries-pie-tests)
30         (binaries-static-tests): Link with $(link-extra-libs-tests).
31         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
32         Remove $(link-extra-libs-tests).
34 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
36         * sysdeps/powerpc/powerpc64/multiarch/Makefile
37         (sysdep_routines): Add strncmp_power9.
38         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39         (strncmp): Add __strncmp_power9 to list of strncmp functions.
40         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
41         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
42         (strncmp): Add __strncmp_power9 to ifunc list.
43         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
45 2016-12-12  Florian Weimer  <fweimer@redhat.com>
47         [BZ #17252]
48         Add getentropy, getrandom.
49         * stdlib/sys/random.h: New file.
50         (headers): Add it.
51         * stdlib/Makefile (routines): Add getentropy, getrandom.
52         (tests): Add tst-getrandom.
53         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
54         * stdlib/getentropy.c: New file.
55         * stdlib/getrandom.c: Likewise.
56         * stdlib/tst-getrandom.c: Likewise.
57         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
58         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
59         * manual/crypt.texi (Unpredictable Bytes): New section.
60         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
61         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
62         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
63         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
64         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
65         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
66         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
67         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
68         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
69         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
70         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
71         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
72         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
73         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
74         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
75         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
76         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
77         Likewise.
78         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
79         Likewise.
80         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
81         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
82         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
83         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
84         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
85         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
86         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
87         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
88         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
89         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
90         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
91         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
93 2016-12-10  Florian Weimer  <fweimer@redhat.com>
95         [BZ #20956]
96         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
97         as additional compiler barriers.
98         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
99         (fn2, do_test): Declare with external linkage.
100         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
101         (do_test): Declare with external linkage.
102         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
103         (do_test): Declare with external linkage.
104         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
105         (do_test): Declare with external linkage.
107 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
109         * support/support_test_main.c (support_test_main): Use correct
110         timeout.
112 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
113             Florian Weimer  <fweimer@redhat.com>
115         [BZ #16421]
116         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
117         and __u6_addr32 members.
118         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
119         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
120         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
121         Use __u6_addr32.
122         * inet/tst-checks.c: Use <support/test-driver.c>
123         * inet/tst-checks-posix.c: New file.
124         * inet/Makefile (tests): Add it.
125         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
127 2016-12-09  Florian Weimer  <fweimer@redhat.com>
129         New subdirectory support for build and test infrastructure.
130         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
131         setting install-lib.
132         * Makeconfig (link-extra-libs-tests): Define.
133         (+link-pie-tests, +link-static-tests, +link-tests): Use
134         link-extra-libs-tests.
135         (rpath-dirs, all-subdirs): Add support.
136         (built-modules): Add libsupport.
137         (libsupport): Define.
138         * support: New directory.
139         * support/Makefile: New file.
140         * support/check.c: Likewise.
141         * support/check.h: Likewise.
142         * support/delayed_exit.c: Likewise.
143         * support/ignore_stderr.c: Likewise.
144         * support/oom_error.c: Likewise.
145         * support/set_fortify_handler.c: Likewise.
146         * support/support.h: Likewise.
147         * support/temp_file-internal.h: Likewise.
148         * support/temp_file.c: Likewise.
149         * support/test-driver.c: Likewise.
150         * support/test-driver.h: Likewise.
151         * support/test_main.c: Likewise.
152         * support/write_message.c: Likewise.
153         * support/xasprintf.c: Likewise.
154         * support/xcalloc.c: Likewise.
155         * support/xmalloc.c: Likewise.
156         * support/xpthread_barrier_destroy.c: Likewise.
157         * support/xpthread_barrier_init.c: Likewise.
158         * support/xpthread_barrier_wait.c: Likewise.
159         * support/xpthread_cancel.c: Likewise.
160         * support/xpthread_check_return.c: Likewise.
161         * support/xpthread_cond_wait.c: Likewise.
162         * support/xpthread_create.c: Likewise.
163         * support/xpthread_detach.c: Likewise.
164         * support/xpthread_join.c: Likewise.
165         * support/xpthread_mutex_lock.c: Likewise.
166         * support/xpthread_mutex_unlock.c: Likewise.
167         * support/xpthread_sigmask.c: Likewise.
168         * support/xpthread_spin_lock.c: Likewise.
169         * support/xpthread_spin_unlock.c: Likewise.
170         * support/xrealloc.c: Likweise.
171         * support/xsignal.h: Likewise.
172         * support/xthread.h: Likewise.
173         * support_tempfile.h: Likewise.
174         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
175         (TEST_DATA_LIMIT): Remove unused macro.
176         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
177         <support/check.h>.
178         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
179         (ignore_stderr, set_fortify_handler): Remove.  Now in
180         <support/support.h>.
181         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
182         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
183         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
184         (xpthread_join): Remove.  Now in <support/xthread.h>.
185         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
186         Introduce legacy wrappers.
187         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
188         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
189         (write_message): Remove.
190         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
191         test-skeleton.c.
192         * io/test-open-tmpfile: Likewise.
193         * io/tst-posix_fallocate-common.c: Likewise.
194         * libio/tst-fseek.c: Likewise.
195         * malloc/tst-malloc-backtrace.c: Likewise.
196         * malloc/tst-malloc-fork-deadlock.c: Likewise.
197         * malloc/tst-malloc-thread-exit.c: Likewise.
198         * nptl/tst-cancel7.c: Likewise.
199         * nptl/tst-cleanup0.c: Likewise.
200         * posix/tst-posix_fadvise-common.c: Likewise.
201         * rt/tst-shm.c: Likewise.
202         * time/bug-getdate1.c: Likewise.
203         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
204         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
205         * elf/Makefile (tst-piemod1.so): Link against libsupport.
207 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
209         * Rules [$(run-built-tests) != no] (tests-expected): Add
210         $(tests-printers).
211         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
213 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
215         [BZ #20539]
216         * math/Makefile (install-lib-ldscripts): Add libm.a.
217         (install_subdir): Remove.
218         (install-others): Add.
219         ($(inst_libdir)/libm.a): Add rule for installation as
220         linker script.
221         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
223 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
225         * INSTALL: Regenerated.
226         * Makeconfig: Add comments and whitespace to make the control flow
227         clearer.
228         (+link-printers-tests, +link-pie-printers-tests,
229         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
230         built-rtld-LDFLAGS, link-libc-rpath,
231         link-libc-tests-after-rpath-link,
232         link-libc-printers-tests): New.
233         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
234         link-libc-tests): Use the new variables as required.
235         * Makerules ($(py-const)): New rule.
236         generated: Add $(py-const).
237         * README.pretty-printers: New file.
238         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
239         (others): Depend on $(py-const).
240         (tests): Depend on $(tests-printers-programs) or
241         $(tests-printers-out),
242         as required.  Pass $(tests-printers) to merge-test-results.sh.
243         * manual/install.texi: Add requirements for testing the pretty
244         printers.
245         * nptl/Makefile (gen-py-const-headers, pretty-printers,
246         tests-printers, CFLAGS-test-mutexattr-printers.c
247         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
248         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
249         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
250         * nptl/nptl-printers.py: New file.
251         * nptl/nptl_lock_constants.pysym: Likewise.
252         * nptl/test-cond-printers.c: Likewise.
253         * nptl/test-cond-printers.py: Likewise.
254         * nptl/test-condattr-printers.c: Likewise.
255         * nptl/test-condattr-printers.py: Likewise.
256         * nptl/test-mutex-printers.c: Likewise.
257         * nptl/test-mutex-printers.py: Likewise.
258         * nptl/test-mutexattr-printers.c: Likewise.
259         * nptl/test-mutexattr-printers.py: Likewise.
260         * nptl/test-rwlock-printers.c: Likewise.
261         * nptl/test-rwlock-printers.py: Likewise.
262         * nptl/test-rwlockattr-printers.c: Likewise.
263         * nptl/test-rwlockattr-printers.py: Likewise.
264         * scripts/gen-py-const.awk: Likewise.
265         * scripts/test_printers_common.py: Likewise.
266         * scripts/test_printers_exceptions.py: Likewise.
268 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
270         * scripts/build-many-glibcs.py (Context.__init__): Take strip
271         argument.
272         (Glibc.build_glibc): Strip installed shared libraries if
273         requested.
274         (get_parser): Add --strip option.
275         (main): Update Context call.
277 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
278             Dominik Vogt  <vogt@linux.vnet.ibm.com>
280         [BZ #20847]
281         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
282         array bounds for else branch.
283         (__execvpe): Style fixes.
284         * posix/tst-vfork3.c (run_script): New function.
285         (create_script): Likewise.
286         (do_test): Use run_script internal function.
287         (do_prepare): Use create_script internal function.
289 2016-12-07  Andreas Schwab  <schwab@suse.de>
291         * sysdeps/unix/sysv/linux/x86/elision-conf.h
292         (__elision_available): Don't declare.
293         * sysdeps/unix/sysv/linux/x86/elision-conf.c
294         (__elision_available): Don't define.
295         (elision_init): Don't set __elision_available.
297 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
299         [BZ #20940]
300         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
301         return Inf for arguments Inf and sNaN.
302         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
303         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
304         Likewise.
305         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
306         Likewise.
307         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
308         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
309         for arguments Inf and sNaN.  When returning a NaN, compute it by
310         arithmetic on the arguments.
311         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
312         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
313         arguments.
315 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
317         [BZ #20916]
318         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
319         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
320         to compute result.
321         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
322         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
324 2016-12-05  Torvald Riegel  <triegel@redhat.com>
326         * include/atomic.h (__atomic_check_size_ls): New.
327         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
328         atomic_store_release): Use it.
329         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
330         (elision_adapt, ELIDE_LOCK): Use atomics.
331         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
332         atomics and improve code comments.
333         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
334         (__lll_trylock_elision): Likewise.
336 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
338         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
339         programs.
341 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
343         [BZ #20916]
344         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
345         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
346         arguments to compute result.
347         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
348         1 for arguments (sNaN, 0) or (1, sNaN).
349         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
350         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
352         [BZ #20919]
353         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
354         NaN first argument when raised to power 0.
355         * math/w_pow.c (__pow): Do not check for NaN or zero results from
356         raising to power zero.
357         * math/w_powf.c (__powf): Likewise.
358         * math/w_powl.c (__powl): Likewise.
359         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
360         pow (0, 0) or pow (NaN, 0).
362 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
364         [BZ #20918]
365         * configure.ac: Test for static NSS cryptographic libraries and set
366         libc_cv_static_nss_crypt.
367         * configure: Regenerate.
368         * config.make.in (static-nss-crypt): Define.
369         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
370         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
371         (CFLAGS-tst-linkall-static.c): Define.
372         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
373         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
374         ($(objpfx)tst-linkall-static): Define.
375         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
376         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
378 2016-12-02  Florian Weimer  <fweimer@redhat.com>
380         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
381         (one-hundred, tst-tls-many-dynamic-modules): Define.
382         (modules-names): Add $(tst-tls-many-dynamic-modules).
383         (tst-tls-manydynamic%mod.os): Build with special preprocessor
384         macros.
385         (tst-tls-manydynamic): Link against libdl, libpthread.
386         (tst-tls-manydynamic.out): The test needs the test modules at run
387         time.
388         * elf/tst-tls-manydynamic.c: New file.
389         * elf/tst-tls-manydynamic.h: Likewise.
390         * elf/tst-tls-manydynamicmod.c: Likewise.
392 2016-12-02  Florian Weimer  <fweimer@redhat.com>
394         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
395         (TLS_DTV_UNALLOCATED): Add.
396         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
397         offsets.
399 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
401         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
403 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
405         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
406         Add -fno-optimize-sibling-calls.
408 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
410         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
411         New declaration.
412         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
413         macro.
414         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
415         New macro.
416         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
417         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
418         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
419         (llogbf): Likewise.
420         (llogbl): Likewise.
421         * math/Makefile (gen-libm-calls): Add w_llogbF.
422         (tests): Add test-fp-llogb-constants.
423         * math/w_llogb_template.c: New file.  Based on
424         math/w_ilogb_template.c.
425         * math/libm-test.inc (llogb_test_data): New array.
426         (llogb_test): New function.
427         (main): Call llogb_test.
428         * math/test-fp-llogb-constants.c: New file.  Based on
429         math/test-fp-ilogb-constants.c.
430         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
431         (do_test): Call check_return_llogb.
432         * math/test-tgmath.c (NCALLS): Increase to 126.
433         (F(compile_test)): Call llogb.
434         (F(llogb)): New function.
435         * manual/math.texi (Exponents and Logarithms): Document llogb,
436         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
437         * manual/libm-err-tab.pl (@all_functions): Add llogb.
438         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
439         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
440         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
441         (CFLAGS-nldbl-llogb.c): New variable.
442         * sysdeps/nacl/libm.abilist: Update.
443         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
444         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
445         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
446         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
447         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
448         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
449         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
450         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
451         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
452         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
453         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
454         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
456         Likewise.
457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
458         Likewise.
459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
460         Likewise.
461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
462         Likewise.
463         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
464         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
465         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
466         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
467         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
468         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
469         Likewise.
470         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
471         Likewise.
472         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
473         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
474         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
476 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
478         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
479         _Float128 instead of long double.
480         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
482         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
483         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
484         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
485         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
486         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
487         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
488         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
489         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
490         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
491         Likewise.
493 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
495         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
496         Remove redirection to __strrchr_ppc.
498 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
500         * sysdeps/powerpc/powerpc64/multiarch/Makefile
501         (sysdep_routines): Add strcmp_power9.
502         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
503         (strcmp): Add __strcmp_power9 to list of strcmp functions.
504         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
505         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
506         (strcmp): Add __strcmp_power9 to ifunc list.
507         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
509 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
511         * bits/fp-logb.h: New file.
512         * sysdeps/ia64/bits/fp-logb.h: Likewise.
513         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
514         * sysdeps/x86/bits/fp-logb.h: Likewise.
515         * math/Makefile (headers): Add bits/fp-logb.h.
516         * math/math.h: Include <bits/fp-logb.h>.
517         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
518         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
519         * bits/mathdef.h (FP_ILOGB0): Remove.
520         (FP_ILOGBNAN): Likewise.
521         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
522         (FP_ILOGBNAN): Likewise.
523         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
524         (FP_ILOGBNAN): Likewise.
525         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
526         (FP_ILOGBNAN): Likewise.
527         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
528         (FP_ILOGBNAN): Likewise.
529         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
530         (FP_ILOGBNAN): Likewise.
531         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
532         (FP_ILOGBNAN): Likewise.
533         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
534         (FP_ILOGBNAN): Likewise.
535         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
536         (FP_ILOGBNAN): Likewise.
537         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
538         (FP_ILOGBNAN): Likewise.
540         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
541         time module.
542         (Context.__init__): Initialize self.logsdir_old.
543         (Context.run_builds): Handle bot action.
544         (Context.bot_cycle): Copy logs directory before running builds.
545         (Context.bot_run_self): Take argument for whether to check
546         subprocess result.  Flush stdout before running subprocess.
547         (Context.bot): New function.
548         (get_parser): Allow bot action.
550 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
552         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
553         Import email.mime.text, email.utils and smtplib modules.
554         (Context.__init__): Initialize self.bot_config_json.
555         (Context.run_builds): Handle bot-cycle action.
556         (Context.load_bot_config_json): New function.
557         (Context.part_build_old): Likewise.
558         (Context.bot_cycle): Likewise.
559         (Context.bot_build_mail): Likewise.
560         (Context.bot_run_self): Likewise.
561         (get_parser): Allow bot-cycle action.
563 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
565         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
566         Remove redirection to __stpcpy_ppc.
568 2016-11-30  Florian Weimer  <fweimer@redhat.com>
570         Remove __libc_memalign from ld.so because it is unused.
571         * elf/dl-minimal.c: Update comment on the malloc implementation.
572         (malloc): Renamed from __libc_memalign, replacing the original
573         malloc implementation.  Replace the align parameter with
574         MALLOC_ALIGNMENT.
575         * elf/Versions (ld): Update comment and remove __libc_memalign.
576         * sysdeps/nacl/ld.abilist: Likewise.
577         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
578         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
579         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
580         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
581         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
582         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
583         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
584         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
585         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
586         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
587         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
588         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
589         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
593         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
594         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
595         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
596         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
597         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
598         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
599         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
600         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
601         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
602         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
603         * sysdeps/generic/localplt.data (ld.so): Likewise.
604         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
605         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
606         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
607         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
608         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
609         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
610         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
611         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
612         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
614         (ld.so): Likewise.
615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
616         (ld.so): Likewise.
617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
618         Likewise.
619         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
620         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
621         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
622         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
623         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
625 2016-11-30  Florian Weimer  <fweimer@redhat.com>
627         [BZ #16628]
628         Implement _dl_catch_error, _dl_signal_error in libc.so.
629         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
630         (catch_hook): Define as thread-local or regular variable,
631         depending on DL_ERROR_BOOTSTRAP.
632         (CATCH_HOOK): Remove.
633         (dl_signal_error, _dl_catch_error): Use
634         catch_hook.  Add hidden definition for libc.
635         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
636         for DL_ERROR_BOOTSTRAP only.
637         * elf/dl-error.c: New file.
638         * elf/dl-error-minimal.c: Likewise.
639         * elf/tst-latepthread.c: Likewise.
640         * elf/tst-latepthreadmod.c: Likewise.
641         * elf/Makefile (routines): Add dl-error.
642         (dl-routines): Remove dl-error.
643         (rtld-routines): Add dl-error-minimal.
644         [build-shared] (tests): Add tst-latepthread.
645         (module-names): Add tst-latepthreadmod.
646         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
647         symbol.
648         (tst-latepthreadmod.so): Link against libpthread.
649         (tst-latepthread): Link against libdbl.
650         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
651         _dl_catch_error.
652         [ld] (GLIBC_PRIVATE): Likewise.
653         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
654         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
655         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
656         directly.
657         * elf/dl-tsd.c: Remove file.
658         * elf/rtld.c (_rtld_global_ro): Remove initializers for
659         _dl_catch_error, _dl_signal_error.
660         (_dl_initial_error_catch_tsd): Remove definition.
661         (do_preload): Remove initialization of dl_error_catch_tsd.
662         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
663         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
664         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
665         * dlfcn/dlopen.c (dlopen_doit): Likewise.
666         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
667         set dl_error_catch_tsd.
668         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
669         _dl_error_catch_tsd member.
670         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
671         members.
672         (_dl_initial_error_catch_tsd): Remove declaration.
673         (_dl_dprintf): Provide definition for use outside of ld.so.
674         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
675         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
676         prototype for libc.
677         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
678         _dl_catch_error.
679         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
680         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
681         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
682         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
683         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
684         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
685         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
686         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
687         Likewise.
688         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
690         (ld.so): Likewise.
691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
692         (ld.so): Likewise.
693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
694         Likewise.
695         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
696         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
697         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
698         Likewise.
699         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
700         Likewise.
701         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
703 2016-11-30  Florian Weimer  <fweimer@redhat.com>
705         [BZ #4099]
706         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
707         _IO_BUFSIZ (8192).
709 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
711         * PROJECTS: Remove file.
713 2016-11-29  Florian Weimer  <fweimer@redhat.com>
715         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
717 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
718             Steve Ellcey  <sellcey@caviumnetworks.com>
720         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
721         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
722         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
723         fxstatat.
724         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
725         lxstat.
726         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
727         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
728         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
729         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
730         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
731         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
732         __xstat.
734 2016-11-29  Florian Weimer  <fweimer@redhat.com>
736         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
737         Define.
738         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
739         definition.
741 2016-11-29  Florian Weimer  <fweimer@redhat.com>
743         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
744         version and turn into strong alias.  Remove compat symbol.
746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
747         (__longjmp): Remove.
749 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
751         * bits/fp-fast.h: New file.
752         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
753         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
754         * math/Makefile (headers): Add bits/fp-fast.h.
755         * math/math.h: Include <bits/fp-fast.h>.
756         * bits/mathdef.h (FP_FAST_FMA): Remove.
757         (FP_FAST_FMAF): Likewise.
758         (FP_FAST_FMAL): Likewise.
759         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
760         (FP_FAST_FMAF): Likewise.
761         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
762         (FP_FAST_FMAF): Likewise.
763         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
764         (FP_FAST_FMAF): Likewise.
765         (FP_FAST_FMAL): Likewise.
766         * sysdeps/arm/bits/mathdef.h: Remove file.
767         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
768         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
769         * sysdeps/tile/bits/mathdef.h: Likewise.
771 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
773         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
774         * math/w_ilogb.c: Remove.
775         * math/w_ilogbf.c: Likewise.
776         * math/w_ilogbl.c: Likewise.
777         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
778         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
779         * math/Makefile (gen-libm-calls): Add w_ilogbF.
780         (libm-calls): Remove w_ilogbF.
781         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
782         (LDOUBLE_ilogbl_libm_version): New macro.
784         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
786         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
787         [!__STRICT_ANSI__ && !__cplusplus].
789 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
791         [BZ #20750]
792         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
793         of PIC.
795 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
796             Yury Norov  <ynorov@caviumnetworks.com>
797             Steve Ellcey  <sellcey@caviumnetworks.com>
799         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
800         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
801         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
802         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
803         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
804         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
805         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
806         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
807         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
808         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
809         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
810         to get correct reg name for ILP32.
811         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
812         (RELA_SIZE): New Macro.
813         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
814         to support ILP32.
815         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
816         cast for ILP32 mode.
817         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
818         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
819         * sysdeps/aarch64/memset.S (__memset): Ditto.
820         * sysdeps/aarch64/strchr.S (strchr): Ditto.
821         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
822         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
823         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
824         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
825         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
826         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
827         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
828         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
829         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
830         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
831         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
832         change PTR_MANGLE call to use register numbers instead of names.
833         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
834         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
835         ILP32 mode, change PTR_MANGLE calls to use register numbers.
836         * sysdeps/aarch64/start.S (_start): Ditto.
837         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
838         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
839         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
840         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
841         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
842         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
843         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
844         Make defined values dependent on __ILP32__.
845         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
846         (sem_t): Change __align type.
847         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
848         PTR_SIZE): New Macros.
849         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
850         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
851         Set when in ILP32 mode.
852         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
853         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
854         Set elf flags for ILP32.
855         (add_system_dir): Set ILP32 library directories.
856         * sysdeps/unix/sysv/linux/aarch64/init-first.c
857         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
858         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
859         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
860         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
861         New Macros.
862         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
864 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
866         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
867         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
868         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
870 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
872         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
873         <asm/cachectl.h>.
875 2016-11-27  Zack Weinberg  <zackw@panix.com>
877         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
878         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
880 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
882         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
883         error_t to fix usage in C++ programs.
885 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
887         * scripts/build-many-glibcs.py: Import datetime module.
888         (Context.__init__): Load JSON build state.  Initialize list of
889         status logs.
890         (Context.run_builds): Update saved build state.
891         (Context.add_makefile_cmdlist): Update list of status logs.
892         (Context.load_build_state_json): New function.
893         (Context.store_build_state_json): Likewise.
894         (Context.clear_last_build_state): Likewise.
895         (Context.update_build_state): Likewise.
896         (CommandList.status_logs): Likewise.
898 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
900         * scripts/build-many-glibcs.py (Context.__init__): Save text of
901         script being executed.
902         (Context.get_script_text): New function.
903         (Context.exec_self): Likewise.
904         (Context.checkout): Re-exec script if changed by checkout process.
906 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
908         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
909         (setpayloadsig): New declaration.
910         * math/Versions (setpayloadsig): New libm symbol at version
911         GLIBC_2.25.
912         (setpayloadsigf): Likewise.
913         (setpayloadsigl): Likewise.
914         * math/Makefile (libm-calls): Add s_setpayloadsigF.
915         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
916         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
917         (setpayloadsig_test_data): New array.
918         (setpayloadsig_test): New function.
919         (main): Call setpayloadsig_test.
920         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
921         setpayloadsigf and setpayloadsigl.
922         * manual/libm-err-tab.pl: Update comment on interfaces without
923         ulps tabulated.
924         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
925         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
926         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
927         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
928         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
929         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
930         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
931         setpayloadsig.
932         (CFLAGS-nldbl-setpayloadsig.c): New variable.
933         * sysdeps/nacl/libm.abilist: Update.
934         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
935         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
936         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
937         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
938         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
939         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
940         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
941         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
942         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
943         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
944         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
945         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
947         Likewise.
948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
949         Likewise.
950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
951         Likewise.
952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
953         Likewise.
954         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
955         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
956         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
957         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
958         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
959         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
960         Likewise.
961         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
962         Likewise.
963         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
964         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
965         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
967         * scripts/build-many-glibcs.py: Import json module.
968         (Context.__init__): Take replace_sources argument.  Load
969         versions.json.
970         (Context.load_versions_json): New function.
971         (Context.store_json): Likewise.
972         (Context.store_versions_json): Likewise.
973         (Context.set_component_version): Likewise.
974         (Context.checkout): Update versions.json.  Check for and handle
975         changes of version.  Prefer previously explicitly specified
976         version to default version.
977         (Context.checkout_vcs): Return a revision identifier.
978         (Context.git_checkout): Likewise.
979         (Context.gcc_checkout): Likewise.
980         (get_parser): Add --replace-sources option.
981         (main): Pass replace_sources argument to Context call.
983 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
985         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
986         * nptl/allocatestack.c (allocate_stack): Likewise.
987         (__reclaim_stacks): Likewise.
988         (setxid_signal_thread): Obtain pid through syscall.
989         * nptl/nptl-init.c (sigcancel_handler): Likewise.
990         (sighandle_setxid): Likewise.
991         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
992         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
993         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
994         Likewise.
995         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
996         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
997         comment.
998         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
999         * nptl/descr.h (struct pthread): Change comment about pid value.
1000         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
1001         pid assert.
1002         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
1003         Do not set pid value.
1004         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
1005         pid cache check.
1006         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
1007         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
1008         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
1009         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
1010         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
1011         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
1012         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
1013         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
1014         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
1015         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
1016         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
1017         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
1018         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
1019         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
1020         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
1021         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
1022         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
1023         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
1024         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
1025         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
1026         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
1027         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1028         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
1029         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
1030         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
1031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
1033         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
1034         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1035         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
1036         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
1037         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
1038         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
1039         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
1040         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
1041         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
1042         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
1043         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1044         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
1045         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
1046         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
1047         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
1048         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
1049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
1050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
1051         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1052         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1053         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1054         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
1055         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
1056         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
1057         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
1058         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
1059         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
1060         struct access.
1061         (clone_test): Remove function.
1062         (do_test): Rewrite to take in consideration pid is not cached anymore.
1064 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
1066         * bits/flt-eval-method.h: New file.
1067         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
1068         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
1069         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
1070         * math/Makefile (headers): Add bits/flt-eval-method.h.
1071         * math/math.h: Include <bits/flt-eval-method.h>.
1072         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
1073         [__USE_ISOC99] (double_t): Likewise.
1074         * bits/mathdef.h (float_t): Remove.
1075         (double_t): Likewise.
1076         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
1077         (double_t): Likewise.
1078         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
1079         (double_t): Likewise.
1080         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
1081         (double_t): Likewise.
1082         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
1083         (double_t): Likewise.
1084         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
1085         (double_t): Likewise.
1086         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
1087         (double_t): Likewise.
1088         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
1089         (double_t): Likewise.
1090         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
1091         (double_t): Likewise.
1092         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
1093         (double_t): Likewise.
1094         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
1095         (double_t): Likewise.
1096         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
1097         (double_t): Likewise.
1098         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
1099         (double_t): Likewise.
1100         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
1101         (double_t): Likewise.
1103 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
1105         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
1106         instead of PIC.
1108 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
1110         [BZ #20859]
1111         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
1112         (-0x7fffffff) instead of 0x80000001.
1113         * math/test-fp-ilogb-constants.c: New file.
1114         * math/Makefile (tests): Add test-fp-ilogb-constants.
1116 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
1118         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
1119         (_init): Use it in place of hardcoded R_MIPS_JALR.
1120         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
1121         (_init): Use it in place of hardcoded R_MIPS_JALR.
1122         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
1123         (_init): Use it in place of hardcoded R_MIPS_JALR.
1125 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
1127         [BZ #20787]
1128         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
1129         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
1130         (double_t): Do not define to double if [__x86_64__] when
1131         __FLT_EVAL_METHOD__ is nonzero.
1132         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
1133         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
1134         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1135         test-flt-eval-method-387 and test-flt-eval-method-sse.
1136         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
1137         variable.
1138         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
1140 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
1142         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
1143         use of -fno-isolate-erroneous-paths options for tilepro.
1145 2016-11-23  Florian Weimer  <fweimer@redhat.com>
1147         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
1148         structure initialization is no longer needed.
1150 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
1152         [BZ #20855]
1153         * bits/mathdef.h (float_t): Define to float.
1154         * math/test-flt-eval-method.c: New file.
1155         * math/Makefile (tests): Add test-flt-eval-method.
1156         (CFLAGS-test-flt-eval-method.c): New variable.
1158 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
1160         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
1161         and __fstatfs.  Make them aliases of __fstatfs64 if
1162         STATFS_IS_STATFS64 is set to non-zero.
1163         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
1164         and __statfs64.
1165         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
1166         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
1167         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
1168         for __statfs and statfs.
1169         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
1170         to 0.
1171         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
1172         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
1173         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
1174         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
1175         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
1176         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
1177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
1178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
1179         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
1180         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
1181         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
1182         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
1184 2016-11-22  Andreas Schwab  <schwab@suse.de>
1186         * misc/mkstemp.c: Include <fcntl.h>.
1187         * misc/mkstemps.c: Likewise.
1188         * misc/mkostemp.c: Likewise.
1189         * misc/mkostemps.c: Likewise.
1191 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
1193         [BZ #20847]
1194         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
1195         array bounds.
1196         (__execvpe): Likewise.
1198 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
1200         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
1201         -fno-isolate-erroneous-paths options for tilepro.
1203 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
1205         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
1206         to 0 when in 32 bit mode.
1207         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
1208         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
1209         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
1210         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
1211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
1212         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
1213         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
1214         XSTAT_IS_XSTAT64 test.
1215         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
1216         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
1217         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
1218         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
1219         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
1220         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
1221         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
1222         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
1223         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
1224         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
1225         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
1227 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
1229         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1230         (setpayload): New declaration.
1231         * math/Versions (setpayload): New libm symbol at version
1232         GLIBC_2.25.
1233         (setpayloadf): Likewise.
1234         (setpayloadl): Likewise.
1235         * math/Makefile (libm-calls): Add s_setpayloadF.
1236         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
1237         test_Ff_b1_data.
1238         (RUN_TEST_Ff_b1): New macro.
1239         (RUN_TEST_LOOP_Ff_b1): Likewise.
1240         (canonicalize_test_data): Update type.
1241         (setpayload_test_data): New array.
1242         (setpayload_test): New function.
1243         (main): Call setpayload_test.
1244         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
1245         setpayloadf and setpayloadl.
1246         * manual/libm-err-tab.pl: Update comment on interfaces without
1247         ulps tabulated.
1248         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
1249         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
1250         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
1251         Likewise.
1252         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
1253         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
1254         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
1255         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
1256         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
1257         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
1258         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
1259         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
1260         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
1261         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1262         setpayload.
1263         (CFLAGS-nldbl-setpayload.c): New variable.
1264         * sysdeps/nacl/libm.abilist: Update.
1265         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1266         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1267         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1268         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1269         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1270         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1271         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1272         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1273         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1274         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1275         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1276         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1278         Likewise.
1279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1280         Likewise.
1281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1282         Likewise.
1283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1284         Likewise.
1285         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1286         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1287         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1288         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1289         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1290         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1291         Likewise.
1292         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1293         Likewise.
1294         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1295         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1296         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1298 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1300         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
1301         * include/unistd.h: Extend comment about __access_noerrno return
1302         semantics.
1303         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
1304         (access_common): Correct typo for EACCES.
1306 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
1308         * sysdeps/tile/math-tests.h: New file.
1310         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
1311         (__old_set_dataplane): Rename from set_dataplane and make a
1312         compatibility symbol.
1313         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
1314         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
1315         sys/dataplane.h.
1317 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
1319         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
1320         script quote words in command output to log suitably for input to
1321         the shell.
1323 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
1324             Maciej W. Rozycki  <macro@imgtec.com>
1326         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
1327         `.Lno_weak_fn' label.
1328         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
1329         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
1331 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1332             Yury Norov  <ynorov@caviumnetworks.com>
1334         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
1335         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
1336         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1337         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
1338         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1339         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
1340         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1341         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1342         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1343         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
1344         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1345         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
1346         (sysdep_routines): Remove oldgetrlimit64.
1347         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
1348         (sysdep_routines): Likewise.
1349         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
1350         (sysdep_routines): Likewise.
1351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1352         [$(subdir) = resource] (sysdep_routines): Likewise.
1353         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
1354         [$(subdir) = resource] (sysdep_routines): Likewise.
1355         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
1356         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
1357         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
1358         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
1359         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
1360         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
1361         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
1362         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
1363         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
1364         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
1365         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
1366         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
1367         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
1368         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
1369         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
1370         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
1371         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
1372         setrlimit and getrlimit.
1373         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1374         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
1375         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
1376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
1377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
1378         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
1379         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
1380         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1381         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
1382         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
1383         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
1384         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
1385         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
1386         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
1387         (__old_getrlimit64): Add compatibility symbol.
1388         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
1390 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
1392         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
1393         newly built gmp, mpfr and mpc.
1395         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
1397 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
1399         * conform/Makefile (linknamespace-libs): Rename to
1400         linknamespace-libs-thr.
1401         (linknamespace-libs-posix): New variable.
1402         (linknamespace-libs-xsi): Likewise.
1403         (linknamespace-libs-XPG3): Include libcrypt.a.
1404         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
1405         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
1406         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
1407         (linknamespace-libs-XOPEN2K): Likewise.
1408         (linknamespace-libs-XOPEN2K8): Likewise.
1409         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
1411         [BZ #20829]
1412         * stdio-common/Versions (__snprintf): Add to version
1413         GLIBC_PRIVATE.
1414         * include/stdio.h (__snprintf): Use libc_hidden_proto.
1415         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
1416         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
1417         of snprintf.
1418         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1420 2016-11-16  Zack Weinberg  <zackw@panix.com>
1422         * string/string.h: Remove obsolete comment stating that
1423         strcoll_l and strxfrm_l have not yet been standardized.
1425 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1427         * hurd/hurd.h (__hurd_fail_noerrno): New function.
1428         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
1429         __access_noerrno.
1430         * io/access.c (__access_noerrno): New function.
1431         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
1432         (hurd_fail_seterrno): Likewise.
1433         (access_common): Likewise.
1434         (__access_noerrno): Likewise.
1435         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
1436         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
1437         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
1438         macro.
1440 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
1442         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
1443         Only declare fpregs if [__SH_FPU_ANY__].
1445 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
1447         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
1448         Make code unconditional.
1449         [!(__SH4__ || __SH4A__)]: Remove conditional code.
1451 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
1453         * manual/sysinfo.texi (S_APPEND): Delete.
1454         (S_IMMUTABLE): Likewise.
1456 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
1457             Magnus Granberg  <zorry@gentoo.org>
1458             Mike Frysinger  <vapier@gentoo.org>
1460         [BZ #20662]
1461         * configure.ac (libc_cv_predef_stack_protector): Also check for
1462         __stack_chk_fail_local symbols.
1463         * configure: Regenerated.
1465 2016-11-15  Florian Weimer  <fweimer@redhat.com>
1467         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
1468         (libc_hidden_def): Remove redefinition.
1469         (__sigsetjmp): Add hidden definition.
1470         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
1471         (libc_hidden_def): Remove redefinition.
1472         (__sigsetjmp): Add hidden definition.
1474 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
1476         * scripts/build-many-glibcs.py (os.path): Do not import.
1477         (Context): Inherit explicitly from object.  Remove blank line
1478         between class and docstring.
1479         (Config): Likewise.
1480         (Glibc): Likewise.
1481         (Command): Likewise.
1482         (CommandList): Likewise.
1483         (Context.write_files): Store chmod mode in a variable.
1485         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
1486         LIBC_SLIBDIR_RTLDDIR for tilegx32.
1487         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
1489 2016-11-14  Zack Weinberg  <zackw@panix.com>
1491         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
1492         creating or re-creating it.
1494         * string/bits/string2.h: Fix typo in comment.
1496 2016-11-14  Zack Weinberg  <zackw@panix.com>
1498         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
1499         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
1500         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
1501         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
1502         of redirected function names.
1504         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
1505         as well.  Document that MESSAGE must be a single string literal.
1507 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
1509         * scripts/build-many-glibcs.py: New file.
1511         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
1512         (do_test): Disable -Wmaybe-uninitialized around uses of
1513         except_mask.
1515         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
1517 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
1519         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
1520         (atomic_store_release): Provide tilepro-specific implementations.
1522 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
1524         * math/math.h (__MATH_TG): New macro.
1525         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
1526         [__USE_ISOC99] (signbit): Likewise.
1527         [__USE_ISOC99] (isfinite): Likewise.
1528         [__USE_ISOC99] (isnan): Likewise.
1529         [__USE_ISOC99] (isinf): Likewise.
1530         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
1531         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
1532         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
1533         __MATH_TG and __MATH_EVAL_FMT2.
1534         * sysdeps/generic/math_private.h (fabs_tg): Define using
1535         __MATH_TG.
1536         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
1537         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
1538         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
1539         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
1540         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
1541         macro.
1542         (__iscanonical): Likewise.
1543         (iscanonical): Define using __MATH_TG.
1545 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1547         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
1548         guards.
1550         * sysdeps/unix/sysv/linux/access.c: New file.
1551         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
1553 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
1555         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
1556         and __WORDSIZE32_PTRDIFF_LONG.
1558 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1560         * sysdeps/aarch64/libm-test-ulps: Regenerated.
1562 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1564         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
1565         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
1566         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
1567         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
1568         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
1569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
1570         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
1571         * sysdeps/unix/sysv/linux/truncate.c: New file.
1572         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
1573         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
1574         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
1575         Remove.
1576         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
1577         Likewise.
1579         * posix/tst-truncate-common.c: New file.
1580         * posix/tst-truncate.c: Use tst-truncate-common.c.
1581         * posix/tst-truncate64.c: Likewise and add LFS tests.
1582         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
1583         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
1584         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
1585         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
1586         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
1587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
1588         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
1589         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
1590         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
1591         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
1592         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
1593         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
1594         Remove.
1595         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
1596         Likewise.
1598 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
1600         [BZ #20790]
1601         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
1602         to MAXLINESIZE.
1603         * sunrpc/bug20790.x: New file.
1604         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
1605         variable.
1606         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
1607         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
1609         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
1611         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
1613         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
1614         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
1615         calloc, realloc, free, memalign and __libc_memalign rather than
1616         making them optional.
1618         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
1619         for libc.so.
1621 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1623         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
1624         ptw-lseek64.
1625         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
1626         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
1627         Likewise.
1628         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
1629         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
1630         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
1631         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
1632         * sysdeps/unix/sysv/linux/lseek.c: New file.
1633         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
1634         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
1635         __libc_lseek64 from auto-generation.
1636         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
1637         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
1639 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1641         * nptl/tst-basic1.c (tf, do_test): Use write_message.
1642         * nptl/tst-cleanup1.c (do_test): Likewise.
1643         * nptl/tst-cleanup3.c (do_test): Likewise.
1644         * nptl/tst-key1.c (do_test): Likewise.
1645         * nptl/tst-key2.c (tf, do_test): Likewise.
1646         * nptl/tst-key3.c (tf, do_test): Likewise.
1647         * nptl/tst-stdio1.c (do_test): Likewise.
1648         * nptl/tst-stdio2.c (do_test): Likewise.
1650         * nptl/tst-kill3.c (handler): Use write_message in place of write.
1651         * nptl/tst-kill6.c (handler): Likewise.
1652         * nptl/tst-tls2.c (CB): Likewise.
1653         * nptl/tst-tls3.c (CB): Likewise.
1655 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
1657         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
1659 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
1660             Steve Ellcey  <sellcey@caviumnetworks.com>
1662         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
1663           __ASSUME_ST_INO_64_BIT as 0
1664         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
1665         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
1666           over the code where __ASSUME_ST_INO_64_BIT is used.
1667         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
1668         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
1669         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
1671 2016-11-07  Florian Weimer  <fweimer@redhat.com>
1673         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1674         Document ABI exposure of the __kind offset.
1675         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1676         Mention reason for the __kind offset exposure in the ABI.
1677         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1678         Likewise.
1679         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1680         Likewise.
1681         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1682         Likewise.
1683         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
1684         (struct __pthread_mutex_s): Likewise.
1685         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1686         Likewise.
1687         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1688         Likewise.
1689         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1690         Likewise.
1691         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1692         Likewise.
1693         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1694         Likewise.
1695         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1696         Likewise.
1697         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
1698         (struct __pthread_mutex_s): Likewise.
1699         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1700         (struct __pthread_mutex_s): Likewise.
1701         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
1702         Likewise.
1704 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
1706         * test-skeleton.c: Document do_test usage.
1708 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
1710         * iconv/gconv.h (__gconv_info): Define __data element using a
1711         zero-length array.
1713 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
1715         * math/test-tgmath2.c: Split up test function.
1717 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
1719         * Rules (tests-expected): New variable, depending on
1720         $(run-built-tests).
1721         (tests): Pass $(tests-expected) to merge-test-results.sh, not
1722         $(tests).
1724         * Rules [$(run-built-tests) = no] (tests): Do not depend on
1725         $(tests-unsupported).
1727 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1729         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
1730         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
1732 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
1734         [BZ #20768]
1735         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
1736         __fegetenv instead of fegetenv.
1738         [BZ #14139]
1739         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
1740         (find_files): Obtain platform name from libm-test-ulps-name and
1741         store in %pplatforms.
1742         (canonicalize_platform): Remove.
1743         (print_platforms): Use $pplatforms directly.
1744         (by_platforms): Do not allow for platforms missing from
1745         %pplatforms.
1746         * sysdeps/aarch64/libm-test-ulps-name: New file.
1747         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
1748         * sysdeps/arm/libm-test-ulps-name: Likewise.
1749         * sysdeps/generic/libm-test-ulps-name: Likewise.
1750         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
1751         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
1752         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
1753         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
1754         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
1755         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
1756         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
1757         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
1758         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
1759         * sysdeps/nios2/libm-test-ulps-name: Likewise.
1760         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
1761         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
1762         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
1763         * sysdeps/sh/libm-test-ulps-name: Likewise.
1764         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
1765         * sysdeps/tile/libm-test-ulps-name: Likewise.
1766         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
1768         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
1770         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
1771         (test-xfail-check-execstack): New variable.
1773         * sysdeps/mips/localplt.data: New file.
1775 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
1776             Steve Ellcey  <sellcey@caviumnetworks.com>
1778         * bits/wordsize.h: Add documentation.
1779         * sysdeps/aarch64/bits/wordsize.h : New file
1780         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
1781         definitions.
1782         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
1783         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
1784         with #if instead of #ifdef.
1785         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
1786         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
1787         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
1788         Add or change defines.
1789         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
1790         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1791         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
1792         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
1793         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1794         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1795         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
1796         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
1797         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
1798         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1799         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
1800         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
1801         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
1802         * sysdeps/x86/bits/wordsize.h: Likewise.
1804 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
1805             Kevin Petit  <kevin.petit@arm.com>
1807         * sysdeps/aarch64/memchr.S (__memchr): New file.
1809 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
1811         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
1813 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
1815         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
1816         $(linknamespace-symlists-tests).
1818 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
1820         * time/tst-strptime2.c: Ignore -Wformat-length warning.
1822 2016-11-02  Florian Weimer  <fweimer@redhat.com>
1823             Carlos O'Donell  <carlos@redhat.com>
1825         [Bug #20729]
1826         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
1827         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
1828         for -Os related change.
1830 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
1832         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
1834 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
1836         [BZ #19673]
1837         * manual/math.texi (Exponents and Logarithms): Correct description
1838         of clog10.
1840 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
1842         [Bz #20729]
1843         * locale/weight.h: Include libc-internal.h.
1844         * locale/weightwc.h: Likewise.
1845         * nptl/nptl_dbP.h: Likewise.
1847 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
1849         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
1850         when it is MACH_PORT_NULL.
1852 2016-10-31  Andreas Schwab  <schwab@suse.de>
1854         [BZ #20707]
1855         * posix/glob.c (glob): Initialize pglob before checking for
1856         GLOB_BRACE.  Don't call glob recursively if pattern contains no
1857         valid brace expression despite GLOB_BRACE.
1858         * posix/globtest.sh: Test it.
1860 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
1862         [BZ #20729]
1863         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
1864         Define.
1865         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
1866         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
1867         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
1868         for seq2.back_us and seq1.back_us only for -Os compiles.
1869         * locale/weightwc.h (findix): Likewise.
1870         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
1871         DB_GET_FIELD_ADDRESS only for -Os compiles.
1872         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
1873         for slen only for -Os compiles.
1874         * string/strcoll_l.c (get_next_seq): Ignore
1875         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
1876         for -Os compiles.
1878         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
1879         * include/crypt.h: New file.
1881 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1883         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
1884         from test-skeleton.c.
1885         (statclass): Replace calls to write with calls to write_message.
1887 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
1889         * math/math.h
1890         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
1891         New macro.
1892         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
1893         Likewise.
1894         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
1895         Likewise.
1896         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
1897         SNANL.
1898         * math/test-double.h (snan_value_MACRO): New macro.
1899         * math/test-float.h (snan_value_MACRO): Likewise.
1900         * math/test-ldouble.h (snan_value_MACRO): Likewise.
1901         * math/libm-test.inc (issignaling_test_data): Add tests of
1902         snan_value_MACRO.
1904 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1906         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
1907         behavior when eliding a lock not held by the current thread.
1908         * sysdeps/powerpc/nptl/elide.h: Likewise.
1910 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1912         [BZ #20728]
1913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
1914         branch to _exit() by a function call.
1916 2016-10-28  Florian Weimer  <fweimer@redhat.com>
1918         * malloc/malloc.c: Update chunk layout comments.
1919         (chunk_main_arena): Update comment.
1921 2016-10-28  Florian Weimer  <fweimer@redhat.com>
1923         * crypt/sha256.c, crypt/sha256-block.c,
1924         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
1925         sha256_process_block to __sha256_process_block.
1926         * crypt/sha512.c, crypt/sha512-block.c,
1927         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
1928         sha512_process_block to __sha512_process_block.
1930 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
1932         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
1934         * math/test-nan-overflow.c: Include stdlib.h for malloc.
1936 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
1938         [BZ #20019]
1939         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
1940         definition in unrelocated shared library.
1941         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1943 2016-10-28  Florian Weimer  <fweimer@redhat.com>
1945         [BZ #20729]
1946         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
1947         * sysdeps/unix/sysv/linux/i386/Makefile
1948         (uses-6-syscall-arguments): Define.
1949         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
1950         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
1951         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
1952         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
1953         Likewise.
1954         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
1955         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
1956         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
1957         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
1958         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
1959         (CFLAGS-fallocate64.os): Likewise.
1960         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
1961         (CFLAGS-pthread_rwlock_timedrdlock.os)
1962         (CFLAGS-pthread_rwlock_timedwrlock.o)
1963         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
1964         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
1965         (CFLAGS-sem_timedwait.os): Likewise.
1967 2016-10-28  Florian Weimer  <fweimer@redhat.com>
1969         * elf/tst-linkall-static.c: New file.
1970         * elf/Makefile (tests-static): Add tst-linkall-static.
1971         (tst-linkall-static): Link against static libraries.
1973 2016-10-27  Florian Weimer  <fweimer@redhat.com>
1975         * malloc/malloc.c (sysmalloc): Initialize previous size field of
1976         mmaped chunks.
1978 2016-10-28  Florian Weimer  <fweimer@redhat.com>
1980         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
1981         members to mchunk_prev_size, mchunk_size.
1982         (chunk_main_arena): Reverse sense and rename from
1983         chunk_non_main_arena.
1984         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
1985         mchunk_size instead of size.
1986         (set_non_main_arena): Define.
1987         (chunksize): Use chunksize_nomask instead of direct member access.
1988         (chunksize_nomask): Define.
1989         (next_chunk): Use chunksize instead of direct member access.
1990         (prev_size, set_prev_size): Define.
1991         (prev_chunk): Use prev_size instead of direct member access.
1992         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
1993         (inuse_bit_at_offset, set_inuse_bit_at_offset)
1994         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
1995         (mchunk_prev_size, mchunk_size): Poison tokens.
1996         (unlink): Use chunksize_nomask, prev_size accessors.
1997         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
1998         (do_check_free_chunk): Use prev_size accessor.
1999         (sysmalloc): Use set_prev_size, set_head accessors.
2000         (munmap_chunk, mremap_chunk): Use prev_size accessor.
2001         (__libc_free): Use chunksize_nomask accessor.
2002         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
2003         chunk_main_arena accessors.
2004         (_int_free): Use chunksize_nomask, prev_size accessors.
2005         (malloc_consolidate): Use chunksize, prev_size accessors.
2006         (_int_realloc): Use chunksize_nomask accessor.
2007         (_int_memalign): Use set_prev_size accessor.
2008         (__malloc_info): Use chunksize_nomask accessor.
2009         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
2010         accessors.
2011         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
2012         (heap_trim): Use chunksize_nomask, prev_size accessors.
2014 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
2016         [BZ #19380]
2017         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
2018         for inexact results.
2019         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
2020         of inexact result where mpfr_subnormalize is the only inexact
2021         step.
2022         * stdlib/tst-strtod-round-data.h: Regenerated.
2023         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
2024         Define to 0.
2025         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
2027 2016-10-27  David S. Miller  <davem@davemloft.net>
2029         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
2031 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2033         * malloc/malloc.c (do_set_mallopt_check): New function.
2034         (do_set_mmap_threshold): Likewise.
2035         (do_set_mmaps_max): Likewise.
2036         (do_set_top_pad): Likewise.
2037         (do_set_perturb_byte): Likewise.
2038         (do_set_trim_threshold): Likewise.
2039         (do_set_arena_max): Likewise.
2040         (do_set_arena_test): Likewise.
2041         (__libc_mallopt): Use them.
2043 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
2045         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2046         (canonicalize): New declaration.
2047         * math/Versions (canonicalize): New libm symbol at version
2048         GLIBC_2.25.
2049         (canonicalizef): Likewise.
2050         (canonicalizel): Likewise.
2051         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
2052         * math/s_canonicalize_template.c: New file.
2053         * math/libm-test.inc: Update comment on functions tested and
2054         testing of NaN payloads.
2055         (TEST_NAN_PAYLOAD): New macro.
2056         (NO_TEST_INLINE): Update value.
2057         (XFAIL_TEST): Likewise.
2058         (ERRNO_UNCHANGED): Likewise.
2059         (ERRNO_EDOM): Likewise.
2060         (ERRNO_ERANGE): Likewise.
2061         (IGNORE_RESULT): Likewise.
2062         (NON_FINITE): Likewise.
2063         (TEST_SNAN): Likewise.
2064         (NO_TEST_MATHVEC): Likewise.
2065         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
2066         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
2067         (struct test_Ffp_b1_data): New type.
2068         (RUN_TEST_Ffp_b1): New macro.
2069         (RUN_TEST_LOOP_Ffp_b1): Likewise.
2070         (canonicalize_test_data): New array.
2071         (canonicalize_test): New function.
2072         (main): Call canonicalize_test.
2073         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
2074         canonicalizef and canonicalizel.
2075         * manual/libm-err-tab.pl: Update comment on interfaces without
2076         ulps tabulated.
2077         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
2078         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
2079         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2080         canonicalize.
2081         (CFLAGS-nldbl-canonicalize.c): New variable.
2082         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
2083         to ...
2084         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
2085         ... here.
2086         (do_test): Also test canonicalizel.
2087         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
2088         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
2089         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
2090         file.
2091         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
2092         Use libm_hidden_def.
2093         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
2094         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
2095         (do_test): Also test canonicalizel.
2096         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
2097         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
2098         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
2099         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
2100         libm_hidden_def.
2101         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
2102         macro.
2103         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
2104         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
2105         * sysdeps/nacl/libm.abilist: Update.
2106         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2107         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2108         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2109         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2110         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2111         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2112         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2113         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2114         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2115         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2116         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2117         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2119         Likewise.
2120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2121         Likewise.
2122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2123         Likewise.
2124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2125         Likewise.
2126         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2127         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2128         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2129         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2130         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2131         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2132         Likewise.
2133         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2134         Likewise.
2135         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2136         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2137         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2139         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
2140         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2141         getpayload.
2142         (CFLAGS-nldbl-getpayload.c): New variable.
2144 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2146         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
2147         integer from the format string.
2149 2016-10-26  Florian Weimer  <fweimer@redhat.com>
2151         [BZ #19473]
2152         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
2153         declarations.
2154         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
2155         weak aliases.
2156         * malloc/hooks.c (__malloc_get_state): Remove definition.
2157         (malloc_get_state): New stub implementation as
2158         compatibility symbol.
2159         (malloc_set_state): Rename from __malloc_set_state.  Turn into
2160         compat symbol.
2161         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
2162         malloc_set_state.
2163         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
2165 2016-10-26  Florian Weimer  <fweimer@redhat.com>
2167         * iconvdata/iso646.c (enum variant): Drop illegal_var.
2168         (names): Turn into concatenation of strings.
2169         (gconv_init): Adapt iteration over names.
2171 2016-10-26  Florian Weimer  <fweimer@redhat.com>
2173         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
2174         make const.
2175         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
2176         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
2177         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
2178         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
2179         character in sbconv.
2180         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
2181         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
2182         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
2184 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2186         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
2188         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
2189         (M_TRIM_THRESHOLD): Likewise.
2191         * manual/memory.texi (M_ARENA_TEST): Add documentation.
2192         (M_ARENA_MAX): Likewise.
2193         * malloc/malloc.c: Remove obsolete comment.
2195         * manual/memory.texi: Add environment variable alternatives to
2196         setting mallopt parameters.
2198 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
2200         * include/atomic.h
2201         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
2202         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
2204 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2206         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
2207         * stdlib/tst-strfrom.h: New file.
2208         * stdlib/tst-strfrom.c: New file.
2209         * stdlib/tst-strfrom-locale.c: New file.
2211         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
2212         * stdlib/bug-strtod2.c: Likewise.
2213         * stdlib/tst-strtod-round-skeleton.c: Likewise.
2214         * stdlib/tst-strtod6.c: Likewise.
2215         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
2217 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2219         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
2220         * manual/arith.texi: Document strfromd, strfromf, strfroml.
2221         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
2222         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
2223         * stdlib/stdlib.h (strfromd): New declaration.
2224         (strfromf): Likewise.
2225         (strfroml): Likewise.
2226         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
2227         strfrom.
2228         * stdlib/strfromd.c: New file.
2229         * stdlib/strfromf.c: Likewise.
2230         * stdlib/strfroml.c: Likewise.
2231         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
2232         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
2233         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
2234         * sysdeps/arm/nacl/libc.abilist: Update.
2235         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
2236         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2237         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2238         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2239         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2240         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2241         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2242         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2243         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2244         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2245         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2246         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2247         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2248         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
2250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
2251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2253         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2254         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2255         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2256         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2257         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2258         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2259         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2260         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2261         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2262         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2264 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
2266         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
2267         instead of cmpli.
2268         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
2269         instead of cmpli.
2271 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
2273         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
2274         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
2275         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
2276         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2277         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2278         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2280 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2282         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
2283         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2284         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
2285         SYSCALL_LL64_PRW.
2286         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2287         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
2288         __ASSUME_PRW_DUMMY_ARG.
2289         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
2290         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2291         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2292         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2293         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
2294         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
2296 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
2298         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
2300 2016-10-22  Florian Weimer  <fweimer@redhat.com>
2302         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
2303         "C++", to override a potential extern "C" directive around the
2304         header file inclusion.
2306 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
2308         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
2310 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2312         * sysdeps/powerpc/fpu/fenv_private.h:
2313         (_FPU_MASK_ALL): Rename to...
2314         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
2315         XE FPSCR bits.
2317         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
2319         (_FPU_MASK_ROUNDING): Rename to...
2320         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
2321         NI bits.
2323         (_FPU_MASK_EXCEPT_ROUND): Rename to...
2324         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
2325         bits and rounding bits.
2327         (__libc_feholdbits_ppc): New inline function to mask, set,
2328         and pontentially clear FSPCR bits, and change MSR[FE] bits.
2329         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
2330         (libc_feholdexcept_setround_ppc): Likewise.
2332         (__libc_femergeenv_ppc): New function to dynamically mask both
2333         old and new FP environments and merge.
2334         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
2335         (libc_feresetround_ppc): Likewise.
2336         (libc_feupdateenv_test_ppc): Likewise.
2337         (libc_feupdateenv_ppc): Likewise.
2339         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
2340         of ISA RN bits, and update macro names.
2341         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
2342         effectively the same as the previously mentioned function.
2344         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
2345         usage with fe_resetround_ppc.
2347         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
2348         to be used.
2349         (libc_feholdexcept_setround_ctxf): Likewise.
2350         (libc_feholdexcept_setround_ctxl): Likewise.
2352 2016-10-21  Florian Weimer  <fweimer@redhat.com>
2354         [BZ #20715]
2355         * math/math.h [__cplusplus] (iszero): Define as function template.
2356         * math/Makefile [CXX] (tests): Add test-math-iszero.
2357         (CFLAGS-test-math-iszero.cc): Set.
2358         * math/test-math-iszero.cc: New file.
2360 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
2362         [BZ #20660]
2363         * sysdeps/arm/e_sqrt.c: New file.
2364         * sysdeps/arm/e_sqrtf.c: Likewise.
2366 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
2368         [BZ #20718]
2369         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
2370         not use floating-point comparisons to test sign.
2371         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
2372         Likewise.
2374         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2375         (getpayload): New declaration.
2376         * math/Versions (getpayload): New libm symbol at version
2377         GLIBC_2.25.
2378         (getpayloadf): Likewise.
2379         (getpayloadl): Likewise.
2380         * math/Makefile (libm-calls): Add s_getpayloadF.
2381         * math/libm-test.inc: Include <nan-high-order-bit.h>.
2382         (struct test_f_f_data): Add comment.
2383         (RUN_TEST_fp_f): New macro.
2384         (RUN_TEST_LOOP_fp_f): Likewise.
2385         (getpayload_test_data): New array.
2386         (getpayload_test): New function.
2387         (main): Call getpayload_test.
2388         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
2389         descriptor.
2390         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
2391         getpayloadf and getpayloadl.
2392         * manual/libm-err-tab.pl: Update comment on interfaces without
2393         ulps tabulated.
2394         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
2395         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
2396         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
2397         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
2398         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
2399         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
2400         * sysdeps/nacl/libm.abilist: Update.
2401         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2402         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2403         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2404         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2405         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2406         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2407         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2408         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2409         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2410         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2411         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2412         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2414         Likewise.
2415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2416         Likewise.
2417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2418         Likewise.
2419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2420         Likewise.
2421         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2422         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2423         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2424         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2425         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2426         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2427         Likewise.
2428         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2429         Likewise.
2430         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2431         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2432         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2434 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2436         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
2437         tst-fallocate{64}.
2438         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
2439         on syscall return.
2441 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
2443         [BZ #20689]
2444         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
2445         usable.
2447 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
2449         * sysdeps/generic/nan-high-order-bit.h: New file.
2450         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
2451         * sysdeps/mips/nan-high-order-bit.h: Likewise.
2452         * sysdeps/hppa/math_private.h: Remove file.
2453         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
2454         not define here.
2455         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
2456         <nan-high-order-bit.h>.
2457         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2458         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
2459         <nan-high-order-bit.h>.
2460         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2461         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
2462         <nan-high-order-bit.h>.
2463         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2464         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
2465         <nan-high-order-bit.h>.
2466         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2467         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
2468         <nan-high-order-bit.h>.
2469         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2470         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
2471         <nan-high-order-bit.h>.
2472         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2473         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
2474         <nan-high-order-bit.h>.
2475         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2476         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
2477         <nan-high-order-bit.h>.
2478         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2479         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
2480         <nan-high-order-bit.h>.
2481         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2482         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
2483         <nan-high-order-bit.h>.
2484         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2485         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
2486         <nan-high-order-bit.h>.
2487         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2488         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
2489         <nan-high-order-bit.h>.
2490         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2491         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
2492         <nan-high-order-bit.h>.
2493         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2494         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
2495         <nan-high-order-bit.h>.
2496         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2497         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
2498         <nan-high-order-bit.h>.
2499         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2500         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
2501         <nan-high-order-bit.h>.
2502         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2503         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
2504         <nan-high-order-bit.h>.
2505         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2506         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
2507         <nan-high-order-bit.h>.
2508         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2510 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
2512         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
2514 2016-09-22  John David Anglin  <dave.anglin@bell.net>
2516         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
2517         abort-instr.h.
2518         (EFAULT): Remove conditional define.
2519         (ENOSYS): Likewise.
2520         (atomic_compare_and_exchange_val_acq): Use instruction nullification
2521         instead of conditional branch instructions.
2523 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
2525         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2526         (totalordermag): New declaration.
2527         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
2528         New macro.
2529         * math/Versions (totalordermag): New libm symbol at version
2530         GLIBC_2.25.
2531         (totalordermagf): Likewise.
2532         (totalordermagl): Likewise.
2533         * math/Makefile (libm-calls): Add s_totalordermagF.
2534         * math/libm-test.inc (totalordermag_test_data): New array.
2535         (totalordermag_test): New function.
2536         (main): Call totalordermag_test.
2537         * math/test-tgmath.c (NCALLS): Increase to 125.
2538         (F(compile_test)): Call totalordermag.
2539         (F(totalordermag)): New function.
2540         * manual/arith.texi (FP Comparison Functions): Document
2541         totalordermag, totalordermagf and totalordermagl.
2542         * manual/libm-err-tab.pl: Update comment on interfaces without
2543         ulps tabulated.
2544         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
2545         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
2546         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
2547         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
2548         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
2549         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
2550         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
2551         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2552         totalordermag.
2553         (CFLAGS-nldbl-totalordermag.c): New variable.
2554         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
2555         (do_test): Also test totalordermagl.
2556         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
2557         Likewise.
2558         * sysdeps/nacl/libm.abilist: Update.
2559         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2560         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2561         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2562         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2563         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2564         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2565         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2566         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2567         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2568         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2569         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2570         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2572         Likewise.
2573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2574         Likewise.
2575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2576         Likewise.
2577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2578         Likewise.
2579         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2580         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2581         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2582         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2583         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2584         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2585         Likewise.
2586         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2587         Likewise.
2588         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2589         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2590         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2592 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
2594         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
2595         boolean.
2597 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
2599         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
2600         raising FE_INVALID with feraisexcept in case where part of
2601         argument is infinite, subtract that part of argument from itself.
2602         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
2603         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
2604         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
2606 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
2608         * math/libm-test.inc (totalorder_test_data): Add more tests.
2610 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
2612         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
2613         Undefine weak_alias and add a comment why mips64 require
2614         versioning.
2616 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
2618         [BZ #20647]
2619         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
2620         maximum CPUID level is less than 2.
2622 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
2624         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2625         (totalorder): New declaration.
2626         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
2627         New macro.
2628         * math/Versions (totalorder): New libm symbol at version
2629         GLIBC_2.25.
2630         (totalorderf): Likewise.
2631         (totalorderl): Likewise.
2632         * math/Makefile (libm-calls): Add s_totalorderF.
2633         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
2634         string.
2635         * math/libm-test.inc (PAYLOAD_DIG): New macro.
2636         (qnan_value_pl): Likewise.
2637         (snan_value_pl): Likewise.
2638         (qnan_value): Define using qnan_value_pl.
2639         (snan_value): Define using snan_value_pl.
2640         (struct test_ff_i_data): Add comment about which tests use this
2641         structure.
2642         (RUN_TEST_ff_b): New macro.
2643         (RUN_TEST_LOOP_ff_b): Likewise.
2644         (totalorder_test_data): New array.
2645         (totalorder_test): New function.
2646         (main): Call totalorder_test.
2647         * math/test-tgmath.c (NCALLS): Increase to 122.
2648         (F(compile_test)): Call totalorder.
2649         (F(totalorder)): New function.
2650         * manual/arith.texi (FP Comparison Functions): Document
2651         totalorder, totalorderf and totalorderl.
2652         * manual/libm-err-tab.pl: Update comment on interfaces without
2653         ulps tabulated.
2654         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
2655         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
2656         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
2657         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
2658         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
2659         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
2660         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
2661         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2662         totalorder.
2663         (CFLAGS-nldbl-totalorder.c): New variable.
2664         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
2665         file.
2666         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
2667         Add test-totalorderl-ldbl-128ibm.
2668         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
2669         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
2670         test-totalorderl-ldbl-96.
2671         * sysdeps/nacl/libm.abilist: Update.
2672         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2673         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2674         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2675         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2676         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2677         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2678         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2679         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2680         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2681         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2682         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2683         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2685         Likewise.
2686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2687         Likewise.
2688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2689         Likewise.
2690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2691         Likewise.
2692         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2693         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2694         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2695         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2696         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2697         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2698         Likewise.
2699         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2700         Likewise.
2701         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2702         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2703         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2705 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2707         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
2708         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
2709         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
2710         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
2711         remove ENOSYS implementation.
2712         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
2713         Consolidate all Linux implementations.
2715 2016-10-11  Florian Weimer  <fweimer@redhat.com>
2717         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
2718         * resolv/herror.c (herror): Cast away const-ness.
2719         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
2720         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
2722 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
2724         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
2725         instead of M_NAN + M_NAN.
2726         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
2728 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2730         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
2731         unused variable 'p'.
2733 2016-10-09  Alan Modra  <amodra@gmail.com>
2734             Andreas Schwab  <schwab@linux-m68k.org>
2736         [BZ #20554]
2737         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
2738         [PIC && !SHARED]: Set up PIC register for PLT call.
2740 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
2742         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
2743         conditional on value of [__FLT_EVAL_METHOD__].
2744         * math/test-iseqsig-excess-precision.c: New file.
2745         * math/Makefile (tests): Add test-iseqsig-excess-precision.
2747 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2749         * math/s_iseqsig_template.c: Include math-private.h.
2751         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
2752         * posix/tst-posix_fadvise.c: New file.
2753         * posix/tst-posix_fadvise64.c: Likewise.
2754         * posix/tst-posix_fadvise-common.c: Likewise.
2755         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2756         (__ASSUME_FADVISE64_64_6ARG): Define.
2757         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2758         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
2759         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2760         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
2761         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
2762         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
2763         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
2764         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
2765         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
2766         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
2767         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
2768         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
2769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
2770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
2771         Likewise.
2772         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
2773         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
2774         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
2775         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
2776         Alias to __posix_fadvise64_l32.
2777         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
2778         Add compat definition to posix_fadvise64.
2779         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
2780         Add versioned definition to posix_fadvise64.
2781         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
2782         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
2783         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
2784         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
2785         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
2787         * io/Makefile (tests): Add tst-posix_fallocate and
2788         tst-posix_fallocate64.
2789         * io/tst-posix_fallocate-common.c: New file.
2790         * io/tst-posix_fallocate.c: Likewise.
2791         * io/tst-posix_fallocate64.c: Likewise.
2792         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
2793         file.
2794         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
2795         Likewise.
2796         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
2797         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
2798         Likewise.
2799         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
2800         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
2801         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
2802         SYSCALL_LL to pass both offset and len arguments.
2803         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
2804         Likewise.
2805         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
2806         __libc_pwrite64 alias used by posix_fallocate64.
2808         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
2809         tst-fallocate64.
2810         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
2811         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
2812         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
2813         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
2814         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
2815         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
2816         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
2817         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
2818         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
2819         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
2820         macro on offset argument.
2821         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
2822         SYSCALL_LL64 on offset argument.
2824         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
2825         tst-fallocate64.
2826         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
2827         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
2828         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
2829         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
2830         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
2831         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
2832         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
2833         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
2834         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
2835         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
2836         macro on offset argument.
2837         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
2838         SYSCALL_LL64 on offset argument.
2839         * test-skeleton.c (FAIL_RET): Add macro.
2840         (FAIL_EXIT): Likewise.
2841         (FAIL_EXIT1): Likewise.
2842         (_FAIL): Likewise.
2844 2016-10-07  Florian Weimer  <fweimer@redhat.com>
2846         [BZ #20629]
2847         resolv: Remove RES_USEBSTRING and its implementation.
2848         * resolv/resolv.h (RES_USEBSTRING): Remove.
2849         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
2850         (digitvalue, encode_bitstring, decode_bitstring): Remove.
2851         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
2852         (labellen): Remove extended label types support.
2853         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
2854         * resolv/res_init.c (res_setoptions): Likewise.
2855         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
2857 2016-10-07  Florian Weimer  <fweimer@redhat.com>
2859         resolv: Remove RES_NOIP6DOTINT and its implementation.
2860         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
2861         (RES_NOIP6DOTINT): Remove.
2862         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
2863         handling.
2864         * resolv/res_debug.c (p_option): Likewise.
2865         * resolv/res_init.c (res_setoptions): Likewise.
2866         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
2868 2016-10-07  Florian Weimer  <fweimer@redhat.com>
2870         resolv: Deprecate unimplemented flags.
2871         * misc/sys/cdefs.h (__glibc_macro_warning1)
2872         (__glibc_macro_warning): Define.
2873         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
2874         (RES_KEEPTSIG): Mark as deprecated.
2875         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
2876         RES_NOCHECKNAME, RES_KEEPTSIG.
2877         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
2879 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2881         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
2882         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
2883         Use strong_alias to create symbols for glibc verison 2.19.
2885 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2887         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
2889 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2891         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
2893 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2895         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
2897 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2899         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
2900         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
2901         in header for using it as type for ifunc function because __GI_* symbols
2902         for ppc32 do not target the ifunc symbols.
2903         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
2905 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2907         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
2908         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
2909         libc_ifunc_hidden_def.
2910         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
2911         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
2912         Redirect ifunced function in header for using it as type of ifunc'ed
2913         function. Redefine libc_hidden_def to use fallback non ifunc'ed
2914         function for __GI_* symbol.
2915         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
2916         * include/libc-symbols.h
2917         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
2919 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2921         [BZ #20478]
2922         * sysdeps/s390/multiarch/ifunc-resolve.h
2923         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
2924         to create ifunc symbols.
2925         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
2926         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
2927         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
2928         for using it as type for ifunc function.
2929         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
2930         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
2931         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
2932         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
2933         * sysdeps/s390/multiarch/strcat.c: Likewise.
2934         * sysdeps/s390/multiarch/strchr.c: Likewise.
2935         * sysdeps/s390/multiarch/strcmp.c: Likewise.
2936         * sysdeps/s390/multiarch/strcpy.c: Likewise.
2937         * sysdeps/s390/multiarch/strcspn.c: Likewise.
2938         * sysdeps/s390/multiarch/strlen.c: Likewise.
2939         * sysdeps/s390/multiarch/strncmp.c: Likewise.
2940         * sysdeps/s390/multiarch/strncpy.c: Likewise.
2941         * sysdeps/s390/multiarch/strnlen.c: Likewise.
2942         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
2943         * sysdeps/s390/multiarch/strrchr.c: Likewise.
2944         * sysdeps/s390/multiarch/strspn.c: Likewise.
2945         * sysdeps/s390/multiarch/wcschr.c: Likewise.
2946         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
2947         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
2948         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
2949         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
2950         * sysdeps/s390/multiarch/wmemset.c: Likewise.
2951         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
2952         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
2953         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
2954         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
2955         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
2956         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
2958 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2960         * include/libc-symbols.h (__ifunc_resolver):
2961         New macro is used by __ifunc* macros.
2962         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
2963         depending on HAVE_GCC_IFUNC.
2964         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
2965         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
2966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
2967         Redirect ifunced function in header for using as type for ifunc function.
2968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
2969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
2970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
2971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
2972         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
2973         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
2974         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
2975         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
2976         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
2977         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
2978         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
2979         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
2980         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
2981         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
2982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
2983         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
2984         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
2985         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
2986         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
2987         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
2988         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
2989         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
2990         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
2991         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
2992         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
2993         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
2994         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
2995         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
2996         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
2997         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
2998         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
2999         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
3000         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
3001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
3002         Add libc_hidden_def() and use libc_ifunc_hidden() macro
3003         instead of libc_ifunc() macro.
3004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
3005         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
3007 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3009         * config.h.in (HAVE_GCC_IFUNC): New undef.
3010         * configure.ac: Add check if gcc supports attribute ifunc feature.
3011         * configure: Regenerated.
3012         * manual/install.texi: Add recommendation for gcc with
3013         indirect-function support.
3014         * INSTALL: Regenerated.
3016 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
3018         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
3019         macro.
3020         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3021         (__iseqsig): New declaration.
3022         * math/s_iseqsig_template.c: New file.
3023         * math/Versions (__iseqsigf): New libm symbol at version
3024         GLIBC_2.25.
3025         (__iseqsig): Likewise.
3026         (__iseqsigl): Likewise.
3027         * math/libm-test.inc (iseqsig_test_data): New array.
3028         (iseqsig_test): New function.
3029         (main): Call iseqsig_test.
3030         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
3031         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
3032         * manual/libm-err-tab.pl: Update comment on interfaces without
3033         ulps tabulated.
3034         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
3035         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
3036         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
3037         * sysdeps/nacl/libm.abilist: Update.
3038         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3039         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3040         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3041         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3042         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3043         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3044         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3045         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3046         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3047         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3048         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3049         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3051         Likewise.
3052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3053         Likewise.
3054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3055         Likewise.
3056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3057         Likewise.
3058         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3059         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3060         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3061         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3062         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3063         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3064         Likewise.
3065         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3066         Likewise.
3067         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3068         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3069         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3071 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3073         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
3074         do_sincos_2, sloww, sloww1): Update comments.
3076         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
3077         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
3079         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
3080         K boolean and rename it.
3081         (__sin): Adjust.
3082         (__cos): Adjust.
3084 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
3085             Siddhesh Poyarekar  <siddhesh@sourceware.org>
3087         * manual/nss.texi: Fix typos in the manual.
3089 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
3091         * manual/contrib.texi: Fix typos in the manual.
3093         * manual/maint.texi: Fix typos in the manual.
3095         * manual/install.texi: Fix typos in the manual.
3096         * INSTALL: Regenerated.
3098         * manual/lang.texi: Fix typos in the manual.
3100         * manual/probes.texi: Fix typos in the manual.
3102         * manual/threads.texi: Fix typos in the manual.
3104         * manual/debug.texi: Fix typos in the manual.
3106         * manual/crypt.texi: Fix typos in the manual.
3108         * manual/conf.texi: Fix typos in the manual.
3110         * manual/sysinfo.texi: Fix typos in the manual.
3112         * manual/users.texi: Fix typos in the manual.
3114         * manual/job.texi: Fix typos in the manual.
3116         * manual/process.texi: Fix typos in the manual.
3118         * manual/argp.texi: Fix typos in the manual.
3119         * manual/getopt.texi: Likewise.
3120         * manual/startup.texi: Likewise.
3122         * manual/signal.texi: Fix typos in the manual.
3124         * manual/setjmp.texi: Fix typos in the manual.
3126         * manual/resource.texi: Fix typos in the manual.
3128         * manual/time.texi: Fix typos in the manual.
3130         * manual/arith.texi: Fix typos in the manual.
3132         * manual/math.texi: Fix typos in the manual.
3134         * manual/syslog.texi: Fix typos in the manual.
3136         * manual/terminal.texi: Fix typos in the manual.
3138         * manual/socket.texi: Fix typos in the manual.
3140         * manual/filesys.texi: Fix typos in the manual.
3142         * manual/llio.texi: Fix typos in the manual.
3144         * manual/stdio.text: Fix typos in the manual.
3146 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3148         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
3149         instead of K1.
3151         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
3152         SHIFT_QUADRANT and make it bool.
3153         (do_sincos_2): Likewise.
3154         (sloww): Likewise.
3155         (sloww1): Likewise.
3156         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
3157         (__cos): Likewise.
3159 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3161         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
3163 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
3165         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
3166         Define to __WORDSIZE, not conditional on [LONG_MAX ==
3167         0x7fffffffL].
3168         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
3170 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3172         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
3173         inline by __inline__.
3174         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
3175         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
3176         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
3177         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
3178         sigset_t from signal.h.
3179         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
3180         which is already required.
3182 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
3184         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3186 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
3188         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
3189         (struct tcp_repair_window): New type.
3191 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3193         * libio/tst-memstream3.c: Include string.h.
3195 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3197         [BZ #18241]
3198         [BZ #20181]
3199         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
3200         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
3201         write position is at the end the buffer.
3202         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
3203         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
3204         (_IO_str_seekoff): Set correct offset from negative displacement and
3205         set EINVAL for invalid ones.
3206         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
3207         buffer length.
3208         (_IO_wstr_switch_to_get_mode): New function.
3209         (_IO_wstr_seekoff): Set correct offset from negative displacement and
3210         set EINVAL for invalid ones.
3211         * libio/tst-memstream3.c: New file.
3212         * libio/tst-wmemstream3.c: Likewise.
3213         * manual/examples/memstrm.c: Remove warning when priting size_t.
3215 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
3217         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
3218         macro to use __builtin_fma.
3219         * sysdeps/x86_64/fpu/dla.h: Remove file.
3221         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
3222         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
3223         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
3225 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
3227         [BZ #20292]
3228         * elf/Makefile (routines): Add dl-addr-obj.
3229         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
3230         tst-_dl_addr_inside_object.
3231         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
3232         [ifeq (yesyes,$(have-fpie)$(build-shared))]
3233         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
3234         [ifeq (yesyes,$(have-fpie)$(build-shared))]
3235         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
3236         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
3237         * elf/dl-open.c: Likewise.
3238         * elf/dl-addr-obj.c: New file.
3239         * elf/tst-_dl_addr_inside_object.c: New file.
3241 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
3243         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
3244         <bits/iscanonical.h>.
3245         * bits/iscanonical.h: New file.
3246         * math/s_iscanonicall.c: Likewise.
3247         * math/Versions (__iscanonicall): New libm symbol at version
3248         GLIBC_2.25.
3249         * math/libm-test.inc (iscanonical_test_data): New array.
3250         (iscanonical_test): New function.
3251         (main): Call iscanonical_test.
3252         * math/Makefile (headers): Add bits/iscanonical.h.
3253         (type-ldouble-routines): Add s_iscanonicall.
3254         * manual/arith.texi (Floating Point Classes): Document
3255         iscanonical.
3256         * manual/libm-err-tab.pl: Update comment on interfaces without
3257         ulps tabulated.
3258         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
3259         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
3260         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
3261         Likewise.
3262         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
3263         test-iscanonical-ldbl-128ibm.
3264         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
3265         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
3266         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
3267         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
3268         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
3269         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3270         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3272         Likewise.
3273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3274         Likewise.
3275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3276         Likewise.
3277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3278         Likewise.
3279         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3280         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3282 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3284         * string/bits/string3.h: Remove C++ style comments.
3286 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3288         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
3289         instead of ternary condition.
3290         (do_sincos_2): Likewise.
3291         (__sin): Likewise.
3292         (__cos): Likewise.
3293         (slow): Likewise.
3294         (sloww): Likewise.
3295         (sloww1): Likewise.
3296         (bsloww): Likewise.
3297         (bsloww1): Likewise.
3299         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
3300         instead of ternary condition.
3301         (do_sin_slow): Likewise.
3302         (do_sincos_1): Likewise.
3303         (do_sincos_2): Likewise.
3304         (__cos): Likewise.
3305         (sloww): Likewise.
3306         (sloww1): Likewise.
3307         (sloww2): Likewise.
3308         (bsloww): Likewise.
3309         (bsloww1): Likewise.
3310         (bsloww2): Likewise.
3312         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
3313         check from here...
3314         (slow2): ... and here...
3315         (__sin): ... to here.
3317 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
3319         * math/math.h
3320         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
3321         Cast argument to its own type.
3322         * math/test-iszero-excess-precision.c: New file.
3323         * math/Makefile (tests): Add test-iszero-excess-precision.
3324         (CFLAGS-test-iszero-excess-precision.c): New variable.
3326 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
3328         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
3329         field, add err field.
3330         (__spawni_child): Report error through err member instead of pipe.
3331         (__spawnix): Likewise.
3333 2016-09-28  Zack Weinberg  <zackw@panix.com>
3335         * scripts/check-installed-headers.sh: Generalize treatment of
3336         sys/elf.h to all target architectures.
3338         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
3339         deleted typedef ucontext_t.
3341 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3343         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
3344         (__INTERNAL_SYSCALL1): Likewise.
3345         (__INTERNAL_SYSCALL2): Likewise.
3346         (__INTERNAL_SYSCALL3): Likewise.
3347         (__INTERNAL_SYSCALL4): Likewise.
3348         (__INTERNAL_SYSCALL5): Likewise.
3349         (__INTERNAL_SYSCALL6): Likewise.
3350         (__INTERNAL_SYSCALL7): Likewise.
3351         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
3352         (__INTERNAL_SYSCALL_NARGS): Likewise.
3353         (__INTERNAL_SYSCALL_DISP): Likewise.
3354         (INTERNAL_SYSCALL_CALL): Likewise.
3355         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
3356         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
3357         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
3358         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
3359         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
3360         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
3361         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
3362         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
3363         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
3364         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
3365         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
3366         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
3367         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
3369 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
3371         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
3372         macro.
3373         * math/libm-test.inc (iszero_test_data): New array.
3374         (iszero_test): New function.
3375         (main): Call iszero_test.
3376         * manual/arith.texi (Floating Point Classes): Document iszero.
3377         * manual/libm-err-tab.pl: Update comment on interfaces without
3378         ulps tabulated.
3380 2016-09-23  Zack Weinberg  <zackw@panix.com>
3382         * scripts/check-installed-headers.sh: New script.
3383         * Rules: In each directory that defines header files to be installed,
3384         run check-installed-headers.sh on them as a special test.
3385         * Makefile: Likewise for the headers installed at top level.
3387         * include/aliases.h, include/alloca.h, include/argz.h
3388         * include/arpa/nameser.h, include/arpa/nameser_compat.h
3389         * include/elf.h, include/envz.h, include/err.h
3390         * include/execinfo.h, include/fpu_control.h, include/getopt.h
3391         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
3392         * include/link.h, include/malloc.h, include/mcheck.h
3393         * include/mntent.h, include/netinet/ether.h
3394         * include/nss.h, include/obstack.h, include/printf.h
3395         * include/pty.h, include/resolv.h, include/rpc/auth.h
3396         * include/rpc/auth_des.h, include/rpc/auth_unix.h
3397         * include/rpc/clnt.h, include/rpc/des_crypt.h
3398         * include/rpc/key_prot.h, include/rpc/netdb.h
3399         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
3400         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
3401         * include/rpc/rpc_msg.h, include/rpc/svc.h
3402         * include/rpc/svc_auth.h, include/rpc/xdr.h
3403         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
3404         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
3405         * include/rpcsvc/ypupd.h, include/shadow.h
3406         * include/stdio_ext.h, include/sys/epoll.h
3407         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
3408         * include/sys/prctl.h, include/sys/profil.h
3409         * include/sys/statfs.h, include/sys/sysctl.h
3410         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
3411         * sysdeps/arm/nacl/include/bits/setjmp.h
3412         * sysdeps/mips/include/sys/asm.h
3413         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
3414         * sysdeps/unix/sysv/linux/include/sys/timex.h
3415         * sysdeps/x86/fpu/include/bits/fenv.h:
3416         Add #ifndef _ISOMAC guard around internal declarations.
3417         Add multiple-inclusion guard if not already present.
3419 2016-09-23  Zack Weinberg  <zackw@panix.com>
3421         * sysdeps/generic/sys/ucontext.h
3422         * sysdeps/arm/sys/ucontext.h
3423         * sysdeps/i386/sys/ucontext.h
3424         * sysdeps/m68k/sys/ucontext.h
3425         * sysdeps/mips/sys/ucontext.h
3426         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
3427         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
3428         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
3429         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
3430         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
3431         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
3432         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
3433         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
3434         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
3435         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
3436         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
3437         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
3438         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
3439         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
3440         Include both bits/sigcontext.h and bits/sigstack.h.
3441         Fix grammar error in comment, if present.
3443         * bits/sigstack.h
3444         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
3445         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
3446         * sysdeps/unix/sysv/linux/bits/sigstack.h
3447         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
3448         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
3449         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
3450         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
3451         * bits/sigcontext.h
3452         * sysdeps/mach/hurd/i386/bits/sigcontext.h
3453         * sysdeps/unix/sysv/linux/bits/sigcontext.h
3454         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
3455         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
3456         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
3457         as well as signal.h, if this was not already allowed.  Request
3458         definition of size_t if necessary.  Minimize semantically-null
3459         differences across files.
3461 2016-09-23  Zack Weinberg  <zackw@panix.com>
3463         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
3464         Remove all logic conditional on __need macros.  Move all the
3465         conditionally defined types to their own headers...
3466         * time/bits/types/clock_t.h: Define clock_t here.
3467         * time/bits/types/clockid_t.h: Define clockid_t here.
3468         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
3469         * time/bits/types/struct_timespec.h: Define struct timespec here.
3470         * time/bits/types/struct_timeval.h: Define struct timeval here.
3471         * time/bits/types/struct_tm.h: Define struct tm here.
3472         * time/bits/types/time_t.h: Define time_t here.
3473         * time/bits/types/timer_t.h: Define timer_t here.
3474         * time/Makefile: Install the new headers.
3476         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
3477         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
3478         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
3479         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
3480         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
3481         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
3482         * sysdeps/unix/sysv/linux/bits/resource.h
3483         * sysdeps/unix/sysv/linux/bits/timex.h
3484         * sysdeps/unix/sysv/linux/mips/bits/resource.h
3485         * sysdeps/unix/sysv/linux/net/ppp_defs.h
3486         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
3487         * sysdeps/unix/sysv/linux/sys/acct.h
3488         * sysdeps/unix/sysv/linux/sys/timerfd.h
3489         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
3490         * time/sys/time.h, time/sys/timeb.h
3491         Use the new bits/types headers.
3493         * include/time.h: Remove __need logic.
3494         * include/bits/time.h
3495         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
3496         * include/bits/types/time_t.h, include/bits/types/timer_t.h
3497         * include/bits/types/struct_itimerspec.h
3498         * include/bits/types/struct_timespec.h
3499         * include/bits/types/struct_timeval.h
3500         * include/bits/types/struct_tm.h:
3501         New wrapper headers.
3503 2016-09-23  Zack Weinberg  <zackw@panix.com>
3505         * sysdeps/mach/hurd/net/if_ppp.h
3506         * sysdeps/unix/sysv/linux/net/if_ppp.h:
3507         Only define struct ifpppstatsreq and struct ifpppcstatsreq
3508         if __USE_MISC is defined, to ensure struct ifreq is declared.
3510         * inet/netinet/ether.h: Condition all function prototypes
3511         on __USE_MISC, to ensure struct ether_addr is declared.
3513         * socket/bits/types/struct_osockaddr.h: New header.
3514         * include/bits/types/struct_osockaddr.h: New wrapper.
3515         * socket/Makefile: Install the new header.
3516         * socket/sys/socket.h, inet/protocols/talkd.h:
3517         Refer to bits/types/struct_osockaddr.h for the definition of
3518         struct osockaddr.
3520 2016-09-23  Zack Weinberg  <zackw@panix.com>
3522         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
3523         * inet/protocols/routed.h, inet/protocols/talkd.h
3524         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
3525         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
3526         * sysdeps/generic/netinet/if_ether.h
3527         * sysdeps/generic/netinet/in_systm.h
3528         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
3529         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
3530         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
3531         * sysdeps/mach/hurd/net/if_arp.h
3532         * sysdeps/mach/hurd/net/if_ppp.h
3533         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
3534         * sysdeps/unix/sysv/linux/bits/in.h
3535         * sysdeps/unix/sysv/linux/net/ethernet.h
3536         * sysdeps/unix/sysv/linux/net/if_arp.h
3537         * sysdeps/unix/sysv/linux/net/if_ppp.h
3538         * sysdeps/unix/sysv/linux/net/if_shaper.h
3539         * sysdeps/unix/sysv/linux/net/route.h
3540         * sysdeps/unix/sysv/linux/netinet/if_ether.h
3541         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
3542         * sysdeps/unix/sysv/linux/netinet/if_tr.h
3543         * sysdeps/unix/sysv/linux/netipx/ipx.h
3544         * sysdeps/unix/sysv/linux/sys/acct.h
3545         * include/arpa/nameser.h, include/resolv.h:
3546         Change all uses of u_char to unsigned char,
3547         u_short and ushort to unsigned short, u_int and uint to unsigned int,
3548         u_long and ulong to unsigned long, u_int8_t to uint8_t,
3549         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
3550         and u_int64_t and u_quad_t to uint64_t.
3552         * mach/sys/reboot.h: Remove two casts of integer literals
3553         to the types they already have.
3555         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
3556         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
3557         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
3558         from referring to 'unsigned char' to 'uint8_t' for consistency with
3559         the macro definition below.
3561         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
3562         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
3563         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
3564         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
3565         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
3566         * sysdeps/unix/sysv/linux/sys/acct.h
3567         * include/arpa/nameser.h, include/resolv.h:
3568         Fix indentation disrupted by mechanical edits.
3570         * inet/protocols/talkd.h, resolv/arpa/nameser.h
3571         * sysdeps/generic/netinet/in_systm.h
3572         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
3573         * sysdeps/gnu/netinet/udp.h
3574         * sysdeps/unix/sysv/linux/net/ethernet.h
3575         * sysdeps/unix/sysv/linux/net/if_arp.h
3576         * sysdeps/unix/sysv/linux/net/if_ppp.h
3577         * sysdeps/unix/sysv/linux/net/if_shaper.h
3578         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
3579         * sysdeps/unix/sysv/linux/netinet/if_tr.h
3580         * sysdeps/unix/sysv/linux/netipx/ipx.h
3581         * sysdeps/unix/sysv/linux/sys/acct.h
3582         Include stdint.h for uintNN_t definitions.
3583         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
3585 2016-09-23  Zack Weinberg  <zackw@panix.com>
3587         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
3588         * sysdeps/unix/sysv/linux/netrose/rose.h:
3589         Include sys/socket.h and netax25/ax25.h.
3591         * inet/netinet/icmp6.h, inet/netinet/ip6.h
3592         * resolv/arpa/nameser_compat.h:
3593         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
3595         * sysdeps/unix/sysv/linux/sys/quota.h:
3596         Use __caddr_t instead of caddr_t.
3597         * sysdeps/unix/sysv/linux/sys/timerfd.h:
3598         Use __clockid_t instead of clockid_t.
3600         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
3602         * argp/argp.h: Check whether _LIBC is defined before expanding it.
3603         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
3604         expanding it.
3606         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
3607         Define __glibc_c99_flexarr_available to 1 when the compiler
3608         supports C99-compatible flexible array members, 0 otherwise.
3609         * sysdeps/unix/sysv/linux/bits/socket.h
3610         * sysdeps/mach/hurd/bits/socket.h
3611         * bits/socket.h: Use __glibc_c99_flexarr_available in
3612         definitions of struct cmsghdr and CMSG_DATA.
3614 2016-09-23  Florian Weimer  <fweimer@redhat.com>
3616         * manual/nss.texi (NSS Modules Interface): Adjust function return
3617         type to enum nss_status.  Document errnop argument.  Clarify
3618         h_errnop semantics.  Fix cross-reference formatting.
3619         (NSS Module Function Internals): Mention that *errnop needs to be
3620         set on failure, but not to zero.
3622 2016-09-23  Florian Weimer  <fweimer@redhat.com>
3624         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
3625         (get_random_name): New functions.
3626         (check_wrapper_flags_mode): Use linkat to give the new file a name
3627         determined by get_random_name.
3628         (do_test): Add calls to test open64 and openat64.
3630 2016-09-23  Florian Weimer  <fweimer@redhat.com>
3632         * test-skeleton.c: Remove #include <stdarg.h>.
3634 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
3636         [BZ #19826]
3637         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
3638         initialization of static TLS entries.
3639         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
3640         * nptl/allocatestack.c (init_one_static_tls): Likewise.
3642 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3644         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
3645         _hurd_malloc_fork_prepare.
3646         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
3647         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
3648         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
3649         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
3650         (_hurd_fork_child_hook): Drop malloc_fork_child.
3651         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
3652         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
3653         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
3654         after locking locks (notably hurd_dtable_lock). Call
3655         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
3656         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
3657         __malloc_fork_unlock_child.
3658         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
3660 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
3662         * soft-fp/extendhftf2.c: New.
3663         * soft-fp/fixhfti.c: Likewise.
3664         * soft-fp/fixunshfti.c: Likewise.
3665         * soft-fp/floattihf.c: Likewise.
3666         * soft-fp/floatuntihf.c: Likewise.
3667         * soft-fp/half.h: Likewise.
3668         * soft-fp/trunctfhf2.c: Likewise.
3670 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
3672         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
3673         macro.
3674         * math/libm-test.inc (issubnormal_test_data): New array.
3675         (issubnormal_test): New function.
3676         * manual/arith.texi (Floating Point Classes): Document
3677         issubnormal.
3678         * manual/libm-err-tab.pl: Update comment on interfaces without
3679         ulps tabulated.
3681         * sysdeps/generic/stdint.h: Define
3682         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3683         <bits/libc-header-start.h> instead of including <features.h>.
3684         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
3685         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
3686         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
3687         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
3688         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
3689         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
3690         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
3691         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
3692         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
3693         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
3694         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
3695         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
3696         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
3697         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
3698         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
3699         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
3700         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
3701         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
3702         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
3703         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
3704         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
3705         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
3706         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
3707         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
3708         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
3709         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
3710         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
3711         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
3712         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
3713         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
3714         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
3715         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
3716         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
3717         * manual/arith.texi (Integers): Document these macros for types
3718         specified by width properties.
3719         * manual/lang.texi (Width of Type): Document these macros for
3720         other standard typedefs.
3721         * stdlib/tst-width-stdint.c: New file.
3722         * stdlib/Makefile (tests): Add tst-width-stdint.
3724 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3726         [BZ #20016]
3727         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
3728         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
3729         Move ...
3730         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
3731         ... here, as compatibility symbols in a new file.
3732         * resolv/Makefile (libresolv-routines): Add compat-hooks.
3733         * resolv/res_init.c (__res_vinit): Adjust member names.
3734         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
3735         * resolv/resolv.h (res_sendhookact, res_send_qhook)
3736         (res_send_rhook): Remove.
3737         (struct __res_state): Rename qhook, rhook members.
3739 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3741         malloc: Use __libc_lock wrappers.
3742         * malloc/arena.c (list_lock, free_list_lock): Define using
3743         __libc_lock_define_initialized.
3744         (arena_lock): Adjust formatting.
3745         * malloc/malloc.c (struct malloc_state): Define mutex using
3746         __libc_lock_define.
3747         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
3748         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
3749         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
3750         (mutex_unlock, mutex_trylock): Remove.
3751         (__pthread_initialize): Remove unused macro.
3752         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
3753         (mutex_unlock, mutex_trylock): Remove.
3755 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3757         [BZ #20592]
3758         Remove RR type classification macros.
3759         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
3760         (ns_t_udp_p, ns_t_xfr_p): Remove.
3762 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3764         Remove misleading version information.
3765         * resolv/arpa/nameser.h (__NAMESER): Remove.
3766         * resolv/arpa/nameser_compat.h (__BIND): Remove.
3768 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3770         Remove the always-defined BIND_4_COMPAT macro.
3771         * resolv/arpa/nameser.h: Unconditionally include
3772         <arpa/nameser_compat.h>.
3773         (BIND_4_COMPAT): Remove.
3774         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
3776 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3778         [BZ #20591]
3779         Remove obsolete DNSSEC support.
3780         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
3781         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
3782         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
3783         (ns_verify_tcp, ns_verify_tcp_init): Remove.
3784         (ns_cert_types): Add comment.
3785         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
3786         separately.
3787         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
3788         (dst_s_dns_key_id): Remove.
3789         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
3790         variables.
3792 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3794         [BZ #20524]
3795         * manual/string.texi (String/Array Comparison): Clarify the
3796         strverscmp behavior.
3798 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3800         * test-skeleton.c (xasprintf): Add function.
3801         * io/tst-open-tmpfile.c: New test.
3802         * io/Makefile (tests): Add it.
3804 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3806         Avoid running $(CXX) during build to obtain header file paths.
3807         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
3808         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
3809         * Makerules (cstdlib, cmath): Remove variables.  Use
3810         $(c++-cstdlib-header), $(c++-cmath-header) instead.
3811         * configure: Regenerate.
3813 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3815         * Makeconfig (all-object-suffixes): Include .op only if
3816         $(build-profile).
3818 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3820         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
3821         conditionals.  Do not define PATH_MAX.
3823 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3825         * posix/Makefile (tests): Add tst-spawn3.
3826         * posix/tst-spawn3.c: New file.
3827         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
3828         if it is already opened for open action.
3830         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
3831         all signals when executing the clone vfork child.
3832         (SIGALL_SET): Remove macro.
3834         * nptl/Makefile (tests): Add tst-exec5.
3835         * nptl/tst-exec5.c: New file.
3836         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
3837         asynchronous cancellation.
3839 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3841         * hurd/exc2signal.c: #include <hurd/signal.h>
3842         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
3843         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
3844         accordingly.
3845         * mach/mach_error.c (mach_error): Fix old-style function definition.
3846         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
3848 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3850         * math/Makefile (libm-calls): Remove s_nanF.
3851         (gen-libm-calls): Add s_nanF.
3853         * math/s_nan.c: Refactor into ...
3854         * math/s_nan_template.c: New file.
3856         * math/s_nanf.c: Removed.
3857         * math/s_nanl.c: Removed.
3858         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
3859         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
3861         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
3862         (LDOUBLE_nanl_libm_version): New macro.
3864         * sysdeps/generic/math-type-macros-double.h:
3865         (M_STRTO_NAN): New macro.
3866         * sysdeps/generic/math-type-macros-float.h: Likewise.
3867         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
3869         * sysdeps/generic/math-type-macros.h: Document
3870         M_STRTO_NAN.
3872 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3874         * math/s_nanf.c: Remove __nanf undef.
3875         * math/s_nan.c: Remove __nan undef.
3876         * math/s_nanl.c: Remove __nanl undef.
3878         * sysdeps/generic/math_private.h (__nan): Remove macro
3879         override.
3880         (__nanf): Likewise.
3881         (__nanl): Likewise.
3883 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3885         * math/Makefile (gen-all-calls): New variable.
3886         (generated): Replace gen-libm-calls with gen-all-calls.
3887         (gen-libm-templates.stmp): Likewise.  Also, ensure
3888         the output directory exists or is created and add
3889         dependency on the Makefile.
3890         (calls): Move s_ldexpF into gen-calls.
3891         (gen-calls): New variable.
3893         * math/s_ldexpf.c: Removed.
3894         * math/s_ldexpl.c: Removed.
3895         * math/s_ldexp.c: Refactored into ...
3896         * math/s_ldexp_template.c: New file.
3898         * sysdeps/generic/math-type-macros-double.h: Remove
3899         redundant fall-through definition of declare_mgen_alias.
3900         (declare_mgen_alias_2): New macro.
3902         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
3903         New macro for function aliased to two exported symbols.
3905         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
3906         new template file.
3907         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
3909 2016-09-20  Florian Weimer  <fweimer@redhat.com>
3911         * Makeconfig (all-object-suffixes): Remove .og.
3912         * Makerules (elide-routines.og): Remove.
3913         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
3914         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
3915         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
3917 2016-09-20  Florian Weimer  <fweimer@redhat.com>
3919         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
3920         .os objects.
3922 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3924         [BZ #20615]
3925         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
3926         fpu directory by non-fpu.
3927         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
3928         on non-fpu directory from a fpu directory.
3930 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
3932         * include/limits.h: Define
3933         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3934         <bits/libc-header-start.h> instead of including <features.h>.
3935         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
3936         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
3937         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
3938         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
3939         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
3940         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
3941         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
3942         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
3943         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
3944         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
3945         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
3946         * manual/lang.texi (Width of Type): Document these macros.
3947         * stdlib/tst-width.c: New file.
3948         * stdlib/Makefile (tests): Add tst-width.
3950 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3952         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
3953         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
3955 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3957         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
3958         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
3959         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
3961 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3963         [BZ #18243]
3964         * rt/Makefile (test): Add tst-shm-cancel.
3965         * rt/tst-shm-cancel.c: New file.
3966         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
3968         [BZ #18243]
3969         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
3970         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
3971         definition.
3972         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
3973         uncontended case.
3974         * nptl/sem_wait.c (__new_sem_wait): Likewise.
3975         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
3976         (tf): Fix check for uncontended case.
3977         (do_test): Likewise.
3978         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
3979         (tf): Fix check for uncontended case.
3980         (do_test): Likewise.
3981         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
3982         (tf): Fix check for uncontended case.
3983         (do_test): Likewise.
3984         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
3985         (tf): Fix check for uncontended case.
3986         (do_test): Likewise.
3988         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
3989         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
3991         [BZ #15765]
3992         * nptl/Makefile (tests): Add tst-sem16.
3993         * nptl/tst-sem16.c: New file.
3994         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
3996         * nptl/sem_open.c (sem_open): Init pad value to 0.
3997         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
3998         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
4000 2016-09-15  Florian Weimer  <fweimer@redhat.com>
4002         [BZ #20611]
4003         * inet/Makefile (routines): Add inet6_scopeid_pton.
4004         (tests): Add tst-inet6_scopeid_pton.
4005         * inet/inet6_scopeid_pton.c: New file.
4006         * inet/net-internal.h: Likewise.
4007         * inet/tst-inet6_scopeid_pton.c: New test.
4008         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
4009         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
4010         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4012 2016-09-14  Florian Weimer  <fweimer@redhat.com>
4014         Remove support for compiling wrappers with PTW.
4015         * sysdeps/nptl/Makeconfig: Drop ptw- support.
4016         * nptl/Makefile (pthread-compat-wrappers): Define.
4017         (libpthread-routines): Use pthread-compat-wrappers.
4018         * sysdeps/unix/sysv/linux/alpha/Makefile
4019         (libpthread-routines, libpthread-shared-only-routines): Remove
4020         ptw- prefix.
4021         * sysdeps/s390/nptl/Makefile
4022         (libpthread-routines, libpthread-shared-only-routines): Likewise.
4023         * sysdeps/ia64/nptl/Makefile
4024         (libpthread-routines, libpthread-shared-only-routines): Likewise.
4025         * sysdeps/nacl/Makefile (libpthread-routines): Use
4026         pthread-compat-wrappers to filter the routines list instead of the
4027         ptw- prefix.
4029 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4031         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
4032         with L() and remove explicit suffix, convert real literals
4033         which can be equivalentally substituted with integers, and
4034         transform -L(x) to L(-x).
4036         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4037         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4038         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4039         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4040         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4041         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4042         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4043         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
4044         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4045         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4046         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4047         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4048         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4049         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4050         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4051         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4052         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4053         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4054         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4055         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4056         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4057         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4058         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4059         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4060         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
4061         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4062         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4063         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4064         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4065         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4066         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4067         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
4068         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4069         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4070         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4071         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4072         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4073         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4074         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4075         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4076         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4077         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4078         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4079         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4080         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4081         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4082         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4083         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
4084         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4085         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4087 2016-09-13  Florian Weimer  <fweimer@redhat.com>
4089         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
4091 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4093         * malloc/Makefile (tests): Remove individual static test names
4094         and just add all of tests-static.
4096         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
4098 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
4100         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
4101         file.
4103         * sysdeps/sparc/fpu/fegetmode.c: New file.
4104         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
4106         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
4107         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
4109         * sysdeps/s390/fpu/fegetmode.c: New file.
4110         * sysdeps/s390/fpu/fesetmode.c: Likewise.
4112         * sysdeps/powerpc/fpu/fegetmode.c: New file.
4113         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
4114         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
4115         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
4116         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
4117         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
4119         * sysdeps/mips/fpu/fegetmode.c: New file.
4120         * sysdeps/mips/fpu/fesetmode.c: Likewise.
4122         * sysdeps/m68k/fpu/fegetmode.c: New file.
4123         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
4125         * sysdeps/ia64/fpu/fegetmode.c: New file.
4126         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
4128         * sysdeps/hppa/fpu/fegetmode.c: New file.
4129         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
4131         * sysdeps/arm/fegetmode.c: New file.
4132         * sysdeps/arm/fesetmode.c: Likewise.
4134         * sysdeps/alpha/fpu/fegetmode.c: New file.
4135         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
4137         * sysdeps/aarch64/fpu/fegetmode.c: New file.
4138         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
4140         * math/fegetmode.c: New file.
4141         * math/fesetmode.c: Likewise.
4142         * sysdeps/i386/fpu/fegetmode.c: Likewise.
4143         * sysdeps/i386/fpu/fesetmode.c: Likewise.
4144         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
4145         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
4146         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
4147         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
4148         declaration.
4149         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
4150         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
4151         typedef.
4152         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4153         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4154         (femode_t): New typedef.
4155         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4156         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4157         (femode_t): New typedef.
4158         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4159         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4160         (femode_t): New typedef.
4161         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4162         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4163         (femode_t): New typedef.
4164         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4165         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4166         (femode_t): New typedef.
4167         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4168         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4169         (femode_t): New typedef.
4170         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4171         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4172         (femode_t): New typedef.
4173         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4174         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4175         (femode_t): New typedef.
4176         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4177         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4178         (femode_t): New typedef.
4179         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4180         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4181         (femode_t): New typedef.
4182         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
4183         declaration.
4184         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4185         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4186         (femode_t): New typedef.
4187         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4188         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4189         (femode_t): New typedef.
4190         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4191         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4192         (femode_t): New typedef.
4193         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4194         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4195         (femode_t): New typedef.
4196         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4197         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4198         (femode_t): New typedef.
4199         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
4200         * manual/arith.texi (FE_DFL_MODE): Document macro.
4201         (fegetmode): Document function.
4202         (fesetmode): Likewise.
4203         * math/Versions (fegetmode): New libm symbol at version
4204         GLIBC_2.25.
4205         (fesetmode): Likewise.
4206         * math/Makefile (libm-support): Add fegetmode and fesetmode.
4207         (tests): Add test-femode and test-femode-traps.
4208         * math/test-femode-traps.c: New file.
4209         * math/test-femode.c: Likewise.
4210         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
4211         alias for __fe_dfl_env.
4212         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
4213         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
4214         (__fe_dfl_mode): Likewise.
4215         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
4216         version GLIBC_2.25.
4217         * sysdeps/nacl/libm.abilist: Update.
4218         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4219         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4220         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4221         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4222         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4223         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4224         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4225         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4226         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4227         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4228         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4229         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4231         Likewise.
4232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4233         Likewise.
4234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4235         Likewise.
4236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4237         Likewise.
4238         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4239         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4240         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4241         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4242         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4243         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4244         Likewise.
4245         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4246         Likewise.
4247         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4248         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4249         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4251 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
4253         [BZ #20495]
4254         [BZ #20508]
4255         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
4256         processors, set Use_dl_runtime_resolve_slow and set
4257         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
4258         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
4259         New.
4260         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
4261         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
4262         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
4263         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
4264         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
4265         if Use_dl_runtime_resolve_opt is set.  Use
4266         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
4267         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
4268         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
4269         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
4270         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
4271         New.
4272         (_dl_runtime_resolve_opt): Likewise.
4273         (_dl_runtime_profile): Define only if _dl_runtime_profile is
4274         defined.
4276 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
4278         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
4279         __libc_memalign with "+ RELA R_390_GLOB_DAT".
4281 2016-09-06  Florian Weimer  <fweimer@redhat.com>
4283         Convert malloc to __libc_lock.  Automated part, using this Perl
4284         s/// command:
4285           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
4286             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
4287         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
4288         conversion.
4290 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
4292         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
4293         (linknamespace-symlists-tests): Likewise.
4294         (linknamespace-header-tests): Likewise.
4296 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
4298         [BZ #19810]
4299         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
4300         * elf/tst-noload.c: New test case.
4301         * elf/Makefile (tests): Add tst-noload.
4303 2016-09-02  Roland McGrath  <roland@hack.frob.com>
4305         * sysdeps/nacl/dup.c: Add libc_hidden_def.
4307         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
4308         not any more.
4310         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
4312 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4314         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
4315         (do_cos_slow): Likewise.
4316         (do_sin): Likewise.
4317         (do_sin_slow): Likewise.
4318         (slow): Likewise.
4319         (slow1): Likewise.
4320         (slow2): Likewise.
4321         (sloww): Likewise.
4322         (sloww1): Likewise.
4323         (sloww2): Likewise.
4324         (bsloww): Likewise.
4325         (bsloww1): Likewise.
4326         (bsloww2): Likewise.
4327         (cslow2): Likewise.
4329         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
4331         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
4332         arguments.  Consolidate input partitioning from callers here.
4333         (do_cos_slow): Likewise.
4334         (do_sin): Likewise.
4335         (do_sin_slow): Likewise.
4336         (do_sincos_1): Remove the no longer necessary input partitioning.
4337         (do_sincos_2): Likewise.
4338         (__sin): Likewise.
4339         (__cos): Likewise.
4340         (slow1): Likewise.
4341         (slow2): Likewise.
4342         (sloww1): Likewise.
4343         (sloww2): Likewise.
4344         (bsloww1): Likewise.
4345         (bsloww2): Likewise.
4346         (cslow2): Likewise.
4348 2016-09-02  Florian Weimer  <fweimer@redhat.com>
4350         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
4351         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
4352         outside of allocated array.
4354 2016-09-02  Florian Weimer  <fweimer@redhat.com>
4356         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
4357         instead of MB_CUR_MAX to avoid variable-length array.
4359 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4361         * math/Makefile (libm-calls): Remove k_rem_pio2F.
4362         (type-double-routines): Add k_rem_pio2.
4363         (type-float-routines): Add k_rem_pio2f.
4365         * sysdeps/generic/math_private.h:
4366         (__kernel_rem_pio2l): Removed.
4368         * math/k_rem_pio2l.c: Removed.
4369         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
4370         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
4371         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
4372         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
4374 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4376         * math/Makefile (gen-libm-calls): Add s_fmin
4377         (libm-calls): Remove above.
4379         * math/s_fmin.c: Refactor into ...
4380         * math/s_fmin_template.c: New file.
4382         * math/s_fminf.c: Removed.
4383         * math/s_fminl.c: Removed.
4384         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
4385         (LDOUBLE_fmin_libm_version): New macro.
4387         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
4388         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
4390 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4392         * math/Makefile: (gen-libm-calls): Add s_fmax.
4393         (libm-calls): Remove above.
4395         * math/s_fmax.c: Refactor into ...
4396         * math/s_fmax_template.c: New file.
4397         * math/s_fmaxf.c: Removed.
4398         * math/s_fmaxl.c: Removed.
4400         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
4401         (LDOUBLE_fmaxl_libm_version): New macro.
4403         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
4404         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
4406         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
4407         s_fmin.c to pick the aarch64 version of the file.
4408         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
4409         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
4411 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4413         * math/Makefile: (gen-libm-calls): Add s_nextdown.
4414         (libm-calls): Remove above.
4416         * math/s_nextdown.c: Refactor into ...
4417         * math/s_nextdown_template.c: New file.
4418         * math/s_nextdownf.c: Removed.
4419         * math/s_nextdownl.c: Removed.
4421         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
4423 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4425         * math/Makefile (gen-libm-calls): Add s_fdim.
4426         (libm-calls): Move to above.
4428         * math/s_fdim.c: Renamed and refactored into to ...
4429         * math/s_fdim_template.c: New file.
4430         * math/s_fdiml.c: Removed.
4431         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
4432         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
4434         * sysdeps/generic/math-type-macros-double.h:
4435         (declare_mgen_alias): Don't declare if already declared.
4436         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
4437         Likewise.
4439         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
4440         (declare_mgen_alias): Don't declare if already declared.
4441         (M_LIBM_NEED_COMPAT): Likewise.
4442         (declare_mgen_libm_compat): Likewise.
4443         (LDOUBLE_fdiml_libm_version): New macro.
4445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
4446         Include math/s_fdim.c now that ldbl-opt version is not needed.
4447         (declare_mgen_alias): New macro to disable aliasing.
4449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
4450         (declare_mgen_alias): Likewise.
4451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
4452         (declare_mgen_alias): Likewise.
4453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
4454         (declare_mgen_alias): Likewise.
4455         (M_LIBM_NEED_COMPAT): Likewise.
4457 2016-09-01  Florian Weimer  <fweimer@redhat.com>
4459         [BZ #20525]
4460         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
4461         Include <linux/quota.h>.
4462         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
4463         and btodb.
4464         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
4465         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
4466         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
4467         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
4468         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
4469         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
4470         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
4471         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
4472         types.
4473         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
4474         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
4476 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4478         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
4479         (gammal_positive): Fix spacing.
4480         (__ieee754_gammal_r): Likewise.
4482 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4484         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
4485         (_Float128): Define as long double, always.
4486         (L): Apply long double type suffix, always.
4488         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
4489         _Float128, excepting comments.
4491         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4492         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4493         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4494         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4495         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4496         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4497         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4498         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
4499         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4500         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
4501         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4502         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4503         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4504         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4505         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4506         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4507         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4508         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4509         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4510         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4511         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4512         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
4513         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4514         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4515         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4516         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4517         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
4518         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
4519         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4520         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4521         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4522         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4523         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4524         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4525         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4526         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4527         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4528         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4529         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4530         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
4531         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4532         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4533         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4534         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4535         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4536         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4537         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4538         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4539         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4540         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4541         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4542         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4543         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4544         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4545         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
4546         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4547         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4548         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4549         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4550         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4551         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4552         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4553         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4554         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4555         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4556         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
4557         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4558         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4560         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
4561         _Float128, and include math_private.h.
4562         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4564         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
4565         long double semantics.
4566         (_Float128): Likewise.
4567         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
4568         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
4569         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
4570         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
4572 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
4574         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
4575         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
4576         * sysdeps/s390/configure: Regenerated.
4577         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
4578         instruction for raising over-/underflow if z196 zarch is supported
4579         by default.
4580         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
4582 2016-08-30  Svante Signell  <svante.signell@gmail.com>
4584         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
4585         it point to a dumb buffer for RPC to fill it.
4587 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4589         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
4590         instead of if/else.
4591         (do_sin_slow): Likewise.
4592         (do_sincos_1): Use fabs instead of if/else.
4593         (do_sincos_2): Likewise.
4594         (__sin): Likewise.
4595         (__cos): Likewise.
4596         (slow2): Likewise.
4597         (sloww): Likewise.
4598         (sloww1): Likewise.  Drop argument M.
4599         (sloww2): Use fabs instead of if/else.
4600         (bsloww): Likewise.
4601         (bsloww1): Likewise.
4602         (bsloww2): Likewise.
4604         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
4605         fall through comment.
4606         (do_sincos_1): Likewise.
4608         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
4609         Consolidate switch cases 0 and 2.
4611 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4613         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
4614         (libm-calls): Remove the above.
4616         * math/s_cexp_template.c: Update using type-generic macros.
4617         * math/s_clog10_template.c: Likewise.
4618         * math/s_cpow_template.c: Likewise.
4619         * math/s_clog_template.c: Likewise.
4620         * math/s_cproj_template.c: Likewise.
4621         * math/s_csqrt_template.c: Likewise.
4623         * math/s_cexp.c: Removed.
4624         * math/s_cexpf.c: Removed.
4625         * math/s_cexpl.c: Removed.
4626         * math/s_clog10.c: Removed.
4627         * math/s_clog10f.c: Removed.
4628         * math/s_clog10l.c: Removed.
4629         * math/s_cpow.c: Removed.
4630         * math/s_cpowf.c: Removed.
4631         * math/s_cpowl.c: Removed.
4632         * math/s_clog.c: Removed.
4633         * math/s_clogf.c: Removed.
4634         * math/s_clogl.c: Removed.
4635         * math/s_cproj.c: Removed.
4636         * math/s_cprojf.c: Removed.
4637         * math/s_cprojl.c: Removed.
4638         * math/s_csqrt.c: Removed.
4639         * math/s_csqrtf.c: Removed.
4640         * math/s_csqrtl.c: Removed.
4642         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
4643         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
4644         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
4645         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
4646         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
4647         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
4649         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
4650         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
4651         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
4652         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
4653         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
4654         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
4655         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
4656         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
4657         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
4658         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
4659         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
4661         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
4662         version.
4664         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
4665         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
4666         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
4667         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
4669 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4671         * s_cexp_template.c: Copy of s_cexp.c.
4672         * s_clog_template.c: Copy of s_clog.c.
4673         * s_clog10_template.c: Copy of s_clog10.c.
4674         * s_cpow_template.c: Copy of s_cpow.c.
4675         * s_cproj_template.c: Copy of s_cproj.c.
4676         * s_csqrt_template.c: Copy of s_csqrt.c.
4678 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4680         [BZ #20517]
4681         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
4682         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
4683         exported.
4685 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
4687         * math/fetestexceptflag.c: New file.
4688         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
4689         Stefan Liebler.
4690         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4691         (fetestexceptflag): New function declaration.
4692         * manual/arith.texi (fetestexceptflag): Document function.
4693         * math/Versions (fetestexceptflag): New libm symbol at version
4694         GLIBC_2.25.
4695         * math/Makefile (libm-support): Add fetestexceptflag.
4696         (tests): Add test-fetestexceptflag.
4697         * math/test-fetestexceptflag.c: New file.
4698         * sysdeps/nacl/libm.abilist: Update.
4699         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4700         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4701         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4702         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4703         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4704         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4705         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4706         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4707         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4708         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4709         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4710         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4712         Likewise.
4713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4714         Likewise.
4715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4716         Likewise.
4717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4718         Likewise.
4719         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4720         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4721         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4722         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4723         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4724         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4725         Likewise.
4726         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4727         Likewise.
4728         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4729         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4730         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4732 2016-08-26  Florian Weimer  <fweimer@redhat.com>
4734         [BZ #20432]
4735         Avoid strong references to malloc-internal symbols when linking
4736         statically, to support statically interposed mallocs.
4737         * include/libc-symbols.h (call_function_static_weak): New macro.
4738         * malloc/Makefile (tests): Add tst-interpose-nothread,
4739         tst-interpose-thread, tst-interpose-static-nothread,
4740         tst-interpose-static-thread.
4741         (tests-static): Add tst-interpose-static-nothread,
4742         tst-interpose-static-thread.
4743         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
4744         tst-interpose-aux-thread.o.
4745         (test-extras): Add tst-interpose-aux-nothread,
4746         tst-interpose-aux-thread.
4747         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
4748         tst-interpose-aux-nothread.o.
4749         (tst-interpose-thread, tst-interpose-static-thread): Link with
4750         tst-interpose-aux-thread.o and libthread.
4751         * malloc/tst-interpose-aux-nothread.c: New file.
4752         * malloc/tst-interpose-aux-thread.c: Likewise.
4753         * malloc/tst-interpose-aux.c: Likewise.
4754         * malloc/tst-interpose-aux.h: Likewise.
4755         * malloc/tst-interpose-nothread.c: Likewise.
4756         * malloc/tst-interpose-skeleton.c: Likewise.
4757         * malloc/tst-interpose-static-nothread.c: Likewise.
4758         * malloc/tst-interpose-static-thread.c: Likewise.
4759         * malloc/tst-interpose-thread.c: Likewise.
4760         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
4761         * sysdeps/mach/hurd/fork.c (__fork): Only call
4762         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
4763         __malloc_fork_unlock_child if defined.
4764         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
4766 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4768         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
4769         timespec C99 designated initialization.
4771 2016-08-26  Florian Weimer  <fweimer@redhat.com>
4773         [BZ #19946]
4774         Avoid expected SIGALRM signals.
4775         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
4776         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
4777         (xpthread_create, xpthread_detach, xpthread_join)
4778         (delayed_exit_thread, delayed_exit): New functions.
4779         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
4780         (tf): Use xpthread_cond_wait.
4781         (do_test): Likewise.  Replace alarm with delayed_exit.
4782         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4783         (do_test): Call delayed_exit.  Report failure.
4784         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4785         (do_test): Call delayed_exit.
4786         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4787         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
4788         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4789         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
4790         error.
4791         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4792         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
4793         error.
4794         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
4795         (do_test): Call delayed_exit.
4796         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
4797         (do_test): Call delayed_exit.
4798         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
4799         (do_test): Call delayed_exit instead of alarm.  Use
4800         xpthread_mutex_lock.
4801         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
4802         (do_test): Call delayed_exit instead of alarm.  Use
4803         xpthread_mutex_lock.
4804         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
4805         (do_test): Call delayed_exit instead of alarm.
4806         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
4807         (do_test): Call delayed_exit instead of alarm.  Use
4808         xpthread_spin_lock.
4809         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
4810         (do_test): Call delayed_exit instead of alarm.  Use
4811         xpthread_join.
4813 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
4815         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
4816         adjust CFA when allocating register save area on re-aligned
4817         stack.
4819 2016-08-26  Florian Weimer  <fweimer@redhat.com>
4821         * string/tst-cmp.c: New test.
4822         * string/Makefile (tests): Add it.
4824 2016-08-25  Mark Wielaard  <mark@klomp.org>
4826         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
4827         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
4828         (check_tree_recurse): Use newly defined accessors.
4829         (check_tree): Likewise.
4830         (maybe_split_for_insert): Likewise.
4831         (__tfind): Likewise.
4832         (__tdelete): Likewise.
4833         (trecurse): Likewise.
4834         (tdestroy_recurse): Likewise.
4835         (__tsearch): Likewise. And add asserts for malloc alignment.
4836         (__twalk): Cast root to node in case CHECK_TREE is defined.
4838 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4840         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
4842 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4844         * math/Makefile (libm-gen-calls): Add
4845         catan, catanh, ctan, ctanh.
4846         (libm-calls): Remove the above.
4848         * math/s_catan_template.c: Update using type-generic macros.
4849         * math/s_catanh_template.c: Likewise.
4850         * math/s_ctan_template.c: Likewise.
4851         * math/s_ctanh_template.c: Likewise.
4853         * math/s_catanf.c: Removed.
4854         * math/s_catan.c: Removed.
4855         * math/s_catanl.c: Removed.
4856         * math/s_catanhf.c: Removed.
4857         * math/s_catanh.c: Removed.
4858         * math/s_catanhl.c: Removed.
4859         * math/s_ctanf.c: Removed.
4860         * math/s_ctan.c: Removed.
4861         * math/s_ctanl.c: Removed.
4862         * math/s_ctanhf.c: Removed.
4863         * math/s_ctanh.c: Removed.
4864         * math/s_ctanhl.c: Removed.
4866         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
4867         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
4868         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
4869         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
4870         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
4871         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
4873         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
4874         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
4875         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
4876         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
4878 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4880         * s_catan_template.c: Copy of s_catan.c.
4881         * s_catanh_template.c: Copy of s_catanh.c.
4882         * s_ctan_template.c: Copy of s_ctan.c.
4883         * s_ctanh_template.c: Copy of s_ctanh.c.
4885 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4887         * math/Makefile (gen-libm-calls): Move
4888         casin, casinh, csin, csinh here.
4889         (libm-calls): Remove the above.
4891         * math/s_casin_template.c: Update using type-generic macros.
4892         * math/s_casinh_template.c: Likewise.
4893         * math/s_csin_template.c: Likewise.
4894         * math/s_csinh_template.c: Likewise.
4895         * math/k_casinh_template.c: Likewise.
4897         * math/s_casinf.c: Removed.
4898         * math/s_casin.c: Removed.
4899         * math/s_casinl.c: Removed.
4900         * math/s_casinh.c: Removed.
4901         * math/s_casinhf.c: Removed.
4902         * math/s_casinhl.c: Removed.
4903         * math/s_csin.c: Removed.
4904         * math/s_csinf.c: Removed.
4905         * math/s_csinl.c: Removed.
4906         * math/s_csinh.c: Removed.
4907         * math/s_csinhf.c: Removed.
4908         * math/s_csinhl.c: Removed.
4909         * math/k_casinh.c: Removed.
4910         * math/k_casinhf.c: Removed.
4911         * math/k_casinhl.c: Removed.
4913         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
4914         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
4915         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
4916         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
4918         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
4919         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
4920         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
4921         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
4922         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
4923         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
4924         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
4925         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
4927         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
4928         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
4929         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
4930         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
4932         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
4933         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
4934         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
4935         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
4937 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4939         * s_casin_template.c: Copy of s_casin.c.
4940         * s_casinh_template.c: Copy of s_casinh.c.
4941         * s_csin_template.c: Copy of s_csin.c.
4942         * s_csinh_template.c: Copy of s_csinh.c.
4943         * k_casinh_template.c: Copy of k_casinh.c.
4945 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
4947         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
4949 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4951         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
4952         (mul_split) Remove, rename as mul_splitl, remove
4953         redundant float.h include, and include via mul_splitl.h
4955         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
4956         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4957         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
4958         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
4959         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
4961         * math/mul_splitl.h: New file.
4963         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
4964         Move into mul_split.h, and remove redundant float.h include.
4966         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
4967         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
4968         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
4969         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
4971         * math/mul_split.h: New file.
4973 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4975         * math/Makefile (libm-gen-calls): Move
4976         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
4977         (libm-calls): Remove above.
4979         * math/s_cacos_template.c: Update using type-generic macros.
4980         * math/s_cacosh_template.c: Likewise.
4981         * math/s_ccos_template.c: Likewise.
4982         * math/s_ccosh_template.c: Likwise.
4984         * math/s_cacosf.c: Removed.
4985         * math/s_cacos.c: Removed.
4986         * math/s_cacosl.c: Removed.
4987         * math/s_cacoshf.c: Removed.
4988         * math/s_cacosh.c: Removed.
4989         * math/s_cacoshl.c: Removed.
4990         * math/s_ccosf.c: Removed.
4991         * math/s_ccos.c: Removed.
4992         * math/s_ccosl.c: Removed.
4993         * math/s_ccoshf.c: Removed.
4994         * math/s_ccosh.c: Removed.
4995         * math/s_ccoshl.c: Removed.
4997         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
4998         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
4999         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
5000         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
5001         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
5002         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
5004         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
5005         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
5006         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
5007         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
5009         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
5010         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
5011         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
5012         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
5014 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5016         * s_cacos_template.c: Copy of s_cacos.c.
5017         * s_cacosh_template.c: Copy of s_cacosh.c.
5018         * s_ccos_template.c: Copy of s_ccos.c.
5019         * s_ccosh_template.c: Copy of s_ccosh.c.
5021 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5023         * stdlib/tst-strtod-round-skeleton.c:
5024         Refactored from tst-strtod-round.c.
5026         (L_): New macro to apply literal modifier.
5027         (FNPFX): New macro to select str or wcs prefix.
5028         (CHAR): New macro to choose wchar_t or char.
5029         (STRM): New macro to choose printf for tested character type.
5031         (STRTO): New macro to choose appropriate string -> real function.
5032         (FNPFXS): Stringitized version of FNPFX.
5033         (STR): Support for above macro.
5034         (STRX): Likewise.
5036         (TEST): Update with above macros.
5037         (test): Likewise.
5038         (GEN_ONE_TEST): Likewise.
5039         (test_in_one_mode): Likewise.
5041         * stdlib/tst-strtod-round.c: New file.
5042         * wcsmbs/tst-wcstod-round.c: New file.
5044         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
5045         (tst-wcstod-round): Add libm depencency for fesetround.
5047 2016-08-19  Zack Weinberg  <zackw@panix.com>
5049         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
5051 2016-08-18  Torvald Riegel  <triegel@redhat.com>
5053         [BZ #20477]
5054         * resolv/res_hconf.c (do_init): Use atomic access.
5055         * resolv/res_hconf.h: Add comments.
5056         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
5057         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
5058         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5060 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
5062         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
5063         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
5064         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
5065         Likewise.
5067 2016-08-18  Florian Weimer  <fweimer@redhat.com>
5069         [BZ #16907]
5070         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
5071         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
5072         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
5073         (__attribute__): Remove definition.
5075 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5077         * sysdeps/ieee754/ldbl-128/e_asinl.c:
5078         Remove unused sqrtl declaration.
5080 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5082         * math/Makefile: (gen-libm-templates.stmp): New rule.
5083         (libm-calls): Move carg conj cimag and cabs into ...
5084         (gen-libm-calls): New variable.
5085         (generated): Inform Make objects from gen-libm-calls
5086         may be generated.
5088         * sysdeps/generic/math-type-macros.h: New file.
5089         * sysdeps/generic/math-type-macros-float.h: Likewise.
5090         * sysdeps/generic/math-type-macros-double.h: Likewise.
5091         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
5092         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
5093         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
5095         * math/cabs.c: Refactor into
5096         * math/cabs_template.c: new file.
5097         * math/cabsf.c: Removed.
5098         * math/cabsl.c: Removed.
5099         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
5100         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
5102         * math/carg.c: Refactor into
5103         * math/carg_template.c: new file.
5104         * math/cargf.c: Removed.
5105         * math/cargl.c: Removed.
5106         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
5107         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
5109         * math/conj.c: Refactor into
5110         * math/conj_template.c: new file.
5111         * math/conjf.c: Removed.
5112         * math/conjl.c: Removed.
5113         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
5114         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
5116         * math/cimag.c: Refactor into
5117         * math/cimag_template.c: new file.
5118         * math/cimagf.c: Removed.
5119         * math/cimagl.c: Removed.
5120         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
5121         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
5123         * math/cimag.c: Refactor into
5124         * math/cimag_template.c: new file.
5125         * math/cimagf.c: Removed.
5126         * math/cimagl.c: Removed.
5127         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
5128         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
5130 2016-08-17  Florian Weimer  <fweimer@redhat.com>
5132         Reduce time to expected nptl/tst-once5 failure.
5133         * nptl/tst-once5.cc (TIMEOUT): Define.
5135 2016-08-17  Florian Weimer  <fweimer@redhat.com>
5137         [BZ #20452]
5138         Avoid additional copies of objects in libc.a in static libraries.
5139         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
5140         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
5141         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
5142         rt-sysdep.
5143         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
5144         Add nptl-sysdep.
5145         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
5146         Add ptw-sysdep.
5147         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
5148         rt-sysdep.
5149         * sysdeps/unix/sysv/linux/alpha/Makefile
5150         (libpthread-shared-only-routines): Add ptw-sysdep,
5151         ptw-sigprocmask, ptw-rt_sigaction.
5152         * sysdeps/unix/sysv/linux/ia64/Makefile
5153         (librt-shared-only-routines): Add rt-sysdep.
5154         * sysdeps/unix/sysv/linux/i386/Makefile
5155         (libpthread-shared-only-routines): Add libc-do-syscall.
5156         * sysdeps/unix/sysv/linux/microblaze/Makefile
5157         (libpthread-shared-only-routines): Add sysdep.
5158         * sysdeps/unix/sysv/linux/powerpc/Makefile
5159         (librt-shared-only-routines): Add rt-sysdep.
5160         (libpthread-shared-only-routines): Add sysdep.
5161         * sysdeps/unix/sysv/linux/s390/Makefile
5162         (librt-shared-only-routines): Add rt-sysdep.
5163         * sysdeps/unix/sysv/linux/sparc/Makefile
5164         (librt-shared-only-routines): Add rt-sysdep.
5165         (libpthread-shared-only-routines): Add sysdep.
5166         * sysdeps/unix/sysv/linux/tile/Makefile
5167         (libpthread-shared-only-routines): Likewise.
5169 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
5171         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
5172         Mask implicit bit out of unpacked value.
5173         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
5174         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
5175         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
5177         * sysdeps/sparc/fpu/fesetexcept.c: New file.
5179         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
5181         * sysdeps/s390/fpu/fesetexcept.c: New file.
5183         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
5184         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
5185         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
5187         * sysdeps/mips/fpu/fesetexcept.c: New file.
5189         * sysdeps/m68k/fpu/fesetexcept.c: New file.
5191         * sysdeps/ia64/fpu/fesetexcept.c: New file.
5193         * sysdeps/hppa/fpu/fesetexcept.c: New file.
5195         * sysdeps/arm/fesetexcept.c: New file.
5197         * sysdeps/alpha/fpu/fesetexcept.c: New file.
5199         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
5201         * math/fesetexcept.c: New file.
5202         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
5203         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
5204         * math/fenv.h: Define
5205         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5206         <bits/libc-header-start.h> instead of including <features.h>.
5207         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
5208         declaration.
5209         * manual/arith.texi (fesetexcept): Document function.
5210         * math/Versions (fesetexcept): New libm symbol at version
5211         GLIBC_2.25.
5212         * math/Makefile (libm-support): Add fesetexcept.
5213         (tests): Add test-fesetexcept and test-fesetexcept-traps.
5214         * math/test-fesetexcept.c: New file.
5215         * math/test-fesetexcept-traps.c: Likewise.
5216         * sysdeps/nacl/libm.abilist: Update.
5217         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5218         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5219         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5220         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5221         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5222         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5223         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5224         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5225         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5226         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5227         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5228         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5230         Likewise.
5231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5232         Likewise.
5233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5234         Likewise.
5235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5236         Likewise.
5237         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5238         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5239         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5240         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5241         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5242         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5243         Likewise.
5244         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5245         Likewise.
5246         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5247         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5248         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5250 2016-08-16  Florian Weimer  <fweimer@redhat.com>
5252         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
5253         New.
5254         (do_test): Apply default_stack_size_in_mb if not set.
5255         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
5257 2016-08-15  Andreas Schwab  <schwab@suse.de>
5259         [BZ #20435]
5260         CVE-2016-6323
5261         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
5262         as .cantunwind.
5264 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
5266         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
5267         comment from fraiseexcpt.c.
5269         * math/test-fexcept.c (feraiseexcept_exact): New function.
5270         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
5271         (test_except): Likewise.
5273 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
5275         [BZ #20455]
5276         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
5277         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
5278         to be restored.
5280         * math/test-fexcept-traps.c: New file.
5281         * math/test-fexcept.c: Likewise.
5282         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
5283         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
5284         macro.
5285         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
5286         (EXCEPTION_SET_FORCES_TRAP): Likewise.
5288 2016-08-09  Torvald Riegel  <triegel@redhat.com>
5290         * include/atomic.h (atomic_fetch_and_relaxed,
5291         atomic_fetch_and_release, atomic_fetch_or_release,
5292         atomic_fetch_xor_release): New.
5294 2016-08-06  Christian Seiler  <christian@iwakd.de>
5296         [BZ #20444]
5297         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
5298         MACH_PORT_NULL.
5300 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
5302         * math/s_fdim.c: Avoid alias renamed.
5303         * math/s_fdimf.c: Likewise.
5304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
5305         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
5306         Add s_fdimf-vis3, s_fdim-vis3.
5307         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
5308         (CFLAGS-s_fdim-vis3.c): Likewise.
5309         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
5310         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
5312 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
5314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
5315         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
5316         Remove s_fdimf-vis3, s_fdim-vis3.
5317         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
5318         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
5319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
5320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
5321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
5322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
5323         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
5324         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
5325         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
5326         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
5328 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
5330         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
5331         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
5332         -Wa,-Av9a -mvis.
5334 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5336         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
5337         LIT() to individual constants in simple expressions
5338         after splitting on spaces.
5339         (_apply_lit): Rename replaced version, and use it to
5340         apply to what appears to be a token.
5342         * math/libm-test.inc: Fix many, many issues with
5343         spacing.
5345 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
5347         * math/math.h: Move comment about <bits/mathdef.h> definitions
5348         above inclusion of <bits/mathdef.h>.  Do not mention
5349         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
5351 2016-08-05  Torvald Riegel  <triegel@redhat.com>
5353         * include/atomic.h (atomic_exchange_relaxed): New.
5355 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
5357         * math/e_scalb.c: Do not include <fenv.h>.
5358         (invalid_fn): Do calculation resulting in NaN instead of raising
5359         FE_INVALID and returning a NaN explicitly.
5360         * math/e_scalbf.c: Do not include <fenv.h>.
5361         (invalid_fn): Do calculation resulting in NaN instead of raising
5362         FE_INVALID and returning a NaN explicitly.
5363         * math/e_scalbl.c: Do not include <fenv.h>.
5364         (invalid_fn): Do calculation resulting in NaN instead of raising
5365         FE_INVALID and returning a NaN explicitly.
5367 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
5369         * po/de.po: Updated from Translation Project.
5370         * po/fi.po: Likewise.
5371         * po/sv.po: Likewise.
5373 2016-08-04  Florian Weimer  <fweimer@redhat.com>
5375         [BZ #20452]
5376         Use sysdep.o from libc.a in static libraries.
5377         * sysdeps/unix/sysv/linux/i386/Makefile
5378         (libpthread-shared-only-routines): Add sysdep.
5379         (librt-shared-only-routines): Likewise.
5381 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
5383         * math/tgmath.h (nextdown): Define if
5384         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
5385         (nextup): Likewise.
5387         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
5388         macro.
5389         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
5390         Document.
5391         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
5392         Document macro.
5393         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
5394         (exp10f): Likewise.
5395         (exp10l): Likewise.
5396         * math/bits/mathcalls.h (exp10): Declare if
5397         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
5399         * manual/arith.texi (nextup): Fix typo in last change.
5401 2016-08-03  Zack Weinberg  <zackw@panix.com>
5403         [BZ #19239]
5404         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
5405         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
5406         define major, minor, and makedev to issue deprecation warnings on use.
5407         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
5408         previously-activated deprecation warnings for these macros and prevent
5409         subsequent inclusions of this header from having any effect.
5410         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
5411         including <sys/sysmacros.h>, and undefine it again afterward.
5413 2016-08-03  Zack Weinberg  <zackw@panix.com>
5415         * sysdeps/generic/sys/sysmacros.h: Delete file.
5416         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
5417         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
5418         * bits/sysmacros.h: ... here; this encoding is now the generic
5419         encoding.  Now defines only the following macros:
5420         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
5421         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
5422         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
5424         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
5425         bits/sysmacros.h and the above new macros to generate the
5426         public implementations of major, minor, and makedev.
5427         * misc/tst-makedev.c: New test.
5428         * include/sys/sysmacros.h: New wrapper.
5430         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
5431         (routines): Add makedev.
5432         (tests): Add tst-makedev.
5433         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
5434         gnu_dev_makedev.
5435         * posix/Makefile (headers): Remove sys/sysmacros.h.
5436         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
5438         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
5439         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
5440         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
5441         * sysdeps/unix/sysv/linux/alpha/libc.abilist
5442         * sysdeps/unix/sysv/linux/arm/libc.abilist
5443         * sysdeps/unix/sysv/linux/hppa/libc.abilist
5444         * sysdeps/unix/sysv/linux/i386/libc.abilist
5445         * sysdeps/unix/sysv/linux/ia64/libc.abilist
5446         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
5447         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
5448         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
5449         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5450         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5451         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5452         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5453         * sysdeps/unix/sysv/linux/nios2/libc.abilist
5454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5458         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
5459         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
5460         * sysdeps/unix/sysv/linux/sh/libc.abilist
5461         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
5462         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
5463         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
5464         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
5465         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
5466         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
5467         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
5468         Add GLIBC_2.25.
5470         * include/features.h (__glibc_clang_prereq): New macro.
5471         * misc/sys/cdefs.h (__glibc_clang_has_extension)
5472         (__attribute_deprecated_msg__): New macros.
5474 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
5476         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
5477         macro.
5478         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
5479         * manual/arith.texi (issignaling): Document as ISO from TS
5480         18661-1:2014.
5481         (nextup): Likewise.
5482         (nextupf): Likewise.
5483         (nextupl): Likewise.
5484         (nextdown): Likewise.
5485         (nextdownf): Likewise.
5486         (nextdownl): Likewise.
5487         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
5488         macro.
5489         * math/math.h: Define
5490         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5491         <bits/libc-header-start.h> instead of including <features.h>.
5492         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
5493         [__USE_GNU].
5494         * math/bits/mathcalls.h (nextdown): Declare if
5495         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
5496         (nextup): Likewise.
5497         (__issignaling): Likewise.
5499 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5501         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
5502         check, and remove __glibc_likely hint
5503         from FP_INFINITE check.
5504         * s_csinhf.c (__csinhf): Likewise.
5506         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
5507         hint from FP_INFINITE check.
5508         * s_csinhl.c (__csinhl): Likewise.
5510 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5512         * math/Makefile (libm-calls): Insert F placeholder into
5513         object names.  Move w_lgamma_compat* routines into
5514         (libm-compat-calls): New variable.
5515         (libm-compat-calls-ldouble-yes): New variable.
5516         (calls): Insert F placeholder.
5517         (generated): Redefine using new type-foreach macro call.
5518         (routines): Likewise.
5520         (types): New variable to hold a list of symbolic names
5521         for each type supported by the target machine.
5522         (libm-routines): Redefine using new types variable.
5523         (type-foreach): macro to replace fooF with the
5524         appropriately suffixed foo for each types.
5526         (type-ldouble-suffix): New variable.
5527         (type-ldouble-routines): Likewise.
5528         (type-ldouble-yes): Likewise.
5529         (type-double-suffix): Likewise.
5530         (type-double-routines): Likewise.
5531         (type-float-suffix): Likewise.
5532         (type-float-routines): Likewise.
5534         (dbl-only-routines): Remove.
5535         (long-c-yes): Likewise.
5536         (long-m-routines): Likewise.
5537         (long-m-support): Likewise.
5538         (long-m-yes): Likewise.
5539         (test-longdouble-yes): Likewise.
5541         (test-float.o): Simplify by increasing the scope of the
5542         recipe which adds libm-test.stmp to the vector types.
5543         (test-ifloat.o): Likewise.
5544         (test-float-finite.o): Likewise.
5545         (test-double.o): Likewise
5546         (test-idouble.o): Likewise.
5547         (test-double-finite.o): Likewise.
5548         (test-ldouble.o): Likewise
5549         (test-ildoubl.o): Likewise.
5550         (test-ldouble-finite.o): Likewise.
5552         (libm-tests): Redefine type tests using foreach and the
5553         list of types in types.
5555         (CPPFLAGS-test-ildoubl.c): Rename to
5556         (CPPFLAGS-test-ildouble.c): New variable
5558         * math/test-ildoubl.c: Rename to
5559         * math/test-ildouble.c: New file.
5561 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5563         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
5564         Use fabsl instead of fabs.
5565         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
5566         Likewise.
5567         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
5568         Add long double suffix to constant to ensure proper
5569         promotion to long double.
5571 2016-08-03  Tom Tromey  <tom@tromey.com>
5573         [BZ #20311]
5574         * nptl_db/Makefile (headers): Add proc_service.h.
5575         * nptl_db/proc_service.h: Add include guard.  Use
5576         __BEGIN/__END_DECLS.
5577         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
5578         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
5579         arguments.
5582 2016-08-03  Florian Weimer  <fweimer@redhat.com>
5584         [BZ #17730]
5585         Avoid using memalign for TCB allocations.
5586         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
5587         (_dl_allocate_tls_storage): Use malloc and manual alignment.
5588         Avoid alignment gap in the TLS_DTV_AT_TP case.
5589         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
5590         determine the pointer to free.
5591         * nptl/tst-tls3-malloc.c: New test.
5592         * nptl/Makefile (tests): Add it.
5593         (tst-tls3-malloc): Link with libdl, libpthread.
5594         (LDFLAGS-tst-tls3-malloc): Set.
5595         (tst-tls3-malloc.out): Depend on DSO used in test.
5597 2016-08-03  Florian Weimer  <fweimer@redhat.com>
5599         [BZ #17730]
5600         Avoid using memalign for TLS allocations.
5601         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
5602         is_static member with to_free member.
5603         (union dtv): Use struct dtv_pointer.
5604         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
5605         dtv_pointer instead of is_static.
5606         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
5607         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
5608         instead of val.
5609         (allocate_dtv_entry): New function.
5610         (allocate_and_init): Return struct dtv_pointer.  Call
5611         allocate_dtv_entry instead of __libc_memalign.
5612         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
5613         instead of val.
5614         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
5615         instead of is_static.  Adjust call to allocate_and_init.
5616         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
5617         struct dtv_pointer instead of val.
5619 2016-08-03  Florian Weimer  <fweimer@redhat.com>
5621         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
5622         (MALLOC_ALIGN_MASK): Move ...
5623         * malloc/malloc-internal.h: ... to here.
5624         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
5626 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
5628         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
5629         (UDP_ENCAP_GTP1U): Likewise.
5631         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
5632         (PF_MAX): Update value.
5633         (AF_QIPCRTR): New macro.
5635 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
5637         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
5638         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5639         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5640         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
5641         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
5642         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
5643         s_truncf-vis3, s_trunc-vis3.
5644         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
5645         (CFLAGS-s_ceil-vis3.c): Likewise.
5646         (CFLAGS-s_floorf-vis3.c): Likewise.
5647         (CFLAGS-s_floor-vis3.c): Likewise.
5648         (CFLAGS-s_truncf-vis3.c): Likewise.
5649         (CFLAGS-s_trunc-vis3.c): Likewise.
5650         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
5651         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
5652         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
5653         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
5654         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
5655         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
5656         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
5657         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
5658         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
5659         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
5660         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
5661         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
5663 2016-08-02  David S. Miller  <davem@davemloft.net>
5665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
5666         (__nearbyint_vis3): Don't check for sNaN before float register is
5667         loaded with the incoming argument.
5668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
5669         (__nearbyintf_vis3): Likewise.
5670         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
5671         Likewise.
5672         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
5673         Likewise.
5675         * string/test-strncmp.c (do_test_limit): Make sure the test data
5676         stream is aligned as required for the type "CHAR".
5677         (do_test): Likewise.
5679 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
5681         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
5682         by beq instructions jumping to the end of the function.
5683         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
5684         clobber list. Use "i" constraint instead of "X".
5685         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
5686         of "X".
5688 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
5690         * bits/libc-header-start.h: New file.
5691         * Makefile (headers): Add bits/libc-header-start.h.
5692         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
5693         (__GLIBC_USE): New macro.
5694         * libio/stdio.h: Define
5695         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5696         <bits/libc-header-start.h> instead of including <features.h>.
5697         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
5698         (open_memstream): Likewise.
5699         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
5700         (__asprintf): Likewise.
5701         (asprintf): Likewise.
5702         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
5703         (getdelim): Likewise.
5704         (getline): Likewise.
5705         * string/string.h: Define
5706         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5707         <bits/libc-header-start.h> instead of including <features.h>.
5708         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
5709         (strndup): Likewise.
5710         * wcsmbs/wchar.h: Define
5711         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5712         <bits/libc-header-start.h> instead of including <features.h>.
5713         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
5714         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
5716 2016-08-02  Florian Weimer  <fweimer@redhat.com>
5718         Support linking against compatibility symbols, for use in tests.
5719         * include/libc-symbols.h (symbol_version_reference): New macro.
5720         (symbol_version): Use it.
5721         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
5722         (compat_symbol): Use compat_symbol_reference.
5723         (compat_symbol_1, compat_symbol_2): Remove.
5724         (compat_symbol_reference, compat_symbol_reference_1)
5725         (compat_symbol_reference_2): New macro.  Use
5726         symbol_version_reference.
5728 2016-08-02  Florian Weimer  <fweimer@redhat.com>
5730         [BZ #19469]
5731         * malloc/Makefile (CPPFLAGS): Compile tests with
5732         -DTEST_NO_MALLOPT.
5733         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
5735 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
5737         [BZ #20033]
5738         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
5739         finite version.
5740         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
5741         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
5742         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
5743         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
5744         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
5745         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
5746         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
5747         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
5748         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
5749         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
5750         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
5751         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
5752         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
5753         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
5754         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
5755         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
5756         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
5757         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
5758         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
5759         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
5760         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
5761         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
5762         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
5763         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
5764         in zero power.
5766 2016-08-02  Florian Weimer  <fweimer@redhat.com>
5768         [BZ #20370]
5769         * malloc/arena.c (get_free_list): Update comment.  Assert that
5770         arenas on the free list have no attached threads.
5771         (remove_from_free_list): New function.
5772         (reused_arena): Call it.
5774 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
5776         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
5777         when it is a NaN.
5778         [_IEEE_FP_INEXACT] Remove.
5779         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
5780         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
5781         when it is a NaN.
5782         [_IEEE_FP_INEXACT] Remove.
5783         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
5784         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
5785         when it is a NaN.
5786         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
5787         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
5788         when its absolute value is greater than 0x1.0p52.
5789         [_IEEE_FP_INEXACT] Remove.
5790         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
5791         when its absolute value is greater than 0x1.0p23.
5792         [_IEEE_FP_INEXACT] Remove.
5794 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
5796         * version.h (RELEASE): Set to "development"
5797         (VERSION): Set to 2.24.90.
5798         * NEWS: Add 2.25 section.
5800         * version.h (RELEASE): Set to "stable"
5801         (VERSION): Set to 2.24.
5802         * include/features.h (__GLIBC_MINOR__): Set to 24.
5804         * NEWS: Add 2.24 fixed bugs.
5805         * po/libc.pot: Regenerate.
5807 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
5809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
5810         [$(subdir) = math] (libm-sysdep_routines): Remove.
5811         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
5812         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
5813         s_truncf-vis3, s_trunc-vis3.
5814         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
5815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
5816         file.
5817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
5818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
5819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
5820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
5821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
5822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
5823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
5824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
5826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
5827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
5828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
5829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
5830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
5831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
5832         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
5833         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5834         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
5835         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
5836         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
5837         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
5838         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
5839         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
5840         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
5841         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
5842         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
5843         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
5844         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
5845         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
5846         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
5847         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
5848         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
5849         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
5850         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
5851         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
5852         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
5853         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
5854         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5855         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5856         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
5857         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
5858         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
5859         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
5861 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
5863         [BZ #20384]
5864         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
5865         test-double-libmvec-sincos-avx-main.o,
5866         test-double-libmvec-sincos-avx2-main.o,
5867         test-double-libmvec-sincos-main.o,
5868         test-float-libmvec-sincosf-avx-main.o,
5869         test-float-libmvec-sincosf-avx2-main.o and
5870         test-float-libmvec-sincosf-main.o.
5871         test-float-libmvec-sincosf-avx512-main.o.
5872         ($(objpfx)test-double-libmvec-sincos): Also link with
5873         $(objpfx)test-double-libmvec-sincos-main.o.
5874         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
5875         $(objpfx)test-double-libmvec-sincos-avx-main.o.
5876         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
5877         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
5878         ($(objpfx)test-float-libmvec-sincosf): Also link with
5879         $(objpfx)test-float-libmvec-sincosf-main.o.
5880         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
5881         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
5882         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
5883         test-double-libmvec-sincos-avx512-main.o and
5884         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
5885         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
5886         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
5887         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
5888         (CFLAGS-test-double-libmvec-sincos.c): Removed.
5889         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
5890         (CFLAGS-test-double-libmvec-sincos-main.c): New.
5891         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
5892         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
5893         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
5894         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
5895         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
5896         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
5897         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
5898         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
5899         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
5900         -DREQUIRE_AVX2.
5901         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
5902         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
5903         -DREQUIRE_AVX512F.
5904         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
5905         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
5906         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
5907         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
5908         file.
5909         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
5910         Likewise.
5911         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
5912         Likewise.
5913         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
5914         Likewise.
5915         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
5916         Likewise.
5917         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
5918         Likewise.
5919         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
5920         Likewise.
5921         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
5922         Likewise.
5924 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
5926         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
5928 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
5930         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
5931         and typo in a comment about AT_HWCAP entry.
5933 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5935         * sysdeps/aarch64/libm-test-ulps: Updated.
5937 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5939         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
5940         of r13 as it is not restored in mvcle case.
5942 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
5944         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
5945         Rename "ret" to "__ret".
5946         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
5947         inline_syscall5, inline_syscall6): Likewise.
5949 2016-07-19   Will Newton  <will.newton@gmail.com>
5951         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
5952         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
5953         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
5954         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
5955         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
5957 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
5959         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
5960         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
5961         -mfpmath=387 with $(rtld-CFLAGS).
5962         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
5963         $(rtld-CFLAGS).
5965 2016-07-18   Ross Burton  <ross.burton@intel.com>
5966              Khem Raj  <raj.khem@gmail.com>
5968         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
5969         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
5970         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
5971         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
5972         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
5973         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
5974         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
5975         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
5976         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
5977         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
5978         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
5979         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
5980         R_METAG_TLS_DTPOFF): New.
5982 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5983             Matt Clay  <mclay@lycos.com>
5985         [BZ #20357]
5986         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
5987         to call __mpsin/__mpcos and to negate values.
5988         * math/auto-libm-test-in: Add test.
5989         * math/auto-libm-test-out: Regenerate.
5991 2016-07-18  Zack Weinberg  <zackw@panix.com>
5993         * grp/Makefile: Don't install the internal header grp-merge.h.
5995 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5997         * sysdeps/aarch64/libm-test-ulps: Regenerated.
5999 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6001         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
6003 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6005         [BZ #15368]
6006         * sysdeps/unix/sysv/linux/nptl-signals.h
6007         (__nptl_clear_internal_signals): New function.
6008         (__libc_signal_block_all): Likewise.
6009         (__libc_signal_block_app): Likewise.
6010         (__libc_signal_restore_set): Likewise.
6011         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
6012         implementation.
6013         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
6014         the cached pid/tid value in pthread structure.
6016 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
6018         [BZ #20347]
6019         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
6021 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
6023         [BZ #20348]
6024         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
6025         preadv64, pwrite64 and pwritev64.
6027 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
6029         [BZ #20350]
6030         * posix/tst-preadwrite.c: Renamed to ...
6031         * posix/tst-preadwrite-common.c: This.
6032         (PREAD): Removed.
6033         (PWRITE): Likewise.
6034         (STRINGIFY): Likewise.
6035         (STRINGIFY2): Likewise.
6036         (do_prepare): Make it static and remove function arguments.
6037         (do_test): Likewise.
6038         (PREPARE): Updated.
6039         (TEST_FUNCTION): New.
6040         (name): Make it static.
6041         (fd): Likewise.
6042         (do_prepare): Use create_temp_file.
6043         (do_test): Renamed to ...
6044         (do_test_with_offset): This.  Make it static and accept offset.
6045         Properly check return value of PWRITE and PREAD.  Return bytes
6046         read.  Don't close fd nor unlink name.
6047         * posix/tst-preadwrite.c: Rewrite.
6048         * posix/tst-preadwrite64.c: Likewise.
6050 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
6052         [BZ #20309]
6053         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
6054         -mtls-dialect=gnu2 works.
6055         * configure: Regenerated.
6056         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
6057         (tests): Add tst-gnu2-tls1.
6058         (modules-names): Add tst-gnu2-tls1mod.
6059         ($(objpfx)tst-gnu2-tls1): New.
6060         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
6061         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
6062         * elf/tst-gnu2-tls1.c: New file.
6063         * elf/tst-gnu2-tls1mod.c: Likewise.
6064         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
6065         bytes for push in the PLT entry to align the stack.
6067 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
6069         [BZ #20349]
6070         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
6072 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6074         [BZ #18707]
6075         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
6076         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
6078 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6080         * sysdeps/unix/sysv/linux/sysdep.h
6081         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
6082         guards.
6083         * misc/tst-preadvwritev-common.c: New file.
6084         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
6085         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
6086         a check for files larger than 2GB.
6088         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6089         (__ASSUME_OFF_DIFF_OFF64): Remove define.
6090         * sysdeps/unix/sysv/linux/pread.c
6091         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
6092         __OFF_T_MATCHES_OFF64_T.
6093         * sysdeps/unix/sysv/linux/pread64.c
6094         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
6095         * sysdeps/unix/sysv/linux/preadv.c
6096         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
6097         * sysdeps/unix/sysv/linux/preadv64.c
6098         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
6099         * sysdeps/unix/sysv/linux/pwrite.c
6100         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
6101         * sysdeps/unix/sysv/linux/pwrite64.c
6102         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
6103         * sysdeps/unix/sysv/linux/pwritev.c
6104         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
6105         * sysdeps/unix/sysv/linux/pwritev64.c
6106         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
6108 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
6110         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6111         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
6113 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
6115         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
6117 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
6119         [BZ #20240]
6120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
6121         (CFLAGS-s_modf-ppc32.c): New variable.
6122         (CFLAGS-s_modff-ppc32.c): Likewise.
6123         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
6124         (CFLAGS-s_modf-ppc64.c): Likewise.
6125         (CFLAGS-s_modff-ppc64.c): Likewise.
6127 2016-07-07  Andreas Schwab  <schwab@suse.de>
6129         [BZ #20263]
6130         * nptl/tst-robust10.c: New test.
6131         * nptl/Makefile (tests): Add tst-robust10.
6133 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
6135         [BZ #20263]
6136         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
6138 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
6140         * sysdeps/s390/linkmap.h (struct link_map_machine):
6141         Remove member gotplt and add member jmprel.
6142         * sysdeps/s390/s390-32/dl-machine.h
6143         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
6144         instead of gotplt with &got[3].
6145         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
6146         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6148 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
6150         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
6152 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6154         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
6155         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
6156         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
6157         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
6158         * libio/vtables.c (_IO_vtable_check)
6159         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
6160         * libio/libioP.h (IO_set_accept_foreign_vtables)
6161         [!PTR_MANGLE]: Do not call PTR_MANGLE.
6163 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
6165         [BZ #20314]
6166         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
6167         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
6168         $(common-objpfx)cmath.
6169         ($(common-objpfx)cstdlib): New target.
6170         ($(common-objpfx)cmath): Likewise.
6172 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
6174         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
6176 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6178         [BZ #20327]
6179         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
6180         are not part of the string.
6182 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6184         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
6185         * nptl/tst-cancel4-common.h (fifoname): New variable.
6186         (fifofd): Likewise.
6187         (cl_fifo): New function.
6188         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
6189         SIGINT.
6190         (tf_open): Add early cancel test.
6192 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
6194         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
6196 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
6198         * sysdeps/generic/ldsodefs.h
6199         (dl_symbol_visibility_binds_local_p): New inline function.
6200         * elf/dl-addr.c (determine_info): Treat hidden and internal
6201         symbols as local.
6202         * elf/dl-lookup.c (do_lookup_x): Likewise.
6203         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
6205 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
6207         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
6208         invalid exception for a sNaN input.
6209         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
6210         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
6211         (__nearbyint_vis3): Likewise
6212         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
6213         (__nearbyintf_vis3): Likewise
6214         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
6215         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
6216         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
6217         Likewise.
6218         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
6219         Likewise.
6221 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
6223         [BZ #20139]
6224         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
6225         (HAVE_AVX512DQ_ASM_SUPPORT): This.
6226         * sysdeps/x86_64/configure.ac: Require assembler from binutils
6227         2.24 or above.
6228         (HAVE_AVX512_ASM_SUPPORT): Removed.
6229         (HAVE_AVX512DQ_ASM_SUPPORT): New.
6230         * sysdeps/x86_64/configure: Regenerated.
6231         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
6232         check unconditional.
6233         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
6234         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6235         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6236         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
6237         Likewise.
6238         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
6239         Likewise.
6240         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
6241         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
6242         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6243         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6244         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
6245         Likewise.
6246         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
6247         Likewise.
6248         * sysdeps/x86_64/multiarch/memset.S: Likewise.
6249         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6250         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
6251         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
6252         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
6253         Likewise.
6254         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
6255         Likewise.
6256         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
6257         Likewise.
6258         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
6259         Likewise.
6260         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
6261         Likewise.
6262         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
6263         Likewise.
6264         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
6265         Likewise.
6266         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
6267         Likewise.
6268         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
6269         Likewise.
6270         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
6271         Likewise.
6272         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
6273         Likewise.
6275 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
6277         [BZ #20024]
6278         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
6279         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
6280         of this implementation of vector function.
6281         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
6282         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
6283         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
6284         Likewise.
6285         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
6286         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
6287         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
6288         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
6289         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
6290         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
6291         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
6292         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
6293         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
6294         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
6295         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
6296         for testing vector sincos with fixed ABI.
6297         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
6298         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
6299         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
6300         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
6301         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
6302         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
6303         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
6304         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
6305         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
6306         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
6307         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
6308         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
6309         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
6310         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
6311         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
6312         * sysdeps/x86_64/fpu/Makefile: Added new tests.
6314 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
6316         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
6318 2016-06-30  Anton Blanchard  <anton@samba.org>
6320         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
6321         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
6322         s_sinf-ppc64.
6323         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
6324         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
6325         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
6326         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
6328 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6330         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6331         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
6332         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
6333         e_expf-ppc64.
6334         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
6335         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
6336         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
6337         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
6339 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
6341         [BZ #20277]
6342         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
6343         when SHARED is defined.
6345 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
6347         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
6348         (index_arch_Prefer_ERMS): Likewise.
6349         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
6350         __memcpy_erms for Prefer_ERMS.
6351         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
6352         (__memmove_erms): Enabled for libc.a.
6353         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
6354         __memmove_erms or Prefer_ERMS.
6355         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
6356         __mempcpy_erms for Prefer_ERMS.
6357         * sysdeps/x86_64/multiarch/memset.S (memset): Return
6358         __memset_erms for Prefer_ERMS.
6360 2016-06-30  Andreas Schwab  <schwab@suse.de>
6362         [BZ #20262]
6363         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
6364         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
6365         of memory.
6367 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
6369         [BZ #18645]
6370         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
6371         (test-extras): Add tst-cleanupx4aux.
6372         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
6373         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
6374         tst-cleanupx4aux.o.
6375         * nptl/tst-cleanupx4aux.c: New file.
6377 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
6379         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
6381 2016-06-29  Andreas Schwab  <schwab@suse.de>
6383         [BZ #20260]
6384         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
6385         address before the beginning of the string as an integer to avoid
6386         array-bounds warning.
6388 2016-06-28  Richard Henderson  <rth@redhat.com>
6390         * elf/elf.h (EM_BPF): New.
6391         (EM_NUM): Update.
6392         (R_BPF_NONE, R_BPF_MAP_FD): New.
6394         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
6395         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
6396         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
6397         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
6398         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
6399         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
6400         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
6401         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
6402         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
6403         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
6404         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
6405         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
6406         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
6407         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
6408         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
6409         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
6410         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
6411         (EM_NUM): Update.
6413 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
6415         [BZ #18960]
6416         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
6417         Set _nl_current_LC_CATEGORY_used to two instead of one.
6419 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
6421         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
6422         (do_test): ... this.
6423         (TEST_FUNCTION): New macro.
6424          Include test-skeleton.c.
6425         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
6426         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
6428 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
6430         [BZ #15479]
6431         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
6432         floating-point environment rather than just control word.
6433         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
6434         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
6435         floating-point environment, with "invalid" exceptions merged in,
6436         rather than just control word.
6437         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
6438         * math/libm-test.inc (trunc_test_data): Do not allow spurious
6439         "inexact" exceptions.
6441         [BZ #15479]
6442         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
6443         floating-point environment rather than just control word.
6444         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
6445         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
6446         floating-point environment, with "invalid" exceptions merged in,
6447         rather than just control word.
6448         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
6449         * math/libm-test.inc (floor_test_data): Do not allow spurious
6450         "inexact" exceptions.
6452         [BZ #15479]
6453         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
6454         floating-point environment rather than just control word.
6455         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
6456         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
6457         floating-point environment, with "invalid" exceptions merged in,
6458         rather than just control word.
6459         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
6460         * math/libm-test.inc (ceil_test_data): Do not allow spurious
6461         "inexact" exceptions.
6463 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
6465         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
6466         __libc_vfork.
6467         (__vfork) [IS_IN (libc)]: Remove alias.
6468         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
6469         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
6470         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
6472 2016-06-24  Torvald Riegel  <triegel@redhat.com>
6474         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
6475         of atomic_compare_and_exchange_bool_rel.
6476         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6477         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
6478         catomic_compare_and_exchange_bool_rel): Remove.
6479         * sysdeps/aarch64/atomic-machine.h
6480         (atomic_compare_and_exchange_bool_rel): Likewise.
6481         * sysdeps/alpha/atomic-machine.h
6482         (atomic_compare_and_exchange_bool_rel): Likewise.
6483         * sysdeps/arm/atomic-machine.h
6484         (atomic_compare_and_exchange_bool_rel): Likewise.
6485         * sysdeps/mips/atomic-machine.h
6486         (atomic_compare_and_exchange_bool_rel): Likewise.
6487         * sysdeps/microblaze/atomic-machine.h
6488         ( __arch_compare_and_exchange_bool_8_rel,
6489         __arch_compare_and_exchange_bool_16_rel): Likewise.
6490         * sysdeps/powerpc/atomic-machine.h
6491         ( __arch_compare_and_exchange_bool_8_rel,
6492         __arch_compare_and_exchange_bool_16_rel): Likewise.
6493         * sysdeps/powerpc/powerpc32/atomic-machine.h
6494         ( __arch_compare_and_exchange_bool_32_rel,
6495         __arch_compare_and_exchange_bool_64_rel): Likewise.
6496         * sysdeps/powerpc/powerpc64/atomic-machine.h
6497         ( __arch_compare_and_exchange_bool_32_rel,
6498         __arch_compare_and_exchange_bool_64_rel): Likewise.
6499         * sysdeps/tile/atomic-machine.h
6500         (atomic_compare_and_exchange_bool_rel): Likewise.
6502 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
6504         [BZ #20296]
6505         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
6506         when either argument is a NaN.
6507         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
6508         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
6510         * math/libm-test.inc (snan_value_ld): New macro.
6511         (isgreater_test_data): Add sNaN tests.
6512         (isgreaterequal_test_data): Likewise.
6513         (isless_test_data): Likewise.
6514         (islessequal_test_data): Likewise.
6515         (islessgreater_test_data): Likewise.
6516         (isunordered_test_data): Likewise.
6517         (nextafter_test_data): Likewise.
6518         (nexttoward_test_data): Likewise.
6519         (remainder_test_data): Likewise.
6520         (remquo_test_data): Likewise.
6521         (significand_test_data): Likewise.
6522         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
6524 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6526         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
6527         environment macros are defined.
6528         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
6530 2016-06-23  Florian Weimer  <fweimer@redhat.com>
6532         [BZ #20191]
6533         Implement vtable verification in libio.
6534         * Makerules (shlib.lds): Place __libc_IO_vtables section.
6535         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
6536         * debug/vdprintf_chk.c (__vdprintf_chk): Call
6537         _IO_new_file_init_internal instead of _IO_file_init.
6538         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
6539         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
6540         * libio/Makefile (routines): Add vtables.
6541         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
6542         (_IO_init): Remove, not for internal use.
6543         (_IO_init_internal): Declare, internal replacement for _IO_init.
6544         (_IO_file_init): Remove, not for internal use.
6545         (_IO_new_file_init): Remove, not for internal use.
6546         (_IO_new_file_init_internal): Declare, internal replacement for
6547         _IO_new_file_init.
6548         (_IO_old_file_init): Remove, not for internal use.
6549         (_IO_old_file_init_internal): Declare, internal replacement for
6550         _IO_old_file_init.
6551         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
6552         internal use.
6553         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
6554         Declare.
6555         (libio_vtable): New macro.
6556         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
6557         functions.
6558         * libio/fileops.c (_IO_new_file_init_internal): Rename from
6559         _IO_new_file_init.
6560         (_IO_new_file_init): New externally visible wrapper which disables
6561         vtable verification.
6562         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
6563         Define as vtables.
6564         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
6565         (_IO_init): New externally visible wrapper which disables
6566         vtable verification.
6567         * libio/iofdopen.c (_IO_new_fdopen): Call
6568         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
6569         comment.
6570         * libio/iofopen.c (__fopen_internal): Call
6571         _IO_new_file_init_internal instead of _IO_file_init.
6572         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
6573         Define as vtables.
6574         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
6575         _IO_new_file_init_internal instead of _IO_file_init.
6576         * libio/iopopen.c (_IO_new_popen): Likewise.
6577         (_IO_proc_jumps): Define as vtable.
6578         * libio/iovdprintf.c (_IO_vdprintf): Call
6579         _IO_new_file_init_internal instead of _IO_file_init.
6580         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
6581         (__open_memstream): Call _IO_init_internal instead of _IO_init.
6582         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
6583         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
6584         _IO_old_file_init.
6585         (_IO_old_file_init): New externally visible wrapper which disables
6586         vtable verification.
6587         (_IO_old_file_jumps): Define as vtable.
6588         * libio/oldiofdopen.c (_IO_old_fdopen): Call
6589         _IO_old_file_init_internal instead of _IO_old_file_init.
6590         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
6591         * libio/oldiopopen.c (_IO_old_popen): Likewise.
6592         (_IO_old_proc_jumps): Define as vtable.
6593         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
6594         Define as vtables.
6595         * libio/vtables.c: New file.
6596         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
6597         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
6598         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
6599         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
6600         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
6601         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
6602         instead of _IO_init.
6604 2016-06-23  Florian Weimer  <fweimer@redhat.com>
6606         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
6608 2016-06-23  Florian Weimer  <fweimer@redhat.com>
6610         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
6611         potentially unused.
6613 2016-06-22  Florian Weimer  <fweimer@redhat.com>
6615         * test-skeleton.c (write_message): New function.
6616         * malloc/tst-mallocfork2.c (write_message): Remove.
6617         * debug/tst-longjmp_chk2.c (write_indented): New function.
6618         (write_message): Remove.
6619         (stackoverflow_handler): Call write_indented.
6621 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
6623         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
6624         "inexact" exceptions after fnstenv.
6625         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
6626         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
6627         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
6629 2015-06-22  Zack Weinberg  <zackw@panix.com>
6631         * sysdeps/generic/bits/hwcap.h: Moved to ...
6632         * bits/hwcap.h: Here.
6634 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
6636         * sysdeps/aarch64/memcpy.S (memcpy):
6637         Further tuning for performance.
6639 2016-06-21  Florian Weimer  <fweimer@redhat.com>
6641         [BZ #20284]
6642         * malloc/arena.c (reused_arena): Do not return NULL if we start
6643         out with a non-corrupted arena.
6645 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6647         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
6648         * misc/tst-preadvwritev.c: New file.
6649         * misc/tst-preadvwritev64.c: Likewise.
6650         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
6651         usage.
6652         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
6653         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
6654         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
6655         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
6657 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
6659         [BZ #19654]
6660         * sysdeps/x86_64/fpu/Makefile: Added new tests.
6661         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
6662         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
6663         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
6664         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
6665         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
6666         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
6667         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
6668         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
6669         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
6670         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
6671         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
6672         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
6673         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
6674         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
6675         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
6676         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
6677         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
6678         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
6679         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
6680         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
6681         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
6682         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
6683         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
6684         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
6685         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
6687 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
6689         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
6690         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
6692 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
6694         * sysdeps/aarch64/memcpy.S (memcpy):
6695         Rewrite of optimized memcpy and memmove.
6696         * sysdeps/aarch64/memmove.S (memmove): Remove
6697         memmove code (merged into memcpy.S).
6699 2016-06-20  Florian Weimer  <fweimer@redhat.com>
6701         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
6702         * sysdeps/generic/dl-dtv.h: New file.
6703         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6704         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
6705         (dtv_t): Remove.
6706         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6707         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
6708         (dtv_t): Remove.
6709         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6710         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
6711         (dtv_t): Remove.
6712         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6713         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
6714         (dtv_t): Remove.
6715         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6716         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
6717         (dtv_t): Remove.
6718         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6719         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
6720         (dtv_t): Remove.
6721         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6722         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
6723         (dtv_t): Remove.
6724         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
6725         (dtv_t): Remove.
6726         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6727         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
6728         (dtv_t): Remove.
6729         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6730         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
6731         (dtv_t): Remove.
6732         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6733         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
6734         (dtv_t): Remove.
6735         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6736         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
6737         (dtv_t): Remove.
6738         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6739         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
6740         (dtv_t): Remove.
6741         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6742         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
6743         (dtv_t): Remove.
6744         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6745         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
6746         (dtv_t): Remove.
6747         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6748         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
6749         (dtv_t): Remove.
6751 2016-06-20  Florian Weimer  <fweimer@redhat.com>
6753         Revert symbol poisoning of  __malloc_initialize_hook.
6754         * include/stdc-predef.h (__malloc_initialize_hook): Remove
6755         poisoning.
6756         * malloc/Makefile: Remove un-poisoning.
6757         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
6758         instead of old__malloc_initialize_hook.
6759         * malloc/malloc-hooks.h: Likewise.
6760         * malloc/malloc.c: Likewise.
6761         * malloc/mcheck-init.c: Likewise.
6763 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
6765         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
6767 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
6769         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
6770         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
6771         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
6772         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
6774 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6776         * NEWS: Mention addition of nextup and nextdown.
6777         * manual/arith.texi: Document nextup and nextdown.
6778         * manual/libm-err-tab.pl: Add nextup and nextdown.
6779         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
6780         * math/Versions (libm): Add GLIBC_2.24.
6781         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
6782         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
6783         Add new test.
6784         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
6785         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
6786         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
6787         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
6788         (nextup_test_data): Likewise.
6789         (nextdown_test_data): Likewise.
6790         * math/s_nextdown.c: New file.
6791         * math/s_nextdownf.c: Likewise.
6792         * math/s_nextdownl.c: Likewise.
6793         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
6794         F(nextup): New function.
6795         F(nextdown): Likewise.
6796         * math/tgmath.h: Add nextup and nextdown.
6797         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
6798         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
6799         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
6800         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
6801         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
6802         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
6803         Add nextup and nextdown.
6804         (CFLAGS-nldbl-nextup.c): New variable.
6805         (CFLAGS-nldbl-nextdown.c): Likewise.
6806         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
6807         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
6808         * sysdeps/nacl/libm.abilist: Update.
6809         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6810         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6811         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6812         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6813         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6814         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6815         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6816         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6817         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6818         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6819         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6820         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
6822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6823         Likewise.
6824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
6825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
6826         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6827         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6828         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6829         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6830         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6831         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
6832         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
6833         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6834         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6835         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
6836         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6838 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6840         * manual/pattern.texi: Fix typos & grammar errors.
6842 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6844         * manual/search.texi: Fix typos & grammar errors.
6846 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6848         * manual/message.texi: Fix typos & grammar errors.
6850 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
6852         * manual/contrib.texi: Fix spelling typos.
6853         * manual/crypt.texi: Likewise.
6854         * manual/filesys.texi: Likewise.
6855         * manual/locale.texi: Likewise.
6856         * manual/message.texi: Likewise.
6857         * manual/nss.texi: Likewise.
6858         * manual/string.texi: Likewise.
6860 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6862         * manual/locale.texi: Fix typos & grammar errors.
6864 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6866         * manual/charset.texi: Fix typos & grammar errors.
6868 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6870         * manual/string.texi: Fix typos.
6872 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6874         * manual/ctype.texi: Fix typos.
6876 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6878         * manual/memory.texi: Fix various typos & grammar errors.
6880 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
6882         [BZ #20255]
6883         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
6884         * math/libm-test.inc (fdim_test_data): Add another test.
6886         [BZ #6796]
6887         [BZ #20255]
6888         [BZ #20256]
6889         * math/s_fdim.c: Include <math_private.h>.
6890         (__fdim): Use math_narrow_eval on result.
6891         * math/s_fdimf.c: Include <math_private.h>.
6892         (__fdimf): Use math_narrow_eval on result.
6893         * sysdeps/i386/fpu/s_fdim.S: Remove file.
6894         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
6895         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
6896         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
6897         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
6898         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
6899         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
6900         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
6901         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
6902         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
6903         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
6904         * math/libm-test.inc (fdim_test_data): Expect errno setting on
6905         overflow.  Add sNaN tests.
6907         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
6908         fpclassify.
6909         * math/s_fdimf.c (__fdimf): Likewise.
6910         * math/s_fdiml.c (__fdiml): Likewise.
6912 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6914         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6915         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
6916         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6917         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
6918         ifunc'ed strcasecmp/strncasecmp.
6919         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
6920         [EALIGN]: Removed.
6921         [END]: Likewise.
6922         [__strcasecmp]: Define instead of the above to control symbol name.
6923         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
6924         for __strcasecmp_power8.
6925         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
6926         for __strncasecmp_power8.
6927         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
6928         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
6929         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
6930         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
6931         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
6932         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
6934 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
6936         [BZ #20252]
6937         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
6938         arguments when second argument is a NaN.
6939         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
6940         qNaN tests.
6942         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
6943         (conj_test_data): Likewise.
6944         (copysign_test_data): Likewise.
6945         (creal_test_data): Likewise.
6946         (fma_test_data): Likewise.
6947         (fmod_test_data): Likewise.
6949         [BZ #20250]
6950         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
6951         itself.
6952         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
6953         zero input to itself.
6954         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
6955         Likewise.
6956         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
6957         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
6958         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
6959         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
6960         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
6962 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6964         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
6965         * nptl/tst-cancel4-common.c: New file.
6966         * nptl/tst-cancel4-common.h: Likewise.
6967         * nptl/tst-cancel4.c: Move common definitions to
6968         tst-cancel4-common.{c,h} file.
6969         * nptl/tst-cancel4_1.c: New test.
6970         * nptl/tst-cancel4_2.c: New test.
6972 2016-06-13  Florian Weimer  <fweimer@redhat.com>
6974         [BZ #20248]
6975         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
6976         (write_message): New function.
6977         (stackoverflow_handler): Call it instead of printf, to avoid
6978         excessive stack usage by printf.
6979         (do_test): Restore SIGSEGV, SIGBUS default handlers.
6981 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6983         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
6984         (prio_inherit_missing): Remove define.
6985         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6986         (__ASSUME_FUTEX_LOCK_PI): Likewise.
6987         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
6988         Likewise.
6989         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6990         (__ASSUME_FUTEX_LOCK_PI): Likewise.
6991         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6992         (__ASSUME_FUTEX_LOCK_PI): Likewise.
6993         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6994         (__ASSUME_FUTEX_LOCK_PI): Likewise.
6996 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
6998         [BZ #19670]
6999         [BZ #19672]
7001         * io/test-lfs.c (do_prepare): Use xmalloc.
7002         * io/tst-fcntl.c (do_prepare): Likewise.
7003         * libio/tst-fopenloc.c (do_bz17916): Likewise.
7004         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
7005         * login/tst-utmp.c (do_prepare): Likewise.
7006         * posix/tst-exec.c (do_prepare): Likewise.
7007         * posix/tst-pathconf.c (prepare): Likewise.
7008         * posix/tst-spawn.c (do_prepare): Likewise.
7009         * posix/tst-truncate.c (do_prepare): Likewise.
7010         * rt/tst-aio.c (do_prepare): Likewise.
7011         * rt/tst-aio64.c (do_prepare): Likewise.
7013 2016-06-11  Florian Weimer  <fweimer@redhat.com>
7015         [BZ #20237]
7016         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
7017         (get*ent): Set entidx to NULL during initialization.  If entidx is
7018         NULL, start iteration from the beginning.
7020 2016-06-11  Florian Weimer  <fweimer@redhat.com>
7022         * malloc/malloc.c (musable): Return correct size for dumped fake
7023         mmapped chunk.
7025 2016-06-11  Florian Weimer  <fweimer@redhat.com>
7027         [BZ #20222]
7028         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
7029         (_IO_cookie_write): Likewise.
7030         (_IO_cookie_seek): Likewise.
7031         (_IO_cookie_close): Likewise.
7032         (_IO_old_cookie_seek): Likewise.
7033         (set_callbacks): New function.
7034         (_IO_cookie_init): Call set_callbacks to copy callbacks.
7036 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
7038         * locale/programs/localedef.c (oldstyle_tables): Remove.
7039         * locale/programs/localedef.h (oldstyle_tables): Likewise.
7041 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
7043         [BZ #20240]
7044         * math/Makefile (CFLAGS-s_modf.c): New variable.
7045         (CFLAGS-s_modff.c): Likewise.
7046         (CFLAGS-s_modfl.c): Likewise.
7047         * math/libm-test.inc (modf_test_data): Add sNaN tests.
7049 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
7051         [BZ #20215]
7052         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
7053         [!__GNUC_PREREQ (3,2)]: Likewise.
7055 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
7057         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
7058         (msghdr.msg_controllen): Likewise.
7059         (cmsghdr.cmsg_len): Likewise.
7060         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
7061         ptw-oldsendmsg.
7062         (CFLAGS-oldrecvmsg.c): Remove rule.
7063         (CFLAGS-oldsendmsg.c): Likewise.
7064         (CFLAGS-recvmsg.c): Add rule.
7065         (CFLAGS-sendmsg.c): Likewise.
7066         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
7067         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
7068         (CFLAGS-recvmsg.c): Remove rule.
7069         (CFLAGS-sendmsg.c): Likewise.
7070         (CFLAGS-oldrecvmsg.c): Likewise.
7071         (CFLAGS-oldsendmsg.c): Likewise.
7072         (CFLAGS-recvmmsg.c): Likewise.
7073         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
7074         to kernel defined interfaces.
7075         (msghdr.msg_controllen): Likewise.
7076         (cmsghdr.cmsg_len): Likewise.
7077         (msghdr.__glibc_reserved1): Remove member.
7078         (msghdr.__glibc_reserved2): Likewise.
7079         (cmsghdr.__glibc_reserved1): Likewise.
7080         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
7081         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
7082         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
7083         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
7084         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
7085         version.
7086         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
7087         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
7088         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
7089         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
7090         Remove recvmsg and sendmsg.
7091         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
7092         Likewise.
7093         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
7094         Likewise.
7095         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
7096         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
7097         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
7098         Likewise.
7099         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
7100         Likewise.
7101         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
7102         [libc] (GLIBC_2.24): Likewise.
7103         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
7104         Likewise.
7105         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
7106         Likewise.
7107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
7108         [libc] (GLIBC_2.24): Likewise.
7109         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
7110         Likewise.
7111         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
7112         Likewise.
7113         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
7114         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
7115         Likewise.
7116         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
7117         Likewise.
7118         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
7119         Likewise.
7120         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
7121         Likewise.
7122         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
7123         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
7124         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
7125         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
7126         version for {recv,send,recm,sendm}msg.
7127         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7128         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7129         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7130         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7131         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7132         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7133         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7134         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7135         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7136         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7137         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7138         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7140         Likewise.
7141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7142         Likewise.
7143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7145         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7146         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7147         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7148         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7149         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7150         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7151         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
7152         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
7153         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7154         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7155         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7157 2016-06-10  Florian Weimer  <fweimer@redhat.com>
7159         [BZ #19564]
7160         Remove __malloc_initialize_hook from the API.
7161         * malloc/malloc.h (__malloc_initialize_hook): Remove.
7162         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
7163         #pragma GCC poison.
7164         * malloc/malloc-hooks.h: New file.
7165         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
7166         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
7167         (old__malloc_initialize_hook): Rename from
7168         __malloc_initialize_hook to evade poisoning.  Turn into compat
7169         symbol.
7170         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
7171         __malloc_initialize_hook.
7172         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
7173         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
7174         * manual/memory.texi (Hooks for Malloc): Remove
7175         __malloc_initialize_hook.  Adjust hook example.
7177 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
7179         [BZ #20235]
7180         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
7181         itself.
7182         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
7183         * math/libm-test.inc (log2_test_data): Add sNaN tests.
7185         [BZ #20234]
7186         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
7187         infinity or NaN input to itself.
7189         [BZ #20233]
7190         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
7191         to itself.
7193         [BZ #20232]
7194         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
7195         itself.
7197 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
7199         * sysdeps/x86_64/start.S (_start): Always indirect branch to
7200         __libc_start_main via GOT.
7202 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
7204         * sysdeps/x86_64/memcopy.h: New file.
7205         * sysdeps/x86_64/wordcopy.c: Likewise.
7207 2016-06-09  Florian Weimer  <fweimer@redhat.com>
7209         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
7210         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
7211         <cstdlib>.
7212         (optimization_barrier): New.
7213         (do_test): Use it.  Call quick_exit in the global namespace.
7214         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
7215         instead of <cstdlib>, <thread>.
7216         (optimization_barrier): New.
7217         (non_main_thread): Adjust declaration.  Call optimization_barrier.
7218         Call quick_exit in the global namespace.
7219         (do_test): Call optimization_barrier.  Use pthread_create,
7220         pthread_join instead of std::thread.
7222 2016-06-09  Andreas Schwab  <schwab@suse.de>
7224         [BZ #19755]
7225         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
7226         new entries in auto-propagate mode.
7227         * nscd/grpcache.c (cache_addgr): Likewise.
7229 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
7231         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
7232         New functions.
7233         (add_temp_file): Use them.
7235 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
7237         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
7239 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
7241         [BZ #20229]
7242         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
7243         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
7244         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
7246         [BZ #20228]
7247         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
7248         itself.
7249         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
7250         * math/libm-test.inc (log10_test_data): Add sNaN tests.
7252         [BZ #20227]
7253         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
7254         itself.
7255         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7256         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
7257         * math/libm-test.inc (log_test_data): Add sNaN tests.
7259         [BZ #20226]
7260         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
7261         itself.
7262         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
7263         * math/libm-test.inc (exp_test_data): Add sNaN tests.
7264         (exp10_test_data): Likewise.
7265         (expm1_test_data): Likewise.
7267         [BZ #20225]
7268         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
7269         itself.
7270         * math/s_ldexpf.c (__ldexpf): Likewise.
7271         * math/s_ldexpl.c (__ldexpl): Likewise.
7272         * math/w_scalbln.c (__w_scalbln): Likewise.
7273         * math/w_scalblnf.c (__w_scalblnf): Likewise.
7274         * math/w_scalblnl.c (__w_scalblnl): Likewise.
7275         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
7276         (scalbln_test_data): Likewise.
7278         [BZ #20224]
7279         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
7280         argument to itself.
7281         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
7283 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
7285         [BZ #19776]
7286         * sysdeps/x86_64/memcpy.S: Make it dummy.
7287         * sysdeps/x86_64/mempcpy.S: Likewise.
7288         * sysdeps/x86_64/memmove.S: New file.
7289         * sysdeps/x86_64/memmove_chk.S: Likewise.
7290         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
7291         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
7292         * sysdeps/x86_64/memmove.c: Removed.
7293         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
7294         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
7295         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
7296         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
7297         Likewise.
7298         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7299         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7300         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7301         memcpy-sse2-unaligned, memmove-avx-unaligned,
7302         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
7303         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7304         (__libc_ifunc_impl_list): Replace
7305         __memmove_chk_avx512_unaligned_2 with
7306         __memmove_chk_avx512_unaligned.  Remove
7307         __memmove_chk_avx_unaligned_2.  Replace
7308         __memmove_chk_sse2_unaligned_2 with
7309         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
7310         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
7311         with __memmove_avx512_unaligned.  Replace
7312         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
7313         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
7314         with __memcpy_chk_avx512_unaligned.  Remove
7315         __memcpy_chk_avx_unaligned_2.  Replace
7316         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
7317         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
7318         Replace __memcpy_avx512_unaligned_2 with
7319         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
7320         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
7321         with __mempcpy_chk_avx512_unaligned.  Remove
7322         __mempcpy_chk_avx_unaligned_2.  Replace
7323         __mempcpy_chk_sse2_unaligned_2 with
7324         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
7325         Replace __mempcpy_avx512_unaligned_2 with
7326         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
7327         Replace __mempcpy_sse2_unaligned_2 with
7328         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
7329         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
7330         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
7331         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
7332         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
7333         (ENTRY): Removed.
7334         (END): Likewise.
7335         (ENTRY_CHK): Likewise.
7336         (libc_hidden_builtin_def): Likewise.
7337         Don't include ../memcpy.S.
7338         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
7339         __memcpy_chk_avx512_unaligned_erms and
7340         __memcpy_chk_avx512_unaligned.  Use
7341         __memcpy_chk_avx_unaligned_erms and
7342         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
7343         Default to __memcpy_chk_sse2_unaligned.
7344         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
7345         Change function suffix from unaligned_2 to unaligned.
7346         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
7347         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
7348         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
7349         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
7350         (ENTRY): Removed.
7351         (END): Likewise.
7352         (ENTRY_CHK): Likewise.
7353         (libc_hidden_builtin_def): Likewise.
7354         Don't include ../mempcpy.S.
7355         (mempcpy): New.  Add a weak alias.
7356         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
7357         __mempcpy_chk_avx512_unaligned_erms and
7358         __mempcpy_chk_avx512_unaligned.  Use
7359         __mempcpy_chk_avx_unaligned_erms and
7360         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
7361         Default to __mempcpy_chk_sse2_unaligned.
7363 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
7365         [BZ #19881]
7366         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
7367         into ...
7368         * sysdeps/x86_64/memset.S: This.
7369         (__bzero): Removed.
7370         (__memset_tail): Likewise.
7371         (__memset_chk): Likewise.
7372         (memset): Likewise.
7373         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
7374         defined.
7375         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
7376         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
7377         (__memset_zero_constant_len_parameter): Check SHARED instead of
7378         PIC.
7379         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7380         memset-avx2 and memset-sse2-unaligned-erms.
7381         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7382         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
7383         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
7384         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
7385         (__bzero): Enabled.
7386         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
7387         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
7388         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
7389         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
7390         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
7391         (memset): Removed.
7392         (__memset_chk): Likewise.
7393         (MEMSET_SYMBOL): New.
7394         (libc_hidden_builtin_def): Replace __memset_sse2 with
7395         __memset_sse2_unaligned.
7396         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
7397         __memset_chk_sse2 and __memset_chk_avx2 with
7398         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
7399         Use __memset_chk_sse2_unaligned_erms or
7400         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
7401         __memset_chk_avx512_unaligned_erms and
7402         __memset_chk_avx512_unaligned.
7404 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7406         * math/gen-auto-libm-test.c (fp_format_desc): remove
7407         suffix member.
7408         (output_generic_value): Remove usage of suffix member,
7409         and the resulting unuse of the fp_format argument.
7410         (output_for_one_input_case): Remove unused fp_format
7411         parameter.
7413         * math/auto-libm-test-out: Regenerate.
7415         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
7416         usage with TEST_COND_ibm128.
7417         (TEST_COND_flt_32): Remove.
7418         (TEST_COND_dbl_64): Remove.
7419         (TEST_COND_ldbl_96_intel): Remove.
7420         (TEST_COND_ldbl_96_m68k): Remove.
7421         (TEST_COND_ldbl_128): Remove.
7423 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7425         * auto-libm-test-in:
7426         Replace flt-32 usage with binary32.
7427         Replace dbl-64 usage with binary64.
7428         Replace ldbl-intel-96 usage with intel96.
7429         Replace ldbl-m68k-96 usage with m68k96.
7430         Replace ldbl-128ibm usage with ibm128.
7431         Replace ldbl-128 usage with binary128.
7433         * auto-libm-test-out: Regenerate.
7435 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7437         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
7438         (parse_ulps): Dynamically generate type name matching
7439         string from all_floats.
7440         (get_ulps): Generate the ulps as an array instead.
7441         (output_ulps): Dynamically compose the type based
7442         on the number of supported formats, and print
7443         the indices as type specific helper macros.
7445         * math/libm-test.inc: Remove comment about CHOOSE.
7446         (ulp_data): Generate the type in libm-test-ulps.h.
7447         (ULP_IDX): New macro.
7448         (find_ulps): Update usage of max_ulp.
7450         * math/test-double-vlen2.h (CHOOSE): Remove.
7451         * math/test-double-vlen4.h (CHOOSE): Likewise.
7452         * math/test-double-vlen8.h (CHOOSE): Likewise.
7453         * math/test-float.c (CHOOSE): Likewise.
7454         * math/test-float-finite.c (CHOOSE): Likewise.
7455         * math/test-double.c (CHOOSE): Likewise.
7456         * math/test-double-finite.c (CHOOSE): Likewise.
7457         * math/test-idouble.c (CHOOSE): Likewise.
7458         * math/test-ifloat.c (CHOOSE): Likewise.
7459         * math/test-ildoubl.c (CHOOSE): Likewise.
7460         * math/test-ldouble-finite.c (CHOOSE): Likewise.
7461         * math/test-ldouble.c (CHOOSE): Likewise.
7463         * math/test-float.h (TEST_FLOAT): Remove.
7464         * math/test-double.h (TEST_DOUBLE): Likewise.
7465         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
7467 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7469         * math/gen-libm-test.pl: (apply_lit): New subroutine.
7470         (parse_args): Strip C suffix from floating point literals
7471         typed with 'f' and wrap them with LIT().
7473         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
7474         (test_ff_f_data_nexttoward): Rename to
7475         (test_fj_f_data): New struct.
7476         (nexttoward_test_data): Relabel tests as
7477         TEST_fj_f instead of TEST_ff_f.
7479 2016-06-08  Florian Weimer  <fweimer@redhat.com>
7481         Emacs bug 23726.
7482         * malloc/malloc.c (dumped_main_arena_start): Update comment.
7483         (__libc_realloc): Correct size computation for dumped fake mmapped
7484         chunks.
7486 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
7488         [BZ #20219]
7489         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
7490         to itself.
7491         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
7493         [BZ #20218]
7494         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
7495         to itself.
7496         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
7498 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
7500         [BZ #20195]
7501         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
7502         check to ...
7503         (init_cpu_features): Here.
7505 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
7507         [BZ #20214]
7508         * sysdeps/unix/sysv/linux/bits/in.h
7509         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
7510          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
7511         Define to 1.
7512         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
7513          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
7514         Define to 0.
7515         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
7516         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
7518 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
7520         [BZ #20198]
7521         * stdlib/Makefile (tests): Add tst-quick_exit, and
7522         tst-thread-quick_exit.
7523         [ifeq ($(have-cxx-thread_local),yes)]
7524         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
7525         (CFLAGS-tst-thread-quick_exit.o): Likewise.
7526         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
7527         (LDLIBS-tst-thread-quick_exit): Likewise.
7528         [ifneq ($(have-cxx-thread_local),yes)]
7529         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
7530         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
7531         If run_dtors is true call __call_tls_dtors.
7532         (exit): Call __run_exit_handlers with run_dtors set to true.
7533         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
7534         definition.
7535         * stdlib/quick_exit.c (quick_exit): Remove function.
7536         (__new_quick_exit): New function.
7537         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
7538         function.
7539         * stdlib/tst-quick_exit.cc: New file.
7540         * stdlib/tst-thread-quick_exit.cc: New file.
7541         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
7542         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
7543         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
7544         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
7545         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
7546         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
7547         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
7548         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
7549         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
7550         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
7551         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
7552         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
7553         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
7554         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
7555         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
7556         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
7557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
7558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
7559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
7560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
7561         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
7562         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
7563         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
7564         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
7565         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
7566         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
7567         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
7568         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
7569         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
7570         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
7572 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
7574         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
7575         a typo in comments.
7577 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
7579         [BZ #20213]
7580         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
7581         argument to itself.
7582         * math/libm-test.inc (asin_test_data): Add sNaN tests.
7584 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7586         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
7587         required flags.
7588         (CFLAGS-pwritev64.c): Likewise.
7589         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
7590         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
7591         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
7592         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
7593         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
7594         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
7595         syscall from auto-generation.
7596         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
7597         [WORDSIZE == 64] (pwritev64): Remove macro.
7598         [!PWRITEV] (PWRITEV): Likewise.
7599         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
7600         [!PWRITEV] (PWRITE): Likewise.
7601         [!PWRITEV] (OFF_T): Likewise.
7602         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
7603         (LO_HI_LONG): Remove macro.
7604         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
7605         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
7606         (PWRITEV): Remove macro.
7607         (PWRITEV_REPLACEMENTE): Likewise.
7608         (PWRITE): Likewise.
7609         (OFF_T): Likewise.
7610         (pwritev64): New function.
7611         * nptl/tst-cancel4.c (tf_writev): Add test.
7613         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
7614         required flags.
7615         (CFLAGS-preadv64.c): Likewise.
7616         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
7617         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
7618         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
7619         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
7620         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
7621         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
7622         syscall from auto-generation.
7623         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
7624         [WORDSIZE == 64] (preadv64): Remove macro.
7625         [!PREADV] (PREADV): Likewise.
7626         [!PREADV] (PREADV_REPLACEMENT): Likewise.
7627         [!PREADV] (PREAD): Likewise.
7628         [!PREADV] (OFF_T): Likewise.
7629         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
7630         (LO_HI_LONG): Remove macro.
7631         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
7632         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
7633         (PREADV): Remove macro.
7634         (PREADV_REPLACEMENTE): Likewise.
7635         (PREAD): Likewise.
7636         (OFF_T): Likewise.
7637         (preadv64): New function.
7638         * nptl/tst-cancel4.c (tf_preadv): Add test.
7640 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
7642         [BZ #20212]
7643         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
7644         argument to itself.
7645         * math/libm-test.inc (acos_test_data): Add sNaN tests.
7647 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7649         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
7650         New symbol defined as libc_hidden_def.
7651         (strcasestr): Became a weak alias to __strcasestr.
7652         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
7653         according to multi-arch support.  Move __stpncpy hidden
7654         definition from here to...
7655         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
7656         symbol stpncpy.
7657         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
7658         libc_hidden_builtin_def.
7659         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
7660         memset symbol to use when multi-arch support is available.
7662 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
7664         * dlfcn/tst-rec-dlopen.c: Include string.h.
7666 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
7668         * manual/install.texi: Remove mention of --without-tls
7669         * INSTALL: Regenerate.
7671 2016-06-05  Florian Weimer  <fweimer@redhat.com>
7673         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
7674         Remove.
7675         (call_function, interposed_malloc_called): New variables.
7676         (malloc): New function.
7677         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
7678         and clear call_function as needed.
7680 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
7682         * include/wchar.h (__wmemset): Use __typeof.
7684 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
7686         * include/wchar.h (__wmemset): Declare function without typeof.
7688 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
7690         [BZ #20205]
7691         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
7692         exponent when incrementing negative subnormal with low mantissa
7693         word zero.
7694         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
7695         Add another test.
7697 2016-06-03  Florian Weimer  <fweimer@redhat.com>
7699         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
7700         __wmemset instead of wmemset.
7702 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
7704         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
7705         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
7706         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
7707         __USE_KERNEL_IPV6_DEFS to 0.
7708         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
7709         Update comment.
7711 2016-06-01  Florian Weimer  <fweimer@redhat.com>
7713         [BZ #19861]
7714         Do not use IFUNC resolver with potentially unrelocated symbol.
7715         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
7716         (DEFINE_FORK): Remove macro and inline definition.
7717         (fork_alias): Renamed from fork_ifunc.
7718         (__fork_alias): Renamed from __fork_ifunc.
7720 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
7722         [BZ 19653]
7723         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
7724         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
7726 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7728         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
7729         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
7730         i386-linux-gnu).
7731         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
7732         Set to no.
7733         * sysdeps/mach/hurd/configure: Refresh.
7735 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7737         [BZ #20178]
7738         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
7739         on failure instead of exit.
7741 2016-05-30  Roland McGrath  <roland@hack.frob.com>
7743         [BZ #3629]
7744         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
7745         of POSIX.1-2008.
7747 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7749         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
7750           Use PLT entry for calling _hurd_self_sigstate.
7752 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
7754         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
7755         available logical processors with SMT level type sharing L2
7756         cache for Intel processors.
7758 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
7760         [BZ #20160]
7761         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
7762         argument to itself before returning the result.
7763         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
7764         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
7765         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
7766         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
7767         Likewise.
7768         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
7769         Likewise.
7770         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
7771         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
7772         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
7773         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
7774         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
7775         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
7777         [BZ #20160]
7778         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
7779         argument to itself before returning the result.
7780         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
7781         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
7782         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
7783         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
7784         Likewise.
7785         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7786         Likewise.
7787         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
7788         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
7789         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
7790         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
7791         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
7792         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
7794 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7796         * libm-test.inc: Replace usage of M_El with
7797         (lit_e): New macro.
7799 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7801         * libm-test.inc: Replace usage of M_PI_4l with
7802         (lit_pi_4_d): New macro.
7804 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7806         * libm-test.inc: Replace usage of M_PIl with
7807         (lit_pi): New macro.
7809 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7811         * libm-test.inc: Replace usage of M_PI2l with
7812         (lit_pi_2_d): New macro.
7814         * math/test-double.h (LITM): New macro.
7815         * math/test-float.h (LITM): Likewise.
7816         * math/test-ldouble.h (LITM): Likewise.
7818 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7820         * libm-test.inc (M_PI_34l): Rename to
7821         (lit_pi_3_m_4_d): New Macro.
7822         (M_PI_34_LOG10El): Rename to
7823         (lit_pi_3_m_4_ln10_m_d): New Macro.
7824         (M_PI2_LOG10El): Rename to
7825         (lit_pi_2_ln10_m_d):  New Macro.
7826         (M_PI4_LOG10El): Rename to
7827         (lit_pi_4_ln10_m_d):  New Macro.
7828         (M_PI_LOG10El): Rename to
7829         (lit_pi_ln10_d):  New Macro.
7831 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
7833         [BZ #20157]
7834         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
7835         determine whether to negate low half if [_ARCH_PPCGR], and integer
7836         comparison otherwise.
7837         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
7838         determine whether to negate low half.
7840         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
7841         (NO_TEST_INLINE_DOUBLE): Likewise.
7842         (TEST_COND_x86_64): Likewise.
7843         (TEST_COND_x86): Likewise.
7844         (M_PI_6l): Likewise.
7846 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7848         * math/libm-test.inc:
7849         (TEST_FLOAT): Change usage to TEST_COND_binary32.
7850         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
7851         (TEST_LDOUBLE): Update usage to evaluate as true if
7852         the guarded tests match the property being tested.
7853         (LDBL_MAX_EXP): Change to MAX_EXP.
7854         (LDBL_MIN_EXP): Change to MIN_EXP.
7855         (LDBL_MANT_DIG): Change to MANT_DIG, except for
7856         nexttoward tests.
7858 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7860         * math/libm-test.inc:
7861         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
7862         (TYPE_MIN): Likewise.
7863         (TYPE_TRUE_MIN): Likewise.
7864         (TYPE_MAX): Likewise.
7865         (MIN_EXP): Likewise.
7866         (MAX_EXP): Likewise.
7867         (MANT_DIG): Likewise.
7869         (FSTR_MAX): New macro.
7870         (__CONCATX): Likewise.
7871         (QTYPE_STR): Likewise.
7872         (TEST_COND_binary32): Likewise.
7873         (TEST_COND_binary64): Likewise.
7874         (TEST_COND_binary128): Likewise.
7875         (TEST_COND_ibm128): Likewise.
7876         (TEST_COND_intel96): Likewise.
7877         (TEST_COND_m68k96): Likewise.
7879         (TEST_COND_flt_32): Redefine as equivalent format test macro.
7880         (TEST_COND_dbl_64): Likewise.
7881         (TEST_COND_ldbl_96_intel): Likewise.
7882         (TEST_COND_ldbl_96_m68k): Likewise.
7883         (TEST_COND_ldbl_128): Likewise.
7884         (TEST_COND_ldbl_128ibm): Likewise.
7886         (plus_zero): Redefine using LIT macro.
7887         (minus_zero): Likewise.
7888         (plus_infty): Redefine as (INF).
7889         (minux_infty): Redefine as (-INF).
7890         (max_value): Redefine as TYPE_MAX.
7891         (min_value): Redefine as TYPE_MIN.
7892         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
7894         (print_float): Refactor to use snprintf to convert FLOAT values
7895         to string. This brings it closer to dropin replacement of strtof
7896         for the TS 18661 defined types.
7897         (update_stats): Likewise.
7898         (print_complex_function_ulps): Likewise.
7899         (print_max_error): Likewise.
7900         (print_complex_max_error): Likewise.
7901         (check_float_internal): Likewise.
7903         * math/test-float.h (PREFIX): New macro.
7904         (LIT): Likewise.
7905         (TYPE_STR): Likewise.
7906         (FTOSTR): Likewise.
7908         * math/test-double.h (PREFIX): New macro.
7909         (LIT): Likewise.
7910         (TYPE_STR): Likewise.
7911         (FTOSTR): Likewise.
7913         * math/test-ldouble.h (PREFIX): New macro.
7914         (LIT): Likewise.
7915         (TYPE_STR): Likewise.
7916         (FTOSTR): Likewise.
7918 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
7920         [BZ #20156]
7921         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
7922         to itself when zero or not finite.
7923         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
7924         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
7925         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
7926         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
7928 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
7930         [BZ #20153]
7931         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
7932         x * x + x for infinities and NaNs.
7934         [BZ #20151]
7935         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
7936         argument to itself before returning result.
7937         (__ieee754_y0l): Likewise.
7938         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
7939         (__ieee754_y1l).
7941         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
7942         (atan_test_data): Likewise.
7943         (ceil_test_data): Likewise.
7944         (cos_test_data): Likewise.
7945         (cosh_test_data): Likewise.
7946         (erf_test_data): Likewise.
7947         (exp2_test_data): Likewise.
7948         (fabs_test_data): Likewise.
7949         (floor_test_data): Likewise.
7950         (ilogb_test_data): Likewise.
7951         (j0_test_data): Likewise.
7952         (j1_test_data): Likewise.
7953         (jn_test_data): Likewise.
7954         (lgamma_test_data): Likewise.
7955         (lrint_test_data): Likewise.
7956         (llrint_test_data): Likewise.
7957         (logb_test_data): Likewise.
7958         (lround_test_data): Likewise.
7959         (llround_test_data): Likewise.
7960         (nearbyint_test_data): Likewise.
7961         (rint_test_data): Likewise.
7962         (round_test_data): Likewise.
7963         (sin_test_data): Likewise.
7964         (sincos_test_data): Likewise.
7965         (sinh_test_data): Likewise.
7966         (sqrt_test_data): Likewise.
7967         (tan_test_data): Likewise.
7968         (tanh_test_data): Likewise.
7969         (tgamma_test_data): Likewise.
7970         (trunc_test_data): Likewise.
7971         (y0_test_data): Likewise.
7972         (y1_test_data): Likewise.
7973         (yn_test_data): Likewise.
7975         * math/libm-test.inc: Update comment about NaN testing.
7976         (TEST_SNAN): New macro.
7977         (snan_value): Likewise.
7978         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
7979         (fpclassify_test_data): Add sNaN tests.
7980         (isfinite_test_data): Likewise.
7981         (isinf_test_data): Likewise.
7982         (isnan_test_data): Likewise.
7983         (isnormal_test_data): Likewise.
7984         (issignaling_test_data): Likewise.
7985         (signbit_test_data): Likewise.
7986         * math/gen-libm-test.pl (%beautify): Add snan_value.
7987         (show_exceptions): Add argument $test_snan.
7988         (parse_args): Handle snan_value as non-finite.  Update call to
7989         show_exceptions.
7990         * math/Makefile (libm-test-no-inline-cflags): Add
7991         -fsignaling-nans.
7993 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7995         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
7996         (CFLAGS-oldsendmsg.c): Add rule.
7997         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
7998         Correct recvmsg symbol name.
7999         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
8000         Likewise.
8002 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8004         * sysdeps/unix/sysv/linux/Makefile
8005         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
8006         oldsendmmsg.
8007         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
8008         sendmmsg.
8009         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8010         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8011         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8012         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8014         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8015         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8016         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
8017         Likewise.
8018         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8019         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
8020         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
8021         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
8022         iovlen and controllen fields to adjust to POSIX specification.
8023         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
8025         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
8026         and change to correct expected type.
8027         (msghdr.msg_controllen): Likewise.
8028         (cmsghdr.cmsg_len): Likewise.
8029         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
8030         expected POSIX assumption about the size.
8031         (msghdr.msg_controllen): Likewise.
8032         (msghdr.__glibc_reserved1): Likewise.
8033         (msghdr.__glibc_reserved2): Likewise.
8034         (cmsghdr.cmsg_len): Likewise.
8035         (cmsghdr.__glibc_reserved1): Likewise.
8036         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
8037         Add ptw-oldrecvmsg and ptw-oldsendmsg.
8038         (CFLAGS-sendmsg.c): Remove rule.
8039         (CFLAGS-recvmsg.c): Likewise.
8040         (CFLAGS-oldsendmsg.c): Add rule.
8041         (CFLAGS-oldrecvmsg.c): Likewise.
8042         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
8043         recvmsg and sendmsg.
8044         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
8045         Likewise.
8046         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
8047         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
8048         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
8049         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
8050         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
8051         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
8052         Likewise.
8053         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
8054         Likewise.
8055         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
8056         Likewise.
8057         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
8058         Likewise.
8059         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
8060         Likewise.
8061         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
8062         Likewise.
8063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
8064         (GLIBC_2.24): Likewise.
8065         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
8066         Likewise.
8067         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
8068         Likewise.
8069         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
8070         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
8071         Likewise.
8072         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
8073         Likewise.
8074         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
8075         Likewise.
8076         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
8077         (GLIBC_2.24): Likewise.
8078         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
8079         Likewise.
8080         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
8081         Likewise.
8082         * sysdeps/unix/sysv/linux/Makefile
8083         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
8084         (CFLAGS-sendmsg.c): Add rule.
8085         (CFLAGS-recvmsg.c): Likewise.
8086         (CFLAGS-oldsendmsg.c): Likewise.
8087         (CFLAGS-oldrecvmsg.c): Likewise.
8088         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
8089         initialization.
8090         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
8091         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
8092         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
8093         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
8094         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
8095         iovlen and controllen fields to adjust to POSIX specification.
8096         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
8097         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
8098         added recvmsg and sendmsg.
8099         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8100         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8101         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8102         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8103         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8104         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8105         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8106         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8107         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8108         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8109         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8110         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
8111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8112         Likewise.
8113         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
8114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8115         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8116         Likewise.
8117         Likewise.
8118         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8119         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8120         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8121         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8122         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8123         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8124         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
8125         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8126         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
8127         Likewise.
8128         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8129         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8131         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
8132         from auto-generation.
8133         (sendmsg): Likewise.
8134         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
8135         (sendmsg): Likewise.
8136         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
8137         (sendmsg): Likewise.
8138         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
8139         (sendmsg): Likewise.
8140         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
8141         (sendmsg): Likewise.
8142         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
8143         (sendmsg): Likewise.
8144         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
8145         Likewise.
8146         (sendmsg): Likewise.
8147         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
8148         (sendmsg): Likewise.
8149         * sysdeps/unix/sysv/linux/i386/kernel-features.h
8150         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8151         Remove.
8152         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8153         Likewise.
8154         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8155         Undefine.
8156         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8157         Likewise.
8158         * sysdeps/unix/sysv/linux/kernel-features.h
8159         (__ASSUME_SENDMSG_SYSCALL): Define.
8160         (__ASSUME_RECVMSG_SYSCALL): Likewise.
8161         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8162         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8163         Remove.
8164         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8165         Likewise.
8166         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8167         Undefine.
8168         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8169         Likewise.
8170         * sysdeps/unix/sysv/linux/s390/kernel-features.h
8171         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8172         Remove.
8173         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8174         Likewise.
8175         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8176         Undefine.
8177         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8178         Likewise.
8179         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8180         (__ASSUME_SENDMSG_SYSCALL): Undefine.
8181         (__ASSUME_RECVMSG_SYSCALL): Likewise.
8182         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8183         (__ASSUME_SENDMSG_SYSCALL): Likewise.
8184         (__ASSUME_RECVMSG_SYSCALL): Likewise.
8185         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8186         (__ASSUME_SENDMSG_SYSCALL): Likewise.
8187         (__ASSUME_RECVMSG_SYSCALL): Likewise.
8189 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8191         * stdlib/gen-tst-strtod-round.c: Add backslash to
8192         compile command in comment.
8193         (printfp): Remove the literal suffix, and define an infinite
8194         value as INF to avoid expansion clash with INFINITY.
8195         (round_str): Remove the literal suffix.
8196         (round_for_all): Likewise, remove the now duplicate ldbl-64
8197         entry, and remove some magic constants.
8199         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
8200         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
8201         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
8202         (_CONCAT): New macro.
8203         (CONCAT): Likewise.
8204         (CHOOSE_ld): Likewise.
8205         (CHOOSE_f): Likewise.
8206         (CHOOSE_d): Likewise.
8207         (FTYPE_MEMBER): Likewise.
8208         (BOOL_MEMBER): Likewise.
8209         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
8210         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
8211         (_XNTRY): Likewise.
8212         (XNTRY): Likewise.
8213         (_ENTRY): Likewise.
8214         (ENTRY): Likewise.
8215         (test_exactness): Generate members via macro.
8216         (test_results): Likewise.
8217         (test): Update members.
8218         (TEST): Redefine using new macros.
8219         (INF): New macro.
8220         (fetestmodes): New structure.
8221         (do_test): Refactor to be type generic.
8222         (test_in_one_mode): Refactor duplicate code into
8223         (GEN_ONE_TEST): New macro.
8225         * stdlib/tst-strtod-round-data.h: Regenerate.
8227         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
8228         Extend to pass additional arbitrary parameters to
8229         generators.
8231 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
8233         [BZ #15479]
8234         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
8235         floating-point state after first floating-point operation on
8236         input.  Restore full floating-point state instead of just rounding
8237         mode.
8238         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
8239         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
8240         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
8241         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
8242         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
8244         [BZ #15479]
8245         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
8246         floating-point state after first floating-point operation on
8247         input.  Restore full floating-point state instead of just rounding
8248         mode.
8249         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
8250         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
8251         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
8252         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
8253         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
8255 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8257         [BZ #19727]
8258         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
8259         valid high surrogate.
8260         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
8261         of an utf16 surrogate.
8262         * iconv/gconv_simple.c (BODY): Likewise.
8263         * iconvdata/bug-iconv12.c: New file.
8264         * iconvdata/Makefile (tests): Add bug-iconv12.
8266 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8268         [BZ #19726]
8269         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
8270         outptrp in case of an illegal input.
8271         * iconv/tst-iconv6.c: New file.
8272         * iconv/Makefile (tests): Add tst-iconv6.
8274 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8276         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
8277         an error in case of a value in range of an utf16 low surrogate.
8279 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8281         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
8282         an error in case of a value in range of an utf16 low surrogate.
8284 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8286         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
8287         Move to ...
8288         * sysdeps/s390/Makefile: ... here.
8289         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
8290         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
8291         (BRANCH_ON_COUNT): New define.
8292         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
8293         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
8294         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
8295         run on s390-32, too.
8296         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
8297         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
8298         run on s390-32, too.
8299         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
8300         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
8301         run on s390-32, too.
8303 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8305         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
8306         etf3eh or new vector loop-variant.
8308 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8310         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
8311         etf3eh or new vector loop-variant.
8313 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8315         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
8316         or new vector loop-variant.
8318 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8320         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
8321         Rename to TR_LOOP and usage of tr instead of troo instruction.
8323 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8325         * sysdeps/s390/multiarch/gconv_simple.c: New File.
8326         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
8328 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8330         * sysdeps/s390/multiarch/8bit-generic.c: New File.
8331         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
8332         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
8333         New override define.
8334         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
8336 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8338         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
8339         * sysdeps/s390/configure.ac: Add test for S390 vector register
8340         support in gcc.
8341         * sysdeps/s390/configure: Regenerated.
8343 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8345         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
8346         Install file from $(objpfx)gconv-modules.
8347         ($(objpfx)gconv-modules): Concatenate architecture specific file
8348         in variable sysdeps-gconv-modules and gconv-modules in src dir.
8349         * sysdeps/s390/gconv-modules: New file.
8350         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
8351         Deleted.
8352         ($(objpfx)gconv-modules-s390): Deleted.
8353         (sysdeps-gconv-modules): New variable.
8355 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
8357         [BZ #15479]
8358         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
8359         of immediate operand to rounding instruction.
8360         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
8361         Likewise.
8362         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
8363         Likewise.
8364         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
8365         Likewise.
8367 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8369         * math/libm-test.inc (MIN_EXP): Directly define as
8370         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
8372 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8374         * math/libm-test.inc (MANT_DIG): Directly define as
8375         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
8377 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8379         * stdlib/gen-tst-strtod-round.c (main):
8380           Change usage to more closely match the generated
8381           output.  Add usage and compilation instructions.
8382           (string_to_fp): Add and use FILE* parameter as
8383           output target.
8384           (print_fp): Likewise.
8385           (round_str): Likewise.
8386           (round_for_all): Likewise.
8387         * stdlib/tst-strtod-round.c (tests): Move into
8388         * stdlib/tst-strtod-round-data.h: New file.
8390 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
8392         [BZ #15479]
8393         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
8394         (__round): Do not force "inexact" exception.
8395         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
8396         variable.
8397         (__round): Do not force "inexact" exception.
8398         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
8399         (__roundf): Do not force "inexact" exception.
8400         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
8401         (__roundl): Do not force "inexact" exception.
8402         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
8403         (__roundl): Do not force "inexact" exception.
8404         * math/libm-test.inc (round_test_data): Do not allow spurious
8405         "inexact" exceptions.
8407         [BZ #15479]
8408         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
8409         exception in comment.
8410         (huge): Remove variable.
8411         (__floor): Do not force "inexact" exception.
8412         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
8413         "inexact" exception in comment.
8414         (huge): Remove variable.
8415         (__floor): Do not force "inexact" exception.
8416         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
8417         exception in comment.
8418         (huge): Remove variable.
8419         (__floorf): Do not force "inexact" exception.
8420         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
8421         exception in comment.
8422         (huge): Remove variable.
8423         (__floorl): Do not force "inexact" exception.
8425         [BZ #15479]
8426         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
8427         exception in comment.
8428         (huge): Remove variable.
8429         (__ceil): Do not force "inexact" exception.
8430         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
8431         "inexact" exception in comment.
8432         (huge): Remove variable.
8433         (__ceil): Do not force "inexact" exception.
8434         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
8435         (__ceilf): Do not force "inexact" exception.
8436         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
8437         exception in comment.
8438         (huge): Remove variable.
8439         (__ceill): Do not force "inexact" exception.
8441 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
8443         * config.h.in (BIND_NOW): New.
8444         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
8445         * configure: Regenerated.
8446         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
8447         indirect branch via the GOT slot.
8449 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8451         [BZ #19765]
8452         * sysdeps/s390/mempcpy.S: New File.
8453         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
8454         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
8455         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8456         Add mempcpy variants.
8457         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
8458         (memcpy): Adjust to be usable from mempcpy entry point.
8459         (__memcpy_mvcle): Likewise.
8460         * sysdeps/s390/s390-64/memcpy.S: Likewise.
8461         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
8462         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
8463         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
8464         (__memcpy_z10): Likewise.
8465         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
8467 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8469         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
8470         Remove __GI_ symbol.
8471         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
8472         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
8473         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
8474         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
8475         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
8476         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
8478 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8480         * sysdeps/s390/s390-64/memcpy.S (memcpy):
8481         Use cghi instead of chi to compare 64bit value.
8483 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8485         * sysdeps/s390/s390-32/memcpy.S (memcpy):
8486         Jump to 1MB check before executing mvc-loop.
8488 2016-05-24  Florian Weimer  <fweimer@redhat.com>
8490         [BZ #6527]
8491         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
8492         unconditionally.
8493         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
8495 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8497         * stdlib/tst-strtod6.c (do_test): Use new type generic
8498         invocation of the test function.
8499         (test): Refactor into ...
8500         (TEST_STRTOD): New macro base function.
8502 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8504         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
8505         (TEST_STRTOD): New macro.
8506         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
8508 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8510         * stdlib/tst-strtod6.c (do_test): Use new type generic
8511         invocation of the test function.
8512         (test): Refactor into ...
8513         (TEST_STRTOD): New macro base function.
8515 2016-05-23  Florian Weimer  <fweimer@redhat.com>
8517         CVE-2016-4429
8518         [BZ #20112]
8519         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
8520         payload.
8522 2016-05-23  Florian Weimer  <fweimer@redhat.com>
8524         [BZ #20111]
8525         * bits/sockaddr.h (_SS_SIZE): Define.
8526         * bits/socket.h (_SS_SIZE): Remove.
8527         (_SS_PADSIZE): Adjust to account for all padding.
8528         (struct sockaddr_storage): Update comment.  Avoid implicit
8529         padding.
8530         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
8531         (_SS_PADSIZE): Adjust to account for all padding.
8532         (struct sockaddr_storage): Update comment.  Avoid implicit
8533         padding.
8534         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
8535         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
8536         (_SS_PADSIZE): Adjust to account for all padding.
8537         (struct sockaddr_storage): Update comment.  Avoid implicit
8538         padding.
8539         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
8540         __SS_SIZE is 126 in this version.
8541         * inet/tst-sockaddr.c: New file.
8542         * inet/Makefile (tests): Add tst-sockaddr.c
8543         (tst-sockaddr.c): Compile with non-strict aliasing.
8545 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
8547         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
8548         [XPG3 || XPG4].
8549         (NL_ARGMAX): Also expect for [XPG3].
8550         (NL_LANGMAX): Likewise.
8551         (NL_MSGMAX): Likewise.
8552         (NL_NMAX): Likewise.
8553         (NL_SETMAX): Likewise.
8554         (NL_TEXTMAX): Likewise.
8555         (NZERO): Likewise.
8556         (TMP_MAX): Likewise.
8557         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
8558         variable.
8560         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
8561         (PF_MAX): Update value.
8562         (AF_KCM): New macro.
8563         (SOL_NETBEUI): Likewise.
8564         (SOL_LLC): Likewise.
8565         (SOL_DCCP): Likewise.
8566         (SOL_NETLINK): Likewise.
8567         (SOL_TIPC): Likewise.
8568         (SOL_RXRPC): Likewise.
8569         (SOL_PPPOL2TP): Likewise.
8570         (SOL_BLUETOOTH): Likewise.
8571         (SOL_PNPIPE): Likewise.
8572         (SOL_RDS): Likewise.
8573         (SOL_IUCV): Likewise.
8574         (SOL_CAIF): Likewise.
8575         (SOL_ALG): Likewise.
8576         (SOL_NFC): Likewise.
8577         (SOL_KCM): Likewise.
8578         (MSG_BATCH): New enum value and macro.
8580 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
8582         [BZ #18185]
8583         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
8584         sharing L2 cache to 2 for Knights Landing.
8586 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
8588         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
8589         (FTW_DP): Do not expect for [XPG3 || XPG4].
8590         (FTW_SL): Do not expect for [XPG3].
8591         (FTW_SLN): Likewise.
8592         (FTW_PHYS): Likewise.
8593         (FTW_MOUNT): Likewise.
8594         (FTW_DEPTH): Likewise.
8595         (FTW_CHDIR): Likewise.
8596         (nftw): Likewise.
8597         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
8598         variable.
8600 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
8602         * manual/errno.texi: Fix various typos & grammar errors.
8604 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
8606         * manual/intro.texi: Fix duplicated typo.
8608 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
8610         [BZ #13304]
8611         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
8612         <float.h>, <math_private.h> and <stdlib.h>.
8613         (add_split): New function.
8614         (mul_split): Likewise.
8615         (ext_val): New typedef.
8616         (store_ext_val): New function.
8617         (mul_ext_val): New function.
8618         (compare): New function.
8619         (add_split_ext): New function.
8620         (__fmal): After checking for Inf, NaN and zero, compute result as
8621         an exact sum of scaled double values in round-to-nearest before
8622         adding those up and adjusting for other rounding modes.
8623         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
8624         tests of fma.
8625         * math/auto-libm-test-out: Regenerated.
8627 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
8629         [BZ #20119]
8630         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
8631         processor level type mask for CPUID with EAX == 11.
8633 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
8635         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
8636         logical threads if the HTT bit is 0.
8637         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
8638         (index_cpu_HTT): Likewise.
8639         (reg_HTT): Likewise.
8641 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
8643         [BZ #20115]
8644         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
8645         Remove alignments on jump targets.
8647 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
8649         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
8650         (getpwent): Likewise.
8651         (setpwent): Likewise.
8652         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
8653         variable.
8655         * conform/data/search.h-data (insque): Do not expect for [XPG3].
8656         (remque): Likewise.
8657         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
8658         variable.
8660 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
8662         * math/libm-test.inc: Update comment not to refer to signs of NaNs
8663         not being tested.
8665 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
8667         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
8668         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
8669         call.
8670         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
8671         (__condvar_cleanup1): Likewise.
8673 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
8675         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
8676         New
8677         (__pthread_unwind): Renamed to ...
8678         (PTHREAD_UNWIND): This.
8679         (__pthread_enable_asynccancel): Replace
8680         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
8682 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
8684         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
8685         (CLONE_NEWCGROUP): New macro.
8687         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
8688         (Q_GETNEXTQUOTA): New macro.
8690 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
8692         [BZ #19907]
8693         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
8694         buffer updated by the previous run.
8695         * string/test-memcpy.c (do_one_test): Likewise.
8696         * benchtests/bench-memmove.c (do_one_test): Add a comment.
8697         * string/test-memmove.c (do_one_test): Likewise.
8699 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
8701         [BZ #20094]
8702         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
8703         not [__USE_XOPEN].
8704         (unlockpt): Likewise.
8705         (ptsname): Likewise.
8706         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
8707         variable.
8709         [BZ #20076]
8710         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
8711         instead of [__USE_UNIX98].
8712         (S_ISSOCK): Likewise.
8713         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
8714         variable.
8716         [BZ #20074]
8717         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
8718         [__USE_POSIX].
8719         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
8720         variable.
8722         [BZ #20051]
8723         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
8724         (ttyslot): Do not declare.
8725         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
8726         (ttyslot): New prototype.
8727         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
8728         variable.
8729         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8731 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8733         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
8735 2016-05-13  Florian Weimer  <fweimer@redhat.com>
8737         Fix race condition in tst-mallocfork2, use fewer resources.
8738         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
8739         to current process group.
8740         (signal_sender): Yield in the non-sleeping case.
8742 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
8744         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
8745         (ecvt): Likewise.
8746         (fcvt): Likewise.
8747         (gcvt): Likewise.
8748         (getsubopt): Likewise.
8749         (grantpt): Likewise.
8750         (initstate): Likewise.
8751         (l64a): Likewise.
8752         (mktemp): Likewise.
8753         (mkstemp): Likewise.
8754         (ptsname): Likewise.
8755         (random): Likewise.
8756         (realpath): Likewise.
8757         (setstate): Likewise.
8758         (srandom): Likewise.
8759         (ttyslot): Likewise.
8760         (unlockpt): Likewise.
8761         (valloc): Likewise.
8763         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
8764         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
8765         variable.
8767 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
8769         [BZ #20072]
8770         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
8771         init_cpu_features only if SHARED is defined.
8772         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
8774 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
8776         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
8777         non-inclusive caches on Intel processors.
8779 2016-05-13  Florian Weimer  <fweimer@redhat.com>
8781         * malloc/malloc.c (dumped_main_arena_start)
8782         (dumped_main_arena_end): New variables.
8783         (DUMPED_MAIN_ARENA_CHUNK): New macro.
8784         (do_check_chunk): Skip dumped fake mmapped chunks.
8785         (munmap_chunk): Likewise.
8786         (__libc_free): Do not adjust statistics for fake mmapped chunks.
8787         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
8788         mmapped chunks.
8789         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
8790         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
8791         and dumped_main_arena_end to cover the dumped heap.
8793 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
8795         * conform/data/time.h-data (getdate_err): Do not expect for
8796         [XPG3].
8797         (getdate): Likewise.
8798         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
8799         variable.
8801         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
8802         (F_ULOCK): Likewise.
8803         (F_TEST): Likewise.
8804         (F_TLOCK): Likewise.
8805         (useconds_t): Likewise.
8806         (intptr_t): Do not expect for [XPG3] or [XPG4].
8807         (brk): Do not expect for [XPG3]
8808         (fchown): Likewise.
8809         (fchdir): Likewise.
8810         (ftruncate): Likewise.
8811         (getdtablesize): Likewise.
8812         (gethostid): Likewise.
8813         (getpagesize): Likewise.
8814         (getpgid): Likewise.
8815         (getsid): Likewise.
8816         (getwd): Likewise.
8817         (lchown): Likewise.
8818         (lockf): Likewise.
8819         (readlink): Likewise.
8820         (sbrk): Likewise.
8821         (setpgrp): Likewise.
8822         (setregid): Likewise.
8823         (setreuid): Likewise.
8824         (symlink): Likewise.
8825         (sync): Likewise.
8826         (truncate): Likewise.
8827         (ualarm): Likewise.
8828         (usleep): Likewise.
8829         (vfork): Likewise.
8830         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
8831         variable.
8833         [BZ #20054]
8834         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
8835         not [__USE_UNIX98].
8836         * conform/data/unistd.h-data (gethostname): Do not expect for
8837         [XPG3].
8839         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
8840         [!POSIX] (S_IFBLK): Likewise.
8841         [!POSIX] (S_IFCHR): Likewise.
8842         [!POSIX] (S_IFIFO): Likewise.
8843         [!POSIX] (S_IFREG): Likewise.
8844         [!POSIX] (S_IFDIR): Likewise.
8845         [!POSIX] (S_IFLNK): Likewise.
8846         [!POSIX] (S_IFSOCK): Likewise.
8847         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
8848         variable.
8849         (test-xfail-XPG4/fcntl.h/conform): Likewise.
8851 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
8853         * sysdeps/aarch64/memset.S (__memset):
8854         Rewrite of optimized memset.
8856 2016-05-12  Florian Weimer  <fweimer@redhat.com>
8858         [BZ #19703]
8859         Partially async-signal-safe fork for single-threaded processes.
8860         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
8861         variable.  Do not acquire and reset/release malloc and libio locks
8862         in single-threaded processes.
8863         * malloc/tst-mallocfork2.c: New file.
8864         * malloc/Makefile (tests): Add it.
8866 2016-05-12  Florian Weimer  <fweimer@redhat.com>
8868         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
8869         argument.  Use scratch buffer instead of extend_alloca.
8870         (gethosts): Use scratch buffer instead of extend_alloca.
8871         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
8872         extend_alloca.
8873         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
8875 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
8877         [BZ #20055]
8878         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
8879         instead of [__USE_UNIX98].
8880         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
8881         [__USE_UNIX98].
8882         * conform/data/termios.h-data (tcgetsid): Do not expect for
8883         [XPG3].
8884         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
8885         variable.
8886         (test-xfail-XPG4/termios.h/conform): Likewise.
8888 2016-05-11  Florian Weimer  <fweimer@redhat.com>
8890         Do not use mcheck in localedef.
8891         * locale/programs/localedef.c (turn_on_mcheck)
8892         (__malloc_initialize_hook): Remove.
8894 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8896         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
8897         * sysdeps/s390/s390-64/Makefile: Likewise.
8899 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
8901         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
8902         Remove ifunc-defines.sym.
8903         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
8904         Likewise.
8905         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
8906         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
8907         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
8908         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
8909         rtld-global-offsets.sym.
8910         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
8911         * sysdeps/x86/cpu-features-offsets.sym: This.
8912         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
8913         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
8915 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
8917         [BZ #20073]
8918         * io/sys/stat.h (fchmod): Declare for
8919         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
8920         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
8921         variable.
8923         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
8924         [XPG3] (S_IFSOCK): Likewise.
8925         [XPG3] (S_ISVTX): Likewise.
8926         [XPG3] (S_ISLNK): Likewise.
8927         [XPG3] (S_ISSOCK): Likewise.
8928         [XPG3] (fchmod): Likewise.
8929         [XPG3] (lstat): Likewise.
8930         [XPG3] (mknod): Likewise.
8932         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
8933         [XPG3].  Expect type long and XFAIL for [XPG4].
8934         (st_blocks): Likewise.
8936         [BZ #20044]
8937         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
8938         (pthread_atfork): New prototype.
8939         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
8940         variable.
8942         [BZ #20043]
8943         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
8944         prototype.
8946 2016-05-10  Florian Weimer  <fweimer@redhat.com>
8948         [BZ #20017]
8949         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
8950         gmtime.
8952 2016-05-10  Florian Weimer  <fweimer@redhat.com>
8954         [BZ #19994]
8955         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
8956         flag in _res.options.
8958 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
8960         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
8961         [XPG3 || XPG4].
8962         (blksize_t): Likewise.
8963         (clockid_t): Likewise.
8964         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
8965         variable.
8966         (test-xfail-XPG4/sys/types.h/conform): Likewise.
8968 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
8970         * sysdeps/unix/sysv/linux/s390/init-first.c:
8971         Add VDSO_SYMBOL(getcpu).
8972         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
8973         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
8974         Add VDSO_SYMBOL(getcpu).
8975         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
8976         New define HAVE_GETCPU_VSYSCALL.
8977         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8979 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
8981         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
8982         instead of <sysdeps/x86_64/cacheinfo.c>.
8983         * sysdeps/x86_64/cacheinfo.c: Moved to ...
8984         * sysdeps/x86/cacheinfo.c: Here.
8986 2016-05-04  Florian Weimer  <fweimer@redhat.com>
8988         * malloc/malloc-internal.h: Adjust header file guard.
8990 2016-05-04  Florian Weimer  <fweimer@redhat.com>
8992         [BZ #19787]
8993         * inet/getnameinfo.c (check_sprintf_result): New function.
8994         (CHECKED_SNPRINTF): New macro.
8995         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
8996         to the host buffer.
8997         (gni_host_local): Use checked_copy to copy the host name.
8998         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
8999         (gni_serv_local): Use checked_copy to copy the service name.
9000         (getnameinfo): Remove unnecessary truncation of result buffers.
9002 2016-05-04  Florian Weimer  <fweimer@redhat.com>
9004         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
9005         in case of inet_ntop failure.
9007 2016-05-04  Florian Weimer  <fweimer@redhat.com>
9009         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
9010         avoid long lines.
9011         (gni_host_inet_numeric): Likewise.  Reduce scope of local
9012         variables.
9013         (gni_host_inet, gni_host_local): Add comment.
9014         (gni_host): Add comment.  Use temporary to avoid long lines.
9016 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9018         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
9019         registers specifiers where general purpose registers specifiers should
9020         have been used.
9022 2016-05-04  Florian Weimer  <fweimer@redhat.com>
9024         [BZ #19779]
9025         CVE-2016-1234
9026         Avoid copying names of directory entries.
9027         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
9028         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
9029         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
9030         (struct readdir_result): New type.
9031         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
9032         (GL_READDIR): New macros.
9033         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
9034         (convert_dirent, convert_dirent64): New functions.
9035         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
9036         convert_dirent64.  Adjust references to the readdir result.
9037         * sysdeps/unix/sysv/linux/i386/glob64.c:
9038         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
9039         * posix/bug-glob2.c (LONG_NAME): Define.
9040         (filesystem): Add LONG_NAME.
9041         (my_DIR): Increase the size of room_for_dirent.
9043 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
9045         [BZ #20041]
9046         * misc/sys/select.h (__need_timespec): Only define if
9047         [__USE_XOPEN2K].
9048         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
9049         variable.
9050         (test-xfail-XPG4/utmpx.h/conform): Likewise.
9051         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
9052         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
9054 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9055             Segher Boessenkool  <segher@gcc.gnu.org>
9057         [BZ #20004]
9058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
9059         (__novec_swapcontext): Add missing load.
9061 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
9063         [BZ #20023]
9064         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
9065         <time.h>.
9066         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
9067         variable.
9068         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
9070 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
9073         flags CLONE_VM compare.
9075 2016-05-02  Florian Weimer  <fweimer@redhat.com>
9077         [BZ #20031]
9078         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
9079         completely empty.
9081 2016-05-02  Florian Weimer  <fweimer@redhat.com>
9083         [BZ #19573]
9084         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
9085         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
9086         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
9087         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
9088         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
9089         (hesiod_free_list): Mark as hidden.
9090         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
9091         res_set, res_get.
9092         * hesiod/hesiod.c: Remove unnecessary forward declarations.
9093         (init, __hesiod_res_get, __hesiod_res_set): Remove.
9094         (hesiod_init): Remove obsolete res_ninit call.
9095         (hesiod_end): Do not free resolver state.  Do not invoke callback.
9096         (hesiod_bind): Do not call init.
9097         (get_txt_records): Use res_mkquery, res_send instead of
9098         res_nmkquery, res_nsend.
9099         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
9100         instead of _nss_hesiod_init.
9101         (_nss_hesiod_initgroups_dyn): Likewise.
9102         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
9103         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
9104         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
9106 2016-05-02  Florian Weimer  <fweimer@redhat.com>
9108         * hesiod/hesiod_p.h (DEF_RHS): Remove.
9109         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
9111 2016-05-02  Florian Weimer  <fweimer@redhat.com>
9113         * hesiod/hesiod.h: Remove RCS keyword.
9114         * hesiod/hesiod_p.h: Likewise.
9116         * hesiod/hesiod.c: Likewise.
9118 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
9120         [BZ #12450]
9121         * locale/iso-639.def: Add Samogitian/sgs.
9123 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
9125         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
9127         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
9129 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
9130             Carlos O'Donell  <carlos@redhat.com>
9132         [BZ #19072]
9133         * grp/Makefile (headers): Add grp-merge.h
9134         (routines): Add grp-merge.
9135         * grp/getgrgid_r.c: Include grp-merge.h.
9136         (DEEPCOPY_FN): Define.
9137         (MERGE_FN): Define.
9138         * grp/getgrname_r.c: Include grp-merge.h.
9139         (DEEPCOPY_FN): Define.
9140         (MERGE_FN): Define.
9141         * grp/grp-merge.c: New file.
9142         * grp/grp-merge.h: New file.
9143         * include/grp-merge.h: New file.
9144         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
9145         __copy_grp@GLIBC_PRIVATE.
9146         * manual/nss.texi (Actions in the NSS configuration): Describe
9147         return, continue, and merge.
9148         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
9149         (DEEPCOPY_FN): Define.
9150         (MERGE_FN): Define.
9151         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
9152         (DEEPCOPY_FN): Define.
9153         (MERGE_FN): Define.
9154         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
9155         [!MERGE_FN]: Define __merge_einval.
9156         (CHECK_MERGE): Define.
9157         (REENTRANT_NAME): Process merge if do_merge is true.
9158         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
9159         (__nss_getent_r): Likewise.
9160         * nss/nsswitch.c (nss_parse_service_list): Likewise.
9161         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
9163 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9165         [BZ #20012]
9166         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
9167         length to calculate the buffer to read.
9168         (fmemopen_write): Set the buffer position based on bytes written.
9169         (fmemopen_seek): Return EINVAL for invalid whence modes.
9171         [BZ #19957]
9172         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
9173         tst-getpid2.
9174         (test): Add tst-clone2.
9175         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
9176         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
9177         pid/tid fields for CLONE_VM.
9178         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
9179         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
9180         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
9181         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
9182         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
9183         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
9184         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
9185         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
9186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
9187         Likewise.
9188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9189         Likewise.
9190         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
9191         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
9192         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
9193         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
9194         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
9195         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
9196         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
9197         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
9199 2016-04-29  Florian Weimer  <fweimer@redhat.com>
9201         [BZ #19642]
9202         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
9203         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
9204         (gni_serv_local, gni_serv): New functions extracted from
9205         getnameinfo.
9206         (getnameinfo): Call gni_host and gni_serv to perform the
9207         processing.  Always free scratch buffer.
9209 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9211         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
9212         remaining bytes in the dest string, with zeros.
9214 2016-04-29  Florian Weimer  <fweimer@redhat.com>
9216         [BZ #20010]
9217         CVE-2016-3706
9218         * sysdeps/posix/getaddrinfo.c
9219         (convert_hostent_to_gaih_addrtuple): New function.
9220         (gethosts): Call convert_hostent_to_gaih_addrtuple.
9221         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
9222         AF_INET data.
9224 2016-04-29  Florian Weimer  <fweimer@redhat.com>
9226         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
9227         callback function gl_readdir.
9228         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
9229         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
9230         (glob_in_dir): Remove len.  Use strdup instead of malloc and
9231         memcpy to copy the name.
9232         * manual/pattern.texi (Calling Glob): Document requirements for
9233         implementations of the gl_readdir callback function.
9234         * manual/examples/mkdirent.c: New example.
9235         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
9236         per the manual guidance.
9237         * posix/tst-gnuglob.c (my_readdir): Likewise.
9239 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
9241         [BZ #20014]
9242         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
9243         not [__USE_POSIX].
9244         (getchar_unlocked): Likewise.
9245         (putc_unlocked): Likewise.
9246         (putchar_unlocked): Likewise.
9247         (flockfile): Likewise.
9248         (ftrylockfile): Likewise.
9249         (funlockfile): Likewise.
9250         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
9251         variable.
9252         (test-xfail-XPG4/stdio.h/conform): Likewise.
9254         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
9255         Expect constant.
9256         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
9257         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
9258         variable.
9259         (test-xfail-XPG4/langinfo.h/conform): Likewise.
9260         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
9262         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
9263         [__USE_LARGEFILE64] (off64_t): Likewise.
9264         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
9265         variable.
9267 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9269         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
9271 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9273         * resolv/inet_addr.c: Reindent preprocessor conditionals.
9274         * resolv/res_init.c: Likewise.
9275         * resolv/res_mkquery.c: Likewise.
9277 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9279         * resolv/res_init.c (isascii): Do not define.  Use definition in
9280         <ctype.h>.
9281         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
9282         (LOG_AUTH): Remove.
9283         (SPRINTF): Remove, adjust caller.
9284         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
9286 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9288         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
9289         SUNSECURITY conditional.
9290         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
9292 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9294         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
9295         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
9296         Remove BSD-related preprocessor conditionals.
9297         * conf/portability.h: Remove.
9299 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9301         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
9302         * resolv/res_data.c: Likewise.
9304 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9306         * resolv/res_comp.c: Remove code conditional on __ultrix__.
9307         * resolv/res_data.c: Remove code conditional on ultrix.
9309 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9311         * resolv/res_init.c (RFC1535): Do not define.  Remove
9312         RFC1535 preprocessor conditionals.
9313         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
9314         because there configuration options which make the resolver
9315         behavior different.
9317 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9319         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
9320         RESOLVSORT preprocessor conditionals.
9321         * resolv/nss_dns/dns-host.c: Likewise.
9322         * resolv/res_init.c: Likewise.
9324 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9326         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
9327         is never defined.
9329 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9331         * inet/inet_lnaof.c: Remove SCSS keyword.
9332         * inet/inet_mkadr.c: Likewise.
9333         * inet/inet_net.c: Likewise.
9334         * inet/inet_netof.c: Likewise.
9335         * inet/rcmd.c: Likewise.
9336         * inet/rexec.c: Likewise.
9337         * inet/ruserpass.c: Likewise.
9339 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9341         * resolv/inet_addr.c: Remove _LIBC conditionals.
9342         * resolv/res_data.c: Likewise.
9343         * resolv/res_init.c: Likewise.
9344         * resolv/res_mkquery.c: Likewise.
9345         * resolv/res_libc.c: Update comment.
9346         * resolv/README: Update.
9348 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9350         * resolv/gethnamaddr.c: Remove SCSS keyword.
9351         * resolv/herror.c: Likewise.
9352         * resolv/inet_addr.c: Likewise.
9353         * resolv/inet_net_ntop.c: Likewise.
9354         * resolv/inet_net_pton.c: Likewise.
9355         * resolv/inet_neta.c: Likewise.
9356         * resolv/inet_ntop.c: Likewise.
9357         * resolv/inet_pton.c: Likewise.
9358         * resolv/ns_date.c: Remove RCS keyword.
9359         * resolv/ns_name.c: Likewise.
9360         * resolv/ns_netint.c: Likewise.
9361         * resolv/ns_parse.c: Likewise.
9362         * resolv/ns_print.c: Likewise.
9363         * resolv/ns_samedomain.c: Likewise.
9364         * resolv/ns_ttl.c: Likewise.
9365         * resolv/nsap_addr.c: Likewise.
9366         * resolv/res_comp.c: Remove SCSS and RCS keyword.
9367         * resolv/res_data.c: Remove RCS keyword.
9368         * resolv/res_debug.c: Remove SCSS and RCS keyword.
9369         * resolv/res_init.c: Likewise.
9370         * resolv/res_mkquery.c: Likewise.
9371         * resolv/res_query.c: Likewise.
9372         * resolv/res_send.c: Likewise.
9374 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
9376         * conform/data/stdio.h-data (fdopen): Expect also for
9377         [XPG3 || XPG4].
9379         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
9380         (fseeko): Likewise.
9381         (ftello): Likewise.
9382         (ftrylockfile): Likewise.
9383         (funlockfile): Likewise.
9384         (getc_unlocked): Likewise.
9385         (getchar_unlocked): Likewise.
9386         (putc_unlocked): Likewise.
9387         (putchar_unlocked): Likewise.
9389 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9391         [BZ #19868]
9392         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
9393         DNS packet syntax checks (which were not needed before).  Skip
9394         over non-PTR records.
9396 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9398         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
9399         definition.  Include <stddef.h> instead.
9401 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9403         [BZ #19831]
9404         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
9405         function.
9406         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
9407         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
9409 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9411         [BZ #19862]
9412         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
9413         (getanswer_r): Do not call syslog.
9414         (gaih_getanswer_slice): Likewise.
9415         * resolv/gethnamaddr.c (AskedForGot): Remove.
9416         (getanswer): Do not call syslog.
9417         (gethostbyaddr): Likewise.
9419 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
9421         * conform/data/signal.h-data (union sigval): Expect also if
9422         [XOPEN2K].
9423         (struct sigevent): Likewise.
9424         (SIGEV_NONE): Likewise.
9425         (SIGEV_SIGNAL): Likewise.
9426         (SIGEV_THREAD): Likewise.
9427         (SIGRTMIN): Likewise.
9428         (SIGRTMAX): Likewise.
9429         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
9430         variable.
9431         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
9433 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9435         [BZ #19830]
9436         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
9437         (gaih_getanswer_slice): Likewise.
9438         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
9439         Also check for availability of RR metadata.
9441 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9443         [BZ #19825]
9444         * resolv/res_send.c (send_vc): Remove early *resplen2
9445         initialization.  Set *resplen2 on socket error.  Call
9446         close_and_return_error for other errors.
9448 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
9450         * sysdeps/unix/sysv/linux/netiucv/iucv.h
9451         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
9452         (SCM_IUCV_TRGCLS): New define.
9454 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9456         [BZ #20005]
9457         * libio/fmemopen.c (fmemopen_write): Update internal position after
9458         write.
9459         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
9460         * stdio-common/tst-fmemopen4.c: New file..
9462 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
9464         [BZ #19996]
9465         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
9466         not [__USE_XOPEN2K].
9467         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
9468         variable.
9470         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
9471         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
9472         variable.
9474         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
9475         [__USE_XOPEN2K8].
9476         [__USE_LARGEFILE64] (off64_t): Likewise.
9477         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
9478         variable.
9480 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
9482         [BZ #19989]
9483         * libio/stdio.h (cuserid): Do not declare if
9484         [__USE_XOPEN2K && !__USE_GNU].
9485         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
9486         variable.
9488 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9490         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9491         (sysdep_routines): Add P8 and PPC64 strcspn targets.
9492         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9493         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
9494         ifunc'ed strcspn.
9495         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
9496         [EALIGN]: Removed.
9497         [END]: Likewise
9498         [STRSPN]: Define instead of the above to control symbol name.
9499         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
9500         New file.
9501         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
9502         Likewise.
9503         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
9504         Likewise.
9505         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
9506         Likewise.
9507         * sysdeps/powerpc/powerpc64/power8/strspn.S:
9508         [INITIAL_MASK]: New macro.
9509         [STRCSPN]: Likewise.
9510         [UPDATE_MASK]: Likewise.
9511         [USE_AS_STRCSPN]: Lisewise.
9513 2016-04-25  Florian Weimer  <fweimer@redhat.com>
9515         [BZ #19931]
9516         * stdio-common/tst-vfprintf-width-prec.c: New file.
9517         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
9518         (tests-special): Add tst-vfprintf-width-prec-mem.out.
9519         (generated): Add mtrace-related files.
9520         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
9521         (tst-%-mem.out): New pattern rule, replaces
9522         tst-printf-bz18872-mem.out.
9523         * stdio-common/vfprintf.c (vfprintf): When handling a precision
9524         specifier, deallocate any previously allocated work buffer.
9526 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
9528         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
9529         Add nop before __startcontext, add explaining comments.
9531 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
9533         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
9534         any more. Notably since IPV6_PKTINFO has been reintroduced with a
9535         completely different API.
9537         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
9538         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
9539         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
9540         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
9541         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
9542         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
9543         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
9544         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
9545         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
9546         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
9548 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
9550         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
9552 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
9554         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
9555         when it is the default of 0.
9557 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9559         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
9560         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9561         (sysdep_routines): Add new strcasestr targets.
9562         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9563         (__libc_ifunc_impl_list): Likewise.
9564         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
9565         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
9566         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
9567         * sysdeps/powerpc/powerpc64/power8/Makefile:
9568         New file to add strcasestr-ppc64 to sysdep_routines.
9569         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
9570         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
9572 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
9574         * benchtests/Makefile (wcsmbs-benchset): Include only for
9575         native builds and runs.
9576         (LOCALES): Likewise.
9577         (bench-build): Build timing-type here instead of the bench
9578         target.  Generate locale only for native builds.
9579         * benchtests/README: Add note for cross-building.
9581         * benchtests/Makefile (bench-clean): Clean up extra-objs.
9583         * benchtests/README: Update README to include instructions on
9584         using bench-build.
9586         * Makefile.in (bench-build): New target.
9587         * Rules (PHONY): Add bench-build target.
9588         * benchtests/Makefile (bench): Depend on bench-build.
9589         (bench-build): New target.
9591 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9593         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
9594         profil_reply_port.
9595         (profile_waiter): Do not initialize profil_reply_port.
9596         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
9597         frequency instead of tick length in us.
9599 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
9601         [BZ #18712]
9602         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
9603         (__old_mempcpy_small): Likewise.
9604         (__old_strcpy_small): Likewise.
9605         (__old_stpcpy_small): Likewise.
9606         (__old_strpbrk_c2): Fix compat symbol name.
9607         (__old_strpbrk_c3): Likewise.
9608         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
9609         (__mempcpy_small): Remove.
9610         (__strcpy_small): Remove.
9611         (__stpcpy_small): Remove.
9613 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
9615         [BZ #19400]
9616         * locale/iso-639.def: Add the Talossan/tzl language.
9618 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
9620         [BZ #16983]
9621         * locale/programs/ld-address.c (address_finish): Update postal_fmt
9622         comment.  Add "ln" to strchr check on postal_fmt.
9624 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
9626         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
9627         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
9628         tel_dom_fmt.
9630 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9632         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9633         (sysdep_routines): Added __strlen_power8.
9634         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
9635         __strlen_power8 entry.
9636         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
9637         Implementation for POWER8.
9638         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
9639         for __strlen_power8.
9640         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
9641         Implementation for POWER8.
9643 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
9645         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
9647 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
9649         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
9650         Goldmont and Airmont processors.
9652 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
9654         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
9655         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
9656         (__STRING2_SMALL_GET32): Remove.
9657         (memset): Remove.
9658         (__memset_1): Remove.
9659         (__memset_gc): Remove.
9660         (__mempcpy): Remove.
9661         (mempcpy): Remove.
9662         (__mempcpy_args): Remove.
9663         (strchr): Remove.
9664         (strcpy): Remove.
9665         (strcpy_args): Remove.
9666         (__stpcpy_args): Remove.
9667         (__strcmp_cc): Remove.
9668         (__strcmp_gc): Remove.
9669         (strstr): Remove.
9671 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
9673         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
9674         * nis/nis_call.c (nis_server_cache_add): Likewise.
9676 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9678         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
9680 2016-04-14  Florian Weimer  <fweimer@redhat.com>
9682         * malloc/arena.c (__malloc_fork_lock_parent)
9683         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
9684         internal_function attribute.
9686 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
9688         * stdio-common/printf_fp.c (__printf_fp_l):
9689         Rename ___printf_fp_l to __printf_fp_l and
9690         remove strong alias. Use libc_hidden_def instead
9691         of ldbl_hidden_def macro.
9693 2016-04-14  Florian Weimer  <fweimer@redhat.com>
9695         Remove malloc hooks from fork handler.  They are no longer needed
9696         because malloc runs right before fork, and no malloc calls from
9697         other fork handlers are not possible anymore.
9698         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
9699         declarations.
9700         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
9701         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
9702         (atfork_recursive_cntr): Remove.
9703         (__malloc_fork_lock_parent): Do not override malloc hooks and
9704         thread_arena.
9705         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
9706         thread_arena.
9707         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
9708         thread_arena instead of save_arena.
9710 2016-04-14  Florian Weimer  <fweimer@redhat.com>
9712         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
9713         (thread_atfork, thread_atfork_static): Remove.
9714         * sysdeps/mach/hurd/malloc-machine.h:
9715         (thread_atfork, thread_atfork_static): Remove.
9717 2016-04-14  Florian Weimer  <fweimer@redhat.com>
9719         [BZ #19431]
9720         Run the malloc fork handler as late as possible to avoid deadlocks.
9721         * malloc/malloc-internal.h: New file.
9722         * malloc/malloc.c: Include it.
9723         * malloc/arena.c (ATFORK_MEM): Remove.
9724         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
9725         Update comment.
9726         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
9727         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
9728         Remove outdated comment.
9729         (ptmalloc_init): Do not call thread_atfork.  Remove
9730         thread_atfork_static.
9731         * malloc/tst-malloc-fork-deadlock.c: New file.
9732         * Makefile (tests): Add tst-malloc-fork-deadlock.
9733         (tst-malloc-fork-deadlock): Link against libpthread.
9734         * manual/memory.texi (Aligned Memory Blocks): Update safety
9735         annotation comments.
9736         * sysdeps/nptl/fork.c (__libc_fork): Call
9737         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
9738         __malloc_fork_unlock_child.
9739         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
9741 2016-04-14  Florian Weimer  <fweimer@redhat.com>
9743         [BZ #19613]
9744         Remove union wait.
9745         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
9746         (w_stopsig, w_stopval): Remove.
9747         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
9748         stat_loc argument.
9749         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
9750         (__WAIT_STATUS_DEFN): Remove.
9751         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
9752         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
9753         (wait, wait3, wait4): Use int * for the stat_loc argument.
9754         * posix/wait.c (__wait): Likewise.
9755         * posix/wait3.c (__wait3): Likewise.
9756         * posix/wait4.c (__wait4): Likewise.
9757         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
9758         (__WAIT_STATUS_DEFN): Remove.
9759         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
9760         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
9761         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
9762         argument.
9763         * sysdeps/posix/wait.c (__libc_wait): Likewise.
9764         * sysdeps/posix/wait3.c (__wait3): Likewise.
9765         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
9766         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
9767         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
9768         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
9769         stat_loc argument.
9770         * manual/process.texi (BSD Wait Functions): Remove union wait.
9772 2016-04-13  Andreas Schwab  <schwab@suse.de>
9774         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
9775         (test-extras): Add tst-tlsalign-vars.
9776         * math/Makefile: Wrap long lines.
9777         (libm-vec-test-wrappers): Define.
9778         (test-extras): Add $(libm-vec-test-wrappers).
9779         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
9780         * nss/Makefile (extra-test-objs): Add nss_test1.os.
9781         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
9782         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
9783         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
9784         (extra-test-objs): Add corresponding objects.
9786 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
9788         [BZ #19928]
9789         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
9790         New.
9791         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
9792         times of shared cache size.
9793         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
9794         (VMOVNT): New.
9795         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
9796         (VMOVNT): Likewise.
9797         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
9798         (VMOVNT): Likewise.
9799         (VMOVU): Changed to movups for smaller code sizes.
9800         (VMOVA): Changed to movaps for smaller code sizes.
9801         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
9802         comments.
9803         (PREFETCH): New.
9804         (PREFETCH_SIZE): Likewise.
9805         (PREFETCHED_LOAD_SIZE): Likewise.
9806         (PREFETCH_ONE_SET): Likewise.
9807         Rewrite to use forward and backward loops, which move 4 vector
9808         registers at a time, to support overlapping addresses and use
9809         non temporal store if size is above the threshold and there is
9810         no overlap between destination and source.
9812 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
9814         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
9815         Include dl-vdso.
9816         * sysdeps/unix/sysv/linux/mips/Versions: Add
9817         __vdso_clock_gettime.
9818         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
9819         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
9820         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
9821         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
9822         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
9823         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
9824         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
9825         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
9826         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
9828 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9830         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
9831         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
9832         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
9833         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
9834         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
9835         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
9836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
9837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
9838         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
9839         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
9840         syscalls generation.
9841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9842         [__NR_pwrite64] (__NR_write): Remove define.
9843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9844         [__NR_pwrite64] (__NR_write): Remove define.
9845         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
9846         Remove define.
9847         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
9848         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
9849         Remove define.
9850         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
9851         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
9852         Linux implementation as base.
9853         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9855         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
9856         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
9857         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
9858         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
9859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
9860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
9861         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
9862         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
9863         syscall generation.
9864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9865         [__NR_pread64] (__NR_pread): Remove define.
9866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9867         [__NR_pread64] (__NR_pread): Likewise.
9868         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
9869         define.
9870         (__libc_pread): Use SYSCALL_LL macro on offset argument.
9871         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
9872         Remove define.
9873         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
9874         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
9875         Linux implementation as base.
9876         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9877         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
9878         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
9880         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
9881         definition.
9882         (__ALIGNMENT_COUNT): Likewise.
9883         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
9884         (__ALIGNMENT_COUNT): Likewise.
9885         (SYSCALL_LL): New define.
9886         (SYSCALL_LL64): Likewise.
9887         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
9888         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
9889         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
9890         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
9892         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9893         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
9894         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9895         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
9896         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9897         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
9899 2016-04-11  Florian Weimer  <fweimer@redhat.com>
9901         [BZ #19865]
9902         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
9903         original buffer before retry.
9905 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9907         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
9908         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
9909         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
9910         GLRO(dl_auxv) list.
9911         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
9912         including <ldsodefs.h>.
9913         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
9915 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
9917         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
9918         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
9919         $(CPPFLAGS).
9921 2016-04-09  Khem Raj  <raj.khem@gmail.com>
9923         [BZ #17950]
9924         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
9925         Add -mfpmath=387.
9927 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
9929         * sysdeps/i386/configure.ac: Change == to = when calling test.
9930         * sysdeps/x86_64/configure.ac: Likewise.
9931         * sysdeps/i386/configure: Regenerated.
9932         * sysdeps/x86_64/configure: Likewise.
9934 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
9936         [BZ #16137]
9937         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
9938         * benchtests/bench-strcoll.c (input_files): Likewise.
9939         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
9940         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
9941         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
9943 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
9945         [BZ #19929]
9946         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
9947         [__USE_XOPEN2K8 && !__USE_GNU].
9948         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
9949         variable.
9951         [BZ #19925]
9952         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
9953         define if [!__USE_MISC && __USE_XOPEN2K].
9954         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
9955         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
9956         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
9957         Likewise.
9958         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
9959         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
9960         variable.
9961         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
9963 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9965         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9966         (sysdep_routines): Add new strspn targets.
9967         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9968         (__libc_ifunc_impl_list): Add strspn.
9969         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
9970         New file.
9971         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
9972         Likewise.
9973         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
9974         Likewise.
9975         * sysdeps/powerpc/powerpc64/power8/strspn.S:
9976         Likewise.
9978 2016-04-07  Florian Weimer  <fweimer@redhat.com>
9980         * misc/hsearch_r.c: Include <limits.h>.
9982 2016-04-07  Florian Weimer  <fweimer@redhat.com>
9984         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
9986 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
9988         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
9989         (MEMCPY_SYMBOL): New.
9990         (MEMPCPY_SYMBOL): Likewise.
9991         (MEMMOVE_CHK_SYMBOL): Likewise.
9992         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
9993         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
9994         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
9995         Provide alias for memcpy in libc.a and ld.so.
9997 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
9999         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
10000         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
10001         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
10002         Disabled fro now.
10003         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
10004         symbols.  Properly check USE_MULTIARCH on __memset symbols.
10006 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
10008         * benchtests/Makefile (string-benchset): Add memcpy-large,
10009         memmove-large and memset-large.
10010         * benchtests/bench-memcpy-large.c: New file.
10011         * benchtests/bench-memmove-large.c: Likewise.
10012         * benchtests/bench-memmove-large.c: Likewise.
10013         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
10015 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
10017         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
10018         32-bit displacement to avoid long nop between instructions.
10020 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
10022         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
10023         a comment on VMOVU and VMOVA.
10025 2016-04-04  Florian Weimer  <fweimer@redhat.com>
10027         [BZ #19633]
10028         Use specified locale for number formatting in strfmon_l.
10029         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
10030         (__nl_lookup_word): New inline functions.
10031         * include/printf.h (__print_fp_l): Declare.
10032         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
10033         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
10034         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
10035         (___printf_fp): New function.
10036         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
10037         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
10038         * stdlib/tst-strfmon_l.c (do_test): New test.
10039         * stdlib/Makefile (tests): Add kt.
10040         (LOCALES): Build additional locales.
10041         (tst-strfmon_l.out): Require locales.
10043 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
10045         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
10046         if not in libc.
10047         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
10048         Likewise.
10049         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
10050         Likewise.
10051         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
10052         Likewise.
10054 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
10056         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
10057         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
10058         with unaligned_erms.
10059         (__memmove_erms): Skip if source == destination.
10060         (__memmove_unaligned_erms): Don't check source == destination
10061         first.
10063 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
10065         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
10066         bit_arch_Fast_Copy_Backward for Intel Core proessors.
10068 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10070         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
10071         * string/strspn.c (strspn): Likewise.
10073 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
10075         * benchtests/bench-memset.c (do_test): Support 64-byte
10076         alignment.
10077         (test_main): Test 64-byte alignment.
10079 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
10081         * benchtests/bench-memmove.c (test_main): Test 64-byte
10082         alignment.
10084 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
10086         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
10088 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10090         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
10091         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
10092         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
10094         * string/strpbrk.c (strpbrk): Rewrite function.
10095         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
10096         (__strpbrk_c2): Likewise.
10097         (__strpbrk_c3): Likewise.
10098         * string/string-inlines.c
10099         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
10100         Likewise.
10101         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
10102         Likewise.
10104         * string/strspn.c (strcspn): Rewrite function.
10105         * string/bits/string2.h (strspn): Use __builtin_strcspn.
10106         (__strspn_c1): Remove inline function.
10107         (__strspn_c2): Likewise.
10108         (__strspn_c3): Likewise.
10109         * string/string-inlines.c
10110         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
10111         compatibility symbol.
10112         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
10113         Likewise.
10114         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
10115         Likewise.
10116         * string/string-inlines.c: Include generic version.
10118 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
10119             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10121         * string/Version (libc): Add GLIBC_2.24.
10122         * string/strcspn.c (strcspn): Rewrite function.
10123         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
10124         (__strcspn_c1): Remove inline function.
10125         (__strcspn_c2): Likewise.
10126         (__strcspn_c3): Likewise.
10127         * string/string-inline.c
10128         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
10129         compatibility symbol.
10130         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
10131         Likewise.
10132         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
10133         Likewise.
10134         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
10136 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
10138         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
10139         Use ahi instead of aghi to adjust stack pointer.
10141 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10143         [BZ #19853]
10144         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
10145         TEST to take significant digits as second parameter.
10146         [TEST]: Redefine in terms of TEST_N taking 30
10147         significant digits.
10148         (do_test): Add test case to demonstrate precision
10149         failure in the ldbl-128ibm printf.
10150         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
10151         (__mpn_extract_long_double): Carry 7 extra intermediate
10152         bits of precision to aide computing difference when
10153         signs differ.
10155 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
10157         [BZ #19881]
10158         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10159         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
10160         memset-avx512-unaligned-erms.
10161         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10162         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
10163         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
10164         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
10165         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
10166         __memset_sse2_unaligned_erms, __memset_erms,
10167         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
10168         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
10169         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
10170         file.
10171         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
10172         Likewise.
10173         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
10174         Likewise.
10175         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
10176         Likewise.
10178 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
10180         [BZ #19776]
10181         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10182         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
10183         memmove-avx512-unaligned-erms.
10184         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10185         (__libc_ifunc_impl_list): Test
10186         __memmove_chk_avx512_unaligned_2,
10187         __memmove_chk_avx512_unaligned_erms,
10188         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
10189         __memmove_chk_sse2_unaligned_2,
10190         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
10191         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
10192         __memmove_avx512_unaligned_erms, __memmove_erms,
10193         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
10194         __memcpy_chk_avx512_unaligned_2,
10195         __memcpy_chk_avx512_unaligned_erms,
10196         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
10197         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
10198         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
10199         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
10200         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
10201         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
10202         __mempcpy_chk_avx512_unaligned_erms,
10203         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
10204         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
10205         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
10206         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
10207         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
10208         __mempcpy_erms.
10209         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
10210         file.
10211         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
10212         Likwise.
10213         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
10214         Likwise.
10215         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
10216         Likwise.
10218 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
10220         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
10221         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
10222         (La_s390_64_regs): Likewise.
10223         (La_s390_32_retval): Append vector register lrv_v24.
10224         (La_s390_64_retval): Likeweise.
10225         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
10226         Handle extended structs La_s390_32_regs and La_s390_32_retval.
10227         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
10228         Handle extended structs La_s390_64_regs and La_s390_64_retval.
10230 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
10232         [BZ #19916]
10233         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
10234         to create a non-vector/vector version for _dl_runtime_resolve and
10235         _dl_runtime_profile. Move implementation to ...
10236         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
10237         (_dl_runtime_resolve) Save and restore fpr/vrs.
10238         (_dl_runtime_profile) Save and restore vrs and fix some issues
10239         if _dl_call_pltexit is called.
10240         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
10241         Choose the correct resolver function if running on a machine with vx.
10242         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
10243         to create a non-vector/vector version for _dl_runtime_resolve and
10244         _dl_runtime_profile. Move implementation to ...
10245         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
10246         (_dl_runtime_resolve) Save and restore fpr/vrs.
10247         (_dl_runtime_profile) Save and restore vrs and fix some issues
10248         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
10249         Choose the correct resolver function if running on a machine with vx.
10251 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10253         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
10255 2016-03-31  Florian Weimer  <fweimer@redhat.com>
10257         [BZ #19509]
10258         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
10259         skip_map != NULL.
10260         * elf/tst-dlsym-error.c: New file.
10261         * elf/Makefile (tests): Add tst-dlsym-error.
10262         (tst-dlsym-error): Link against libdl.
10264 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
10266         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10267         (__ASSUME_FUTIMESAT): Remove macro.
10268         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
10270 2016-03-29  Florian Weimer  <fweimer@redhat.com>
10272         [BZ #19879]
10273         CVE-2016-3075
10274         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
10275         copy name.
10277 2016-03-29  Florian Weimer  <fweimer@redhat.com>
10279         [BZ #19837]
10280         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
10281         error if parse_line fails.
10283 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
10285         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
10286         (index_cpu_ERMS): Likewise.
10287         (reg_ERMS): Likewise.
10289 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
10291         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
10292         PER_LINUX_FDPIC): Add.
10294 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
10296         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10297         memcpy-avx512-no-vzeroupper.
10298         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
10299         to ...
10300         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
10301         (MEMCPY): Don't define.
10302         (MEMCPY_CHK): Likewise.
10303         (MEMPCPY): Likewise.
10304         (MEMPCPY_CHK): Likewise.
10305         (MEMPCPY_CHK): Renamed to ...
10306         (__mempcpy_chk_avx512_no_vzeroupper): This.
10307         (MEMPCPY_CHK): Renamed to ...
10308         (__mempcpy_chk_avx512_no_vzeroupper): This.
10309         (MEMCPY_CHK): Renamed to ...
10310         (__memmove_chk_avx512_no_vzeroupper): This.
10311         (MEMCPY): Renamed to ...
10312         (__memmove_avx512_no_vzeroupper): This.
10313         (__memcpy_avx512_no_vzeroupper): New alias.
10314         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
10316 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
10318         [BZ #18858]
10319         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10320         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
10321         and mempcpy-avx512-no-vzeroupper.
10322         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
10323         New.
10324         (MEMPCPY): Likewise.
10325         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
10326         (MEMPCPY_CHK): New.
10327         (MEMPCPY): Likewise.
10328         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
10329         (MEMPCPY): Likewise.
10330         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
10331         (MEMPCPY): Likewise.
10332         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
10333         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
10334         Likewise.
10335         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
10336         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
10338 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
10339              Amit Pawar  <Amit.Pawar@amd.com>
10341         [BZ #19583]
10342         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
10343         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
10344         processors.  Set Fast_Copy_Backward for AMD Excavator
10345         processors.
10346         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
10347         New.
10348         (index_arch_Fast_Unaligned_Copy): Likewise.
10349         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
10350         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
10352 2016-03-25  Florian Weimer  <fweimer@redhat.com>
10354         [BZ #19791]
10355         * resolv/res_send.c (close_and_return_error): New function.
10356         (send_dg): Initialize *resplen2 after reopen failure.  Call
10357         close_and_return_error for error returns.  On error paths without
10358         __res_iclose, initialze *resplen2 explicitly.  Update comment for
10359         successful return.
10361 2016-03-25  Florian Weimer  <fweimer@redhat.com>
10363         [BZ# 19860]
10364         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
10365         zero if the compiler does not provide the AVX512F bit.
10367 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
10369         [BZ #19848]
10370         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
10371         from 8 to 4.
10372         (__ieee754_powl): Compare integer exponent against 4 not 8.
10373         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
10374         from 8 to 4.
10375         (__ieee754_powl): Compare integer exponent against 4 not 8.
10376         * math/auto-libm-test-in: Add more tests of pow.
10377         * math/auto-libm-test-out: Regenerated.
10378         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
10379         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10381 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
10383         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
10384         Make code unconditional.
10385         [!__NR_utimensat]: Remove conditional code.
10386         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
10387         Make code unconditional.
10388         [!__NR_utimensat]: Remove conditional code.
10389         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
10390         Make code unconditional.
10391         [!__NR_utimensat]: Remove conditional code.
10393 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
10395         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
10396         Make code unconditional.
10398 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
10400         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
10401         call-clobbered %eax on retry path.
10402         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
10404 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
10406         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
10407         Don't set %rcx twice before "rep movsb".
10409 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
10411         [BZ #19583]
10412         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
10413         inline.  Check family before setting family, model and
10414         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
10415         bits here.
10416         (init_cpu_features): Replace HAS_CPU_FEATURE and
10417         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
10418         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
10419         for Intel processors with usable AVX2.  Call get_common_indeces
10420         for other processors with family == NULL.
10421         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
10422         (CPU_FEATURES_ARCH_P): Likewise.
10423         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
10424         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
10426 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10428         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
10429         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
10430         $(shared-thread-library) instead of hardcoding the path to libpthread.
10432 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
10434         * sysdeps/unix/sysv/linux/kernel-features.h
10435         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
10436         * sysdeps/unix/sysv/linux/getdents.c
10437         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
10438         [!have_no_getdents64_defined]: Likewise.
10439         (__GETDENTS): Remove __have_no_getdents64 conditional.
10441 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
10443         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
10444         Remove macro.
10445         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
10446         <kernel-features.h>.
10447         (signalfd) [__NR_signalfd4]: Make code unconditional.
10448         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
10450 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10452         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
10453         style.
10455 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
10457         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
10458         (__pthread_enable_asynccancel): Use JUMPTARGET to call
10459         __pthread_unwind.
10460         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
10461         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
10462         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
10463         (__condvar_cleanup1): Likewise.
10465 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
10467         [BZ #19822]
10468         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
10469         move it to the final $@ location.
10471 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10473         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
10474         access where posix_spawn success and pid argument is null.
10475         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
10476         success case.
10478 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
10480         * sysdeps/mach/hurd/i386/c++-types.data: New file.
10482         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
10484         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
10485         and __fcntl.
10486         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
10487         __fcntl only.
10488         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
10489         adding attribute_hidden to __open and __fcntl.
10491         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
10492         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
10493         depend on libc-modules.h,
10494         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
10496 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
10498         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
10499         Remove macro.
10500         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
10501         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
10502         entry.
10504         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
10505         Remove macro.
10506         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
10507         include <kernel-features.h>.
10508         [!__ASSUME_FALLOCATE]: Remove conditional code.
10509         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
10511 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
10513         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
10514         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
10515         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
10516         (_ZGVdN4v_cos_avx2): Likewise.
10517         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
10518         (_ZGVdN4v_cos): Likewise.
10519         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
10520         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
10521         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
10522         (_ZGVdN4v_exp_avx2): Likewise.
10523         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
10524         (_ZGVdN4v_exp): Likewise.
10525         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
10526         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
10527         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
10528         (_ZGVdN4v_log_avx2): Likewise.
10529         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
10530         (_ZGVdN4v_log): Likewise.
10531         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
10532         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
10533         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
10534         (_ZGVdN4vv_pow_avx2): Likewise.
10535         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
10536         (_ZGVdN4vv_pow): Likewise.
10537         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
10538         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
10539         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
10540         (_ZGVdN4v_sin_avx2): Likewise.
10541         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
10542         (_ZGVdN4v_sin): Likewise.
10543         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
10544         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
10545         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
10546         (_ZGVdN4vvv_sincos_avx2): Likewise.
10547         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
10548         (_ZGVdN4vvv_sincos): Likewise.
10549         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
10550         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
10551         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
10552         (_ZGVbN4v_cosf_sse4): Likewise.
10553         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
10554         (_ZGVdN8v_cosf_avx2): Likewise.
10555         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
10556         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
10557         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
10558         (_ZGVbN4v_expf_sse4): Likewise.
10559         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
10560         (_ZGVdN8v_expf_avx2): Likewise.
10561         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
10562         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
10563         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
10564         (_ZGVbN4v_logf_sse4): Likewise.
10565         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
10566         (_ZGVdN8v_logf_avx2): Likewise.
10567         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
10568         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
10569         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
10570         (_ZGVbN4vv_powf_sse4): Likewise.
10571         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
10572         (_ZGVdN8vv_powf_avx2): Likewise.
10573         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
10574         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
10575         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
10576         (_ZGVbN4vvv_sincosf_sse4): Likewise.
10577         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
10578         (_ZGVdN8vvv_sincosf_avx2): Likewise.
10579         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
10580         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
10581         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
10582         (_ZGVbN4v_sinf_sse4): Likewise.
10583         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
10584         (_ZGVdN8v_sinf_avx2): Likewise.
10585         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
10586         Use JUMPTARGET to call callee.
10587         (WRAPPER_IMPL_SSE2_ff): Likewise.
10588         (WRAPPER_IMPL_SSE2_fFF): Likewise.
10589         (WRAPPER_IMPL_AVX): Likewise.
10590         (WRAPPER_IMPL_AVX_ff): Likewise.
10591         (WRAPPER_IMPL_AVX_fFF): Likewise.
10592         (WRAPPER_IMPL_AVX512): Likewise.
10593         (WRAPPER_IMPL_AVX512_ff): Likewise.
10594         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
10595         Likewise.
10596         (WRAPPER_IMPL_SSE2_ff): Likewise.
10597         (WRAPPER_IMPL_SSE2_fFF): Likewise.
10598         (WRAPPER_IMPL_AVX): Likewise.
10599         (WRAPPER_IMPL_AVX_ff): Likewise.
10600         (WRAPPER_IMPL_AVX_fFF): Likewise.
10601         (WRAPPER_IMPL_AVX512): Likewise.
10602         (WRAPPER_IMPL_AVX512_ff): Likewise.
10603         (WRAPPER_IMPL_AVX512_fFF): Likewise.
10605 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10607         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
10608         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
10609         qualifier.
10610         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
10611         internal_function qualifiers.
10613 2016-03-15  Carlos O'Donell <carlos@redhat.com>
10615         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
10616         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
10617         * math/atest-exp.c (exp_mpn): Mark chk unused.
10618         * math/atest-exp2.c (exp_mpn): Likwise.
10619         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
10620         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
10622 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
10624         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
10625         Remove macro.
10626         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
10627         <kernel-features.h>.
10628         [__NR_ppoll]: Make code unconditional.
10629         [!__ASSUME_PPOLL]: Remove conditional code.
10631         * sysdeps/unix/sysv/linux/kernel-features.h
10632         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
10633         (__ASSUME_ACCEPT4): Likewise.
10634         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10635         Define.
10636         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
10637         Likewise.
10638         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10639         Likewise.
10640         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
10641         Likewise.
10642         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
10643         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
10644         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10645         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
10646         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10647         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10648         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10649         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10650         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10651         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10652         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10653         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10654         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10655         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10656         * sysdeps/unix/sysv/linux/i386/kernel-features.h
10657         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10658         Likewise.
10659         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10660         Likewise.
10661         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
10662         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
10663         0x040300].
10664         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10665         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
10666         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10667         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
10668         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
10669         0x030300].
10670         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
10671         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10672         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
10673         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
10674         0x040300].
10675         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10676         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10677         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10678         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10679         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10680         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
10681         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
10682         0x030300].
10683         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10684         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10685         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10686         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10687         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10688         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10689         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10690         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10691         * sysdeps/unix/sysv/linux/s390/kernel-features.h
10692         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
10693         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
10694         0x040300].
10695         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10696         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10697         * sysdeps/unix/sysv/linux/sh/kernel-features.h
10698         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10699         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10700         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10701         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10702         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10703         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10704         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10705         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10706         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10707         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10708         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10709         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
10710         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10711         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10712         Likewise.
10713         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10714         Likewise.
10716 2016-03-15  Andreas Schwab  <schwab@suse.de>
10718         [BZ #19257]
10719         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
10720         statp->_u._ext.nscount as loop count.
10722 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
10724         * math/test-signgam-finite-c99.c: Also #undef
10725         __LIBC_INTERNAL_MATH_INLINES.
10726         * math/test-signgam-main.c: Likewise.
10728 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
10730         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
10731         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
10732         (MADV_FREE): Likewise.
10733         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
10734         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
10735         EPOLLEXCLUSIVE.
10737 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
10739         * timezone/README: Remove mention of checktab.awk. Mention wiki
10740         SharedSourceFiles.
10742 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
10744         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
10745         WUNTRACED.
10747 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10749         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
10750         order to match the type of p when calling atomic_exchange_acq().
10752 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10754         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
10755         cfi_offset calls.
10756         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
10757         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
10758         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
10759         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
10760         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
10762 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
10764         * timezone/checktab.awk: Removed.
10766 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
10768         * manual/math.texi (Errors in Math Functions): Document relaxed
10769         accuracy goals for IBM long double.
10770         * math/libm-test.inc (test_exceptions): Always allow spurious
10771         "underflow" and "inexact" exceptions for IBM long double.
10773 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
10775         [BZ #19762]
10776         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
10777         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
10778         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
10779         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
10780         (bit_arch_*): This for feature array.
10781         (bit_*): Renamed to ...
10782         (bit_cpu_*): This for cpu array.
10783         (index_*): Renamed to ...
10784         (index_arch_*): This for feature array.
10785         (index_*): Renamed to ...
10786         (index_cpu_*): This for cpu array.
10787         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
10788         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
10789         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
10790         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
10791         bit_##name with index_cpu_##name and bit_cpu_##name.
10792         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
10793         bit_##name with index_arch_##name and bit_arch_##name.
10795 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
10797         [BZ #19792]
10798         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
10799         Terminate FDE before return label.
10801 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
10803         [BZ #19790]
10804         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
10805         (rintl): Define as macro.
10806         [USE_AS_NEARBYINTL] (__rintl): Likewise.
10807         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
10808         of fesetround.  Ensure results are evaluated before end of scope.
10809         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
10810         USE_AS_NEARBYINTL and include s_rintl.c.
10811         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
10812         Disable exception traps in new environment.
10813         (libc_feholdsetround_ppc_ctx): Likewise.
10815 2016-03-08  Roland McGrath  <roland@hack.frob.com>
10817         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
10818         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
10819         (tst_audit10_aux) [__AVX512F__]: ... here.
10821 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
10823         * include/sys/auxv.h: New file.
10825 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
10827         [BZ #19759]
10828         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
10830 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10832         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
10833         operand modifier.
10834         (feclearexcept): Likewise.
10836 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10838         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
10839         to reflect the entire 32-bit HWCAP.
10840         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
10841         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
10843 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
10845         [BZ #19783]
10846         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
10847         $(test-via-rtld-prefix).
10848         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
10850 2016-03-08  Florian Weimer  <fweimer@redhat.com>
10852         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
10853         union wait.  Report any non-zero exit status as error.
10855 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10857         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
10858         configured with --enable-hardcoded-path-in-tests.
10860 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
10862         [BZ #19677]
10863         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
10864         (__ieee754_remainderl): Put zero low parts in canonical form.
10865         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
10866         file.  Based on
10867         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
10868         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
10869         with wrapper round test-fmodrem-ldbl-128ibm.c.
10870         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
10871         file.
10872         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
10873         Likewise.
10874         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
10875         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
10877 2016-03-07  Florian Weimer  <fweimer@redhat.com>
10879         [BZ #19610]
10880         * elf/ldconfig.c (opt_link): Update comment.
10881         (options): Update help string for option -X.
10882         (search_dir): Unlink stale symbolic link only if updating symbolic
10883         links.
10884         * elf/tst-ldconfig-X.sh: New file.
10885         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
10886         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
10888 2016-03-07  Andreas Schwab  <schwab@suse.de>
10890         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
10891         needed arguments.
10893 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
10895         [BZ #15333]
10896         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
10897         to lstat64.
10899 2016-03-07  Florian Weimer  <fweimer@redhat.com>
10901         * libio/filedoalloc.c (isatty): Remove.
10902         (local_isatty): Add comment.  Call __isatty directly.
10903         (_IO_file_doallocate): Update comment.  Assume _LIBC.
10904         * libio/wfiledoalloc.c (isatty): Remove.
10905         (_IO_wfile_doallocate): Update comment.
10907 2016-03-07  Florian Weimer  <fweimer@redhat.com>
10909         [BZ #19269]
10910         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
10911         tst-audit4-aux.o.
10912         (tst-audit10): Depend on tst-audit10-aux.o.
10913         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
10914         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
10915         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
10916         instead of inline AVX code.
10917         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
10918         instead of inline AVX512 code.
10919         * sysdeps/x86_64/tst-audit4-aux.c: New file
10920         * sysdeps/x86_64/tst-audit10-aux.c: New file
10922         [BZ #19648]
10923         * test-skeleton.c (main): Do not set RLIMIT_DATA.
10925 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10927         [BZ #14750]
10928         [BZ #10354]
10929         [BZ #18433]
10930         * include/sched.h (__clone): Add hidden prototype.
10931         (__clone2): Likewise.
10932         * include/unistd.h (__dup): Likewise.
10933         * posix/Makefile (tests): Add tst-spawn2.
10934         * posix/tst-spawn2.c: New file.
10935         * sysdeps/posix/dup.c (__dup): Add hidden definition.
10936         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
10937         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
10938         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
10939         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
10940         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
10941         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
10942         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
10943         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
10944         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
10945         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
10946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
10947         Likewise.
10948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10949         Likewise.
10950         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
10951         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
10952         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
10953         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
10954         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
10955         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
10956         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
10957         * sysdeps/unix/sysv/linux/nptl-signals.h
10958         (____nptl_is_internal_signal): New function.
10959         * sysdeps/unix/sysv/linux/spawni.c: New file.
10961         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
10962         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
10963         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
10964         * posix/tst-execvp2.c (do_test): Likewise.
10965         * posix/tst-execvp3.c (do_test): Likewise.
10966         * posix/tst-execvp4.c (do_test): Likewise.
10967         * posix/tst-execvpe1.c: New file.
10968         * posix/tst-execvpe2.c: Likewise.
10969         * posix/tst-execvpe3.c: Likewise.
10970         * posix/tst-execvpe4.c: Likewise.
10971         * posix/tst-execvpe5.c: Likewise.
10972         * posix/tst-execvpe6.c: Likewise.
10974         [BZ #19534]
10975         * posix/execl.c (execl): Remove dynamic memory allocation.
10976         * posix/execle.c (execle): Likewise.
10977         * posix/execlp.c (execlp): Likewise.
10979 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
10981         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
10982         Replace .text with .text.avx512.
10983         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
10984         Likewise.
10986 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
10988         * sysdeps/generic/libnsl.abilist: New file.
10989         * sysdeps/generic/libutil.abilist: New file.
10991 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
10993         [BZ #19762]
10994         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
10995         HAS_ARCH_FEATURE with Fast_Rep_String.
10996         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
10997         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
10998         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
10999         Likewise.
11000         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
11001         Likewise.
11002         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
11003         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
11004         Likewise.
11005         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
11006         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
11007         Likewise.
11009 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
11011         [BZ #19745]
11012         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
11013         with *%rax in call.
11015 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
11017         [BZ #19745]
11018         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
11019         with *__libc_start_main@GOTPCREL(%rip) in call.
11021 2016-03-04  Roland McGrath  <roland@hack.frob.com>
11023         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
11024         inside conditional for nonempty $(CXX).
11026         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
11027         nonempty.
11029         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
11030         to test for empty $(CXX) rather than $(CXX) of "no".
11032 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
11034         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
11036 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
11037             H.J. Lu  <hongjiu.lu@intel.com>
11039         [BZ #18880]
11040         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
11041         instead of Slow_BSF, and also check for Fast_Copy_Backward to
11042         enable __memcpy_ssse3_back.
11044 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
11046         [BZ #19758]
11047         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
11048         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
11050 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
11052         [BZ #19490]
11053         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
11054         (__fentry__): Likewise.
11056 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
11058         * gmon/Makefile (noprof): Add $(sysdep_noprof).
11059         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
11061 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
11063         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
11064         __mcount_internal directly.
11065         (C_LABEL(__fentry__)): Likewise.
11066         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
11067         directly.
11069 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
11071         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
11072         (__start_context): Call __setcontext directly.
11074 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
11076         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11077         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11078         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
11079         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
11080         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11081         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11082         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
11083         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11084         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11085         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
11086         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
11087         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
11088         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11089         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11090         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11091         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11092         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
11093         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11094         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11095         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
11096         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
11097         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11098         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11099         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
11100         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
11101         Remove conditional code.
11102         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11103         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
11104         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11105         * sysdeps/unix/sysv/linux/sh/kernel-features.h
11106         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
11107         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11108         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
11109         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11110         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
11111         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11112         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11113         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
11115 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
11117         * NEWS (2.23): Fix typo in bug 19048 text.
11119 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
11121         [BZ #14259]
11122         * Makeconfig: Rename msgcatdir to localedir.
11123         Rename inst_msgcatdir to inst_localedir.
11124         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
11125         * config.make.in: Add localedir.
11126         * elf/Makefile ($(objpfx)sotruss): Use localedir.
11127         (ldd-rewrite): Likewise.
11128         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
11129         (install-others): Use inst_localedir.
11130         (CPPFLAGS): Use localedir.
11131         * locale/Makefile (locale-CPPFLAGS): Likewise.
11132         * po/Makefile (mo-installed): Use inst_localedir.
11134         [BZ #19575]
11135         * localedata/charmaps/GB18030: Update comments regarding PAU to
11136         non-PUA mappings.
11138 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
11140         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
11141         test for header.
11142         * sysdeps/unix/sysv/linux/configure: Regenerated.
11143         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
11144         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
11145         Remove conditional code.
11146         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
11148         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
11149         Define to 3.2.0.
11150         (arch_minimum_kernel): Likewise.
11151         * sysdeps/unix/sysv/linux/configure: Regenerated.
11152         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
11153         Define to 2.6.32.
11154         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
11155         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
11156         (arch_minimum_kernel): Define to 2.6.32.
11157         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
11158         * README: Document Linux 3.2 requirement.
11159         * manual/install.texi (Linux): Document Linux 3.2 headers
11160         requirement.
11161         * INSTALL: Regenerated.
11163 2016-02-24  Andreas Schwab  <schwab@suse.de>
11165         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
11166         if !NO_LONG_DOUBLE.
11168 2016-02-22  Roland McGrath  <roland@hack.frob.com>
11170         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
11171         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
11173 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
11175         [BZ #19512]
11176         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
11178 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
11180         * posix/tst-dir.c: Include libc-internal.h.
11182 2016-02-20  Florian Weimer  <fweimer@redhat.com>
11184         [BZ #19056]
11185         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
11186         * manual/filesys.texi (Reading/Closing Directory): Mention
11187         deprecaion.
11188         * posix/tst-dir.c (main): Disable deprecation warning in test.
11190 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
11192         [BZ #19679]
11193         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
11194         Renamed to ...
11195         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
11196         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
11197         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
11198         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
11199         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
11200         * sysdeps/x86_64/dl-trampoline.h
11201         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
11202         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
11204 2016-02-19  Mark Wielaard  <mjw@redhat.com>
11206         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
11208 2016-02-19  Mark Wielaard  <mjw@redhat.com>
11210         * elf/elf.h (R_386_GOT32X): New.
11211         (R_386_NUM): Update.
11212         (R_X86_64_GOTPCRELX: New.
11213         (R_X86_64_REX_GOTPCRELX): New.
11214         (R_X86_64_NUM): Update.
11216 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
11218         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
11220 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
11222         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
11223         assign attr->stackaddr to it, and adjust it down when
11224         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
11225         [_STACK_GROWS_UP]: Delete assert.
11226         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
11227         Implement stack grows up logic.
11228         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
11229         stack grows up logic.
11231 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11233         * NEWS: Update with 2.24 template.
11235 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
11237         [BZ #19678]
11238         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
11239         Ensure +0.0 is returned when taking the next value below the least
11240         positive value.
11242 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11244         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
11245         available.  Do not define NO_THREADS.
11246         * malloc/malloc.c: Do not check NO_THREADS.
11247         * malloc/arena.c: Likewise.
11249 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11251         * malloc/malloc.c (__libc_mallinfo): Update comment.
11252         (struct malloc_par): Remove max_total_mem member, it was always 0.
11253         (int_mallinfo): Store 0 into usmblks (no functional change).
11254         * malloc/hooks.c (struct malloc_state): Document that
11255         max_total_mem is always 0.
11256         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
11257         always 0.
11258         * manual/memory.texi (Statistics of Malloc): Likewise.
11260 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11262         * malloc/malloc.c (sysmalloc): Do not update arena_max.
11263         * malloc/arena.c (arena_max): Remove.
11264         (heap_trim, _int_new_arena): Do not update arena_max.
11266 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11268         * resolv/res_init.c (res_ninit): Update comment.
11270 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11272         [BZ #19505]
11273         * posix/spawn_int.h: Add headers and include guard.
11274         (__spawn_valid_fd): New function.
11275         * posix/spawn_faction_addopen.c
11276         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
11277         * posix/spawn_faction_addclose.c
11278         (posix_spawn_file_actions_addclose): Likewise.
11279         * posix/spawn_faction_adddup2.c
11280         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
11281         second file descriptor.
11282         * posix/spawn_valid_fd.c: New file.
11283         * posix/tst-posix_spawn-fd.c: New file.
11284         * posix/Makefile (routines): Add spawn_valid_fd.
11285         (tests): Add tst-posix_spawn-fd.
11287 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11289         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
11290         (do_test): Limit the number of arenas, so that we can use fewer
11291         outer threads.  Limit timeout to 3 seconds, in preparation for a
11292         larger TIMEOUT value.
11294 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
11296         [BZ #19674]
11297         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
11298         sign in overflowing and underflowing results when overflow or
11299         underflow is detected early.  Include sign in result before rather
11300         than after scaling.
11302         [BZ #19603]
11303         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
11304         (__ieee754_remainderl): Adjust sign of integer version of low part
11305         when taking absolute value of high part.
11306         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11307         * math/libm-test.inc (remainder_test_data): Add another test.
11308         (remquo_test_data): Likewise.
11310 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
11312         [BZ #19602]
11313         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
11314         equal high parts and both low parts zero specially.
11315         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
11316         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
11317         Add test-fmodl-ldbl-128ibm.
11319         [BZ #19595]
11320         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
11321         common logic for all cases of shifting subnormal results.  Do not
11322         insert sign bit in shifted mantissa.  Always pass -1023 as biased
11323         exponent to ldbl_insert_mantissa in subnormal case.
11325         [BZ #19594]
11326         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
11327         on high and low parts then adjust result and use
11328         ldbl_canonicalize_int if needed.
11330         [BZ #19593]
11331         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
11332         on high part and __floor or __ceil on low part then use
11333         ldbl_canonicalize_int if needed.
11335         [BZ #19592]
11336         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
11337         high and low parts then use ldbl_canonicalize_int if needed.
11339         [BZ #17899]
11340         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
11341         New function.
11342         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
11343         on high and low parts then use ldbl_canonicalize_int if needed.
11345 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11347         * configure: Regenerated.
11349         * po/libc.pot: Regenerated.
11351         * po/be.po: Updated translation.
11352         * po/bg.po: Likewise.
11353         * po/ca.po: Likewise.
11354         * po/cs.po: Likewise.
11355         * po/da.po: Likewise.
11356         * po/el.po: Likewise.
11357         * po/eo.po: Likewise.
11358         * po/es.po: Likewise.
11359         * po/fi.po: Likewise.
11360         * po/fr.po: Likewise.
11361         * po/gl.po: Likewise.
11362         * po/hr.po: Likewise.
11363         * po/hu.po: Likewise.
11364         * po/ia.po: Likewise.
11365         * po/id.po: Likewise.
11366         * po/it.po: Likewise.
11367         * po/ja.po: Likewise.
11368         * po/lt.po: Likewise.
11369         * po/nb.po: Likewise.
11370         * po/nl.po: Likewise.
11371         * po/pt_BR.po: Likewise.
11372         * po/rw.po: Likewise.
11373         * po/sk.po: Likewise.
11374         * po/sl.po: Likewise.
11375         * po/sv.po: Likewise.
11376         * po/tr.po: Likewise.
11377         * po/zh_CN.po: Likewise.
11378         * po/zh_TW.po: Likewise.
11380         * version.h (RELEAES): Set to "development".
11381         (VERSION): Set to 2.23.90.
11383         * version.h (RELEASE): Set to "stable".
11384         (VERSION): Set to 2.23.
11385         * include/feature.h (__GLIBC_MINOR__): Set to 23.
11387         * NEWS: Updated fixed bugs.
11389 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
11390             Wilco Dijkstra  <wdijkstr@arm.com>
11392         [BZ #19462]
11393         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
11394         (_STRING_INLINE_unaligned): This.
11395         * include/string.h: Include <string_private.h>.
11396         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
11397         _STRING_INLINE_unaligned.
11398         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
11399         (_STRING_INLINE_unaligned): New.
11400         * sysdeps/aarch64/string_private.h: New file.
11401         * sysdeps/generic/string_private.h: Likewise.
11402         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
11403         * sysdeps/s390/string_private.h: Likewise.
11404         * sysdeps/x86/string_private.h: Likewise.
11405         * sysdeps/m68k/m680x0/m68020/bits/string.h
11406         (_STRING_ARCH_unaligned): Renamed to ...
11407         (_STRING_INLINE_unaligned): This.
11408         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
11409         to ...
11410         (_STRING_INLINE_unaligned): This.
11411         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
11412         to ...
11413         (_STRING_INLINE_unaligned): This.
11414         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
11415         to ...
11416         (_STRING_INLINE_unaligned): This.
11418 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
11419             H.J. Lu  <hongjiu.lu@intel.com>
11421         [BZ #19590]
11422         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
11423         relocation.
11425 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
11427         [BZ #18665]
11428         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
11429         *herrno_p.
11430         (gaih_getanswer): Document functional behviour. Return tryagain
11431         if any result is tryagain.
11432         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
11433         when freed.
11434         * resolv/res_send.c: Add copyright text.
11435         (__libc_res_nsend): Document that MAXPACKET is expected.
11436         (send_vc): Document. Remove buffer reuse.
11437         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
11438         size of the buffer. Add Dprint for truncated UDP buffer.
11440 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
11442         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
11443         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
11444         * INSTALL: Regenerate.
11446 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
11447             Jonathan Wakely  <jwakely@redhat.com>
11448             Carlos O'Donell  <carlos@redhat.com>
11450         [BZ 19439]
11451         * math/Makefile (tests): Add test-math-isinff.
11452         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
11453         * math/bits/mathcalls.h [__USE_MISC]: Use
11454         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
11455         functions not in C++11 and which don't conflict e.g. isinff,
11456         isinfl etc.
11457         * math/test-math-isinff.cc: New file.
11459 2016-02-12  Florian Weimer  <fweimer@redhat.com>
11461         * misc/bug18240.c (do_test): Set RLIMIT_AS.
11463 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11465         [BZ #19529]
11466         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
11468 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11470         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
11472 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
11474         [BZ #19550]
11475         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
11476         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
11477         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
11478         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
11479         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
11480         New syscall entry.
11481         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
11482         New syscall entry.
11483         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
11484         syscall entry.
11486 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
11488         [BZ #18240]
11489         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
11490         unsigned int wraparound.
11492 2016-01-27  Florian Weimer  <fweimer@redhat.com>
11494         [BZ #18240]
11495         * misc/bug18240.c: New test.
11496         * misc/Makefile (tests): Add it.
11498 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
11499             Joseph Myers  <joseph@codesourcery.com>
11501         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
11502         load in branch delay slot when less than a word of input left.
11504 2016-01-27  Andreas Schwab  <schwab@suse.de>
11506         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
11507         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
11508         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
11509         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
11511 2016-01-26  David S. Miller  <davem@davemloft.net>
11513         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
11515 2016-01-25  David S. Miller  <davem@davemloft.net>
11517         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
11518         __sqrtl_finite.
11519         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
11520         instead using versioned_symbol.
11521         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
11522         of entries.
11524         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
11525         __sqrtl_finite to GLIBC_2.23
11527 2016-01-25  Ricchard Henderson  <rth@redhat.com>
11529         * sysdeps/alpha/fpu/libm-test-ulps: Update.
11531 2016-01-25  Andreas Schwab  <schwab@suse.de>
11533         [BZ #17514]
11534         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
11535         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
11536         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
11537         * nptl/tst-mutex-errorcheck.c: New file.
11539 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11541         [BZ #18560]
11542         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
11543         (IPCOP_semop): Likewise.
11544         (IPCOP_semget): Likewise.
11545         (IPCOP_semctl): Likewise.
11546         (IPCOP_msgsnd): Likewise.
11547         (IPCOP_msgrcv): Likewise.
11548         (IPCOP_msgget): Likewise.
11549         (IPCOP_msgctl): Likewise.
11550         (IPCOP_shmat): Likewise.
11551         (IPCOP_shmdt): Likewise.
11552         (IPCOP_shmget): Likewise.
11553         (IPCOP_shmctl): Likewise.
11555 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
11557         * string/tst-endian.c: Include <libc-internal.h>.
11558         (do_test): Ignore tautological-compare warnings around
11559         "htobeXX (beXXtoh (i)) != i" and
11560         "htoleXX (leXXtoh (i)) != i" if-statements.
11562 2016-01-24  David S. Miller  <davem@davemloft.net>
11564         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
11565         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
11566         alias.
11567         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
11568         __sqrtl_finite.
11570         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11572 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
11574         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
11575         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
11576         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
11578 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11580         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
11581         (thread_func): Use new function to simplify barrier check.
11582         (do_test): Use new function to simplify checking barrier exit
11583         code, and actually join the child thread.
11585 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11587         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
11588         semicolon.
11589         (__libc_tend): Likewise.
11590         (__libc_tabort): Likewise.
11592 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
11594         * sysdeps/nios2/libm-test-ulps: Update.
11595         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
11596         (__gtsf2): Likewise.
11597         (__unorddf2): Likewise.
11598         (__unordsf2): Likewise.
11599         (__ledf2): Likewise.
11601 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
11603         * nis/nis_table.c (__follow_path): Disable diagnostic for
11604         uninitialized variable that is a false positive for gcc 4.7.
11605         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
11607 2016-01-20  Roland McGrath  <roland@hack.frob.com>
11609         * sysdeps/nacl/lowlevellock-futex.h
11610         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
11611         Always evaluate PRIVATE argument.
11613 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
11615         [BZ #19490]
11616         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
11617         (pthread_cond_broadcast): Use ENTRY/END
11618         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
11619         (pthread_cond_signal): Likewise.
11620         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
11621         Likewise.
11622         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
11623         Likewise.
11624         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
11625         Likewise.
11627 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
11629         * sysdeps/ieee754/dbl-64/s_finite.c
11630         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
11631         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
11632         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
11633         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
11634         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
11636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
11637         (__gtsf2): Add as optional for libc.so.
11638         (__unordsf2): Likewise.
11639         (__signbit): Remove for libc.so.
11640         (__signbitl): Likewise.
11642 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
11644         * iconvdata/bug-iconv11.c (test_ibm93x):
11645         Use %zu printf format specifier for size_t argument.
11647 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
11649         * math/gen-libm-test.pl (parse_ulps): Do not reduce
11650         already-recorded ulps.
11651         * sysdeps/arm/libm-test-ulps: Regenerated.
11652         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
11653         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11654         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
11656 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
11657             Paul Pluzhnikov  <ppluzhnikov@google.com>
11659         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
11660         assembler not supporting AVX-512.
11662 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
11664         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11666 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
11668         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
11669         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11671         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11673         * sysdeps/arm/libm-test-ulps: Regenerated.
11675 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
11677         [BZ #19451]
11678         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
11680 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
11682         [BZ #19486]
11683         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
11684         * sysdeps/generic/fix-fp-int-convert-overflow.h
11685         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
11686         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
11687         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
11688         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
11689         Likewise.
11690         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
11691         Avoid conversions to long int where inexact exceptions
11692         could be raised.
11693         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
11694         Likewise.
11695         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
11696         Avoid conversions to long long int where inexact exceptions
11697         could be raised.
11698         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
11699         Likewise.
11701 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
11703         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
11704         * configure: Regenerated.
11706 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
11708         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
11710 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
11712         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
11713         outside of comment.
11715 2016-01-15  Torvald Riegel  <triegel@redhat.com>
11717         * nptl/tst-barrier1.c: Add description on first line.
11718         * nptl/tst-barrier2.c: Likewise.
11719         * nptl/tst-barrier3.c: Likewise.
11720         * nptl/tst-barrier4.c: Likewise.
11721         * nptl/tst-barrier5.c: Likewise.
11723 2016-01-15  Torvald Riegel  <triegel@redhat.com>
11725         [BZ #18868]
11726         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
11728 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
11730         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
11731         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
11732         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
11733         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
11734         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
11735         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
11736         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11737         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11738         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11739         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11740         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11742 2016-01-15  Torvald Riegel  <triegel@redhat.com>
11744         [BZ #13065]
11745         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
11746         new implementation.
11747         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
11748         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
11749         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
11750         (BARRIER_IN_THRESHOLD): New macro.
11751         * nptl/pthread_barrierattr_setpshared.c
11752         (pthread_barrierattr_setpshared): Clean up.
11753         * nptl/tst-barrier4.c: Correct comment.
11754         * nptl/tst-barrier5.c: New file.
11755         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
11756         (gen-as-const-headers): Remove lowlevelbarrier.sym.
11757         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
11758         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
11759         * nptl/lowlevelbarrier.sym: Remove.
11760         * nptl/DESIGN-barrier.txt: Remove.
11761         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
11762         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
11763         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
11764         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
11765         error.
11766         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
11767         implementation.
11769 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11771         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
11772         (do_child): Mask SIGRTMIN while thr is running.
11774 2016-01-15  Martin Sebor  <msebor@redhat.com>
11776         [BZ #19432]
11777         * iconvdata/Makefile: Add bug-iconv11.
11778         * iconvdata/bug-iconv11.c: New test.
11779         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
11780         * iconvdata/ibm933.c: Same.
11781         * iconvdata/ibm935.c: Same.
11782         * iconvdata/ibm937.c: Same.
11783         * iconvdata/ibm939.c: Same.
11785 2016-01-15  Martin Sebor  <msebor@redhat.com>
11787         [BZ #19443]
11788         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
11789         [DEBUG] (_ufc_set_bits): Declare used.
11790         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
11791         [DEBUG] (print_all): Declare used.
11792         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
11793         operands of the ternary ?: expression to target type.
11794         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
11795         calling the undeclared abort.
11796         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
11798 2016-01-15  Martin Sebor  <msebor@redhat.com>
11800         [BZ #18755]
11801         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
11802         warnings.
11803         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
11804         (__gai_create_helper_thread): Same.
11805         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
11806         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
11807         to suppress -Wmaybe-uninitialized warnings.
11809 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
11811         [BZ #19465]
11812         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
11813         inside if.
11814         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11815         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11816         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11818 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
11820         [BZ #19466]
11821         * time/tst-mktime2.c (time_t_max): Removed.
11822         (time_t_min): Likewise.
11823         (TYPE_SIGNED): New.
11824         (TYPE_MINIMUM): Likewise.
11825         (TYPE_MAXIMUM): Likewise.
11826         (TIME_T_MIN): Likewise.
11827         (TIME_T_MAX): Likewise.
11828         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
11829         and TIME_T_MIN.
11830         (do_test): Likewise.
11832 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
11834         [BZ #19467]
11835         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
11836         index_Fast_Unaligned_Load flag for Excavator family CPUs.
11838 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
11840         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
11842 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
11844         * benchtests/Makefile (PYTHON): Define.
11845         (bench-func): Use $(PYTHON) to run python scripts.
11846         ($(objpfx)bench-%.c): Likewise.
11848 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
11850         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
11851         leading slash when `file_name' is "/".
11853 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
11855         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
11856         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
11857         Likewise.
11858         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
11859         Likewise.
11860         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
11861         Likewise.
11862         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
11863         enum constant and macro.
11864         (PTRACE_SETSIGMASK): Likewise.
11865         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11866         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
11867         (PTRACE_GETSIGMASK): Likewise.
11868         (PTRACE_SETSIGMASK): Likewise.
11869         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11870         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
11871         Likewise.
11872         (PTRACE_SETSIGMASK): Likewise.
11873         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11874         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
11875         (PTRACE_GETSIGMASK): Likewise.
11876         (PTRACE_SETSIGMASK): Likewise.
11877         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11878         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
11879         Likewise.
11880         (PTRACE_SETSIGMASK): Likewise.
11881         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11882         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
11883         Likewise.
11884         (PTRACE_SETSIGMASK): Likewise.
11885         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11886         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
11887         Likewise.
11888         (PTRACE_SETSIGMASK): Likewise.
11889         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11891 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
11892             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11894         [BZ #19439]
11895         * math/bits/mathcalls.h
11896         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
11897         prototype.
11898         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
11900 2016-01-11  Andreas Schwab  <schwab@suse.de>
11902         [BZ #19253]
11903         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
11904         cache when TZDEFRULES was used.
11905         * time/tst-tzname.c: New file.
11906         * time/Makefile (test): Add tst-tzname.
11907         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
11908         * timezone/Makefile (test-zones): Add $(posixrules-file).
11909         ($(testdata)/$(posixrules-file)): New rule.
11911 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
11913         Fix doc quoting problems with Texinfo 5
11914         Without this change, in the info file output, Texinfo 5 quotes code
11915         in text with undirected single quotes 'like this' and generates
11916         code examples that with many PDF readers cannot be cut out of PDFs
11917         and pasted into code.
11918         * manual/libc.texinfo: Configure the libc manual like the GNU
11919         Emacs manual, by using @documentencoding and setting
11920         txicodequoteundirected and txicodequotebacktick.  This way,
11921         Texinfo 5 quotes code in text with directed single quotes ‘like
11922         this’ and produces examples that can be cut out of PDFs.  This
11923         change causes Texinfo 5 to generate info files that contain UTF-8
11924         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
11925         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
11927 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11929         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
11930         __libc_tabort, __libc_tend): New wrappers that enforce compiler
11931         barriers to their respective compiler built-ins.
11932         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
11933         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
11934         * sysdeps/powerpc/sysdep.h: Likewise.
11935         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
11936         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
11937         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
11939 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
11941         * scripts/config.guess: Revert previous shebang change.
11942         * scripts/config.sub: Likewise.
11943         * scripts/mkinstalldirs: Likewise.
11945 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11947         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
11948         PPC_FEATURE2_HAS_IEEE128.
11949         * sysdeps/powerpc/dl-procinfo.c:
11950         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
11952 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
11954         [BZ #19415]
11955         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
11956         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
11957         (_dl_lookup_address): Rewrite using function resolver trampoline.
11958         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
11959         two bits in address.
11961 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
11963         * longlong.h: Change !__SHMEDIA__ to
11964         (!defined (__SHMEDIA__) || !__SHMEDIA__).
11965         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
11967 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
11968             Joseph Myers  <joseph@codesourcery.com>
11969             Mark Shinwell  <shinwell@codesourcery.com>
11970             Andrew Stubbs  <ams@codesourcery.com>
11971             Rich Felker <dalias@libc.org>
11973         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
11975 2016-01-07  Richard Henderson  <rth@redhat.com>
11977         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
11979 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
11981         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
11982         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
11983         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
11984         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
11985         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
11987 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
11988             Joseph Myers  <joseph@codesourcery.com>
11990         * timezone/private.h: Update from tzcode 2015g.
11991         * timezone/tzfile.h: Likewise.
11992         * timezone/tzselect.ksh: Likewise.
11993         * timezone/zdump.c: Likewise.
11994         * timezone/zic.c: Likewise.
11995         * timezone/ialloc.c: Remove file.
11996         * timezone/scheck.c: Likewise.
11997         * timezone/Makefile (extra-objs): Remove variable.
11998         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
11999         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
12000         -Wno-maybe-uninitialized.
12001         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
12002         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
12003         (CFLAGS-ialloc.c): Remove variable.
12004         (CFLAGS-scheck.c): Likewise.
12005         * timezone/README: Update list of files from tzcode.
12007 2016-01-07  Khem Raj  <raj.khem@gmail.com>
12009         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
12010         instead of __fxprintf when _LIBC is undefined.
12012 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
12014         * catgets/test-gencat.sh: Remove space after shebang.
12015         * conform/GlibcConform.pm: Likewise.
12016         * conform/check-header-lists.sh: Likewise.
12017         * conform/conformtest.pl: Likewise.
12018         * conform/linknamespace.pl: Likewise.
12019         * conform/list-header-symbols.pl: Likewise.
12020         * debug/catchsegv.sh: Likewise.
12021         * elf/genrtldtbl.awk: Likewise.
12022         * elf/tst-pathopt.sh: Likewise.
12023         * elf/tst-rtld-load-self.sh: Likewise.
12024         * grp/tst_fgetgrent.sh: Likewise.
12025         * iconvdata/gen-8bit-gap-1.sh: Likewise.
12026         * iconvdata/gen-8bit-gap.sh: Likewise.
12027         * iconvdata/gen-8bit.sh: Likewise.
12028         * iconvdata/run-iconv-test.sh: Likewise.
12029         * intl/tst-gettext.sh: Likewise.
12030         * intl/tst-gettext2.sh: Likewise.
12031         * intl/tst-gettext4.sh: Likewise.
12032         * intl/tst-gettext6.sh: Likewise.
12033         * intl/tst-translit.sh: Likewise.
12034         * io/ftwtest-sh: Likewise.
12035         * libio/test-freopen.sh: Likewise.
12036         * locale/gen-translit.pl: Likewise.
12037         * malloc/tst-mtrace.sh: Likewise.
12038         * manual/check-safety.sh: Likewise.
12039         * manual/libc-texinfo.sh: Likewise.
12040         * manual/tsort.awk: Likewise.
12041         * manual/xtract-typefun.awk: Likewise.
12042         * nptl/tst-cancel-wrappers.sh: Likewise.
12043         * nptl/tst-tls6.sh: Likewise.
12044         * posix/globtest.sh: Likewise.
12045         * posix/tst-getconf.sh: Likewise.
12046         * posix/wordexp-tst.sh: Likewise.
12047         * scripts/check-c++-types.sh: Likewise.
12048         * scripts/check-local-headers.sh: Likewise.
12049         * scripts/config.guess: Likewise.
12050         * scripts/config.sub: Likewise.
12051         * scripts/cpp: Likewise.
12052         * scripts/cross-test-ssh.sh: Likewise.
12053         * scripts/documented.sh: Likewise.
12054         * scripts/evaluate-test.sh: Likewise.
12055         * scripts/gen-libc-abis: Likewise.
12056         * scripts/gen-sorted.awk: Likewise.
12057         * scripts/list-fixed-bugs.py: Likewise.
12058         * scripts/merge-test-results.sh: Likewise.
12059         * scripts/mkinstalldirs: Likewise.
12060         * scripts/rellns-sh: Likewise.
12061         * scripts/test-installation.pl: Likewise.
12062         * scripts/update-copyrights: Likewise.
12063         * stdio-common/tst-printf.sh: Likewise.
12064         * stdio-common/tst-unbputc.sh: Likewise.
12065         * stdlib/tst-fmtmsg.sh: Likewise.
12066         * stdlib/tst-setcontext3.sh: Likewise.
12067         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
12068         * sysdeps/unix/make-syscalls.sh: Likewise.
12070 2016-01-06  John David Anglin  <dave.anglin@bell.net>
12072         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
12073         asm stw with atomic_exchange_rel.  Add explanatory comment.
12074         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
12075         Likewise.
12077 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
12079         [BZ #19122]
12080         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
12081         * sysdeps/generic/dl-unistd.h: New file.
12082         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
12084 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
12086          [BZ #19122]
12087          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
12088          * sysdeps/generic/dl-mman.h: New file.
12089          * sysdeps/mach/hurd/dl-mman.h: Likewise.
12091 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
12093         * manual/texinfo.tex: Update to version 2016-01-04.21 with
12094         trailing whitespace removed.
12095         * scripts/config.guess: Update to version 2016-01-01.
12096         * scripts/config.sub: Update to version 2016-01-01.
12097         * scripts/move-if-change: Update from gnulib.
12099 2016-01-04  Anton Blanchard  <anton@samba.org>
12101         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
12102         for array indices.
12103         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
12105 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
12107         * NEWS: Update copyright dates.
12108         * catgets/gencat.c (print_version): Likewise.
12109         * csu/version.c (banner): Likewise.
12110         * debug/catchsegv.sh: Likewise.
12111         * debug/pcprofiledump.c (print_version): Likewise.
12112         * debug/xtrace.sh (do_version): Likewise.
12113         * elf/ldconfig.c (print_version): Likewise.
12114         * elf/ldd.bash.in: Likewise.
12115         * elf/pldd.c (print_version): Likewise.
12116         * elf/sotruss.sh: Likewise.
12117         * elf/sprof.c (print_version): Likewise.
12118         * iconv/iconv_prog.c (print_version): Likewise.
12119         * iconv/iconvconfig.c (print_version): Likewise.
12120         * locale/programs/locale.c (print_version): Likewise.
12121         * locale/programs/localedef.c (print_version): Likewise.
12122         * login/programs/pt_chown.c (print_version): Likewise.
12123         * malloc/memusage.sh (do_version): Likewise.
12124         * malloc/memusagestat.c (print_version): Likewise.
12125         * malloc/mtrace.pl: Likewise.
12126         * manual/libc.texinfo: Likewise.
12127         * nptl/version.c (banner): Likewise.
12128         * nscd/nscd.c (print_version): Likewise.
12129         * nss/getent.c (print_version): Likewise.
12130         * nss/makedb.c (print_version): Likewise.
12131         * posix/getconf.c (main): Likewise.
12132         * scripts/test-installation.pl: Likewise.
12133         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
12135         * All files with FSF copyright notices: Update copyright dates
12136         using scripts/update-copyrights.
12137         * intl/plural.c: Regenerated.
12138         * locale/programs/charmap-kw.h: Likewise.
12139         * locale/programs/locfile-kw.h: Likewise.
12141 2016-01-02  Helge Deller  <deller@gmx.de>
12143         [BZ #19285]
12144         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
12145         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
12146         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
12147         (MADV_xxK_PAGES): Remove.
12149 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
12151         [BZ #15421]
12152         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
12153         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
12154         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
12155         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
12157 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
12159         [BZ #19408]
12160         * sysdeps/unix/sysv/linux/personality.c: New file.
12161         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
12162         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
12163         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
12164         (sysdep_routines): Add personality.
12165         (tests): Add tst-personality.
12166         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
12167         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
12168         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
12169         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
12170         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
12171         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
12172         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
12173         Likewise.
12174         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
12175         Likewise.
12176         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
12177         Likewise.
12178         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
12179         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
12180         Likewise.
12182 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
12184         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
12185         (PATH_ARM_SYSTYPE): Remove.
12186         (PATH_CPUINFO): Likewise.
12187         (IO_BASE_FOOTBRIDGE): Likewise.
12188         (IO_SHIFT_FOOTBRIDGE): Likewise.
12189         (struct platform): Likewise.
12190         (init_iosys): Remove compatibility code for 2.4 kernels.
12191         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
12193 2015-12-29  Florian Weimer  <fweimer@redhat.com>
12195         * malloc/tst-malloc-thread-fail.c: New file.
12196         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
12197         (tst-malloc-thread-fail): Link against libpthread.
12199 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
12201         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
12202         (get_parser): New function.
12203         (main): New function.
12205 2015-12-29  Rob Wu  <rob@robwu.nl>
12207         [BZ #19369]
12208         * resolv/res_init.c (__res_vinit): Reset defdname before use.
12210 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
12212         [BZ #19270]
12213         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
12215 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
12217         [BZ #15421]
12218         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
12220 2015-12-23  Torvald Riegel  <triegel@redhat.com>
12222         [BZ #13690]
12223         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
12224         after releasing it.
12225         (__lll_robust_unlock): Likewise.
12226         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
12227         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
12228         (lll_robust_unlock): Likewise.
12229         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
12230         Prevent warnings in callers.
12232 2015-12-23  Florian Weimer  <fweimer@redhat.com>
12234         * malloc/arena.c (list_lock): Update comment.
12236 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12238         * sysdeps/powerpc/hwcapinfo.c: Export symbol
12239         __parse_hwcap_and_convert_at_platform to libc.a.
12241 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12243         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
12244         platform and feature support for POWER9.
12245         * sysdeps/powerpc/dl-procinfo.h: Likewise.
12246         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
12247         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
12248         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
12249         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
12250         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
12251         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
12252         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
12254 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12256         Harmonize generic stdio-lock support with nptl
12258         This fixes build when _IO_funlockfile is a macro, fixes build where
12259         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
12260         stack unwind.
12262         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
12263         _IO_release_lock ): Use cleanup attribute on new
12264         _IO_acquire_lock_file variable instead of assuming that
12265         _IO_release_lock will be called.
12266         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
12267         _IO_acquire_lock_needs_exceptions_enabled.
12268         (_IO_acquire_lock_clear_flags2): New macro.
12270 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12272         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
12274 2015-12-21  Florian Weimer  <fweimer@redhat.com>
12276         [BZ #19182]
12277         * malloc/arena.c (list_lock): Document lock ordering requirements.
12278         (free_list_lock): New lock.
12279         (ptmalloc_lock_all): Comment on free_list_lock.
12280         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
12281         (detach_arena): Update comment.  free_list_lock is now needed.
12282         (_int_new_arena): Use free_list_lock around detach_arena call.
12283         Acquire arena lock after list_lock.  Add comment, including FIXME
12284         about incorrect synchronization.
12285         (get_free_list): Switch to free_list_lock.
12286         (reused_arena): Acquire free_list_lock around detach_arena call
12287         and attached threads counter update.  Add two FIXMEs about
12288         incorrect synchronization.
12289         (arena_thread_freeres): Switch to free_list_lock.
12290         * malloc/malloc.c (struct malloc_state): Update comments to
12291         mention free_list_lock.
12293 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
12295         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
12296         Remove functions.
12297         (sloww, sloww1): Accept argument to offset quadrant.
12298         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
12299         quadrant.
12300         (__sin, __cos): Consolidate common code into new functions.
12301         (reduce_sincos_1, do_sincos_1): New functions.
12302         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
12304         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
12305         code to new functions.
12306         (reduce_sincos_2, do_sincos_2): New functions.
12307         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
12309         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
12310         common code for sincos.
12311         (__cos) [!IN_SINCOS]: Likewise.
12312         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
12313         New function.
12314         (__sincos): Use it.
12316 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
12318         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
12319         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
12320         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
12322 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
12324         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
12325         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
12326         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
12327         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
12328         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12329         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
12330         index_Prefer_No_VZEROUPPER): New feature.
12331         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
12332         Prefer_No_VZEROUPPER for Knights Landing.
12334 015-12-18  Torvald Riegel  <triegel@redhat.com>
12336         * math/atest-exp2.c (mp_exp_m1): Remove.
12338 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12340         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
12341         syscalls.
12342         (__SYSCALL0): New macro.
12343         (__SYSCALL1): Likewise.
12344         (__SYSCALL2): Likewise.
12345         (__SYSCALL3): Likewise.
12346         (__SYSCALL4): Likewise.
12347         (__SYSCALL5): Likewise.
12348         (__SYSCALL6): Likewise.
12349         (__SYSCALL_CONCAT_X): Likewise.
12350         (__SYSCALL_CONCAT): Likewise.
12351         (__SYSCALL_DIST): Likewise.
12352         (__SYSCALL_CALL): Likewise.
12354 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
12356         [BZ #19363]
12357         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
12359 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12361         [BZ #19375]
12362         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
12363         negative subnormals.
12365 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
12367         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
12368         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
12369         (INTERNAL_SYSCALL_NCS): Use it.
12370         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
12372 2015-12-16  Florian Weimer  <fweimer@redhat.com>
12374         [BZ #19243]
12375         * malloc/arena.c (get_free_list): Remove assert and adjust
12376         reference count handling.  Add comment about reused_arena
12377         interaction.
12378         (reused_arena): Add comments abount get_free_list interaction.
12379         * malloc/tst-malloc-thread-exit.c: New file.
12380         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
12381         (tst-malloc-thread-exit): Link against libpthread.
12383 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
12385         [BZ #19367]
12386         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
12387         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
12388         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
12389         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
12390         (index_Prefer_MAP_32BIT_EXEC): Likewise.
12392 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
12394         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
12395         Silvermont optimizations for Knights Landing.
12397 2015-12-15  Andreas Schwab  <schwab@suse.de>
12399         [BZ #17197]
12400         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
12401         immediately after emitting SI.
12402         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
12403         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
12404         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
12405         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
12406         * iconvdata/bug-iconv10.c: New file.
12407         * iconvdata/Makefile (tests): Add bug-iconv10.
12408         ($(objpfx)bug-iconv10.out): New rule.
12410 2015-12-15  Florian Weimer  <fweimer@redhat.com>
12412         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
12413         aliasing violation.
12415 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
12417         [BZ #18472]
12418         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
12419         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
12420         conditionals for them.
12421         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
12422         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
12423         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
12424         sys/kdaemon.h.
12425         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
12426         compat-only syscall, obsoleted in glibc 2.23.
12427         (create_module): Likewise.
12428         (get_kernel_syms): Likewise.
12429         (query_module): Likewise.
12430         (uselib): Likewise.
12431         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
12433 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
12435         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
12436         <linux/version.h>.
12437         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
12438         conditional code.
12439         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
12440         and ioshift_name initialization.
12442 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
12444         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
12445         Fix indentation.
12447 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
12449         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
12451 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
12453         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
12455 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
12456             Jakub Wilk  <jwilk@debian.org>
12458         [BZ #19347]
12459         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
12460         to change the group of the device to the tty group.
12462 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
12464         Split large string section; add truncation advice
12465         * manual/examples/strncat.c: Remove.
12466         This example was misleading, as the code would have undefined
12467         behavior if "hello" was longer than SIZE.  Anyway, the manual
12468         shouldn't encourage strncpy+strncat for this sort of thing.
12469         * manual/string.texi (Copying Strings and Arrays): Split into
12470         three sections Copying Strings and Arrays, Concatenating Strings,
12471         and Truncating Strings, as this section was way too long.  All
12472         cross-referenced changed.  Add advice about string-truncation
12473         functions.  Remove misleading strncat example.
12475 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
12477         * manual/nss.texi (NSS Modules Interface): Document
12478         NSS_STATUS_NOTFOUND and SUCCESS.
12480 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
12482         [BZ 18568]
12483         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
12484         201505L, for Unicode 8.
12486 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
12488         * locale/C-translit.h: Regenerate.
12490 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
12492         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
12493         and U+0153.
12495 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
12497         [BZ #19351]
12498         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
12499         expanding log(1+z), compare z rather than its square with epsilon
12500         to determine when to avoid evaluating the expansion.
12502         [BZ #19350]
12503         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
12504         Increase overflow threshold.
12506         [BZ #19349]
12507         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
12508         when small.
12510         * sysdeps/unix/sysv/linux/i386/kernel-features.h
12511         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
12512         New macro.
12513         [__LINUX_KERNEL_VERSION >= 0x040300]
12514         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
12515         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
12516         Likewise.
12517         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
12518         Likewise.
12519         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
12520         Likewise.
12521         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
12522         Likewise.
12523         [__LINUX_KERNEL_VERSION >= 0x040300]
12524         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
12525         [__LINUX_KERNEL_VERSION >= 0x040300]
12526         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
12527         [__LINUX_KERNEL_VERSION >= 0x040300]
12528         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
12529         [__LINUX_KERNEL_VERSION >= 0x040300]
12530         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
12531         [__LINUX_KERNEL_VERSION >= 0x040300]
12532         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
12533         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
12534         Likewise.
12535         [__LINUX_KERNEL_VERSION >= 0x040300]
12536         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
12537         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12538         Likewise.
12539         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
12540         Likewise.
12541         [__LINUX_KERNEL_VERSION >= 0x040300]
12542         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
12543         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12544         Likewise.
12545         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
12546         Likewise.
12547         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12548         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
12549         Likewise.
12550         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
12551         Likewise.
12552         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
12553         Likewise.
12554         [__LINUX_KERNEL_VERSION >= 0x040300]
12555         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
12556         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
12557         Likewise.
12558         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
12559         Likewise.
12560         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
12561         Likewise.
12562         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
12563         Likewise.
12564         [__LINUX_KERNEL_VERSION >= 0x040300]
12565         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
12566         [__LINUX_KERNEL_VERSION >= 0x040300]
12567         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
12568         [__LINUX_KERNEL_VERSION >= 0x040300]
12569         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
12570         [__LINUX_KERNEL_VERSION >= 0x040300]
12571         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
12572         [__LINUX_KERNEL_VERSION >= 0x040300]
12573         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
12574         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
12575         Likewise.
12576         [__LINUX_KERNEL_VERSION >= 0x040300]
12577         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
12578         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12579         Likewise.
12580         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
12581         Likewise.
12582         [__LINUX_KERNEL_VERSION >= 0x040300]
12583         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
12584         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12585         Likewise.
12586         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
12587         Likewise.
12588         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12589         (__ASSUME_SOCKET_SYSCALL): Likewise.
12590         (__ASSUME_BIND_SYSCALL): Likewise.
12591         (__ASSUME_CONNECT_SYSCALL): Likewise.
12592         (__ASSUME_LISTEN_SYSCALL): Likewise.
12593         (__ASSUME_ACCEPT_SYSCALL): Likewise.
12594         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
12595         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
12596         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
12597         (__ASSUME_SEND_SYSCALL): Likewise.
12598         (__ASSUME_SENDTO_SYSCALL): Likewise.
12599         (__ASSUME_RECV_SYSCALL): Likewise.
12600         (__ASSUME_RECVFROM_SYSCALL): Likewise.
12601         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
12602         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
12603         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
12604         (__ASSUME_SENDMSG_SYSCALL): Likewise.
12605         (__ASSUME_RECVMSG_SYSCALL): Likewise.
12606         * sysdeps/unix/sysv/linux/sh/kernel-features.h
12607         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
12608         Likewise.
12609         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
12610         Likewise.
12611         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
12612         Likewise.
12613         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
12614         Likewise.
12615         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
12616         Likewise.
12617         [__LINUX_KERNEL_VERSION >= 0x020625]
12618         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
12619         [__LINUX_KERNEL_VERSION >= 0x020625]
12620         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
12621         [__LINUX_KERNEL_VERSION >= 0x020625]
12622         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
12623         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
12624         Likewise.
12625         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
12626         Likewise.
12627         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
12628         Likewise.
12629         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
12630         Likewise.
12631         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
12632         Likewise.
12633         [__LINUX_KERNEL_VERSION >= 0x020625]
12634         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
12635         [__LINUX_KERNEL_VERSION >= 0x020625]
12636         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
12637         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
12638         Likewise.
12639         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
12640         Likewise.
12642 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
12644         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
12645         record the current if the current ABI and CPU support the FP64
12646         extension.
12647         (has-modd-spreg): Define to record the current if the current ABI and
12648         CPU support 32-bit floating point values in odd FPU registers.
12649         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
12650         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
12651         $(has-modd-spreg) equals yes.
12652         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
12653         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
12654         $(has-modd-spreg) equal yes.
12656 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
12658         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
12659         basename.
12661 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
12663         * benchtests/Makefile (bench-math): Move ffs and ffsll...
12664         (bench-string): ... here.
12665         (bench): Add bench-string.
12666         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
12667         to *-benchset to reflect what they are.
12668         (benchset): Adjust.
12670         * benchtests/sincos-inputs: Add inputs from sin-inputs and
12671         cos-inputs.
12673 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
12675         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
12676         __attribute__ ((__simd__)) for vector math function declarations.
12678 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
12680         Fix typo in strncat, wcsncat manual entries
12681         * manual/string.texi (Copying and Concatenation): Fix typos in
12682         sample implementations of strncat and wcsncat, by having them use
12683         the old value of the destination length, not the new one.
12685 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
12687         [BZ #16961]
12688         [BZ #16962]
12689         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
12690         string on the stack for strtod.
12691         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
12692         a string on the stack for strtof.
12693         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
12694         constructing a string on the stack for strtold.
12695         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
12696         __strtold_nan to GLIBC_PRIVATE.
12697         * math/test-nan-overflow.c: New file.
12698         * math/test-nan-payload.c: Likewise.
12699         * math/Makefile (tests): Add test-nan-overflow and
12700         test-nan-payload.
12702 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
12704         Consistency about byte vs character in string.texi
12705         * manual/string.texi (String and Array Utilities):
12706         Distinguish more carefully among bytes, multibyte characters,
12707         and wide characters.  Use "byte" when talking about C 'char',
12708         to distinguish it more clearly from multibyte characters.
12709         Say "wide character" or "multibyte character" instead of
12710         "character", when a wide or multibyte character is intended.
12711         Similarly for "multibyte string" versus "string".
12712         Define these terms more carefully.
12714 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
12716         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
12717         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
12718         Likewise.
12719         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
12720         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
12721         * sysdeps/sh/math_private.h: New file.
12722         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
12723         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
12724         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
12725         long double function name.
12726         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12727         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12728         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
12729         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
12730         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12731         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
12732         Remove __finitel, __isinfl, and __isnanl.
12733         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
12734         Likewise.
12735         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12736         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12737         Remove __finitel.
12738         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12739         Likewise.
12740         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12742 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
12744         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
12745         installed libmvec_nonshared.a.
12747 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12749         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
12750         (sysdep_routines): Likewise.
12751         (sysdep-rtld-routines): Likewise.
12752         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
12753         [$(subdir) = nptl](tests-static): test-get_hwcap-static
12754         * sysdeps/powerpc/Versions: Added new
12755         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
12756         * sysdeps/powerpc/hwcapinfo.c: New file.
12757         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
12758         and parse hwcap, hwcap2 and platform number information.
12759         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
12760         to store HWCAP+HWCAP2 and platform number.
12761         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
12762         for HWCAP+HWCAP2 and platform number in the TCB.
12763         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
12764         the HWCAP, HWCAP2 and platform number in the TCB.
12765         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
12766         (TLS_INIT_TP): Included calls to add the hwcap and
12767         at_platform values in the TCB in TP initialization.
12768         (TLS_DEFINE_INIT_TP): Likewise.
12769         (THREAD_GET_HWCAP): New macro.
12770         (THREAD_SET_HWCAP): Likewise.
12771         (THREAD_GET_AT_PLATFORM): Likewise.
12772         (THREAD_SET_AT_PLATFORM): Likewise.
12773         * sysdeps/powerpc/powerpc32/dl-machine.h:
12774         (dl_platform_init): New function that calls
12775         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
12776         powerpc32.
12777         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
12778         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
12779         this functionality, static linking case.
12780         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
12781         linking case.
12782         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
12783         __parse_hwcap_and_convert_at_platform for the static linking case.
12784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
12785         Included the new __parse_hwcap_and_convert_at_platform symbol in the
12786         ABI list for GLIBC 2.23.
12787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
12788         Likewise.
12789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
12790         Likewise.
12792 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
12794         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
12795         * configure: Regenerate.
12796         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
12797         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
12799 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
12801         * iconvdata/ibm930.c: Add comment explaining encoding uses.
12802         * iconvdata/ibm933.c: Likewise.
12803         * iconvdata/ibm935.c: Likewise.
12804         * iconvdata/ibm937.c: Likewise.
12805         * iconvdata/ibm939.c: Likewise.
12807 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12809         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
12810         pthread_join.
12811         * nptl/tst-cancel21.c (tf): Likewise.
12813 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
12815         [BZ #19313]
12816         * bits/typesizes.h (__CPU_MASK_TYPE): New.
12817         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
12818         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
12819         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
12820         Likewise.
12821         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
12822         Likewise.
12823         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
12824         Likewise.
12825         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
12826         Likewise.
12827         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
12828         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
12829         unsigned long int with __CPU_MASK_TYPE.
12831 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12833         * sysdeps/aarch64/libm-test-ulps: Regenerated.
12835 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
12837         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
12838         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
12839         t512.x.
12840         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
12842 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
12844         [BZ #19214]
12845         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
12846         argument to return extended model.  Update family and model
12847         with extended family and model when family == 0x0f.
12848         (init_cpu_features): Updated.
12850 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12852         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
12853         signed off_t, so 32bit bigger than 2GiB values are fine actually.
12855         * sysdeps/mach/hurd/mmap64.c: New file.
12857 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
12859         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
12860         rights for its main user thread in NEWTASK.
12862 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
12864         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
12865         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
12867 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
12869         [BZ #14259]
12870         * Makeconfig: Rename localedir to complocaledir.
12871         Rename inst_localedir to inst_complocaledir.
12872         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
12873         * config.make.in: Use complocaledir and libc_cv_complocaledir.
12874         * configure.ac: Use libc_cv_complocaledir.
12875         * configure: Regenerate.
12876         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
12877         -DCOMPLOCALEDIR.
12878         * locale/findlocale.c: Use COMPLOCALEDIR.
12879         * locale/loadarchive.c: Likewise.
12880         * locale/programs/locale.c: Likewise.
12881         * locale/programs/localedef.c: Likewise.
12882         * locale/programs/locarchive.c: Likewise.
12883         * localedata/Makefile: Use inst_complocaledir.
12884         * sysdeps/gnu/configure: Regenerate.
12885         * sysdeps/hppa/configure: Regenerate.
12886         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
12887         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
12888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
12889         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
12890         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
12891         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
12892         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
12894 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
12896         [BZ #19058]
12897         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
12898         AS_NEEDED.
12899         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
12900         workaround.
12901         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
12902         libmvec-static-only-routines): Added new file.
12903         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
12905 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12907         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
12908         of interrupted RPC instead of restoring it.
12910         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
12911         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
12912         libc_hidden_def.
12913         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
12914         into initialized data instead of common. Define rtld_hidden_data_def.
12915         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
12916         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
12917         libc_hidden_def.
12918         (if_freenameindex): Add libc_hidden_weak.
12919         (if_nameindex): Add libc_hidden_weak.
12920         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
12921         __open64.
12922         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
12923         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
12924         * sysdeps/mach/nanosleep.c: Include <time.h>
12925         (__nanosleep): Rename to __libc_nanosleep.
12926         (__nanosleep): Add weak_alias.
12927         (nanosleep): Update alias.
12929 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
12931         * stdlib/strtod_nan.c: New file.
12932         * stdlib/strtod_nan_double.h: Likewise.
12933         * stdlib/strtod_nan_float.h: Likewise.
12934         * stdlib/strtod_nan_main.c: Likewise.
12935         * stdlib/strtod_nan_narrow.h: Likewise.
12936         * stdlib/strtod_nan_wide.h: Likewise.
12937         * stdlib/strtof_nan.c: Likewise.
12938         * stdlib/strtold_nan.c: Likewise.
12939         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
12940         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
12941         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
12942         * wcsmbs/wcstod_nan.c: Likewise.
12943         * wcsmbs/wcstof_nan.c: Likewise.
12944         * wcsmbs/wcstold_nan.c: Likewise.
12945         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
12946         strtold_nan.
12947         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
12948         wcstof_nan.
12949         * include/stdlib.h (__strtof_nan): Declare and use
12950         libc_hidden_proto.
12951         (__strtod_nan): Likewise.
12952         (__strtold_nan): Likewise.
12953         (__wcstof_nan): Likewise.
12954         (__wcstod_nan): Likewise.
12955         (__wcstold_nan): Likewise.
12956         * include/wchar.h (____wcstoull_l_internal): Declare.
12957         * stdlib/strtod_l.c: Do not include <ieee754.h>.
12958         (____strtoull_l_internal): Remove declaration.
12959         (STRTOF_NAN): Define macro.
12960         (SET_MANTISSA): Remove macro.
12961         (STRTOULL): Likewise.
12962         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
12963         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
12964         (STRTOF_NAN): Define macro.
12965         (SET_MANTISSA): Remove macro.
12966         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
12967         (SET_MANTISSA): Remove macro.
12968         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
12969         macro.
12970         (SET_MANTISSA): Remove macro.
12971         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
12972         macro.
12973         (SET_MANTISSA): Remove macro.
12974         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
12975         (SET_MANTISSA): Remove macro.
12976         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
12977         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
12978         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
12980         [BZ #19266]
12981         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
12982         upper case and lower case letters inside NAN(), not using TOLOWER.
12983         * stdlib/tst-strtod-nan-locale-main.c: New file.
12984         * stdlib/tst-strtod-nan-locale.c: Likewise.
12985         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
12986         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
12987         Depend on $(gen-locales).
12988         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
12989         * wcsmbs/tst-wcstod-nan-locale.c: New file.
12990         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
12991         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
12992         Depend on $(gen-locales).
12993         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
12995 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
12997         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
12999         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
13000         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
13001         __finitel, __isinfl, and __isnanl.
13002         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
13003         Likewise.
13004         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13005         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
13006         __finitel.
13007         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13008         Likewise.
13009         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13011 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
13013         * malloc/memusage.c (me): Remove redundant getenv call.
13015 2015-10-24  Florian Weimer  <fweimer@redhat.com>
13017         [BZ #19143]
13018         [BZ #19164]
13019         * nptl/check-cpuset.h: Remove.
13020         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
13021         Remove CPU set size check.
13022         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
13023         Likewise.
13024         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
13025         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
13026         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
13027         (__pthread_setaffinity_new): Remove CPU set size check.
13028         * sysdeps/unix/sysv/linux/sched_setaffinity.c
13029         (__kernel_cpumask_size): Remove.
13030         (__sched_setaffinity_new): Remove CPU set size check.
13031         * manual/threads.texi (Default Thread Attributes): Remove stale
13032         reference to check_cpuset_attr, determine_cpumask_size in comment.
13033         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
13034         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
13035         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
13036         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
13037         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
13038         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
13039         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
13040         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
13041         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
13042         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
13043         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
13044         skeleton test file.
13045         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
13046         tst-affinity-pid.
13048 2015-11-24  Florian Weimer  <fweimer@redhat.com>
13050         * scripts/update-abilist.sh: New file.
13051         * Makefile (+subdir_targets): Add subdir_update-all-abi.
13052         * Makerules (update-all-abi-%, update-all-abi)
13053         (subdir_update-all-abi): New targets.
13054         * elf/Makefile (update-all-abi): New target.
13056 2015-11-24  Florian Weimer  <fweimer@redhat.com>
13058         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
13059         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
13060         (__libc_lock_define_initialized): Use it.
13061         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
13062         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
13063         * malloc/malloc.c (main_arena): Likewise.
13064         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
13065         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
13067 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
13069         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
13070         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
13071         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
13072         (PTRACE_O_MASK): Update value.
13073         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
13074         New value in enum __ptrace_setoptions.
13075         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
13076         (PTRACE_O_MASK): Update value.
13077         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
13078         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
13079         (PTRACE_O_MASK): Update value.
13080         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
13081         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
13082         (PTRACE_O_MASK): Update value.
13083         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
13084         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
13085         (PTRACE_O_MASK): Update value.
13086         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
13087         New value in enum __ptrace_setoptions.
13088         (PTRACE_O_MASK): Update value.
13089         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
13090         New value in enum __ptrace_setoptions.
13091         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
13092         (PTRACE_O_MASK): Update value.
13094         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
13095         New macro.
13096         (PACKET_AUXDATA): Likewise.
13097         (PACKET_ORIGDEV): Likewise.
13098         (PACKET_VERSION): Likewise.
13099         (PACKET_HDRLEN): Likewise.
13100         (PACKET_RESERVE): Likewise.
13101         (PACKET_TX_RING): Likewise.
13102         (PACKET_LOSS): Likewise.
13103         (PACKET_VNET_HDR): Likewise.
13104         (PACKET_TX_TIMESTAMP): Likewise.
13105         (PACKET_TIMESTAMP): Likewise.
13106         (PACKET_FANOUT): Likewise.
13107         (PACKET_TX_HAS_OFF): Likewise.
13108         (PACKET_QDISC_BYPASS): Likewise.
13109         (PACKET_ROLLOVER_STATS): Likewise.
13110         (PACKET_FANOUT_DATA): Likewise.
13111         (PACKET_MR_UNICAST): Likewise.
13113         [BZ #19242]
13114         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
13115         (TOUPPER): Likewise.
13116         * stdlib/tst-strtol-locale-main.c: New file.
13117         * stdlib/tst-strtol-locale.c: Likewise.
13118         * stdlib/Makefile (tests): Add tst-strtol-locale.
13119         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
13120         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
13121         Depend on $(gen-locales).
13122         * wcsmbs/tst-wcstol-locale.c: New file.
13123         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
13124         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
13125         tr_TR.ISO-8859-9.
13126         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
13127         Depend on $(gen-locales).
13129 2015-11-20  Roland McGrath  <roland@hack.frob.com>
13131         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
13132         __glibc_likely instead of __builtin_expect.  After falling back to
13133         dyncode_create in a non-ET_DYN case, use the allocate_code_data
13134         system interface to register the code pages as occupied.
13136 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
13138         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
13139         [!ARM_MATH_PRIVATE_H].
13140         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
13141         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
13142         [!HPPA_MATH_PRIVATE_H].
13143         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
13144         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
13145         to [!I386_MATH_PRIVATE_H].
13146         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
13147         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
13148         Change guard to [!M68K_MATH_PRIVATE_H].
13149         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
13150         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
13151         guard to [!MICROBLAZE_MATH_PRIVATE_H].
13152         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
13153         macro.
13154         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
13155         [!MIPS_MATH_PRIVATE_H].
13156         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
13157         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
13158         [!NIO2_MATH_PRIVATE_H].
13159         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
13160         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
13161         [!TILE_MATH_PRIVATE_H].
13162         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
13164         [BZ #15421]
13165         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
13166         initialize with 0 and define as weak alias of __signgam.
13167         * include/math.h [!_ISOMAC] (__signgam): Declare.
13168         * math/Makefile (libm-calls): Add w_lgamma_compat.
13169         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
13170         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
13171         test-signgam-ullong-init.
13172         (tests-static): Add test-signgam-uchar-static,
13173         test-signgam-uchar-init-static, test-signgam-uint-static,
13174         test-signgam-uint-init-static, test-signgam-ullong-static and
13175         test-signgam-ullong-init-static.
13176         (CFLAGS-test-signgam-uchar.c): New variable.
13177         (CFLAGS-test-signgam-uchar-init.c): Likewise.
13178         (CFLAGS-test-signgam-uchar-static.c): Likewise.
13179         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
13180         (CFLAGS-test-signgam-uint.c): Likewise.
13181         (CFLAGS-test-signgam-uint-init.c): Likewise.
13182         (CFLAGS-test-signgam-uint-static.c): Likewise.
13183         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
13184         (CFLAGS-test-signgam-ullong.c): Likewise.
13185         (CFLAGS-test-signgam-ullong-init.c): Likewise.
13186         (CFLAGS-test-signgam-ullong-static.c): Likewise.
13187         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
13188         * math/Versions (libm): Add GLIBC_2.23.
13189         * math/lgamma-compat.h: New file.
13190         * math/test-signgam-main.c: Likewise.
13191         * math/test-signgam-uchar-init-static.c: Likewise.
13192         * math/test-signgam-uchar-init.c: Likewise.
13193         * math/test-signgam-uchar-static.c: Likewise.
13194         * math/test-signgam-uchar.c: Likewise.
13195         * math/test-signgam-uint-init-static.c: Likewise.
13196         * math/test-signgam-uint-init.c: Likewise.
13197         * math/test-signgam-uint-static.c: Likewise.
13198         * math/test-signgam-uint.c: Likewise.
13199         * math/test-signgam-ullong-init-static.c: Likewise.
13200         * math/test-signgam-ullong-init.c: Likewise.
13201         * math/test-signgam-ullong-static.c: Likewise.
13202         * math/test-signgam-ullong.c: Likewise.
13203         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
13204         wrapper of w_lgamma_main.c.
13205         * math/w_lgamma_compat.c: New file.
13206         * math/w_lgamma_compatf.c: Likewise.
13207         * math/w_lgamma_compatl.c: Likewise.
13208         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
13209         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
13210         defining compatibility symbols.
13211         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
13212         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
13213         wrapper of w_lgammaf_main.c.
13214         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
13215         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
13216         defining compatibility symbols.
13217         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
13218         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
13219         wrapper of w_lgammal_main.c.
13220         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
13221         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
13222         defining compatibility symbols.
13223         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
13224         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
13225         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
13226         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
13227         <lgamma-compat.h>.
13228         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
13229         (__ieee754_gamma): Define as alias.
13230         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
13231         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
13232         <lgamma-compat.h>.
13233         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
13234         (__ieee754_gammaf): Define as alias.
13235         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
13236         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
13237         <lgamma-compat.h>.
13238         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
13239         (__ieee754_gammal): Define as alias.
13240         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
13241         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
13242         <math/w_lgamma_compat.c>.
13243         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
13244         Define as alias of __lgamma_compat and use in defining lgammal.
13245         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
13246         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
13247         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
13248         (USE_AS_COMPAT): New macro.
13249         (LGAMMA_OLD_VER): Undefine and redefine.
13250         (lgammal): Do not define here.
13251         (gammal): Only define here if [GAMMA_ALIAS].
13252         * conform/linknamespace.pl (@whitelist): Remove signgam.
13253         * sysdeps/nacl/libm.abilist: Update.
13254         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13255         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13256         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13257         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13258         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13259         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13260         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13261         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13262         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13263         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13264         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13265         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13267         Likewise.
13268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13269         Likewise.
13270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13271         Likewise.
13272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13273         Likewise.
13274         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13275         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13276         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13277         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13278         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13279         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13280         Likewise.
13281         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13282         Likewise.
13283         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13284         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13285         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13287 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13289         [BZ #16364]
13290         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
13291         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
13293 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
13295         * sysdeps/s390/fpu/bits/mathinline.h:
13296         Use __asm__ [__volatile__] instead of asm [volatile].
13297         * sysdeps/s390/abort-instr.h: Likewise.
13298         * sysdeps/s390/atomic-machine.h: Likewise.
13299         * sysdeps/s390/bits/string.h: Likewise.
13300         * sysdeps/s390/dl-tls.h: Likewise.
13301         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
13302         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
13303         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
13304         * sysdeps/s390/fpu/fesetround.c: Likewise.
13305         * sysdeps/s390/fpu/fpu_control.h: Likewise.
13306         * sysdeps/s390/fpu/s_fma.c: Likewise.
13307         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
13308         * sysdeps/s390/memusage.h: Likewise.
13309         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
13310         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
13311         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
13312         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
13313         * sysdeps/s390/nptl/tls.h: Likewise.
13314         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
13315         * sysdeps/s390/s390-32/backtrace.c: Likewise.
13316         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13317         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
13318         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13319         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
13320         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
13321         * sysdeps/s390/s390-64/backtrace.c: Likewise.
13322         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13323         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
13324         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
13325         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13326         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
13327         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
13328         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
13329         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
13330         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
13331         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
13332         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
13333         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13334         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
13335         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13336         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
13338 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13339             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13341         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
13342         Add lwarx hint, and use macro for acquire instruction.
13343         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
13344         Likewise.
13345         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
13346         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
13347         update to use new atomic macros.
13349 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13351         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
13352         (__lll_trylock_elision): Fix setting of adapt_count.
13353         * sysdeps/unix/sysv/linux/powerpc/htm.h
13354         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
13355         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
13356         (_ABORT_SYSCALL): Renumber, and clarify definition.
13357         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
13359 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13361         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
13362         after system headers to prevent MIN/MAX redefinition.  Define
13363         HAVE_ALLOCA to preserve builtin alloca usage.
13365 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
13367         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
13368         static and don't set or restore rounding.
13369         (__cos)[IN_SINCOS]: Likewise.
13370         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
13371         (__sincos): Set and restore rounding mode.  Remove check for infinite
13372         or NaN input.
13374         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
13376         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
13377         as used.
13379 2015-11-16  Florian Weimer  <fweimer@redhat.com>
13381         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
13383 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
13385         * config.make.in (have-glob-dat-reloc): New.
13386         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
13387         target supports GLOB_DAT relocaton. AC_SUBST.
13388         * configure: Regenerated.
13389         * elf/Makefile (tests): Add tst-prelink.
13390         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
13391         (tst-prelink-ENV): New.
13392         ($(objpfx)tst-prelink-conflict.out): Likewise.
13393         ($(objpfx)tst-prelink-cmp.out): Likewise.
13394         * sysdeps/x86/tst-prelink.c: Moved to ...
13395         * elf/tst-prelink.c: Here.
13396         * sysdeps/x86/tst-prelink.exp: Moved to ...
13397         * elf/tst-prelink.exp: Here.
13398         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
13399         (tst-prelink-ENV): Removed.
13400         ($(objpfx)tst-prelink-conflict.out): Likewise.
13401         ($(objpfx)tst-prelink-cmp.out): Likewise.
13402         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
13404 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
13406         [BZ #14551]
13407         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
13408         (__mpn_construct_long_double): If high part overflows to infinity,
13409         set errno and recompute overflowed result of the correct sign.
13410         * sysdeps/ieee754/ldbl-128ibm/Makefile
13411         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
13412         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
13413         $(libm).
13414         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
13416 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
13418         [BZ #15479]
13419         [BZ #19238]
13420         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
13421         floating-point state after first operation on input.  Restore full
13422         state rather than just rounding mode.
13423         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
13424         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
13425         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
13427         [BZ #19235]
13428         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
13429         add 0.5 to integer arguments.
13430         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
13431         Likewise.
13432         (.LC2): New object.
13434 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
13436         * scripts/pylintrc (reports): Set to no.
13438 2015-11-10  Roland McGrath  <roland@hack.frob.com>
13440         * elf/dl-load.c (open_verify): Take new argument FD.
13441         Skip __open call if passed FD is not -1.
13442         (_dl_map_object, open_path): Update callers.
13443         * elf/dl-sysdep-open.h: New file.
13444         * elf/dl-load.c: Include it.
13445         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
13446         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
13447         * sysdeps/nacl/dl-sysdep-open.h: New file.
13448         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
13449         from libc to rtld.
13451 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
13453         [BZ #19228]
13454         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
13455         and restore full floating-point state.
13456         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
13457         Likewise.
13458         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
13459         Likewise.
13460         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
13461         Likewise.
13462         * math/test-nearbyint-except-2.c: New file.
13463         * math/Makefile (tests): Add test-nearbyint-except-2.
13465 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
13467         [BZ #19178]
13468         * sysdeps/x86/Makefile (tests): Add tst-prelink.
13469         (tst-prelink-ENV): New.
13470         ($(objpfx)tst-prelink-conflict.out): Likewise.
13471         ($(objpfx)tst-prelink-cmp.out): Likewise.
13472         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
13473         * sysdeps/x86/tst-prelink.c: New file.
13474         * sysdeps/x86/tst-prelink.exp: Likewise.
13476 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
13478         * math/auto-libm-test-in: Add another test of pow.
13479         * math/auto-libm-test-out: Regenerated.
13480         * math/libm-test.inc (pow_test_data): Add another test.
13482 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13484         [BZ #19219]
13485         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
13486         weak_alias to nearbyintl.
13488 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
13490         * sysdeps/aarch64/bits/string.h: New file.
13491         (_STRING_ARCH_unaligned): Define.
13493 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
13495         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
13496         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
13497         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
13498         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
13499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
13501 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
13503         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
13504         for original name of the DSO.  Add it to the name list of the DSO
13505         if it is actually given.
13506         (_dl_map_object): Keep track of whether an audit module rewrote
13507         the file name.  If yes, pass the original name to
13508         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
13509         debugging is enabled, log the change of the file name.
13510         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
13511         _dl_map_object_from_fd.
13512         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
13513         * elf/tst-audit11.c: New file
13514         * elf/tst-auditmod11.c: New file.
13515         * elf/tst-audit11mod1.c: New file.
13516         * elf/tst-audit11mod2.c: New file.
13517         * elf/tst-audit11mod2.map: New file.
13518         * elf/tst-audit12.c: New file
13519         * elf/tst-auditmod12.c: New file.
13520         * elf/tst-audit12mod1.c: New file.
13521         * elf/tst-audit12mod2.c: New file.
13522         * elf/tst-audit12mod2.map: New file.
13523         * elf/tst-audit12mod3.c: New file.
13525 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
13527         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
13528         Don't create weak aliases,
13529         because versioned symbols are created later.
13530         * sysdeps/s390/s390-32/setjmp.S
13531         (setjmp, _setjmp): Remove weak and rename to an unique name
13532         in SHARED case due to existing versioned symbols.
13533         * sysdeps/s390/s390-64/setjmp.S: Likewise.
13534         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
13535         (getcontext): Create weak alias only in non SHARED case.
13536         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
13538 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
13540         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
13541         (__ASSUME_*_SYSCALL) Define new macros.
13542         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
13543         Remove socketcall syscalls.
13544         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
13545         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
13546         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
13547         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
13548         * sysdeps/unix/sysv/linux/send.c (__libc_send):
13549         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
13551 2015-11-09  Florian Weimer  <fweimer@redhat.com>
13553         [BZ #12926]
13554         Terminate process on invalid netlink response.
13555         * sysdeps/unix/sysv/linux/netlinkaccess.h
13556         (__netlink_assert_response): Declare.
13557         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
13558         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
13559         (sysdep_routines): Add netlink_assert_response.
13560         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
13561         __netlink_assert_response.
13562         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
13563         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
13564         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
13565         __netlink_assert_response.
13567 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
13569         [BZ #19178]
13570         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
13571         (RTYPE_CLASS_PLT): Likewise.
13572         (RTYPE_CLASS_COPY): Likewise.
13573         (RTYPE_CLASS_TLS): Likewise.
13574         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
13575         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
13576         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
13577         DL_DEBUG_PRELINK.
13579 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
13581         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
13582         calls with argument -0.5.
13583         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
13585         * configure.ac (libc_cv_z_nodelete): Remove configure test.
13586         (libc_cv_z_nodlopen): Likewise.
13587         (libc_cv_z_initfirst): Likewise.
13588         * configure: Regenerated.
13590 2015-11-06  Florian Weimer  <fweimer@redhat.com>
13592         Simplify abilist format to be line-based.
13593         * scripts/abilist.awk: Collect descriptors in the descs variable.
13594         (emit): Write descs variable and sort it
13595         externally, with sort.
13596         * sysdeps/**/*.abilist: Convert to new format.
13598 2015-11-06  Mark Wielaard  <mjw@redhat.com>
13600         [BZ #11460]
13601         * io/Makefile (routines): Add fts64.
13602         (tests): Add tst-fts and tst-fts-lfs.
13603         (CFLAGS-fts64.c): New.
13604         * io/Versions (GLIBC_2.23): New.
13605         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
13606         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
13607         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
13608         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
13609         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
13610         (FTSENT64): Likewise.
13611         (fts64_children): Likewise.
13612         (fts64_close): Likewise.
13613         (fts64_open): Likewise.
13614         (fts64_read): Likewise.
13615         (fts64_set): Likewise.
13616         * io/fts64.c: New file.
13617         * io/tst-fts.c: New test.
13618         * io/tst-fts-lfs.c: Likewise.
13619         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
13620         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
13621         fts64_set.
13622         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13623         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13624         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13625         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13626         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13627         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13628         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13629         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13630         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13631         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13632         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13633         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13634         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13636         Likewise.
13637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13638         Likewise.
13639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13641         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13642         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13643         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13644         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13645         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13646         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
13647         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
13648         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13649         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13650         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13651         * sysdeps/wordsize-64/fts.c: New file.
13652         * sysdeps/wordsize-64/fts64.c: Likewise.
13653         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
13654         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
13655         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
13656         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
13658 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
13660         * math/libm-test.inc (NON_FINITE): New macro.
13661         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
13662         * math/gen-libm-test.pl (show_exceptions): Add argument
13663         $non_finite.
13664         (parse_args): Update call to show_exceptions.
13665         * math/test-math-finite.h: New file.
13666         * math/test-math-no-finite.h: Likewise.
13667         * math/test-double-finite.c: Likewise.
13668         * math/test-float-finite.c: Likewise.
13669         * math/test-ldouble-finite.c: Likewise.
13670         * math/test-double.c: Include "test-math-no-finite.h".
13671         * math/test-float.c: Include "test-math-no-finite.h".
13672         * math/test-ldouble.c: Include "test-math-no-finite.h".
13673         * math/test-math-inline.h (TEST_FINITE): New macro.
13674         * math/test-math-vector.h (TEST_FINITE): Likewise.
13675         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
13676         (libm-tests): Add test-float-finite and test-double-finite.
13677         ($(objpfx)test-float-finite.o): New dependency on
13678         $(objpfx)libm-test.stmp.
13679         ($(objpfx)test-double-finite.o): Likewise.
13680         ($(objpfx)test-ldouble-finite.o): Likewise.
13681         (libm-test-no-inline-cflags): New variable.
13682         (libm-test-finite-cflags): Likewise.
13683         (CFLAGS-test-float-finite.c): Likewise.
13684         (CFLAGS-test-double-finite.c): Likewise.
13685         (CFLAGS-test-ldouble-finite.c): Likewise.
13686         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
13687         (CFLAGS-test-double.c): Likewise.
13688         (CFLAGS-test-ldouble.c): Likewise.
13690 2015-11-05  Roland McGrath  <roland@hack.frob.com>
13692         * io/fcntl.c (__fcntl): Add ... to prototype.
13693         * misc/ioctl.c (__ioctl): Likewise.
13694         * misc/syscall.c (syscall): Likewise.
13696 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
13698         * scripts/list-fixed-bugs.py: New file.
13700         [BZ #19213]
13701         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
13702         returned for argument 1.
13703         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
13704         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
13705         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
13706         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
13707         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
13708         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
13710         [BZ #19211]
13711         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
13712         __USE_XOPEN], not if [!__USE_ISOC99].
13713         (lgammaf): Likewise.
13714         (lgammal): Likewise.
13715         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
13716         (gammaf): Likewise.
13717         (gammal): Likewise.
13718         * math/test-signgam-finite-c11.c: New file.
13719         * math/test-signgam-finite-c99.c: Likewise.
13720         * math/test-signgam-finite.c: Likewise.
13721         * math/Makefile (tests): Add test-signgam-finite,
13722         test-signgam-finite-c99 and test-signgam-finite-c11.
13723         (CFLAGS-test-signgam-finite.c): New variable.
13724         (CFLAGS-test-signgam-finite-c99.c): Likewise.
13725         (CFLAGS-test-signgam-finite-c11.c): Likewise.
13727         [BZ #19212]
13728         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
13729         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
13730         500].
13731         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
13732         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
13733         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
13734         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
13735         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
13736         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
13737         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
13738         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
13739         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
13740         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
13742         [BZ #19209]
13743         * math/bits/math-finite.h (ldexp): Remove declaration.
13744         (ldexpf): Likewise.
13745         (ldexpl): Likewise.
13747         [BZ #19205]
13748         * math/bits/math-finite.h (acosf): Condition declaration on
13749         [__USE_ISOC99].
13750         (acosl): Likewise.
13751         (acoshf): Likewise.
13752         (acoshl): Likewise.
13753         (asinf): Likewise.
13754         (asinl): Likewise.
13755         (atan2f): Likewise.
13756         (atan2l): Likewise.
13757         (atanhf): Likewise.
13758         (atanhl): Likewise.
13759         (coshf): Likewise.
13760         (coshl): Likewise.
13761         (expf): Likewise.
13762         (expl): Likewise.
13763         (fmodf): Likewise.
13764         (fmodl): Likewise.
13765         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
13766         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
13767         (j0l): Likewise.
13768         (y0f): Likewise.
13769         (y0l): Likewise.
13770         (j1f): Likewise.
13771         (j1l): Likewise.
13772         (y1f): Likewise.
13773         (y1l): Likewise.
13774         (jnf): Likewise.
13775         (jnl): Likewise.
13776         (ynf): Likewise.
13777         (ynl): Likewise.
13778         (lgammaf_r): Condition declaration on [__USE_ISOC99].
13779         (lgammal_r): Likewise.
13780         (__lgamma_r_finite): New declaration.
13781         (__lgammaf_r_finite): Likewise.
13782         (__lgammal_r_finite): Likewise.
13783         (lgamma): Use __lgamma_r_finite.
13784         (lgammaf): Condition definition on [__USE_ISOC99].  Use
13785         __lgammaf_r_finite.
13786         (lgammal): Condition definition on [__USE_ISOC99].  Use
13787         __lgammal_r_finite.
13788         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
13789         __lgamma_r_finite.
13790         (gammaf): Condition definition on [__USE_ISOC99].  Use
13791         __lgammaf_r_finite.
13792         (gammal): Condition definition on [__USE_ISOC99].  Use
13793         __lgammal_r_finite.
13794         (logf): Condition declaration on [__USE_ISOC99].
13795         (logl): Likewise.
13796         (log10f): Likewise.
13797         (log10l): Likewise.
13798         (ldexpf): Likewise.
13799         (ldexpl): Likewise.
13800         (powf): Likewise.
13801         (powl): Likewise.
13802         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
13803         __USE_ISOC99].
13804         (remainderf): Condition declaration on [__USE_ISOC99].
13805         (remainderl): Likewise.
13806         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
13807         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
13808         (scalbl): Likewise.
13809         (sinhf): Condition declaration on [__USE_ISOC99].
13810         (sinhl): Likewise.
13811         (sqrtf): Likewise.
13812         (sqrtl): Likewise.
13814 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
13816         * sysdeps/arm/atomic-machine.h
13817         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
13818         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
13819         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
13820         Remove conditional code.
13821         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
13822         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
13823         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
13824         Change conditional to [__ASSEMBLER__].
13825         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
13826         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
13827         [!__ASSEMBLER__].
13828         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
13829         code.
13830         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
13831         conditional macro definitions.
13832         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
13833         (__arch_compare_and_exchange_val_16_acq): Likewise.
13834         (__arch_compare_and_exchange_val_32_acq): Likewise.
13835         (atomic_exchange_and_add): Likewise.
13836         (atomic_add): Likewise.
13837         (atomic_add_negative): Likewise.
13838         (atomic_add_zero): Likewise.
13839         (atomic_bit_set): Likewise.
13840         (atomic_bit_test_set): Likewise.
13841         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
13842         code unconditional.
13843         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13845         * math/test-math-errno.h: New file.
13846         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
13847         empty.
13848         (TEST_ERRNO): New macro.
13849         (TEST_EXCEPTIONS): Likewise.
13850         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
13851         (TEST_EXCEPTIONS): Likewise.
13852         * math/test-math-vector.h (TEST_ERRNO): Likewise.
13853         * math/test-double.c: Include "test-math-errno.h".
13854         * math/test-float.c: Likewise.
13855         * math/test-ldouble.c: Likewise.
13856         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
13857         code unconditional.
13858         (test_exceptions): Only run code if TEST_EXCEPTIONS.
13859         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
13860         unconditional.
13861         (test_errno): Only run code if TEST_ERRNO.
13862         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
13864 2015-11-04  Florian Weimer  <fweimer@redhat.com>
13866         * nptl/tst-once5.cc: Remove attribution.
13868 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
13870         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
13871         sqrt, tan, tanh, y0, y1 and yn.
13872         * math/auto-libm-test-out: Regenerated.
13873         * math/libm-test.inc (scalb_test_data): Add more tests.
13874         (scalbn_test_data): Likewise.
13875         (scalbln_test_data): Likewise.
13876         (signbit_test_data): Likewise.
13877         (sin_test_data): Likewise.
13878         (sincos_test_data): Likewise.
13879         (sinh_test_data): Likewise.
13880         (sqrt_test_data): Likewise.
13881         (tan_test_data): Likewise.
13882         (tanh_test_data): Likewise.
13883         (tgamma_test_data): Likewise.
13884         (y0_test_data): Likewise.
13885         (y1_test_data): Likewise.
13886         (yn_test_data): Likewise.
13887         (significand_test_data): Likewise.
13888         * sysdeps/i386/fpu/libm-test-ulps: Update.
13890 2015-11-03  David Kastrup  <dak@gnu.org>
13892         [BZ #18604]
13893         * assert/assert.h (assert): Don't macro-expand failed assertion
13894         expression in error message.
13895         * malloc/malloc.c (assert): Likewise.
13897 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
13899         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
13900         test.
13901         * configure: Regenerated.
13903 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
13905         * math/libm-test.inc (modf_test_data): Add more tests.
13906         (nearbyint_test_data): Likewise.
13907         (nextafter_test_data): Likewise.
13908         (nexttoward_test_data): Likewise.
13909         (pow_test_data): Likewise.
13910         (remainder_test_data): Likewise.
13911         (remquo_test_data): Likewise.
13912         (rint_test_data): Likewise.
13914         [BZ #19201]
13915         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
13916         Check for zero remainder in case of large exponents and ensure
13917         correct sign of result in that case.
13918         * math/libm-test.inc (remainder_test_data): Add more tests.
13920         [BZ #6799]
13921         * math/s_nextafter.c: Include <errno.h>.
13922         (__nextafter): Set errno on overflow and underflow.
13923         * math/s_nexttowardf.c: Include <errno.h>.
13924         (__nexttowardf): Set errno on overflow and underflow.
13925         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
13926         (__nextafterl): Set errno on overflow and underflow.
13927         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
13928         (__nexttoward): Set errno on overflow and underflow.
13929         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
13930         (__nexttowardf): Set errno on overflow and underflow.
13931         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
13932         (__nextafterf): Set errno on overflow and underflow.
13933         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
13934         (__nextafterl): Set errno on overflow and underflow.
13935         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
13936         (__nexttoward): Set errno on overflow and underflow.
13937         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
13938         (__nexttowardf): Set errno on overflow and underflow.
13939         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
13940         (__nextafterl): Set errno on overflow and underflow.
13941         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
13942         (__nexttoward): Set errno on overflow and underflow.
13943         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
13944         (__nexttowardf): Set errno on overflow and underflow.
13945         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
13946         (__nexttoward): Set errno on overflow and underflow.
13947         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
13948         (__nexttowardf): Set errno on overflow and underflow.
13949         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
13950         (__nldbl_nexttowardf): Set errno on overflow and underflow.
13951         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
13952         (__nextafterl): Set errno on overflow and underflow.
13953         * math/libm-test.inc (nextafter_test_data): Do not allow errno
13954         setting to be missing on overflow.  Add more tests.
13955         (nexttoward_test_data): Likewise.
13957         * configure.ac (libc_cv_initfini_array): Remove configure test.
13958         * configure: Regenerated.
13960 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
13962         [BZ #19189]
13963         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
13964         non-finite argument handle arguments with negative sign.
13966         * math/libm-test.inc (j0_test_data): Do not test sign of zero
13967         result from infinite argument.
13968         (j1_test_data): Likewise.
13969         (jn_test_data): Likewise.
13970         (y0_test_data): Likewise.
13971         (y1_test_data): Likewise.
13972         (yn_test_data): Likewise.
13974         [BZ #16171]
13975         * math/w_remainder.c (drem): Define as weak alias of __remainder.
13976         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
13977         * math/w_remainderf.c (dremf): Define as weak alias of
13978         __remainderf.
13979         * math/w_remainderl.c (dreml): Define as weak alias of
13980         __remainderl.
13981         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
13982         __remainder.
13983         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
13984         __remainderf.
13985         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
13986         __remainderl.
13987         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
13988         weak alias of remainderl.
13989         * sysdeps/ieee754/ldbl-opt/w_remainder.c
13990         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
13991         alias of __remainder.
13992         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
13993         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
13994         strong alias of __remainderl.
13995         (dreml): Use long_double_symbol.
13996         * math/Makefile (libm-calls): Remove w_drem.
13997         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
13998         (CFLAGS-nldbl-drem.c): Remove variable.
13999         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
14000         * math/w_drem.c: Remove file.
14001         * math/w_dremf.c: Likewise.
14002         * math/w_dreml.c: Likewise.
14003         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
14004         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
14005         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
14007         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
14008         * sysdeps/i386/configure: Regenerated.
14009         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
14010         * sysdeps/x86_64/configure: Regenerated.
14012         * configure.ac (libc_cv_asm_protected_directive): Remove configure
14013         test.
14014         (libc_cv_visibility_attribute): Likewise.
14015         (libc_cv_protected_data): Test unconditionally.
14016         (libc_cv_broken_visibility_attribute): Remove configure test.
14017         (libc_cv_have_sdata_section): Test unconditionally.
14018         * configure: Regenerated.
14020         * include/libc-internal.h (libc_max_align_t): Remove typedef.
14021         * include/scratch_buffer.h: Include <stddef.h> instead of
14022         <libc-internal.h>.
14023         (struct scratch_buffer): Use max_align_t instead of
14024         libc_max_align_t.
14026 2015-10-29  Florian Weimer  <fweimer@redhat.com>
14028         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
14029         instead of extend_alloca.  Change control flow to avoid a goto.
14030         Remove assert which is trivially always true.
14032 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
14034         [BZ #16068]
14035         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
14036         (FE_ALL_EXCEPT_X86): New macro.
14037         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
14038         FE_ALL_EXCEPT.  Ensure precision control is included in
14039         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
14040         handle "denormal operand exception" and clear FZ and DAZ bits.
14041         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
14042         (FE_ALL_EXCEPT_X86): New macro.
14043         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
14044         FE_ALL_EXCEPT.  Ensure precision control is included in
14045         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
14046         handle "denormal operand exception" and clear FZ and DAZ bits.
14047         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
14048         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
14049         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14050         test-fenv-x87 and test-fenv-sse-2.
14051         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
14053         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
14054         * math/test-double.h (BUILD_COMPLEX): New macro.
14055         * math/test-float.h (BUILD_COMPLEX): Likewise.
14056         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
14058         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
14059         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
14060         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
14061         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
14062         instead of DBL_DENORM_MIN in comment.
14063         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
14064         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
14065         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
14066         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
14067         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
14068         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
14070 2015-10-28  Florian Weimer  <fweimer@redhat.com>
14072         [BZ# 19048]
14073         * malloc/malloc.c (struct malloc_state): Update comment.  Add
14074         attached_threads member.
14075         (main_arena): Initialize attached_threads.
14076         * malloc/arena.c (list_lock): Update comment.
14077         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
14078         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
14079         (deattach_arena): New function.
14080         (_int_new_arena): Initialize arena reference count and deattach
14081         replaced arena.
14082         (get_free_list, reused_arena): Update reference count and deattach
14083         replaced arena.
14084         (arena_thread_freeres): Update arena reference count and only put
14085         unreferenced arenas on the free list.
14087 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
14089         [BZ #19181]
14090         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
14091         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
14092         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
14093         * math/test-fenv-clear-main.c: New file.
14094         * math/test-fenv-clear.c: Likewise.
14095         * math/Makefile (tests): Add test-fenv-clear.
14096         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
14097         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14098         test-fenv-clear-sse.
14099         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
14101         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
14102         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
14103         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
14105 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14107         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
14108         static libc.
14110 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
14112         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
14113         test.
14114         * sysdeps/i386/configure: Regenerated.
14115         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
14116         test.
14117         * sysdeps/x86_64/configure: Regenerated.
14118         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
14119         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14120         memset-avx2 unconditionally instead of conditionally on
14121         [$(config-cflags-avx2) = yes].
14122         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14123         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
14124         unconditional.
14125         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
14126         * sysdeps/x86_64/multiarch/memset_chk.S
14127         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
14128         to [IS_IN (libc) && SHARED].
14130 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
14132         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
14133         configure test.
14134         * sysdeps/arm/configure: Regenerated.
14135         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
14136         Define variable if not already defined.
14138         [BZ #17404]
14139         * sysdeps/mips/atomic-machine.h
14140         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
14141         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
14142         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
14144         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
14145         unconditional.
14146         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
14147         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14148         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
14149         unconditional.
14150         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14151         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
14152         unconditional.
14153         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14154         * stdlib/setenv.c
14155         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
14156         code unconditional.
14157         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
14158         Remove conditional code.
14159         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
14160         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
14161         unconditional.
14162         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
14163         code.
14164         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
14165         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
14166         unconditional.
14167         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
14168         code.
14169         * sysdeps/ieee754/ldbl-128/k_tanl.c
14170         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
14171         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14172         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
14173         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
14174         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14175         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
14176         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
14177         unconditional.
14178         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
14179         code.
14180         * sysdeps/ieee754/ldbl-96/k_tanl.c
14181         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
14182         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
14184         * nptl/tst-initializers1-c11.c: New file.
14185         * nptl/tst-initializers1-gnu11.c: Likewise.
14186         * nptl/Makefile (tests): Add these new tests.
14187         (CFLAGS-tst-initializers1-c11.c): New variable.
14188         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
14190         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
14191         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
14192         instead of -std=gnu99.
14193         * configure.ac (systemtap): Test with -std=gnu11 instead of
14194         -std=gnu99.
14195         * configure: Regenerated.
14196         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
14197         in compilation command in comment.
14199         * sysdeps/nptl/configure.ac: Remove file.
14200         * sysdeps/nptl/configure: Remove generated file.
14201         * configure.ac (libc_cv_forced_unwind): Do not substitute.
14202         * configure: Regenerated.
14203         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
14204         * config.make.in (have-forced-unwind): Remove variable.
14205         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
14206         unconditional.
14207         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
14208         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
14209         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
14210         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
14211         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
14212         unconditional.
14214 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14216         [BZ #19174]
14217         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
14218         .skip_lock_out_of_tbegin_retries.
14219         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
14220         (__lll_lock_elision): Likewise, and respect a value of
14221         try_tbegin <= 0.
14223 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14225         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
14226         statement.
14228 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
14230         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
14231         variable.
14232         (test-xfail-ISO11/stdalign.h/conform): Likewise.
14233         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
14235         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
14236         of -std=c1x -D_ISOC11_SOURCE.
14238         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
14239         * configure: Regenerated.
14240         * manual/install.texi (Tools for Compilation): Document
14241         requirement for GCC 4.7 or later.
14242         * INSTALL: Regenerated.
14244 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
14246         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
14247         on CNT to a conditional jump to 'puntdata'.
14249 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
14251         * configure.ac (libc_cv_gcc___thread): Remove configure test.
14252         (libc_cv_gcc_tls_model_attr): Likewise.
14253         * configure: Regenerated.
14255         * configure.ac (libc_cv_need_minus_P): Remove configure test.
14256         * configure: Regenerated.
14257         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
14259 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
14261         * configure.ac (old_glibc_headers): Remove configure test.
14262         * configure: Regenerated.
14263         * config.make.in (old-glibc-headers): Remove variable.
14264         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
14265         (install): Remove dependency on remove-old-headers.
14266         (headers2_0): Remove variable.
14267         (remove-old-headers): Remove rule.
14269         * configure.ac (libc_cv_dot_text): Remove configure test.
14270         (libc_cv_asm_set_directive): Use .text instead of
14271         ${libc_cv_dot_text} in configure test.
14272         * configure: Regenerated.
14274 2015-10-26  Florian Weimer  <fweimer@redhat.com>
14276         [BZ #19168]
14277         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14279 2015-10-26  Florian Weimer  <fweimer@redhat.com>
14281         * configure.ac (CXX): Clear the variable if the C++ toolchain does
14282         not support static linking.
14283         * configure: Regenerate.
14285 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
14287         * math/libm-test.inc (check_float_internal): Do not special-case
14288         errors up to 0.5 ulp.
14290         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
14291         log2.
14292         * math/auto-libm-test-out: Regenerated.
14293         * math/libm-test.inc (MAX_EXP): New macro.
14294         (ilogb_test_data): Add more tests.
14295         (isfinite_test_data): Likewise.
14296         (isgreater_test_data): Likewise.
14297         (isgreaterequal_test_data): Likewise.
14298         (isinf_test_data): Likewise.
14299         (isless_test_data): Likewise.
14300         (islessequal_test_data): Likewise.
14301         (islessgreater_test_data): Likewise.
14302         (isnan_test_data): Likewise.
14303         (isnormal_test_data): Likewise.
14304         (issignaling_test_data): Likewise.
14305         (isunordered_test_data): Likewise.
14306         (j0_test_data): Likewise.
14307         (j1_test_data): Likewise.
14308         (jn_test_data): Likewise.
14309         (lgamma_test_data): Likewise.
14310         (log_test_data): Likewise.
14311         (log10_test_data): Likewise.
14312         (log1p_test_data): Likewise.
14313         (log2_test_data): Likewise.
14314         (logb_test_data): Likewise.
14315         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14317         [BZ #18611]
14318         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
14319         avoid excess range and precision on underflow.
14320         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14321         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
14322         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
14323         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
14324         underflow.
14325         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14326         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14327         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14328         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14329         * math/auto-libm-test-in: Do not allow missing errno setting for
14330         tests of j1 and jn.
14331         * math/auto-libm-test-out: Regenerated.
14333 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
14335         [BZ #15491]
14336         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
14337         floating-point environment instead of clearing all exceptions.
14338         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
14339         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
14340         merging in "invalid" exceptions from frndint.
14341         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
14342         * math/test-nearbyint-except.c: New file.
14343         * math/Makefile (tests): Add test-nearbyint-except.
14345 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
14347         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
14349         * sysdeps/tile/libm-test-ulps: Regenerated.
14351 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
14354         (__NR_sync_file_range2): Assume it is always defined.
14355         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
14356         (__NR_sync_file_range): Assume it is always defined.
14358 2015-10-22  Andreas Schwab  <schwab@suse.de>
14360         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
14361         INTERNAL_SYSCALL_ERRNO.
14362         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
14363         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
14364         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14365         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
14366         Likewise.
14367         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14369 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
14371         * io/tst-fcntl.c (fd): New static variable.
14372         (do_prepare): Open temporary file here....
14373         (do_test): ...not here.
14375         * io/ftwtest-sh: Also trap on exit to remove temporary files.
14377 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
14379         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
14380         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
14381         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
14382         Moved before "#ifdef __ASSEMBLER__".
14384 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
14386         [BZ #19156]
14387         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
14388         arguments very close to 0.
14390 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
14392         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
14393         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
14395 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
14397         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
14398         New.  Defined for GCC 5 and above when not compiling for
14399         profiling.
14400         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
14402         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
14403         Renamed to ...
14404         (CFLAGS-epoll_pwait.o): This.
14405         (CFLAGS-mmap.c): Renamed to ...
14406         (CFLAGS-mmap.o): This.
14407         (CFLAGS-mmap64.c): Renamed to ...
14408         (CFLAGS-mmap64.o): This.
14409         (CFLAGS-epoll_pwait.os): New.
14410         (CFLAGS-mmap.os): Likewise.
14411         (CFLAGS-mmap64.os): Likewise.
14412         (CFLAGS-semtimedop.os): Likewise.
14413         (CFLAGS-semtimedop.c): Renamed to ...
14414         (CFLAGS-semtimedop.o): This.
14416 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14418         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
14419         warning message.
14421 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
14423         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
14424         * Makefile ($(objpfx)c++-types-check.out): Filter out
14425         $(+gccwarn-c) instead of -Wstrict-prototypes.
14427         * io/fts.c (fts_open): Convert to prototype-style function
14428         definition.
14429         * malloc/mcheck.c (mcheck): Likewise.
14430         (mcheck_pedantic): Likewise.
14431         * posix/regexec.c (re_search_2_stub): Likewise.  Use
14432         internal_function.
14433         (re_search_internal): Likewise.
14434         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
14435         prototype-style function definition.
14436         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
14437         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
14438         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
14439         (xdr_utmpptr): Likewise.
14440         (xdr_utmparr): Likewise.
14441         (xdr_utmpidle): Likewise.
14442         (xdr_utmpidleptr): Likewise.
14443         (xdr_utmpidlearr): Likewise.
14445         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
14446         log, log10 and log2.
14447         * math/auto-libm-test-out: Regenerated.
14448         * math/libm-test.inc (fmod_test_data): Add more tests.
14449         (fpclassify_test_data): Likewise.
14450         (frexp_test_data): Likewise.
14451         (hypot_test_data): Likewise.
14452         (ilogb_test_data): Likewise.
14454 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
14456         * debug/fortify_fail.c (__fortify_fail): Convert to
14457         prototype-style function definition.  Use internal_function.
14458         * libio/genops.c (save_for_backup): Convert to prototype-style
14459         function definition.
14460         * libio/wgenops.c (save_for_wbackup): Likewise.
14461         * login/grantpt.c (grantpt): Likewise.
14462         * login/ptsname.c (ptsname): Likewise.
14463         (__ptsname_r): Likewise.
14464         * login/unlockpt.c (unlockpt): Likewise.
14465         * mach/msgserver.c (__mach_msg_server): Likewise.
14466         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
14467         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
14468         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
14469         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
14470         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
14471         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
14472         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
14473         Likewise.
14474         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
14475         internal_function.
14476         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
14477         prototype-style function definition.
14478         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
14479         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
14480         (__pthread_create_2_0): Likewise.
14481         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
14482         * nptl/register-atfork.c (__register_atfork): Likewise.
14483         * posix/glob.c (glob): Likewise.
14484         * posix/regcomp.c (re_comp): Likewise.
14485         * posix/regexec.c (re_exec): Likewise.
14486         * stdlib/add_n.c [__STDC__]: Make code unconditional.
14487         [!__STDC__]: Remove conditional code.
14488         * stdlib/cmp.c [__STDC__]: Make code unconditional.
14489         [!__STDC__]: Remove conditional code.
14490         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
14491         [!__STDC__]: Remove conditional code.
14492         * stdlib/divrem.c [__STDC__]: Make code unconditional.
14493         [!__STDC__]: Remove conditional code.
14494         * stdlib/lshift.c [__STDC__]: Make code unconditional.
14495         [!__STDC__]: Remove conditional code.
14496         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
14497         [!__STDC__]: Remove conditional code.
14498         * stdlib/mul.c [__STDC__]: Make code unconditional.
14499         [!__STDC__]: Remove conditional code.
14500         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
14501         [!__STDC__]: Remove conditional code.
14502         * stdlib/rshift.c [__STDC__]: Make code unconditional.
14503         [!__STDC__]: Remove conditional code.
14504         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
14505         function definition.
14506         (STRTOF): Likewise.
14507         * stdlib/strtod_l.c (__STRTOF): Likewise.
14508         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
14509         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
14510         (__strtol_l): Likewise.
14511         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
14512         [!__STDC__]: Remove conditional code.
14513         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
14514         definition.
14515         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
14516         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
14517         type.
14518         (__strcasecmp): Convert to prototype-style function definition.
14519         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
14520         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
14521         type.
14522         (__strncasecmp): Convert to prototype-style function definition.
14523         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
14524         * sunrpc/xdr.c (xdr_union): Likewise.
14525         * sunrpc/xdr_array.c (xdr_array): Likewise.
14526         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
14527         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
14528         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
14529         Likewise.
14530         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
14531         Likewise.
14532         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
14533         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
14534         Likewise.
14535         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
14536         (LOCALE_PARAM_PROTO): Likewise.
14537         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
14538         argument type.
14539         (ut_argument_spec): Remove macro.
14540         (ut_argument_spec_iso): Rename to ut_argument_spec.
14541         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
14542         prototype-style function definition.
14543         (memcpy_uppcase): Likewise.
14544         (__strftime_internal): Likewise.
14545         (my_strftime): Likewise.
14546         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
14547         (LOCALE_PARAM_DECL): Likewise.
14548         [_LIBC] (LOCALE_PARAM): Include argument type.
14549         (__strptime_internal): Convert to prototype-style function
14550         definition.
14551         (strptime): Likewise.
14552         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
14553         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
14554         type.
14555         (__wcscasecmp): Convert to prototype-style function definition.
14556         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
14557         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
14558         type.
14559         (__wcsncasecmp): Convert to prototype-style function definition.
14561         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
14562         function definition.
14563         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
14564         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
14565         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
14566         * elf/dl-minimal.c (_itoa): Likewise.
14567         * hurd/hurdmalloc.c (malloc): Likewise.
14568         (free): Likewise.
14569         (realloc): Likewise.
14570         * inet/inet6_option.c (inet6_option_space): Likewise.
14571         (inet6_option_init): Likewise.
14572         (inet6_option_append): Likewise.
14573         (inet6_option_alloc): Likewise.
14574         (inet6_option_next): Likewise.
14575         (inet6_option_find): Likewise.
14576         * io/ftw.c (FTW_NAME): Likewise.
14577         (NFTW_NAME): Likewise.
14578         (NFTW_NEW_NAME): Likewise.
14579         (NFTW_OLD_NAME): Likewise.
14580         * libio/iofwide.c (_IO_fwide): Likewise.
14581         * libio/strops.c (_IO_str_init_static_internal): Likewise.
14582         (_IO_str_init_static): Likewise.
14583         (_IO_str_init_readonly): Likewise.
14584         (_IO_str_overflow): Likewise.
14585         (_IO_str_underflow): Likewise.
14586         (_IO_str_count): Likewise.
14587         (_IO_str_seekoff): Likewise.
14588         (_IO_str_pbackfail): Likewise.
14589         (_IO_str_finish): Likewise.
14590         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
14591         (_IO_wstr_overflow): Likewise.
14592         (_IO_wstr_underflow): Likewise.
14593         (_IO_wstr_count): Likewise.
14594         (_IO_wstr_seekoff): Likewise.
14595         (_IO_wstr_pbackfail): Likewise.
14596         (_IO_wstr_finish): Likewise.
14597         * locale/programs/localedef.c (normalize_codeset): Likewise.
14598         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
14599         (add_locales_to_archive): Likewise.
14600         (delete_locales_from_archive): Likewise.
14601         * malloc/malloc.c (__libc_mallinfo): Likewise.
14602         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
14603         * misc/tsearch.c (__tfind): Likewise.
14604         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
14605         * nptl/pthread_attr_getdetachstate.c
14606         (__pthread_attr_getdetachstate): Likewise.
14607         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
14608         Likewise.
14609         * nptl/pthread_attr_getinheritsched.c
14610         (__pthread_attr_getinheritsched): Likewise.
14611         * nptl/pthread_attr_getschedparam.c
14612         (__pthread_attr_getschedparam): Likewise.
14613         * nptl/pthread_attr_getschedpolicy.c
14614         (__pthread_attr_getschedpolicy): Likewise.
14615         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
14616         Likewise.
14617         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
14618         Likewise.
14619         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
14620         Likewise.
14621         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
14622         Likewise.
14623         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
14624         (__pthread_attr_init_2_0): Likewise.
14625         * nptl/pthread_attr_setdetachstate.c
14626         (__pthread_attr_setdetachstate): Likewise.
14627         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
14628         Likewise.
14629         * nptl/pthread_attr_setinheritsched.c
14630         (__pthread_attr_setinheritsched): Likewise.
14631         * nptl/pthread_attr_setschedparam.c
14632         (__pthread_attr_setschedparam): Likewise.
14633         * nptl/pthread_attr_setschedpolicy.c
14634         (__pthread_attr_setschedpolicy): Likewise.
14635         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
14636         Likewise.
14637         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
14638         Likewise.
14639         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
14640         Likewise.
14641         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
14642         Likewise.
14643         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
14644         Likewise.
14645         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
14646         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
14647         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
14648         use internal_function.
14649         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
14650         prototype-style function definition.
14651         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
14652         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
14653         internal_function.
14654         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
14655         Convert to prototype-style function definition.
14656         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
14657         Likewise.
14658         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
14659         Likewise.
14660         (__pthread_mutex_unlock): Likewise.
14661         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
14662         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
14663         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
14664         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
14665         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
14666         * nss/makedb.c (process_input): Likewise.
14667         * posix/fnmatch.c (__strchrnul): Likewise.
14668         (__wcschrnul): Likewise.
14669         (fnmatch): Likewise.
14670         * posix/fnmatch_loop.c (FCT): Likewise.
14671         * posix/glob.c (globfree): Likewise.
14672         (__glob_pattern_type): Likewise.
14673         (__glob_pattern_p): Likewise.
14674         * posix/regcomp.c (re_compile_pattern): Likewise.
14675         (re_set_syntax): Likewise.
14676         (re_compile_fastmap): Likewise.
14677         (regcomp): Likewise.
14678         (regerror): Likewise.
14679         (regfree): Likewise.
14680         * posix/regexec.c (regexec): Likewise.
14681         (re_match): Likewise.
14682         (re_search): Likewise.
14683         (re_match_2): Likewise.
14684         (re_search_2): Likewise.
14685         (re_search_stub): Likewise.  Use internal_function
14686         (re_copy_regs): Likewise.
14687         (re_set_registers): Convert to prototype-style function
14688         definition.
14689         (prune_impossible_nodes): Likewise.  Use internal_function.
14690         * resolv/inet_net_pton.c (inet_net_pton): Convert to
14691         prototype-style function definition.
14692         (inet_net_pton_ipv4): Likewise.
14693         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14694         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
14695         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
14696         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
14697         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
14698         Make variadic.
14699         * time/strptime_l.c (localtime_r): Convert to prototype-style
14700         function definition.
14701         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
14702         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
14703         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
14704         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
14706         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
14707         definition.
14708         (_ufc_doit_r): Likewise.
14709         * crypt/crypt_util.c (_ufc_copymem): Likewise.
14710         (_ufc_output_conversion_r): Likewise.
14711         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
14712         * inet/rcmd.c (rcmd_af): Likewise.
14713         (rcmd): Likewise.
14714         (ruserok_af): Likewise.
14715         (ruserok): Likewise.
14716         (ruserok2_sa): Likewise.
14717         (ruserok_sa): Likewise.
14718         (iruserok_af): Likewise.
14719         (iruserok): Likewise.
14720         (__ivaliduser): Likewise.
14721         (__validuser2_sa): Likewise.
14722         * inet/rexec.c (rexec_af): Likewise.
14723         (rexec): Likewise.
14724         * inet/ruserpass.c (ruserpass): Likewise.
14725         * locale/programs/xmalloc.c (xcalloc): Likewise.
14726         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
14727         * math/w_drem.c (__drem): Likewise.
14728         * math/w_dremf.c (__dremf): Likewise.
14729         * math/w_dreml.c (__dreml): Likewise.
14730         * misc/daemon.c (daemon): Likewise.
14731         * resolv/res_debug.c (p_fqnname): Likewise.
14732         * stdlib/div.c (div): Likewise.
14733         * string/memcmp.c (memcmp_bytes): Likewise.
14734         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
14735         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
14737         * crypt/cert.c (main): Convert to prototype-style function
14738         definition.
14739         * io/pipe.c (__pipe): Likewise.
14740         * io/pipe2.c (__pipe2): Likewise.
14741         * misc/futimesat.c (futimesat): Likewise.
14742         * misc/utimes.c (__utimes): Likewise.
14743         * posix/execve.c (__execve): Likewise.
14744         * posix/execvp.c (execvp): Likewise.
14745         * posix/execvpe.c (__execvpe): Likewise.
14746         * posix/fexecve.c (fexecve): Likewise.
14747         * socket/socketpair.c (socketpair): Likewise.
14748         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
14749         * stdlib/erand48.c (erand48): Likewise.
14750         * stdlib/erand48_r.c (__erand48_r): Likewise.
14751         * stdlib/jrand48.c (jrand48): Likewise.
14752         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
14753         * stdlib/lcong48.c (lcong48): Likewise.
14754         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
14755         * stdlib/nrand48.c (nrand48): Likewise.
14756         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
14757         * stdlib/seed48.c (seed48): Likewise.
14758         * stdlib/seed48_r.c (__seed48_r): Likewise.
14759         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
14760         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
14761         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
14763 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
14765         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
14766         * configure: Regenerated.
14767         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
14768         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
14769         unconditional.
14770         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
14771         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
14772         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
14773         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
14774         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
14775         unconditional.
14776         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
14778         * posix/Makefile (CFLAGS-regex.c): Remove variable.
14779         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
14781         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
14782         function definition.
14783         * crypt/crypt_util.c (__encrypt_r): Likewise.
14784         * libio/genops.c (_IO_no_init): Likewise.
14785         * libio/iofopncook.c (_IO_fopencookie): Likewise.
14786         (_IO_old_fopencookie): Likewise.
14787         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
14788         * libio/iogetline.c (_IO_getline): Likewise.
14789         (_IO_getline_info): Likewise.
14790         * libio/iogetwline.c (_IO_getwline): Likewise.
14791         (_IO_getwline_info): Likewise.
14792         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
14793         * libio/vswprintf.c (_IO_vswprintf): Likewise.
14794         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
14795         (find_entry): Likewise.
14796         (iterate_table): Likewise.
14797         (lookup): Likewise.
14798         * login/forkpty.c (forkpty): Likewise.
14799         * misc/hsearch_r.c (__hsearch_r): Likewise.
14800         * misc/select.c (__select): Likewise.
14801         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
14802         Likewise.
14803         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
14804         Likewise.
14805         * nptl/old_pthread_cond_timedwait.c
14806         (__pthread_cond_timedwait_2_0): Likewise.
14807         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
14808         * nptl/pthread_barrierattr_getpshared.c
14809         (pthread_barrierattr_getpshared): Likewise.
14810         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
14811         Likewise.
14812         * nptl/pthread_mutex_setprioceiling.c
14813         (pthread_mutex_setprioceiling): Likewise.
14814         * nptl/pthread_mutexattr_getprioceiling.c
14815         (pthread_mutexattr_getprioceiling): Likewise.
14816         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
14817         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
14818         Likewise.
14819         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
14820         Likewise.
14821         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
14822         Likewise.
14823         * socket/recvfrom.c (__recvfrom): Likewise.
14824         * socket/sendto.c (__sendto): Likewise.
14825         * socket/setsockopt.c (__setsockopt): Likewise.
14826         * stdio-common/_itoa.c (_itoa): Likewise.
14827         * stdio-common/_itowa.c (_itowa): Likewise.
14828         * stdio-common/reg-printf.c (__register_printf_specifier):
14829         Likewise.
14830         (__register_printf_function): Likewise.
14831         * stdio-common/tempname.c (__path_search): Likewise.
14832         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
14833         * stdlib/mul_1.c (mpn_mul_1): Likewise.
14834         * stdlib/random_r.c (__initstate_r): Likewise.
14835         * stdlib/setenv.c (__add_to_environ): Likewise.
14836         * stdlib/submul_1.c (mpn_submul_1): Likewise.
14837         * streams/getpmsg.c (getpmsg): Likewise.
14838         * streams/putmsg.c (putmsg): Likewise.
14839         * streams/putpmsg.c (putpmsg): Likewise.
14840         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
14841         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
14842         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
14843         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
14844         * sunrpc/pm_getport.c (pmap_getport): Likewise.
14845         * sunrpc/svc_udp.c (cache_get): Likewise.
14846         * sunrpc/xdr_array.c (xdr_vector): Likewise.
14847         * sysdeps/mach/hurd/getcwd.c
14848         (__canonicalize_directory_name_internal): Likewise.
14849         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
14850         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
14851         * sysdeps/mach/hurd/select.c (__select): Likewise.
14852         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
14853         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
14854         * sysdeps/sparc/nptl/pthread_barrier_init.c
14855         (__pthread_barrier_init): Likewise.
14856         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
14857         (__pthread_cond_timedwait): Likewise.
14858         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
14859         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
14860         Likewise.
14861         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
14862         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
14863         Likewise.
14864         * sysvipc/semtimedop.c (semtimedop): Likewise.
14865         * time/setitimer.c (__setitimer): Likewise.
14866         * time/strftime_l.c (emacs_strftime): Likewise.
14868 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
14870         * config.make.in (have-ssp): Delete.
14871         (stack-protector): New variable.
14872         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
14873         cache test for -fstack-protector-strong.  Export stack_protector to
14874         the best ssp flag.
14875         * configure: Regenerated.
14876         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
14877         * nscd/Makefile (CFLAGS-nscd): Likewise.
14878         * resolv/Makefile (CFLAGS-libresolv): Likewise.
14880 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
14882         [BZ #19122]
14883         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
14884         attribute_hidden.
14886 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14888         [BZ #18743]
14889         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
14890         code to...
14891         (ELIDE_LOCK): ...here.
14892         (__get_new_count): New function with part of the code from
14893         __elide_lock that updates the value of adapt_count after a
14894         transaction abort.
14895         (__elided_trylock): Moved this code to...
14896         (ELIDE_TRYLOCK): ...here.
14898 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
14900         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
14901         * configure: Regenerate.
14902         * INSTALL: Regenerate.
14903         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
14904         and tweak grammar.
14906 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
14908         * login/programs/pt_chown.c: Include signal.h
14909         (main): Clear any signal mask from the parent process.
14911 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
14913         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
14914         * configure: Regenerated.
14915         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
14916         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
14917         $(gnu89-inline-CFLAGS).
14919         * configure.ac (libc_cv_asm_weak_directive): Remove configure
14920         test.
14921         (libc_cv_asm_weakext_directive): Likewise.
14922         * configure: Regenerated.
14923         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
14924         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
14925         * include/libc-symbols.h
14926         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
14927         #error.
14928         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
14929         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
14931         * sysdeps/arm/backtrace.c (__backtrace): Convert to
14932         prototype-style function definition.
14933         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
14934         * sysdeps/i386/ffs.c (__ffs): Likewise.
14935         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
14936         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
14937         Likewise.
14938         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
14939         Likewise.
14940         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
14941         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
14942         Likewise.
14943         * sysdeps/m68k/ffs.c (__ffs): Likewise.
14944         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
14945         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
14946         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
14947         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
14948         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
14949         * sysdeps/mach/hurd/access.c (__access): Likewise.
14950         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
14951         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
14952         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
14953         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
14954         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
14955         (cthread_getspecific): Likewise.
14956         (cthread_setspecific): Likewise.
14957         (__libc_getspecific): Likewise.
14958         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
14959         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
14960         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
14961         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
14962         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
14963         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
14964         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
14965         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
14966         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
14967         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
14968         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
14969         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
14970         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
14971         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
14972         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
14973         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
14974         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
14975         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
14976         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
14977         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
14978         * sysdeps/mach/hurd/link.c (__link): Likewise.
14979         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
14980         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
14981         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
14982         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
14983         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
14984         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
14985         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
14986         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
14987         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
14988         * sysdeps/mach/hurd/rename.c (rename): Likewise.
14989         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
14990         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
14991         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
14992         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
14993         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
14994         * sysdeps/mach/hurd/send.c (__send): Likewise.
14995         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
14996         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
14997         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
14998         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
14999         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
15000         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
15001         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
15002         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
15003         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
15004         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
15005         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
15006         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
15007         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
15008         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
15009         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
15010         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
15011         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
15012         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
15013         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
15014         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
15015         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
15016         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
15017         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
15018         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
15019         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
15020         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
15021         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
15022         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
15023         * sysdeps/posix/alarm.c (alarm): Likewise.
15024         * sysdeps/posix/cuserid.c (cuserid): Likewise.
15025         * sysdeps/posix/dirfd.c (dirfd): Likewise.
15026         * sysdeps/posix/dup.c (__dup): Likewise.
15027         * sysdeps/posix/dup2.c (__dup2): Likewise.
15028         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
15029         (main): Likewise.
15030         * sysdeps/posix/flock.c (__flock): Likewise.
15031         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
15032         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
15033         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
15034         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
15035         * sysdeps/posix/isatty.c (__isatty): Likewise.
15036         * sysdeps/posix/killpg.c (killpg): Likewise.
15037         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
15038         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
15039         * sysdeps/posix/raise.c (raise): Likewise.
15040         * sysdeps/posix/remove.c (remove): Likewise.
15041         * sysdeps/posix/rename.c (rename): Likewise.
15042         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
15043         * sysdeps/posix/seekdir.c (seekdir): Likewise.
15044         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
15045         * sysdeps/posix/sigignore.c (sigignore): Likewise.
15046         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
15047         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
15048         * sysdeps/posix/sigset.c (sigset): Likewise.
15049         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
15050         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
15051         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
15052         * sysdeps/posix/time.c (time): Likewise.
15053         * sysdeps/posix/ttyname.c (getttyname): Likewise.
15054         (ttyname): Likewise.
15055         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
15056         * sysdeps/posix/utime.c (utime): Likewise.
15057         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
15058         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
15059         Likewise.
15060         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
15061         (pthread_spin_trylock): Likewise.
15062         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
15063         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
15064         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
15065         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
15066         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
15067         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
15068         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
15069         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
15070         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
15071         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
15072         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
15073         * sysdeps/s390/ffs.c (__ffs): Likewise.
15074         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
15075         Likewise.
15076         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
15077         Likewise.
15078         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
15079         Likewise.
15080         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
15081         (pthread_barrier_destroy): Likewise.
15082         * sysdeps/sparc/nptl/pthread_barrier_wait.c
15083         (__pthread_barrier_wait): Likewise.
15084         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
15085         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
15086         (__pthread_barrier_wait): Likewise.
15087         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
15088         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
15089         (memcmp_not_common_alignment): Likewise.
15090         (MEMCMP): Likewise.
15091         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
15092         (_wordcopy_fwd_dest_aligned): Likewise.
15093         (_wordcopy_bwd_aligned): Likewise.
15094         (_wordcopy_bwd_dest_aligned): Likewise.
15095         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
15096         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
15097         * sysdeps/unix/bsd/stty.c (stty): Likewise.
15098         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
15099         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
15100         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
15101         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
15102         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
15103         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
15104         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
15105         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
15106         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
15107         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
15108         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
15109         * sysdeps/unix/stime.c (stime): Likewise.
15110         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
15111         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
15112         Likewise.  Use internal_function.
15113         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
15114         Convert to prototype-style function definition.
15115         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
15116         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
15117         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
15118         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
15119         Likewise.  Use internal_function.
15120         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
15121         prototype-style function definition
15122         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15123         Likewise.
15124         (__getlogin_r): Likewise.
15125         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
15126         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
15127         (__pthread_cond_broadcast): Likewise.
15128         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
15129         (__pthread_cond_destroy): Likewise.
15130         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
15131         (__pthread_cond_init): Likewise.
15132         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
15133         (__pthread_cond_signal): Likewise.
15134         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
15135         (__pthread_cond_wait): Likewise.
15136         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
15137         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
15138         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
15139         Likewise.
15140         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
15141         Likewise.
15142         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
15143         Likewise.
15144         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
15145         Likewise.
15146         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
15147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
15148         (__ftruncate64): Likewise.
15149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
15150         (truncate64): Likewise.
15151         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
15152         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
15153         (pthread_getcpuclockid): Likewise.
15154         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
15155         Likewise.
15156         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
15157         Likewise.
15158         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
15159         Likewise.
15160         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
15161         Likewise.
15162         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
15163         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
15164         (__libc_sigaction): Likewise.
15165         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
15166         Likewise.
15167         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
15168         (__sigprocmask): Likewise.
15169         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
15170         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
15171         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
15172         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
15173         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
15174         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
15175         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
15176         Likewise.
15177         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
15178         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
15179         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
15180         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
15181         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
15182         Likewise.
15183         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
15184         (__sigprocmask): Likewise.
15185         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
15186         (cfgetispeed): Likewise.
15187         (cfsetospeed): Likewise.
15188         (cfsetispeed): Likewise.
15189         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
15190         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
15191         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
15192         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
15193         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
15194         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
15195         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
15196         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
15197         Likewise.
15198         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
15199         Likewise.
15200         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
15201         Likewise.
15202         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
15203         Likewise.
15204         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
15206 2015-10-17  Florian Weimer  <fweimer@redhat.com>
15208         sunrpc: Rewrite with explicit TLS access using __thread.
15209         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
15210         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
15211         directly.
15212         (__rpc_thread_variables): Access thread_rpc_vars directly.
15213         Eliminate redundant assignment of the tvp variable.
15215 2015-10-17  Florian Weimer  <fweimer@redhat.com>
15217         malloc: Rewrite with explicit TLS access using __thread.
15218         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
15219         (tsd_setspecific, tsd_getspecific): Remove.
15220         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
15221         (tsd_setspecific, tsd_getspecific): Likewise.
15222         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
15223         (tsd_setspecific, tsd_getspecific): Likewise.
15224         * malloc/arena.c (thread_arena): New TLS variable.
15225         (arena_key): Remove variable.
15226         (arena_get): Use thread_arena.
15227         (arena_lookup): Remove macro.
15228         (malloc_atfork, free_atfork, ptmalloc_lock_all)
15229         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
15230         (_int_new_arena, get_free_list, reused_arena)
15231         (arena_thread_freeres): Use thread_arena.
15232         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
15233         tsd_getspecific, tsd_setspecific from safety annotations.
15234         (Allocating Cleared Space): Remove arena_lookup from safety
15235         annotations.
15237 2015-10-17  Florian Weimer  <fweimer@redhat.com>
15239         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
15240         struct scratch_buffer instead of extend_alloca.
15242 2015-10-17  Florian Weimer  <fweimer@redhat.com>
15244         * sysdeps/unix/sysv/linux/kernel-features.h
15245         (__ASSUME_SOCK_CLOEXEC): Remove.
15246         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
15247         (__have_paccept): Remove unused macro.
15248         * include/unistd.h (__have_sock_cloexec): Remove declaration.
15249         * misc/syslog.c (openlog_internal): Remove fallback code for
15250         !__ASSUME_SOCK_CLOEXEC.
15251         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
15252         missing SOCK_CLOEXEC.
15253         * nscd/connections.c (have_sock_cloexec): Remove definition.
15254         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
15255         * nscd/nscd_helper.c (open_socket): Remove fallback code for
15256         !__ASSUME_SOCK_CLOEXEC.
15257         * resolv/res_send.c (__have_o_nonblock): Remove definition.
15258         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
15259         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
15260         definition.
15261         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
15262         code for !__ASSUME_SOCK_CLOEXEC.
15264 2015-10-17  Florian Weimer  <fweimer@redhat.com>
15266         [BZ #18982]
15267         * manual/stdio.texi (Variable Arguments Output): Add portability
15268         note, explaining that vfprintf clobbers the va_list pointer.
15270 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
15272         * math/libm-test.inc (fabs_test_data): Add more tests.
15273         (fdim_test_data): Likewise.
15274         (fma_test_data): Likewise.
15275         (fmax_test_data): Likewise.
15276         (fmin_test_data): Likewise.
15277         (fmod_test_data): Likewise.
15279 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
15281         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
15282         data.
15284 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
15286         * math/libm-test.inc (ceil_test_data): Add more tests and more
15287         expectations for "inexact".
15288         (floor_test_data): Add more tests.
15289         (round_test_data): Likewise.
15290         (trunc_test_data): Likewise.
15292         * crypt/cert.c (good_bye): Convert to prototype-style function
15293         definition.
15294         (get8): Likewise.
15295         (put8): Likewise.
15296         * crypt/crypt-entry.c (crypt): Likewise.
15297         (__fcrypt): Likewise.
15298         * crypt/crypt_util.c (_ufc_prbits): Likewise.
15299         (_ufc_set_bits): Likewise.
15300         (_ufc_clearmem): Likewise.
15301         (__init_des_r): Likewise.
15302         (shuffle_sb): Likewise.
15303         (shuffle_sb): Likewise.
15304         (_ufc_setup_salt_r): Likewise.
15305         (_ufc_mk_keytab_r): Likewise.
15306         (_ufc_dofinalperm_r): Likewise.
15307         (encrypt): Likewise.
15308         (__setkey_r): Likewise.
15309         (setkey): Likewise.
15310         * crypt/md5.c (md5_init_ctx): Likewise.
15311         (md5_read_ctx): Likewise.
15312         (md5_finish_ctx): Likewise.
15313         (md5_stream): Likewise.
15314         (md5_buffer): Likewise.
15315         (md5_process_bytes): Likewise.
15316         * crypt/sha256.c (__sha256_init_ctx): Likewise.
15317         (__sha256_finish_ctx): Likewise.
15318         (__sha256_process_bytes): Likewise.
15319         * crypt/sha512.c (__sha512_init_ctx): Likewise.
15320         (__sha512_finish_ctx): Likewise.
15321         (__sha512_process_bytes): Likewise.
15322         * ctype/isctype.c (__isctype): Likewise.
15323         * debug/backtrace.c (__backtrace): Likewise.
15324         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
15325         * debug/fgets_chk.c (__fgets_chk): Likewise.
15326         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
15327         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
15328         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
15329         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
15330         * debug/memset_chk.c (__memset_chk): Likewise.
15331         * debug/strcat_chk.c (__strcat_chk): Likewise.
15332         * debug/strncat_chk.c (__strncat_chk): Likewise.
15333         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
15334         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
15335         * dirent/dirfd.c (dirfd): Likewise.
15336         * dirent/getdents.c (__getdirentries): Likewise.
15337         * dirent/getdents64.c (getdirentries64): Likewise.
15338         * dirent/rewinddir.c (__rewinddir): Likewise.
15339         * dirent/seekdir.c (seekdir): Likewise.
15340         * dirent/telldir.c (telldir): Likewise.
15341         * elf/sln.c (makesymlinks): Likewise.
15342         (makesymlink): Likewise.
15343         * gmon/gmon.c (__moncontrol): Likewise.
15344         (__monstartup): Likewise.
15345         (write_hist): Likewise.
15346         (write_call_graph): Likewise.
15347         (write_bb_counts): Likewise.
15348         * grp/setgroups.c (setgroups): Likewise.
15349         * inet/inet_lnaof.c (inet_lnaof): Likewise.
15350         * inet/inet_net.c (inet_network): Likewise.
15351         * inet/inet_netof.c (inet_netof): Likewise.
15352         * inet/rcmd.c (rresvport_af): Likewise.
15353         (rresvport): Likewise.
15354         * io/access.c (__access): Likewise.
15355         * io/chdir.c (__chdir): Likewise.
15356         * io/chmod.c (__chmod): Likewise.
15357         * io/chown.c (__chown): Likewise.
15358         * io/close.c (__close): Likewise.
15359         * io/creat.c (creat): Likewise.
15360         * io/creat64.c (creat64): Likewise.
15361         * io/dup.c (__dup): Likewise.
15362         * io/dup2.c (__dup2): Likewise.
15363         * io/dup3.c (__dup3): Likewise.
15364         * io/euidaccess.c (__euidaccess): Likewise.
15365         * io/faccessat.c (faccessat): Likewise.
15366         * io/fchmod.c (__fchmod): Likewise.
15367         * io/fchmodat.c (fchmodat): Likewise.
15368         * io/fchown.c (__fchown): Likewise.
15369         * io/fchownat.c (fchownat): Likewise.
15370         * io/fcntl.c (__fcntl): Likewise.
15371         * io/flock.c (__flock): Likewise.
15372         * io/fts.c (fts_load): Likewise.
15373         (fts_close): Likewise.
15374         (fts_read): Likewise.
15375         (fts_set): Likewise.
15376         (fts_children): Likewise.
15377         (fts_build): Likewise.
15378         (fts_stat): Likewise.
15379         (fts_sort): Likewise.
15380         (fts_alloc): Likewise.
15381         (fts_lfree): Likewise.
15382         (fts_palloc): Likewise.
15383         (fts_padjust): Likewise.
15384         (fts_maxarglen): Likewise.
15385         (fts_safe_changedir): Likewise.
15386         * io/getwd.c (getwd): Likewise.
15387         * io/isatty.c (__isatty): Likewise.
15388         * io/lchown.c (__lchown): Likewise.
15389         * io/link.c (__link): Likewise.
15390         * io/linkat.c (linkat): Likewise.
15391         * io/lseek.c (__libc_lseek): Likewise.
15392         * io/mkdir.c (__mkdir): Likewise.
15393         * io/mkdirat.c (mkdirat): Likewise.
15394         * io/mkfifo.c (mkfifo): Likewise.
15395         * io/mkfifoat.c (mkfifoat): Likewise.
15396         * io/open.c (__libc_open): Likewise.
15397         * io/open64.c (__libc_open64): Likewise.
15398         * io/readlink.c (__readlink): Likewise.
15399         * io/readlinkat.c (readlinkat): Likewise.
15400         * io/rmdir.c (__rmdir): Likewise.
15401         * io/symlink.c (__symlink): Likewise.
15402         * io/symlinkat.c (symlinkat): Likewise.
15403         * io/ttyname.c (ttyname): Likewise.
15404         * io/ttyname_r.c (__ttyname_r): Likewise.
15405         * io/umask.c (__umask): Likewise.
15406         * io/unlink.c (__unlink): Likewise.
15407         * io/unlinkat.c (unlinkat): Likewise.
15408         * io/utime.c (utime): Likewise.
15409         * libio/clearerr.c (clearerr): Likewise.
15410         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
15411         * libio/feof.c (_IO_feof): Likewise.
15412         * libio/feof_u.c (feof_unlocked): Likewise.
15413         * libio/ferror.c (_IO_ferror): Likewise.
15414         * libio/ferror_u.c (ferror_unlocked): Likewise.
15415         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
15416         * libio/fileno.c (__fileno): Likewise.
15417         * libio/fputc.c (fputc): Likewise.
15418         * libio/fputc_u.c (fputc_unlocked): Likewise.
15419         * libio/fputwc.c (fputwc): Likewise.
15420         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
15421         * libio/freopen.c (freopen): Likewise.
15422         * libio/freopen64.c (freopen64): Likewise.
15423         * libio/fseek.c (fseek): Likewise.
15424         * libio/fseeko.c (fseeko): Likewise.
15425         * libio/fseeko64.c (fseeko64): Likewise.
15426         * libio/ftello.c (__ftello): Likewise.
15427         * libio/ftello64.c (ftello64): Likewise.
15428         * libio/fwide.c (fwide): Likewise.
15429         * libio/genops.c (_IO_un_link): Likewise.
15430         (_IO_link_in): Likewise.
15431         (_IO_least_marker): Likewise.
15432         (_IO_switch_to_main_get_area): Likewise.
15433         (_IO_switch_to_backup_area): Likewise.
15434         (_IO_switch_to_get_mode): Likewise.
15435         (_IO_free_backup_area): Likewise.
15436         (_IO_switch_to_put_mode): Likewise.
15437         (__overflow): Likewise.
15438         (__underflow): Likewise.
15439         (__uflow): Likewise.
15440         (_IO_setb): Likewise.
15441         (_IO_doallocbuf): Likewise.
15442         (_IO_default_underflow): Likewise.
15443         (_IO_default_uflow): Likewise.
15444         (_IO_default_xsputn): Likewise.
15445         (_IO_sgetn): Likewise.
15446         (_IO_default_xsgetn): Likewise.
15447         (_IO_sync): Likewise.
15448         (_IO_default_setbuf): Likewise.
15449         (_IO_default_seekpos): Likewise.
15450         (_IO_default_doallocate): Likewise.
15451         (_IO_init): Likewise.
15452         (_IO_old_init): Likewise.
15453         (_IO_default_sync): Likewise.
15454         (_IO_default_finish): Likewise.
15455         (_IO_default_seekoff): Likewise.
15456         (_IO_sputbackc): Likewise.
15457         (_IO_sungetc): Likewise.
15458         (_IO_set_column): Likewise.
15459         (_IO_set_column): Likewise.
15460         (_IO_adjust_column): Likewise.
15461         (_IO_get_column): Likewise.
15462         (_IO_init_marker): Likewise.
15463         (_IO_remove_marker): Likewise.
15464         (_IO_marker_difference): Likewise.
15465         (_IO_marker_delta): Likewise.
15466         (_IO_seekmark): Likewise.
15467         (_IO_unsave_markers): Likewise.
15468         (_IO_nobackup_pbackfail): Likewise.
15469         (_IO_default_pbackfail): Likewise.
15470         (_IO_default_seek): Likewise.
15471         (_IO_default_stat): Likewise.
15472         (_IO_default_read): Likewise.
15473         (_IO_default_write): Likewise.
15474         (_IO_default_showmanyc): Likewise.
15475         (_IO_default_imbue): Likewise.
15476         (_IO_iter_next): Likewise.
15477         (_IO_iter_file): Likewise.
15478         * libio/getc.c (_IO_getc): Likewise.
15479         * libio/getwc.c (_IO_getwc): Likewise.
15480         * libio/iofclose.c (_IO_new_fclose): Likewise.
15481         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15482         * libio/iofflush.c (_IO_fflush): Likewise.
15483         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
15484         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
15485         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
15486         * libio/iofgets.c (_IO_fgets): Likewise.
15487         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
15488         * libio/iofgetws.c (fgetws): Likewise.
15489         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
15490         * libio/iofopen64.c (_IO_fopen64): Likewise.
15491         * libio/iofopncook.c (_IO_cookie_read): Likewise.
15492         (_IO_cookie_write): Likewise.
15493         (_IO_cookie_seek): Likewise.
15494         (_IO_cookie_close): Likewise.
15495         (_IO_cookie_seekoff): Likewise.
15496         (_IO_old_cookie_seek): Likewise.
15497         * libio/iofputs.c (_IO_fputs): Likewise.
15498         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
15499         * libio/iofputws.c (fputws): Likewise.
15500         * libio/iofputws_u.c (fputws_unlocked): Likewise.
15501         * libio/iofread.c (_IO_fread): Likewise.
15502         * libio/iofread_u.c (__fread_unlocked): Likewise.
15503         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
15504         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
15505         * libio/ioftell.c (_IO_ftell): Likewise.
15506         * libio/iofwrite.c (_IO_fwrite): Likewise.
15507         * libio/iogetdelim.c (_IO_getdelim): Likewise.
15508         * libio/iogets.c (_IO_gets): Likewise.
15509         * libio/iopadn.c (_IO_padn): Likewise.
15510         * libio/iopopen.c (_IO_new_proc_open): Likewise.
15511         (_IO_new_popen): Likewise.
15512         (_IO_new_proc_close): Likewise.
15513         * libio/ioputs.c (_IO_puts): Likewise.
15514         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
15515         (_IO_seekoff): Likewise.
15516         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
15517         (_IO_seekpos): Likewise.
15518         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
15519         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
15520         * libio/ioungetc.c (_IO_ungetc): Likewise.
15521         * libio/ioungetwc.c (ungetwc): Likewise.
15522         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15523         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
15524         * libio/iowpadn.c (_IO_wpadn): Likewise.
15525         * libio/libc_fatal.c (__libc_fatal): Likewise.
15526         * libio/memstream.c (__open_memstream): Likewise.
15527         (_IO_mem_sync): Likewise.
15528         (_IO_mem_finish): Likewise.
15529         * libio/oldfileops.c (_IO_old_file_init): Likewise.
15530         (_IO_old_file_close_it): Likewise.
15531         (_IO_old_file_finish): Likewise.
15532         (_IO_old_file_fopen): Likewise.
15533         (_IO_old_file_attach): Likewise.
15534         (_IO_old_file_setbuf): Likewise.
15535         (_IO_old_do_write): Likewise.
15536         (old_do_write): Likewise.
15537         (_IO_old_file_underflow): Likewise.
15538         (_IO_old_file_overflow): Likewise.
15539         (_IO_old_file_sync): Likewise.
15540         (_IO_old_file_seekoff): Likewise.
15541         (_IO_old_file_write): Likewise.
15542         (_IO_old_file_xsputn): Likewise.
15543         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
15544         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15545         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
15546         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
15547         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
15548         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
15549         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
15550         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
15551         (_IO_old_popen): Likewise.
15552         (_IO_old_proc_close): Likewise.
15553         * libio/oldpclose.c (__old_pclose): Likewise.
15554         * libio/pclose.c (__new_pclose): Likewise.
15555         * libio/peekc.c (_IO_peekc_locked): Likewise.
15556         * libio/putc.c (_IO_putc): Likewise.
15557         * libio/putc_u.c (putc_unlocked): Likewise.
15558         * libio/putchar.c (putchar): Likewise.
15559         * libio/putchar_u.c (putchar_unlocked): Likewise.
15560         * libio/putwc.c (putwc): Likewise.
15561         * libio/putwc_u.c (putwc_unlocked): Likewise.
15562         * libio/putwchar.c (putwchar): Likewise.
15563         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
15564         * libio/rewind.c (rewind): Likewise.
15565         * libio/setbuf.c (setbuf): Likewise.
15566         * libio/setlinebuf.c (setlinebuf): Likewise.
15567         * libio/vasprintf.c (_IO_vasprintf): Likewise.
15568         * libio/vscanf.c (_IO_vscanf): Likewise.
15569         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
15570         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
15571         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
15572         * libio/wgenops.c (_IO_least_wmarker): Likewise.
15573         (_IO_switch_to_main_wget_area): Likewise.
15574         (_IO_switch_to_wbackup_area): Likewise.
15575         (_IO_wsetb): Likewise.
15576         (_IO_wdefault_pbackfail): Likewise.
15577         (_IO_wdefault_finish): Likewise.
15578         (_IO_wdefault_uflow): Likewise.
15579         (__woverflow): Likewise.
15580         (__wuflow): Likewise.
15581         (__wunderflow): Likewise.
15582         (_IO_wdefault_xsputn): Likewise.
15583         (_IO_wdefault_xsgetn): Likewise.
15584         (_IO_wdoallocbuf): Likewise.
15585         (_IO_wdefault_doallocate): Likewise.
15586         (_IO_switch_to_wget_mode): Likewise.
15587         (_IO_free_wbackup_area): Likewise.
15588         (_IO_switch_to_wput_mode): Likewise.
15589         (_IO_sputbackwc): Likewise.
15590         (_IO_sungetwc): Likewise.
15591         (_IO_adjust_wcolumn): Likewise.
15592         (_IO_init_wmarker): Likewise.
15593         (_IO_wmarker_delta): Likewise.
15594         (_IO_seekwmark): Likewise.
15595         (_IO_unsave_wmarkers): Likewise.
15596         * libio/wmemstream.c (open_wmemstream): Likewise.
15597         (_IO_wmem_sync): Likewise.
15598         (_IO_wmem_finish): Likewise.
15599         * locale/nl_langinfo.c (nl_langinfo): Likewise.
15600         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
15601         * locale/programs/simple-hash.c (init_hash): Likewise.
15602         (delete_hash): Likewise.
15603         (insert_entry): Likewise.
15604         (set_entry): Likewise.
15605         (next_prime): Likewise.
15606         (is_prime): Likewise.
15607         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
15608         (xmalloc): Likewise.
15609         (xrealloc): Likewise.
15610         * locale/programs/xstrdup.c (xstrdup): Likewise.
15611         * localedata/collate-test.c (xstrcoll): Likewise.
15612         * localedata/xfrm-test.c (xstrcmp): Likewise.
15613         * login/getlogin_r.c (__getlogin_r): Likewise.
15614         * login/getpt.c (__posix_openpt): Likewise.
15615         * login/login_tty.c (login_tty): Likewise.
15616         * login/setlogin.c (setlogin): Likewise.
15617         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
15618         (mach_msg_destroy_port): Likewise.
15619         (mach_msg_destroy_memory): Likewise.
15620         * malloc/mcheck.c (flood): Likewise.
15621         * misc/acct.c (acct): Likewise.
15622         * misc/brk.c (__brk): Likewise.
15623         * misc/chflags.c (chflags): Likewise.
15624         * misc/chroot.c (chroot): Likewise.
15625         * misc/fchflags.c (fchflags): Likewise.
15626         * misc/fstab.c (getfsspec): Likewise.
15627         (getfsfile): Likewise.
15628         * misc/fsync.c (fsync): Likewise.
15629         * misc/ftruncate.c (__ftruncate): Likewise.
15630         * misc/ftruncate64.c (__ftruncate64): Likewise.
15631         * misc/getdomain.c (getdomainname): Likewise.
15632         (getdomainname): Likewise.
15633         * misc/gethostname.c (__gethostname): Likewise.
15634         * misc/getpass.c (getpass): Likewise.
15635         * misc/getttyent.c (skip): Likewise.
15636         (value): Likewise.
15637         * misc/gtty.c (gtty): Likewise.
15638         * misc/hsearch.c (hsearch): Likewise.
15639         (hcreate): Likewise.
15640         * misc/hsearch_r.c (__hcreate_r): Likewise.
15641         (__hdestroy_r): Likewise.
15642         * misc/ioctl.c (__ioctl): Likewise.
15643         * misc/mkdtemp.c (mkdtemp): Likewise.
15644         * misc/mkostemp.c (mkostemp): Likewise.
15645         * misc/mkostemp64.c (mkostemp64): Likewise.
15646         * misc/mkostemps.c (mkostemps): Likewise.
15647         * misc/mkostemps64.c (mkostemps64): Likewise.
15648         * misc/mkstemp.c (mkstemp): Likewise.
15649         * misc/mkstemp64.c (mkstemp64): Likewise.
15650         * misc/mkstemps.c (mkstemps): Likewise.
15651         * misc/mkstemps64.c (mkstemps64): Likewise.
15652         * misc/mktemp.c (__mktemp): Likewise.
15653         * misc/preadv.c (preadv): Likewise.
15654         * misc/preadv64.c (preadv64): Likewise.
15655         * misc/pwritev.c (pwritev): Likewise.
15656         * misc/pwritev64.c (pwritev64): Likewise.
15657         * misc/readv.c (__readv): Likewise.
15658         * misc/revoke.c (revoke): Likewise.
15659         * misc/setdomain.c (setdomainname): Likewise.
15660         * misc/setegid.c (setegid): Likewise.
15661         * misc/seteuid.c (seteuid): Likewise.
15662         * misc/sethostid.c (sethostid): Likewise.
15663         * misc/sethostname.c (sethostname): Likewise.
15664         * misc/setregid.c (__setregid): Likewise.
15665         * misc/setreuid.c (__setreuid): Likewise.
15666         * misc/sstk.c (sstk): Likewise.
15667         * misc/stty.c (stty): Likewise.
15668         * misc/syscall.c (syscall): Likewise.
15669         * misc/syslog.c (setlogmask): Likewise.
15670         * misc/truncate.c (__truncate): Likewise.
15671         * misc/truncate64.c (truncate64): Likewise.
15672         * misc/ualarm.c (ualarm): Likewise.
15673         * misc/usleep.c (usleep): Likewise.
15674         * misc/ustat.c (ustat): Likewise.
15675         * misc/writev.c (__writev): Likewise.
15676         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
15677         * nptl/old_pthread_cond_broadcast.c
15678         (__pthread_cond_broadcast_2_0): Likewise.
15679         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
15680         Likewise.
15681         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
15682         Likewise.
15683         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
15684         Likewise.
15685         * nptl/pt-raise.c (raise): Likewise.
15686         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
15687         Likewise.
15688         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
15689         * nptl/pthread_barrierattr_destroy.c
15690         (pthread_barrierattr_destroy): Likewise.
15691         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
15692         Likewise.
15693         * nptl/pthread_barrierattr_setpshared.c
15694         (pthread_barrierattr_setpshared): Likewise.
15695         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
15696         Likewise.
15697         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
15698         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
15699         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
15700         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
15701         Likewise.
15702         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
15703         Likewise.
15704         * nptl/pthread_condattr_getpshared.c
15705         (pthread_condattr_getpshared): Likewise.
15706         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
15707         Likewise.
15708         * nptl/pthread_condattr_setpshared.c
15709         (pthread_condattr_setpshared): Likewise.
15710         * nptl/pthread_detach.c (pthread_detach): Likewise.
15711         * nptl/pthread_equal.c (__pthread_equal): Likewise.
15712         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
15713         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
15714         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
15715         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
15716         Likewise.
15717         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
15718         Likewise.
15719         * nptl/pthread_mutex_getprioceiling.c
15720         (pthread_mutex_getprioceiling): Likewise.
15721         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
15722         Likewise.
15723         * nptl/pthread_mutexattr_getprotocol.c
15724         (pthread_mutexattr_getprotocol): Likewise.
15725         * nptl/pthread_mutexattr_getpshared.c
15726         (pthread_mutexattr_getpshared): Likewise.
15727         * nptl/pthread_mutexattr_getrobust.c
15728         (pthread_mutexattr_getrobust): Likewise.
15729         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
15730         Likewise.
15731         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
15732         Likewise.
15733         * nptl/pthread_mutexattr_setprioceiling.c
15734         (pthread_mutexattr_setprioceiling): Likewise.
15735         * nptl/pthread_mutexattr_setprotocol.c
15736         (pthread_mutexattr_setprotocol): Likewise.
15737         * nptl/pthread_mutexattr_setpshared.c
15738         (pthread_mutexattr_setpshared): Likewise.
15739         * nptl/pthread_mutexattr_setrobust.c
15740         (pthread_mutexattr_setrobust): Likewise.
15741         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
15742         Likewise.
15743         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
15744         Likewise.
15745         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
15746         Likewise.
15747         * nptl/pthread_rwlockattr_getkind_np.c
15748         (pthread_rwlockattr_getkind_np): Likewise.
15749         * nptl/pthread_rwlockattr_getpshared.c
15750         (pthread_rwlockattr_getpshared): Likewise.
15751         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
15752         Likewise.
15753         * nptl/pthread_rwlockattr_setkind_np.c
15754         (pthread_rwlockattr_setkind_np): Likewise.
15755         * nptl/pthread_rwlockattr_setpshared.c
15756         (pthread_rwlockattr_setpshared): Likewise.
15757         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
15758         Likewise.
15759         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
15760         Likewise.
15761         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
15762         Likewise.
15763         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
15764         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
15765         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
15766         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
15767         * nptl/sem_close.c (sem_close): Likewise.
15768         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
15769         * nptl/sem_init.c (__old_sem_init): Likewise.
15770         * nptl/sigaction.c (__sigaction): Likewise.
15771         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
15772         * posix/_exit.c (_exit): Likewise.
15773         * posix/alarm.c (alarm): Likewise.
15774         * posix/confstr.c (confstr): Likewise.
15775         * posix/fpathconf.c (__fpathconf): Likewise.
15776         * posix/getgroups.c (__getgroups): Likewise.
15777         * posix/getpgid.c (__getpgid): Likewise.
15778         * posix/group_member.c (__group_member): Likewise.
15779         * posix/pathconf.c (__pathconf): Likewise.
15780         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
15781         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
15782         * posix/setgid.c (__setgid): Likewise.
15783         * posix/setpgid.c (__setpgid): Likewise.
15784         * posix/setuid.c (__setuid): Likewise.
15785         * posix/sleep.c (__sleep): Likewise.
15786         * posix/sysconf.c (__sysconf): Likewise.
15787         * posix/times.c (__times): Likewise.
15788         * posix/uname.c (__uname): Likewise.
15789         * posix/waitid.c (__waitid): Likewise.
15790         * pwd/getpw.c (__getpw): Likewise.
15791         * resolv/base64.c (b64_pton): Likewise.
15792         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
15793         * resolv/gethnamaddr.c (Dprintf): Likewise.
15794         (gethostbyname): Likewise.
15795         (gethostbyname2): Likewise.
15796         (gethostbyaddr): Likewise.
15797         (_sethtent): Likewise.
15798         (_gethtbyname): Likewise.
15799         (_gethtbyname2): Likewise.
15800         (_gethtbyaddr): Likewise.
15801         (map_v4v6_address): Likewise.
15802         (map_v4v6_hostent): Likewise.
15803         (addrsort): Likewise.
15804         (ht_sethostent): Likewise.
15805         (ht_gethostbyname): Likewise.
15806         (ht_gethostbyaddr): Likewise.
15807         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
15808         (inet_net_ntop_ipv4): Likewise.
15809         * resolv/inet_neta.c (inet_neta): Likewise.
15810         * resolv/inet_ntop.c (inet_ntop): Likewise.
15811         (inet_ntop4): Likewise.
15812         (inet_ntop6): Likewise.
15813         * resolv/inet_pton.c (__inet_pton): Likewise.
15814         (inet_pton4): Likewise.
15815         (inet_pton6): Likewise.
15816         * resolv/res_debug.c (loc_aton): Likewise.
15817         (loc_ntoa): Likewise.
15818         * resource/getpriority.c (__getpriority): Likewise.
15819         * resource/getrusage.c (__getrusage): Likewise.
15820         * resource/nice.c (nice): Likewise.
15821         * resource/setpriority.c (__setpriority): Likewise.
15822         * resource/setrlimit64.c (setrlimit64): Likewise.
15823         * resource/vlimit.c (vlimit): Likewise.
15824         * resource/vtimes.c (vtimes): Likewise.
15825         * rt/aio_error.c (aio_error): Likewise.
15826         * rt/aio_return.c (aio_return): Likewise.
15827         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
15828         * signal/kill.c (__kill): Likewise.
15829         * signal/killpg.c (killpg): Likewise.
15830         * signal/raise.c (raise): Likewise.
15831         * signal/sigaction.c (__sigaction): Likewise.
15832         * signal/sigaddset.c (sigaddset): Likewise.
15833         * signal/sigaltstack.c (sigaltstack): Likewise.
15834         * signal/sigandset.c (sigandset): Likewise.
15835         * signal/sigblock.c (__sigblock): Likewise.
15836         * signal/sigdelset.c (sigdelset): Likewise.
15837         * signal/sigempty.c (sigemptyset): Likewise.
15838         * signal/sigfillset.c (sigfillset): Likewise.
15839         * signal/sighold.c (sighold): Likewise.
15840         * signal/sigignore.c (sigignore): Likewise.
15841         * signal/sigintr.c (siginterrupt): Likewise.
15842         * signal/sigisempty.c (sigisemptyset): Likewise.
15843         * signal/sigismem.c (sigismember): Likewise.
15844         * signal/signal.c (signal): Likewise.
15845         * signal/sigorset.c (sigorset): Likewise.
15846         * signal/sigpause.c (__sigpause): Likewise.
15847         * signal/sigpending.c (sigpending): Likewise.
15848         * signal/sigprocmask.c (__sigprocmask): Likewise.
15849         * signal/sigrelse.c (sigrelse): Likewise.
15850         * signal/sigreturn.c (__sigreturn): Likewise.
15851         * signal/sigset.c (sigset): Likewise.
15852         * signal/sigsetmask.c (__sigsetmask): Likewise.
15853         * signal/sigstack.c (sigstack): Likewise.
15854         * signal/sigsuspend.c (__sigsuspend): Likewise.
15855         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
15856         * signal/sysv_signal.c (__sysv_signal): Likewise.
15857         * socket/accept.c (accept): Likewise.
15858         * socket/accept4.c (__libc_accept4): Likewise.
15859         * socket/bind.c (__bind): Likewise.
15860         * socket/connect.c (__connect): Likewise.
15861         * socket/getpeername.c (getpeername): Likewise.
15862         * socket/getsockname.c (__getsockname): Likewise.
15863         * socket/getsockopt.c (getsockopt): Likewise.
15864         * socket/listen.c (__listen): Likewise.
15865         * socket/recv.c (__recv): Likewise.
15866         * socket/recvmsg.c (__recvmsg): Likewise.
15867         * socket/send.c (__send): Likewise.
15868         * socket/sendmsg.c (__sendmsg): Likewise.
15869         * socket/shutdown.c (shutdown): Likewise.
15870         * socket/sockatmark.c (sockatmark): Likewise.
15871         * socket/socket.c (__socket): Likewise.
15872         * stdio-common/ctermid.c (ctermid): Likewise.
15873         * stdio-common/cuserid.c (cuserid): Likewise.
15874         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
15875         * stdio-common/remove.c (remove): Likewise.
15876         * stdio-common/rename.c (rename): Likewise.
15877         * stdio-common/renameat.c (renameat): Likewise.
15878         * stdio-common/tempname.c (__gen_tempname): Likewise.
15879         * stdio-common/xbug.c (InitBuffer): Likewise.
15880         (AppendToBuffer): Likewise.
15881         (ReadFile): Likewise.
15882         * stdlib/a64l.c (a64l): Likewise.
15883         * stdlib/drand48_r.c (drand48_r): Likewise.
15884         * stdlib/getcontext.c (getcontext): Likewise.
15885         * stdlib/getenv.c (getenv): Likewise.
15886         * stdlib/l64a.c (l64a): Likewise.
15887         * stdlib/llabs.c (llabs): Likewise.
15888         * stdlib/lldiv.c (lldiv): Likewise.
15889         * stdlib/lrand48_r.c (lrand48_r): Likewise.
15890         * stdlib/mrand48_r.c (mrand48_r): Likewise.
15891         * stdlib/putenv.c (putenv): Likewise.
15892         * stdlib/random.c (__srandom): Likewise.
15893         (__initstate): Likewise.
15894         (__setstate): Likewise.
15895         * stdlib/random_r.c (__srandom_r): Likewise.
15896         (__setstate_r): Likewise.
15897         (__random_r): Likewise.
15898         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
15899         * stdlib/setcontext.c (setcontext): Likewise.
15900         * stdlib/setenv.c (setenv): Likewise.
15901         (unsetenv): Likewise.
15902         * stdlib/srand48.c (srand48): Likewise.
15903         * stdlib/srand48_r.c (__srand48_r): Likewise.
15904         * stdlib/swapcontext.c (swapcontext): Likewise.
15905         * stdlib/system.c (__libc_system): Likewise.
15906         * stdlib/tst-strtod.c (expand): Likewise.
15907         * stdlib/tst-strtol.c (expand): Likewise.
15908         * stdlib/tst-strtoll.c (expand): Likewise.
15909         * streams/fattach.c (fattach): Likewise.
15910         * streams/fdetach.c (fdetach): Likewise.
15911         * streams/getmsg.c (getmsg): Likewise.
15912         * streams/isastream.c (isastream): Likewise.
15913         * string/ffs.c (__ffs): Likewise.
15914         * string/ffsll.c (ffsll): Likewise.
15915         * string/memcmp.c (memcmp_common_alignment): Likewise.
15916         (memcmp_not_common_alignment): Likewise.
15917         (MEMCMP): Likewise.
15918         * string/memcpy.c (memcpy): Likewise.
15919         * string/memmove.c (MEMMOVE): Likewise.
15920         * string/memset.c (memset): Likewise.
15921         * string/rawmemchr.c (RAWMEMCHR): Likewise.
15922         * string/strchrnul.c (STRCHRNUL): Likewise.
15923         * string/strerror.c (strerror): Likewise.
15924         * string/strndup.c (__strndup): Likewise.
15925         * string/strverscmp.c (__strverscmp): Likewise.
15926         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
15927         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
15928         (clnttcp_freeres): Likewise.
15929         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
15930         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
15931         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
15932         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
15933         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
15934         (xdr_callhdr): Likewise.
15935         * sunrpc/rpcinfo.c (udpping): Likewise.
15936         (tcpping): Likewise.
15937         (pstatus): Likewise.
15938         (pmapdump): Likewise.
15939         (brdcst): Likewise.
15940         (deletereg): Likewise.
15941         (getprognum): Likewise.
15942         (getvers): Likewise.
15943         (get_inet_address): Likewise.
15944         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
15945         * sunrpc/svc_udp.c (svcudp_create): Likewise.
15946         (svcudp_stat): Likewise.
15947         (svcudp_recv): Likewise.
15948         (svcudp_reply): Likewise.
15949         (svcudp_getargs): Likewise.
15950         (svcudp_freeargs): Likewise.
15951         (svcudp_destroy): Likewise.
15952         * sunrpc/xdr.c (xdr_bytes): Likewise.
15953         (xdr_netobj): Likewise.
15954         (xdr_string): Likewise.
15955         (xdr_wrapstring): Likewise.
15956         * sunrpc/xdr_float.c (xdr_float): Likewise.
15957         (xdr_double): Likewise.
15958         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
15959         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
15960         * sysvipc/ftok.c (ftok): Likewise.
15961         * sysvipc/msgctl.c (msgctl): Likewise.
15962         * sysvipc/msgget.c (msgget): Likewise.
15963         * sysvipc/msgrcv.c (msgrcv): Likewise.
15964         * sysvipc/msgsnd.c (msgsnd): Likewise.
15965         * sysvipc/semget.c (semget): Likewise.
15966         * sysvipc/semop.c (semop): Likewise.
15967         * sysvipc/shmat.c (shmat): Likewise.
15968         * sysvipc/shmctl.c (shmctl): Likewise.
15969         * sysvipc/shmdt.c (shmdt): Likewise.
15970         * sysvipc/shmget.c (shmget): Likewise.
15971         * termios/cfmakeraw.c (cfmakeraw): Likewise.
15972         * termios/speed.c (cfgetospeed): Likewise.
15973         (cfgetispeed): Likewise.
15974         (cfsetospeed): Likewise.
15975         (cfsetispeed): Likewise.
15976         * termios/tcflow.c (tcflow): Likewise.
15977         * termios/tcflush.c (tcflush): Likewise.
15978         * termios/tcgetattr.c (__tcgetattr): Likewise.
15979         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
15980         * termios/tcgetsid.c (tcgetsid): Likewise.
15981         * termios/tcsendbrk.c (tcsendbreak): Likewise.
15982         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
15983         * time/adjtime.c (__adjtime): Likewise.
15984         * time/dysize.c (dysize): Likewise.
15985         * time/ftime.c (ftime): Likewise.
15986         * time/getitimer.c (__getitimer): Likewise.
15987         * time/gettimeofday.c (__gettimeofday): Likewise.
15988         * time/gmtime.c (__gmtime_r): Likewise.
15989         (gmtime): Likewise.
15990         * time/localtime.c (__localtime_r): Likewise.
15991         (localtime): Likewise.
15992         * time/offtime.c (__offtime): Likewise.
15993         * time/settimeofday.c (__settimeofday): Likewise.
15994         * time/stime.c (stime): Likewise.
15995         * time/strftime_l.c (tm_diff): Likewise.
15996         (iso_week_days): Likewise.
15997         * time/strptime.c (strptime): Likewise.
15998         * time/time.c (time): Likewise.
15999         * time/timespec_get.c (timespec_get): Likewise.
16000         * time/tzset.c (tzset_internal): Likewise.
16001         (compute_change): Likewise.
16002         (__tz_compute): Likewise.
16003         * wcsmbs/btowc.c (__btowc): Likewise.
16004         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
16005         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
16006         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
16007         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
16008         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
16009         * wcsmbs/wcscat.c (__wcscat): Likewise.
16010         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
16011         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
16012         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
16013         * wcsmbs/wcscspn.c (wcscspn): Likewise.
16014         * wcsmbs/wcsdup.c (wcsdup): Likewise.
16015         * wcsmbs/wcslen.c (__wcslen): Likewise.
16016         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
16017         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
16018         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
16019         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
16020         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
16021         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
16022         * wcsmbs/wcsspn.c (wcsspn): Likewise.
16023         * wcsmbs/wcsstr.c (wcsstr): Likewise.
16024         * wcsmbs/wcstok.c (wcstok): Likewise.
16025         * wcsmbs/wctob.c (wctob): Likewise.
16026         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
16027         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
16028         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
16029         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
16030         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
16031         * wcsmbs/wmemset.c (__wmemset): Likewise.
16032         * wctype/wcfuncs.c (__towlower): Likewise.
16033         (__towupper): Likewise.
16035         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
16036         (lll_unlock_elision): Add adapt_count parameter.
16038 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
16040         * sysdeps/nptl/configure.ac: Do not give errors based on the
16041         results of top-level configure tests.
16042         * sysdeps/nptl/configure: Regenerated.
16044         * configure.ac (libc_cv_Bgroup): Remove configure test.
16045         * configure: Regenerated.
16046         * config.make.in (have-Bgroup): Remove variable.
16048         * configure.ac (sizeof_long_double): Remove configure test.
16049         * configure: Regenerated.
16050         * config.make.in (sizeof-long-double): Remove variable.
16052         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
16053         * configure: Regenerated.
16054         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
16055         variable.
16056         (exceptions): Likewise.
16057         * sysdeps/arm/configure: Regenerated.
16058         * config.make.in (exceptions): Remove variable.
16059         * Makeconfig (uses-callbacks): Use -fexceptions instead of
16060         $(exceptions).
16061         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
16062         (CFLAGS-vdprintf_chk.c): Likewise.
16063         (CFLAGS-printf_chk.c): Likewise.
16064         (CFLAGS-fprintf_chk.c): Likewise.
16065         (CFLAGS-vprintf_chk.c): Likewise.
16066         (CFLAGS-vfprintf_chk.c): Likewise.
16067         (CFLAGS-gets_chk.c): Likewise.
16068         (CFLAGS-fgets_chk.c): Likewise.
16069         (CFLAGS-fgets_u_chk.c): Likewise.
16070         (CFLAGS-fread_chk.c): Likewise.
16071         (CFLAGS-fread_u_chk.c): Likewise.
16072         (CFLAGS-wprintf_chk.c): Likewise.
16073         (CFLAGS-fwprintf_chk.c): Likewise.
16074         (CFLAGS-vwprintf_chk.c): Likewise.
16075         (CFLAGS-vfwprintf_chk.c): Likewise.
16076         (CFLAGS-fgetws_chk.c): Likewise.
16077         (CFLAGS-fgetws_u_chk.c): Likewise.
16078         * libio/Makefile (CFLAGS-fileops.c): Likewise.
16079         (CFLAGS-fputc.c): Likewise.
16080         (CFLAGS-fputwc.c): Likewise.
16081         (CFLAGS-freopen64.c): Likewise.
16082         (CFLAGS-freopen.c): Likewise.
16083         (CFLAGS-fseek.c): Likewise.
16084         (CFLAGS-fseeko64.c): Likewise.
16085         (CFLAGS-fseeko.c): Likewise.
16086         (CFLAGS-ftello64.c): Likewise.
16087         (CFLAGS-ftello.c): Likewise.
16088         (CFLAGS-fwide.c): Likewise.
16089         (CFLAGS-genops.c): Likewise.
16090         (CFLAGS-getc.c): Likewise.
16091         (CFLAGS-getchar.c): Likewise.
16092         (CFLAGS-getwc.c): Likewise.
16093         (CFLAGS-getwchar.c): Likewise.
16094         (CFLAGS-iofclose.c): Likewise.
16095         (CFLAGS-iofflush.c): Likewise.
16096         (CFLAGS-iofgetpos64.c): Likewise.
16097         (CFLAGS-iofgetpos.c): Likewise.
16098         (CFLAGS-iofgets.c): Likewise.
16099         (CFLAGS-iofgetws.c): Likewise.
16100         (CFLAGS-iofputs.c): Likewise.
16101         (CFLAGS-iofputws.c): Likewise.
16102         (CFLAGS-iofread.c): Likewise.
16103         (CFLAGS-iofsetpos64.c): Likewise.
16104         (CFLAGS-iofsetpos.c): Likewise.
16105         (CFLAGS-ioftell.c): Likewise.
16106         (CFLAGS-iofwrite.c): Likewise.
16107         (CFLAGS-iogetdelim.c): Likewise.
16108         (CFLAGS-iogetline.c): Likewise.
16109         (CFLAGS-iogets.c): Likewise.
16110         (CFLAGS-iogetwline.c): Likewise.
16111         (CFLAGS-ioputs.c): Likewise.
16112         (CFLAGS-ioseekoff.c): Likewise.
16113         (CFLAGS-ioseekpos.c): Likewise.
16114         (CFLAGS-iosetbuffer.c): Likewise.
16115         (CFLAGS-iosetvbuf.c): Likewise.
16116         (CFLAGS-ioungetc.c): Likewise.
16117         (CFLAGS-ioungetwc.c): Likewise.
16118         (CFLAGS-oldfileops.c): Likewise.
16119         (CFLAGS-oldiofclose.c): Likewise.
16120         (CFLAGS-oldiofgetpos64.c): Likewise.
16121         (CFLAGS-oldiofgetpos.c): Likewise.
16122         (CFLAGS-oldiofsetpos64.c): Likewise.
16123         (CFLAGS-oldiofsetpos.c): Likewise.
16124         (CFLAGS-peekc.c): Likewise.
16125         (CFLAGS-putc.c): Likewise.
16126         (CFLAGS-putchar.c): Likewise.
16127         (CFLAGS-putwc.c): Likewise.
16128         (CFLAGS-putwchar.c): Likewise.
16129         (CFLAGS-rewind.c): Likewise.
16130         (CFLAGS-wfileops.c): Likewise.
16131         (CFLAGS-wgenops.c): Likewise.
16132         (CFLAGS-oldiofopen.c): Likewise.
16133         (CFLAGS-iofopen.c): Likewise.
16134         (CFLAGS-iofopen64.c): Likewise.
16135         (CFLAGS-oldtmpfile.c): Likewise.
16136         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
16137         (CFLAGS-fprintf.c): Likewise.
16138         (CFLAGS-printf.c): Likewise.
16139         (CFLAGS-vfwprintf.c): Likewise.
16140         (CFLAGS-vfscanf.c): Likewise.
16141         (CFLAGS-vfwscanf.c): Likewise.
16142         (CFLAGS-fscanf.c): Likewise.
16143         (CFLAGS-scanf.c): Likewise.
16144         (CFLAGS-isoc99_vfscanf.c): Likewise.
16145         (CFLAGS-isoc99_vscanf.c): Likewise.
16146         (CFLAGS-isoc99_fscanf.c): Likewise.
16147         (CFLAGS-isoc99_scanf.c): Likewise.
16148         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
16149         (CFLAGS-isoc99_fwscanf.c): Likewise.
16150         (CFLAGS-isoc99_vwscanf.c): Likewise.
16151         (CFLAGS-isoc99_vfwscanf.c): Likewise.
16153         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
16154         after mkstemp64.
16155         * login/tst-utmp.c (do_prepare): Likewise.
16156         * rt/tst-aio.c (do_prepare): Likewise.
16157         * rt/tst-aio64.c (do_prepare): Likewise.
16159 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16161         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
16162         (__lll_lock_elision): Remove adapt_count decrement...
16163         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
16164         (__lll_trylock_elision): Likewise.
16165         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
16166         (__lll_unlock_elision): ... to here. And utilize
16167         new adapt_count parameter.
16168         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
16169         (__lll_unlock_elision): Update to include adapt_count
16170         parameter.
16171         (lll_unlock_elision): Pass pointer to adapt_count
16172         variable.
16174 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16176         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
16177         Add elision adapt_count parameter to list of arguments.
16178         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
16179         (lll_unlock_elision): Update with new parameter list
16180         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
16181         (lll_unlock_elision): Likewise.
16182         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
16183         (lll_unlock_elision): Likewise.
16185 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
16187         [BZ #19122]
16188         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
16189         attribute_hidden.
16191         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
16192         attribute_hidden.
16193         [IS_IN (rtld)] (__strdup): Likewise.
16194         [IS_IN (rtld)] (__strerror_r): Likewise.
16195         [IS_IN (rtld)] (__strsep_g): Likewise.
16196         [IS_IN (rtld)] (memchr): Likewise.
16197         [IS_IN (rtld)] (memcmp): Likewise.
16198         [IS_IN (rtld)] (memcpy): Likewise.
16199         [IS_IN (rtld)] (memmove): Likewise.
16200         [IS_IN (rtld)] (memset): Likewise.
16201         [IS_IN (rtld)] (rawmemchr): Likewise.
16202         [IS_IN (rtld)] (stpcpy): Likewise.
16203         [IS_IN (rtld)] (strchr): Likewise.
16204         [IS_IN (rtld)] (strcmp): Likewise.
16205         [IS_IN (rtld)] (strlen): Likewise.
16206         [IS_IN (rtld)] (strnlen): Likewise.
16207         [IS_IN (rtld)] (strsep): Likewise.
16209         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
16210         attribute_hidden.
16211         [IS_IN (rtld)] (__strtoul_internal): Likewise.
16213         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
16214         attribute_hidden.
16215         [IS_IN (rtld)] (__libc_sigaction): Likewise.
16217         * include/setjmp.h (__longjmp): Add attribute_hidden.
16218         [IS_IN (rtld)] (__sigsetjmp): Likewise.
16220         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
16221         Add attribute_hidden.
16223         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
16224         [IS_IN (rtld)] (__open): Likewise.
16225         [IS_IN (rtld)] (__fcntl): Likewise.
16227         * include/dirent.h (__opendirat): Add attribute_hidden.
16228         (__getdents): Likewise.
16229         (__getdents64): Likewise.
16230         (__alloc_dir): Likewise.
16231         [IS_IN (rtld)] (__closedir): Likewise.
16232         [IS_IN (rtld)] (__fdopendir): Likewise.
16233         [IS_IN (rtld)] (__readdir): Likewise.
16234         [IS_IN (rtld)] (__readdir64): Likewise.
16235         [IS_IN (rtld)] (__rewinddir): Likewise.
16237         * include/dlfcn.h (_dl_catch_error): Moved to ...
16238         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
16239         attribute_hidden.
16241         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
16242         (_itoa_word): Likewise.
16244         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
16245         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
16246         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
16247         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
16248         (_dl_higher_prime_number): Likewise.
16249         (_dl_debug_printf_c): Likewise.
16250         (_dl_signal_cerror): Likewise.
16251         (_dl_receive_error): Likewise.
16252         (_dl_reloc_bad_type): Likewise.
16253         (_dl_resolve_conflicts): Likewise.
16254         (_dl_check_all_versions): Likewise.
16255         (_dl_check_map_versions): Likewise.
16256         (_dl_sort_fini): Likewise.
16257         (_dl_debug_initialize): Likewise.
16258         (_dl_init_paths): Likewise.
16259         (_dl_show_auxv): Likewise.
16260         (_dl_next_ld_env_entry): Likewise.
16261         (_dl_important_hwcaps): Likewise.
16262         (_dl_load_cache_lookup): Likewise.
16263         (_dl_update_slotinfo): Likewise.
16264         (_dl_show_scope): Likewise.
16266         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
16267         attribute_hidden.
16268         (_wordcopy_fwd_dest_aligned): Likewise.
16269         (_wordcopy_bwd_aligned): Likewise.
16270         (_wordcopy_bwd_dest_aligned): Likewise.
16272         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
16273         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
16274         Likewise.
16275         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
16276         Likewise.
16277         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
16279 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
16281         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
16282         GCC 5 requirement.
16284 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
16286         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
16287         test.
16288         * sysdeps/i386/configure: Regenerated.
16289         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
16290         code unconditional.
16292         * configure.ac (libc_cv_asm_previous_directive): Remove configure
16293         test.
16294         (libc_cv_asm_popsection_directive): Likewise.
16295         * configure: Regenerated.
16296         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
16297         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
16298         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
16299         (__make_section_unallocated): Make definition unconditional.
16300         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
16301         Remove conditional definition.
16302         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
16303         (__make_section_unallocated): Likewise.
16305         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
16306         * configure: Regenerated.
16307         * config.make.in (static-libgcc): Remove variable.
16308         * Makerules (build-shlib-helper): Use -static-libgcc instead of
16309         $(static-libgcc).
16310         (build-module-helper): Likewise.
16312         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
16313         * configure: Regenerated.
16315 2015-10-15  Florian Weimer  <fweimer@redhat.com>
16317         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
16318         (struct char_buffer): New type.
16319         (char_buffer_start, char_buffer_size, char_buffer_error)
16320         (char_buffer_rewind, char_buffer_add): New functions.
16321         (ADDW): Remove macro, replaced by the char_buffer_add function.
16322         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
16323         of extend_alloca.  Make control flow more explicit.
16325 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
16327         [BZ #19137]
16328         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
16329         Add -fomit-frame-pointer.
16330         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
16332 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
16334         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
16335         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
16336         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
16337         only if !__GNUC_PREREQ (5,0).
16338         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
16339         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
16340         (INTERNAL_SYSCALL_NCS): Likewise.
16341         (LOADREGS_0): New macro for GCC 5.
16342         (ASMARGS_0): Likewise.
16343         (LOADREGS_1): Likewise.
16344         (ASMARGS_1): Likewise.
16345         (LOADREGS_2): Likewise.
16346         (ASMARGS_2): Likewise.
16347         (LOADREGS_3): Likewise.
16348         (ASMARGS_3): Likewise.
16349         (LOADREGS_4): Likewise.
16350         (ASMARGS_4): Likewise.
16351         (LOADREGS_5): Likewise.
16352         (ASMARGS_5): Likewise.
16353         (LOADREGS_6): Likewise.
16354         (ASMARGS_6): Likewise.
16356 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
16358         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
16359         -fomit-frame-pointer.
16360         (CFLAGS-mmap64.c): Likewise.
16361         (CFLAGS-semtimedop.c): Likewise.
16362         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
16363         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
16364         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16365         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
16367 2015-10-15  Florian Weimer  <fweimer@redhat.com>
16369         [BZ #18928]
16370         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
16371         _dl_pointer_guard member.
16372         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
16373         initializer.
16374         (security_init): Always set up pointer guard.
16375         (process_envvars): Do not process LD_POINTER_GUARD.
16377 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
16379         [BZ #19134]
16380         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
16381         (.LC2): Likewise.
16382         (.LC3): Likewise.
16383         (__lround): Do not add 0.5 to integer or out-of-range arguments.
16385 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16387         [BZ #19129]
16388         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
16389         r0 and r1.
16391 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
16393         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
16395 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
16397         * include/stap-probe.h: Fix macro definition formatting.
16399 2015-10-14  Florian Weimer  <fweimer@redhat.com>
16401         [BZ #19074]
16402         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
16403         load and store num_ifs.
16405 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
16407         [BZ #18822]
16408         * sysdeps/unix/sysv/linux/sched_getaffinity.c
16409         (__sched_getaffinity_new): Add libc_hidden_proto and
16410         libc_hidden_def.
16412 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
16414         [BZ #19007]
16415         * scripts/localplt.awk: Also allow GOT references.
16416         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
16417         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
16418         with "+ REL R_386_GLOB_DAT".
16419         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
16420         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
16422 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
16424         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
16425         INLINE_SYSCALL_ERROR_RETURN_VALUE.
16426         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
16427         Likewise.
16428         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
16429         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
16430         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
16431         INTERNAL_SYSCALLINTERNAL_SYSCALL and
16432         INLINE_SYSCALL_ERROR_RETURN_VALUE.
16433         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
16434         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
16435         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
16436         Likewise.
16437         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
16439 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
16441         [BZ #19125]
16442         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
16443         <math_private.h> and <stdint.h>.
16444         (__llround): Avoid conversions to and from long long int, and
16445         subtractions, where those might raise spurious exceptions.
16446         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
16447         <math_private.h> and <stdint.h>.
16448         (__llroundf): Avoid conversions to and from long long int, and
16449         subtractions, where those might raise spurious exceptions.
16451 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
16453         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
16454         INLINE_SYSCALL_ERROR_RETURN_VALUE.
16455         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
16456         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
16457         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
16458         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
16459         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
16460         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
16461         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
16462         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
16463         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16464         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
16465         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
16466         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
16467         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
16468         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
16469         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
16470         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
16471         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
16472         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
16473         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
16474         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
16475         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
16476         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
16477         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
16478         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
16479         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
16480         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
16481         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
16482         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
16483         (__xstat64_conv): Likewise.
16484         (__xstat32_conv): Likewise.
16486 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
16488         * sysdeps/unix/sysv/linux/sysdep.h: New file.
16489         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
16490         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
16491         <sysdeps/unix/sysv/linux/sysdep.h>.
16492         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
16493         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
16494         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
16495         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
16496         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
16497         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
16498         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
16499         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
16500         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
16501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16503         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16504         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16505         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16506         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
16507         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16508         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
16509         (sysdep-dl-routines): Add sysdep.
16510         [$(subdir) == nptl] (libpthread-routines): Likewise.
16511         [$(subdir) == rt] (librt-routines): Likewise.
16512         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
16513         PIC when branching to SYSCALL_ERROR_LABEL.
16514         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
16515         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
16516         <sysdeps/unix/sysv/linux/sysdep.h>.
16517         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
16518         (SYSCALL_ERROR_ERRNO): Removed.
16519         (SYSCALL_ERROR_HANDLER): Changed to empty.
16520         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
16521         (__syscall_error): New prototype.
16522         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
16523         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
16525 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
16527         [BZ #19124]
16528         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
16529         (_dl_runtime_resolve_avx512): Make it a hidden alias of
16530         _dl_runtime_resolve_avx.
16531         (_dl_runtime_profile_avx512): Make it a hidden alias of
16532         _dl_runtime_profile_avx.
16534 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
16536         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
16537         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
16538         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
16539         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
16541         [BZ #16422]
16542         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
16543         New configure test.
16544         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
16545         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
16546         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
16547         <math_private.h> and <stdint.h>.
16548         (__llrint): Avoid conversions to long long int where those might
16549         raise spurious exceptions.
16550         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
16551         <math_private.h> and <stdint.h>.
16552         (__llrintf): Avoid conversions to long long int where those might
16553         raise spurious exceptions.
16555 2015-10-12  Andreas Schwab  <schwab@suse.de>
16557         [BZ #18969]
16558         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
16559         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
16560         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
16561         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
16562         $(gen-locales).
16563         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
16564         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
16565         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
16566         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
16567         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
16568         $(gen-locales).
16569         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
16570         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
16571         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
16572         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
16573         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
16574         ($(objpfx)tst-ftell-active-handler.out)
16575         ($(objpfx)tst-ftell-append.out)
16576         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
16577         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
16578         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
16579         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
16580         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
16581         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
16582         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
16583         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
16584         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
16585         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
16586         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
16587         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
16588         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
16589         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
16590         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
16591         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
16592         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
16593         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
16594         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
16595         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
16596         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
16597         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
16598         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
16599         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
16600         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
16601         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
16602         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
16603         $(gen-locales).
16604         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
16605         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
16606         $(gen-locales).
16607         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
16608         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
16609         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
16610         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
16611         $(gen-locales).
16612         * libio/tst_wprintf2.c (main): Use explicit locale.
16613         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
16615 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16617         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
16618         __msg_sig_post.
16619         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
16621 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
16623         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
16624         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16626         * sysdeps/arm/libm-test-ulps: Regenerated.
16628         [BZ #15470]
16629         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
16631         [BZ #16399]
16632         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
16633         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
16634         and <fix-fp-int-convert-overflow.h>.
16635         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
16636         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16637         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
16638         and <fix-fp-int-convert-overflow.h>.
16639         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
16640         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16641         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
16642         <fix-fp-int-convert-overflow.h>.
16643         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
16644         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16645         * sysdeps/ieee754/dbl-64/s_lround.c: Include
16646         <fix-fp-int-convert-overflow.h>.
16647         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
16648         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16649         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
16650         and <fix-fp-int-convert-overflow.h>.
16651         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
16652         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16653         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
16654         <limits.h> and <fix-fp-int-convert-overflow.h>.
16655         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
16656         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16657         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
16658         and <fix-fp-int-convert-overflow.h>.
16659         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
16660         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16661         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
16662         and <fix-fp-int-convert-overflow.h>.
16663         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
16664         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16665         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
16667 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
16669         [BZ #18589]
16670         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
16671         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
16672         $(gen-locales).
16674 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16675             Phil Blundell <pb@pbcl.net>
16677         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
16678         * nptl/tst-cancel26.c: New file.
16679         * nptl/tst-cancel27.c: Likewise.
16681 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
16683         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
16684         __ILP32__ isn't defined.
16685         (lrint): Likewise.
16686         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
16687         (lrintf): Likewise.
16688         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
16689         (lrintl): Likewise.
16690         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
16691         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
16692         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
16694 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16696         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
16697         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
16699         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
16700         file.
16701         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
16702         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
16704 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
16706         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
16707         configure test.
16708         * sysdeps/i386/configure: Regenerated.
16709         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
16710         configure test.
16711         * sysdeps/x86_64/configure: Regenerated.
16712         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
16713         Make code unconditional.
16715         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
16716         test.
16717         * sysdeps/i386/configure: Regenerated.
16718         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
16719         test.
16720         * sysdeps/x86_64/configure: Regenerated.
16721         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
16722         Make code unconditional.
16723         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
16724         Likewise.
16725         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
16726         Likewise.
16727         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16728         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
16729         code unconditional.
16730         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16731         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
16732         code unconditional.
16733         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16734         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
16735         code unconditional.
16736         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
16737         code unconditional.
16738         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16739         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
16740         code unconditional.
16741         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16742         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
16743         code unconditional.
16744         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16745         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
16746         code unconditional.
16747         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16748         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
16749         code unconditional.
16750         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16751         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
16753         [BZ #19095]
16754         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
16755         mantissa to long int before shifting left.
16757 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
16759         [BZ #19094]
16760         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
16761         <limits.h>.
16762         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16763         when result overflows but exception would not result from cast.
16764         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
16765         <limits.h>.
16766         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16767         when result overflows but exception would not result from cast.
16768         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
16769         <limits.h>.
16770         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16771         when result overflows but exception would not result from cast.
16772         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
16773         <limits.h>.
16774         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16775         when result overflows but exception would not result from cast.
16776         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
16777         <limits.h>.
16778         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16779         when result overflows but exception would not result from cast.
16780         * math/libm-test.inc (lrint_test_data): Add more tests.
16781         (llrint_test_data): Likewise.
16783 2015-10-08  Roland McGrath  <roland@hack.frob.com>
16785         [BZ #18872]
16786         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
16787         Move out from under [$(run-built-tests) = yes] conditional.
16788         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
16789         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
16791 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
16793         [BZ #18589]
16794         * string/Makefile (tests): Add bug-strcoll2.
16795         (LOCALES): Add cs_CZ.UTF-8.
16796         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
16798         [BZ #18589]
16799         * string/bug-strcoll2.c: New file.
16800         * locale/categories.def: Revert commit
16801         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
16802         * locale/langinfo.h: Likewise.
16803         * locale/localeinfo.h: Likewise.
16804         * locale/C-collate.c: Likewise.
16805         * locale/programs/ld-collate.c (collate_output): Likewise.
16806         * string/strcoll_l.c (STRDIFF): Likewise.
16807         (STRCOLL): Likewise.
16808         * wcsmbs/wcscoll_l.c: Likewise.
16810 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
16812         * math/libm-test.inc (lround_test_data): Do not expect the absence
16813         of "inexact" for some tests with non-integer arguments.
16814         (llround_test_data): Likewise.
16816         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
16817         test.
16818         (libc_cv_cc_sse2avx): Likewise.
16819         * sysdeps/i386/configure: Regenerated.
16820         * sysdeps/i386/i686/multiarch/Makefile
16821         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
16822         [$(subdir) = math].
16823         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
16824         code unconditional.
16825         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
16826         Likewise.
16827         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
16828         Likewise.
16829         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
16830         Likewise.
16831         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
16832         test.
16833         (libc_cv_cc_sse2avx): Likewise.
16834         * sysdeps/x86_64/configure: Regenerated.
16835         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
16836         unconditional.
16837         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
16838         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
16839         unconditional.
16840         (_dl_runtime_profile)
16841         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
16842         conditional code.
16843         * sysdeps/x86_64/fpu/multiarch/Makefile
16844         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
16845         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
16846         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16847         * sysdeps/x86_64/fpu/multiarch/e_exp.c
16848         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16849         * sysdeps/x86_64/fpu/multiarch/e_log.c
16850         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16851         * sysdeps/x86_64/fpu/multiarch/s_atan.c
16852         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16853         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
16854         Likewise.
16855         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
16856         Likewise.
16857         * sysdeps/x86_64/fpu/multiarch/s_sin.c
16858         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16859         * sysdeps/x86_64/fpu/multiarch/s_tan.c
16860         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16861         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
16862         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
16863         (HAVE_SSE2AVX_SUPPORT): Likewise.
16865 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
16867         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
16868         instead of #pragma optimize.
16870 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
16872         [BZ #17195]
16873         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
16874         as is similarly done in systrim and _int_free already.
16876 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16878         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
16880 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
16882         [BZ #19088]
16883         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
16884         <limits.h>.
16885         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
16886         overflows but exception would not result from cast.
16887         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
16888         and <limits.h>.
16889         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
16890         overflows but exception would not result from cast.
16891         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
16892         <limits.h>.
16893         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
16894         overflows but exception would not result from cast.
16895         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
16896         <limits.h>.
16897         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
16898         overflows but exception would not result from cast.
16899         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
16900         <limits.h>.
16901         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
16902         overflows but exception would not result from cast.
16903         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
16904         <limits.h>.
16905         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
16906         overflows but exception would not result from cast.
16907         * math/libm-test.inc (lround_test_data): Add more tests.
16908         (llround_test_data): Likewise.
16910 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
16912         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
16913         (CFLAGS-ialloc.c): Ditto.
16914         (CFLAGS-scheck.c): Ditto.
16916 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
16918         [BZ #19086]
16919         * manual/filesys.texi (Storage Allocation): Fix argument order for
16920         posix_fallocate64.
16922 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
16924         [BZ #19085]
16925         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
16926         exponent below 48 inside case for non-overflowing exponent.
16927         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
16929 2015-10-07  Florian Weimer  <fweimer@redhat.com>
16931         * iconvdata/cp737.h (from_idx): Add const.
16932         * iconvdata/cp775.h (from_idx): Likewise.
16934 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
16936         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
16937         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
16938         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
16940         [BZ #19079]
16941         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
16942         file, conditioned on [!_LP64].
16943         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
16944         [!_LP64] (__lround): Do not define as function or alias.
16945         [!_LP64] (lround): Likewise.
16946         [!_LP64] (__lroundl): Likewise.
16947         [!_LP64] (lroundl): Likewise.
16948         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
16949         macro.
16950         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
16951         Likewise.
16953 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
16955         * math/libm-test.inc (lrint_test_data): Add more tests.
16956         (llrint_test_data): Likewise.
16957         (lround_test_data): Likewise.
16958         (llround_test_data): Likewise.
16960         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
16961         (llrint_test_data): Add tests used for lrint.
16963         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
16964         test.
16965         * sysdeps/i386/configure: Regenerated.
16966         * sysdeps/i386/i686/multiarch/Makefile
16967         [$(config-cflags-sse4) = yes]: Make code unconditional.
16968         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
16969         Likewise.
16970         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
16971         Likewise.
16972         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
16973         test.
16974         * sysdeps/x86_64/configure: Regenerated.
16975         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
16976         Make code unconditional.
16977         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
16978         Likewise.
16979         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
16980         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
16982         * scripts/rpm2dynsym.sh: Remove file.
16984 2015-10-06  Florian Weimer  <fweimer@redhat.com>
16986         * configure.ac (libc_cv_cxx_thread_local): Define.
16987         * configure: Regenerate.
16988         * config.make.in (have-cxx-thread_local): Define.
16989         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
16990         (LDLIBS-tst-thread_local1): Define.
16991         (tests): Add tst-thread_local1.
16992         [have-cxx-thread_local != yes] (tests-unsupported): Add
16993         tst-thread_local1.
16994         * nptl/tst-thread_local1.cc: New file.
16996 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
16998         [BZ #19078]
16999         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
17000         (u_thres): Likewise.
17001         (__expl): Determine whether to call __kernel_standard_l based on
17002         value of result, not argument.
17004         * math/libm-test.inc (scalb_test_data): Add more expectations for
17005         the "inexact" exception.
17007         [BZ #19077]
17008         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
17009         0.0L for argument 1.0L.
17011         [BZ #19076]
17012         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
17013         constant 0.0L when computing infinite result.
17015 2015-10-06  Florian Weimer  <fweimer@redhat.com>
17017         [BZ #10432]
17018         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
17019         malloc_usable_size.
17021 2015-10-06  Florian Weimer  <fweimer@redhat.com>
17023         [BZ #19018]
17024         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17025         Mangle function pointer before storing it.
17026         (__call_tls_dtors): Demangle function pointer before calling it.
17028 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
17030         [BZ #19012]
17031         * iconv/gconv_db.c (gen_steps): Check for additional errors.
17032         Clean up on failure.
17034 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
17036         [BZ #19071]
17037         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
17038         long int variable to store possibly incremented high part of
17039         mantissa.
17040         * math/libm-test.inc (lround_test_data): Add tests used for
17041         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
17042         for tests requiring 64-bit long.  Do not condition tests on
17043         [TEST_FLOAT] unnecessarily.
17044         (llround_test_data): Add tests used for lround.  Add another
17045         expectation for the "inexact" exception.  Do not condition tests
17046         on [TEST_FLOAT] unnecessarily.
17048         [BZ #887]
17049         [BZ #19049]
17050         [BZ #19050]
17051         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
17052         * sysdeps/ieee754/dbl-64/e_log10.c: Include
17053         <fix-int-fp-convert-zero.h>.
17054         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17055         * sysdeps/ieee754/dbl-64/e_log2.c: Include
17056         <fix-int-fp-convert-zero.h>.
17057         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17058         * sysdeps/ieee754/dbl-64/s_erf.c: Include
17059         <fix-int-fp-convert-zero.h>.
17060         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17061         * sysdeps/ieee754/dbl-64/s_logb.c: Include
17062         <fix-int-fp-convert-zero.h>.
17063         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17064         * sysdeps/ieee754/flt-32/e_log10f.c: Include
17065         <fix-int-fp-convert-zero.h>.
17066         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17067         * sysdeps/ieee754/flt-32/e_log2f.c: Include
17068         <fix-int-fp-convert-zero.h>.
17069         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17070         * sysdeps/ieee754/flt-32/s_erff.c: Include
17071         <fix-int-fp-convert-zero.h>.
17072         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17073         * sysdeps/ieee754/flt-32/s_logbf.c: Include
17074         <fix-int-fp-convert-zero.h>.
17075         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17076         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
17077         <fix-int-fp-convert-zero.h>.
17078         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17079         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
17080         <fix-int-fp-convert-zero.h>.
17081         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
17082         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
17083         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
17084         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
17085         file.
17086         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
17088 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
17090         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17092 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
17094         [BZ #19059]
17095         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
17096         overflowing computation.
17097         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
17098         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
17099         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
17100         Likewise.
17101         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
17102         Likewise.
17103         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
17104         Likewise.
17105         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17106         Likewise.
17107         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
17108         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
17109         Likewise.
17110         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
17111         Likewise.
17112         * math/libm-test.inc (nexttoward_test_data): Add more tests.
17114         * nss/rewrite_field.c (__nss_rewrite_field): Use
17115         internal_function.
17116         * nss/valid_field.c (__nss_valid_field): Likewise.
17117         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
17119 2015-10-02  Florian Weimer  <fweimer@redhat.com>
17121         [BZ #18724]
17122         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
17123         (__nss_invalid_field_characters, __nss_valid_field)
17124         (__nss_valid_list_field, __nss_rewrite_field): Declare.
17125         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
17126         tst-field.c: New file.
17127         * nss/Makefile (routines): Add valid_field, rewrite_field.
17128         (tests-static): Define unconditionally.
17129         (tests): Include tests-static.
17130         [build-static-nss] (tests-static): Use append.
17131         [build-static-nss] (tests): Remove modification.
17132         * nss/getent.c (print_group): Call putgrent.  Report error.
17133         (print_gshadow): Call putsgent.  Report error.
17134         (print_passwd): Call putpwent.  Report error.
17135         (print_shadow): Call putspent.  Report error.
17136         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
17137         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
17138         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
17139         name, password, directory, shell fields for valid syntax.  Rewrite
17140         GECOS field to match syntax.
17141         * pwd/Makefile (tests): Add tst-putpwent.
17142         * pwd/tst-putpwent.c: New file.
17143         * grp/putgrent.c (putgrent): Convert to ISO function definition.
17144         Check grName, grpasswd, gr_mem fields for valid syntax.
17145         Change loop variable i to size_t.
17146         * grp/Makefile (tests): Add tst-putgrent.
17147         * grp/tst-putgrent.c: New file.
17148         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
17149         valid syntax.
17150         * shadow/Makefile (tests): Add tst-putspent.
17151         * shadow/tst-putspent.c: New file.
17152         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
17153         sg_mem fields for valid syntax.
17154         * gshadow/Makefile (tests): Add tst-putsgent.
17155         * gshadow/tst-putsgent.c: New file.
17157 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
17159         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
17160         assembly instructions.
17162 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
17164         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
17165         prefix from operands.
17167 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
17169         [BZ #16347]
17170         [BZ #19046]
17171         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
17172         <libc-internal.h>.
17173         (MAXLGM): Do not use diagnostic control macros.
17174         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
17175         threshold for ldbl-128ibm.
17176         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
17177         instead of multiplying by log then subtracting.
17178         * math/auto-libm-test-in: Add more tests of lgamma.
17179         * math/auto-libm-test-out: Regenerated.
17181         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
17182         (TYPE_HEX_DIG): Likewise.
17183         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
17184         precisions when printing floating-point numbers.
17185         (check_float_internal): Likewise.
17187 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
17189         [BZ #16620]
17190         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
17191         of log (10) rounded downward to 48 bits.
17192         (log10_low): Use corresponding low part of log (10).
17194         [BZ #19032]
17195         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
17196         compute result as (x - x) / (x - x) not as 0 / 0.
17197         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
17198         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
17200         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17201         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
17202         and expm1.
17203         * math/auto-libm-test-out: Regenerated.
17204         * math/libm-test.inc (acos_test_data): Add more tests.
17205         (asin_test_data): Likewise.
17206         (asinh_test_data): Likewise.
17207         (atan_test_data): Likewise.
17208         (atanh_test_data): Likewise.
17209         (atan2_test_data): Likewise.
17210         (cbrt_test_data): Likewise.
17211         (ceil_test_data): Likewise.
17212         (copysign_test_data): Likewise.
17213         (cos_test_data): Likewise.
17214         (cosh_test_data): Likewise.
17215         (erf_test_data): Likewise.
17216         (erfc_test_data): Likewise.
17217         (exp_test_data): Likewise.
17218         (exp10_test_data): Likewise.
17219         (exp2_test_data): Likewise.
17220         (expm1_test_data): Likewise.
17221         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17223 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
17225         [BZ #19006]
17226         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
17227         to ...
17228         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
17229         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
17230         to ...
17231         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
17232         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
17233         to ...
17234         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
17235         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
17236         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
17237         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
17238         to ...
17239         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
17240         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
17241         Moved to ...
17242         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
17243         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
17244         Moved to ...
17245         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
17246         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
17247         to ...
17248         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
17249         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
17250         Moved to ...
17251         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
17252         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
17253         to ...
17254         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
17255         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
17256         Removed.
17257         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
17258         Likewise.
17259         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
17260         Likewise.
17261         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
17262         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
17263         Likewise.
17264         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
17265         Likewise.
17266         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
17267         Likewise.
17268         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
17269         Likewise.
17270         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
17271         Likewise.
17272         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
17273         Likewise.
17274         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
17275         Likewise.
17276         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
17277         Likewise.
17278         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
17279         Likewise.
17280         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
17281         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
17282         Likewise.
17283         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
17284         Likewise.
17285         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
17286         Likewise.
17287         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
17288         Likewise.
17289         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
17290         Likewise.
17291         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
17292         Replace ../i486/pthread_cond_timedwait.S with
17293         ../pthread_cond_timedwait.S.
17295 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
17297         * math/libm-test.inc (acos_test_data): Refine expectations for
17298         errno and "inexact" exceptions.
17299         (acosh_test_data): Likewise.
17300         (asin_test_data): Likewise.
17301         (asinh_test_data): Likewise.
17302         (atan_test_data): Likewise.
17303         (atanh_test_data): Likewise.
17304         (atan2_test_data): Likewise.
17305         (cbrt_test_data): Likewise.
17306         (ceil_test_data): Likewise.
17307         (copysign_test_data): Likewise.
17308         (cosh_test_data): Likewise.
17309         (erf_test_data): Likewise.
17310         (erfc_test_data): Likewise.
17311         (exp_test_data): Likewise.
17312         (exp10_test_data): Likewise.
17313         (exp2_test_data): Likewise.
17314         (expm1_test_data): Likewise.
17315         (fabs_test_data): Likewise.
17316         (floor_test_data): Likewise.
17317         (fma_test_data): Likewise.
17318         (fmax_test_data): Likewise.
17319         (fmin_test_data): Likewise.
17320         (fmod_test_data): Likewise.
17321         (fpclassify_test_data): Likewise.
17322         (frexp_test_data): Likewise.
17323         (hypot_test_data): Likewise.
17324         (ilogb_test_data): Likewise.
17325         (isgreater_test_data): Likewise.
17326         (isgreaterequal_test_data): Likewise.
17327         (isinf_test_data): Likewise.
17328         (isless_test_data): Likewise.
17329         (islessequal_test_data): Likewise.
17330         (islessgreater_test_data): Likewise.
17331         (isnan_test_data): Likewise.
17332         (isnormal_test_data): Likewise.
17333         (issignaling_test_data): Likewise.
17334         (isunordered_test_data): Likewise.
17335         (j0_test_data): Likewise.
17336         (j1_test_data): Likewise.
17337         (jn_test_data): Likewise.
17338         (lgamma_test_data): Likewise.
17339         (lrint_test_data): Likewise.
17340         (llrint_test_data): Likewise.
17341         (log_test_data): Likewise.
17342         (log10_test_data): Likewise.
17343         (log1p_test_data): Likewise.
17344         (log2_test_data): Likewise.
17345         (logb_test_data): Likewise.
17346         (lround_test_data): Likewise.
17347         (llround_test_data): Likewise.
17348         (modf_test_data): Likewise.
17349         (nearbyint_test_data): Likewise.
17350         (nextafter_test_data): Likewise.
17351         (nexttoward_test_data): Likewise.
17352         (pow_test_data): Likewise.
17353         (remainder_test_data): Likewise.
17354         (remquo_test_data): Likewise.
17355         (rint_test_data): Likewise.
17356         (round_test_data): Likewise.
17357         (signbit_test_data): Likewise.
17358         (sinh_test_data): Likewise.
17359         (sqrt_test_data): Likewise.
17360         (tanh_test_data): Likewise.
17361         (tgamma_test_data): Likewise.
17362         (trunc_test_data): Likewise.
17363         (y0_test_data): Likewise.
17364         (y1_test_data): Likewise.
17365         (yn_test_data): Likewise.
17366         (significand_test_data): Likewise.
17368 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
17370         * manual/filesys.texi (Storage Allocation): Document that
17371         posix_fallocate emulation fails when fd is open with O_WRONLY.
17373 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
17375         [BZ #19016]
17376         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
17377         allow more cases with X^2 + Y^2 >= 0.5.
17378         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
17379         normal element in sum instead of special-casing based on values of
17380         arguments.
17381         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
17382         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
17383         -1 as normal element in sum instead of special-casing based on
17384         values of arguments.
17385         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
17386         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
17387         (__x2y2m1): Update comment.
17388         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
17389         as normal element in sum instead of special-casing based on values
17390         of arguments.
17391         * math/s_clog.c (__clog): Handle more cases using log1p without
17392         hypot.
17393         * math/s_clog10.c (__clog10): Likewise.
17394         * math/s_clog10f.c (__clog10f): Likewise.
17395         * math/s_clog10l.c (__clog10l): Likewise.
17396         * math/s_clogf.c (__clogf): Likewise.
17397         * math/s_clogl.c (__clogl): Likewise.
17398         * math/auto-libm-test-in: Add more tests of clog and clog10.
17399         * math/auto-libm-test-out: Regenerated.
17400         * sysdeps/i386/fpu/libm-test-ulps: Update.
17401         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17403 2015-09-28  Martin Sebor  <msebor@redhat.com>
17405         [BZ #18969]
17406         * string/Makefile (LOCALES): Define.
17407         (gen-locales.mk): Include.
17408         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
17409         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
17410         * string/tst-strxfrm2.c (do_test): Print the name of the locale
17411         on setlocale failure.
17413 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
17415         [BZ #18985]
17416         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
17417         (__strftime_internal): Likewise.
17418         * time/tst-strftime.c (do_bz18985): New test.
17419         (do_test): Call it.
17421 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
17423         [BZ #18956]
17424         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
17425         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
17426         extracting high part.
17427         * math/auto-libm-test-in: Add another test of pow.
17428         * math/auto-libm-test-out: Regenerated.
17429         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17431 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
17433         [BZ #18825]
17434         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
17435         New macro.
17436         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
17437         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
17438         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
17439         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
17440         DBL_NARROW_EVAL, reloading the PIC register as needed.
17441         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
17442         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
17443         FLT_NARROW_EVAL.  Use separate return path for case when first
17444         argument is NaN.
17445         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
17446         DEFINE_LDBL_MIN.
17447         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
17448         PIC register.
17449         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
17450         math_check_force_underflow_nonneg.
17451         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
17452         underflow for subnormal result.
17453         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
17454         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
17455         math_check_force_underflow_nonneg.
17456         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
17457         math_check_force_underflow.
17458         * sysdeps/x86_64/fpu/x86_64-math-asm.h
17459         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
17460         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
17461         DEFINE_LDBL_MIN.
17462         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
17463         * math/auto-libm-test-in: Add more tests of pow.
17464         * math/auto-libm-test-out: Regenerated.
17466 2015-09-25  Florian Weimer  <fweimer@redhat.com>
17468         * nss/bug17079.c (init_test_items): Add diagnostic for
17469         inconsistent entries.
17470         (test_buffer_size): Skip inconsistent entries.
17472 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
17474         [BZ #13304]
17475         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
17476         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
17477         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
17479         [BZ #13304]
17480         * sysdeps/microblaze/s_fma.c: New file.
17481         * sysdeps/microblaze/s_fmaf.c: Likewise.
17482         * sysdeps/microblaze/sfp-machine.h: Likewise.
17484 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
17486         [BZ #17250]
17487         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
17488         member.
17490 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
17492         [BZ #18803]
17493         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
17494         (MO): New macro.
17495         (__ieee754_hypot) [PIC]: Load PIC register.
17496         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
17497         DBL_NARROW_EVAL.
17498         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
17499         math_check_force_underflow_nonneg in case where result might be
17500         tiny.
17501         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
17502         Likewise.
17503         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
17504         Likewise.
17505         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
17506         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
17507         * math/auto-libm-test-in: Add more tests of hypot.
17508         * math/auto-libm-test-out: Regenerated.
17510 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
17512         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
17514 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
17516         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
17517         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
17518         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
17519         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
17520         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
17521         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
17522         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
17524         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
17525         LOAD_PIC_REG.
17527         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
17528         (FLT_CHECK_FORCE_UFLOW): Likewise.
17529         (DBL_CHECK_FORCE_UFLOW): Likewise.
17530         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
17531         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
17532         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
17533         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
17534         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
17535         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
17536         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
17537         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
17538         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
17539         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17540         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
17541         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
17542         (flt_min): Replace with use of DEFINE_FLT_MIN.
17543         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
17544         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
17545         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17546         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
17547         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
17548         (flt_min): Replace with use of DEFINE_FLT_MIN.
17549         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
17550         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
17551         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17552         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
17553         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
17554         (flt_min): Replace with use of DEFINE_FLT_MIN.
17555         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
17556         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
17557         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
17558         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
17559         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
17560         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
17561         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
17562         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
17563         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17564         (__atan): Use DBL_CHECK_FORCE_UFLOW.
17565         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
17566         (flt_min): Replace with use of DEFINE_FLT_MIN.
17567         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
17568         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
17569         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17570         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
17571         main computation.
17572         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
17573         (flt_min): Replace with use of DEFINE_FLT_MIN.
17574         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
17575         main computation.
17576         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
17577         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17578         (MO): New macro.
17579         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
17580         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
17581         (flt_min): Replace with use of DEFINE_FLT_MIN.
17582         (MO): New macro.
17583         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
17584         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
17585         (__log1pl): Use MO.
17587         [BZ #19003]
17588         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
17589         $(config-cflags-nofma).
17591 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17593         * sysdeps/aarch64/libm-test-ulps: Regenerated.
17595 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
17597         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
17598         (TWO127): Likewise.
17600         * sysdeps/generic/math_private.h (fabs_tg): New macro.
17601         (min_of_type): Likewise.
17602         (math_check_force_underflow): Likewise.
17603         (math_check_force_underflow_nonneg): Likewise.
17604         (math_check_force_underflow_complex): Likewise.
17605         * math/e_exp2l.c (__ieee754_exp2l): Use
17606         math_check_force_underflow_nonneg.
17607         * math/k_casinh.c (__kernel_casinh): Likewise.
17608         * math/k_casinhf.c (__kernel_casinhf): Likewise.
17609         * math/k_casinhl.c (__kernel_casinhl): Likewise.
17610         * math/s_catan.c (__catan): Use
17611         math_check_force_underflow_complex.
17612         * math/s_catanf.c (__catanf): Likewise.
17613         * math/s_catanh.c (__catanh): Likewise.
17614         * math/s_catanhf.c (__catanhf): Likewise.
17615         * math/s_catanhl.c (__catanhl): Likewise.
17616         * math/s_catanl.c (__catanl): Likewise.
17617         * math/s_ccosh.c (__ccosh): Likewise.
17618         * math/s_ccoshf.c (__ccoshf): Likewise.
17619         * math/s_ccoshl.c (__ccoshl): Likewise.
17620         * math/s_cexp.c (__cexp): Likewise.
17621         * math/s_cexpf.c (__cexpf): Likewise.
17622         * math/s_cexpl.c (__cexpl): Likewise.
17623         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
17624         * math/s_clog10.c (__clog10): Likewise.
17625         * math/s_clog10f.c (__clog10f): Likewise.
17626         * math/s_clog10l.c (__clog10l): Likewise.
17627         * math/s_clogf.c (__clogf): Likewise.
17628         * math/s_clogl.c (__clogl): Likewise.
17629         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
17630         * math/s_csinf.c (__csinf): Likewise.
17631         * math/s_csinh.c (__csinh): Likewise.
17632         * math/s_csinhf.c (__csinhf): Likewise.
17633         * math/s_csinhl.c (__csinhl): Likewise.
17634         * math/s_csinl.c (__csinl): Likewise.
17635         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
17636         * math/s_csqrtf.c (__csqrtf): Likewise.
17637         * math/s_csqrtl.c (__csqrtl): Likewise.
17638         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
17639         * math/s_ctanf.c (__ctanf): Likewise.
17640         * math/s_ctanh.c (__ctanh): Likewise.
17641         * math/s_ctanhf.c (__ctanhf): Likewise.
17642         * math/s_ctanhl.c (__ctanhl): Likewise.
17643         * math/s_ctanl.c (__ctanl): Likewise.
17644         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
17645         instead of volatile.
17646         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
17647         math_check_force_underflow.
17648         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
17649         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
17650         volatile when forcing underflow.
17651         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
17652         math_check_force_underflow_nonneg.
17653         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
17654         Likewise.
17655         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
17656         math_check_force_underflow.
17657         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
17658         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17659         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17660         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
17661         math_check_force_underflow_nonneg.
17662         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
17663         math_check_force_underflow.
17664         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
17665         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
17666         instead of volatile.
17667         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
17668         math_check_force_underflow.
17669         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
17670         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
17671         math_check_force_underflow_nonneg.
17672         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
17673         math_check_force_underflow.
17674         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
17675         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
17676         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
17677         math_check_force_underflow_nonneg.
17678         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
17679         Likewise.
17680         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
17681         math_check_force_underflow.
17682         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
17683         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
17684         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
17685         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
17686         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
17687         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
17688         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
17689         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
17690         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
17691         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
17692         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
17693         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
17694         Likewise.
17695         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
17696         math_check_force_underflow_nonneg.
17697         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
17698         Likewise.
17699         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
17700         math_check_force_underflow.
17701         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
17702         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
17703         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
17704         Likewise.
17705         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
17706         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
17707         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
17708         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
17709         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
17710         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
17711         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
17712         instead of volatile.
17713         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
17714         math_check_force_underflow.
17715         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
17716         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
17717         math_check_force_underflow.
17718         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
17719         Likewise.
17720         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
17721         Use math_check_force_underflow_nonneg.
17722         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
17723         math_check_force_underflow.
17724         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
17725         Likewise.
17726         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
17727         Likewise.
17728         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17729         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
17730         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
17731         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
17732         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
17733         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
17734         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
17735         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
17736         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
17737         math_check_force_underflow_nonneg.
17738         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
17739         math_check_force_underflow.
17740         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
17741         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
17742         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
17743         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
17744         math_check_force_underflow_nonneg.
17745         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
17746         math_check_force_underflow.
17747         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
17748         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
17749         instead of volatile.
17750         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
17751         math_check_force_underflow.
17753         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
17754         * stdlib/strtod_l.c: Include <math_private.h>.
17755         (overflow_value): Use math_narrow_eval.
17756         (underflow_value): Likewise.
17757         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
17758         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
17759         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
17760         (__ieee754_gamma_r): Likewise.
17761         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
17762         Likewise.
17763         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
17764         Likewise.
17765         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
17766         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
17767         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
17768         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
17769         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
17770         (__ieee754_gammaf_r): Likewise.
17771         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
17772         Likewise.
17773         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
17774         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
17775         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
17776         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
17777         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
17778         volatile.
17779         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
17780         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
17781         math_narrow_eval.
17782         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
17783         Likewise.
17784         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17785         Likewise.
17786         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
17787         Likewise.
17788         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
17789         volatile.
17790         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
17791         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
17792         math_narrow_eval.
17793         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
17794         Likewise.
17795         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
17796         Likewise.
17798 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
17800         * nptl/Versions: Remove ignored symbols.
17802 2015-09-22  Florian Weimer  <fweimer@redhat.com>
17804         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
17805         * nss/Makefile (tests): Update.
17807 2015-09-22  Florian Weimer  <fweimer@redhat.com>
17809         * nss/bug18287.c: New file.
17810         * nss/Makefile (tests): Add bug18287.
17812 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17814         * mach/Versions (__mach_host_self_): Add symbol.
17816 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17818         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
17819         vm_page_size.
17821 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17823         Really fix sysdeps/i386/fpu/s_scalbn.S build
17825         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
17826         (libc: GLIBC_2_22): Remove unused version set.
17828 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
17830         * config.make.in (enable-timezone-tools): New variable.
17831         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
17832         (enable_timezone_tools): Export to generated files.
17833         * configure: Regenerate.
17834         * INSTALL: Regenerate.
17835         * manual/install.texi (--disable-timezone-tools): Document new flag.
17836         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
17837         ifeq ($(enable-timezone-tools),yes) check.
17839 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
17841         * timezone/Makefile: Revert previous change.
17843         [BZ #18980]
17844         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
17845         (DEFINE_DBL_MIN): Likewise.
17846         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
17847         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
17848         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
17849         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
17850         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
17851         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17852         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
17853         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
17854         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
17855         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17856         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
17857         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
17858         (flt_min): Replace with use of DEFINE_FLT_MIN.
17859         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
17860         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
17861         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17862         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
17863         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
17864         (flt_min): Replace with use of DEFINE_FLT_MIN.
17865         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
17866         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
17867         (flt_min): Replace with use of DEFINE_FLT_MIN.
17868         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
17869         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
17870         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
17871         (__ieee754_hypot): Use DBL_NARROW_EVAL.
17872         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
17873         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
17874         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
17875         (__ieee754_pow): Use DBL_NARROW_EVAL.
17876         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
17877         (__ieee754_powf): Use FLT_NARROW_EVAL.
17878         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
17879         (__ieee754_expf_sse2): Convert double-precision result to single
17880         precision.
17881         * sysdeps/i386/fpu/libm-test-ulps: Update.
17883 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17885         * timezone/Makefile: Ignore unused variable errors due to private.h
17886         (time_t_min) and (time_t_max).
17887         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
17888         Likewise.
17890 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
17892         [BZ #18981]
17893         * sysdeps/i386/fpu/i386-math-asm.h: New file.
17894         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
17895         (__ieee754_scalb): Use DBL_NARROW_EVAL.
17896         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
17897         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
17898         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
17899         (__scalbn): Use DBL_NARROW_EVAL.
17900         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
17901         (__scalbnf): Use FLT_NARROW_EVAL.
17903 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17905         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
17906         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
17907         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
17908         * stdio-common/printf_fp.c (___printf_fp):
17909         Use signbit to get the sign. Use isinf macro to allow inlining.
17910         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
17911         * stdio-common/printf_size.c (__printf_size): Likewise.
17913 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
17915         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
17917 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
17919         [BZ #18980]
17920         * sysdeps/generic/math_private.h: Include <float.h>.
17921         (math_narrow_eval): New macro.
17922         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
17923         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
17924         math_narrow_eval on overflowing return value.
17925         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
17926         Likewise.
17927         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17928         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
17929         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
17930         Likewise.
17931         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
17933 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17935         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
17936         * math/Makefile: Remove isinf_ns.c.
17937         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
17938         * math/multc3.c (__multc3): Likewise.
17939         * math/s_casin.c (__casin): Likewise.
17940         * math/s_casinf.c (__casinf): Likewise.
17941         * math/s_casinl.c (__casinl): Likewise.
17942         * math/s_cproj.c (__cproj): Likewise.
17943         * math/s_cprojf.c (__cprojf): Likewise.
17944         * math/s_cprojl.c (__cprofl): Likewise.
17945         * math/s_ctan.c (__ctan): Likewise.
17946         * math/s_ctanf.c (__ctanf): Likewise.
17947         * math/s_ctanh.c (__ctanh): Likewise.
17948         * math/s_ctanhf.c (__ctanhf): Likewise.
17949         * math/s_ctanhl.c (__ctanhl): Likewise.
17950         * math/s_ctanl.c (__ctanl): Likewise.
17951         * math/w_fmod.c (__fmod): Likewise.
17952         * math/w_fmodf.c (__fmodf): Likewise.
17953         * math/w_fmodl.c (_fmodl): Likewise.
17954         * math/w_remainder.c (__remainder): Likewise.
17955         * math/w_remainderf.c (__remainderf): Likewise.
17956         * math/w_remainderl.c (__remainderl): Likewise.
17957         * math/w_scalb.c (__scalb): Likewise.
17958         * math/w_scalbf.c (__scalbf): Likewise.
17959         * math/w_scalbl.c (__scalbl): Likewise.
17960         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
17961         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
17962         with isinf.
17963         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
17964         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
17965         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
17966         __isinf_nsf with isinf.
17967         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
17968         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
17969         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
17970         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
17971         with isinf.
17972         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
17973         __isinf_nsl with isinf.
17974         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
17975         with isinf.
17976         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
17977         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
17978         __isinf_nsl with isinf.
17979         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
17980         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
17981         with isinf.
17983 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17985         * resolv/base64.c (rcsid): Remove unused static.
17986         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
17987         static.  (tqpi1): Likewise.
17988         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
17989         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
17990         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
17991         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
17992         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
17993         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
17994         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
17995         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
17996         Likewise.
17998 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
18000         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
18001         <nptl/pthreadP.h>.
18002         (_longjmp_unwind): Use __libc_ptf_call.
18003         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
18005 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
18007         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
18008         * sysdeps/arm/__longjmp.S: Likewise.
18010 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
18012         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
18013         Use __builtin_signbit.
18014         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
18015         Use __builtin_signbitf.
18016         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
18017         Use __builtin_signbitl.
18018         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
18019         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
18021 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
18023         [BZ #15367]
18024         [BZ #17441]
18026         * math/Makefile: Build test-snan.c with -fsignaling-nans.
18027         * math/math.h (fpclassify): Use __builtin_fpclassify when
18028         available.  (signbit): Use __builtin_signbit(f/l).
18029         (isfinite): Use__builtin_isfinite.  (isnormal): Use
18030         __builtin_isnormal.  (isnan): Use __builtin_isnan.
18031         (isinf): Use __builtin_isinf_sign.
18033 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
18035         * benchtests/Makefile: Add bench-math-inlines, link with libm.
18036         * benchtests/bench-math-inlines.c: New benchmark.
18037         * benchtests/bench-util.h: New file.
18038         * benchtests/bench-util.c: New file.
18039         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
18041 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
18043         * elf/tst-dlmopen1.c: Define TEST_SO.
18044         (do_test): Use TEST_SO.
18046         * elf/dl-load.c: Include libc-internal.h.
18047         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
18049 2015-09-18  Vincent Bernat  <vincent@bernat.im>
18051         [BZ #17887]
18052         * time/strptime_l.c (__strptime_internal): Make %z accept
18053         [+-]HH:MM time zones.
18055 2015-09-18  Vincent Bernat  <vincent@bernat.im>
18057         [BZ #17886]
18058         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
18059         valid time zone.
18061 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
18063         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
18064         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
18065         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18066         (__ASSUME_FDATASYNC): Delete.
18068 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
18070         * conform/linknamespace.pl: Require weak undefined symbols to be
18071         in the standard namespace.
18072         (%strong_syms): Rename to %seen_syms.
18073         (%strong_seen): Rename to %seen_where.
18075 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
18077         [BZ #18970]
18078         * misc/error.c (error): Replace pthread_setcancelstate with
18079         __pthread_setcancelstate.
18080         (error_at_line): Likewise.
18081         * posix/wordexp.c (parse_comm): Likewise.
18082         * stdlib/fmtmsg.c (fmtmsg): Likewise.
18083         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
18084         (__pthread_setcancelstate): This.
18085         (pthread_setcancelstate): Add an alias.
18086         * nptl/nptl-init.c (pthread_functions): Replace
18087         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
18088         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
18089         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
18090         hidden_proto.
18091         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
18092         it with hidden_def.
18093         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
18094         (pthread_setcancelstate): Renamed to ...
18095         (__pthread_setcancelstate): This.
18096         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
18097         __libc_ptf_call with __pthread_setcancelstate.
18099 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
18100             Andreas Schwab  <schwab@suse.de>
18102         [BZ #17118]
18103         * math/s_ctan.c (__ctan): Determine sign of zero real part of
18104         result when imaginary part of argument is infinite using sine and
18105         cosine.
18106         * math/s_ctanf.c (__ctanf): Likewise.
18107         * math/s_ctanl.c (__ctanl): Likewise.
18108         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
18109         of result when real part of argument is infinite using sine and
18110         cosine.
18111         * math/s_ctanhf.c (__ctanhf): Likewise.
18112         * math/s_ctanhl.c (__ctanhl): Likewise.
18113         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
18114         (ctanh_test_data): Add more tests of ctanh.
18116 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
18118         [BZ #15384]
18119         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
18120         bit-mask as in subtraction.
18121         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
18122         Likewise.
18123         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
18124         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
18125         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
18127         [BZ #18951]
18128         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
18129         underflow exception for small results.
18130         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
18131         Likewise.
18132         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
18133         Likewise.
18134         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
18135         Likewise.
18136         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
18137         Likewise.
18138         * math/auto-libm-test-in: Add more tests of tgamma.
18139         * math/auto-libm-test-out: Regenerated.
18141 2015-09-17  Andreas Schwab  <schwab@suse.de>
18143         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
18145 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
18147         [BZ #18977]
18148         * math/bits/mathcalls.h
18149         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
18150         not declare.
18151         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
18152         Likewise.
18153         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
18154         Likewise.
18155         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
18156         Likewise.
18157         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
18158         Likewise.
18159         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
18160         Likewise.
18161         * conform/data/math.h-data
18162         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
18163         function.
18164         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
18165         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
18166         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
18167         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
18168         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
18169         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
18170         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
18171         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
18172         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
18173         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
18174         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
18176         [BZ #6803]
18177         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
18178         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
18179         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
18180         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
18181         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
18182         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
18183         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
18184         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
18185         [NO_LONG_DOUBLE] (scalbnl): Likewise.
18186         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
18187         Likewise.
18188         [NO_LONG_DOUBLE] (scalbnl): Likewise.
18189         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
18190         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
18191         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
18192         long_double_symbol calls.
18193         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
18194         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
18195         strong alias of __ldexpl.
18196         (scalbnl): Define using long_double_symbol.
18197         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
18198         Remove alias.
18199         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
18200         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
18201         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
18202         (scalbln_test_data): Add more errno expectations.
18204 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
18206         Cache the host port like we cache the task port.  This way we do not
18207         need to call the kernel just to get the port.  Furthermore, we no
18208         longer increase the reference count on every invocation of
18209         `mach_host_self'.
18211         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
18212         Protect declarations against the macro expansion.
18213         * mach/mach_init.c (__mach_host_self_): New variable.
18214         (mach_init): Initialize `__mach_host_self_'.
18215         * mach/mach_init.h (__mach_host_self_): New declaration.
18216         (__mach_host_self, mach_host_self): New macros.
18217         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
18218         Release reference.
18220 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
18222         [BZ #4404]
18223         * po/de.po: Update from Translation Project.
18225         [BZ #16415]
18226         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
18227         (__expm1l): Remove code to handle positive infinity and overflow.
18228         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
18229         variable.
18230         (__expm1l): Remove code to handle positive infinity and overflow.
18232 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
18233             Paul Pluzhnikov  <ppluzhnikov@google.com>
18235         [BZ #18872]
18236         * stdio-common/Makefile (tst-printf-bz18872): New test.
18237         (tst-printf-bz18872-mem.out): Likewise.
18238         * stdio-common/tst-printf-bz18872.sh: Generate new test.
18239         * stdio-common/vfprintf.c: Fix memory leaks.
18241 2015-09-16  Andreas Schwab  <schwab@suse.de>
18243         [BZ #17244]
18244         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
18245         Remove extra va_start/va_end calls.
18247         [BZ #17243]
18248         * posix/execl.c (execl): Add missing va_end.
18249         * posix/execle.c (execle): Likewise.
18250         * posix/execlp.c (execlp): Likewise.
18252 2015-09-15  Roland McGrath  <roland@hack.frob.com>
18254         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
18255         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
18257 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
18259         [BZ #18967]
18260         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
18261         undefine around includes of <bits/mathcalls.h>.
18262         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
18263         not declare function.
18264         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
18265         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
18266         (scalb): Likewise.
18267         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
18268         not define macro.
18269         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
18270         variable.
18271         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
18272         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
18273         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
18275         [BZ #18857]
18276         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
18277         return non-finite argument without doing ordered comparisons on
18278         it.
18280         [BZ #16296]
18281         * math/fenv.h (fegetround): Use __attribute_pure__.
18282         * include/fenv.h (__fegetround): Likewise.
18284         [BZ #18595]
18285         * math/s_ctan.c (__ctan): Force underflow exception for results
18286         whose real or imaginary part has small absolute value.
18287         * math/s_ctanf.c (__ctanf): Likewise.
18288         * math/s_ctanh.c (__ctanh): Likewise.
18289         * math/s_ctanhf.c (__ctanhf): Likewise.
18290         * math/s_ctanhl.c (__ctanhl): Likewise.
18291         * math/s_ctanl.c (__ctanl): Likewise.
18292         * math/auto-libm-test-in: Do not allow missing underflow for ctan
18293         and ctanh.  Add more tests of ctan and ctanh.
18295         [BZ #15918]
18296         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
18297         handling of cases where one argument is an infinity.
18299         [BZ #18875]
18300         [BZ #18966]
18301         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
18302         (MO): New macro.
18303         (__ieee754_exp10): For small results, force underflow exception
18304         and remove excess range and precision from return value.
18305         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
18306         (MO): New macro.
18307         (__ieee754_exp10f): For small results, force underflow exception
18308         and remove excess range and precision from return value.
18309         * math/auto-libm-test-in: Add more tests of exp10.
18310         * math/auto-libm-test-out: Regenerated.
18312 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
18314         [BZ #18875]
18315         [BZ #18961]
18316         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
18317         (MO): New macro.
18318         (__ieee754_exp): For small results, force underflow exception and
18319         remove excess range and precision from return value.
18320         (__exp_finite): Likewise.
18321         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
18322         (MO): New macro.
18323         (__ieee754_expf): For small results, force underflow exception and
18324         remove excess range and precision from return value.
18325         (__expf_finite): Likewise.
18326         * math/auto-libm-test-in: Add more tests of exp.
18327         * math/auto-libm-test-out: Regenerated.
18329         [BZ #16521]
18330         [BZ #18875]
18331         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
18332         small results.
18333         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
18334         (MO): New macro.
18335         (__ieee754_exp2): For small results, force underflow exception and
18336         remove excess range and precision from return value.
18337         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
18338         (MO): New macro.
18339         (__ieee754_exp2f): For small results, force underflow exception
18340         and remove excess range and precision from return value.
18341         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
18342         (MO): New macro.
18343         (__ieee754_exp2l): Force underflow exception for small results.
18344         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
18345         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
18346         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
18347         (MO): New macro.
18348         (__ieee754_exp2l): Force underflow exception for small results.
18349         * math/auto-libm-test-in: Add more tests or exp2.
18350         * math/auto-libm-test-out: Regenerated.
18352 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
18354         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
18356         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
18357         /dev/null.
18359 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18361         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
18362         io fs process)): Drop spurious backslash.
18364 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
18366         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
18367         Use sysinfo system call instead of parsing /proc/meminfo.
18368         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
18369         Likewise.
18371 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
18373         [BZ #16985]
18374         * programs/localedef.c (main): Display argv[remaining] when
18375         output_path is NULL.
18377 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
18379         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18380         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
18381         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
18382         tanh.
18383         * math/auto-libm-test-out: Regenerated.
18384         * sysdeps/i386/fpu/libm-test-ulps: Update.
18385         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
18386         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18389 2015-09-11  Roland McGrath  <roland@hack.frob.com>
18391         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
18392         Use 'override' keyword to freeze the value here, preventing
18393         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
18395 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
18397         [BZ #14912]
18398         * sysdeps/aarch64/bits/atomic.h: Move to ...
18399         * sysdeps/aarch64/atomic-machine.h: ...here.
18400         (_AARCH64_BITS_ATOMIC_H): Rename macro to
18401         _AARCH64_ATOMIC_MACHINE_H.
18402         * sysdeps/alpha/bits/atomic.h: Move to ...
18403         * sysdeps/alpha/atomic-machine.h: ...here.
18404         * sysdeps/arm/bits/atomic.h: Move to ...
18405         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
18406         * bits/atomic.h: Move to ...
18407         * sysdeps/generic/atomic-machine.h: ...here.
18408         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18409         * sysdeps/i386/bits/atomic.h: Move to ...
18410         * sysdeps/i386/atomic-machine.h: ...here.
18411         * sysdeps/ia64/bits/atomic.h: Move to ...
18412         * sysdeps/ia64/atomic-machine.h: ...here.
18413         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
18414         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
18415         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18416         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
18417         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
18418         * sysdeps/microblaze/bits/atomic.h: Move to ...
18419         * sysdeps/microblaze/atomic-machine.h: ...here.
18420         * sysdeps/mips/bits/atomic.h: Move to ...
18421         * sysdeps/mips/atomic-machine.h: ...here.
18422         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
18423         * sysdeps/powerpc/bits/atomic.h: Move to ...
18424         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
18425         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
18426         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
18427         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
18428         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
18429         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
18430         <atomic-machine.h> instead of <bits/atomic.h>.
18431         * sysdeps/s390/bits/atomic.h: Move to ...
18432         * sysdeps/s390/atomic-machine.h: ...here.
18433         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
18434         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
18435         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18436         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
18437         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
18438         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
18439         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
18440         * sysdeps/tile/bits/atomic.h: Move to ...
18441         * sysdeps/tile/atomic-machine.h: ...here.
18442         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
18443         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
18444         <sysdeps/tile/atomic-machine.h> instead of
18445         <sysdeps/tile/bits/atomic.h>.
18446         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18447         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
18448         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
18449         <sysdeps/tile/atomic-machine.h> instead of
18450         <sysdeps/tile/bits/atomic.h>.
18451         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18452         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
18453         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
18454         <sysdeps/arm/atomic-machine.h> instead of
18455         <sysdeps/arm/bits/atomic.h>.
18456         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
18457         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
18458         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18459         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
18460         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
18461         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18462         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
18463         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
18464         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
18465         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
18466         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
18467         * sysdeps/x86_64/bits/atomic.h: Move to ...
18468         * sysdeps/x86_64/atomic-machine.h: ...here.
18469         * include/atomic.h: Include <atomic-machine.h> instead of
18470         <bits/atomic.h>.
18472         * sysdeps/mips/mips32/libm-test-ulps: Update.
18473         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18475         [BZ #18952]
18476         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
18477         not convert non-integer negative arguments to int to determine the
18478         value of signgam.
18479         * math/auto-libm-test-in: Add more tests of lgamma.
18480         * math/auto-libm-test-out: Regenerated.
18482         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
18483         cosh, csqrt, erfc, expm1 and lgamma.
18484         * math/auto-libm-test-out: Regenerated.
18485         * sysdeps/i386/fpu/libm-test-ulps: Update.
18486         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18488 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
18490         [BZ #2542]
18491         [BZ #2543]
18492         [BZ #2558]
18493         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
18494         __lgamma_neg for arguments from -28.0 to -2.0.
18495         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
18496         __lgamma_negf for arguments from -15.0 to -2.0.
18497         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18498         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
18499         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
18500         Call __lgamma_negl for arguments from -33.0 to -2.0.
18501         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
18502         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
18503         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
18504         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
18505         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
18506         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
18507         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
18508         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
18509         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
18510         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
18511         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
18512         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
18513         (__lgamma_neg): Likewise.
18514         (__lgamma_negl): Likewise.
18515         (__lgamma_product): Likewise.
18516         (__lgamma_productl): Likewise.
18517         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
18518         * math/auto-libm-test-in: Add more tests of lgamma.
18519         * math/auto-libm-test-out: Regenerated.
18520         * sysdeps/i386/fpu/libm-test-ulps: Update.
18521         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18523 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
18525         [BZ #18675]
18526         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
18528 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
18530         [BZ #14912]
18531         * bits/libc-lock.h: Move to ...
18532         * sysdeps/generic/libc-lock.h: ...here.
18533         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
18534         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
18535         * sysdeps/mach/hurd/libc-lock.h: ...here.
18536         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
18537         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
18538         * sysdeps/mach/bits/libc-lock.h: Move to ...
18539         * sysdeps/mach/libc-lock.h: ...here.
18540         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
18541         * sysdeps/nptl/bits/libc-lock.h: Move to ...
18542         * sysdeps/nptl/libc-lock.h: ...here.
18543         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
18544         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
18545         * sysdeps/nptl/libc-lockP.h: ...here.
18546         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
18547         * crypt/crypt_util.c: Include <libc-lock.h> instead of
18548         <bits/libc-lock.h>.
18549         * dirent/scandir-tail.c: Likewise.
18550         * dlfcn/dlerror.c: Likewise.
18551         * elf/dl-close.c: Likewise.
18552         * elf/dl-iteratephdr.c: Likewise.
18553         * elf/dl-lookup.c: Likewise.
18554         * elf/dl-open.c: Likewise.
18555         * elf/dl-support.c: Likewise.
18556         * elf/dl-writev.h: Likewise.
18557         * elf/rtld.c: Likewise.
18558         * grp/fgetgrent.c: Likewise.
18559         * gshadow/fgetsgent.c: Likewise.
18560         * gshadow/sgetsgent.c: Likewise.
18561         * iconv/gconv_conf.c: Likewise.
18562         * iconv/gconv_db.c: Likewise.
18563         * iconv/gconv_dl.c: Likewise.
18564         * iconv/gconv_int.h: Likewise.
18565         * iconv/gconv_trans.c: Likewise.
18566         * include/link.h: Likewise.
18567         * inet/getnameinfo.c: Likewise.
18568         * inet/getnetgrent.c: Likewise.
18569         * inet/getnetgrent_r.c: Likewise.
18570         * intl/bindtextdom.c: Likewise.
18571         * intl/dcigettext.c: Likewise.
18572         * intl/finddomain.c: Likewise.
18573         * intl/gettextP.h: Likewise.
18574         * intl/loadmsgcat.c: Likewise.
18575         * intl/localealias.c: Likewise.
18576         * intl/textdomain.c: Likewise.
18577         * libidn/idn-stub.c: Likewise.
18578         * libio/libioP.h: Likewise.
18579         * locale/duplocale.c: Likewise.
18580         * locale/freelocale.c: Likewise.
18581         * locale/newlocale.c: Likewise.
18582         * locale/setlocale.c: Likewise.
18583         * login/getutent_r.c: Likewise.
18584         * login/getutid_r.c: Likewise.
18585         * login/getutline_r.c: Likewise.
18586         * login/utmp-private.h: Likewise.
18587         * login/utmpname.c: Likewise.
18588         * malloc/mtrace.c: Likewise.
18589         * misc/efgcvt.c: Likewise.
18590         * misc/error.c: Likewise.
18591         * misc/fstab.c: Likewise.
18592         * misc/getpass.c: Likewise.
18593         * misc/mntent.c: Likewise.
18594         * misc/syslog.c: Likewise.
18595         * nis/nis_call.c: Likewise.
18596         * nis/nis_callback.c: Likewise.
18597         * nis/nss-default.c: Likewise.
18598         * nis/nss_compat/compat-grp.c: Likewise.
18599         * nis/nss_compat/compat-initgroups.c: Likewise.
18600         * nis/nss_compat/compat-pwd.c: Likewise.
18601         * nis/nss_compat/compat-spwd.c: Likewise.
18602         * nis/nss_nis/nis-alias.c: Likewise.
18603         * nis/nss_nis/nis-ethers.c: Likewise.
18604         * nis/nss_nis/nis-grp.c: Likewise.
18605         * nis/nss_nis/nis-hosts.c: Likewise.
18606         * nis/nss_nis/nis-network.c: Likewise.
18607         * nis/nss_nis/nis-proto.c: Likewise.
18608         * nis/nss_nis/nis-pwd.c: Likewise.
18609         * nis/nss_nis/nis-rpc.c: Likewise.
18610         * nis/nss_nis/nis-service.c: Likewise.
18611         * nis/nss_nis/nis-spwd.c: Likewise.
18612         * nis/nss_nisplus/nisplus-alias.c: Likewise.
18613         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
18614         * nis/nss_nisplus/nisplus-grp.c: Likewise.
18615         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
18616         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
18617         * nis/nss_nisplus/nisplus-network.c: Likewise.
18618         * nis/nss_nisplus/nisplus-proto.c: Likewise.
18619         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
18620         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
18621         * nis/nss_nisplus/nisplus-service.c: Likewise.
18622         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
18623         * nis/ypclnt.c: Likewise.
18624         * nptl/libc_pthread_init.c: Likewise.
18625         * nss/getXXbyYY.c: Likewise.
18626         * nss/getXXent.c: Likewise.
18627         * nss/getXXent_r.c: Likewise.
18628         * nss/nss_db/db-XXX.c: Likewise.
18629         * nss/nss_db/db-netgrp.c: Likewise.
18630         * nss/nss_db/nss_db.h: Likewise.
18631         * nss/nss_files/files-XXX.c: Likewise.
18632         * nss/nss_files/files-alias.c: Likewise.
18633         * nss/nsswitch.c: Likewise.
18634         * posix/regex_internal.h: Likewise.
18635         * posix/wordexp.c: Likewise.
18636         * pwd/fgetpwent.c: Likewise.
18637         * resolv/res_hconf.c: Likewise.
18638         * resolv/res_libc.c: Likewise.
18639         * shadow/fgetspent.c: Likewise.
18640         * shadow/lckpwdf.c: Likewise.
18641         * shadow/sgetspent.c: Likewise.
18642         * socket/opensock.c: Likewise.
18643         * stdio-common/reg-modifier.c: Likewise.
18644         * stdio-common/reg-printf.c: Likewise.
18645         * stdio-common/reg-type.c: Likewise.
18646         * stdio-common/vfprintf.c: Likewise.
18647         * stdio-common/vfscanf.c: Likewise.
18648         * stdlib/abort.c: Likewise.
18649         * stdlib/cxa_atexit.c: Likewise.
18650         * stdlib/fmtmsg.c: Likewise.
18651         * stdlib/random.c: Likewise.
18652         * stdlib/setenv.c: Likewise.
18653         * string/strsignal.c: Likewise.
18654         * sunrpc/auth_none.c: Likewise.
18655         * sunrpc/bindrsvprt.c: Likewise.
18656         * sunrpc/create_xid.c: Likewise.
18657         * sunrpc/key_call.c: Likewise.
18658         * sunrpc/rpc_thread.c: Likewise.
18659         * sysdeps/arm/backtrace.c: Likewise.
18660         * sysdeps/generic/ldsodefs.h: Likewise.
18661         * sysdeps/generic/stdio-lock.h: Likewise.
18662         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
18663         * sysdeps/i386/backtrace.c: Likewise.
18664         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
18665         * sysdeps/m68k/backtrace.c: Likewise.
18666         * sysdeps/mach/hurd/cthreads.c: Likewise.
18667         * sysdeps/mach/hurd/dirstream.h: Likewise.
18668         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
18669         * sysdeps/nptl/malloc-machine.h: Likewise.
18670         * sysdeps/nptl/stdio-lock.h: Likewise.
18671         * sysdeps/posix/dirstream.h: Likewise.
18672         * sysdeps/posix/getaddrinfo.c: Likewise.
18673         * sysdeps/posix/system.c: Likewise.
18674         * sysdeps/pthread/aio_suspend.c: Likewise.
18675         * sysdeps/s390/s390-32/backtrace.c: Likewise.
18676         * sysdeps/s390/s390-64/backtrace.c: Likewise.
18677         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18678         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
18679         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
18680         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
18681         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
18682         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
18683         * sysdeps/unix/sysv/linux/system.c: Likewise.
18684         * sysdeps/x86_64/backtrace.c: Likewise.
18685         * time/alt_digit.c: Likewise.
18686         * time/era.c: Likewise.
18687         * time/tzset.c: Likewise.
18688         * wcsmbs/wcsmbsload.c: Likewise.
18689         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
18690         instead of <bits/libc-lock.h> in comment.
18692 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
18694         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
18695         Only use .set mips2 if the current ISA is below mips2.
18696         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
18697         Likewise.
18698         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
18699         mips32r2 if the current ISA is below mips32r2.
18700         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
18701         (TLS_IE): Updated to use the TLD_RDHWR macro.
18702         (TLS_LE): Likewise.
18703         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
18704         __ASSEMBLER__ condition.
18706 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18708         Fix parallel build of before-compile targets.
18710         * sysdeps/mach/Makefile ($(patsubst
18711         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
18712         mach-before-compile target.
18713         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
18714         io fs process)): Move rule to dedicated hurd-before-compile target.
18716 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18718         Fix rules generating headers in hurd/ and mach/ when initial make call
18719         has subdir= explicitly set.
18721         * sysdeps/mach/Makefile ($(patsubst
18722         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
18723         calling $(MAKE).
18724         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
18725         io fs process)): Force subdir to hurd when calling $(MAKE).
18726         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
18727         subdir to mach when calling $(MAKE).
18729 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
18731         Check sysheaders when looking for Mach and Hurd headers
18733         * sysdeps/mach/configure.ac: Add sysheaders check.
18734         * sysdeps/mach/configure: Regenerate.
18735         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
18736         * sysdeps/mach/hurd/configure: Regenerate.
18738 2015-09-04  Roland McGrath  <roland@hack.frob.com>
18740         [BZ #18921]
18741         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
18742         Fix inverted sense of test of 'o_directory_works' value.
18743         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
18744         Bernhard Voelker <mail@bernhard-voelker.de>.
18746 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
18748         [BZ #14912]
18749         * bits/linkmap.h: Move to ...
18750         * sysdeps/generic/linkmap.h: ...here.
18751         * sysdeps/aarch64/bits/linkmap.h: Move to ...
18752         * sysdeps/aarch64/linkmap.h: ...here.
18753         * sysdeps/arm/bits/linkmap.h: Move to ...
18754         * sysdeps/arm/linkmap.h: ...here.
18755         * sysdeps/hppa/bits/linkmap.h: Move to ...
18756         * sysdeps/hppa/linkmap.h: ...here.
18757         * sysdeps/ia64/bits/linkmap.h: Move to ...
18758         * sysdeps/ia64/linkmap.h: ...here.
18759         * sysdeps/mips/bits/linkmap.h: Move to ...
18760         * sysdeps/mips/linkmap.h: ...here.
18761         * sysdeps/s390/bits/linkmap.h: Move to ...
18762         * sysdeps/s390/linkmap.h: ...here.
18763         * sysdeps/sh/bits/linkmap.h: Move to ...
18764         * sysdeps/sh/linkmap.h: ...here.
18765         * sysdeps/x86/bits/linkmap.h: Move to ...
18766         * sysdeps/x86/linkmap.h: ...here.
18767         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
18769 2015-09-04  Andreas Schwab  <schwab@suse.de>
18771         [BZ #18635]
18772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
18773         (__makecontext): Terminate FDE before return label.
18774         (__novec_makecontext): Likewise.
18776 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18778         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
18779         first member of struct sv in syscall macro.
18781 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
18783         [BZ #14912]
18784         * bits/stdio-lock.h: Move to ...
18785         * sysdeps/generic/stdio-lock.h: ...here.
18786         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
18787         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
18788         * sysdeps/nptl/stdio-lock.h: ...here.
18789         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
18790         * include/libio.h: Include <stdio-lock.h> instead of
18791         <bits/stdio-lock.h>.
18792         * sysdeps/nptl/fork.c: Likewise.
18793         * sysdeps/pthread/flockfile.c: Likewise.
18794         * sysdeps/pthread/ftrylockfile.c: Likewise.
18795         * sysdeps/pthread/funlockfile.c: Likewise.
18797         [BZ #14912]
18798         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
18799         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
18800         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
18801         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
18802         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
18803         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
18804         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
18806 2015-09-03  Roland McGrath  <roland@hack.frob.com>
18808         * elf/Makefile (test-xfail-tst-protected1a): New variable.
18809         (test-xfail-tst-protected1b): New variable.
18811 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
18813         [BZ #14912]
18814         * bits/libc-tsd.h: Move to ...
18815         * sysdeps/generic/libc-tsd.h: ...here.
18816         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
18817         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
18818         * sysdeps/mach/hurd/libc-tsd.h: ...here.
18819         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
18820         * include/ctype.h: Include <libc-tsd.h> instead of
18821         <bits/libc-tsd.h>.
18822         * include/rpc/rpc.h: Likewise.
18823         * locale/localeinfo.h: Likewise.
18824         * sunrpc/rpc_thread.c: Likewise.
18825         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
18826         * sysdeps/nptl/malloc-machine.h: Likewise.
18828         * Makefile (headers): Remove bits/libc-lock.h.
18829         * libio/Makefile (headers): Remove bits/stdio-lock.h.
18831         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
18832         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
18833         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
18834         <bits/stdio-lock.h>.
18835         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
18836         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
18838 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
18840         [BZ #18757]
18841         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
18842         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
18843         BZ #18757.
18845 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
18847         * malloc/mtrace.pl: Filter out NULL entries.
18849 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
18851         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
18852         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
18853         macro.
18855         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
18856         (TCP_CC_INFO): Likewise.
18857         (TCP_SAVE_SYN): Likewise.
18858         (TCP_SAVED_SYN): Likewise.
18860 2015-08-31  Brett Neumeier <brett@neumeier.us>
18862         [BZ #18870]
18863         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
18865 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
18867         [BZ #18873]
18868         Fix broken overflow check in posix_fallocate
18869         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
18870         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
18871         Fix parenthesization typo.
18873 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
18875         [BZ #18887]
18876         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
18877         tst-mntent-blank-passno.
18878         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
18879         * misc/tst-mntent-blank-corrupt.c: New test.
18880         * misc/tst-mntent-blank-passno.c: New test ripped from ...
18881         * misc/tst-mntent.c (do_test): ... here.
18883 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
18885         [BZ #4404]
18886         * po/de.po: Fix SIGALRM typo.
18888 2015-08-28  James Perkins  <james@loowit.net>
18890         * time/tst-strptime2.c (tests): Replace short list of test
18891         strings for strptime %z specifier with code which exhaustively
18892         tests every combination of sign and 0 to 5 digits. Tests for
18893         rejection of invalid strings.
18895 2015-08-28  James Perkins  <james@loowit.net>
18897         [BZ #16141]
18898         * time/strptime_l.c (__strptime_internal): Fix %z minutes
18899         calculation, removing incorrect decimal time rounding, so that
18900         all minute values result in a valid seconds value.
18901         * time/strptime_l.c (__strptime_internal): Extend %z time zone
18902         offset range limits to UTC-99:59 through UTC+99:59 to parse
18903         current and historical use cases.
18904         * time/tst-strptime2.c (tests): Modify and add tests for the
18905         strptime %z input field descriptor, specifically conversion of
18906         minutes to seconds and validating an offset range of -9959 to
18907         +9959.
18909 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18910             Dmitry V. Levin  <ldv@altlinux.org>
18912         [BZ #18877]
18913         * posix/Makefile (tests): Add tst-mmap-offset.
18914         * posix/tst-mmap.c: New file.
18915         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
18916         offset calculation for negative values.
18918 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18920         * sysdeps/i386/init-arch.h: New file.
18921         * sysdeps/i386/i586/init-arch.h: Likewise.
18922         * sysdeps/i386/i686/init-arch.h: Likewise.
18923         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
18924         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
18925         * sysdeps/x86/cpu-features.h (bit_I586): New.
18926         (bit_I686): Likewise.
18927         (bit_CX8): Likewise.
18928         (bit_CMOV): Likewise.
18929         (index_CX8): Likewise.
18930         (index_CMOV): Likewise.
18931         (index_I586): Likewise.
18932         (index_I686): Likewise.
18933         (reg_CX8): Likewise.
18934         (reg_CMOV): Likewise.
18935         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
18936         available at compile-time.
18937         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
18938         available at compile-time.
18939         * sysdeps/x86/init-arch.h (USE_I586): New macro.
18940         (USE_I686): Likewise.
18942 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18944         * sysdeps/i386/bcopy.S: New file.
18945         * sysdeps/i386/bzero.S: Likewise.
18946         * sysdeps/i386/memcpy.S: Likewise.
18947         * sysdeps/i386/memmove.S: Likewise.
18948         * sysdeps/i386/mempcpy.S: Likewise.
18949         * sysdeps/i386/memset.S: Likewise.
18950         * sysdeps/i386/bzero.c: Removed.
18951         * sysdeps/i386/memset.c: Likewise.
18952         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
18953         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
18954         * sysdeps/i386/i586/memset_chk.S: Likewise.
18955         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
18956         * sysdeps/i386/memcpy_chk.S: Here.
18957         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
18958         * sysdeps/i386/memmove_chk.S: Here.
18959         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
18960         * sysdeps/i386/mempcpy_chk.S: Likewise.
18961         * sysdeps/i386/i686/memset_chk.S: Moved to ...
18962         * sysdeps/i386/memset_chk.S: Likewise.
18964 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
18966         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
18967         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
18968         file, move DIAG_POP_NEEDS_COMMENT to end of file.
18969         * soft-fp/fmadf4.c: Ditto.
18970         * soft-fp/fmatf4.c: Ditto.
18972 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18974         * sysdeps/i386/i586/Implies: Removed.
18975         * sysdeps/i386/i686/Implies: Likewise.
18977 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18979         * sysdeps/i386/i486/strlen.S: Moved to ...
18980         * sysdeps/i386/strlen.S: Here.
18982 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18984         * sysdeps/i386/i486/strcat.S: Moved to ...
18985         * sysdeps/i386/strcat.S: Here.
18987 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18989         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
18990         * sysdeps/i386/pthread_spin_trylock.S: Here.
18991         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
18992         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
18994 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18996         * sysdeps/i386/i486/string-inlines.c: Moved to ...
18997         * sysdeps/i386/string-inlines.c: Here.
18999 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19001         * sysdeps/i386/i486/htonl.S: Moved ...
19002         * sysdeps/i386/htonl.S: here.
19004 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19006         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
19007         * sysdeps/i386/bits/atomic.h: Here.
19009 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
19011         * sysdeps/i386/i486/Versions: Removed.
19013 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
19015         [BZ #2898]
19016         * misc/mktemp.c: Add mkdtemp to the link_warning message.
19017         Based on patch by Aurelien Jarno.
19019 2015-08-26  Stan Shebs  <stanshebs@google.com>
19021         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
19022         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
19024 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19026         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
19027         * sysdeps/powerpc/dl-procinfo.c:
19028         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
19029         feature so it shows when LD_SHOW_AUXV=1.
19031 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19033         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
19034         (__arch_compare_and_exchange_val_32_acq): Remove and use common
19035         definition.  ISA 2.07B no longer requires full sync.
19037 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
19039         [BZ #18863]
19040         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
19041         (si_call_addr): Define.
19042         (si_syscall): Define.
19043         (si_arch): Define.
19045 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
19047         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
19048         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
19049         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
19050         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
19051         (__memset_zero_constant_len_parameter): New.
19052         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
19053         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
19054         (__memset_zero_constant_len_parameter): Don't define if
19055         __memset_chk or USE_AS_BZERO are defined.
19057         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
19058         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
19059         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
19061         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
19062         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
19063         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
19064         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
19065         comments.
19066         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
19067         -mno-mmx for $(all-rtld-routines).
19068         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
19069         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
19070         i386.
19072 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
19074         * sysdeps/generic/unwind.h
19075         (_Unwind_Word): Use __mode__(__unwind_word__)
19076         instead of __mode__(__word__).
19077         (_Unwind_Sword): Likewise.
19079         * sysdeps/s390/s390-64/utf8-utf16-z9.c
19080         (MAX_NEEDED_INPUT): New define.
19081         (MAX_NEEDED_OUTPUT): New define.
19083         * NEWS: New item for IBM z13 string optimizations.
19085         * sysdeps/s390/multiarch/memrchr-c.c: New File.
19086         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
19087         * sysdeps/s390/multiarch/memrchr.c: Likewise.
19088         * sysdeps/s390/multiarch/Makefile
19089         (sysdep_routines): Add memrchr functions.
19090         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
19091         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
19093         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
19094         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
19095         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
19096         * sysdeps/s390/multiarch/Makefile
19097         (sysdep_routines): Add wmemcmp functions.
19098         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
19099         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
19100         * benchtests/bench-wmemcmp.c: New File.
19101         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
19103         * sysdeps/s390/multiarch/wmemset-c.c: New File.
19104         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
19105         * sysdeps/s390/multiarch/wmemset.c: Likewise.
19106         * sysdeps/s390/multiarch/Makefile
19107         (sysdep_routines): Add wmemset functions.
19108         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
19109         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
19110         * wcsmbs/wmemset.c: Use WMEMSET if defined.
19111         * string/test-memset.c: Add wmemset support.
19112         * wcsmbs/test-wmemset.c: New File.
19113         * wcsmbs/Makefile (strop-tests): Add wmemset.
19114         * benchtests/bench-memset.c: Add wmemset support.
19115         * benchtests/bench-wmemset.c: New File.
19116         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
19118         * sysdeps/s390/multiarch/memccpy-c.c: New File.
19119         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
19120         * sysdeps/s390/multiarch/memccpy.c: Likewise.
19121         * sysdeps/s390/multiarch/Makefile
19122         (sysdep_routines): Add memccpy functions.
19123         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
19124         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
19125         * string/memccpy.c: Use MEMCCPY if defined.
19127         * sysdeps/s390/multiarch/memchr-vx.S: New File.
19128         * sysdeps/s390/multiarch/memchr.c: Likewise.
19129         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
19130         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
19131         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
19132         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
19133         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
19134         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
19135         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
19136         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
19137         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
19138         and rawmemchr functions.
19139         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
19140         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
19141         and wmemchr.
19142         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
19143         * string/test-memchr.c: Add wmemchr support.
19144         * wcsmbs/test-wmemchr.c: New File.
19145         * wcsmbs/Makefile (strop-tests): Add wmemchr.
19146         * benchtests/bench-memchr.c: Add wmemchr support.
19147         * benchtests/bench-wmemchr.c: New File.
19148         * benchtests/Makefile (wcsmbs-bench): wmemchr.
19150         * sysdeps/s390/multiarch/strcspn-c.c: New File.
19151         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
19152         * sysdeps/s390/multiarch/strcspn.c: Likewise.
19153         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
19154         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
19155         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
19156         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
19157         wcscspn functions.
19158         * sysdeps/s390/multiarch/ifunc-impl-list.c
19159         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
19160         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
19161         * string/test-strcspn.c: Add wcscspn support.
19162         * wcsmbs/test-wcscspn.c: New File.
19163         * wcsmbs/Makefile (strop-tests): Add wcscspn.
19164         * benchtests/bench-strcspn.c: Add wcscspn support.
19165         * benchtests/bench-wcscspn.c: New File.
19166         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
19168         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
19169         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
19170         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
19171         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
19172         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
19173         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
19174         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
19175         wcspbrk functions.
19176         * sysdeps/s390/multiarch/ifunc-impl-list.c
19177         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
19178         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
19179         * string/test-strpbrk.c: Add wcspbrk support.
19180         * wcsmbs/test-wcspbrk.c: New File.
19181         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
19182         * benchtests/bench-strpbrk.c: Add wcspbrk support.
19183         * benchtests/bench-wcspbrk.c: New File.
19184         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
19186         * sysdeps/s390/multiarch/strspn-c.c: New File.
19187         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
19188         * sysdeps/s390/multiarch/strspn.c: Likewise.
19189         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
19190         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
19191         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
19192         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
19193         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
19194         wcsspn functions.
19195         * sysdeps/s390/multiarch/ifunc-impl-list.c
19196         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
19197         * string/test-strspn.c: Add wcsspn support.
19198         * wcsmbs/test-wcsspn.c: New File.
19199         * wcsmbs/Makefile (strop-tests): Add wcsspn.
19200         * benchtests/bench-strspn.c: Add wcsspn support.
19201         * benchtests/bench-wcsspn.c: New File.
19202         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
19204         * sysdeps/s390/multiarch/strrchr-c.c: New File.
19205         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
19206         * sysdeps/s390/multiarch/strrchr.c: Likewise.
19207         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
19208         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
19209         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
19210         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
19211         wcsrchr functions.
19212         * sysdeps/s390/multiarch/ifunc-impl-list.c
19213         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
19214         * benchtests/bench-wcsrchr.c: New File.
19215         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
19217         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
19218         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
19219         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
19220         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
19221         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
19222         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
19223         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
19224         wcschrnul functions.
19225         * sysdeps/s390/multiarch/ifunc-impl-list.c
19226         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
19227         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
19228         * string/test-strchr.c: Add wcschrnul support.
19229         * wcsmbs/test-wcschrnul.c: New File.
19230         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
19231         * benchtests/bench-strchr.c: Add wcschrnul support.
19232         * benchtests/bench-wcschrnul.c: New File.
19233         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
19235         * sysdeps/s390/multiarch/strchr-c.c: New File.
19236         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
19237         * sysdeps/s390/multiarch/strchr.c: Likewise.
19238         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
19239         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
19240         * sysdeps/s390/multiarch/wcschr.c: Likewise.
19241         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
19242         wcschr functions.
19243         * sysdeps/s390/multiarch/ifunc-impl-list.c
19244         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
19245         * string/strchr.c (STRCHR): Define and use macro.
19246         * benchtests/bench-wcschr.c: New File.
19247         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
19249         * sysdeps/s390/multiarch/strncmp-c.c: New File.
19250         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
19251         * sysdeps/s390/multiarch/strncmp.c: Likewise.
19252         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
19253         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
19254         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
19255         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
19256         wcsncmp functions.
19257         * sysdeps/s390/multiarch/ifunc-impl-list.c
19258         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
19259         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
19260         * benchtests/bench-strncmp.c: Add wcsncmp support.
19261         * benchtests/bench-wcsncmp.c: New File.
19262         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
19264         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
19265         * sysdeps/s390/multiarch/strcmp.c: Likewise.
19266         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
19267         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
19268         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
19269         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
19270         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
19271         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
19272         wcscmp functions.
19273         * sysdeps/s390/multiarch/ifunc-impl-list.c
19274         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
19275         * string/strcmp.c (STRCMP): Define and use macro.
19276         * benchtests/bench-wcscmp.c: New File.
19277         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
19278         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
19279         instead of _HAVE_STRING_ARCH_memchr.
19281         * sysdeps/s390/multiarch/strncat-c.c: New File.
19282         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
19283         * sysdeps/s390/multiarch/strncat.c: Likewise.
19284         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
19285         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
19286         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
19287         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
19288         wcsncat functions.
19289         * sysdeps/s390/multiarch/ifunc-impl-list.c
19290         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
19291         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
19292         * string/test-strncat.c: Add wcsncat support.
19293         * wcsmbs/test-wcsncat.c: New File.
19294         * wcsmbs/Makefile (strop-tests): Add wcsncat.
19295         * benchtests/bench-strncat.c: Add wcsncat support.
19296         * benchtests/bench-wcsncat.c: New File.
19297         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
19299         * sysdeps/s390/multiarch/strcat-c.c: New File.
19300         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
19301         * sysdeps/s390/multiarch/strcat.c: Likewise.
19302         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
19303         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
19304         * sysdeps/s390/multiarch/wcscat.c: Likewise.
19305         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
19306         wcscat functions.
19307         * sysdeps/s390/multiarch/ifunc-impl-list.c
19308         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
19309         * string/strcat.c (STRCAT): Define and use macro.
19310         * wcsmbs/wcscat.c: Use WCSCAT if defined.
19311         * string/test-strcat.c: Add wcscat support.
19312         * wcsmbs/test-wcscat.c: New File.
19313         * wcsmbs/Makefile (strop-tests): Add wcscat.
19314         * benchtests/bench-strcat.c: Add wcscat support.
19315         * benchtests/bench-wcscat.c: New File.
19316         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
19318         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
19319         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
19320         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
19321         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
19322         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
19323         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
19324         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
19325         wcpncpy functions.
19326         * sysdeps/s390/multiarch/ifunc-impl-list.c
19327         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
19328         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
19329         * string/test-stpncpy.c: Add wcpncpy support.
19330         * wcsmbs/test-wcpncpy.c: New File.
19331         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
19332         * benchtests/bench-stpncpy.c: Add wcpncpy support.
19333         * benchtests/bench-wcpncpy.c: New File.
19334         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
19336         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
19337         * sysdeps/s390/multiarch/strncpy.c: Likewise.
19338         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
19339         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
19340         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
19341         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
19342         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
19343         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
19344         wcsncpy functions.
19345         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
19346         * sysdeps/s390/multiarch/ifunc-impl-list.c
19347         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
19348         * string/test-strncpy.c: Add wcsncpy support.
19349         * wcsmbs/test-wcsncpy.c: New File.
19350         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
19351         * benchtests/bench-strncpy.c: Add wcsncpy support.
19352         * benchtests/bench-wcsncpy.c: New File.
19353         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
19355         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
19356         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
19357         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
19358         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
19359         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
19360         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
19361         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
19362         wcpcpy functions.
19363         * string/stpcpy.c: Use STPCPY if defined.
19364         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
19365         * sysdeps/s390/multiarch/ifunc-impl-list.c
19366         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
19367         * string/test-stpcpy.c: Add wcpcpy support.
19368         * wcsmbs/test-wcpcpy.c: New File.
19369         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
19370         * benchtests/bench-stpcpy.c: Add wcpcpy support.
19371         * benchtests/bench-wcpcpy.c: New File.
19372         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
19374         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
19375         * sysdeps/s390/multiarch/strcpy.c: Likewise.
19376         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
19377         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
19378         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
19379         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
19380         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
19381         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
19382         wcscpy functions.
19383         * sysdeps/s390/multiarch/ifunc-impl-list.c
19384         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
19385         * benchtests/bench-wcscpy.c: New File.
19386         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
19388         * sysdeps/s390/multiarch/strnlen-c.c: New File.
19389         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
19390         * sysdeps/s390/multiarch/strnlen.c: Likewise.
19391         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
19392         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
19393         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
19394         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
19395         wcsnlen functions.
19396         * sysdeps/s390/multiarch/ifunc-impl-list.c
19397         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
19398         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
19399         * string/test-strnlen.c: Add wcsnlen support.
19400         * wcsmbs/test-wcsnlen.c: New File.
19401         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
19402         * benchtests/bench-strnlen.c: Add wcsnlen support.
19403         * benchtests/bench-wcsnlen.c: New File.
19404         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
19406         * sysdeps/s390/multiarch/Makefile: New File.
19407         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
19408         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
19409         * sysdeps/s390/multiarch/strlen.c: Likewise.
19410         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
19411         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
19412         * sysdeps/s390/multiarch/wcslen.c: Likewise.
19413         * string/strlen.c (STRLEN): Define and use macro.
19414         * sysdeps/s390/multiarch/ifunc-impl-list.c
19415         (IFUNC_VX_IMPL): New macro function.
19416         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
19417         * benchtests/Makefile (wcsmbs-bench): New variable.
19418         (string-bench-all): Added wcsmbs-bench.
19419         * benchtests/bench-wcslen.c: New File.
19421         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
19422         s390_vx_libc_ifunc2): New macro function.
19424         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
19425         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
19426         assembler support.
19427         * sysdeps/s390/configure: Regenerated.
19429         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
19430         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
19432         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
19433         * sysdeps/s390/dl-procinfo.h: Add vector capability.
19434         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
19436         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
19437         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
19438         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
19439         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
19440         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
19441         (memcmp, bcmp): Use __memcmp_default as alias source.
19442         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
19443         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
19444         Rename to __memcmp_default.
19445         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
19446         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
19447         (memcpy): Use __memcpy_default as alias source.
19448         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
19449         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
19450         Rename to __memcpy_default.
19451         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
19452         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
19453         (memset): Use __memset_default as alias source.
19454         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
19455         * sysdeps/s390/s390-32/memset.S (__memset_g5):
19456         Rename to __memset_default.
19457         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
19458         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
19459         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
19460         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
19461         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
19462         (memcmp, bcmp): Use __memcmp_default as alias source.
19463         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
19464         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
19465         Rename to __memcmp_default.
19466         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
19467         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
19468         (memcpy): Use __memcpy_default as alias source.
19469         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
19470         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
19471         Rename to __memcpy_default.
19472         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
19473         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
19474         (memset): Use __memset_default as alias source.
19475         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
19476         * sysdeps/s390/s390-64/memset.S (__memset_z900):
19477         Rename to __memset_default.
19478         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
19479         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
19481         [BZ #18610]
19482         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
19483         __ieee_instruction_pointer to __unused.
19484         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
19485         __ieee_instruction_pointer.
19486         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
19487         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
19488         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
19489         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
19490         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
19491         Mark dxc-field as reserved.
19493 2015-08-25  Roland McGrath  <roland@hack.frob.com>
19495         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
19496         if the weak reference is not null.
19498 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
19500         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
19502         [BZ #11214]
19503         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
19505 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19507         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
19508         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
19509         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
19510         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
19511         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
19512         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
19513         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
19514         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
19515         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
19516         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
19517         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
19518         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
19519         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
19520         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
19521         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
19522         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
19523         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
19524         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
19526 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19528         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
19529         register other than r0 for tabort, it has special meaning.
19530         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
19531         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
19532         transaction before starting syscall.
19534 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19536         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
19538 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
19540         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
19542         * sysdeps/x86_64/rtld-memcmp.c: Removed.
19543         * sysdeps/x86_64/rtld-memset.S: Likewise.
19544         * sysdeps/x86_64/rtld-strchr.S: Likewise.
19545         * sysdeps/x86_64/rtld-strlen.S: Likewise.
19546         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
19547         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
19549         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
19551 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
19553         * debug/strcpy_chk.c: Improve performance.
19554         * debug/stpcpy_chk.c: Likewise.
19555         * sysdeps/x86_64/strcpy_chk.S: Remove.
19556         * sysdeps/x86_64/stpcpy_chk.S: Remove.
19558         [BZ #18240]
19559         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
19561 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
19563         [BZ #15128]
19564         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
19565         ifuncmain8.
19566         (modules-names): Add ifuncmod8.
19567         ($(objpfx)ifuncmain8): New rule.
19568         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
19569         <cpuid.h>.
19570         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
19571         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
19572         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
19573         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
19574         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
19575         * sysdeps/x86_64/dl-trampoline.h: Likewise.
19576         * sysdeps/x86_64/ifuncmain8.c: New file.
19577         * sysdeps/x86_64/ifuncmod8.c: Likewise.
19578         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
19579         Removed.
19580         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
19581         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
19582         Change rtld_savespace_sse to __glibc_unused2.
19583         (RTLD_CHECK_FOREIGN_CALL): Removed.
19584         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
19585         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
19586         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
19588 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
19590         * sysdeps/aarch64/bzero.S (__bzero): Remove.
19592 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
19594         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
19595         Unconditionally set __fpcr to avoid uninialized warning.
19596         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
19598 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19600         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
19601         is corrupt.
19603         * malloc/arena.c (arena_get2): Drop unused argument.
19604         (arena_lock): Adjust.
19605         (arena_get_retry): Likewise.
19607 2015-08-24  Andreas Schwab  <schwab@suse.de>
19609         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
19610         Don't define.
19611         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
19612         (__ASSUME_IPC64): Don't undef.
19613         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
19614         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19615         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19616         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
19617         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
19618         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
19619         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
19620         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
19621         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
19622         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
19623         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
19624         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
19625         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
19626         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
19627         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
19628         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
19629         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
19630         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
19631         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
19632         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
19633         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
19635 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
19637         * manual/Makefile (install): Only build manual when perl is available.
19639 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19641         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
19642         '#undef memcpy' by '#undef memchr'.
19644 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19646         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
19647         memchr not point to the internal __GI_memchr implementation.
19649 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
19651         * timezone/Makefile (CFLAGS-zdump.c): Remove
19652         -Wno-strict-prototypes.
19653         (CFLAGS-zic.c): Likewise.
19654         (CFLAGS-ialloc.c): Likewise.
19655         (CFLAGS-scheck.c): Likewise.
19657         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
19658         -Wno-error=undef.
19660 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
19662         * i386/i686/multiarch/strcasestr-c.c: Removed.
19663         * x86_64/multiarch/strcasestr.c: Likewise.
19664         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19665         Remove strcasestr.
19667 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
19669         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
19671         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
19672         variables for high and low parts before possibly modifying them.
19674 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
19676         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
19677         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
19678         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
19679         of "multiarch/init-arch.h".
19680         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
19681         * sysdeps/x86/init-arch.h: This.
19683 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
19685         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
19686         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
19688 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
19690         [BZ #17787]
19691         * manual/macros.texi: Add twoexp macro.
19692         * manual/filesys.texi: Fix exponents.
19693         * manual/llio.texi: Likewise.
19694         * manual/stdio.texi: Likewise.
19696 2015-08-20  Florian Weimer  <fweimer@redhat.com>
19698         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
19699         incorrect use.
19701 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
19703         [BZ #18370]
19704         * math/s_csqrt.c (__csqrt): Force underflow exception for results
19705         whose real or imaginary part has small absolute value.
19706         * math/s_csqrtf.c (__csqrtf): Likewise.
19707         * math/s_csqrtl.c (__csqrtl): Likewise.
19708         * math/auto-libm-test-in: Add more tests of csqrt.
19709         * math/auto-libm-test-out: Regenerated.
19710         * sysdeps/i386/fpu/libm-test-ulps: Update.
19712 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
19714         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
19715         __ppc_set_ppr_very_low): New functions.
19716         * manual/platform.texi: Add documentation about
19717         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
19719 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
19721         * string/stpncpy.c (stpncpy): Improve performance using
19722         __strnlen/memcpy/memset.
19724 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
19726         [BZ #18796]
19727         * scripts/test-installation.pl: Don't add -lmvec to build options if
19728         libmvec wasn't built.
19730 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
19732         [BZ #14341]
19733         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
19734         case when there is a gap between DT_REL and DT_JMPREL sections.
19735         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
19736         (LDFLAGS-tst-split-dynreloc): New.
19737         (tst-split-dynreloc-ENV): Likewise.
19738         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
19739         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
19741 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
19743         [BZ #18822]
19744         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
19745         attribute_hidden.
19746         (__xstat64_conv): Likewise.
19747         (__xstat32_conv): Likewise.
19749 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
19751         [BZ #18822]
19752         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
19753         Don't load %ebx when calling __setcontext.  Call __setcontext
19754         with HIDDEN_JUMPTARGET.
19755         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
19756         libc_hidden_def.
19758 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
19760         * sysdeps/i386/i686/Makefile
19761         [$(subdir) == string] (sysdep_routines): Moved to ...
19762         * sysdeps/i386/Makefile: Here.
19763         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
19764         * sysdeps/i386/cacheinfo.c: Here.
19765         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
19766         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
19767         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
19768         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
19770 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
19772         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
19773         __i586__ is defined.
19774         (HAS_I686): Defined to 1 if __i686__ is defined.
19776 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
19778         * elf/Makefile [$(have-z-execstack) = yes]
19779         (CPPFLAGS-tst-execstack.c): New variable.
19781         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
19782         conditional to [defined UTMPX || _HAVE_UT_TYPE].
19783         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
19784         UTMPX || _HAVE_UT_TV].
19785         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
19786         UTMPX || _HAVE_UT_TV - 0].
19788 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
19790         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
19791         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
19792         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
19794 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19796         * sysdeps/powerpc/dl-procinfo.c:
19797         (_dl_powerpc_cap_flags): Added missing strings for some
19798         hwcap features.
19799         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
19801 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
19803         Port the 0x7efe...feff pattern to GCC 6.
19804         See Steve Ellcey's bug report in:
19805         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
19806         * string/memrchr.c (MEMRCHR):
19807         * string/rawmemchr.c (RAWMEMCHR):
19808         * string/strchr.c (strchr):
19809         * string/strchrnul.c (STRCHRNUL):
19810         Rewrite code to avoid issues with signed shift overflow.
19812 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
19814         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
19815         whether cpuid is available only if HAS_CPUID is 0.
19816         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
19817         (HAS_I586): Likewise.
19818         (HAS_I686): Likewise.
19820 2015-08-18  Zack Weinberg  <zackw@panix.com>
19822         * misc/Versions (libc): Add GLIBC_2.23.
19824 2015-08-18  Alan Modra  <amodra@gmail.com>
19826         [BZ #18421]
19827         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
19828         .Lp__global.
19829         (_start): Load %dp via .Lp__global.
19830         [!SHARED]: Use .section .rodata.
19832 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19834         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
19835         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
19837 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19839         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
19840         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
19842 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19844         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
19845         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
19847 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19849         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
19850         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
19852 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19854         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
19855         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
19857 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19859         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
19860         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
19862 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19864         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
19866 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19868         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
19869         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
19870         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19871         (__ASSUME_LWS_CAS): Delete.
19873 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19875         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
19876         * sysdeps/hppa/configure: Regenerated.
19877         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
19878         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
19879         * sysdeps/hppa/nptl/tls.h: Likewise.
19881 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
19883         [BZ #18823]
19884         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
19885         for scaling up small arguments.
19886         * math/s_csqrtf.c (__csqrtf): Likewise.
19887         * math/s_csqrtl.c (__csqrtl): Likewise.
19888         * math/auto-libm-test-in: Add more tests of csqrt.
19889         * math/auto-libm-test-out: Regenerated.
19891 2015-08-17  Andreas Schwab  <schwab@suse.de>
19893         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
19894         version set GLIBC_2.19.
19896 2015-08-16  Zack Weinberg  <zackw@panix.com>
19898         [BZ #18681]
19899         * misc/regexp.h: This interface is no longer supported.
19900         Remove all contents, leaving only an #error directive.
19901         * misc/regexp.c (loc1, loc2, locs, step, advance):
19902         Demote to compatibility symbols.
19904 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
19906         [BZ #18084]
19907         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
19908         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
19909         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
19910         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
19911         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
19912         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
19913         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
19914         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
19915         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
19917 2015-08-15  Zack Weinberg  <zackw@panix.com>
19919         [BZ #18795]
19920         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
19921         buffer length is known to be too large, not if it's known to be
19922         small enough.
19923         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
19924         overflow at runtime, involving a length parameter, twice: once
19925         with a compile-time constant length parameter, once without.
19927 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
19929         [BZ #18824]
19930         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
19931         scaling x * y up instead of down.
19932         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19933         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19934         * math/auto-libm-test-in: Add more tests of fma.
19935         * math/auto-libm-test-out: Regenerated.
19937 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
19939         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19941 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19943         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
19944         unnecessary movq.
19945         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
19946         Likewise.
19948 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
19950         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
19951         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
19952         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
19953         and tgamma.
19954         * math/auto-libm-test-out: Regenerated.
19955         * sysdeps/i386/fpu/libm-test-ulps: Update.
19956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19958         [BZ #16520]
19959         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
19960         (__tanh): Force underflow exception for arguments with small
19961         absolute value.
19962         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
19963         (__tanhf): Force underflow exception for arguments with small
19964         absolute value.
19965         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
19966         (__tanhl): Force underflow exception for arguments with small
19967         absolute value.
19968         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
19969         (__tanhl): Force underflow exception for arguments with small
19970         absolute value.
19971         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
19972         (__tanhl): Force underflow exception for arguments with small
19973         absolute value.
19974         * math/auto-libm-test-in: Add more tests of tanh.
19975         * math/auto-libm-test-out: Regenerated.
19976         * sysdeps/i386/fpu/libm-test-ulps: Update.
19978 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
19980         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
19981         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
19983 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
19985         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
19986         <cpuid.h>.
19988 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
19990         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
19991         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
19993 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
19995         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
19996         Remove $(objpfx)init-arch.o.
19997         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
19998         init-arch.
19999         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
20000         (INIT_ARCH_EXT): Defined as empty.
20001         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
20002         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
20003         __init_cpu_features call.  Replace HAS_XXX with
20004         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
20005         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
20006         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
20007         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
20008         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
20009         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
20010         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
20011         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
20012         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
20013         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
20014         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
20015         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
20016         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
20017         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
20018         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
20019         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
20020         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
20021         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
20022         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
20023         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
20024         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
20025         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
20026         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
20027         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
20028         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
20029         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
20030         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
20031         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
20032         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
20033         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
20034         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
20035         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
20036         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
20037         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
20038         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
20039         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
20041 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20043         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
20044         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
20045         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
20046         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
20047         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
20048         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
20049         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
20050         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
20051         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
20052         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
20053         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
20054         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
20055         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
20056         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20057         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20058         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20059         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20060         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20061         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20062         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20063         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20064         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20065         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20066         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20067         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20068         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20069         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20070         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20071         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20072         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20073         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20074         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20075         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20076         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20077         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20078         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20079         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20080         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20081         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20082         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20083         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20084         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20085         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20087 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20089         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
20090         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
20091         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
20092         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20093         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20094         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
20095         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20096         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
20097         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
20098         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20099         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20100         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
20101         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
20102         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
20103         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
20104         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
20105         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
20106         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
20107         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
20108         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
20109         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
20110         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
20111         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
20112         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20113         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20114         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
20115         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
20116         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
20117         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
20118         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
20119         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
20120         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
20121         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
20122         * sysdeps/x86_64/multiarch/memset.S: Likewise.
20123         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20124         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
20125         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
20126         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20127         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
20128         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
20129         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
20130         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
20131         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
20133 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
20135         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
20136         (dl_platform_init): Call init_cpu_features.
20137         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
20138         * sysdeps/i386/i686/cacheinfo.c
20139         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
20140         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
20141         * sysdeps/i386/i686/multiarch/Versions: Removed.
20142         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
20143         Removed.
20144         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
20145         * sysdeps/unix/sysv/linux/x86/Makefile
20146         (libpthread-sysdep_routines): Remove init-arch.
20147         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
20148         <sysdeps/x86_64/dl-procinfo.c> instead of
20149         sysdeps/generic/dl-procinfo.c>.
20150         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
20151         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
20152         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
20153         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
20154         [$(subdir) == elf] (tests-static): Add
20155         tst-get-cpu-features-static.
20156         * sysdeps/x86/Versions: New file.
20157         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
20158         * sysdeps/x86/cpu-features.c: Likewise.
20159         * sysdeps/x86/cpu-features.h: Likewise.
20160         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
20161         * sysdeps/x86/libc-start.c: Likewise.
20162         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
20163         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
20164         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
20165         * sysdeps/x86_64/dl-procinfo.c: Likewise.
20166         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
20167         Assume USE_MULTIARCH is defined and don't check it.
20168         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
20169         (is_amd): Likewise.
20170         (max_cpuid): Likewise.
20171         (intel_check_word): Likewise.
20172         (__cache_sysconf): Don't call __init_cpu_features.
20173         (__x86_preferred_memory_instruction): Removed.
20174         (init_cacheinfo): Don't call __init_cpu_features. Replace
20175         __cpu_features with GLRO(dl_x86_cpu_features).
20176         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
20177         (dl_platform_init): Call init_cpu_features.
20178         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
20179         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
20180         * sysdeps/x86_64/multiarch/Versions: Removed.
20181         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
20182         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
20183         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
20184         Removed.
20185         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
20187 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
20189         [BZ #18820]
20190         * libio/Makefile (test-fmemopen-mem): New test.
20191         * libio/test-fmemopen.c (do_bz18820): New test.
20192         * libio/fmemopen.c (__fmemopen): Fix memory leak.
20193         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
20195 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
20197         [BZ #16734]
20198         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
20199         (FREE_BUF): Delete.
20200         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
20201         * libio/genops.c (_IO_setb): Use malloc and free directly.
20202         (_IO_default_doallocate, _IO_default_finish): Likewise.
20203         ( _IO_unbuffer_all): Likewise.
20204         ( libc_freeres_fn): Likewise.
20205         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
20206         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
20207         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
20208         (_IO_wdefault_doallocate): Likewise.
20210 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
20212         [BZ #18086]
20213         * sysdeps/posix/nice.c (nice): Restore old errno.
20214         * posix/tst-nice.c (do_test): Add test for BZ #18086.
20216 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
20218         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
20220 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20222         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
20223         __bcopy and add a weak_alias to bcopy.
20224         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
20225         for static build.
20227         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
20228         cleanup macro usage.
20229         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
20230         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
20231         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
20232         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
20233         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
20234         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
20235         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
20236         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
20237         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
20238         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
20239         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
20240         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
20241         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
20242         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
20243         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
20244         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
20245         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
20246         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
20247         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
20249         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
20250         libc_hidden_def.
20251         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
20253         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
20254         (sysdep_routines): Add strstr-ppc64.
20255         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
20257 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
20259         [BZ #18778]
20260         * elf/Makefile (tests): Add Add tst-nodelete2.
20261         (modules-names): Add tst-nodelete2mod.
20262         (tst-nodelete2mod.so-no-z-defs): New.
20263         ($(objpfx)tst-nodelete2): Likewise.
20264         ($(objpfx)tst-nodelete2.out): Likewise.
20265         (LDFLAGS-tst-nodelete2): Likewise.
20266         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
20267         out of loop through all loaded libraries.
20268         * elf/tst-nodelete2.c: New file.
20269         * elf/tst-nodelete2mod.c: Likewise.
20270         * elf/tst-znodelete-zlib.cc: Delete.
20272 2015-08-11  Andreas Schwab  <schwab@suse.de>
20274         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
20275         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
20276         (__openat64_nocancel): Likewise.
20278 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
20280         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
20281         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
20282         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
20283         * math/auto-libm-test-out: Regenerated.
20284         * sysdeps/i386/fpu/libm-test-ulps: Update.
20285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20287 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
20289         [BZ #18790]
20290         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
20291         threshold for returning +/- 1.
20292         * math/auto-libm-test-in: Add more tests of tanh.
20293         * math/auto-libm-test-out: Regenerated.
20294         * sysdeps/i386/fpu/libm-test-ulps: Update.
20296 2015-08-10  Andreas Schwab  <schwab@suse.de>
20298         [BZ #18781]
20299         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
20300         MORE_OFLAGS to oflag.
20301         * io/test-lfs.c (do_test): Test openat64.
20303 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
20305         [BZ #18789]
20306         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
20307         smaller threshold for returning the argument.
20308         * math/auto-libm-test-in: Add more tests of sinh.
20309         * math/auto-libm-test-out: Regenerated.
20310         * sysdeps/i386/fpu/libm-test-ulps: Update.
20312 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
20314         [BZ #18674]
20315         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
20316         break.
20318 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
20320         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
20321         (generated): Don't add $(addprefix z.,$(tzfiles)).
20323 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
20325         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
20326         * scripts/sysd-rules.awk: Likewise.
20328 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
20330         * iconvdata/tst-tables.sh: Change echo -n to printf.
20331         * nss/db-Makefile: Likewise.
20332         * posix/tst-getconf.sh: Likewise.
20333         * stdio-common/tst-unbputc.sh: Likewise.
20335 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
20337         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
20338         MADV_*_PAGES defines behind this feature check.
20340 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
20342         [BZ #18480]
20343         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
20344         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
20345         Define.
20346         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
20347         LOAD_REGS_5, LOAD_REGS_6): Update.
20348         (INTERNAL_SYSCALL): Update using new LOAD defines.
20349         (INTERNAL_SYSCALL_NCS): Likewise.
20350         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
20352 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
20354         [BZ #16734]
20355         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
20357 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
20359         [BZ #17905]
20360         * catgets/Makefile (tst-catgets-mem): New test.
20361         * catgets/catgets.c (catopen): Don't use unbounded alloca.
20362         * catgets/open_catalog.c (__open_catalog): Likewise.
20363         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
20365 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
20367         [BZ #18787]
20368         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
20369         clobber registers.
20370         (atomic_compare_and_exchange_val_acq): Use register asms to assign
20371         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
20372         Cast return to __typeof (oldval).
20374 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
20376         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
20377         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
20378         and delete sys/syscall.h include.
20380 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
20382         [BZ #16517]
20383         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
20384         (tan): Force underflow exception for arguments with small absolute
20385         value.
20386         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
20387         (__kernel_tanf): Force underflow exception for arguments with
20388         small absolute value.
20389         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
20390         (__kernel_tanl): Force underflow exception for arguments with
20391         small absolute value.
20392         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
20393         (__kernel_tanl): Force underflow exception for arguments with
20394         small absolute value.
20395         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
20396         (__kernel_tanl): Force underflow exception for arguments with
20397         small absolute value.
20398         * math/auto-libm-test-in: Add more tests of tan.
20399         * math/auto-libm-test-out: Regenerated.
20401 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20403         Fix sysdeps/i386/fpu/s_scalbn.S build
20405         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
20407 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
20409         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
20411 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20413         Fix gcrt0.o compilation
20415         When static-start-installed-name is different from
20416         start-installed-name, we must not use the shared objects.
20418         * csu/Makefile
20419         (extra-objs): Add gmon-start.o when building shared library and
20420         $(static-start-installed-name) is different from
20421         $(start-installed-name).
20422         $(objpfx)g$(static-start-installed-name): When building shared
20423         library and $(static-start-installed-name) is different from
20424         $(static-start-installed-name), revert to non-shared rule,
20425         i.e. using $(objpfx)% and gmon-start.o.
20427 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
20429         [BZ #16519]
20430         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
20431         (__ieee754_sinh): Force underflow exception for arguments with
20432         small absolute value.
20433         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
20434         (__ieee754_sinhf): Force underflow exception for arguments with
20435         small absolute value.
20436         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
20437         (__ieee754_sinhl): Force underflow exception for arguments with
20438         small absolute value.
20439         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
20440         (__ieee754_sinhl): Force underflow exception for arguments with
20441         small absolute value.
20442         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
20443         (__ieee754_sinhl): Force underflow exception for arguments with
20444         small absolute value.
20445         * math/auto-libm-test-in: Add more tests of sinh.
20446         * math/auto-libm-test-out: Regenerated.
20447         * sysdeps/i386/fpu/libm-test-ulps: Update.
20449 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
20451         * libio/oldfileops.c: Include unistd.h.
20453 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
20455         * stdlib/isomac.c: Include ctype.h.
20457 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
20459         * dirent/tst-seekdir.c (main): Converted to ...
20460         (do_test): ... this.
20461         (TEST_FUNCTION): New macro.
20462         Include test-skeleton.c.
20463         * elf/tst-dlmodcount.c (main): Converted to ...
20464         (do_test): ... this.
20465         (TEST_FUNCTION): New macro.
20466         Include test-skeleton.c.
20467         * elf/tst-order-main.c (main): Converted to ...
20468         (do_test): ... this.
20469         (TEST_FUNCTION): New macro.
20470         Include test-skeleton.c.
20471         * elf/tst-pie2.c (main): Converted to ...
20472         (do_test): ... this.
20473         (TEST_FUNCTION): New macro.
20474         Include test-skeleton.c.
20475         * inet/tst-ether_aton.c (main): Converted to ...
20476         (do_test): ... this.
20477         (TEST_FUNCTION): New macro.
20478         Include test-skeleton.c.
20479         * misc/tst-mntent.c (main): Converted to ...
20480         (do_test): ... this.
20481         (TEST_FUNCTION): New macro.
20482         Include test-skeleton.c.
20483         * misc/tst-tsearch.c (main): Converted to ...
20484         (do_test): ... this.
20485         (TEST_FUNCTION): New macro.
20486         Include test-skeleton.c.
20487         * posix/tst-regexloc.c (main): Converted to ...
20488         (do_test): ... this.
20489         (TEST_FUNCTION): New macro.
20490         Include test-skeleton.c.
20491         * resolv/tst-aton.c (main): Converted to ...
20492         (do_test): ... this.
20493         (TEST_FUNCTION): New macro.
20494         Include test-skeleton.c.
20495         * stdio-common/test-fwrite.c (main): Converted to ...
20496         (do_test): ... this.
20497         (TEST_FUNCTION): New macro.
20498         Include test-skeleton.c.
20499         * stdio-common/tst-ferror.c (main): Converted to ...
20500         (do_test): ... this.
20501         (TEST_FUNCTION): New macro.
20502         Include test-skeleton.c.
20503         * stdio-common/tst-printf.c (main): Converted to ...
20504         (do_test): ... this.
20505         (TEST_FUNCTION): New macro.
20506         Include test-skeleton.c.
20507         * stdio-common/tst-printfsz.c (main): Converted to ...
20508         (do_test): ... this.
20509         (TEST_FUNCTION): New macro.
20510         Include test-skeleton.c.
20511         * stdlib/tst-strtod.c (main): Converted to ...
20512         (do_test): ... this.
20513         (TEST_FUNCTION): New macro.
20514         Include test-skeleton.c.
20515         * string/tst-strlen.c (main): Converted to ...
20516         (do_test): ... this.
20517         (TEST_FUNCTION): New macro.
20518         Include test-skeleton.c.
20519         * string/tst-svc.c (main): Converted to ...
20520         (do_test): ... this.
20521         (TEST_FUNCTION): New macro.
20522         Include test-skeleton.c.
20523         * time/tst-strptime.c (main): Converted to ...
20524         (do_test): ... this.
20525         (TEST_FUNCTION): New macro.
20526         Include test-skeleton.c.
20527         * timezone/tst-timezone.c (main): Converted to ...
20528         (do_test): ... this.
20529         (TEST_FUNCTION): New macro.
20530         Include test-skeleton.c.
20532 2015-08-05  Zack Weinberg  <zackw@panix.com>
20534         * misc/regexp.h: Update comments.
20536 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
20538         [BZ #18635]
20539         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
20540         before return label.
20542 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20544         [BZ #18661]
20545         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
20546         when calling __errno_location.
20547         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
20548         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
20550 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20552         [BZ #18661]
20553         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
20554         (__lll_timedwait_tid): Align stack to 16 bytes when calling
20555         __gettimeofday.
20557 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20559         [BZ #18661]
20560         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
20561         (__start_context): Don't use pop to restore %rdi so that stack
20562         is aligned to 16 bytes when calling __setcontext.
20564 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20566         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
20567         only for libc.
20568         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
20570 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20572         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
20573         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
20574         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
20576 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20578         * string/memccpy.c (memccpy):
20579         Improve performance by using memchr/memcpy/__mempcpy.
20581 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20583         * string/strncpy.c (strncpy):
20584         Improve performance by using __strnlen/memcpy.
20586 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20588         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
20589         Optimize to avoid an unnecessary FPCR read.
20591 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20593         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
20594         Optimize to reduce FPCR/FPSR accesses.
20596 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20598         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
20599         dead->data[category] != NULL.
20601 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
20603         [BZ #18647]
20604         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
20605         and |x| close to 1, use absolute value of x when computing log.
20606         * math/auto-libm-test-in: Add more tests of pow.
20607         * math/auto-libm-test-out: Regenerated.
20609 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20611         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
20612         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
20613         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
20615 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
20617         [BZ #18525]
20618         * locales/km_KH: Remove timezone definition.
20619         * locales/lo_LA: Likewise.
20620         * locales/my_MM: Likewise.
20621         * locales/nan_TW@latin: Likewise.
20622         * locales/th_TH: Likewise.
20623         * locales/uk_UA: Likewise.
20625 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
20627         [BZ #18265]
20628         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
20629         (wcsncat): Likewise.
20630         (wcscmp): Likewise.
20631         (wcsncmp): Likewise.
20633 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
20635         * test-skeleton.c (usage): New function.
20636         (main): Call usage when opt is '?'.
20638 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
20640         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
20641         before first use.
20643 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
20645         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
20646         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
20647         in there too.
20649 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
20651         * version.h (RELEASE): Set to "development".
20652         (VERSION): Set to "2.22.90"
20654         * version.h (RELEASE): Set to "stable".
20655         (VERSION): Set to "2.22"
20656         * include/features.h (__GLIBC_MINOR__): Set to 22.
20658 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
20660         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
20661         Restructure macro to avoid "value computed is not used" warning.
20662         (atomic_compare_and_exchange_val_acq): Likewise.
20664 2015-08-04  Andreas Schwab  <schwab@suse.de>
20666         [BZ #18635]
20667         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
20668         ret.
20669         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
20671 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
20673         * po/pl.po: Updated translation.
20674         * po/uk.po: Likewise.
20675         * po/fi.po: Likewise.
20676         * po/ko.po: Likewise.
20677         * po/ru.po: Likewise.
20678         * po/vi.po: Likewise.
20680 2015-07-31  Zack Weinberg  <zackw@panix.com>
20682         [BZ #18681]
20683         * regexp.h: Add unconditional #warning stating that this header
20684         will be removed soon.  Revise banner comment to match.
20685         (compile): Consistently use ERROR instead of RETURN to report
20686         errors (partial fix for bz#18681).
20687         * regexp.c: Don't include regexp.h. Remove some unnecessary
20688         declarations.
20690 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
20692         * po/libc.pot: Regenerated.
20694 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
20696         [BZ #18740]
20697         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
20698         float-vlen4-arch-ext-cflags): Removed.
20699         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
20700         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
20702 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
20704         [BZ #14113]
20705         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
20706         aligned to __aligned__.
20707         (pthread_cond_t, pthread_rwlock_t): Likewise.
20709 2015-07-30  Torvald Riegel  <triegel@redhat.com>
20711         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
20713 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
20715         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
20716         (struct sigaction): Change sa_flags from a long to an int, and add
20717         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
20719 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
20721         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
20722         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
20723         sysdeps/generic/sysdep.h include.
20724         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
20725         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
20726         sysdeps/hppa/sysdep.h.
20727         (ENTRY, PSEUDO): Undefine before defining.
20729 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
20731         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
20732         from scratch to use INTERNAL_SYSCALL.
20734 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
20736         [BZ #18078]
20737         * scripts/check-localplt.awk: Support alternate relocations.
20738         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
20739         sections.
20740         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
20741         malloc entries with + REL R_386_GLOB_DAT.
20742         * sysdeps/x86_64/localplt.data: New file.
20744 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
20746         [BZ #18731]
20747         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
20748         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20749         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20751 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
20753         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
20755 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
20757         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
20758         directly in terms of __sync_fetch_and_add and delete (int) cast.
20760 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
20762         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
20763         the -D_ASM_IA64_CURRENT_H flag.
20765 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
20767         [BZ #18641]
20768         * pwd/pwd.h (putpwent): Delete __nonnull markings.
20770 2015-07-27  Andreas Schwab  <schwab@suse.de>
20772         * conform/conformtest.pl (checknamespace): Filter out string
20773         literals while tokenizing.
20775 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
20777         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
20778         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
20779         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
20781 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
20783         * nptl/tst-join7mod.c: Add #include <string.h>.
20785 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
20787         * sysdeps/nios2/libm-test-ulps: Update.
20789 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
20791         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
20792         Fix order of arguments to the rt_sigprocmask syscall.
20793         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
20794         Likewise.
20796 2015-07-24  Roland McGrath  <roland@hack.frob.com>
20798         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
20800 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20802         [BZ #18457]
20803         * nptl/Makefile (tests): New test case tst-join7.
20804         (modules-names): New test case module tst-join7mod.
20805         * nptl/tst-join7.c: New file.
20806         * nptl/tst-join7mod.c: New file.
20807         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
20808         all translation units in libc.so, libpthread.so and rtld.
20810 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20812         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20814 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
20816         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
20817         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
20818         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
20819         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
20820         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
20821         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
20822         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
20823         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
20824         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
20825         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
20826         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
20827         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
20828         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
20829         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
20830         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
20831         implementation.
20833 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20835         [BZ #17711]
20836         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
20837         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
20838         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
20839         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
20840         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
20841         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
20843 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20845         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
20846         instead of just saying load lock in the comments.
20848 2015-07-23  Roland McGrath  <roland@hack.frob.com>
20850         * sysdeps/unix/Subdirs: Moved ...
20851         * sysdeps/posix/Subdirs: ... here.
20852         * login/pty.h (struct termios, struct winsize): Add forward decls.
20853         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
20854         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
20855         * sysdeps/arm/nacl/libc.abilist: Updated.
20856         * sysdeps/nacl/libutil.abilist: New file.
20858         * bits/signum.h: Update comments to mention 1003.1-2013 too.
20859         (SIGWINCH): New macro.
20861         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
20862         * sysdeps/arm/nacl/libc.abilist: Add it.
20864 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
20866         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
20868 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
20870         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
20871         Swap __glibc_reserved0 and sa_flags order.
20873 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
20875         [BZ #18657]
20876         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
20877         are pending TLS destructor calls.
20878         * include/link.h (struct link_map): Add concurrency note for
20879         L_TLS_DTOR_COUNT.
20880         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
20881         Don't touch the link map flag.  Atomically increment
20882         l_tls_dtor_count.
20883         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
20884         Avoid taking the load lock and don't touch the link map flag.
20885         * stdlib/tst-tls-atexit-nodelete.c: New test case.
20886         * stdlib/Makefile (tests): Use it.
20887         * stdlib/tst-tls-atexit.c (do_test): dlopen
20888         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
20889         to allow tst-tls-atexit-nodelete test case to use it.
20891 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
20893         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
20894         to bits/types.h.
20895         (msgqnum_t): New typedef.
20896         (msglen_t): Likewise.
20897         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
20898         and msg_qbytes type to msglen_t.
20900 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
20902         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
20903         pad0 to __glibc_reserved0.
20904         (struct stat64): Likewise.
20906 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
20908         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
20909         Change sa_flags from a long to an int and add __glibc_reserved0 before
20910         it for padding.
20912 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
20914         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
20915         anonymous by deleting "siginfo" name.
20917 2015-07-21  Roland McGrath  <roland@hack.frob.com>
20919         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
20920         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
20921         rather than __nacl_irt_filename.
20922         * sysdeps/nacl/xstat.c (__xstat): Likewise.
20924         * NEWS: New item for arm-nacl port.
20925         * sysdeps/arm/nacl/libc.abilist: New file.
20926         * sysdeps/nacl/ld.abilist: New file.
20927         * sysdeps/nacl/libBrokenLocale.abilist: New file.
20928         * sysdeps/nacl/libanl.abilist: New file.
20929         * sysdeps/nacl/libcrypt.abilist: New file.
20930         * sysdeps/nacl/libdl.abilist: New file.
20931         * sysdeps/nacl/libm.abilist: New file.
20932         * sysdeps/nacl/libpthread.abilist: New file.
20933         * sysdeps/nacl/libresolv.abilist: New file.
20934         * sysdeps/nacl/librt.abilist: New file.
20936 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
20938         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
20939         __startcontext to initialize the new context.
20940         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
20941         up CFI directive to forbid further backtracing.
20943 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
20945         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
20946         reference.
20947         * charmaps/ANSI_X3.4-1968: Likewise.
20948         * charmaps/BS_4730: Likewise.
20949         * charmaps/BS_VIEWDATA: Likewise.
20950         * charmaps/CP1250: Likewise.
20951         * charmaps/CP1251: Likewise.
20952         * charmaps/CP1252: Likewise.
20953         * charmaps/CP1253: Likewise.
20954         * charmaps/CP1254: Likewise.
20955         * charmaps/CP1255: Likewise.
20956         * charmaps/CP1256: Likewise.
20957         * charmaps/CSN_369103: Likewise.
20958         * charmaps/EBCDIC-DK-NO: Likewise.
20959         * charmaps/GB_1988-80: Likewise.
20960         * charmaps/GREEK-CCITT: Likewise.
20961         * charmaps/GREEK7: Likewise.
20962         * charmaps/INIS-8: Likewise.
20963         * charmaps/ISIRI-3342: Likewise.
20964         * charmaps/ISO_2033-1983: Likewise.
20965         * charmaps/ISO_5427-EXT: Likewise.
20966         * locales/POSIX: Likewise.
20967         * locales/ar_SA: Likewise.
20968         * locales/be_BY: Likewise.
20969         * locales/be_BY@latin: Likewise.
20970         * locales/ca_ES: Likewise.
20971         * locales/cs_CZ: Likewise.
20972         * locales/da_DK: Likewise.
20973         * locales/de_BE: Likewise.
20974         * locales/de_CH: Likewise.
20975         * locales/de_LU: Likewise.
20976         * locales/en_AU: Likewise.
20977         * locales/en_BW: Likewise.
20978         * locales/en_CA: Likewise.
20979         * locales/en_DK: Likewise.
20980         * locales/en_GB: Likewise.
20981         * locales/en_IE: Likewise.
20982         * locales/en_NZ: Likewise.
20983         * locales/en_ZA: Likewise.
20984         * locales/en_ZW: Likewise.
20985         * locales/es_AR: Likewise.
20986         * locales/es_BO: Likewise.
20987         * locales/es_CL: Likewise.
20988         * locales/es_CO: Likewise.
20989         * locales/es_DO: Likewise.
20990         * locales/es_EC: Likewise.
20991         * locales/es_ES: Likewise.
20992         * locales/es_HN: Likewise.
20993         * locales/es_MX: Likewise.
20994         * locales/es_PA: Likewise.
20995         * locales/es_PE: Likewise.
20996         * locales/es_PY: Likewise.
20997         * locales/es_SV: Likewise.
20998         * locales/es_US: Likewise.
20999         * locales/es_UY: Likewise.
21000         * locales/es_VE: Likewise.
21001         * locales/et_EE: Likewise.
21002         * locales/fa_IR: Likewise.
21003         * locales/fo_FO: Likewise.
21004         * locales/fr_CA: Likewise.
21005         * locales/fr_CH: Likewise.
21006         * locales/gv_GB: Likewise.
21007         * locales/he_IL: Likewise.
21008         * locales/hr_HR: Likewise.
21009         * locales/id_ID: Likewise.
21010         * locales/is_IS: Likewise.
21011         * locales/it_CH: Likewise.
21012         * locales/iw_IL: Likewise.
21013         * locales/kl_GL: Likewise.
21014         * locales/ko_KR: Likewise.
21015         * locales/kw_GB: Likewise.
21016         * locales/lg_UG: Likewise.
21017         * locales/lt_LT: Likewise.
21018         * locales/lv_LV: Likewise.
21019         * locales/mi_NZ: Likewise.
21020         * locales/nhn_MX: Likewise.
21021         * locales/nl_BE: Likewise.
21022         * locales/pl_PL: Likewise.
21023         * locales/sk_SK: Likewise.
21024         * locales/sl_SI: Likewise.
21025         * locales/sv_FI: Likewise.
21026         * locales/tl_PH: Likewise.
21027         * locales/tr_TR: Likewise.
21028         * locales/vi_VN: Likewise.
21030 2015-07-21  Khem Raj  <raj.khem@gmail.com>
21032         [BZ #17475]
21033         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
21034         of tu_IN and bh_IN.
21036 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
21038         [BZ #18694]
21039         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
21040         bits/wordsize.h.
21041         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
21043 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21045         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
21046         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
21047         (spawn_thread): New function.
21048         (load): Rename to reg_dtor_and_close.  Move dlopen to...
21049         (do_test): ... here.  Use IS_LOADED to test for its
21050         availability.
21052 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
21054         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
21056 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
21058         [BZ #18696]
21059         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
21060         si_addr_bnd.
21061         (si_lower): New.
21062         (si_upper): Likewise.
21064 2015-07-16  David S. Miller  <davem@davemloft.net>
21066         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
21068 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21070         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
21071         buffer.
21072         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
21073         fail output information.
21075 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21077         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
21078         and strstr-ppc64..
21079         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
21080         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
21081         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
21082         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
21083         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
21085 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
21087         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
21088         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
21089         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
21090         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
21092 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
21094         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
21095         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
21096         rtld_hidden_proto.
21097         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
21099 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21101         * tst-nodelete-opened.c (do_test): Add comment to clarify how
21102         the test can fail.
21104         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
21106         [BZ #18676]
21107         * elf/tst-nodelete-opened.c: New test case.
21108         * elf/tst-nodelete-opened-lib.c: New test case module.
21109         * elf/Makefile (tests, modules-names): Use them.
21110         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
21111         early.
21113 2015-07-15  David S. Miller  <davem@davemloft.net>
21115         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
21116         futex-intenal.h
21117         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
21118         * sysdeps/sparc/sparc64/Makefile: Likewise.
21119         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
21120         Remove space from macro define.
21121         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
21123 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
21125         [BZ #17475]
21126         * locale/iso-639.def: Update Bhili and Tulu language codes as
21127         per iso639-3.
21129 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
21131         * elf/tst-leaks1.c (main): Converted to ...
21132         (do_test): ... this.
21133         (TEST_FUNCTION): New macro.
21134         Include test-skeleton.c.
21135         * localedata/tst-langinfo.c (main): Converted to ...
21136         (do_test): ... this.
21137         (TEST_FUNCTION): New macro.
21138         Include test-skeleton.c.
21139         * math/test-fpucw.c (main): Converted to ...
21140         (do_test): ... this.
21141         (TEST_FUNCTION): New macro.
21142         Include test-skeleton.c.
21143         * math/test-tgmath.c (main): Converted to ...
21144         (do_test): ... this.
21145         (TEST_FUNCTION): New macro.
21146         Include test-skeleton.c.
21147         * math/test-tgmath2.c (main): Converted to ...
21148         (do_test): ... this.
21149         (TEST_FUNCTION): New macro.
21150         Include test-skeleton.c.
21151         * setjmp/tst-setjmp.c (main): Converted to ...
21152         (do_test): ... this.
21153         (TEST_FUNCTION): New macro.
21154         Include test-skeleton.c.
21155         * stdio-common/tst-sscanf.c (main): Converted to ...
21156         (do_test): ... this.
21157         (TEST_FUNCTION): New macro.
21158         Include test-skeleton.c.
21159         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
21160         (do_test): ... this.
21161         (TEST_FUNCTION): New macro.
21162         Include test-skeleton.c.
21164         * elf/tst-audit9.c (main): Converted to ...
21165         (do_test): ... this.
21166         (TEST_FUNCTION): New macro.
21167         Include test-skeleton.c.
21169 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
21171         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
21173 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
21175         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
21176         New variable.
21178 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
21180         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21182 2015-07-14  Roland McGrath  <roland@hack.frob.com>
21184         * sysdeps/generic/dl-fileid.h: New file.
21185         * sysdeps/posix/dl-fileid.h: New file.
21186         * sysdeps/nacl/dl-fileid.h: New file.
21187         * include/link.h: Include <dl-fileid.h>.
21188         (struct link_map): Replace l_dev and l_ino with l_file_id.
21189         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
21190         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
21191         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
21193 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21195         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
21197 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21199         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
21200         Add iff $CXX is set.
21201         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
21202         Likewise.
21203         (tst-nodelete-zmodiff): Likewise.
21204         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
21206 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21208         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
21210 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
21212         * sysdeps/aarch64/fpu/math_private.h
21213         (define math_opt_barrier): Add AArch64 version.
21214         (math_force_eval): Likewise.
21216 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
21218         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
21220 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
21222         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
21223         %ld with %jd and cast to intmax_t.
21224         (do_test_length_zero): Likewise.
21226 2015-07-10  Roland McGrath  <roland@hack.frob.com>
21228         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
21230 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
21232         * sysdeps/tile/libm-test-ulps: Regenerated.
21234         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
21235         Comment out the whole function, not just its body.
21237 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21239         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
21240         locks.
21242         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
21244 2015-07-10  Torvald Riegel  <triegel@redhat.com>
21246         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
21247         (sem_assume_only_signals_cause_futex_EINTR): Remove.
21249 2015-07-10  Torvald Riegel  <triegel@redhat.com>
21251         * sysdeps/nptl/futex-internal.h: New file.
21252         * sysdeps/nacl/futex-internal.h: New file.
21253         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
21254         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
21255         error checking.
21256         (setxid_unmark_thread): Likewise.
21257         (__nptl_setxid): Likewise.
21258         (__wait_lookup_done): Likewise.
21259         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
21260         * nptl/nptl-init.c (sighandler_setxid): Likewise.
21261         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
21262         * nptl/pthread_once.c (clear_once_control): Likewise.
21263         (__pthread_once_slow): Likewise.
21264         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
21265         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
21266         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
21267         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
21268         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
21269         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
21270         Likewise.
21271         (__pthread_rwlock_rdlock): Likewise.
21272         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
21273         Likewise.
21274         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
21275         Likewise.
21276         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
21277         Likewise.
21278         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
21279         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
21280         Likewise.
21281         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
21282         __ASSUME_PRIVATE_FUTEX check.
21283         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
21284         Check that shared futexes are supported.
21285         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
21286         wrappers with error checking.
21287         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
21288         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
21289         * nptl/pthread_barrierattr_setpshared.c
21290         (pthread_barrierattr_setpshared): Check that shared futexes are
21291         supported.
21292         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
21293         Likewise.
21294         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
21295         Likewise.
21296         * nptl/sem_init.c (futex_private_if_supported): Remove.
21297         (__new_sem_init): Adapt and check that shared futexes are supported.
21298         * nptl/sem_open.c (sem_open): Likewise.
21299         * nptl/sem_post.c (futex_wake): Remove.
21300         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
21301         (do_futex_wait): Use futex wrappers with error checking.
21302         * nptl/sem_wait.c: Include lowlevellock.h.
21303         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
21304         Use futex_supports_pshared.
21305         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
21306         Use futex wrappers with error checking.
21307         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
21308         Likewise.
21309         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
21310         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
21311         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
21312         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
21313         (futex_wake): Likewise.
21314         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
21315         (do_futex_wait): Use futex wrappers with error checking.
21316         (__new_sem_wait_slow): Update EINTR handling.
21317         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
21319 2015-07-09  Martin Sebor  <msebor@redhat.com>
21321         [BZ #18435]
21322         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
21323         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
21324         * nptl/Makefile (test-xfail-tst-once5): Define.
21326 2015-07-09  Roland McGrath  <roland@hack.frob.com>
21328         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
21329         * elf/dl-minimal.c: For readability, reorder some definitions and
21330         introduce more page breaks.  Include <stdio.h>.
21331         (__libc_fatal): New function.
21333         * include/unistd.h: Add rtld_hidden_proto for _exit.
21334         * posix/_exit.c: Add rtld_hidden_def.
21335         * sysdeps/mach/hurd/_exit.c: Likewise.
21336         * sysdeps/nacl/_exit.c: Likewise.
21337         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
21338         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
21340 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
21342         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
21343         bndmov encoding with zero displacement.
21345 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
21346             H.J. Lu  <hongjiu.lu@intel.com>
21348         [BZ #18134]
21349         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
21350         * sysdeps/i386/configure: Regenerated.
21351         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
21352         (_dl_runtime_profile): Save and restore Intel MPX return bound
21353         registers when calling _dl_call_pltexit.  Add
21354         PRESERVE_BND_REGS_PREFIX before return.
21355         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
21356         (LRV_BND1_OFFSET): Likewise.
21357         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
21358         lrv_bnd1.
21359         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
21360         typo in bndmov encoding.
21361         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
21362         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
21363         branch instructions to preserve bounds.
21365 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
21368         [GLIBC_2.22]: Add fmemopen.
21370 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21372         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
21373         returns an error, also try to use host port from __mach_host_self for
21374         the __vm_wire call.
21375         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
21377 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21379         [BZ #18400]
21380         [BZ #18648]
21381         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
21382         Fix pr_uid and pr_gid members.
21383         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
21384         definition to elf_greg_t.
21386 2015-07-08  Roland McGrath  <roland@hack.frob.com>
21388         [BZ #18383]
21389         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
21390         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
21391         * sysdeps/arm/configure: Regenerated.
21392         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
21393         (test-xfail-tst-tlsalign-static): Variable removed.
21395         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
21396         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
21397         rather than explicit 'ln -s'.
21399         * resolv/rpc/netdb.h: New file.
21400         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
21402 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21404         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
21405         length buffers.
21406         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
21407         test-skeleton.c.
21409         [BZ #6544]
21410         [BZ #11216]
21411         [BZ #12836]
21412         [BZ #13151]
21413         [BZ #13152]
21414         [BZ #14292]
21415         * include/stdio.h (fmemopen): Remove hidden prototype.
21416         (__fmemopen): Add new hidden prototype.
21417         * libio/Makefile: Add oldfmemopen object.
21418         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
21419         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
21420         compliance.
21421         * libio/oldfmemopen.c: New file: old fmemopen implementation for
21422         symbol compatibility.
21423         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
21424         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
21425         fmemopen.
21426         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
21427         on append and read mode.
21428         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
21429         fmemopen.
21430         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
21431         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
21432         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
21433         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
21434         Likewise.
21435         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
21436         [GLIBC_2.22]: Likewise.
21437         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
21438         Likewise.
21439         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
21440         Likewise.
21441         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
21442         [GLIBC_2.22]: Likewise.
21443         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
21444         [GLIBC_2.22]: Likewise.
21445         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
21446         [GLIBC_2.22]: Likewise.
21447         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
21448         [GLIBC_2.22]: Likewise.
21449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
21450         [GLIBC_2.22]: Likewise.
21451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
21452         [GLIBC_2.22]: Likewise.
21453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
21454         [GLIBC_2.22]: Likewise.
21455         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
21456         Likewise.
21457         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
21458         Likewise.
21459         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
21460         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
21461         [GLIBC_2.22]: Likewise.
21462         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
21463         [GLIBC_2.22]: Likewise.
21464         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
21465         [GLIBC_2.22]: Likewise.
21466         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
21467         [GLIBC_2.22]: Likewise.
21468         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
21469         Likewise.
21470         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
21471         Likewise.
21472         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
21473         Likewise.
21474         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
21475         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
21477 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
21479         [BZ #18643]
21480         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
21481         IPV6_PATHMTU, and IPV6_DONTFRAG.
21483 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
21485         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
21486         and _IO_UNBUFFERED.
21487         * libio/oldfileops.c: Likewise.
21488         * libio/wfileops.c: Likewise.
21490 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
21492         * nscd/selinux.c: Delete selinux/flask.h include.
21494 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
21496         [BZ #18641]
21497         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
21498         (putpwent): Likewise.
21499         (getpwnam): Likewise.
21500         (getpwent_r): Likewise.
21501         (getpwuid_r): Likewise.
21502         (getpwnam_r): Likewise.
21503         (fgetpwent_r): Likewise.
21505 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
21507         [BZ #18557]
21508         * inet/rcmd.c (__validuser2_sa): Check user first to
21509         short-circuit host check.
21511 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
21512             Mikhail Ilin  <m.ilin@samsung.com>
21514         [BZ #17833]
21515         * elf/Makefile (tests): Add tst-nodelete.
21516         (modules-names): Add tst-nodelete-uniquemod.
21517         (tst-nodelete-uniquemod.so-no-z-defs): New.
21518         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
21519         (tst-nodelete-zmod.so-no-z-defs): Likewise.
21520         ($(objpfx)tst-nodelete): Likewise.
21521         ($(objpfx)tst-nodelete.out): Likewise.
21522         (LDFLAGS-tst-nodelete): Likewise.
21523         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
21524         * elf/dl-close.c (_dl_close_worker): Add a parameter to
21525         implement forced object deletion.
21526         (_dl_close): Pass false to _dl_close_worker.
21527         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
21528         * elf/tst-nodelete.cc: New file.
21529         * elf/tst-nodeletelib.cc: Likewise.
21530         * elf/tst-znodeletelib.cc: Likewise.
21531         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
21533 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
21535         [BZ #18508]
21536         * stdlib/Makefile ($(objpfx)tst-makecontext3):
21537         Depend on $(libdl).
21538         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
21539         is not called infinitely times.
21540         (backtrace_helper): New function.
21541         (trace_arg): New struct.
21542         (st1): Enlarge stack size.
21543         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21544         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
21545         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21546         Likewise.
21548 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
21550         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21552 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
21554         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
21555         Include sys/types.h instead of bits/types.h.
21556         Remove inclusion of bits/wordsize.h.
21558 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
21560         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
21561         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
21562         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
21563         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
21564         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
21565         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
21567 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
21569         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
21570         link-defines.sym.
21571         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
21572         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
21573         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
21574         and LR_SIZE.
21575         * sysdeps/i386/link-defines.sym: New file.
21577 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
21579         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
21580         (modules-names): Add tst-auditmod3a tst-auditmod3b.
21581         ($(objpfx)tst-audit3): New rule.
21582         ($(objpfx)tst-audit3.out): Likewise.
21583         * sysdeps/i386/tst-audit3.c: New file.
21584         * sysdeps/i386/tst-audit3.h: Likewise.
21585         * sysdeps/i386/tst-auditmod3a.c: Likewise.
21586         * sysdeps/i386/tst-auditmod3b.c: Likewise.
21588 2015-07-07  Torvald Riegel  <triegel@redhat.com>
21590         [BZ #18633]
21591         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
21592         pointer in C code.
21593         (__strcat_c): Likewise.
21594         (__strcat_g): Likewise.
21596 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
21598         [BZ #18592]
21599         * misc/sbrk.c: Set errno to ENOMEM on overflow.
21601 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
21603         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
21604         New function.  (__ieee754_sqrtf): New function.
21605         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
21606         New function.
21607         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
21608         New function.
21610 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
21612         * sysdeps/ieee754/support.c: Remove unused file.
21614 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21616         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
21617         registers instead of d ones so the layout is kernel abi compatible.
21618         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
21619         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
21620         Likewise.
21622 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21624         * sysdeps/aarch64/libm-test-ulps: Regenerated.
21626 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
21628         [BZ #18619]
21629         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
21630         and return argument in case of subnormal argument.
21632 2015-07-01  Martin Sebor  <msebor@redhat.com>
21634         [BZ #18435]
21635         * nptl/Makefile: Add tst-once5.cc.
21636         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
21637         Remove macro redefinitions.
21638         * nptl/tst-once5.cc: New test.
21640 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
21642         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
21644         * sysdeps/arm/libm-test-ulps: Regenerated.
21646         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
21647         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21649 2015-06-30  Torvald Riegel  <triegel@redhat.com>
21651         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
21652         lll_lock_wait_private and lll_futex_wake probes.
21654         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
21655         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
21656         Likewise.
21657         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
21658         atomic_spin_nop.
21659         * sysdeps/x86_64/bits/atomic.h: Likewise.
21660         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
21661         to atomic_spin_nop and move ...
21662         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
21663         ... here and ...
21664         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
21665         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
21666         atomic_spin_nop instead of BUSY_WAIT_NOP.
21667         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
21668         Likewise.
21669         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
21670         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
21671         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
21672         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
21673         instead of atomic_delay.
21675 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
21677         [BZ #18613]
21678         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
21679         X_ADJ not X when adjusting exponent.
21680         (__ieee754_gamma_r): Do intermediate computations in
21681         round-to-nearest then adjust overflowing and underflowing results
21682         as needed.
21683         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
21684         of X_ADJ not X when adjusting exponent.
21685         (__ieee754_gammaf_r): Do intermediate computations in
21686         round-to-nearest then adjust overflowing and underflowing results
21687         as needed.
21688         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
21689         log of X_ADJ not X when adjusting exponent.
21690         (__ieee754_gammal_r): Do intermediate computations in
21691         round-to-nearest then adjust overflowing and underflowing results
21692         as needed.  Use 1.0L not 1.0f as numerator of division.
21693         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
21694         log of X_ADJ not X when adjusting exponent.
21695         (__ieee754_gammal_r): Do intermediate computations in
21696         round-to-nearest then adjust overflowing and underflowing results
21697         as needed.  Use 1.0L not 1.0f as numerator of division.
21698         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
21699         of X_ADJ not X when adjusting exponent.
21700         (__ieee754_gammal_r): Do intermediate computations in
21701         round-to-nearest then adjust overflowing and underflowing results
21702         as needed.  Use 1.0L not 1.0f as numerator of division.
21703         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
21704         to auto-libm-test-in.
21705         (tgamma_test): Use ALL_RM_TEST.
21706         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
21707         tests of tgamma with spurious-overflow.
21708         * math/auto-libm-test-out: Regenerated.
21709         * math/gen-libm-have-vector-test.sh: Do not check for START.
21710         * sysdeps/i386/fpu/libm-test-ulps: Update.
21711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21713         [BZ #18612]
21714         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
21715         arguments, just return 0.5 times the argument, with underflow
21716         forced as needed.
21717         * math/auto-libm-test-in: Add more tests of j1.
21718         * math/auto-libm-test-out: Regenerated.
21720         [BZ #16559]
21721         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
21722         (__ieee754_j1): Force underflow exception for small results.
21723         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
21724         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
21725         (__ieee754_j1f): Force underflow exception for small results.
21726         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
21727         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
21728         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21729         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
21730         (__ieee754_j1l): Force underflow exception for small results.
21731         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
21732         * math/auto-libm-test-in: Add more tests of j1 and jn.
21733         * math/auto-libm-test-out: Regenerated.
21735         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
21736         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
21737         (PF_MPLS): Likewise.
21738         (AF_IB): Likewise.
21739         (AF_MPLS): Likewise.
21740         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
21741         value and macro.
21742         (MS_RMT_MASK): Include MS_LAZYTIME.
21744 2015-06-26  Mel Gorman  <mgorman@suse.de>
21746         [BZ #18502]
21747         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
21748         already minimal.
21750 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
21752         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
21753         (DT_MIPS_NUM): Update.
21754         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
21755         DT_MIPS_RLD_MAP_REL.
21757 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
21759         [BZ #16559]
21760         [BZ #18602]
21761         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
21762         round-to-nearest internally then recompute results that
21763         underflowed to zero in the original rounding mode.
21764         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
21765         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
21766         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21767         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
21768         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
21769         * sysdeps/i386/fpu/libm-test-ulps: Update.
21770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21772 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
21774         * NEWS: Fixed description of link with vector math library.
21776 2015-06-25  Andreas Schwab  <schwab@suse.de>
21778         [BZ #18549]
21779         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
21780         * libio/test-fmemopen.c (do_test): Add test for it.
21782 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
21784         [BZ #17841]
21785         * Makeconfig (no-pie-ldflag): New.
21786         (+link): Set to $(+link-pie) if default to PIE.
21787         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
21788         * config.make.in (build-pie-default): New.
21789         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
21790         is default.  AC_SUBST.
21791         * configure: Regenerated.
21792         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
21794 2015-06-24  Roland McGrath  <roland@hack.frob.com>
21796         * nptl/descr.h (struct pthread): Change type of field setxid_futex
21797         to 'unsigned int'.
21799         * resolv/gai_misc.h (struct waitlist): Change type of field
21800         counterp to 'volatile unsigned int *'.
21801         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
21802         FUTEXADDR and OLDVAL.
21803         * resolv/getaddrinfo_a.c (getaddrinfo_a):
21804         Give local variable TOTAL type 'volatile unsigned int'.
21805         (struct async_waitlist): Change type of field counter to 'unsigned int'.
21806         * resolv/gai_suspend.c (gai_suspend):
21807         Give local variable CNTR type 'unsigned int'.
21809         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
21810         counterp to 'volatile unsigned int *'.
21811         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
21812         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
21813         (aio_suspend): Give local variable CNTR type 'unsigned int'.
21814         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
21815         Give local variable TOTAL type 'volatile unsigned int'.
21816         (struct async_waitlist): Change type of field counter to 'unsigned int'.
21818 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
21820         [BZ #18383]
21821         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
21822         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
21823         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
21824         comment for i386/x86-64.
21825         (test-xfail-tst-tlsalign-extern-static): Removed.
21827 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
21829         * math/test-double.h: New file.
21830         * math/test-float.h: Likewise.
21831         * math/test-ldouble.h: Likewise.
21832         * math/test-math-inline.h: Likewise.
21833         * math/test-math-no-inline.h: Likewise.
21834         * math/test-math-scalar.h: Likewise.
21835         * math/test-math-vector.h: Likewise.
21836         * math/test-vec-loop.h: Remove file.  Contents moved into
21837         test-math-vector.h.
21838         * math/libm-test.inc (MATHCONST): Do not document macro.
21839         * math/test-double.c: Include test-double.h, test-math-no-inline.h
21840         and test-math-scalar.h.
21841         (FUNC): Remove macro.
21842         (FUNC_TEST): Likewise.
21843         (FLOAT): Likewise.
21844         (MATHCONST): Likewise.
21845         (PRINTF_EXPR): Likewise.
21846         (PRINTF_XEXPR): Likewise.
21847         (PRINTF_NEXPR): Likewise.
21848         (TEST_DOUBLE): Likewise.
21849         (TEST_MATHVEC): Likewise.
21850         (__NO_MATH_INLINES): Likewise.
21851         * math/test-float.c: Include test-float.h, test-math-no-inline.h
21852         and test-math-scalar.h.
21853         (FUNC): Remove macro.
21854         (FUNC_TEST): Likewise.
21855         (FLOAT): Likewise.
21856         (MATHCONST): Likewise.
21857         (PRINTF_EXPR): Likewise.
21858         (PRINTF_XEXPR): Likewise.
21859         (PRINTF_NEXPR): Likewise.
21860         (TEST_FLOAT): Likewise.
21861         (TEST_MATHVEC): Likewise.
21862         (__NO_MATH_INLINES): Likewise.
21863         * math/test-idouble.c: Include test-double.h, test-math-inline.h
21864         and test-math-scalar.h.
21865         (FUNC): Remove macro.
21866         (FUNC_TEST): Likewise.
21867         (FLOAT): Likewise.
21868         (MATHCONST): Likewise.
21869         (PRINTF_EXPR): Likewise.
21870         (PRINTF_XEXPR): Likewise.
21871         (PRINTF_NEXPR): Likewise.
21872         (TEST_DOUBLE): Likewise.
21873         (TEST_MATHVEC): Likewise.
21874         (TEST_INLINE): Likewise.
21875         (__NO_MATH_INLINES): Likewise.
21876         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
21877         test-math-scalar.h.
21878         (FUNC): Remove macro.
21879         (FUNC_TEST): Likewise.
21880         (FLOAT): Likewise.
21881         (MATHCONST): Likewise.
21882         (PRINTF_EXPR): Likewise.
21883         (PRINTF_XEXPR): Likewise.
21884         (PRINTF_NEXPR): Likewise.
21885         (TEST_FLOAT): Likewise.
21886         (TEST_MATHVEC): Likewise.
21887         (TEST_INLINE): Likewise.
21888         (__NO_MATH_INLINES): Likewise.
21889         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
21890         and test-math-scalar.h.
21891         (FUNC): Remove macro.
21892         (FUNC_TEST): Likewise.
21893         (FLOAT): Likewise.
21894         (MATHCONST): Likewise.
21895         (PRINTF_EXPR): Likewise.
21896         (PRINTF_XEXPR): Likewise.
21897         (PRINTF_NEXPR): Likewise.
21898         (TEST_LDOUBLE): Likewise.
21899         (TEST_MATHVEC): Likewise.
21900         (TEST_INLINE): Likewise.
21901         (__NO_MATH_INLINES): Likewise.
21902         * math/test-ldouble.c: Include test-ldouble.h,
21903         test-math-no-inline.h and test-math-scalar.h.
21904         (FUNC): Remove macro.
21905         (FUNC_TEST): Likewise.
21906         (FLOAT): Likewise.
21907         (MATHCONST): Likewise.
21908         (PRINTF_EXPR): Likewise.
21909         (PRINTF_XEXPR): Likewise.
21910         (PRINTF_NEXPR): Likewise.
21911         (TEST_LDOUBLE): Likewise.
21912         (TEST_MATHVEC): Likewise.
21913         (__NO_MATH_INLINES): Likewise.
21914         * math/test-double-vlen2.h: Include test-double.h,
21915         test-math-no-inline.h and test-math-vector.h.
21916         (FLOAT): Remove macro.
21917         (FUNC): Likewise.
21918         (MATHCONST): Likewise.
21919         (PRINTF_EXPR): Likewise.
21920         (PRINTF_XEXPR): Likewise.
21921         (PRINTF_NEXPR): Likewise.
21922         (TEST_DOUBLE): Likewise.
21923         (TEST_MATHVEC): Likewise.
21924         (__NO_MATH_INLINES): Likewise.
21925         (CNCT): Likewise.
21926         (CONCAT): Likewise.
21927         (WRAPPER_NAME): Likewise.
21928         (WRAPPER_DECL): Likewise.
21929         (WRAPPER_DECL_ff): Likewise.
21930         (WRAPPER_DECL_fFF): Likewise.
21931         (VECTOR_WRAPPER): Likewise.
21932         (VECTOR_WRAPPER_ff): Likewise.
21933         (VECTOR_WRAPPER_fFF): Likewise.
21934         (VEC_LEN): New macro.
21935         * math/test-double-vlen4.h: Include test-double.h,
21936         test-math-no-inline.h and test-math-vector.h.
21937         (FLOAT): Remove macro.
21938         (FUNC): Likewise.
21939         (MATHCONST): Likewise.
21940         (PRINTF_EXPR): Likewise.
21941         (PRINTF_XEXPR): Likewise.
21942         (PRINTF_NEXPR): Likewise.
21943         (TEST_DOUBLE): Likewise.
21944         (TEST_MATHVEC): Likewise.
21945         (__NO_MATH_INLINES): Likewise.
21946         (CNCT): Likewise.
21947         (CONCAT): Likewise.
21948         (WRAPPER_NAME): Likewise.
21949         (WRAPPER_DECL): Likewise.
21950         (WRAPPER_DECL_ff): Likewise.
21951         (WRAPPER_DECL_fFF): Likewise.
21952         (VECTOR_WRAPPER): Likewise.
21953         (VECTOR_WRAPPER_ff): Likewise.
21954         (VECTOR_WRAPPER_fFF): Likewise.
21955         (VEC_LEN): New macro.
21956         * math/test-double-vlen8.h: Include test-double.h,
21957         test-math-no-inline.h and test-math-vector.h.
21958         (FLOAT): Remove macro.
21959         (FUNC): Likewise.
21960         (MATHCONST): Likewise.
21961         (PRINTF_EXPR): Likewise.
21962         (PRINTF_XEXPR): Likewise.
21963         (PRINTF_NEXPR): Likewise.
21964         (TEST_DOUBLE): Likewise.
21965         (TEST_MATHVEC): Likewise.
21966         (__NO_MATH_INLINES): Likewise.
21967         (CNCT): Likewise.
21968         (CONCAT): Likewise.
21969         (WRAPPER_NAME): Likewise.
21970         (WRAPPER_DECL): Likewise.
21971         (WRAPPER_DECL_ff): Likewise.
21972         (WRAPPER_DECL_fFF): Likewise.
21973         (VECTOR_WRAPPER): Likewise.
21974         (VECTOR_WRAPPER_ff): Likewise.
21975         (VECTOR_WRAPPER_fFF): Likewise.
21976         (VEC_LEN): New macro.
21977         * math/test-float-vlen4.h: Include test-float.h,
21978         test-math-no-inline.h and test-math-vector.h.
21979         (FLOAT): Remove macro.
21980         (FUNC): Likewise.
21981         (MATHCONST): Likewise.
21982         (PRINTF_EXPR): Likewise.
21983         (PRINTF_XEXPR): Likewise.
21984         (PRINTF_NEXPR): Likewise.
21985         (TEST_FLOAT): Likewise.
21986         (TEST_MATHVEC): Likewise.
21987         (__NO_MATH_INLINES): Likewise.
21988         (CNCT): Likewise.
21989         (CONCAT): Likewise.
21990         (WRAPPER_NAME): Likewise.
21991         (WRAPPER_DECL): Likewise.
21992         (WRAPPER_DECL_ff): Likewise.
21993         (WRAPPER_DECL_fFF): Likewise.
21994         (VECTOR_WRAPPER): Likewise.
21995         (VECTOR_WRAPPER_ff): Likewise.
21996         (VECTOR_WRAPPER_fFF): Likewise.
21997         (VEC_LEN): New macro.
21998         * math/test-float-vlen8.h: Include test-float.h,
21999         test-math-no-inline.h and test-math-vector.h.
22000         (FLOAT): Remove macro.
22001         (FUNC): Likewise.
22002         (MATHCONST): Likewise.
22003         (PRINTF_EXPR): Likewise.
22004         (PRINTF_XEXPR): Likewise.
22005         (PRINTF_NEXPR): Likewise.
22006         (TEST_FLOAT): Likewise.
22007         (TEST_MATHVEC): Likewise.
22008         (__NO_MATH_INLINES): Likewise.
22009         (CNCT): Likewise.
22010         (CONCAT): Likewise.
22011         (WRAPPER_NAME): Likewise.
22012         (WRAPPER_DECL): Likewise.
22013         (WRAPPER_DECL_ff): Likewise.
22014         (WRAPPER_DECL_fFF): Likewise.
22015         (VECTOR_WRAPPER): Likewise.
22016         (VECTOR_WRAPPER_ff): Likewise.
22017         (VECTOR_WRAPPER_fFF): Likewise.
22018         (VEC_LEN): New macro.
22019         * math/test-float-vlen16.h: Include test-float.h,
22020         test-math-no-inline.h and test-math-vector.h.
22021         (FLOAT): Remove macro.
22022         (FUNC): Likewise.
22023         (MATHCONST): Likewise.
22024         (PRINTF_EXPR): Likewise.
22025         (PRINTF_XEXPR): Likewise.
22026         (PRINTF_NEXPR): Likewise.
22027         (TEST_FLOAT): Likewise.
22028         (TEST_MATHVEC): Likewise.
22029         (__NO_MATH_INLINES): Likewise.
22030         (CNCT): Likewise.
22031         (CONCAT): Likewise.
22032         (WRAPPER_NAME): Likewise.
22033         (WRAPPER_DECL): Likewise.
22034         (WRAPPER_DECL_ff): Likewise.
22035         (WRAPPER_DECL_fFF): Likewise.
22036         (VECTOR_WRAPPER): Likewise.
22037         (VECTOR_WRAPPER_ff): Likewise.
22038         (VECTOR_WRAPPER_fFF): Likewise.
22039         (VEC_LEN): New macro.
22040         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
22041         test-vec-loop.h.
22042         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22043         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22044         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22045         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22046         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22047         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22048         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
22050 2015-06-24  Roland McGrath  <roland@hack.frob.com>
22052         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
22053         (__getlogin_r): ... this.
22055 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
22057         [BZ #18594]
22058         * math/s_ccosh.c (__ccosh): Compare with least normal value
22059         instead of comparing class with FP_SUBNORMAL.
22060         * math/s_ccoshf.c (__ccoshf): Likewise.
22061         * math/s_ccoshl.c (__ccoshl): Likewise.
22062         * math/s_cexp.c (__cexp): Likewise.
22063         * math/s_cexpf.c (__cexpf): Likewise.
22064         * math/s_cexpl.c (__cexpl): Likewise.
22065         * math/s_csin.c (__csin): Likewise.
22066         * math/s_csinf.c (__csinf): Likewise.
22067         * math/s_csinh.c (__csinh): Likewise.
22068         * math/s_csinhf.c (__csinhf): Likewise.
22069         * math/s_csinhl.c (__csinhl): Likewise.
22070         * math/s_csinl.c (__csinl): Likewise.
22071         * math/s_ctan.c (__ctan): Likewise.
22072         * math/s_ctanf.c (__ctanf): Likewise.
22073         * math/s_ctanh.c (__ctanh): Likewise.
22074         * math/s_ctanhf.c (__ctanhf): Likewise.
22075         * math/s_ctanhl.c (__ctanhl): Likewise.
22076         * math/s_ctanl.c (__ctanl): Likewise.
22077         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
22078         csin, csinh, ctan and ctanh.
22079         * math/auto-libm-test-out: Regenerated.
22080         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
22081         * sysdeps/i386/fpu/libm-test-ulps: Update.
22082         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22084 2015-06-24  Roland McGrath  <roland@hack.frob.com>
22086         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
22087         return value is wrong, print the expected value too.
22089 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
22091         [BZ #18585]
22092         * elf/readlib.c (is_gdb_python_file): New.
22093         (process_file): Don't issue errors on filenames with -gdb.py
22094         suffix.
22096 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
22098         * math/auto-libm-test-in: Add more tests of csin and csinh.
22099         * math/auto-libm-test-out: Regenerated.
22100         * math/libm-test.inc (csin_test_data): Remove tests moved to
22101         auto-libm-test-in.
22102         (csinh_test_data): Likewise.
22104         [BZ #18593]
22105         * math/s_csin.c (__csin): Negate before rather than after possibly
22106         overflowing multiplication.
22107         * math/s_csinf.c (__csinf): Likewise.
22108         * math/s_csinh.c (__csinh): Likewise.
22109         * math/s_csinhf.c (__csinhf): Likewise.
22110         * math/s_csinhl.c (__csinhl): Likewise.
22111         * math/s_csinl.c (__csinl): Likewise.
22112         * math/auto-libm-test-in: Add some tests of csin and csinh.
22113         * math/auto-libm-test-out: Regenerated.
22114         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
22115         (csinh_test_data): Likewise.
22116         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22118         [BZ #18586]
22119         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
22120         underflow exception for small results.
22122 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
22124         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
22125         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
22126         variable and included header.
22127         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
22128         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
22129         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
22130         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
22131         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
22132         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
22133         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
22134         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
22135         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
22136         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
22137         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
22138         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
22139         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
22140         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
22141         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
22142         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
22144 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
22146         [BZ #16526]
22147         [BZ #16538]
22148         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
22149         (__sin): Force underflow exception for arguments with small
22150         absolute value.
22151         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
22152         (__kernel_sinf): Force underflow exception for arguments with
22153         small absolute value.
22154         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
22155         (__kernel_sincosl): Force underflow exception for arguments with
22156         small absolute value.
22157         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
22158         (__kernel_sinl): Force underflow exception for arguments with
22159         small absolute value.
22160         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
22161         (__kernel_sincosl): Force underflow exception for arguments with
22162         small absolute value.
22163         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
22164         (__kernel_sinl): Force underflow exception for arguments with
22165         small absolute value.
22166         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
22167         (__kernel_sinl): Force underflow exception for arguments with
22168         small absolute value.
22169         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
22170         (__kernel_sinf): Force underflow exception for arguments with
22171         small absolute value.
22172         * math/auto-libm-test-in: Add more tests of sin and sincos.
22173         * math/auto-libm-test-out: Regenerated.
22175         [BZ #18245]
22176         [BZ #18583]
22177         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
22178         (__kernel_standard_l): Use feholdexcept and fesetenv around
22179         conversion to double instead of special-casing overflow and
22180         underflow.
22181         * math/libm-test.inc (fmod_test_data): Add more tests.
22182         (remainder_test_data): Likewise.
22183         (sqrt_test_data): Likewise.
22185 2015-06-23  Torvald Riegel  <triegel@redhat.com>
22187         [BZ #17403]
22188         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
22189         atomic_read_barrier, atomic_write_barrier): Define.
22190         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
22191         atomic_read_barrier, atomic_write_barrier): Define.
22193 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
22195         * math/Makefile [$(PERL) != no]
22196         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
22197         dependency on libm-test.stmp below the inclusion of Rules.
22199 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
22201         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
22202         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
22203         and included header.
22204         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
22205         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
22206         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
22207         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
22208         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
22209         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
22210         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
22211         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
22212         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
22213         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
22214         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
22215         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
22216         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
22217         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
22218         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
22219         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
22220         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
22221         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
22222         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
22224 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
22226         [BZ #18371]
22227         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
22228         intermediate but not final result might underflow.
22229         * math/s_csqrtf.c (__csqrtf): Likewise.
22230         * math/s_csqrtl.c (__csqrtl): Likewise.
22231         * math/auto-libm-test-in: Add more tests of csqrt.
22232         * math/auto-libm-test-out: Regenerated.
22233         * sysdeps/i386/fpu/libm-test-ulps: Update.
22235         [BZ #18219]
22236         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
22237         threshold on absolute value of exponent for which scaling is used.
22238         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
22239         * math/auto-libm-test-in: Add more tests of exp2.
22240         * math/auto-libm-test-out: Regenerated.
22242 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
22244         [BZ #17977]
22245         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
22246         when initializing interface list, based on the bug analysis
22247         and the patch proposed by Eric Newton.
22248         * resolv/tst-res_hconf_reorder.c: New test.
22249         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
22250         tst-res_hconf_reorder.
22251         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
22252         and $(shared-thread-library).
22253         (tst-res_hconf_reorder-ENV): New variable.
22255         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
22256         in comment.
22258 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
22260         [BZ #16353]
22261         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
22262         (__expm1): Force underflow exception for arguments with small
22263         absolute value.
22264         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
22265         (__expm1f): Force underflow exception for arguments with small
22266         absolute value.
22267         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
22268         (__expm1): Force underflow exception for arguments with small
22269         absolute value.
22270         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
22271         (__expm1f): Force underflow exception for arguments with small
22272         absolute value.
22273         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
22274         Check for small arguments before calling __expm1.
22275         * math/auto-libm-test-in: Do not mark underflow exceptions as
22276         possibly missing for bug 16353.
22277         * math/auto-libm-test-out: Regenerated.
22279 2015-06-22  Andreas Schwab  <schwab@suse.de>
22281         [BZ #18513]
22282         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
22283         PTR queries.
22285 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
22287         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
22289         * string/strcoll_l.c: Remove unused struct element idxnow.
22291 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
22293         [BZ #18569]
22294         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
22295         underflow and return argument in case of subnormal argument.
22296         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
22297         Likewise.
22298         * math/auto-libm-test-in: Add more tests of expm1.
22299         * math/auto-libm-test-out: Regenerated.
22301         [BZ #16361]
22302         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
22303         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
22304         tiny results.
22305         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
22306         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
22307         tiny results.
22308         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
22309         mark underflow exceptions as possibly missing for bug 16361.
22310         * math/auto-libm-test-out: Regenerated.
22312 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
22314         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
22315         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
22316         Remove variable.
22317         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
22318         (test-xfail-XOPEN2K8/utmpx.h/conform).
22320         * conform/conformtest.pl ($xerrors): New variable.
22321         (note_error): New function.
22322         (compiletest): New argument $xfail.  Use not_error.
22323         (runtest): Likewise.
22324         (top level): Handle xfail- lines.  Update calls to compiletest and
22325         runtest.  Handle xfail- and optional- in headers listed with
22326         allow-header.
22327         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
22328         (O_EXEC): Likewise.
22329         (O_SEARCH): Likewise.
22330         * conform/data/stropts.h-data (ioctl): Likewise.
22331         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
22332         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
22333         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
22334         (msghdr.msg_controllen): Likewise.
22335         (cmsghdr.cmsg_len): Likewise.
22336         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
22337         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
22338         variable.
22339         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
22340         (test-xfail-XPG4/stropts.h/conform): Likewise.
22341         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
22342         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
22343         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
22344         (test-xfail-UNIX98/stropts.h/conform): Likewise.
22345         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
22346         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
22347         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
22348         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
22349         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
22350         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
22351         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
22352         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
22353         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
22354         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
22355         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
22356         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
22357         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
22358         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
22359         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
22361 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
22363         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
22364         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
22365         definitions for proper unfolding of __MATHDECL_VEC.
22367 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
22369         * benchtests/bench-strcoll.c:
22370         Include string.h.
22371         (main): Remove unused variable res.
22373 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
22375         * timezone/Makefile (%/UTC %/Universal):
22376         Generate test-result files for UTC and Universal.
22378 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
22380         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
22382 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
22384         [BZ #16350]
22385         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
22386         for arguments with small absolute value.
22387         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
22388         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
22389         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
22390         (__asinh): Force underflow exception for arguments with small
22391         absolute value.
22392         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
22393         (__asinhf): Force underflow exception for arguments with small
22394         absolute value.
22395         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
22396         (__asinhl): Force underflow exception for arguments with small
22397         absolute value.
22398         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
22399         (__asinhl): Force underflow exception for arguments with small
22400         absolute value.
22401         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
22402         (__asinhl): Force underflow exception for arguments with small
22403         absolute value.
22404         * math/auto-libm-test-in: Do not mark underflow exceptions as
22405         possibly missing for bug 16350.
22406         * math/auto-libm-test-out: Regenerated.
22408         * include/bits/ipc.h: Remove file.
22409         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
22410         variable.
22411         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
22412         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
22413         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
22414         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
22415         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
22416         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
22417         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
22418         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
22419         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
22421         * math/auto-libm-test-in: Remove spurious underflow allowance for
22422         tests of cexp.
22423         * math/auto-libm-test-out: Regenerated.
22425         [BZ #18558]
22426         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
22427         unconditional definition.
22428         (MCAST_BLOCK_SOURCE): Likewise.
22429         (MCAST_UNBLOCK_SOURCE): Likewise.
22430         (MCAST_LEAVE_GROUP): Likewise.
22431         (MCAST_JOIN_SOURCE_GROUP): Likewise.
22432         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
22433         (MCAST_MSFILTER): Likewise.
22434         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
22435         Remove variable.
22436         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
22437         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
22438         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
22439         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
22440         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
22442 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
22444         * NEWS: Mention addition of x86_64 vector sincosf.
22445         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
22446         * math/test-float-vlen4.h: Likewise.
22447         * math/test-float-vlen8.h: Likewise.
22448         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22449         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
22450         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22451         * sysdeps/x86_64/fpu/Versions: New versions added.
22452         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22453         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22454         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22455         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
22456         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
22457         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
22458         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
22459         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
22460         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
22461         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
22462         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
22463         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
22464         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
22465         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
22466         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
22467         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
22468         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
22469         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
22470         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22471         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22472         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22473         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22474         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22475         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22477         * NEWS: Mention addition of x86_64 vector sincos.
22478         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
22479         * math/math.h (__MATHDECL_VEC): New macro.
22480         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
22481         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
22482         declaration under condition.
22483         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
22484         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
22485         TEST_VEC_LOOP change.
22486         * math/test-double-vlen4.h: Likewise.
22487         * math/test-double-vlen8.h: Likewise.
22488         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
22489         * math/test-float-vlen4.h: Likewise.
22490         * math/test-float-vlen8.h: Likewise.
22491         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22492         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
22493         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22494         * sysdeps/x86_64/fpu/Versions: New versions added.
22495         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22496         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22497         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22498         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
22499         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
22500         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
22501         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
22502         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
22503         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
22504         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
22505         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
22506         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
22507         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
22508         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
22509         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
22510         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
22511         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
22512         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
22513         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22514         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
22515         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22516         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22517         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22518         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
22520         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22521         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22522         redirections for powf.
22523         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22524         * sysdeps/x86_64/fpu/Versions: New versions added.
22525         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22526         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22527         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22528         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
22529         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
22530         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
22531         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
22532         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
22533         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
22534         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
22535         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
22536         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
22537         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
22538         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
22539         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
22540         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
22541         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
22542         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
22543         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22544         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22545         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22546         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22547         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22548         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22549         * math/test-float-vlen16.h: Fixed 2 argument macro.
22550         * math/test-float-vlen4.h: Likewise.
22551         * math/test-float-vlen8.h: Likewise.
22552         * NEWS: Mention addition of x86_64 vector powf.
22554 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
22556         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22557         and redefine.
22558         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22559         and redefine.
22560         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
22561         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22562         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22564         [BZ #18553]
22565         * resource/getpriority.c (getpriority): Rename to __getpriority
22566         and define as weak alias of __getpriority.
22567         * resource/setpriority.c (setpriority): Rename to __setpriority
22568         and define as weak alias of __setpriority.
22569         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
22570         __getpriority and define as weak alias of __getpriority.
22571         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
22572         __setpriority and define as weak alias of __setpriority.
22573         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
22574         strong name.
22575         (setpriority): Use __setpriority as strong name.
22576         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
22577         __getpriority and define as weak alias of __getpriority.
22578         * include/sys/resource.h (__getpriority): Declare.  Use
22579         libc_hidden_proto.
22580         (__setpriority): Likewise.
22581         (getpriority): Don't use libc_hidden_proto.
22582         (setpriority): Likewise.
22583         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
22584         getpriority.  Call __setpriority instead of setpriority.
22585         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
22586         Remove variable.
22588         [BZ #18547]
22589         * misc/getttyent.c (getttynam): Rename to __getttynam and define
22590         as weak alias of __getttynam.  Use prototype function definition.
22591         Call __setttyent, __getttyent and __endttyent instead of
22592         setttyent, getttyent and endttyent.
22593         (getttyent): Rename to __getttyent and define as weak alias of
22594         __getttyent.  Call __setttyent instead of setttyent.  Call
22595         __fgets_unlocked instead of fgets_unlocked.
22596         (setttyent): Rename to __setttyent and define as weak alias of
22597         __setttyent.
22598         (endttyent): Rename to __endttyent and define as weak alias of
22599         __endttyent.
22600         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
22601         (__setttyent): Likewise.
22602         (__endttyent): Likewise.
22603         (getttyent): Don't use libc_hidden_proto.
22604         (setttyent): Likewise.
22605         (endttyent): Likewise.
22606         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
22607         __endttyent instead of setttyent, getttyent and endttyent.
22608         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
22609         Remove variable.
22611         [BZ #18546]
22612         * socket/recv.c (__recv): Use libc_hidden_def.
22613         * socket/socket.c (__socket): Likewise.
22614         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
22615         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
22616         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
22617         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
22618         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
22619         libc_hidden_def.
22620         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
22621         libc_hidden_weak.
22622         * include/sys/socket.h (__socket): Do not use attribute_hidden.
22623         Use libc_hidden_proto.
22624         (__recv): Likewise.
22625         * socket/Versions (libc): Export __recv and __socket at version
22626         GLIBC_PRIVATE.
22627         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
22628         instead of recv.
22629         (init_mq_netlink): Call __socket instead of socket.
22630         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
22631         Remove variable.
22633         [BZ #18545]
22634         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
22635         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
22636         hidden_weak.
22637         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
22638         define as alias of __mq_timedsend.  Use hidden_weak.
22639         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
22640         __mq_timedsend as strong name.
22641         (mq_timedreceive): Use __mq_timedreceive as strong name.
22642         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
22643         (__mq_timedreceive): Likewise.
22644         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
22645         __mq_timedreceive instead of mq_timedreceive.
22646         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
22647         instead of mq_timedsend.
22648         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
22649         Remove variable.
22651         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
22652         hidden_def and hidden_weak instead of libc_hidden_def and
22653         libc_hidden_weak.
22654         (top level): Refer to hidden_def in comment.
22655         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
22656         macro.  Use it instead of libc_hidden_def.
22657         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
22658         specify __GI_* name explicitly.
22659         (mq_timedreceive): Likewise.
22660         (mq_setattr): Likewise.
22662         [BZ #18544]
22663         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
22664         __pthread_barrier_init and define as weak alias of
22665         __pthread_barrier_init.
22666         * sysdeps/sparc/nptl/pthread_barrier_init.c
22667         (pthread_barrier_init): Likewise.
22668         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
22669         __pthread_barrier_wait and define as weak alias of
22670         __pthread_barrier_wait.
22671         * sysdeps/sparc/nptl/pthread_barrier_wait.c
22672         (pthread_barrier_wait): Likewise.
22673         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
22674         (pthread_barrier_wait): Likewise.
22675         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
22676         (pthread_barrier_wait): Likewise.
22677         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
22678         (pthread_barrier_wait): Likewise.
22679         * nptl/Versions (libpthread): Export __pthread_barrier_init and
22680         __pthread_barrier_wait at version GLIBC_PRIVATE.
22681         * include/pthread.h (__pthread_barrier_init): Declare.
22682         (__pthread_barrier_wait): Likewise.
22683         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
22684         Call __pthread_barrier_wait instead of pthread_barrier_wait.
22685         (helper_thread): Likewise.
22686         (init_mq_netlink): Call __pthread_barrier_init instead of
22687         pthread_barrier_init.
22689         [BZ #18542]
22690         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
22691         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
22692         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
22693         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
22694         vswscanf.
22695         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
22696         Remove variable.
22698         [BZ #18540]
22699         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
22700         strong alias of _IO_fflush.  Use libc_hidden_def.
22701         * libio/iofflush_u.c (fflush_unlocked): Rename to
22702         __fflush_unlocked and define as weak alias of __fflush_unlocked.
22703         Use libc_hidden_weak.
22704         * include/stdio.h (__fflush_unlocked): Declare.  Use
22705         libc_hidden_proto.
22706         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
22707         fflush_unlocked.
22708         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
22709         Remove variable.
22711         [BZ #18539]
22712         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
22713         define as weak alias of __addseverity.
22714         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
22715         Remove variable.
22716         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
22717         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
22718         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
22720         [BZ #18536]
22721         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
22722         (__tfind): Likewise.
22723         (__tdelete): Likewise.
22724         (__twalk): Likewise.
22725         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
22726         __twalk to GLIBC_PRIVATE.
22727         * include/search.h (__tsearch): Use libc_hidden_proto.
22728         (__tfind): Likewise.
22729         (__tdelete): Likewise.
22730         (__twalk): Likewise.
22731         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
22732         Call __tdelete instead of tdelete.
22733         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
22734         tfind.  Call __tsearch instead of tsearch.
22735         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
22736         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
22737         Remove variable.
22738         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
22740         [BZ #18534]
22741         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
22742         (dprintf): Define as a weak alias of __dprintf, not a strong
22743         alias.
22744         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
22745         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
22746         dprintf.
22747         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
22748         Remove variable.
22749         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
22750         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
22752         [BZ #18533]
22753         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
22754         not a strong alias.
22755         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
22756         Remove variable.
22758         [BZ #18532]
22759         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
22760         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
22761         (in6addr_loopback): Rename to __in6addr_loopback and define as
22762         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
22763         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
22764         libc_hidden_proto.
22765         (__in6addr_any): Likewise.
22766         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
22767         in6addr_any.
22768         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
22769         variable.
22770         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
22772 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
22774         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
22775         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
22776         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
22777         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22778         redirections for pow.
22779         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22780         * sysdeps/x86_64/fpu/Versions: New versions added.
22781         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22782         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22783         build of SSE, AVX2 and AVX512 IFUNC versions.
22784         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
22785         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
22786         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
22787         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
22788         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
22789         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
22790         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
22791         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
22792         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
22793         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
22794         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
22795         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
22796         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
22797         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
22798         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
22799         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22800         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
22801         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22802         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22803         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22804         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
22805         * NEWS: Mention addition of x86_64 vector pow.
22807         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22808         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22809         redirections for expf.
22810         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22811         * sysdeps/x86_64/fpu/Versions: New versions added.
22812         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22813         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22814         build of SSE, AVX2 and AVX512 IFUNC versions.
22815         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
22816         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
22817         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
22818         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
22819         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
22820         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
22821         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
22822         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
22823         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
22824         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
22825         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
22826         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
22827         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
22828         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
22829         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22830         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22831         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22832         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22833         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22834         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22835         * NEWS: Mention addition of x86_64 vector expf.
22837         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
22838         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
22839         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
22840         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22841         redirections for exp.
22842         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22843         * sysdeps/x86_64/fpu/Versions: New versions added.
22844         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22845         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22846         build of SSE, AVX2 and AVX512 IFUNC versions.
22847         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
22848         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
22849         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
22850         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
22851         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
22852         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
22853         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
22854         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
22855         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
22856         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
22857         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
22858         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
22859         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
22860         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
22861         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22862         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
22863         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22864         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22865         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22866         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
22867         * NEWS: Mention addition of x86_64 vector exp.
22869         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22870         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22871         redirections for logf.
22872         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22873         * sysdeps/x86_64/fpu/Versions: New versions added.
22874         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22875         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22876         build of SSE, AVX2 and AVX512 IFUNC versions.
22877         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
22878         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
22879         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
22880         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
22881         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
22882         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
22883         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
22884         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
22885         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
22886         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
22887         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
22888         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
22889         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
22890         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
22891         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22892         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22893         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22894         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22895         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22896         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22897         * NEWS: Mention addition of x86_64 vector logf.
22899         * bits/libm-simd-decl-stubs.h: Added stubs for log.
22900         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
22901         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
22902         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22903         redirections for log.
22904         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22905         * sysdeps/x86_64/fpu/Versions: New versions added.
22906         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22907         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22908         build of SSE, AVX2 and AVX512 IFUNC versions.
22909         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
22910         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
22911         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
22912         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
22913         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
22914         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
22915         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
22916         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
22917         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
22918         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
22919         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
22920         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
22921         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
22922         test.
22923         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
22924         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22925         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
22926         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22927         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22928         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22929         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
22930         * NEWS: Mention addition of x86_64 vector log.
22932 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22934         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
22935         cfi_adjust_cfa_offset argument.
22936         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
22937         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
22939         [BZ #18034]
22940         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
22941         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
22942         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
22943         ordering using ldar.
22944         (_dl_tlsdesc_dynamic): Likewise.
22945         (_dl_tlsdesc_return_lazy): Likewise.
22946         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
22947         relaxed atomics instead of volatile and synchronize with release store.
22948         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
22949         volatile.
22950         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
22952 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
22954         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22955         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
22956         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22957         * sysdeps/x86_64/fpu/Versions: New versions added.
22958         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22959         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22960         build of SSE, AVX2 and AVX512 IFUNC versions.
22961         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
22962         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
22963         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
22964         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
22965         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
22966         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
22967         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
22968         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
22969         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
22970         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
22971         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
22972         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
22973         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
22974         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
22975         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22976         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22977         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22978         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22979         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22980         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22981         * NEWS: Mention addition of x86_64 vector sinf.
22983 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
22985         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
22986         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
22987         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
22988         Remove variable.
22989         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
22990         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
22992 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
22994         [BZ #18530]
22995         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
22996         strong alias of _IO_fputs.  Use libc_hidden_def.
22997         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
22998         and define as weak alias of __fputs_unlocked.  Use
22999         libc_hidden_weak.
23000         * include/stdio.h (__fputs_unlocked): Declare.  Use
23001         libc_hidden_proto.
23002         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
23003         fputs_unlocked.
23005         [BZ #18529]
23006         * resolv/netdb.h [__USE_POSIX]: Change condition to
23007         [__USE_XOPEN2K].
23008         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
23009         not expect.
23010         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
23011         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
23012         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
23013         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
23014         [XPG4 || UNIX98] (AI_ALL): Likewise.
23015         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
23016         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
23017         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
23018         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
23019         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
23020         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
23021         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
23022         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
23023         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
23024         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
23025         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
23026         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
23027         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
23028         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
23029         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
23030         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
23031         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
23032         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
23033         [XPG4 || UNIX98] (gai_strerror): Likewise.
23034         [XPG4 || UNIX98] (getaddrinfo): Likewise.
23035         [XPG4 || UNIX98] (getnameinfo): Likewise.
23037         [BZ #18528]
23038         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
23039         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
23040         __USE_XOPEN2K8].
23041         (getgrent): Likewise.
23042         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
23043         expect.
23044         [XPG3 || POSIX2008] (endgrent): Likewise.
23045         [XPG3] (setgrent): Likewise.
23046         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
23047         variable.
23048         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
23050         [BZ #18527]
23051         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
23052         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
23053         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
23054         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
23055         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
23056         * include/unistd.h (__getlogin_r): Declare.  Use
23057         libc_hidden_proto.
23058         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
23059         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
23060         variable.
23061         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
23062         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
23063         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
23065 2015-06-12  Martin Sebor  <msebor@redhat.com>
23067         [BZ #18512]
23068         * Makerules (check-install-supported): New target.
23069         (install): Add check-install-supported as a dependency.
23070         * manual/install.texi (Installing the C Library): Document
23071         that overriding prefix and exec_prefix is not supported.
23072         Mention DESTDIR.
23073         * INSTALL: Regenerate from the above.
23075 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
23077         [BZ #18519]
23078         * posix/Versions (libc): Export __libc_pread at version
23079         GLIBC_PRIVATE.
23080         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
23081         instead of pread.
23082         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
23083         variable.
23085         [BZ #18522]
23086         * misc/efgcvt_r.c
23087         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
23088         (cvt_symbol): Use weak_alias instead of strong_alias.
23089         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
23090         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
23091         Remove variable.
23092         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
23093         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
23095         [BZ #18520]
23096         * inet/herrno.c (h_errno): Rename to __h_errno.
23097         (__libc_h_errno): Define as alias of __h_errno not h_errno.
23098         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
23099         to __h_errno instead of h_errno.
23100         * nptl/herrno.c (h_errno): Rename to __h_errno.
23101         (__h_errno_location): Refer to __h_errno not h_errno.
23102         * resolv/Versions (h_errno): Rename to __h_errno.
23103         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
23104         Remove variable.
23105         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
23107 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
23109         * configure.ac: More strict check for AVX512 assembler support.
23110         * configure: Regenerated.
23112         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
23113         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
23114         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
23115         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
23116         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23117         * sysdeps/x86_64/fpu/Versions: New versions added.
23118         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23119         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
23120         Added build of SSE, AVX2 and AVX512 IFUNC versions.
23121         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
23122         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
23123         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
23124         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
23125         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
23126         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
23127         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
23128         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
23129         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
23130         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
23131         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
23132         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
23133         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
23134         test.
23135         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
23136         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
23137         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
23138         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
23139         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
23140         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
23141         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
23142         * NEWS: Mention addition of x86_64 vector sin.
23144 2015-06-11  Florian Weimer  <fweimer@redhat.com>
23146         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
23147         comment.
23149 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
23151         [BZ #18479]
23152         * nptl/pt-interp.c: New file.
23153         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
23154         Add pt-interp.
23155         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
23156         $(common-objpfx)runtime-linker.h.
23158 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
23160         * Makeconfig (+interp): Remove unused variable.
23161         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
23162         only.  Depend on $(common-objpfx)runtime-linker.h instead of
23163         $(elf-objpfx)runtime-linker.h.
23164         ($(elf-objpfx)runtime-linker.h): Rename to
23165         $(common-objpfx)runtime-linker.h and move ...
23166         * Makerules [$(build-shared) = yes]: ... here.
23167         * elf/interp.c: Include <runtime-linker.h> instead of
23168         <elf/runtime-linker.h>.
23170 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23172         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
23173         (__gettimeofday_syscall): Remove vsyscall fallback.
23174         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
23175         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
23176         Add syscall fallback function.
23177         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
23178         if vDSO is not present.
23179         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
23180         fallback function.
23181         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
23182         present.
23183         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
23184         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
23186 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
23188         [BZ #18497]
23189         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
23190         of wcscmp.
23191         (wcscmp): Define as weak alias of WCSCMP.
23192         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
23193         wcscoll.
23194         (USE_HIDDEN_DEF): Define.
23195         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
23196         __wcscoll.  Don't use libc_hidden_weak.
23197         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
23198         wcscmp.
23199         * sysdeps/i386/i686/multiarch/wcscmp-c.c
23200         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
23201         __GI_wcscmp.
23202         (weak_alias): Undefine and redefine.
23203         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
23204         __wcscmp and define as weak alias of __wcscmp.
23205         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
23206         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
23207         (__wcscoll): Likewise.
23208         (wcscmp): Don't use libc_hidden_proto.
23209         (wcscoll): Likewise.
23210         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
23211         wcscoll.
23212         * posix/regexec.c (check_node_accept_bytes): Likewise.
23213         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
23214         variable.
23215         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
23216         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
23218         [BZ #18507]
23219         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
23220         __fstatvfs and define as weak alias of __fstatvfs.  Use
23221         libc_hidden_weak.
23222         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
23223         and define as weak alias of __statvfs.  Use libc_hidden_weak.
23224         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
23225         Define as alias of __fstatvfs, not fstatvfs.
23226         (fstatvfs64): Likewise.
23227         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
23228         Define as alias of __statvfs, not statvfs.
23229         (statvfs64): Likewise.
23230         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
23231         Remove variable.
23233 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23236         (HAVE_GETCPU_VSYSCALL): Define.
23237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23238         (HAVE_GETCPU_VSYSCALL): Likewise.
23239         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
23240         * sysdeps/unix/sysv/linux/sched_getcpu.c
23241         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
23242         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
23243         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
23244         prototype.
23245         * sysdeps/unix/sysv/linux/x86_64/init-first.c
23246         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
23247         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
23248         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
23249         Define.
23250         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
23251         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23252         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
23253         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23255 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
23257         * sysdeps/x86_64/fpu/Makefile: New file.
23258         * sysdeps/x86_64/fpu/Versions: New file.
23259         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
23260         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
23261         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
23262         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
23263         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
23264         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
23265         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
23266         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
23267         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
23268         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
23269         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
23270         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
23271         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
23272         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
23273         Added build of SSE, AVX2 and AVX512 IFUNC versions.
23274         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
23275         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
23276         * sysdeps/x86_64/configure.ac: Options for libmvec build.
23277         * sysdeps/x86_64/configure: Regenerated.
23278         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
23279         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
23280         * manual/install.texi (Configuring and compiling): Document
23281         --disable-mathvec.
23282         * INSTALL: Regenerated.
23283         * NEWS: Mention addition of libmvec and x86_64 vector cos.
23285         * math/Makefile: Added rules for vector tests.
23286         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
23287         declaration under condition.
23288         * math/test-double-vlen2.h: New file.
23289         * math/test-double-vlen4.h: New file.
23290         * math/test-double-vlen8.h: New file.
23291         * math/test-vec-loop.h: Added initialization macro.
23292         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
23293         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
23294         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
23295         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
23296         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
23297         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
23298         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
23299         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
23300         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
23301         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
23302         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
23304         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23305         * sysdeps/x86_64/fpu/Versions: New versions added.
23306         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
23307         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
23308         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
23309         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
23310         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
23311         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
23312         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
23313         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
23314         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
23315         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
23316         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
23317         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
23318         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
23319         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
23320         Added build of SSE, AVX2 and AVX512 IFUNC versions.
23321         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
23322         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
23323         * NEWS: Mention addition of x86_64 vector cosf.
23325         * math/Makefile: Added CFLAGS for new tests.
23326         * math/test-float-vlen16.h: New file.
23327         * math/test-float-vlen4.h: New file.
23328         * math/test-float-vlen8.h: New file.
23329         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
23330         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
23331         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23332         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
23333         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
23334         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
23335         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
23336         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
23337         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
23338         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
23339         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
23341 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
23343         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
23344         * locale/programs/ld-ctype.c: Likewise.
23346 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
23348         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
23349         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
23350         bit_ZMM16_31_state): New macro.
23351         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23352         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
23354 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
23356         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
23358 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
23360         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
23362 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
23364         [BZ #18498]
23365         * libio/memstream.c (open_memstream): Rename to __open_memstream
23366         and define as weak alias of __open_memstream.
23367         * include/stdio.h (__open_memstream): Declare.  Use
23368         libc_hidden_proto.
23369         (open_memstream): Don't use libc_hidden_proto.
23370         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
23371         open_memstream.
23372         * posix/getopt.c (_getopt_internal_r): Likewise.
23373         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
23374         variable.
23375         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
23376         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
23377         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
23379         [BZ #18496]
23380         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
23381         instead of wcrtomb.
23383         [BZ #18483]
23384         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
23385         [__USE_XOPEN2K8].  Remove redundant #endif.
23386         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
23387         Remove redundant #if.
23388         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
23389         Remove variable.
23390         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
23391         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
23393         [BZ #18495]
23394         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
23395         (__iswlower): Likewise.
23396         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
23397         (__iswlower): Likewise.
23398         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
23399         instead of towlower.
23400         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
23401         instead of iswlower.  Call __towupper instead of towupper.
23402         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
23403         instead of iswalnum.
23405 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23407         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
23408         errors to stderr.
23410 2015-06-05  Florian Weimer  <fweimer@redhat.com>
23412         [BZ #15661]
23413         [BZ #17322]
23414         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
23415         Check for overflow properly.  Check for O_APPEND.  Ignore large
23416         file system block sizes.  Add comments about problems.
23417         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
23418         * manual/filesys.texi (Storage Allocation): New node.
23420 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23422         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
23423         cancellable syscalls.
23424         (SYS_ify): Add guard to no redefine it.
23425         (INLINE_SYSCALL): Likewise.
23426         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
23427         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
23428         SYSCALL_CANCEL instead.
23429         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
23430         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
23431         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
23432         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
23433         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
23434         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
23435         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
23436         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
23437         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
23438         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
23439         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
23440         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
23441         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
23442         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
23443         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
23444         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
23445         Likewise.
23446         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
23447         (__libc_pread64): Likewise.
23448         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
23449         (__libc_preadv): Likewise.
23450         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
23451         (__libc_readv64): Likewise.
23452         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
23453         (__libc_pwrite): Likewise.
23454         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
23455         (__libc_pwrite64): Likewise.
23456         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
23457         (__libc_pwritev): Likewise.
23458         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
23459         (__libc_pwritev64): Likewise.
23460         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
23461         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
23462         (sync_file_range): Likewise.
23463         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
23464         Likewise.
23465         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
23466         Likewise.
23467         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
23468         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
23469         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
23470         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
23471         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
23472         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
23473         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
23474         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
23475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
23476         Likewise.
23477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
23478         (__libc_read64): Likewise.
23479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
23480         Likewise.
23481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
23482         Likewise.
23483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
23484         Likewise.
23485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
23486         Likewise.
23487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
23488         (__libc_pread64): Likewise.
23489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
23490         Likewise.
23491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
23492         (__libc_pwrite64): Likewise.
23493         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
23494         (sync_file_range): Likewise.
23495         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
23496         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
23497         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
23498         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
23499         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
23500         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
23501         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
23502         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
23503         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
23504         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
23505         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
23506         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
23507         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
23508         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
23509         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
23510         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
23511         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
23512         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
23513         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
23514         Likewise.
23515         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
23516         Likewise.
23517         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
23518         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
23519         Likewise.
23520         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
23521         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
23522         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
23523         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
23524         Likewise.
23525         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
23526         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
23527         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
23528         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
23529         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
23531 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
23533         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
23534         Include dl-vdso.
23535         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
23536         Use VDSO routines for gettimeofday, clock_gettime if
23537         available.
23538         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
23539         Declare VDSO symbols.
23540         * sysdeps/unix/sysv/linux/arm/sysdep.h:
23541         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
23542         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
23543         * sysdeps/unix/sysv/linux/arm/Versions: Add
23544         __vdso_clock_gettime.
23546 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23548         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
23549         be an inline implementation regardless of library is built within.
23550         (open_not_cancel_2): Likewise.
23551         (__read_nocancel): Likewise.
23552         (__write_nocancel): Likewise.
23553         (openat_not_cancel): Likewise.
23554         (openat_not_cancel_3): Likewise.
23555         (openat64_not_cancel): Likewise.
23556         (openat64_not_cancel_3): Likewise.
23557         (__close_nocancel): Likewise.
23558         (pause_not_cancel): Likewise.
23559         (nanosleep_not_cancel): Likewise.
23560         (sigsuspend_not_cancel): Likewise.
23562 2015-06-04  Torvald Riegel  <triegel@redhat.com>
23564         [BZ #14958]
23565         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
23566         wake-up.
23567         (__pthread_rwlock_rdlock_slow): Likewise.
23568         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
23569         Likewise.
23570         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
23571         Likewise.
23572         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
23573         * nptl/tst-rwlock16.c: New file.
23574         * nptl/Makefile (tests): Add new test.
23576 2015-06-04  Torvald Riegel  <triegel@redhat.com>
23578         [BZ #18324]
23579         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
23580         missing wake-up of readers.
23581         * nptl/tst-rwlock15.c: New file.
23582         * nptl/Makefile (tests): Add new test.
23584 2015-06-03  Roland McGrath  <roland@hack.frob.com>
23586         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
23587         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
23588         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
23589         and __nacl_supply_interface_rtld.
23590         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
23591         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
23592         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
23593         Add __nacl_supply_interface_rtld.
23594         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
23596 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
23598         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
23599         isfinite.
23600         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23601         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
23603 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
23605         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
23606         __signbit* with standard C99 macros.
23607         * math/e_exp10l.c: Likewise.
23608         * math/e_exp2l.c: Likewise.
23609         * math/e_scalb.c: Likewise.
23610         * math/e_scalbf.c: Likewise.
23611         * math/e_scalbl.c: Likewise.
23612         * math/s_ldexp.c: Likewise.
23613         * math/s_ldexpf.c: Likewise.
23614         * math/s_ldexpl.c: Likewise.
23615         * math/w_atan2.c: Likewise.
23616         * math/w_atan2f.c: Likewise.
23617         * math/w_atan2l.c: Likewise.
23618         * math/w_cosh.c: Likewise.
23619         * math/w_coshf.c: Likewise.
23620         * math/w_coshl.c: Likewise.
23621         * math/w_exp10.c: Likewise.
23622         * math/w_exp10f.c: Likewise.
23623         * math/w_exp10l.c: Likewise.
23624         * math/w_exp2.c: Likewise.
23625         * math/w_exp2f.c: Likewise.
23626         * math/w_exp2l.c: Likewise.
23627         * math/w_fmod.c: Likewise.
23628         * math/w_fmodf.c: Likewise.
23629         * math/w_fmodl.c: Likewise.
23630         * math/w_hypot.c: Likewise.
23631         * math/w_hypotf.c: Likewise.
23632         * math/w_hypotl.c: Likewise.
23633         * math/w_jnl.c: Likewise.
23634         * math/w_lgamma.c: Likewise.
23635         * math/w_lgamma_r.c: Likewise.
23636         * math/w_lgammaf.c: Likewise.
23637         * math/w_lgammaf_r.c: Likewise.
23638         * math/w_lgammal.c: Likewise.
23639         * math/w_lgammal_r.c: Likewise.
23640         * math/w_pow.c: Likewise.
23641         * math/w_powf.c: Likewise.
23642         * math/w_powl.c: Likewise.
23643         * math/w_remainder.c: Likewise.
23644         * math/w_remainderf.c: Likewise.
23645         * math/w_remainderl.c: Likewise.
23646         * math/w_scalb.c: Likewise.
23647         * math/w_scalbf.c: Likewise.
23648         * math/w_scalbl.c: Likewise.
23649         * math/w_scalbln.c: Likewise.
23650         * math/w_scalblnf.c: Likewise.
23651         * math/w_scalblnl.c: Likewise.
23652         * math/w_sinh.c: Likewise.
23653         * math/w_sinhf.c: Likewise.
23654         * math/w_sinhl.c: Likewise.
23655         * math/w_tgamma.c: Likewise.
23656         * math/w_tgammaf.c: Likewise.
23657         * math/w_tgammal.c: Likewise.
23658         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23659         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
23660         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23661         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23662         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23663         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23664         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
23665         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23666         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23667         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23668         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23669         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
23670         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23671         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23672         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23673         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23674         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23675         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
23676         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23677         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23678         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23679         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23680         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23681         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23682         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
23683         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23684         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
23685         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23686         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23687         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23688         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
23689         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
23690         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
23691         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
23692         * stdio-common/printf_fp.c: Likewise.
23693         * stdio-common/printf_fphex.c: Likewise.
23694         * stdio-common/printf_size.c: Likewise.
23696 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
23698         [BZ #18470]
23699         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
23700         strnlen.
23701         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
23702         Remove variable.
23703         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
23704         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
23705         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
23706         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
23707         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
23708         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
23709         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
23710         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
23711         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
23712         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
23714         [BZ #18468]
23715         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
23716         weak alias of __wmemchr.  Use libc_hidden_weak.
23717         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
23718         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
23719         instead of wmemchr.
23721 2015-06-02  Roland McGrath  <roland@hack.frob.com>
23723         [BZ #18383]
23724         * elf/tst-tlsalign-extern.c: New file.
23725         * elf/tst-tlsalign-extern-static.c: New file.
23726         * elf/tst-tlsalign-vars.c: New file.
23727         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
23728         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
23729         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
23730         ($(objpfx)tst-tlsalign-extern-static): Likewise.
23731         (test-xfail-tst-tlsalign-extern-static): New variable.
23733 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
23735         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
23736         Use variable name _sc_err instead of err.
23737         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
23738         instead of ret.
23739         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
23740         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
23741         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
23742         (INLINE_SYSCALL): Likewise.
23744         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
23745         * include/string.h (__strnlen): Use libc_hidden_proto.
23746         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
23747         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
23748         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
23749         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
23750         (libc_hidden_def): Undefine and redefine.
23751         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
23752         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
23753         __GI_strnlen.
23754         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
23755         libc_hidden_def.
23756         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
23758         [BZ #18469]
23759         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
23760         weak alias of __towlower.  Use libc_hidden_weak.
23761         (towupper): Rename to __towupper and define as weak alias of
23762         __towupper.  Use libc_hidden_weak.
23763         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
23764         (__towupper): Likewise.
23765         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
23766         __towlower instead of towlower.
23768 2015-06-02  Roland McGrath  <roland@hack.frob.com>
23770         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
23771         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
23773 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23775         * sysdeps/aarch64/libm-test-ulps: Update.
23777 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23779         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
23780         Define.
23781         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23782         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
23783         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
23784         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23785         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
23786         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
23787         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
23789 2015-06-01  Martin Sebor  <msebor@redhat.com>
23791         [BZ #18116]
23792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
23793         (__setcontext): Use extended four-operand version of mtsf whenever
23794         possible.
23795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
23796         (__novec_swapcontext): Likewise.
23798 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
23800         * benchtests/scripts/compare_bench.py: New file.
23801         * benchtests/scripts/import_bench.py (mean): New function.
23802         (split_list): Likewise.
23803         (do_for_all_timings): Likewise.
23804         (compress_timings): Likewise.
23806         * benchtests/scripts/import_bench.py: New file.
23807         * benchtests/scripts/validate_benchout.py: Import import_bench
23808         instead of jsonschema.
23809         (validate_bench): Remove function.
23810         (main): Use import_bench.
23812 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
23814         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
23815         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
23817 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23819         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23821 2015-05-28  Roland McGrath  <roland@hack.frob.com>
23823         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
23824         set THREAD_SELF->tid to a magic value and futex-wake it.
23825         Pass its address to the thread_exit system call.
23826         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
23827         bit is clear.
23828         * sysdeps/nacl/lowlevellock.h: New file.
23829         * sysdeps/nacl/lll_timedwait_tid.c: New file.
23831         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
23832         Add TIMEOUT to current time, don't subtract it.
23834 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
23836         [BZ #2981]
23837         [BZ #18422]
23838         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
23839         ($(objpfx)tst-audit2.out): Also depend on
23840         $(objpfx)tst-auditmod9b.so.
23841         * elf/tst-audit2.c: Include <dlfcn.h>.
23842         (calloc_called): New.
23843         (calloc): Allow to be called more than once.
23844         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
23846 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
23848         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
23849         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
23851 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
23853         * stdlib/monetary.h: Fix comment.
23855 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
23857         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
23858         Avoid using variables in #defines that might cause shadowing.
23859         (INTERNAL_VSYSCALL_CALL): Likewise.
23861 2015-05-26  Roland McGrath  <roland@hack.frob.com>
23863         * sysdeps/nacl/lll_timedlock_wait.c: New file.
23865         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
23866         * nptl/lll_timedlock_wait.c: ... to this new file.
23867         * nptl/Makefile (libpthread-routines): Add it.
23868         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
23869         * nptl/lll_timedwait_tid.c: ... to this new file.
23870         * nptl/Makefile (libpthread-routines): Add it.
23871         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
23872         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
23873         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
23874         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
23875         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
23876         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
23877         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
23878         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
23879         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
23880         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
23882 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23884         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
23885         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
23886         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
23887         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
23888         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
23889         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
23890         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23891         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23892         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23893         * sysdeps/unix/sysv/linux/tile/sysdep.h
23894         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23895         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
23896         using vDSO syscall macro.
23898 2015-05-26  Andriy Rysin  <arysin@gmail.com>
23900         [BZ #17293]
23901         * uk_UA: Fix sorting order for Ukrainian locale
23903 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
23905         * stdlib/monetary.h: Fix comment.
23907 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23909         [BZ #18234]
23910         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
23911         st_mtim and st_ctim members.
23912         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
23913         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
23914         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
23915         (struct stat64): Likewise.
23916         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
23917         (struct stat64): Likewise.
23918         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
23919         (struct stat64): Likewise.
23921 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23923         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
23924         Define and include sysdep-vdso.h.
23925         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
23926         Likewise.
23927         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
23928         Likewise.
23929         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
23930         Define with VDSO_SYMBOL and use PTR_MANGLE.
23931         (__vdso_clock_gettime): Likewise.
23932         (__vdso_clock_getres): Likewise.
23933         (_libc_vdso_platform_setup): Likewise.
23934         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
23935         Likewise.
23936         (_libc_vdso_platform_setup): Likewise.
23937         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
23938         Likewise.
23939         (__vdso_clock_gettime): Likewise.
23940         (__vdso_clock_getres): Likewise.
23941         (__vdso_get_tbfreq): Likewise.
23942         (__vdso_getcpu): Likewise.
23943         (__vdso_time): Likewise.
23944         (__vdso_sigtramp_rt64): Likewise.
23945         (__vdso_signtramp32): Likewise.
23946         (__vdso_sigtramp_rt32): Likewise.
23947         (_libc_vdso_platform_setup): Likewise.
23948         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
23949         Likewise.
23950         (__vdso_clock_gettime): Likewise.
23951         (__vdso_clock_getres): Likewise.
23952         (_libc_vdso_platform_setup): Likewise.
23953         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
23954         Likewise.
23955         (__vdso_clock_gettime): Likewise.
23956         (_libc_vdso_platform_setup): Likewise.
23957         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
23958         Likewise.
23959         (__vdso_getcpu): Likewise.
23960         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
23961         Use VDSO_SYMBOL macro to define.
23962         (__vdso_clock_gettime): Likewise.
23963         (__vdso_clock_getres): Likewise.
23964         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
23965         Likewise.
23966         (__vdso_clock_gettime): Likewise.
23967         (__vdso_clock_getres): Likewise.
23968         (__vdso_get_tbfreq): Likewise.
23969         (__vdso_getcpu): Likewise.
23970         (__vdso_time): Likewise.
23971         (__vdso_sigtramp_rt64): Likewise.
23972         (__vdso_signtramp32): Likewise.
23973         (__vdso_sigtramp_rt32): Likewise.
23974         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
23975         Likewise.
23976         (__vdso_clock_gettime): Likewise.
23977         (__vdso_clock_getres): Likewise.
23978         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
23979         Likewise.
23980         (__vdso_clock_gettime): Likewise.
23981         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
23982         Likewise.
23983         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
23984         macro.
23985         (INTERNAL_VSYSCALL): Likewise.
23986         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
23987         Remove macro.
23988         (INTERNAL_VSYSCALL): Likewise.
23989         (INTERNAL_VSYSCALL_NCS): Likewise.
23990         (INTERNAL_VSYSCALL_CALL): New macro.
23991         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
23992         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
23993         Likewise.
23994         (INTERNAL_VSYSCALL): Likewise.
23995         (INTERNAL_VSYSCALL_NCS): Likewise.
23996         (INTERNAL_VSYSCALL_CALL): New macro.
23997         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
23998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23999         (INLINE_VSYSCALL): Remove macro.
24000         (INTERNAL_VSYSCALL): Remove macro.
24001         (INTERNAL_VSYSCALL_NCS): Remove macro.
24002         (INTERNAL_VSYSCALL_CALL): New macro.
24003         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
24004         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
24005         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
24006         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
24007         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
24008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24009         (INLINE_VSYSCALL): Remove macro.
24010         (INTERNAL_VSYSCALL): Likewise.
24011         (INTERNAL_VSYSCALL_NCS): Likewise.
24012         (INTERNAL_VSYSCALL_CALL): New macro.
24013         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
24014         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
24015         PTR_DEMANGLE on vDSO pointer.
24016         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
24017         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
24018         macro.
24019         (INTERNAL_SYSCALL): Likewise.
24020         (INTERNAL_VSYSCALL_NCS): Remove macro.
24021         (INTERNAL_VSYSCALL_CALL): New macro.
24022         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
24023         Remove macro.
24024         (INTERNAL_VSYSCALL): Likewise.
24025         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
24026         sysdep-vdso.h instead of libc-vdso.h.
24027         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
24028         definition.
24029         (INLINE_VSYSCALL): Likewise.
24030         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
24031         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
24032         definition.
24033         (INLINE_VSYSCALL): Likewise.
24034         (INTERNAL_VSYSCALL): Likewise.
24035         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
24036         * sysdeps/unix/sysv/linux/timespec_get.c
24037         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
24038         (timespec_get): Use ANSI prototype.
24039         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
24040         and definition for Linux.
24042 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
24044         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
24045         * include/libc-symbols.h: libmvec_hidden_* macro series added.
24047 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
24049         [BZ #2981]
24050         [BZ #18410]
24051         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
24052         for missing DT_PLTRELSZ.
24054 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
24056         Remove obsolete aliases that broke 'locale -a'
24057         [BZ #18412]
24058         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
24059         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
24060         breaking some applications that use 'locale -a' output.
24061         Change the encoding of this file from Latin-1 to ASCII to avoid
24062         other potential problems with people grepping this file.
24064 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24066         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
24067         -fasynchronous-unwind-tables.
24068         (CFLAGS-sendto.c): Likewise.
24069         (CFLAGS-sendmsg.c): Likewise.
24070         (CFLAGS-connect.c): Likewise.
24071         (CFLAGS-recvmsg.c): Likewise.
24072         (CFLAGS-recvfrom.c): Likewise.
24073         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
24074         (SOCKETCALL): New macro: non-cancellable socketcall.
24075         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
24076         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
24077         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
24078         * sysdeps/unix/sysv/linux/accept.c: New file.
24079         * sysdeps/unix/sysv/linux/bind.c: Likewise.
24080         * sysdeps/unix/sysv/linux/connect.c: Likewise.
24081         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
24082         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
24083         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
24084         * sysdeps/unix/sysv/linux/listen.c: Likewise.
24085         * sysdeps/unix/sysv/linux/recv.c: Likewise.
24086         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
24087         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
24088         * sysdeps/unix/sysv/linux/send.c: Likewise.
24089         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
24090         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
24091         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
24092         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
24093         * sysdeps/unix/sysv/linux/socket.c: Likewise.
24094         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
24095         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
24096         prototype.
24097         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
24098         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
24099         instead of __internal_xxx function.
24100         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
24101         prototype.
24102         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
24103         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
24104         instead of __internal_xxx function.
24105         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
24106         prototype.
24107         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
24108         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
24109         instead of __internal_xxx function.
24110         * sysdeps/unix/sysv/linux/accept.S: Remove file.
24111         * sysdeps/unix/sysv/linux/bind.S: Likewise.
24112         * sysdeps/unix/sysv/linux/connect.S: Likewise.
24113         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
24114         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
24115         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
24116         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
24117         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
24118         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
24119         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
24120         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
24121         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
24122         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
24123         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
24124         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
24125         * sysdeps/unix/sysv/linux/listen.S: Likewise.
24126         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
24127         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
24128         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
24129         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
24130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
24131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
24132         * sysdeps/unix/sysv/linux/recv.S: Likewise.
24133         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
24134         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
24135         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
24136         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
24137         * sysdeps/unix/sysv/linux/send.S: Likewise.
24138         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
24139         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
24140         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
24141         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
24142         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
24143         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
24144         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
24145         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
24146         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
24147         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
24148         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
24149         socketcall is implemented in GLIBC.
24151 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
24153         * soft-fp/fmadf4.c: Include <libc-internal.h>.
24154         (__fma): Ignore uninitialized warnings around packing.
24155         * soft-fp/fmasf4.c: Include <libc-internal.h>.
24156         (__fmaf): Ignore uninitialized warnings around packing.
24157         * soft-fp/fmatf4.c: Include <libc-internal.h>.
24158         (__fmal): Ignore uninitialized warnings around packing.
24160         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
24161         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
24162         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
24163         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
24165         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
24166         switch statement into default case.
24167         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
24169         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
24170         a conditional in forcing "inexact".
24171         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
24172         Likewise.
24174 2015-05-22  Roland McGrath  <roland@hack.frob.com>
24176         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
24177         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
24178         for each INTERNAL_SYSCALL use.
24180 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
24182         [BZ #438]
24183         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
24184         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
24185         variable.
24187         [BZ #18444]
24188         * string/basename.c (basename): Rename to __basename and define as
24189         weak alias of __basename.  Use libc_hidden_weak.
24190         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
24191         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
24192         __basename instead of basename.
24193         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
24194         Remove variable.
24195         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
24197 2015-05-18  Florian Weimer  <fweimer@redhat.com>
24199         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
24200         (_IO_JUMPS_FILE_plus): New.
24201         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
24202         _IO_CAST_FIELD_ACCESS.
24203         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
24204         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
24205         * libio/freopen.c (freopen): Likewise.
24206         * libio/freopen64.c (freopen64): Likewise.
24207         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
24208         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
24209         * libio/iofwide.c (_IO_fwide): Likewise.
24210         * libio/memstream.c (open_memstream): Likewise.
24211         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
24212         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
24213         * libio/oldiopopen.c (_IO_old_popen): Likewise.
24215 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
24217         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
24218         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
24219         NADJ.
24220         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
24221         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
24222         NADJ.
24223         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
24224         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
24225         NADJ.
24227         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
24228         (p == 4) case.
24230         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
24231         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
24232         Remove variable.
24233         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
24234         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
24235         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
24237 2015-05-21  Florian Weimer  <fweimer@redhat.com>
24239         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
24240         Adjust jump table label generation macros.
24242 2015-05-21  Florian Weimer  <fweimer@redhat.com>
24244         * stdio-common/vfprintf.c (vfprintf): Move local variables
24245         args_malloced, specs, specs_malloced, and the code after
24246         do_positional to the printf_positional function.
24247         (printf_positional): New function.
24249 2015-05-21  Florian Weimer  <fweimer@redhat.com>
24251         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
24252         function.
24253         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
24254         STEP4_TABLE, process_arg): Move macro definitions
24255         out of the vfprintf function.  (Cosmetic change only.)
24257 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
24259         * benchtests/Makefile (stdio-common-bench): Define.
24260         (benchset): Add stdio-common-bench.
24261         * sprintf-inputs: New file.
24262         * sprintf-source.c: New file.
24264 2015-05-21  Andreas Schwab  <schwab@suse.de>
24266         [BZ #13028]
24267         [BZ #17053]
24268         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
24269         of struct __res_state.
24270         * resolv/res_send.c (__libc_res_nsend): Likewise.
24271         (get_nsaddr): New function.
24272         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
24273         statp directly.
24275 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
24277         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
24278         -D_POSIX_C_SOURCE=199506L.
24280         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
24282         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
24283         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
24284         Do not mention otherwise.
24285         [POSIX] (_XOPEN_VERSION): Do not expect.
24286         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
24287         [POSIX] (_POSIX2_C_BIND): Likewise.
24288         [POSIX] (_POSIX2_VERSION): Likewise.
24289         [POSIX] (_XOPEN_XPG2): Likewise.
24290         [POSIX] (_XOPEN_XPG3): Likewise.
24291         [POSIX] (_XOPEN_XPG4): Likewise.
24292         [POSIX] (_XOPEN_UNIX): Likewise.
24293         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
24294         [POSIX] (_POSIX_BARRIERS): Likewise.
24295         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
24296         [POSIX] (_POSIX_CPUTIME): Likewise.
24297         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
24298         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
24299         [POSIX] (_POSIX_SHELL): Likewise.
24300         [POSIX] (_POSIX_SPAWN): Likewise.
24301         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
24302         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
24303         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
24304         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
24305         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
24306         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
24307         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
24308         [POSIX] (_XBS5_LP64_OFF64): Likewise.
24309         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
24310         [POSIX] (_POSIX_TIMEOUTS): Likewise.
24311         [POSIX] (_POSIX2_PBS): Likewise.
24312         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
24313         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
24314         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
24315         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
24316         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
24317         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
24318         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
24319         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
24320         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
24321         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
24322         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
24323         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
24324         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
24325         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
24326         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
24327         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
24328         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
24329         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
24330         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
24331         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
24332         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
24333         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
24334         [POSIX] (_SC_2_C_BIND): Likewise.
24335         [POSIX] (_SC_2_C_VERSION): Likewise.
24336         [POSIX] (_SC_2_PBS): Likewise.
24337         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
24338         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
24339         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
24340         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
24341         [POSIX] (_SC_2_PBS_TRACK): Likewise.
24342         [POSIX] (_SC_ATEXIT_MAX): Likewise.
24343         [POSIX] (_SC_BARRIERS): Likewise.
24344         [POSIX] (_SC_BASE): Likewise.
24345         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
24346         [POSIX] (_SC_DEVICE_IO): Likewise.
24347         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
24348         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
24349         [POSIX] (_SC_FD_MGMT): Likewise.
24350         [POSIX] (_SC_FIFO): Likewise.
24351         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
24352         [POSIX] (_SC_FILE_LOCKING): Likewise.
24353         [POSIX] (_SC_FILE_SYSTEM): Likewise.
24354         [POSIX] (_SC_IOV_MAX): Likewise.
24355         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
24356         [POSIX] (_SC_NETWORKING): Likewise.
24357         [POSIX] (_SC_PAGE_SIZE): Likewise.
24358         [POSIX] (_SC_PASS_MAX): Likewise.
24359         [POSIX] (_SC_PIPE): Likewise.
24360         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
24361         [POSIX] (_SC_REGEXP): Likewise.
24362         [POSIX] (_SC_SHELL): Likewise.
24363         [POSIX] (_SC_SIGNALS): Likewise.
24364         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
24365         [POSIX] (_SC_SPIN_LOCKS): Likewise.
24366         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
24367         [POSIX] (_SC_USER_GROUPS): Likewise.
24368         [POSIX] (_SC_USER_GROUPS_R): Likewise.
24369         [POSIX] (_SC_STREAMS): Likewise.
24370         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
24371         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
24372         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
24373         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
24374         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
24375         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
24376         [POSIX] (_PC_FILESIZEBITS): Likewise.
24377         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
24378         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
24379         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
24380         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
24381         [POSIX] (uid_t): Likewise.
24382         [POSIX] (gid_t): Likewise.
24383         [POSIX] (off_t): Likewise.
24384         [POSIX] (pid_t): Likewise.
24385         [POSIX] (cuserid): Allow.
24386         (_SC_2_CHAR_TERM): Require constant.
24387         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
24388         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
24389         variable.
24391 2015-05-20  Roland McGrath  <roland@hack.frob.com>
24393         * sysdeps/nacl/pthread-pids.h: New file.
24394         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
24395         (create_thread): Use __nacl_get_tid to initialize PD->tid.
24397         * nptl/pthread-pids.h: New file.
24398         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
24399         * nptl/nptl-init.c: Include <pthread-pids.h>.
24400         (__pthread_initialize_minimal_internal):
24401         Call __pthread_initialize_pids instead of set_tid_address syscall.
24403         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
24404         * sysdeps/posix/usleep.c: ... here.
24406 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24408         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
24409         call_pselect6 object.
24410         [$(subdir) = io]: Remove call_sync_file_range object.
24411         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
24412         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
24413         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
24414         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
24416 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
24418         * math/s_cproj.c: Add include "math_private.h".
24419         * math/s_cprojf.c: Likewise.
24420         * math/s_cprojl.c: Likewise.
24422 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
24424         [BZ #18244]
24425         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
24426         high mantissa bit when testing whether P is a NaN.
24427         * math/libm-test.inc (remainder_test_data): Add more tests.
24428         (remquo_test_data): Likewise.
24430         [BZ #18049]
24431         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
24432         below -32, return the argument, with underflow if subnormal.
24433         * math/auto-libm-test-in: Add more tests of atanh.
24434         * math/auto-libm-test-out: Regenerated.
24436 2015-05-19  Roland McGrath  <roland@hack.frob.com>
24438         [BZ #18434]
24439         * nptl/tst-sem15.c: New file.
24440         * nptl/Makefile (tests): Add it.
24441         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
24442         s/<</>>/ to fix typo in EOVERFLOW check.
24443         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
24445 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24447         * manual/strings.texi (envz_remove): Fix typo in safety
24448         annotations.
24450 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
24451             Steve Ellcey  <sellcey@imgtec.com>
24453         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
24454         in order to avoid strict alias warnings.
24455         (iruserok_af): Ditto for ra.
24457 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
24459         [BZ #17581]
24460         * malloc/hooks.c
24461         (magicbyte): Convert to a function and avoid returning 0x01.
24462         (mem2mem_check): Avoid using a length byte equal to the magic byte.
24463         (mem2chunk_check): Fix unsigned comparisons to zero.
24464         Hoist defs of sz and magic.
24466 2015-05-19  Richard Henderson  <rth@redhat.com>
24468         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
24470         * sysdeps/alpha/fpu/libm-test-ulps: Update.
24472 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24474         [BZ #16159]
24475         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
24476         * malloc/arena.c (arena_lock): Check if arena is corrupt.
24477         (reused_arena): Find a non-corrupt arena.
24478         (heap_trim): Pass arena to unlink.
24479         * malloc/hooks.c (malloc_check_get_size): Pass arena to
24480         malloc_printerr.
24481         (top_check): Likewise.
24482         (free_check): Likewise.
24483         (realloc_check): Likewise.
24484         * malloc/malloc.c (malloc_printerr): Add arena argument.
24485         (unlink): Likewise.
24486         (munmap_chunk): Adjust.
24487         (ARENA_CORRUPTION_BIT): New macro.
24488         (arena_is_corrupt): Likewise.
24489         (set_arena_corrupt): Likewise.
24490         (sysmalloc): Use mmap if there are no usable arenas.
24491         (_int_malloc): Likewise.
24492         (__libc_malloc): Don't fail if arena_get returns NULL.
24493         (_mid_memalign): Likewise.
24494         (__libc_calloc): Likewise.
24495         (__libc_realloc): Adjust for additional argument to
24496         malloc_printerr.
24497         (_int_free): Likewise.
24498         (malloc_consolidate): Likewise.
24499         (_int_realloc): Likewise.
24500         (_int_memalign): Don't touch corrupt arenas.
24501         * malloc/tst-malloc-backtrace.c: New test case.
24503         * Makefile (summarize-tests): Fix return value on success.
24505         * manual/string.texi (Envz Functions): Add envz_remove.
24507 2015-05-18  Roland McGrath  <roland@hack.frob.com>
24509         * sysdeps/posix/opendir.c: Include <stdbool.h>.
24510         (invalid_name): New function, broken out of ...
24511         (__opendirat): ... here.  Call it.
24512         (need_isdir_precheck): New function, broken out of ...
24513         (__opendirat): ... here.  Call it.
24514         Use __fxstatat64, not __xstatat64.
24515         (opendir_oflags): New function, broken out of ...
24516         (__opendirat): ... here.  Call it.
24517         (opendir_tail): New function, broken out of ...
24518         (__opendirat): ... here.  Call it.
24519         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
24520         opendir_tail, rather than punting to __opendirat.
24521         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
24523 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24525         * .gitignore: Ignore generated *.pyc.
24527 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
24529         * include/stdio.h: Define __need_wint_t.
24530         * test-skeleton.c: Avoid `for' loop initial declaration.
24531         * nptl/tst-initializers1.c: Use test-skeleton.c.
24533 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24535         [BZ #18418]
24536         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
24538 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
24540         [BZ #16352]
24541         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
24542         (__ieee754_atanh): Force underflow exception for results with
24543         small absolute value.
24544         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
24545         (__ieee754_atanhf): Force underflow exception for results with
24546         small absolute value.
24547         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
24548         (__ieee754_atanh): Force underflow exception for results with
24549         small absolute value.
24550         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
24551         (__ieee754_atanhf): Force underflow exception for results with
24552         small absolute value.
24553         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
24554         (__ieee754_atanhl): Force underflow exception for results with
24555         small absolute value.
24556         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
24557         (__ieee754_atanhl): Force underflow exception for results with
24558         small absolute value.
24559         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
24560         (__ieee754_atanhl): Force underflow exception for results with
24561         small absolute value.
24562         * math/auto-libm-test-in: Do not allow missing underflow
24563         exceptions from atanh.
24564         * math/auto-libm-test-out: Regenerated.
24566         [BZ #18221]
24567         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
24568         2**-28 as threshold for returning x or +/- 1/x.
24569         * math/auto-libm-test-in: Add more tests of tan.
24570         * math/auto-libm-test-out: Regenerated.
24572         [BZ #18220]
24573         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
24574         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
24575         * math/auto-libm-test-in: Add another test of lgamma.
24576         * math/auto-libm-test-out: Regenerated.
24578 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
24580         * stdio-common/printf_fp.c (___printf_fp): Use abs.
24581         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
24582         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
24583         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
24584         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
24585         (ADD2A): Use fabs.  (SUB2A): Use fabs.
24586         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
24587         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
24588         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
24589         (log1): Use fabs.  (my_log2): Use fabs.
24590         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
24591         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
24592         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
24593         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
24594         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
24595         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
24596         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
24597         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
24598         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
24599         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
24600         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
24602 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
24604         [BZ #18217]
24605         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
24606         as threshold for returning 1 - x.
24607         * math/auto-libm-test-in: Add more tests of erfc.
24608         * math/auto-libm-test-out: Regenerated.
24610 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
24612         [BZ #18196]
24613         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
24614         threshold for large arguments.
24615         * math/auto-libm-test-in: Add another test of atan.
24616         * math/auto-libm-test-out: Regenerated.
24618         [BZ #16339]
24619         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
24620         (__log1p): Force underflow exception for results with small
24621         absolute value.
24622         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
24623         (__log1pf): Force underflow exception for results with small
24624         absolute value.
24625         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
24626         (__log1p): Force underflow exception for results with small
24627         absolute value.
24628         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
24629         (__log1pf): Force underflow exception for results with small
24630         absolute value.
24631         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
24632         (__log1pl): Force underflow exception for results with small
24633         absolute value.
24634         * math/auto-libm-test-in: Do not allow missing underflow
24635         exceptions from log1p.
24636         * math/auto-libm-test-out: Regenerated.
24638 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
24639             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24641         [BZ #16704]
24642         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
24644 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
24646         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
24647         (libmvec): New variable.
24648         * configure.ac: Added option for mathvec build.
24649         * configure: Regenerated.
24650         * mathvec/Depend: New file.
24651         * mathvec/Makefile: New file.
24652         * shlib-versions: Added libmvec.
24653         * math/Makefile: Added rule for libm.so installation.
24655         * bits/math-vector.h: New file.
24656         * bits/libm-simd-decl-stubs.h: New header.
24657         * math/Makefile (headers): Added new header
24658         libm-simd-decl-stubs.h.
24659         * math/math.h (__MATHCALL_VEC): New macro.
24661         * math/gen-libm-have-vector-test.sh: Script generates series of macros
24662         for conditions in testing functions.
24663         * math/Makefile: Added call of libm-have-vector-test.sh.
24664         * math/libm-test.inc (HAVE_VECTOR): New macros.
24666         * math/libm-test.inc: START refactored.
24667         * math/test-double.c (TEST_MATHVEC): Add define.
24668         * math/test-float.c: Likewise.
24669         * math/test-idouble.c: Likewise.
24670         * math/test-ifloat.c: Likewise.
24671         * math/test-ildoubl.c: Likewise.
24672         * math/test-ldouble.c: Likewise.
24673         * sysdeps/generic/math-tests-arch.h
24674         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
24675         architecture check.
24677         * math/test-double.c (FUNC_TEST): New macro.
24678         * math/test-float.c: Likewise.
24679         * math/test-idouble.c: Likewise.
24680         * math/test-ifloat.c: Likewise.
24681         * math/test-ildoubl.c: Likewise.
24682         * math/test-ldouble.c: Likewise.
24683         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
24685 2015-05-13  Roland McGrath  <roland@hack.frob.com>
24687         * sysdeps/nacl/fdopendir.c: New file.
24689         * dirent/scandir-tail.c: New file.
24690         * dirent/scandir64-tail.c: New file.
24691         * dirent/Makefile (routines): Add them.
24692         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
24693         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
24694         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
24695         [!SCANDIR] (SCANDIR_TAIL): New macro.
24696         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
24697         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
24698         (SCANDIRAT): Macro removed.
24699         (SCANDIR_TAIL): New macro.
24700         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
24701         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
24702         (SCANDIRAT): Just call __opendirat and __scandir_tail.
24703         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
24704         (READDIR): Macro removed.
24705         (SCANDIR_TAIL): New macro.
24706         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
24707         (SCANDIR_TAIL): New macro.
24709         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
24710         * dirent/scandir-cancel.c: ... to this new file.
24711         * dirent/Makefile (routines): Add it.
24712         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
24713         * sysdeps/unix/sysv/linux/i386/scandir64.c
24714         (SKIP_SCANDIR_CANCEL): Macro removed.
24715         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
24717         * dirent/tst-scandir.c: New file.
24718         * dirent/tst-scandir64.c: New file.
24719         * dirent/Makefile (tests): Add them.
24721 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
24723         [BZ #18409]
24724         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
24726 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24728         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
24729         list.
24731 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
24733         * benchtests/bench-strcoll.c: New benchmark.
24734         * benchtests/Makefile: Generate locales and run benchmark.
24735         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
24736         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
24737         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
24738         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
24739         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
24740         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
24741         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
24742         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
24743         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
24744         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
24745         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
24746         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
24747         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
24748         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
24749         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
24750         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
24751         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
24752         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
24753         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
24754         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
24755         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
24756         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
24757         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
24758         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
24760 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
24762         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
24763         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24765 2015-05-12  Roland McGrath  <roland@hack.frob.com>
24767         * posix/uname-values.h: New file.
24768         * posix/uname.c: Include that instead of <config-name.h>.
24769         * sysdeps/nacl/uname-values.h: New file.
24770         * sysdeps/arm/nacl/uname-values.h: New file.
24772 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
24774         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
24775         splitting into fields.
24777 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
24779         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
24780         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
24781         * locale/localeinfo.h: Add enum collation_encoding_type.
24782         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
24783         * programs/ld-collate.c (collate_output): Add encoding type info.
24784         * string/strcoll_l.c (STRDIFF): New function.
24785         * (STRCOLL): Use STRDIFF to skip over equal prefix.
24786         * wcsmbs/wcscoll_l.c: Define STRDIFF.
24788 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
24790         [BZ #18397]
24791         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
24792         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
24793         <fpu_control.h> instead of <math/fpu_control.c>.
24794         * sysdeps/mips/mips32/fpu/Makefile: New file.
24796 2015-05-11  Andreas Schwab  <schwab@suse.de>
24798         [BZ #18007]
24799         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
24800         nss_endgrent.
24801         (_nss_compat_endgrent): Call nss_endgrent.
24802         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
24803         nss_endpwent.
24804         (_nss_compat_endpwent): Call nss_endpwent.
24805         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
24806         needent, call nss_setspent only if non-zero.
24807         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
24808         (internal_endspent): Don't call nss_endspent.
24809         (_nss_compat_endspent): Call nss_endspent.
24810         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
24811         Remove.  All uses removed.
24812         (internal_setent): Remove parameter stayopen, add parameter
24813         stream.  Use it instead of global variable.
24814         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
24815         (internal_endent, internal_getent): Add parameter stream.  Use it
24816         instead of global variable.
24817         (CONCAT(_nss_files_end,ENTNAME))
24818         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
24819         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
24820         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
24821         uses removed.
24822         (internal_setent, internal_endent): Add parameter stream.  Use it
24823         instead of global variable.
24824         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
24825         stream.
24826         (get_next_alias): Add parameter stream.
24827         (_nss_files_getaliasent_r): Pass global stream.
24828         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
24829         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
24830         (_nss_files_gethostbyname4_r): Pass local stream to
24831         internal_setent, internal_getent and internal_endent.  Remove
24832         locking.
24834 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
24836         * tst-strfmon1.c (tests): Update expected currency symbol.
24838 2015-05-08  Roland McGrath  <roland@hack.frob.com>
24840         * sysdeps/nacl/gethostname.c: New file.
24842 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
24844         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
24845         and sinh.
24846         * math/auto-libm-test-out: Regenerated.
24847         * sysdeps/i386/fpu/libm-test-ulps: Update.
24848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24850 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
24852         [BZ #18125]
24853         * stdlib/tst-setcontext3.c: New file.
24854         * stdlib/tst-setcontext3.sh: New file.
24855         * stdlib/Makefile (tests): Add tst-setcontext3.
24856         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
24857         to verify test program created output file.
24858         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
24859         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
24860         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
24861         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
24863 2015-05-06  Roland McGrath  <roland@hack.frob.com>
24865         [BZ #18383]
24866         * elf/tst-tlsalign.c: New file.
24867         * elf/tst-tlsalign-static.c: New file.
24868         * elf/tst-tlsalign-lib.c: New file.
24869         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
24870         (tests-static): Add tst-tlsalign-static.
24871         (modules-names): Add tst-tlsalign-lib.
24872         (test-xfail-tst-tlsalign): New variable.
24873         (test-xfail-tst-tlsalign-static): New variable.
24875         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
24876         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
24878 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
24880         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
24881         csqrt, erfc, sin and sincos.
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-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24888         * sysdeps/aarch64/libm-test-ulps: Update.
24890 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
24892         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
24893         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
24894         * math/auto-libm-test-out: Regenerated.
24895         * sysdeps/i386/fpu/libm-test-ulps: Update.
24896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24898 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
24900         [BZ #18265]
24901         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
24902         (wcsncpy): Likewise.
24904 2015-05-05  Florian Weimer  <fweimer@redhat.com>
24906         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
24907         Assume __ASSUME_FALLOCATE is always true.
24908         * sysdeps/unix/sysv/linux/posix_fallocate64.c
24909         (__posix_fallocate64_l64): Likweise.
24910         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
24911         (posix_fallocate): Likewise.
24912         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
24913         (__posix_fallocate64_l64): Likewise.
24914         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24915         [!__ASSUME_FALLOCATE]: Add comment.
24917 2015-05-05  Florian Weimer  <fweimer@redhat.com>
24919         * sysdeps/unix/sysv/linux/i386/Makefile
24920         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
24921         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
24922         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
24923         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
24924         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
24925         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
24926         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
24928 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
24930         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
24931         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
24932         tgamma.
24933         * math/auto-libm-test-out: Regenerated.
24934         * sysdeps/i386/fpu/libm-test-ulps: Update.
24935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24937 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
24939         * math/auto-libm-test-in: Add more tests of tgamma.
24940         * math/auto-libm-test-out: Regenerated.
24941         * sysdeps/i386/fpu/libm-test-ulps: Update.
24942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24944         * math/auto-libm-test-in: Add more tests of tanh.
24945         * math/auto-libm-test-out: Regenerated.
24946         * sysdeps/i386/fpu/libm-test-ulps: Update.
24947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24949         * math/auto-libm-test-in: Add more tests of tan.
24950         * math/auto-libm-test-out: Regenerated.
24951         * sysdeps/i386/fpu/libm-test-ulps: Update.
24952         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24954         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
24955         * math/auto-libm-test-out: Regenerated.
24956         * sysdeps/i386/fpu/libm-test-ulps: Update.
24957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24959         * math/auto-libm-test-in: Add another test of pow.
24960         * math/auto-libm-test-out: Regenerated.
24961         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24963         * math/auto-libm-test-in: Add more tests of lgamma.
24964         * math/auto-libm-test-out: Regenerated.
24965         * sysdeps/i386/fpu/libm-test-ulps: Update.
24966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24968         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
24969         log1p.
24970         * math/auto-libm-test-out: Regenerated.
24971         * sysdeps/i386/fpu/libm-test-ulps: Update.
24972         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24974 2015-05-01  Mark Wielaard  <mjw@redhat.com>
24976         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
24977         Elf64_Chdr structs and ELFCOMPRESS constants.
24979 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
24981         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
24982         expm1.
24983         * math/auto-libm-test-out: Regenerated.
24984         * sysdeps/i386/fpu/libm-test-ulps: Update.
24985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24987         * math/auto-libm-test-in: Add more tests of erf and erfc.
24988         * math/auto-libm-test-out: Regenerated.
24989         * sysdeps/i386/fpu/libm-test-ulps: Update.
24990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24992 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24994         * config.h.in (HAVE_AARCH64_BE): Add.
24996 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
24998         * math/auto-libm-test-in: Add more tests of csqrt.
24999         * math/auto-libm-test-out: Regenerated.
25000         * sysdeps/i386/fpu/libm-test-ulps: Update.
25001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25003         * math/auto-libm-test-in: Add more tests of cosh and sinh.
25004         * math/auto-libm-test-out: Regenerated.
25005         * sysdeps/i386/fpu/libm-test-ulps: Update.
25006         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25008         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
25010 2015-04-29  Roland McGrath  <roland@hack.frob.com>
25012         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
25013         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
25015         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
25016         (euidaccess, eaccess): Define as weak aliases.
25018         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
25019         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
25020         but __suseconds_t is often 'long int' so some sources assume that
25021         type is being used (e.g. they use %ld to print tv_usec).
25023 2015-04-29  Florian Weimer  <fweimer@redhat.com>
25025         [BZ #18007]
25026         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
25027         (CVE-2014-8121)
25028         * nss/tst-nss-getpwent.c: New file.
25029         * nss/Makefile (tests): Add new test.
25031 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
25033         [BZ #18346]
25034         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
25035         exponents less than 48 as cases where high part of mantissa needs
25036         examining to determine whether argument is integral.
25037         * math/libm-test.inc (round_test_data): Add more tests.
25039 2015-04-28  Mark Wielaard  <mjw@redhat.com>
25041         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
25043 2015-04-27  David S. Miller  <davem@davemloft.net>
25045         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
25046         __tls_get_addr.
25047         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
25049 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
25051         [BZ#18333]
25052         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
25054 2015-04-27  Florian Weimer  <fweimer@redhat.com>
25056         [BZ#18333]
25057         * time/tzset.c (parse_tzname): Return error on memory allocation
25058         failure.
25059         * test-skeleton.c (struct temp_name_list): Change type of name
25060         member to non-const.
25061         (add_temp_file): Create a copy of the file name.
25062         (delete_temp_files): Deallocate memory.
25063         (create_temp_file): Add comment.
25065 2015-04-24  Florian Weimer  <fweimer@redhat.com>
25067         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
25068         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
25070 2015-04-24  Roland McGrath  <roland@hack.frob.com>
25072         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
25073         * sysdeps/arm/configure: Regenerated.
25075 2015-04-24  Florian Weimer  <fweimer@redhat.com>
25077         [BZ #17715]
25078         * time/tzfile.c (__tzfile_read): Check for large values of
25079         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
25080         * time/tzset.c (__tzstring_len): New function, based on the old
25081         __tzstring function.
25082         (__tzstring): Call __tzstring_len.
25083         (parse_tzname): New helper function extracted from
25084         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
25085         the input string.
25086         (parse_offset): New helper function extracted from
25087         __tzset_parse_tz.  Replace switch with fallthrough with
25088         initialization before sscanf.
25089         (parse_rule): Likewise.
25090         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
25091         new-style function definition.
25092         * timezone/Makefile (tests): Add tst-tzset.
25093         (tst-tzset.out): Dependencies on time zone files.
25094         (tst-tzset-ENV): Set TZDIR.
25095         (testdata/XT%): Copy crafted time zone files.
25096         * timezone/README: Mention crafted time zone files.
25097         * timezone/testdata/XT1, timezone/testdata/XT2,
25098         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
25099         files.
25100         * timezone/tst-tzset.c: New test.
25102 2015-04-24  Florian Weimer  <fweimer@redhat.com>
25104         * Makeconfig (+gccwarn): Remove -Winline.
25106 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
25108         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
25110 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
25112         * NEWS: Mention sysconf() cache information support for s390.
25113         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
25115 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
25117         * math/k_casinh.c (__kernel_casinh): Use __copysign.
25118         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
25119         (__nearbyint): Likewise.
25120         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
25121         (copysignl): Likewise.
25123 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
25125         [BZ #18287]
25126         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
25127         based on padding.  (CVE-2015-1781)
25129 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25131         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
25132         libc-vdso.h.
25133         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
25134         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
25135         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
25136         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
25137         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
25138         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
25139         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
25140         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
25141         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25142         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
25143         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
25144         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
25145         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
25146         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
25147         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
25148         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
25149         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
25150         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
25151         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
25152         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
25153         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
25154         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
25155         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
25157 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
25159         * stdlib/setenv.c (__add_to_environ):
25160         Dump core quickly if setenv (..., NULL, ...) is called.
25161         This time, do it the right way, and pacify GCC with a pragma.
25163 2015-04-17  Roland McGrath  <roland@hack.frob.com>
25165         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
25166         IMAP->l_prev cannot be null, and #if out the code for the contrary
25167         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
25168         believe that NS (&_dl_ns[NSID]) could point outside the array.
25170         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
25171         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
25172         before using NSID as an index.
25174 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
25176         [BZ #17825]
25177         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
25178         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
25179         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
25181 2015-04-17  Roland McGrath  <roland@hack.frob.com>
25183         Add preliminary port to Google Native Client on ARM.
25184         * abi-tags (.*-.*-nacl.*): New entry.
25185         * sysdeps/arm/nacl: New directory.
25186         * sysdeps/nacl: New directory.
25188 2015-04-16  David S. Miller  <davem@davemloft.net>
25190         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
25191         lowlevellock-futex.h
25193 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
25195         * sysdeps/tile/configure.ac: New file.
25196         * sysdeps/tile/configure: Regenerated.
25198 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25200         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
25201         conditionals for weak_alias and libc_hidden_weak.
25202         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
25203         libc_hidden_weak and weak_alias.
25204         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
25205         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
25206         and weak_alias for static one.
25208 2015-04-15  David S. Miller  <davem@davemloft.net>
25210         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
25212 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25214         [BZ #18206]
25215         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
25216           Use signed comparision instead of substraction to avoid
25217           overflow bug.
25218         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
25219           Take the sign of ret.
25220         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
25221           Do not expect precise return values. Only the sign matters.
25222         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
25223         * wcsmbs/test-wcsncmp.c: New File.
25224         * string/test-strncmp.c: Add wcsncmp support.
25226 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
25228         [BZ #6792]
25229         * math/w_log1p.c: New file.
25230         * math/w_log1pf.c: Likewise.
25231         * math/w_log1pl.c: Likewise.
25232         * math/Makefile (libm-calls): Add w_log1p.
25233         * math/s_log1pl.c (log1pl): Remove weak_alias.
25234         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
25235         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
25236         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
25237         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
25238         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
25239         [NO_LONG_DOUBLE] (log1pl): Likewise.
25240         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
25241         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
25242         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
25243         (log1p): Remove long_double_symbol.
25244         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
25245         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
25246         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
25247         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
25248         remove weak_alias for corresponding log1p function.
25249         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
25250         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
25251         * sysdeps/ia64/fpu/w_log1p.c: New file.
25252         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
25253         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
25254         * math/libm-test.inc (log1p_test_data): Add errno expectations.
25256 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
25258         [BZ #18247]
25259         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
25260         decimal exponent by 1.
25261         * stdlib/tst-strtod-round-data: Add more tests.
25262         * stdlib/tst-strtod-round.c (tests): Regenerated.
25264 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
25266         * math/auto-libm-test-in: Add more tests of clog and clog10.
25267         * math/auto-libm-test-out: Regenerated.
25268         * sysdeps/i386/fpu/libm-test-ulps: Update.
25269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25271 2015-04-09  Roland McGrath  <roland@hack.frob.com>
25273         * Makeconfig (module-cppflags): Exclude all .v.i files.
25274         (skip-module-cppflags): Variable removed.
25276         * configure.ac (libc_config_ok): Initialize before reading
25277         preconfigure scripts, not after.
25278         * configure: Regenerated.
25280         * test-skeleton.c (TIMEOUT): Move #define to top level.
25281         (main): Grok environment variable TEST_DIRECT.  If set, print
25282         test expectation details into that file and then behave as if
25283         given --direct.
25285 2015-04-09  Florian Weimer  <fweimer@redhat.com>
25287         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
25288         warning on 32-bit.
25290 2015-04-08  David S. Miller  <davem@davemloft.net>
25292         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25294 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
25296         * math/auto-libm-test-in: Add more tests of atanh.
25297         * math/auto-libm-test-out: Regenerated.
25298         * sysdeps/i386/fpu/libm-test-ulps: Update.
25299         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25301         * math/auto-libm-test-in: Add more tests of atan.
25302         * math/auto-libm-test-out: Regenerated.
25303         * sysdeps/i386/fpu/libm-test-ulps: Update.
25304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25306 2015-04-08  Florian Weimer  <fweimer@redhat.com>
25308         * elf/pldd.c (main): Rewrite to use struct
25309         scratch_buffer instead of extend_alloca.
25310         * elf/pldd-xx.c (find_maps): Likewise.
25311         * grp/initgroups.c: Include <scratch_buffer.h> instead of
25312         <alloca.h>.
25313         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
25314         scratch_buffer instead of extend_alloca.
25315         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
25316         grp/compat-initgroups.c.
25317         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
25318         Rewrite to use struct scratch_buffer instead of extend_alloca.
25319         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
25320         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
25322 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
25324         * math/auto-libm-test-in: Add more tests of cbrt.
25325         * math/auto-libm-test-out: Regenerated.
25326         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25328         * math/auto-libm-test-in: Add more tests of cabs.
25329         * math/auto-libm-test-out: Regenerated.
25330         * sysdeps/i386/fpu/libm-test-ulps: Update.
25331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25333         [BZ #18210]
25334         [BZ #18211]
25335         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
25336         (__ieee754_atan2): Set FE_TONEAREST mode for internal
25337         computations.
25338         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
25339         clog10.
25340         * math/auto-libm-test-out: Regenerated.
25341         * sysdeps/i386/fpu/libm-test-ulps: Update.
25342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25344         [BZ #18197]
25345         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
25346         (atan): Set FE_TONEAREST mode for internal computations.
25347         * math/auto-libm-test-in: Add more tests of atan.
25348         * math/auto-libm-test-out: Regenerated.
25350 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
25352         [BZ #17930]
25353         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
25355 2015-04-07  Florian Weimer  <fweimer@redhat.com>
25357         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
25359 2015-04-07  Florian Weimer  <fweimer@redhat.com>
25361         * include/scratch_buffer.h: New file.
25362         * malloc/scratch_buffer_grow.c: Likewise.
25363         * malloc/scratch_buffer_grow_preserve.c: Likewise.
25364         * malloc/scratch_buffer_set_array_size.c: Likewise.
25365         * malloc/tst-scratch_buffer.c: Likewise.
25366         * malloc/Makefile (routines): Add scratch_buffer_grow.
25367         (tests): Add test case.
25368         * malloc/Versions (GLIBC_PRIVATE): Export
25369         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
25370         __libc_scratch_buffer_set_array_size.
25372 2015-04-06  Richard Henderson  <rth@redhat.com>
25374         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
25375         * sysdeps/alpha/fpu/libm-test-ulps: Update.
25377         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
25378         unsigned int before printing.
25380 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25382         [BZ #17596]
25383         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
25384         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
25386 2015-04-02  Florian Weimer  <fweimer@redhat.com>
25388         * include/libc-internal.h (libc_max_align_t): Define.
25390 2015-04-02  Andreas Schwab  <schwab@suse.de>
25392         [BZ #16850]
25393         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
25395 2015-04-02  Mel Gorman  <mgorman@suse.de>
25397         [BZ #17195]
25398         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
25399         as well as the main arena.
25401 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
25403         [BZ #18185]
25404         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
25405         sharing L2 cache to 2 for Silvermont/Knights Landing.
25407 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
25409         [BZ #17711]
25410         * config.make.in (have-protected-data): New.
25411         * configure.ac: Check linker support for protected data symbol.
25412         * configure: Regenerated.
25413         * elf/Makefile (modules-names): Add tst-protected1moda and
25414         tst-protected1modb if $(have-protected-data) is yes.
25415         (tests): Add tst-protected1a and tst-protected1b if
25416         $(have-protected-data) is yes.
25417         ($(objpfx)tst-protected1a): New.
25418         ($(objpfx)tst-protected1b): Likewise.
25419         (tst-protected1modb.so-no-z-defs): Likewise.
25420         * elf/tst-protected1a.c: New file.
25421         * elf/tst-protected1b.c: Likewise.
25422         * elf/tst-protected1mod.h: Likewise.
25423         * elf/tst-protected1moda.c: Likewise.
25424         * elf/tst-protected1modb.c: Likewise.
25426 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
25428         [BZ #17711]
25429         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
25430         indicates it is called from do_lookup_x on relocation against
25431         protected data, skip the data definion in the executable from
25432         copy reloc.
25433         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
25434         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
25435         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
25436         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
25437         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
25438         otherwise to 0.
25439         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
25440         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
25441         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
25442         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
25443         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
25444         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
25446 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
25448         * sysdeps/nptl/pthread.h: Remove duplicate definition of
25449         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
25451 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
25453         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
25454         THREAD_SETMEM_NC.
25455         * sysdeps/x86_64/nptl/tls.h: Ditto.
25457 2015-03-27  Roland McGrath  <roland@hack.frob.com>
25459         * dlfcn/tststatic.c (main): Converted to ...
25460         (do_test): ... this.
25461         (TEST_FUNCTION): New macro.
25462         Include test-skeleton.c.
25464 2015-03-26  Alan Modra  <amodra@gmail.com>
25466         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
25467         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
25468         zero for undefined weak.
25469         (elf_machine_plt_conflict): Similarly.
25471 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
25473         * math/auto-libm-test-in: Add more tests of acosh, asinh and
25474         atanh.
25475         * math/auto-libm-test-out: Regenerated.
25476         * sysdeps/i386/fpu/libm-test-ulps: Update.
25477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25479         * math/auto-libm-test-in: Add another test of asin.
25480         * math/auto-libm-test-out: Regenerated.
25481         * sysdeps/i386/fpu/libm-test-ulps: Update.
25482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25484         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
25485         Remove macro.
25486         (LLL_EBX_REG): Likewise.
25487         (LLL_ENTER_KERNEL): Likewise.
25489         * math/auto-libm-test-in: Add more tests of asin.
25490         * math/auto-libm-test-out: Regenerated.
25491         * sysdeps/i386/fpu/libm-test-ulps: Update.
25492         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25494         [BZ #18138]
25495         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
25496         libc_do_syscall_args): New structure.
25497         (INTERNAL_SYSCALL_MAIN_0): New macro.
25498         (INTERNAL_SYSCALL_MAIN_1): Likewise.
25499         (INTERNAL_SYSCALL_MAIN_2): Likewise.
25500         (INTERNAL_SYSCALL_MAIN_3): Likewise.
25501         (INTERNAL_SYSCALL_MAIN_4): Likewise.
25502         (INTERNAL_SYSCALL_MAIN_5): Likewise.
25503         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
25504         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
25505         Replace conditional definitions by conditional definitions of ....
25506         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
25507         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
25508         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
25509         (libpthread-sysdep_routines): Add libc-do-syscall.
25510         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
25511         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
25512         to __NR_futex not 240.
25514 2015-03-25  Alan Modra  <amodra@gmail.com>
25516         * NEWS: Advertise TLS optimization.
25517         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
25518         (DT_PPC_NUM): Increment.
25519         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
25520         (CHECK_STATIC_TLS): Use here.
25521         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
25522         TLS descriptors.
25523         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
25524         * sysdeps/powerpc/dl-tls.c: New file.
25525         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
25526         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
25527         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
25528         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
25529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
25530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
25531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
25533 2015-03-25  Alan Modra  <amodra@gmail.com>
25535         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
25536         for overlapping .opd entries" to "support...".
25537         * sysdeps/powerpc/powerpc64/configure: Regenerate
25539 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
25541         * math/auto-libm-test-in: Add more tests of acos.
25542         * math/auto-libm-test-out: Regenerated.
25543         * sysdeps/i386/fpu/libm-test-ulps: Update.
25544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25546         * math/auto-libm-test-in: Add more tests of expm1.
25547         * math/auto-libm-test-out: Regenerated.
25548         * sysdeps/i386/fpu/libm-test-ulps: Update.
25549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25551 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
25553         * math/auto-libm-test-in: Add more tests of cosh and sinh.
25554         * math/auto-libm-test-out: Regenerated.
25555         * sysdeps/i386/fpu/libm-test-ulps: Update.
25556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25558         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25561         * math/auto-libm-test-in: Add more tests of log2.
25562         * math/auto-libm-test-out: Regenerated.
25563         * sysdeps/i386/fpu/libm-test-ulps: Update.
25564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25566 2015-03-23  Roland McGrath  <roland@hack.frob.com>
25568         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
25569         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
25570         _IO_IS_APPENDING bit in READ_WRITE instead.
25572 2015-03-23  Florian Weimer  <fweimer@redhat.com>
25574         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
25575         (__determine_cpumask_size): Replace extend_alloca with a
25576         variable-length array.  Do not treat res == 0 as an error.
25578 2015-03-23  Florian Weimer  <fweimer@redhat.com>
25580         [BZ #18100]
25581         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
25582         and integer overflow.
25583         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
25584         (main): Add integer overflow tests.
25585         * manual/pattern.texi (Calling Wordexp): Document additional use
25586         for WRDE_SYNTAX.
25588 2015-03-23  Alan Modra  <amodra@gmail.com>
25590         * config.h.in: Remove HAVE_ASM_PPC_REL16.
25591         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
25592         and false branch of conditional.
25593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
25594         Likewise.
25596 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
25598         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
25599         libc-modules.h
25600         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
25601         unused declaration of _hurd_intr_rpc_msg_in_trap.
25602         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
25603         defined instead of whether it is non-zero.
25604         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
25605         input constraint instead of both input and output constraint.  Use ecx
25606         clobber instead of %ecx.
25607         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
25608         mutex_unlock): Use a statement expression instead of an expression list.
25609         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
25610         type to vm_size_t instead of vm_address_t.
25611         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
25612         defined instead of whether it is non-zero.
25613         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
25614         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
25615         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
25616         comparisons with mapaddr.
25617         * nscd/nscd-client.h: Include <time.h>.
25618         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
25619         9th parameter to __vm_region instead of int.
25620         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
25621         * scripts/check-local-headers.sh (exclude): Add device/,
25622         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
25623         cthreads.h.
25625 2015-03-19  Roland McGrath  <roland@hack.frob.com>
25627         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
25628         to account for alignment padding.
25629         * sysdeps/arm/memmove.S: Likewise.
25631 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
25633         * sysdeps/unix/sysv/linux/generic/README: New file.
25635 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
25637         [BZ #18138]
25638         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
25639         (futex_abstimed_wait)
25640         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
25641         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
25642         of lll_futex_timed_wait.
25644 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
25646         [BZ #17542]
25647         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
25649 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
25651         [BZ #17090]
25652         [BZ #17620]
25653         [BZ #17621]
25654         [BZ #17628]
25655         * NEWS: Update.
25656         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
25657         entries with Static TLS too.  Skip entries past the end of the
25658         allocated DTV, from Alan Modra.
25659         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
25660         Static TLS DTV entry set up from...
25661         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
25662         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
25663         * nptl/allocatestack.c (init_one_static_tls): ... and here...
25664         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
25665         for Static TLS.
25666         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
25667         that the slot we find is associated with the given map before
25668         using its generation count.
25669         * nptl_db/db_info.c: Include ldsodefs.h.
25670         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
25671         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
25672         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
25673         (link_map::l_tls_offset): New struct field.
25674         (dtv_t::counter): Likewise.
25675         (rtld_global): New struct.
25676         (_rtld_global): New rtld variable.
25677         (dl_tls_dtv_slotinfo_list): New rtld global field.
25678         (dtv_slotinfo_list): New struct.
25679         (dtv_slotinfo): Likewise.
25680         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
25681         (td_lookup): Rename to...
25682         (td_mod_lookup): ... this.  Use new mod parameter instead of
25683         LIBPTHREAD_SO.
25684         * nptl_db/td_thr_tlsbase.c: Include link.h.
25685         (dtv_slotinfo_list, dtv_slotinfo): New functions.
25686         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
25687         addresses even if the DTV is out of date or missing them.
25688         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
25689         index zero-length arrays.
25690         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
25691         (td_lookup): Make it a macro implemented in terms of...
25692         (td_mod_lookup): ... this declaration.
25693         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
25694         (DB_MAIN_VARIABLE): Likewise.
25696 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
25698         [BZ #18134]
25699         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
25701 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
25703         * stdlib/setenv.c (__add_to_environ): Revert previous change.
25705 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
25707         [BZ #18128]
25708         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
25709         (atomic_add, atomic_increment_and_test)
25710         (atomic_decrement_and_test): Fix 64-bit arithmetic.
25712 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
25714         * stdlib/setenv.c (__add_to_environ):
25715         Dump core quickly if setenv (..., NULL, ...) is called.
25717 2015-03-13  Roland McGrath  <roland@hack.frob.com>
25719         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
25720         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
25721         all the necessary asm magic in one place.
25722         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
25723         using those.
25725 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
25727         [BZ #14906]
25728         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
25729         traced file mtime. Use consistent log message.
25730         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
25731         (register_traced_file): Call install_watches. Always set mtime.
25732         (invalidate_cache): Iterate over all trace files. Call install_watches.
25733         (inotify_check_files): Don't inline. Handle watching parent
25734         directories and configuration file movement in and out.
25735         (handle_inotify_events): New function.
25736         (main_loop_poll): Call handle_inotify_events.
25737         (main_loop_epoll): Likewise.
25738         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
25739         (struct traced_file): Use array of inotify fds. Add parent directory,
25740         and basename.
25741         (struct database_dyn): Remove unused file_mtime.
25742         (init_traced_file): New inline function.
25743         (define_traced_file): New macro.
25744         * nss/nss_db/db-init.c: Use define_traced_file.
25745         (_nss_db_init): Use init_traced_file.
25746         * nss/nss_files/files-init.c: Use define_traced_file.
25747         (_nss_files_init): Use init_traced_file.
25749 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
25751         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
25752         [_LIBC]: Do not include <stdlib.h>.
25753         [!_LIBC] (abort): Remove declaration.
25754         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
25755         _FP_STATIC_ASSERT instead of conditionally calling abort.
25756         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
25757         (_FP_EXTEND_CNAN): Likewise.
25758         (FP_TRUNC): Likewise.
25759         (__FP_CLZ): Likewise.
25760         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
25762 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
25764         * manual/string.texi (XPG basename): Fix prototype.
25766 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
25768         [BZ #18080]
25769         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
25770         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
25771         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
25772         (__setcontext): Likewise.
25773         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
25774         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
25775         Call rt_sigprocmask syscall one time to set new signal mask
25776         and retrieve the current signal mask instead of two calls.
25777         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
25778         (__swapcontext): Likewise.
25779         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
25780         * stdlib/tst-setcontext2.c: New file.
25782 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
25784         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25786 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
25788         [BZ #18093]
25789         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
25790         the wrong size.
25792 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
25794         [BZ #18043]
25795         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
25797 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
25799         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
25800         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
25801         Remove define.
25802         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
25803         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
25804         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
25805         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
25806         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
25807         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
25808         define.
25809         * nptl_db/td_symbol_list.c (td_lookup): Remove
25810         HAVE_ASM_GLOBAL_DOT_NAME code.
25811         * sysdeps/powerpc/powerpc64/configure.ac: Remove
25812         HAVE_ASM_GLOBAL_DOT_NAME check.
25813         * sysdeps/powerpc/powerpc64/configure: Regenerate.
25814         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
25815         (DOT_LABEL): Remove define.
25816         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
25817         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
25818         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
25819         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
25820         (__TLS_GET_ADDR): Likewise.
25821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
25822         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
25824 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
25826         [BZ #18111]
25827         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
25828         (_FPU_SETCW): Initialize cw from fpsr before storing.
25829         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
25830         (fesetexceptflag): Rewrite using fpu_control.h.
25831         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
25833 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
25835         [BZ #18110]
25836         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
25837         asms.
25838         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
25840 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
25842         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
25843         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
25844         abort.
25845         (_FP_FMA): Likewise.
25846         (_FP_DIV): Likewise.
25848 2015-03-10  Roland McGrath  <roland@hack.frob.com>
25850         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
25851         with 0 in that case.
25852         * Makefile (summarize-tests): New canned sequence, factored out of
25853         commands for targets tests and xtests.  Display summary lines that
25854         don't start with PASS: or XFAIL: rather than ones that do start with
25855         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
25856         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
25857         do start with ERROR: or FAIL:.
25858         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
25859         (except for [$(build-shared) = yes]).
25860         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
25861         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
25862         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
25863         * nptl/Makefile: Revert 2015-03-04 changes.
25864         [$(CXX) empty] (tests-unsupported): New variable.
25865         * debug/Makefile: Likewise.
25867         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
25868         gnulib file.  Replace __attribute with __attribute__ throughout.
25870 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
25872         * sysdeps/hppa/fpu/libm-test-ulps: Update.
25874 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
25876         [BZ #18104]
25877         * math/auto-libm-test-in: Add another test of pow.
25878         * math/auto-libm-test-out: Regenerated.
25880 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25882         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
25883         $(config-cflags-nofma).
25885 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
25887         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
25888         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
25889         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
25890         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
25891         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
25892         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
25893         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
25894         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
25895         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
25896         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
25897         Add comment on closing #endif.
25899 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
25901         * posix/wordexp.c (CHAR_IN_SET): New macro.
25902         (parse_param): Use it.
25904 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25906         * sysdeps/powerpc/fpu/libm-test-ulps: update.
25908 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
25910         [BZ #18043]
25911         * posix/wordexp.c (parse_param): Fix buffer overflow.
25912         * posix/wordexp-test.c (test_case): Add test case.
25914 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
25916         [BZ #18042]
25917         * posix/wordexp.c (parse_backtick): Fix off-by-one.
25918         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
25920 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
25922         [BZ #18043]
25923         * posix/wordexp-test.c (test_case): Add test for BZ #18043
25924         (do_bz18043): Delete.
25925         (at_page_end): New.
25926         (testit): Refactor to have words at the edge of unreadable page.
25928 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
25930         [BZ #16734]
25931         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
25932         Cleanup read-only streams as well.
25933         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
25935 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25937         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
25938         <bits/libc-lockP.h>
25940 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
25942         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
25943         on [__KERNEL__].
25944         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
25945         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
25946         * soft-fp/op-common.h (_FP_DECL): Likewise.
25948 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
25950         * elf/ifuncdep2.c (global): Replace
25951         __attribute__((visibility("protected"))) with
25952         asm (".protected global").
25953         * elf/ifuncmod1.c (global): Likewise.
25954         * elf/ifuncmod5.c (global): Likewise.
25956 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
25958         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
25959         <asm/sfp-machine.h> instead of <sfp-machine.h>.
25961 2015-03-06  Roland McGrath  <roland@hack.frob.com>
25963         * manual/install.texi (Configuring and compiling):
25964         Document test-wrapper-env-only.
25965         * INSTALL: Regenerated.
25967 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
25969         [BZ #18043]
25970         * posix/wordexp.c (parse_param): Fix buffer overflow.
25971         * posix/wordexp-test.c (do_bz18043): Add test case.
25973 2015-03-06  Vincent Bernat  <vincent@bernat.im>
25975         * time/tst-strptime2.c (do_test): Ensure failing tests are
25976         reported correctly.
25977         * time/tst-strptime3.c (do_test): Likewise.
25979 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
25981         Fix aio_error thread-safety.
25982         * sysdeps/pthread/aio_error.c: New file
25983         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
25984         synchronization.
25986 2015-03-06  Florian Weimer  <fweimer@redhat.com>
25988         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
25989         (group_number, vfprintf): Use it.
25990         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
25991         (JUMP, REF): Use it.
25992         (WORK_BUFFER_SIZE): New enum constant.
25993         (process_arg, vfprintf): Use it.
25995 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
25997         * manual/errno.texi (Error Messages): Complete example function
25998         by adding missing #define.
25999         (program_invocation_name): Add statement indicating GNU
26000         extension and reference which header file declares the variable.
26001         (program_invocation_short_name): Likewise.
26003 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
26005         * manual/errno.texi (Error Messages): Delete strerror ISO C89
26006         compatibility note.
26008 2015-03-05  Roland McGrath  <roland@hack.frob.com>
26010         * Makeconfig (test-wrapper-env-only): New variable.
26011         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
26012         then use that with $(test-wrapper-env-only) rather than using
26013         $(test-wrapper-env) $(run-program-env) $($*-ENV).
26015 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
26017         [BZ #18082]
26018         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
26019         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
26020         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
26021         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
26022         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
26023         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
26024         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
26025         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
26026         Likewise.
26027         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
26028         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
26029         Likewise.
26030         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
26031         Likewise.
26032         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
26033         Likewise.
26034         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
26035         Likewise.
26036         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
26037         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
26038         Likewise.
26039         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
26040         Likewise.
26041         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
26042         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
26044 2015-03-04  Roland McGrath  <roland@hack.frob.com>
26046         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
26047         (ETH_ALEN): New macro.
26048         (struct ether_addr): Use it for length of ether_addr_octet.
26050         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
26051         (setdb): Don't call __nss_configure_lookup for "rpc".
26052         (do_test): Don't call test_rpc.
26053         (output_rpcent, test_rpc): Functions moved ...
26054         * sunrpc/test-rpcent.c: ... to this new file.
26055         * sunrpc/Makefile (tests): Add it.
26057         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
26058         __xpg_sigpause.
26059         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
26060         * nptl/tst-signal6.c: Likewise.
26061         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
26062         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
26064         * configure.ac (libc_cv_cxx_link_ok): New check.
26065         Reset CXX to empty if it fails to link.
26066         * configure: Regenerated.
26067         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
26068         bug-atexit3-lib only if $(CXX) is nonempty.
26069         * nptl/Makefile (tests): Likewise for tst-cancel24.
26070         (tests, tests-static): Likewise for tst-cancel24-static.
26071         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
26072         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
26073         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
26074         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
26076 2015-03-04  Andreas Schwab  <schwab@suse.de>
26078         [BZ #17631]
26079         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
26080         for non-GCC compilers.
26081         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
26082         Likewise.
26084 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
26086         [BZ #17776]
26087         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
26088         integer before bitwise and assembly operations.
26089         (feclearexcept): Likewise.
26090         * math/test-fenvinline.c: New file.
26091         * math/Makefile: Add test-fenvinline test.
26093 2015-03-03  Alan Modra  <amodra@gmail.com>
26095         [BZ #16512]
26096         * scripts/localplt.awk: Strip off symbol version.
26097         * NEWS: Mention bug fix.
26099 2015-03-02  Roland McGrath  <roland@hack.frob.com>
26101         * sysdeps/pthread/timer_routines.c
26102         (timer_free_list, thread_free_list, thread_active_list): Make static.
26104 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
26106         [BZ #17779]
26107         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26108         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
26109         Undefine.
26110         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26111         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
26112         Likewise.
26113         * sysdeps/unix/sysv/linux/sh/kernel-features.h
26114         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
26115         Likewise.
26117 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
26119         [BZ #18036]
26120         * posix/fnmatch_loop.c (END): Detect invalid pattern.
26121         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
26123 2015-03-02  Andreas Schwab  <schwab@suse.de>
26125         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
26126         variable name.
26128 2015-03-02  Florian Weimer  <fweimer@redhat.com>
26130         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
26131         Return error status.
26133 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
26135         [BZ #15969]
26136         * locale/findlocale.c (_nl_find_locale): Introduce const
26137         version of loc_name and drop unsafe type casts.
26139 2015-02-27  Roland McGrath  <roland@hack.frob.com>
26141         * dlfcn/tststatic2.c (main): Converted to ...
26142         (do_test): ... this.
26143         (TEST_FUNCTION): New macro.
26144         Include test-skeleton.c.
26146 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
26148         [BZ #17711]
26149         * elf/Makefile (tests): Add vismain only if PIE is enabled.
26150         (tests-pie): Add vismain.
26151         (CFLAGS-vismain.c): New.
26152         * elf/vismain.c: Add comments for PIE requirement.
26154 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
26156         [BZ #18046]
26157         [BZ #18047]
26158         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
26159         0x1p-56L as threshold for just returning the argument.
26160         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
26161         0x1p-32L as threshold for just returning the argument.
26162         * math/auto-libm-test-in: Add more tests of atanh.
26163         * math/auto-libm-test-out: Regenerated.
26164         * sysdeps/i386/fpu/libm-test-ulps: Update.
26165         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
26167 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
26169         * string/bcopy.c (bcopy): Call memmove for performance.
26171 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
26173         * string/bzero.c (__bzero): Call memset for performance.
26175 2015-02-27  John David Anglin  <dave.anglin@bell.net>
26177         [BZ #18068]
26178         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
26179         to 00100000.
26181 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
26183         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
26185 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
26187         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
26188         (__kernel_standard): Use CSTR macro when setting exc.name.
26189         * sysdeps/ieee754/Makefile [$(subdir) = math]
26190         (CFLAGS-k_standard.c): Remove variable.
26192         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
26193         setting p and q from "else if" to "else".
26194         (qzero): Likewise.
26195         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
26196         (qone): Likewise.
26197         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
26198         (qzerof): Likewise.
26199         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
26200         (qonef): Likewise.
26201         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
26202         (qzero): Likewise.
26203         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
26204         (qone): Likewise.
26206         [BZ #18038]
26207         [BZ #18039]
26208         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
26209         return pi/2 for arguments below 0x1p-113L.
26210         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
26211         return pi/2 for arguments below 0x1p-106L.
26212         * math/auto-libm-test-in: Add more tests of acos.
26213         * math/auto-libm-test-out: Regenerated.
26215         [BZ #16351]
26216         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
26217         (MO): New macro.
26218         (__ieee754_asin): Force underflow exception for results with small
26219         absolute value.
26220         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
26221         (MO): New macro.
26222         (__ieee754_asinf): Force underflow exception for results with
26223         small absolute value.
26224         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
26225         (__ieee754_asin): Force underflow exception for results with small
26226         absolute value.
26227         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
26228         (__ieee754_asinf): Force underflow exception for results with
26229         small absolute value.
26230         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
26231         (__ieee754_asinl): Force underflow exception for results with
26232         small absolute value.
26233         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
26234         (__ieee754_asinl): Force underflow exception for results with
26235         small absolute value.
26236         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
26237         (__ieee754_asinl): Force underflow exception for results with
26238         small absolute value.
26239         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
26240         Include <math.h>.
26241         * math/auto-libm-test-in: Do not mark underflow exceptions as
26242         possibly missing for bug 16351.
26243         * math/auto-libm-test-out: Regenerated.
26245         [BZ #18030]
26246         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
26247         of power of 2 down when low part has opposite sign.
26248         * math/libm-test.inc (logb_test_data): Add more tests.
26250 2015-02-26  Andreas Schwab  <schwab@suse.de>
26252         [BZ #18032]
26253         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
26254         over collating symbol inside a bracket expression.  Minor cleanup.
26255         * posix/tst-fnmatch3.c (do_test): Add test case.
26257 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
26259         [BZ #18029]
26260         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
26261         Adjust exponent of power of 2 down when low part has opposite
26262         sign.
26263         * math/libm-test.inc (ilogb_test_data): Add more tests.
26265 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
26267         [BZ #15969]
26268         * locale/findlocale.c (_nl_find_locale): Fix constness error in
26269         the previous change.
26271         [BZ #15969]
26272         * locale/findlocale.c (_nl_find_locale): Retry archive search
26273         after alias expansion.
26275 2015-02-25  Roland McGrath  <roland@hack.frob.com>
26277         * iconv/tst-iconv3.c (main): Converted to ...
26278         (do_test): ... this.
26279         (TEST_FUNCTION): New macro.
26280         Include test-skeleton.c.
26282         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
26283         (convert): Make function static.
26284         (test_unalign): Likewise.  Add const to argument pointee types.
26285         (main): Replace with static function do_test.
26286         Print "Succeeded." only if RET is zero.
26287         (TEST_FUNCTION): New macro.
26288         Include test-skeleton.c.
26290         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
26291         returns a null pointer.
26293 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26295         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
26296         to __memcpy_ppc only for static builds.
26298 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
26300         [BZ #18020]
26301         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
26302         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
26303         * math/auto-libm-test-in: Add more tests of asinh.
26304         * math/auto-libm-test-out: Regenerated.
26305         * sysdeps/i386/fpu/libm-test-ulps: Update.
26306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26308 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
26310         [BZ #15850]
26311         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
26312         and ip6_mtuinfo definitions here.
26313         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
26314         in this define too.  Update comment.
26316 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
26318         * elf/sprof.c (load_shobj): Tweak error message to match others.
26320 2015-02-24  Kevin Easton  <kevin@guarana.org>
26322         [BZ #16145] (partial fix)
26323         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
26324         to reduce lock contention.
26326 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
26328         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
26329         (struct timex): Update time comment.
26330         (ADJ_SETOFFSET): Define.
26332 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
26334         [BZ #18019]
26335         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
26336         2**56 not 2**28 as threshold for log (2x) formula.
26337         * math/auto-libm-test-in: Add more tests of acosh.
26338         * math/auto-libm-test-out: Regenerated.
26339         * sysdeps/i386/fpu/libm-test-ulps: Update.
26340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26342 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
26344         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
26345         parenthesis around the buf assignment.
26346         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
26348 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
26350         [BZ #16783]
26351         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
26352         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
26353         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
26354         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
26355         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
26356         * math/libm-test.inc (scalb_test_data): Add more tests.
26358 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
26360         [BZ #17916]
26361         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
26362         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
26364 2015-02-24  Eric Rannaud  <e@nanocritical.com>
26366         [BZ #17523]
26367         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
26368         * io/bits/fcntl2.h (open): Use it.
26369         (openat): Likewise.
26370         * io/open.c (__libc_open): Likewise.
26371         * io/open64.c (__libc_open64): Likewise.
26372         * io/open64_2.c (__open64_2): Likewise.
26373         * io/open_2.c (__open_2): Likewise.
26374         * io/openat.c (__openat): Likewise.
26375         * io/openat64.c (__openat64): Likewise.
26376         * io/openat64_2.c (__openat64_2): Likewise.
26377         * io/openat_2.c (__openat_2): Likewise.
26378         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
26379         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
26380         * sysdeps/posix/open64.c (__libc_open64): Likewise.
26381         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
26382         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
26383         (__open_nocancel): Likewise.
26384         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
26385         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
26386         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
26388 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26390         [BZ #14841]
26391         * resolv/gethnamaddr.c (getanswer): Skip logging if
26392         RES_USE_DNSSEC is set.
26393         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
26395 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
26397         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
26399 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
26401         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
26402         201304L, for Unicode 7.
26404 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
26406         [BZ #17836]
26407         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
26408         shared library.  Add gmon-start.os otherwise.
26409         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
26410         $(objpfx)gmon-start.os if builing shared library.
26411         ($(objpfx)g$(static-start-installed-name)): Likewise.
26413 2015-02-23  Andreas Schwab  <schwab@suse.de>
26415         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
26417 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
26419         [BZ #17269]
26420         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
26421         (enlarge_userbuf): Likewise.
26423 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
26425         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
26426         * math/atest-exp.c (TIMEOUT): Adjust to 200.
26427         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
26428         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
26430 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
26432         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
26433         expression inside statement expression.
26435 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
26437         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
26438         <sysdeps/nptl/lowlevellock.h> and remove macros and
26439         functions that are now defined there.
26440         (SYS_futex): Remove.
26441         (lll_compare_and_swap): Remove.
26442         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
26444 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
26446         [BZ #17999]
26447         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
26448         instead of scandirat.
26449         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
26450         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
26451         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
26452         __scandirat.
26453         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
26454         (__scandirat): Declare.  Use libc_hidden_proto.
26455         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
26456         Remove variable.
26457         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
26459 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
26461         [BZ #15319]
26462         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
26463         (MO): New macro.
26464         (__ieee754_atan2): For results with small absolute value, force
26465         underflow exception and remove excess range and precision from
26466         return value.
26467         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
26468         (MO): New macro.
26469         (__ieee754_atan2f): For results with small absolute value, force
26470         underflow exception and remove excess range and precision from
26471         return value.
26472         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
26473         (MO): New macro.
26474         (__atan): For results with small absolute value, force underflow
26475         exception and remove excess range and precision from return value.
26476         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
26477         (MO): New macro.
26478         (__atanf): For results with small absolute value, force underflow
26479         exception and remove excess range and precision from return value.
26480         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
26481         <math.h>.
26482         (__ieee754_atan2): Force underflow exception for results with
26483         small absolute value.
26484         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
26485         <math_private.h>.
26486         (atan): Force underflow exception for results with small absolute
26487         value.
26488         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
26489         (__atanf): Force underflow exception for results with small
26490         absolute value.
26491         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
26492         <math.h>.
26493         (__atanl): Force underflow exception for results with small
26494         absolute value.
26495         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
26496         (__atanl): Force underflow exception for results with small
26497         absolute value.
26498         * sysdeps/x86/fpu/bits/mathinline.h
26499         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
26500         (__ieee754_atan2): Only define inline for long double.
26501         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
26502         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
26503         * math/auto-libm-test-in: Do not mark underflow exceptions as
26504         possibly missing for bug 15319.  Add more tests of atan2.
26505         * math/auto-libm-test-out: Regenerated.
26506         * math/libm-test.inc (casin_test_data): Do not mark underflow
26507         exceptions as possibly missing for bug 15319.
26508         (casinh_test_data): Likewise.
26509         * sysdeps/i386/fpu/libm-test-ulps: Update.
26511 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
26513         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
26514         * sysdeps/mips/bits/endian.h: Fix comments.
26516 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
26518         [BZ #17996]
26519         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
26520         (hdestroy_r): Likewise.
26521         (hsearch_r): Likewise.
26522         (__hcreate_r): Declare and use libc_hidden_proto.
26523         (__hdestroy_r): Likewise.
26524         (__hsearch_r): Likewise.
26525         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
26526         (hcreate): Call __hcreate_r instead of hcreate_r.
26527         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
26528         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
26529         as weak alias of __hcreate_r.
26530         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
26531         __hdestroy_r.
26532         (hsearch_r): Rename to __hsearch_r and define as weak alias of
26533         __hsearch_r.
26534         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
26535         Remove variable.
26536         (test-xfail-XPG4/search.h/linknamespace): Likewise.
26537         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
26538         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
26539         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
26541 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26543         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
26544         arena_lock into a single arena_get.
26546 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
26548         * dl-reloc.c: Inlucde libc-internal.h.
26549         (_dl_try_allocate_static_tls): Call ALIGN_UP.
26550         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
26551         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
26552         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
26553         (grow_heap): Likewise.
26554         * malloc/malloc.c: Include libc-internal.h.
26555         (do_check_malloc): Call powerof2.
26556         (sysmalloc): Use pagesize. Call ALIGN_UP.
26557         (systrim): Use pagesize.
26558         (mremap_chunk): Use pagesize. Call ALIGN_UP.
26559         (__libc_valloc): Use pagesize.
26560         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
26562 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
26564         [BZ #17991]
26565         * include/sys/resource.h (__getrlimit64): Declare.  Use
26566         libc_hidden_proto.
26567         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
26568         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
26569         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
26570         getrlimit64.
26571         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
26572         __getrlimit64.
26573         [!getrlimit64] (getrlimit64): Define as weak alias of
26574         __getrlimit64.  Use libc_hidden_weak.
26575         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
26576         using __getrlimit64 not __new_getrlimit64.
26577         (__GI_getrlimit64): Likewise.
26578         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
26579         Likewise.
26580         (__GI_getrlimit64): Likewise.
26581         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
26582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
26583         (getrlimit): Add __getrlimit64 alias.
26584         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
26585         Likewise.
26586         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
26587         Remove variable.
26588         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
26589         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
26591 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
26593         * libio/fileops.c: Add missing sys/mman.h
26594         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
26596 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
26598         * manual/math.texi (Errors in Math Functions): Clarify goals
26599         regarding inexact and underflow exceptions.
26601 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
26603         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
26604         * sysdeps/mips/memset.S: Ditto.
26606 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
26608         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
26610 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
26612         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
26613         (__v1longjmp): Remove versioned symbol.
26614         (__v1siglongjmp): Remove alias and versioned symbol.
26615         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
26616         (__v2siglongjmp): Likewise.
26618 2015-02-16  Torvald Riegel  <triegel@redhat.com>
26620         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
26622 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
26624         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
26626 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
26628         [BZ #17987]
26629         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
26630         zero result does not depend on the sign resulting from
26631         subtraction.
26632         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
26633         Likewise.
26634         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
26635         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
26636         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
26637         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
26638         * math/libm-test.inc (remquo_test_data): Add more tests.
26640 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
26642         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
26643         Problem reported by J William Piggott.
26645 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
26647         [BZ #17978]
26648         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
26649         products 4 * y and 2 * y where those would overflow.
26650         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
26651         Likewise.
26652         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
26653         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
26654         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
26655         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
26656         * math/libm-test.inc (remquo_test_data): Add more tests.
26658         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
26660         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
26661         [defined _COMPILING_NEWLIB].
26662         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
26663         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
26665         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
26666         [!defined __mips_isa_rev || __mips_isa_rev < 6].
26668 2015-02-16  Torvald Riegel  <triegel@redhat.com>
26670         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
26671         acquired.
26673 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
26675         [BZ #17792]
26676         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
26677         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
26678         HOST_STACK_END_ADDR): Likewise.
26680 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
26682         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
26683         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
26684         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
26686 2015-02-13  Roland McGrath  <roland@hack.frob.com>
26688         * sysdeps/generic/c++-types.data: New file.
26689         * sysdeps/generic/ld.abilist: New file.
26690         * sysdeps/generic/libBrokenLocale.abilist: New file.
26691         * sysdeps/generic/libanl.abilist: New file.
26692         * sysdeps/generic/libc.abilist: New file.
26693         * sysdeps/generic/libcrypt.abilist: New file.
26694         * sysdeps/generic/libdl.abilist: New file.
26695         * sysdeps/generic/libm.abilist: New file.
26696         * sysdeps/generic/libpthread.abilist: New file.
26697         * sysdeps/generic/libresolv.abilist: New file.
26698         * sysdeps/generic/librt.abilist: New file.
26700 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
26702         [BZ #17569]
26703         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
26704         Compute absolute value of x as modified by fmod, not original
26705         value of x.
26706         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
26707         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
26708         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
26709         RUN_TEST_ffI_f1_mod8.
26710         (remquo_test_data): Add more tests.
26712 2015-02-13  Roland McGrath  <roland@hack.frob.com>
26714         * sysdeps/init_array/pt-crti.S: New file.
26716 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
26718         [BZ #17967]
26719         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
26720         __builtin_fmaf instead of relying on contraction of a * b + c.
26722 2015-02-12  J William Piggott  <elseifthen@gmx.com>
26724         [BZ #17969]
26725         * manual/time.texi: correct the zoneinfo path in the TZ Variable
26726         node.
26728 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
26730         [BZ #17964]
26731         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
26732         __builtin_fma instead of relying on contraction of a * b + c.
26734 2015-02-12  Roland McGrath  <roland@hack.frob.com>
26736         * Makeconfig (ASFLAGS): Add -Werror=undef.
26737         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
26738         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
26739         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
26741         * Makeconfig (after-link): New variable.
26742         (+link-pie, +link-pie-tests): Use it.
26743         (+link-static, +link-static-tests): Likewise.
26744         (+link, +link-tests): Likewise.
26745         * Makerules (build-module, build-module-asneeded): Likewise.
26746         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
26747         Likewise.
26748         * elf/Makefile ($(objpfx)ld.so): Likewise.
26750 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
26752         [BZ #17965]
26753         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
26754         both struct timeval and struct timespec.
26756 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
26758         [BZ #16560]
26759         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26760         and redefine.
26761         (__ieee754_exp2l): Do not multiply small fractional parts by
26762         M_LN2l.
26763         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
26764         small argument.
26765         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
26766         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
26767         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
26768         * math/auto-libm-test-in: Add more tests of exp2.
26769         * math/auto-libm-test-out: Regenerated.
26771 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26773         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
26774         unaligned path.
26776 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26778         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
26779         little endian.
26781 2015-02-12  Andreas Schwab  <schwab@suse.de>
26783         [BZ #15790]
26784         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
26785         Filter out elision flags from value returned in kind.
26786         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
26787         * nptl/tst-pthread-mutexattr.c: New file.
26789 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26791         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
26792         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
26793         into gnu-gnu, and update comment to refer to abi-tags.
26795 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
26797         [BZ #15467]
26798         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
26799         (__sincos): Set errno to EDOM for infinite argument.
26800         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
26801         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
26802         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
26803         (__sincosl): Set errno to EDOM for infinite argument.
26804         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
26805         (__sincosl): Set errno to EDOM for infinite argument.
26806         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
26807         (__sincosl): Set errno to EDOM for infinite argument.
26808         * math/libm-test.inc (sincos_test_data): Test errno setting.
26810 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
26812         * string/strxfrm_l.c: Remove #define STRCMP.
26813         * string/strcoll_l.c: Remove #define STRLEN.
26814         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
26815         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
26817 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
26819         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
26820         * sysdeps/mips/mips32/sfp-machine.h: ... here.
26821         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
26822         * sysdeps/mips/mips64/Makefile: ... here.
26823         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
26824         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
26825         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
26826         * sysdeps/mips/mips64/sfp-machine.h: ... here.
26827         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
26828         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
26829         * sysdeps/mips/mips64/n64/Implies: Likewise.
26831 2015-02-10  Roland McGrath  <roland@hack.frob.com>
26833         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
26834         <sys/time.h>, <string.h>, and <errno.h>.
26835         (dest_offset, dest_address, value, zero): Remove unused variables.
26836         (ldouble): Remove typedef.
26837         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
26838         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
26839         1).  Fix code style.
26840         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
26841         (check): Function removed.
26842         (CHECK): New macro.
26843         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
26844         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
26845         Don't call set_sigaction_FP and remove_sigaction_FP here.
26846         (ldouble_test): Just use 'long double' as macro argument, no need for
26847         the 'ldouble' typedef.
26848         (do_test): Set up SIGFPE handler at start, using plain signal rather
26849         than sigaction.  Fix code style.
26851 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
26853         [BZ #17949]
26854         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
26855         jump label.
26857 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
26859         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
26860         * sysdeps/powerpc/powerpc32/configure: Regenerated.
26862         * sysdeps/powerpc/configure.ac: Remove file.
26863         * sysdeps/powerpc/configure: Likewise.
26865         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
26866         [sysdep_routines]: Remove wordcopy-power6 object.
26867         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
26868         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
26869         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
26870         (__memmove_ppc32): Likewise.
26871         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
26872         file.
26873         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
26874         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
26875         Remove preprocessor.
26877         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
26878         [sysdep_routines]: Remove wide chars objects.
26879         [wcsmbs]: New rule for wide char objects.
26881         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26882         Remove wordcopy-power6 obejct.
26883         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
26884         Use local call for wordcopy and memcpy symbols.
26885         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
26886         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
26887         implementation for loader.
26888         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
26890         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26891         Remove wordcopy-power7 object.
26892         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
26893         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
26894         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
26895         (_wordcopy_fwd_dest_aligned): Likewise.
26896         (_wordcopy_bwd_aligned): Likewise.
26897         (_wordcopy_bwd_dest_aligned): Likewise.
26899         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
26900         Rewrite to call __memmove_ppc instead of include default
26901         implementation.
26903         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26904         Remove wide chars objects.
26905         [wcsmbs]: New rule for wide char objects.
26907 2015-02-09  Andreas Schwab  <schwab@suse.de>
26909         [BZ #17912]
26910         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
26911         in terms of __O_DIRECTORY.
26913 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26915         * time/getdate.c: Include <stdbool.h>.
26916         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
26917         call PTR_MANGLE.
26918         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
26919         PTR_DEMANGLE.
26921 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
26923         Add ersatz _Static_assert on older C hosts
26924         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
26925         pre-C11 C platform that is not known to support _Static_assert.
26927 2015-02-07  Richard Braun  <rbraun@sceen.net>
26929         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
26930         sigstate.
26931         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
26933 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26935         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
26936         priority against unexistent AIO_PRIO_DELTA_MAX.
26937         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
26938         instead of int.
26939         * misc/fchflags.c (fchflags): Likewise.
26940         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
26941         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
26942         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
26943         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
26944         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
26945         Declare macros.
26946         [__USE_MISC] (chflags, fchflags): Declare functions.
26947         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
26948         EINVAL when nfds is greater than FD_SETSIZE.
26949         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
26950         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
26951         45.
26952         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
26953         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
26954         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
26955         MACH_RCV_TIMED_OUT.
26956         * hurd/hurd/signal.h (_hurd_self_sigstate,
26957         _hurd_critical_section_lock, _hurd_critical_section_unlock):
26958         Explicit casts from void *.
26959         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
26960         * abi-tags: Rename gnu-gnu os into gnu.
26962         [BZ #4719]
26963         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
26964         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
26965         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
26966         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
26967         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
26968         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
26970         [BZ #17944]
26971         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
26972         duplicates ADDR->sun_path with sockaddr LEN limitation.
26973         * sysdeps/mach/hurd/connect.c: Include <string.h>
26974         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
26975         * sysdeps/mach/hurd/sendmsg.c: Likewise.
26976         * sysdeps/mach/hurd/sendto.c: Likewise.
26977         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
26978         implementing it by hand.
26980 2015-02-06  Roland McGrath  <roland@hack.frob.com>
26982         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
26983         Use sfi_breg on ldr.
26984         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
26985         Likewise.
26987         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
26988         it's defined.
26989         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
26990         Test SIGSETXID only if it's defined.
26992         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
26994         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
26995         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
26997         * nptl/tst-align2.c: Moved ...
26998         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
26999         * nptl/Makefile (tests): Remove tst-align2.
27000         * sysdeps/unix/sysv/linux/Makefile
27001         [$(subdir) = nptl] (tests): Add tst-align-clone.
27002         * nptl/tst-getpid1.c: Moved ...
27003         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
27004         * nptl/tst-getpid2.c: Moved ...
27005         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
27006         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
27007         * sysdeps/unix/sysv/linux/Makefile
27008         [$(subdir) = nptl] (tests): ... here.
27009         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
27010         * sysdeps/unix/sysv/linux/Makefile
27011         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
27013         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
27014         Drop trailing \n from perror argument.  Use return rather than exit.
27016         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
27017         on [SA_SIGINFO].
27018         * nptl/tst-cancel21.c (do_test): Likewise.
27019         * debug/tst-backtrace6.c: Include <signal.h> first thing.
27020         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
27021         [!SA_SIGINFO]: Make it a stub test.
27023         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
27024         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
27026         * posix/tst-getlogin.c: Move to ...
27027         * login/tst-getlogin.c: ... here.
27028         * posix/Makefile (tests): Move tst-getlogin to ...
27029         * login/Makefile (tests): ... here.
27031         * libio/tst-atime.c (do_test): Move local variables SV and E
27032         inside [ST_NOATIME] conditional.
27034         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
27036         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
27038         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
27039         (wait_code): New function replaces macro.
27040         Call nanosleep rather than syscall.
27042         * nptl/pt-system.c: Rewritten.  Put everything under
27043         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
27044         Use IFUNC to redirect when possible.
27046         * nptl/pt-longjmp.c: Rewritten.  Put everything under
27047         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
27048         Use IFUNC to redirect when possible.
27050         * nptl/pt-fork.c: Rewritten.  Put everything under
27051         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
27052         Use IFUNC to redirect when possible.
27053         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
27055         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
27056         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
27057         unconditionally nowadays.  This included the only reference to
27058         __vdso_clock_gettime that appears outside libc proper.
27059         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
27060         Remove version set (containing only __vdso_clock_gettime).
27061         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
27062         Add attribute_hidden.
27063         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
27064         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
27065         libc_hidden_data_def.
27066         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
27067         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
27069         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
27070         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
27071         setrpcent, and getrpcport to ...
27072         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
27073         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
27074         getrpcbynumber_r, and getrpcent_r to ...
27075         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
27076         * inet/getrpcbyname.c: Moved ...
27077         * sunrpc/getrpcbyname.c: ... here.
27078         * inet/getrpcbyname_r.c: Moved ...
27079         * sunrpc/getrpcbyname_r.c: ... here.
27080         * inet/getrpcbynumber.c: Moved ...
27081         * sunrpc/getrpcbynumber.c: ... here.
27082         * inet/getrpcbynumber_r.c: Moved ...
27083         * sunrpc/getrpcbynumber_r.c: ... here.
27084         * inet/getrpcent.c: Moved ...
27085         * sunrpc/getrpcent.c: ... here.
27086         * inet/getrpcent_r.c: Moved ...
27087         * sunrpc/getrpcent_r.c: ... here.
27088         * inet/Makefile (routines): Move those to ...
27089         * sunrpc/Makefile (routines): ... here.
27090         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
27091         the $(subdirs) list.
27092         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
27093         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
27094         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
27095         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
27097         * elf/Makefile (routines): Include $(all-dl-routines), not just
27098         $(dl-routines).
27099         (rtld-routines): Likewise.  Use = rather than :=.
27100         * sysdeps/aarch64/Makefile [$(subdir) = elf]
27101         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
27102         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
27103         * sysdeps/arm/Makefile: Likewise.
27104         * sysdeps/i386/Makefile: Likewise.
27105         * sysdeps/x86_64/Makefile: Likewise.
27106         * sysdeps/hppa/Makefile [$(subdir) = elf]
27107         (sysdep_routines, sysdep-rtld-routines): Don't add
27108         $(sysdep-dl-routines) to these.
27109         * sysdeps/ia64/Makefile: Likewise.
27110         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
27111         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
27112         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
27113         Don't add dl-static to these; sysdep-dl-routines alone is enough.
27114         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
27115         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
27116         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
27117         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
27118         * sysdeps/powerpc/Makefile [$(subdir) = elf]
27119         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
27120         these; sysdep-dl-routines alone is enough.
27122 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
27124         [BZ #17932]
27125         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
27126         where multiplication results in zero and third argument is finite
27127         and nonzero.
27128         * math/auto-libm-test-in: Add more tests of fma.
27129         * math/auto-libm-test-out: Regenerated.
27131         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
27132         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
27133         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
27134         (_FP_CMP_EQ): Likewise.
27135         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
27137         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
27138         extra argument CHECK_NAN.  Redefine as wrapper around
27139         _FP_EXTEND_CNAN.
27141 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
27143         * version.h (RELEASE): Set to "stable".
27144         (VERSION): Set to "2.21"
27145         * include/features.h (__GLIBC_MINOR__): Set to 21.
27147         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
27149 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
27150             Paul Eggert  <eggert@cs.ucla.edu>
27152         [BZ #16618]
27153         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
27154         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
27155         size in bytes. Store needed elements in wpmax. Use needed size
27156         in bytes for extend_alloca.
27158 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
27160         * manual/install.texi: Latest tested versions are GCC 4.9.2,
27161         binutls 2.25, and texinfo 5.2.
27162         * INSTALL: Regenerate.
27163         * sysdeps/nios2/configure: Regenerate.
27164         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
27165         * manual/contrib.texi: Update.
27166         * po/be.po: Update.
27167         * po/bg.po: Update.
27168         * po/ca.po: Update.
27169         * po/cs.po: Update.
27170         * po/da.po: Update.
27171         * po/de.po: Update.
27172         * po/el.po: Update.
27173         * po/eo.po: Update.
27174         * po/es.po: Update.
27175         * po/fi.po: Update.
27176         * po/fr.po: Update.
27177         * po/gl.po: Update.
27178         * po/hr.po: Update.
27179         * po/hu.po: Update.
27180         * po/ia.po: Update.
27181         * po/id.po: Update.
27182         * po/it.po: Update.
27183         * po/ja.po: Update.
27184         * po/ko.po: Update.
27185         * po/lt.po: Update.
27186         * po/nb.po: Update.
27187         * po/nl.po: Update.
27188         * po/pl.po: Update.
27189         * po/pt_BR.po: Update.
27190         * po/ru.po: Update.
27191         * po/rw.po: Update.
27192         * po/sk.po: Update.
27193         * po/sl.po: Update.
27194         * po/sv.po: Update.
27195         * po/tr.po: Update.
27196         * po/uk.po: Update.
27197         * po/vi.po: Update.
27198         * po/zh_CN.po: Update.
27199         * po/zh_TW.po: Update.
27201         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
27202         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
27203         * sysdeps/hppa/dl-irel.h: Remove #warning.
27204         * sysdeps/hppa/entry.h: Provide prototype for
27205         __canonicalize_funcptr_for_compare and cast argument.
27206         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
27207         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
27208         * sysdeps/hppa/sotruss-lib.c: New file.
27209         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
27210         (atomic_compare_and_exchange_val_acq): Use __typeof__.
27211         (atomic_compare_and_exchange_bool_acq): Likewise.
27212         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
27213         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
27215         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
27216         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
27217         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
27219 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
27221         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
27222         called function in non-PIC case.
27224 2015-01-31  David S. Miller  <davem@davemloft.net>
27226         * sysdeps/sparc/sparc32/bits/atomic.h
27227         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
27228         unlock not after it.
27229         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
27230         volatile register usage warnings from the compiler.
27232         * sysdeps/sparc/nptl/sem_init.c: Delete.
27233         * sysdeps/sparc/nptl/sem_post.c: Delete.
27234         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
27235         * sysdeps/sparc/nptl/sem_wait.c: Delete.
27236         * sysdeps/sparc/sparc32/sem_init.c: New file.
27237         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
27238         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
27239         padding explicitly initialized.
27240         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
27241         padding for in-semaphore spinlock.
27242         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
27243         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
27244         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
27245         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
27246         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
27247         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
27248         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
27249         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
27250         version.
27251         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
27252         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
27254 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
27256         [BZ #17801]
27257         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27258         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
27259         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
27260         New.
27261         (index_AVX_Fast_Unaligned_Load): Likewise.
27262         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
27263         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
27264         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
27265         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
27266         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
27267         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
27268         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
27269         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
27270         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
27272 2015-01-29  Andreas Schwab  <schwab@suse.de>
27274         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
27276 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
27278         [BZ #17892]
27279         * nscd/nscd_stat.c (send_stats): Initialize DATA.
27281 2015-01-28  Martin Sebor  <msebor@redhat.com>
27283         * math/README.libm-test: Clarify. Add "How to read the test output."
27285 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
27287         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
27288         Define to 0.
27290 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
27292         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
27293         (__HAVE_64B_ATOMICS): Define to 0.
27295 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
27297         [BZ #17885]
27298         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
27299         value to set as new flag.
27301         [BZ #16576]
27302         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
27303         and use _ARCH_PPCSQ instead.
27304         (__ieee754_sqrt): Likewise.
27305         (__ieee754_sqrtf): Likewise.
27306         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
27307         _ARCH_PPCSQ is defined.
27308         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
27309         fsqrt instruction.
27310         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
27311         _ARCH_PPCSQ is defined.
27312         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
27313         fsqrts instruction.
27314         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
27316 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27318         * iconv/loop.c: Suppress array out of bound warning caused by GCC
27319         bug (GCC BZ #64739).
27321 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
27323         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
27324         Mark _retval as used.
27325         (lll_futex_wake_unlock): Likewise.
27326         (lll_futex_timed_wait_requeue_pi): Likewise.
27328         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
27329         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
27330         register variables.
27332         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
27333         libm_hidden_def.
27335         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
27336         (__bswap_64): Mark as __always_inline.
27338 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
27340         [BZ #15378]
27341         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
27342         when none of the search directories exist.
27344 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
27346         [BZ #17869]
27347         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
27348         power8 in .machine directive.
27350         [BZ #17868]
27351         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
27352         set dependency from opd value.
27354 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
27356         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27357         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
27358         architecture.
27360 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
27362         [BZ #17870]
27363         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
27364         with uint64_t.
27365         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
27366         (uint64_t) 1.
27367         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
27368         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
27369         Replace 1UL with (uint64_t) 1.
27370         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
27371         int with uint64_t.
27373 2015-01-23  Roland McGrath  <roland@hack.frob.com>
27375         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
27376         (if_freenameindex): Likewise.
27378         * resource/getrlimit64.c: Add missing libc_hidden_def.
27380 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
27382         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
27383         __label__.
27384         (_FP_FMA): Likewise.
27385         (_FP_TO_INT_ROUND): Likewise.
27386         (_FP_FROM_INT): Likewise.
27388 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27390         [BZ #16418]
27391         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
27392         Make code racy and cancel safe.
27394 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
27396         * sysdeps/arm/unwind-resume.h: Fix copyright year.
27397         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
27398         attribution.
27400         * pwd/tst-getpw.c: Rewrite.
27402         [BZ #17702]
27403         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
27404         (modules-names): Add moddummy1 and moddummy2.
27405         ($(objpfx)tst-rec-dlopen): Define.
27406         * dlfcn/moddummy1.c: New file.
27407         * dlfcn/moddummy2.c: New file.
27408         * dlfcn/tst-rec-dlopen.c: New file.
27409         * elf/dl-cache.c (_dl_load_cache_lookup):
27410         Return char*. Copy result with alloca/strcpy/strdup.
27411         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
27412         returns char*. Free cached. If not saving realname
27413         free cached.
27414         * elf/dl-open.c (dl_open_worker): Do not assert that
27415         _r_debug->r_state is RT_CONSISTENT.
27416         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
27417         returns char*.
27419 2015-01-21  Torvald Riegel  <triegel@redhat.com>
27420             Carlos O'Donell  <carlos@redhat.com>
27422         [BZ #12674]
27423         * nptl/sem_waitcommon.c: New file.
27424         * nptl/sem_wait.c: Include sem_waitcommon.c.
27425         (__sem_wait_cleanup, do_futex_wait): Remove.
27426         (__new_sem_wait): Adapt.
27427         (__new_sem_trywait): New function.
27428         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
27429         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
27430         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
27431         (sem_timedwait): Adapt.
27432         * nptl/sem_post.c (__new_sem_post): Adapt.
27433         (futex_wake): New function.
27434         (__old_sem_post): Add release MO fence.
27435         * nptl/sem_open.c (sem_open): Adapt.
27436         * nptl/sem_init.c (__new_sem_init): Adapt.
27437         (futex_private_if_supported): New function.
27438         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
27439         (__old_sem_getvalue): Add using previous code.
27440         * sysdeps/nptl/internaltypes.h: Adapt.
27441         * nptl/tst-sem13.c (do_test): Adapt.
27442         * nptl/tst-sem11.c (main): Adapt.
27443         * nptl/sem_trywait.c: Remove.
27444         * nptl/DESIGN-sem.txt: Remove.
27445         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
27446         (gen-as-const-headers): Remove structsem.sym.
27447         * nptl/structsem.sym: Remove.
27448         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
27449         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
27450         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
27451         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
27452         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
27453         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
27454         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
27455         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
27456         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
27457         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
27458         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
27459         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
27460         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
27461         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
27462         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
27463         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
27464         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
27465         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
27466         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
27467         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
27468         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
27469         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
27471 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
27473         * INSTALL: Regenerated.
27475         * po/libc.pot: Regenerated.
27477 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
27478             Sandra Loosemore  <sandra@codesourcery.com>
27479             Andrew Jenner  <andrew@codesourcery.com>
27480             Joseph Myers  <joseph@codesourcery.com>
27481             Nathan Sidwell  <nathan@codesourcery.com>
27483         * NEWS: Mention new Nios II port.
27484         * sysdeps/nios2/Implies: New file.
27485         * sysdeps/nios2/Makefile: New file.
27486         * sysdeps/nios2/Subdirs: New file.
27487         * sysdeps/nios2/Versions: New file.
27488         * sysdeps/nios2/__longjmp.S: New file.
27489         * sysdeps/nios2/abort-instr.h: New file.
27490         * sysdeps/nios2/backtrace.c: New file.
27491         * sysdeps/nios2/bits/endian.h: New file.
27492         * sysdeps/nios2/bits/fenv.h: New file.
27493         * sysdeps/nios2/bits/link.h: New file.
27494         * sysdeps/nios2/bits/setjmp.h: New file.
27495         * sysdeps/nios2/bsd-_setjmp.S: New file.
27496         * sysdeps/nios2/bsd-setjmp.S: New file.
27497         * sysdeps/nios2/configure: New generated file.
27498         * sysdeps/nios2/configure.ac: New file.
27499         * sysdeps/nios2/crti.S: New file.
27500         * sysdeps/nios2/crtn.S: New file.
27501         * sysdeps/nios2/dl-init.c: New file.
27502         * sysdeps/nios2/dl-machine.h: New file.
27503         * sysdeps/nios2/dl-sysdep.h: New file.
27504         * sysdeps/nios2/dl-tls.h: New file.
27505         * sysdeps/nios2/dl-trampoline.S: New file.
27506         * sysdeps/nios2/gccframe.h: New file.
27507         * sysdeps/nios2/gmp-mparam.h: New file.
27508         * sysdeps/nios2/jmpbuf-offsets.h: New file.
27509         * sysdeps/nios2/jmpbuf-unwind.h: New file.
27510         * sysdeps/nios2/ldsodefs.h: New file.
27511         * sysdeps/nios2/libc-tls.c: New file.
27512         * sysdeps/nios2/libm-test-ulps: New file.
27513         * sysdeps/nios2/machine-gmon.h: New file.
27514         * sysdeps/nios2/math-tests.h: New file.
27515         * sysdeps/nios2/math_private.h: New file.
27516         * sysdeps/nios2/memusage.h: New file.
27517         * sysdeps/nios2/nptl/Makefile: New file.
27518         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
27519         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
27520         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
27521         * sysdeps/nios2/nptl/pthreaddef.h: New file.
27522         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
27523         * sysdeps/nios2/nptl/tls.h: New file.
27524         * sysdeps/nios2/preconfigure: New file.
27525         * sysdeps/nios2/s_fma.c: New file.
27526         * sysdeps/nios2/s_fmaf.c: New file.
27527         * sysdeps/nios2/setjmp.S: New file.
27528         * sysdeps/nios2/sfp-machine.h: New file.
27529         * sysdeps/nios2/sotruss-lib.c: New file.
27530         * sysdeps/nios2/stackguard-macros.h: New file.
27531         * sysdeps/nios2/stackinfo.h: New file.
27532         * sysdeps/nios2/start.S: New file.
27533         * sysdeps/nios2/sysdep.h: New file.
27534         * sysdeps/nios2/tls-macros.h: New file.
27535         * sysdeps/nios2/tst-audit.h: New file.
27536         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
27537         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
27538         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
27539         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
27540         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
27541         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
27542         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
27543         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
27544         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
27545         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
27546         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
27547         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
27548         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
27549         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
27550         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
27551         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
27552         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
27553         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
27554         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
27555         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
27556         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
27557         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
27558         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
27559         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
27560         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
27561         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
27562         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
27563         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
27564         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
27565         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
27566         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
27567         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
27568         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
27569         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
27570         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
27571         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
27572         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
27573         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
27574         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
27575         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
27576         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
27577         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
27578         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
27579         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
27581 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
27583         [BZ #17844]
27584         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
27585         (getutent): Use weak_alias in non SHARED case
27586         and default_symbol_version in SHARED case.
27587         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
27588         (getutent_r, pututline): Likewise.
27589         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
27590         (getutid): Likewise.
27591         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
27592         (getutid_r): Likewise.
27593         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
27594         (getutline): Likewise.
27595         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
27596         (getutline_r): Likewise.
27597         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
27598         (updwtmp): Likewise.
27600 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
27602         [BZ #17848]
27603         * sysdeps/s390/s390-32/memcmp.S
27604         (memcmp_g5): Rename to __memcmp_g5.
27605         * sysdeps/s390/s390-32/memcpy.S
27606         (memcpy_g5): Rename to __memcpy_g5.
27607         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27608         (memcpy_mvcle) Rename to __memcpy_mvcle.
27609         * sysdeps/s390/s390-32/memset.S
27610         (memset_g5): Rename to __memset_g5.
27611         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
27612         (IFUNC_RESOLVE): Prefix ifunc-resolve function
27613         and use prefixed functions.
27614         * sysdeps/s390/s390-32/multiarch/memcmp.S
27615         (memcmp_z196): Rename to __memcmp_z196.
27616         (memcmp_z10): Rename to __memcmp_z10.
27617         (memcmp): Set alias to __memcmp_g5.
27618         (bcmp): Set alias to __memcmp_g5.
27619         * sysdeps/s390/s390-32/multiarch/memcpy.S
27620         (memcpy_z196): Rename to __memcpy_z196.
27621         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27622         (memcpy_z10): Rename to __memcpy_z10.
27623         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27624         (memcpy): Set alias to __memcpy_g5.
27625         * sysdeps/s390/s390-32/multiarch/memset.S
27626         (memset_z196): Rename to __memset_z196.
27627         Jump to __memset_mvcle instead of memset_mvcle.
27628         (memset_z10): Rename to __memset_z10.
27629         Jump to __memset_mvcle instead of memset_mvcle.
27630         (memset_mvcle) Rename to __memset_mvcle.
27631         (memset): Set alias to __memset_g5.
27632         * sysdeps/s390/s390-64/memcmp.S
27633         (memcmp_z900): Rename to __memcmp_z900.
27634         * sysdeps/s390/s390-64/memcpy.S
27635         (memcpy_z900): Rename to __memcpy_z900.
27636         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27637         (memcpy_mvcle) Rename to __memcpy_mvcle.
27638         * sysdeps/s390/s390-64/memset.S
27639         (memset_z900): Rename to __memset_z900.
27640         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
27641         (IFUNC_RESOLVE): Prefix ifunc-resolve function
27642         and use prefixed functions.
27643         * sysdeps/s390/s390-64/multiarch/memcmp.S
27644         (memcmp_z196): Rename to __memcmp_z196.
27645         (memcmp_z10): Rename to __memcmp_z10.
27646         (memcmp): Set alias to __memcmp_z900.
27647         (bcmp): Set alias to __memcmp_z900.
27648         * sysdeps/s390/s390-64/multiarch/memcpy.S
27649         (memcpy_z196): Rename to __memcpy_z196.
27650         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27651         (memcpy_z10): Rename to __memcpy_z10.
27652         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27653         (memcpy): Set alias to __memcpy_z900.
27654         * sysdeps/s390/s390-64/multiarch/memset.S
27655         (memset_z196): Rename to __memset_z196.
27656         Jump to __memset_mvcle instead of memset_mvcle.
27657         (memset_z10): Rename to __memset_z10.
27658         Jump to __memset_mvcle instead of memset_mvcle.
27659         (memset_mvcle) Rename to __memset_mvcle.
27660         (memset): Set alias to __memset_z900.
27662 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
27664         [BZ #17748]
27665         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
27666         __fesetenv instead of fesetenv.
27668 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27670         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
27671         macro.
27673 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27675         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
27676         regression on LE.
27678         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
27679         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
27680         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
27681         strncmp-power8 object.
27682         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27683         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
27684         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
27685         * NEWS: Update.
27687 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27688             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27690         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
27691         trailing byte check.
27693 2015-01-13  David S. Miller  <davem@davemloft.net>
27695         * include/signal.h (__sigreturn): Guard with __USE_MISC.
27697 2015-01-13  Roland McGrath  <roland@hack.frob.com>
27699         * login/logout.c (logout): Use memset rather than bzero.
27700         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
27701         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
27702         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
27703         (_gethtbyaddr): Likewise.
27704         * locale/programs/simple-hash.c (bcopy): Macro removed.
27706 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27708         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27709         Add strcmp-power8 object.
27710         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27711         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
27712         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
27713         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
27714         __strcmp_power8 implementation.
27715         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
27716         * NEWS: Update.
27718         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27719         Add strncpy-power8 and stpncpy-power8 objects.
27720         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27721         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
27722         implementations.
27723         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
27724         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
27725         __stpncpy_power8 implementation.
27726         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
27727         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
27728         __strncpy_power8 implementation.
27729         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
27730         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
27731         * NEWS: Update.
27733         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
27734         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
27735         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
27737         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
27738         strncat-power8 object.
27739         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
27740         __strcat_power8 implementation.
27741         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27742         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
27743         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
27744         optimized strcat for power8.
27746         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
27747         strcpy-power8 and stpcpy-power8 objects.
27748         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27749         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
27750         implementations.
27751         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
27752         multiarch stpcpy implementation for POWER8.
27753         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
27754         multiarch strcpy implementation for POWER8.
27755         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
27756         __strcpy_power8 function.
27757         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
27758         stpcpy for POWER8.
27759         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
27760         strcpy for POWER8.
27761         * NEWS: Update.
27763 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
27765         [BZ #16009]
27766         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
27767         weights and rules. Use do_xfrm_cached if data fits in cache,
27768         do_xfrm otherwise.  Moved former main loop to...
27769         * (do_xfrm_cached): New function.
27770         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
27771         find_idx, find_position and stack_push.
27772         * (find_idx): New function.
27773         * (find_position): Likewise.
27774         * localedata/sort-test.sh: Added test run for do_xfrm.
27775         * localedata/xfrm-test.c (main): Added command line option
27776         -nocache to run the test with strings that are too large for
27777         the STRXFRM cache.
27779 2015-01-13  Torvald Riegel  <triegel@redhat.com>
27781         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
27782         variable to lll_futex_wake call, not the value itself.
27784 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
27786         [BZ #17803]
27787         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
27788         twom64.  Adjust value to 0x1p-64L.
27789         (__scalblnl): Only return standard underflowing result for K <=
27790         -64 not K <= -63; adjust exponent for underflowing result by 64
27791         not 63.
27792         * math/libm-test.inc (scalbn_test_data): Add more tests.
27793         (scalbln_test_data): Likewise.
27795         [BZ #17834]
27796         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
27797         0x1p63L.
27798         (__scalblnl): Get new exponent of adjusted subnormal value from ES
27799         not HX.
27800         * math/libm-test.inc (scalbn_test_data): Add more tests.
27801         (scalbln_test_data): Likewise.
27803 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27804             Stefani Seibold  <stefani@seibold.net>
27806         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
27807         (sysdep_routines): Add dl-vdso here, ...
27808         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
27809         (sysdep_routines): ... not here.
27810         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
27811         fallback when vDSO is not presented.
27812         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
27813         Define with libc_hidden_proto/libc_hidden_data_def definitions.
27814         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
27815         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
27816         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
27817         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
27818         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
27819         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
27820         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
27821         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
27822         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
27823         fallback configurable symbol when vDSO is not available.
27824         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
27825         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
27826         be able to redefine fallback symbol when vDSO is not available.
27827         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
27828         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
27830 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27832         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
27833         (TLS_INIT_TP): Add tm_capable initialization.
27834         (TLS_DEFINE_INIT_TP): Likewise.
27835         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
27836         TCB.
27837         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
27838         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
27839         calculation.
27840         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
27841         transactoion is lock elision is built and TCB tm_capable is set.
27842         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
27843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27844         (INTERNAL_SYSCALL_NCS): Likewise.
27845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27846         (INTERNAL_SYSCALL_NCS): Likewise.
27847         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
27849         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
27850         for powerpc.
27851         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
27852         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
27853         and remove it for 32 bits case.
27854         [pthread_rwlock_t] (__rwelision): New field for lock elision.
27855         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
27856         initialization.
27857         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
27858         Disable lock elision with rdlocks if elision is not available.
27860         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
27861         (sysdep_routines): Add lock elision objects.
27862         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
27863         [pthread_mutex_t] (__spins): Rework to add lock elision field.
27864         [pthread_mutex_t] (__elision): Add field.
27865         [__PTHREAD_SPINS]: Adjust to init lock elision field.
27866         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
27867         elision definitions for powerpc.
27868         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
27869         implementation of lock elision for powerpc.
27870         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
27871         implementation of timed lock elision for powerpc.
27872         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
27873         implementation of trylock with lock elision for powerpc.
27874         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
27875         implementaion of unlock for lock elision for powerpc.
27876         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
27877         automatic enable lock elision for mutexes.
27878         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
27879         transaction execution definitions for powerpc.
27880         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
27881         definitions.
27882         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
27883         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
27884         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
27885         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
27886         * NEWS: Update.
27888 2015-01-09  Roland McGrath  <roland@hack.frob.com>
27890         * sysdeps/posix/shm-directory.c: Use <> rather than ""
27891         for #include of <shm-directory.h>.
27893 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
27895         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
27896         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
27898 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
27900         [BZ #17791]
27901         * NEWS: Mention bug fix.
27902         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
27903         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
27904         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
27906 2015-01-09  Torvald Riegel <triegel@redhat.com>
27908         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
27910 2015-01-09  Torvald Riegel <triegel@redhat.com>
27912         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
27914 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
27916         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
27917         pointer and cast to uintptr_t.
27919 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
27921         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
27922         removed.
27923         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
27925 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
27927         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
27928         of 0.
27930 2015-01-08  Roland McGrath  <roland@hack.frob.com>
27932         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
27933         <nptl/pthreadP.h> instead.
27934         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
27936         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
27937         already defined.
27938         [__SIGRTMIN] (init): Function removed.
27939         [__SIGRTMIN] (initialized): Variable removed.
27940         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
27941         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
27942         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
27943         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
27944         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
27945         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
27946         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
27947         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
27948         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
27949         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
27950         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
27951         * sysdeps/nptl/allocrtsig.c: New file.
27952         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
27953         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
27954         * sysdeps/generic/testrtsig.h: File removed.
27956         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
27957         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
27959         * nptl/nptl-init.c (pthread_functions): Conditionalize
27960         .ptr__nptl_setxid initialization on [SIGSETXID].
27962         * sysdeps/nptl/sys/procfs.h: New file.
27963         * nptl_db/Makefile (headers): Add it.
27964         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
27966         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
27967         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
27968         * nptl/pthread_attr_setaffinity.c: Include it.
27969         * nptl/pthread_setattr_default_np.c: Likewise.
27970         * nptl/check-cpuset.h: New file.
27972 2015-01-08  Richard Henderson  <rth@redhat.com>
27974         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
27975         (CFLAGS-tst-execstack-prog.c): Likewise.
27976         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
27978 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
27979             Sandra Loosemore  <sandra@codesourcery.com>
27980             Andrew Jenner  <andrew@codesourcery.com>
27981             Joseph Myers  <joseph@codesourcery.com>
27982             Nathan Sidwell  <nathan@codesourcery.com>
27984         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
27985         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
27986         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
27987         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
27988         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
27989         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
27990         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
27991         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
27992         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
27993         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
27994         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
27995         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
27996         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
27997         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
27998         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
27999         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
28000         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
28002 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28004         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
28005         timespec struct member in syscall macro.
28006         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
28007         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
28008         first timeval struct member in syscall macro.
28009         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
28011 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
28013         [BZ #17748]
28014         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
28015         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
28016         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
28017         __feupdateenv and define as weak alias of __feupdateenv.  Use
28018         libm_hidden_weak.
28019         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
28020         libm_hidden_def.
28021         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
28022         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
28023         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
28024         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
28025         libm_hidden_def.
28026         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
28027         __feupdateenv and define as weak alias of __feupdateenv.  Use
28028         libm_hidden_weak.
28029         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
28030         libm_hidden_def.
28031         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
28032         __feupdateenv and define as weak alias of __feupdateenv.  Use
28033         libm_hidden_weak.
28034         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
28035         libm_hidden_def.
28036         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
28037         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
28038         (__feupdateenv): Likewise.
28039         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
28040         __feupdateenv and define as weak alias of __feupdateenv.  Use
28041         libm_hidden_weak.
28042         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28043         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
28044         libm_hidden_def.
28045         * sysdeps/tile/math_private.h (__feupdateenv): New inline
28046         function.
28047         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
28048         libm_hidden_def.
28049         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
28050         __feupdateenv instead of feupdateenv.
28051         (default_libc_feupdateenv_test): Likewise.
28052         (libc_feresetround_ctx): Likewise.
28054 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28056         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
28057         prototype.
28059 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
28061         * posix/regcomp.c (parse_bracket_exp): Initialize type to
28062         COLL_SYM in a couple of places to avoid uninitialized variable
28063         wanings on tilegx gcc 4.8.2.
28065 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
28067         * sysdeps/aarch64/strcpy.S: New file.
28068         * sysdeps/aarch64/stpcpy.S: New file.
28069         * NEWS: Updated.
28071 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
28073         * sysdeps/aarch64/strrchr.S: New file.
28074         * NEWS: Updated.
28076 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
28078         [BZ #17658]
28079         * stdlib/setenv.c: Fix memory leak when setting large,
28080         duplicate string.
28082 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
28084         [BZ #17273]
28085         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
28086         and tabs from buffer before parsing fstab entry.
28087         * misc/tst-mntent.c (main): Add test for mount entry with
28088         trailing spaces and tabs.
28090 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
28092         [BZ #17748]
28093         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
28094         * math/fesetround.c (fesetround): Rename to __fesetround and
28095         define as weak alias of __fesetround.  Use libm_hidden_weak.
28096         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
28097         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
28098         * sysdeps/arm/fesetround.c (fesetround): Likewise.
28099         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
28100         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
28101         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
28102         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
28103         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
28104         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
28105         __fesetround_inline.
28106         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
28107         __fesetround_inline instead of __fesetround.
28108         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
28109         __fesetround and define as weak alias of __fesetround.  Use
28110         libm_hidden_weak.  Call __fesetround_inline instead of
28111         __fesetround.
28112         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
28113         __fesetround and define as weak alias of __fesetround.  Use
28114         libm_hidden_weak.
28115         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
28116         Likewise.
28117         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
28118         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28119         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
28120         * sysdeps/tile/math_private.h (__fesetround): New inline function.
28121         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
28122         __fesetround and define as weak alias of __fesetround.  Use
28123         libm_hidden_weak.
28124         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
28125         __fesetround instead of fesetround.
28126         (default_libc_feholdexcept_setround): Likewise.
28127         (libc_feholdsetround_ctx): Likewise.
28128         (libc_feholdsetround_noex_ctx): Likewise.
28130         [BZ #17748]
28131         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
28132         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
28133         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
28134         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
28135         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
28136         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
28137         define as weak alias of __fesetenv.  Use libm_hidden_weak.
28138         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
28139         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
28140         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
28141         define as weak alias of __fesetenv.  Use libm_hidden_weak.
28142         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
28143         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
28144         define as weak alias of __fesetenv.  Use libm_hidden_weak.
28145         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
28146         libm_hidden_def.
28147         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
28148         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
28149         Likewise.
28150         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
28151         define as weak alias of __fesetenv.  Use libm_hidden_weak.
28152         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
28153         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
28154         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
28155         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
28156         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
28157         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
28158         __fesetenv instead of fesetenv.
28159         (libc_feresetround_noex_ctx): Likewise.
28160         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
28161         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
28162         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
28163         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
28164         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
28165         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
28166         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
28167         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
28168         (__feupdateenv): Likewise.
28169         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
28170         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28171         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
28172         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
28174 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
28176         [BZ #17806]
28177         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
28178         addresses have been freed.
28180 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
28182         * resolv/res_init.c (__res_vinit): Improve comments about nserv
28183         and nservall.
28185 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
28187         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
28188         Clean up check_pf allocation pattern. addresses
28190 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28192         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
28193         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
28194         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
28195         * nptl/pthread_exit.c (__pthread_exit): Likewise.
28196         * nptl/pthread_join.c (pthread_join): Likewise.
28197         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
28198         * sysdeps/posix/waitid.c (__waitid): Likewise.
28199         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
28200         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
28201         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
28202         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
28203         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
28204         Likewise.
28205         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
28206         (__libc_pread64): Likewise.
28207         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
28208         (__libc_pwrite): Likewise.
28209         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
28210         (__libc_pwrite64): Likewsie.
28211         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
28212         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
28213         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
28214         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
28215         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
28216         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
28217         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
28218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
28219         Likewise.
28220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
28221         (__libc_pread64): Likewise.
28222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
28223         Likewise.
28224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
28225         (__libc_pwrite64): Likewise.
28226         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
28227         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
28228         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
28229         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
28230         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
28231         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
28232         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
28233         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
28234         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
28235         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
28236         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
28237         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
28238         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
28239         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
28240         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
28241         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
28242         Likewise.
28244 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
28246         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
28247         (CFLAGS-test-double.c): Likewise.
28248         (CFLAGS-test-ldouble.c): Likewise.
28249         (CPPFLAGS-test-ifloat.c): Likewise.
28250         (CPPFLAGS-test-idouble.c): Likewise.
28251         (CPPFLAGS-test-ildoubl.c): Likewise.
28252         (CFLAGS-test-test-fenv.c): Remove variable.
28253         (CFLAGS-test-misc.c): Likewise.
28255 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
28257         [BZ #17797]
28258         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
28259         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
28260         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
28261         CLOCKS_PER_SEC == 1000000.
28262         * time/clocktest.c (main): Replace %ld with %jd and cast to
28263         intmax_t.
28265 2015-01-05  Roland McGrath  <roland@hack.frob.com>
28267         * sysdeps/generic/unwind-resume.h: New file.
28268         * sysdeps/gnu/unwind-resume.c: Include it.
28269         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
28270         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
28271         argument list.
28272         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
28273         global rather than static.
28274         (_Unwind_Resume): Update user.
28275         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
28276         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
28277         rather than static.  Add __attribute__ ((cold)).
28278         (_Unwind_Resume, __gcc_personality_v0): Update callers.
28279         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
28280         * sysdeps/arm/arm-unwind-resume.S: New file.
28281         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
28282         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
28283         * sysdeps/arm/Makefile [$(subdir) = csu]
28284         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
28285         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
28286         Add rt-arm-unwind-resume.
28287         [$(subdir) = nptl]
28288         (libpthread-sysdep_routines, libpthread-shared-only-routines):
28289         Add pt-arm-unwind-resume.
28290         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
28291         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
28293 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
28295         [BZ #17748]
28296         * include/fenv.h (__feholdexcept): Declare.  Use
28297         libm_hidden_proto.
28298         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
28299         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
28300         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28301         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
28302         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
28303         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
28304         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
28305         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28306         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
28307         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
28308         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
28309         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
28310         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
28311         (feholdexcept): Likewise.
28312         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28313         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
28314         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
28315         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28316         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
28317         __feholdexcept instead of feholdexcept.
28318         (default_libc_feholdexcept_setround): Likewise.
28320 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
28322         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
28323         to avoid using stl/str to align destination.
28325 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
28327         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
28329 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
28331         [BZ #17796]
28332         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
28333         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
28334         Define as weak alias not strong alias.
28336 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
28338         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
28339         bltzal with addiupc.
28340         (RTLD_START): Ditto.
28342 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
28344         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
28345         for __vdso_* functions in declarations.
28346         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
28347         definitions.
28348         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
28349         INTERNAL_VSYSCALL): Use struct return types to check for error.
28351         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
28352         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
28353         function with cast from llround().
28354         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
28355         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
28356         Define.
28358 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
28360         [BZ #17793]
28361         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
28362         Define as weak alias not strong alias.
28364         [BZ #17635]
28365         * ctype/ctype-c99.c: New file.  isblank implementation moved from
28366         ...
28367         * ctype/ctype-extn.c: ... here.
28368         (__isblank_l): Move to ...
28369         * ctype/ctype-c99_l.c: ... here.  New file.
28370         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
28371         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
28372         Remove variable.
28373         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
28374         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
28375         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
28376         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
28377         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
28379         [BZ #17777]
28380         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
28381         (posix_fadvise64): Define as weak alias not strong alias.
28382         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28383         (posix_fallocate64): Likewise.
28384         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
28385         Remove variable.
28386         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
28387         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
28388         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
28389         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
28390         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
28392 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
28394         [BZ #16191]
28395         * NEWS: Mention bug fix.
28396         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
28397         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
28398         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
28399         (HOST_STACK_END_ADDR): Likewise.
28401 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
28403         [BZ #17748]
28404         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
28405         * math/fegetround.c (fegetround): Rename to __fegetround and
28406         define as weak alias of __fegetround.  Use libm_hidden_weak.
28407         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
28408         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
28409         * sysdeps/arm/fegetround.c (fegetround): Likewise.
28410         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
28411         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
28412         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
28413         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
28414         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
28415         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
28416         Undefine after rather than before function definition; use
28417         parentheses around function name in definition.
28418         (__fegetround): Also undefine macro after function definition.
28419         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
28420         __fegetround and define as weak alias of __fegetround.  Use
28421         libm_hidden_weak.  Do not undefine as macro.
28422         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
28423         Likewise.
28424         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
28425         __fegetround and define as weak alias of __fegetround.  Use
28426         libm_hidden_weak.
28427         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28428         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
28429         * sysdeps/tile/math_private.h (__fegetround): New inline function.
28430         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
28431         __fegetround and define as weak alias of __fegetround.  Use
28432         libm_hidden_weak.
28433         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
28434         __fegetround instead of fegetround.
28436         [BZ #17782]
28437         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
28438         Condition macro definition on [__USE_MISC].
28440         [BZ #17781]
28441         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
28442         (struct sigaction): Change type of sa_flags field to int.
28444         [BZ #17780]
28445         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
28446         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
28447         __glibc_reserved0.
28449         * nptl/version.c (banner): Use single year in copyright notice.
28451         * NEWS: Update copyright dates.
28452         * catgets/gencat.c (print_version): Likewise.
28453         * csu/version.c (banner): Likewise.
28454         * debug/catchsegv.sh: Likewise.
28455         * debug/pcprofiledump.c (print_version): Likewise.
28456         * debug/xtrace.sh (do_version): Likewise.
28457         * elf/ldconfig.c (print_version): Likewise.
28458         * elf/ldd.bash.in: Likewise.
28459         * elf/pldd.c (print_version): Likewise.
28460         * elf/sotruss.sh: Likewise.
28461         * elf/sprof.c (print_version): Likewise.
28462         * iconv/iconv_prog.c (print_version): Likewise.
28463         * iconv/iconvconfig.c (print_version): Likewise.
28464         * locale/programs/locale.c (print_version): Likewise.
28465         * locale/programs/localedef.c (print_version): Likewise.
28466         * login/programs/pt_chown.c (print_version): Likewise.
28467         * malloc/memusage.sh (do_version): Likewise.
28468         * malloc/memusagestat.c (print_version): Likewise.
28469         * malloc/mtrace.pl: Likewise.
28470         * manual/libc.texinfo: Likewise.
28471         * nptl/version.c (banner): Likewise.
28472         * nscd/nscd.c (print_version): Likewise.
28473         * nss/getent.c (print_version): Likewise.
28474         * nss/makedb.c (print_version): Likewise.
28475         * posix/getconf.c (main): Likewise.
28476         * scripts/test-installation.pl: Likewise.
28477         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
28479 2015-01-02  Will Newton  <will.newton@linaro.org>
28481         * sysdeps/arm/armv7/configure: Removed.
28482         * sysdeps/arm/armv7/configure.ac: Likewise.
28484 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
28486         * All files with FSF copyright notices: Update copyright dates
28487         using scripts/update-copyrights.
28488         * intl/plural.c: Regenerated.
28489         * locale/programs/charmap-kw.h: Likewise.
28490         * locale/programs/locfile-kw.h: Likewise.
28492 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28494         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
28496 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
28498         [BZ #17748]
28499         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
28500         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
28501         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
28502         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
28503         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
28504         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
28505         define as weak alias of __fegetenv.  Use libm_hidden_weak.
28506         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
28507         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
28508         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
28509         define as weak alias of __fegetenv.  Use libm_hidden_weak.
28510         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
28511         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
28512         define as weak alias of __fegetenv.  Use libm_hidden_weak.
28513         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
28514         libm_hidden_def.
28515         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
28516         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
28517         Likewise.
28518         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
28519         define as weak alias of __fegetenv.  Use libm_hidden_weak.
28520         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
28521         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
28522         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
28523         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
28524         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
28525         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
28526         __fegetenv instead of fegetenv.
28527         (libc_feholdsetround_noex_ctx): Likewise.
28529 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
28531         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
28532         (Elf_MIPS_ABIFlags_v0): New structure.
28533         (EF_MIPS_FP64): Define.
28534         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
28535         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
28536         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
28537         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
28538         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
28539         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
28540         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
28541         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
28542         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
28543         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
28544         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
28545         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
28546         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
28547         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
28548         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
28549         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
28550         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
28551         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
28552         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
28553         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
28554         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
28555         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
28556         field.
28557         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
28558         EF_MIPS_FP64.
28559         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
28560         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
28561         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
28562         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
28563         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
28564         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
28565         * sysdeps/mips/tst-abi-interlink.c: Likewise.
28566         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
28567         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
28568         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
28569         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
28570         record the current FP ABI extension.
28571         (mips-mode-switch): Define to show if kernel headers support mode
28572         switching.
28573         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
28574         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
28575         supported SYSV ABI version to 3.
28576         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
28577         feature.
28579 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28580             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28582         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
28583         path.
28584         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
28586 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
28588         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
28589         __fegetround and redefine to call __fegetround.  Remove condition
28590         on [!__NO_MATH_INLINES].
28591         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
28592         function.
28593         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
28594         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
28595         Remove macro.
28596         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
28597         instead of <fenv_libc.h>.
28598         (__llrintl): Call fegetround instead of __fegetround.
28599         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
28600         instead of <fenv_libc.h>.
28601         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
28602         (__lrintl): Call fegetround instead of __fegetround.
28603         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
28604         instead of <fenv_libc.h>.
28605         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
28606         (__rintl): Call fegetround instead of __fegetround.
28608 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
28610         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
28611         arrays.
28613 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
28615         [BZ #17775]
28616         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
28617         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
28618         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
28620 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
28622         * sysdeps/i386/tls-macros.h: Include <features.h>.
28623         (TLS_LE): Use non-PIC version for GCC >= 5.0.
28624         (TLS_IE): Likewise.
28625         (TLS_LD): Likewise.
28626         (TLS_GD): Likewise.
28627         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
28628         define for GCC >= 5.0.
28630 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
28632         * math/test-fenv.c (test_single_exception, set_single_exc,
28633         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
28634         feexcp_mask_test, feenable_test, fe_single_test): Add
28635         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
28636         case where they are not used.
28637         * math/libm-test.inc: Likewise.
28638         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
28639         unused in the absence of FP rounding/exception support.
28640         * stdio-common/tst-printf-round.c: Likewise.
28641         * stdlib/tst-strtod-round.c: Likewise.
28642         * stdlib/tst-strtod-underflow.c: Likewise.
28644 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
28646         [BZ #17723]
28647         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
28648         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
28649         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
28650         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
28651         libm_hidden_weak.
28652         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
28653         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
28654         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
28655         libm_hidden_def.
28656         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
28657         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
28658         libm_hidden_weak.
28659         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
28660         Likewise.
28661         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
28662         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
28663         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
28664         libm_hidden_weak.
28665         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
28666         libm_hidden_def.
28667         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
28668         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
28669         (__feraiseexcept): Likewise.
28670         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
28671         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
28672         libm_hidden_weak.
28673         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
28674         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
28675         libm_hidden_def.
28676         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
28677         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
28678         Use libm_hidden_def.
28679         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
28680         libm_hidden_def.
28681         (feraiseexcept): Define as weak not strong alias.  Use
28682         libm_hidden_weak.
28683         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
28684         New inline function.  Factored out of ...
28685         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
28686         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
28687         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
28688         feraiseexcept.
28689         * math/w_acos.c (__acos): Likewise.
28690         * math/w_asin.c (__asin): Likewise.
28691         * math/w_ilogb.c (__ilogb): Likewise.
28692         * math/w_j0.c (y0): Likewise.
28693         * math/w_j1.c (y1): Likewise.
28694         * math/w_jn.c (yn): Likewise.
28695         * math/w_log.c (__log): Likewise.
28696         * math/w_log10.c (__log10): Likewise.
28697         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
28698         * sysdeps/aarch64/fpu/math_private.h
28699         (libc_feupdateenv_test_aarch64): Likewise.
28700         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
28701         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
28702         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
28703         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
28704         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
28705         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
28706         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
28707         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
28708         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28709         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
28711 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
28713         [BZ #17732]
28714         * io/test-utime.c (main): Replace %ld with %jd and cast to
28715         intmax_t.
28716         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
28717         * nptl/tst-mutex5.c: Include <stdint.h>.
28718         (do_test): Replace %ld with %jd and cast to intmax_t.
28719         * posix/tst-regex.c (run_test): Likewise.
28720         (run_test_backwards): Likewise.
28721         * rt/tst-clock.c: Include <stdint.h>.
28722         (clock_test): Replace %ld with %jd and cast to intmax_t.
28723         * rt/tst-cpuclock1.c: Include <stdint.h>.
28724         (do_test): Replace %lu with %ju and cast to uintmax_t.
28725         * rt/tst-cpuclock2.c: Include <stdint.h>.
28726         (do_test): Replace %lu with %ju and cast to uintmax_t.
28727         * rt/tst-mqueue1.c: Include <stdint.h>.
28728         (check_attrs): Replace %ld with %jd and cast to intmax_t.
28729         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
28730         intmax_t.
28731         * rt/tst-mqueue4.c (do_test): Likewise.
28732         * rt/tst-timer4.c: Include <stdint.h>.
28733         (check_ts): Replace %ld with %jd and cast to intmax_t.
28734         (do_test): Likewise.
28735         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
28736         and cast to intmax_t.
28737         * sysdeps/pthread/tst-timer.c (main): Likewise.
28738         * time/clocktest.c (main): Likewise.
28739         * time/tst-posixtz.c (do_test): Likewise.
28740         * timezone/tst-timezone.c (main): Likewise.
28742 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
28743             H.J. Lu  <hongjiu.lu@intel.com>
28745         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
28746         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
28747         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
28748         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
28749         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
28750         version if bit_Fast_Unaligned_Load is set.
28751         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28752         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28753         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28754         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28755         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28756         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28757         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28758         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
28759         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
28760         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
28761         to 4.
28762         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
28763         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
28764         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
28765         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
28767 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
28769         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
28770         instead of #if to avoid a Wundef warning.
28771         * stdlib/tst-limits.c (do_test): Likewise.
28773         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
28774         parallel other exception macros.
28775         (fegetenv): Convert from macro to extern inline so that it applies
28776         retroactively to inline functions already seen by the compiler.
28777         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
28779         * posix/Makefile (before-compile): Use $(objpfx) for
28780         posix-conf-vars-def.h.
28782 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28784         * posix/getconf.c (main): Use size_t for type of I.
28785         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
28786         NSPEC.
28788         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
28789         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
28790         * posix/posix-envs.def: Likewise.
28791         * sysdeps/posix/sysconf.c: Likewise.
28792         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
28793         (specs): Remove array.
28794         * scripts/gen-posix-conf-vars.awk: Support generation of specs
28795         array.
28797         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
28798         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
28799         (__sysconf): Use CONF_IS_* macros.
28801         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
28802         ($(objpfx)posix-conf-vars-def.h): New target.
28803         * posix/posix-conf-vars.list: New file.
28804         * posix/posix-conf-vars.h: New file.
28805         * posix/confstr.c: Include posix-conf-vars.h.
28806         (confstr): Use CONF_IS_* macros.
28807         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
28808         CONF_IS_* macros.
28809         * scripts/gen-posix-conf-vars.awk: New file.
28811 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
28813         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
28814         fegetround): Add no-op macros to avoid linknamespace issues.
28816         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
28817         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
28819         * sysdeps/unix/sysv/linux/tile/sysdep.h
28820         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
28821         assembly-specific section to avoid a redefinition warning.
28823         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
28824         long before casting to pointer to avoid a cast warning.
28826 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
28828         * sysdeps/tile/tilegx/Implies: New file.
28830 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
28832         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
28834 2014-12-23  Florian Weimer  <fweimer@redhat.com>
28836         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
28838 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
28840         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
28841         not define.
28842         * sysdeps/unix/sysv/linux/utimes.c: Do not include
28843         <kernel-features.h>.
28844         (__utimes) [__NR_utimes]: Make code unconditional.
28845         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
28846         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
28847         (__ASSUME_UTIMES): Do not undefine.
28848         * sysdeps/unix/sysv/linux/tile/kernel-features.h
28849         (__ASSUME_UTIMES): Likewise.
28850         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28851         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
28852         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
28853         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
28855 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
28857         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
28859 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
28861         [BZ #17747]
28862         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
28863         alias to weak alias for j0l, y0l.
28864         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
28865         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
28867         [BZ #17746]
28868         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
28869         conversion.
28871 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
28873         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
28874         to zero if not already defined.
28876 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
28878         [BZ #17724]
28879         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
28880         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
28881         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
28882         (char *) casts added.
28883         * sysdeps/ieee754/k_standardf.c: New file.
28884         * sysdeps/ieee754/k_standardl.c: Likewise.
28885         * math/Makefile (libm-support): Remove k_standard.
28886         (libm-calls): Add k_standard.
28888 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
28890         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
28891         Optimize to avoid an unnecessary FPCR read.
28893 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
28895         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
28896         Optimize to reduce FPCR/FPSR accesses.
28898 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
28900         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
28901         Call libc_fetestexcept_aarch64.
28903 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
28905         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
28906         Call libc_fesetround_aarch64.
28908 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
28910         [BZ #17733]
28911         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
28912         (__bind): Do not define as weak alias.
28913         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
28914         define.
28915         (__getsockname): Do not define as weak alias.
28917 2014-12-22  Will Newton  <will.newton@linaro.org>
28919         * manual/install.texi: Document that we require bison 2.7
28920         or above.
28921         * INSTALL: Regenerate.
28922         * configure.ac: Use AC_CHECK_PROG_VER instead of
28923         AC_PATH_PROG when checking for bison and check for
28924         version 2.7 or above.
28925         * configure: Regenerate.
28927 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
28929         [BZ #17745]
28930         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
28931         * sysdeps/tile/ffsll.c (ffsll): To here.
28933         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
28935 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
28937         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
28938         if not defined.
28939         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
28940         definition.
28941         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
28942         hidden ___tls_get_addr.
28943         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
28944         hidden __tls_get_addr.
28945         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
28946         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
28947         Likewise.
28949 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
28951         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
28952         _dl_init call.
28954 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
28956         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
28957         from "call _dl_init@PLT".
28958         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
28960 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
28962         * manual/search.texi: (Array Sort Function): Clarify stable sorting
28963         guarantees.
28965 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
28967         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
28969 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
28971         [BZ #17744]
28972         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
28973         strnlen.
28975 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
28977         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
28978         of multu on MIPSr6.
28979         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
28980         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
28981         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
28982         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
28983         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
28985 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
28987         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
28988         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
28989         (PTR_SUBU): Use subu for mips32r6/mips64r6.
28990         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
28991         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
28992         mips32r6/mips64r6.
28993         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
28995 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
28997         * string/strncat.c (STRNCAT): Simplify implementation.
28999 2014-12-19  David S. Miller  <davem@davemloft.net>
29001         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
29002         access the quad as both a long double and as a series of 4 words.
29004         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
29005         link_map->l_info array access.
29007 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
29009         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
29011         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
29012         * math/atest-exp2.c (TIMEOUT): Likewise.
29013         * math/atest-sincos.c (TIMEOUT): Likewise.
29015 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
29017         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
29018         -Wno-error with -fno-builtin-lround.
29020 2014-12-19  Torvald Riegel  <triegel@redhat.com>
29022         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
29023         Contains futex constants and functions moved over from ...
29024         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
29025         <lowlevellock-futex.h>.
29026         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
29027         (lll_timedwait_tid): Add comments and parentheses around macro
29028         arguments.
29030 2014-12-19  Torvald Riegel  <triegel@redhat.com>
29032         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
29033         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
29034         (__lll_private_flag): Remove.
29035         (lll_futex_wait): Likewise.
29036         (lll_futex_timed_wait): Likewise.
29037         (lll_futex_wake): Likewise.
29038         (lll_futex_requeue): Likewise.
29039         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
29040         (__lll_timedwait_tid): Spell out argument names.
29041         (lll_timedwait_tid): Add comments and parentheses around macro
29042         arguments.
29043         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
29044         LLL_SHARED and LLL_PRIVATE usable from assembly code.
29046 2014-12-19  Torvald Riegel  <triegel@redhat.com>
29048         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
29049         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
29050         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
29051         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
29052         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
29053         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
29054         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
29055         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
29056         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
29057         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
29058         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
29059         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
29060         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
29061         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
29062         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
29063         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
29064         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
29065         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
29066         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
29068 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
29070         * sysdeps/x86_64/x32/Makefile: New file.
29072 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
29074         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
29075         1L with (mp_limb_t) 1.
29077 2014-12-17  Roland McGrath  <roland@hack.frob.com>
29079         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
29080         * nptl/libc_pthread_init.c: ... here.
29081         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
29082         * nptl/register-atfork.c: ... here.
29084         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
29085         Use pthread_sigmask rather than INTERNAL_SYSCALL.
29086         Use assert_perror to check its return value.
29087         (__gai_create_helper_thread): Likewise.
29089         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
29091         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
29093 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
29095         [BZ #17725]
29096         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
29097         __profil_counter.
29098         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
29099         Likewise.
29100         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
29101         Likewise.
29102         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
29103         Likewise.
29104         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
29105         (profil_counter): Likewise.
29106         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
29107         (profil_counter): Likewise.
29108         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
29109         Likewise.
29110         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
29111         Likewise.
29112         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
29113         (profil_counter): Likewise.
29114         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
29115         Likewise.
29116         [!__profil_counter] (profil_counter): Define as weak alias of
29117         __profil_counter.
29118         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
29119         (profil_counter): Rename to __profil_counter.
29120         [!__profil_counter] (profil_counter): Define as weak alias of
29121         __profil_counter.
29122         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
29123         (profil_counter): Rename to __profil_counter.
29124         [!__profil_counter] (profil_counter): Define as weak alias of
29125         __profil_counter.
29126         * sysdeps/posix/profil.c: Update comment referring to
29127         profil_counter.
29128         (__profil): Use __profil_counter instead of profil_counter.
29129         * sysdeps/posix/sprofil.c (profil_counter): Rename to
29130         __profil_counter.  Use __profil_counter_ushort and
29131         __profil_counter_uint in definitions.
29132         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
29133         instead of profil_counter_uint and profil_counter_ushort.
29135         [BZ #17722]
29136         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
29137         define as weak alias of __inet_makeaddr.
29138         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
29139         as weak alias of __inet_addr.
29140         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
29141         as weak alias of __inet_pton.  Use libc_hidden_weak.
29142         * include/arpa/inet.h (__inet_pton): Declare.  Use
29143         libc_hidden_proto.
29144         (inet_makeaddr): Don't use libc_hidden_proto.
29145         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
29146         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
29147         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
29148         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
29149         Remove variable.
29150         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
29151         (test-xfail-POSIX/time.h/linknamespace): Likewise.
29153 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
29155         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
29157 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
29159         * stdio-common/bug-vfprintf-nargs.c (do_test):
29160         Cast value to intptr_t to avoid format warning
29161         for usage with PRIdPTR printing macro.
29163 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
29165         * libio/tst-widetext.c (do_test):
29166         Use format type %td instead of %Zd for ptrdiff_t
29167         in order to avoid format warning.
29169 2014-12-17  Andreas Schwab  <schwab@suse.de>
29171         * nscd/mem.c (gc): Add size_t cast to match printf format.
29173 2014-12-16  Roland McGrath  <roland@hack.frob.com>
29175         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
29176         (init): Apply PTR_MANGLE to pointers before storing them.
29177         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
29178         before using them.
29180 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
29182         [BZ #17719]
29183         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
29184         define as weak alias of __memrchr.
29185         (__memrchr): Do not define as strong alias of memrchr.
29186         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
29187         Remove variable.
29188         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
29189         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
29190         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
29192         [BZ #17717]
29193         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
29194         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
29195         (if_indextoname): Rename to __if_indextoname and define as weak
29196         alias of __if_indextoname.  Use libc_hidden_weak.
29197         (if_freenameindex): Rename to __if_freenameindex and define as
29198         weak alias of __if_freenameindex.
29199         (if_nameindex): Rename to __if_nameindex and define as weak alias
29200         of __if_nameindex.
29201         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
29202         __if_nametoindex and define as weak alias of __if_nametoindex.
29203         Use libc_hidden_weak.
29204         (if_freenameindex): Rename to __if_freenameindex and define as
29205         weak alias of __if_freenameindex.
29206         (if_nameindex): Rename to __if_nameindex and define as weak alias
29207         of __if_nameindex.
29208         (if_indextoname): Rename to __if_indextoname and define as weak
29209         alias of __if_indextoname.  Use libc_hidden_weak.
29210         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
29211         __if_nametoindex and define as weak alias of __if_nametoindex.
29212         Use libc_hidden_weak.
29213         (if_freenameindex): Rename to __if_freenameindex and define as
29214         weak alias of __if_freenameindex.  Use libc_hidden_weak.
29215         (if_nameindex_netlink): Use __if_freenameindex instead of
29216         if_freenameindex.
29217         (if_nameindex): Rename to __if_nameindex and define as weak alias
29218         of __if_nameindex.  Use libc_hidden_weak.
29219         (if_indextoname): Rename to __if_indextoname and define as weak
29220         alias of __if_indextoname.  Use libc_hidden_weak.
29221         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
29222         libc_hidden_proto.
29223         [!_ISOMAC] (__if_freenameindex): Likewise.
29224         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
29225         if_nametoindex.
29226         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
29227         variable.
29228         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
29229         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
29230         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
29231         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
29232         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
29233         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
29234         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
29236         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
29237         Remove variable.
29238         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
29239         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
29241 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29243         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
29244         subscript above bounds'
29246         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
29247         bounds.
29249 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
29251         * libio/tst-fopenloc.c: Use test-skeleton.c.
29253         * stdlib/tst-bsearch.c: Use test-skeleton.c.
29254         (entry): Rename to ITEM.
29255         (do_test, comp): Adjust.
29257         * stdio-common/tst-fseek.c: Use test-skeleton.c.
29259 2014-12-16  Torvald Riegel  <triegel@redhat.com>
29261         * string/tester.c: Include <libc-internal.h>.
29262         (test_memset): Ignore -Wmemset-transposed-args.
29264 2014-12-16  Torvald Riegel  <triegel@redhat.com>
29266         * misc/tst-mntent2.c (do_test): Fix warning.
29268 2014-12-16  Torvald Riegel  <triegel@redhat.com>
29270         * elf/tst-unique4lib.cc(a): Mark as used.
29272 2014-12-16  Florian Weimer  <fweimer@redhat.com>
29274         [BZ #17630]
29275         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
29276         names.
29278 2014-12-16  Allan McRae  <allan@archlinux.org>
29280         * stdio-common/Makefile (tests): Re-add bug26.
29282 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
29284         [BZ #17657]
29285         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
29286         static array.
29288 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
29290         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
29291         (__lll_lock_wait): Likewise.
29292         (__lll_timedlock_wait): Likewise.
29293         (__lll_timedwait_tid): Likewise.
29294         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
29295         (__lll_robust_timedlock_wait): Likewise.
29296         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
29297         (lll_cond_trylock): Likewise.
29298         (__lll_lock): Likewise.
29299         (__lll_robust_lock): Likewise.
29300         (__lll_cond_lock): Likewise.
29301         (lll_robust_cond_lock): Likewise.
29302         (__lll_timedlock): Likewise.
29303         (__lll_robust_timedlock): Likewise.
29304         (__lll_unlock): Likewise.
29305         (__lll_robust_unlock): Likewise.
29306         (lll_wait_tid): Likewise.
29307         (lll_timedwait_tid): Likewise.
29309 2014-12-15  Torvald Riegel  <triegel@redhat.com>
29311         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
29313 2014-12-15  Torvald Riegel  <triegel@redhat.com>
29315         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
29317 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
29319         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
29320         * stdio-common/tst-sprintf.c: Likewise.
29322 2014-12-15  Torvald Riegel  <triegel@redhat.com>
29324         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
29326 2014-12-15  Jeff Law  <law@redhat.com>
29328         [BZ #16617]
29329         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
29330         on the heap.  (CVE-2012-3406)
29331         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
29332         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
29333         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
29335 2014-12-15  Will Newton  <will.newton@linaro.org>
29337         * manual/install.texi: Bump required version of texinfo
29338         to 4.7 from 4.5.
29339         * INSTALL: Regenerated.
29340         * configure.ac: Check for makeinfo version 4.7 and above.
29341         * configure: Regenerated.
29343 2014-12-12  Roland McGrath  <roland@hack.frob.com>
29345         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
29346         PREFIX, string constant to insert between directory and name.
29347         * sysdeps/posix/shm_open.c: Update caller.
29348         * sysdeps/posix/shm_unlink.c: Likewise.
29349         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
29350         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
29351         (SEM_SHM_PREFIX): New macro.
29352         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
29353         [$(have-thread-library) = no].
29354         * nptl/Makefile (libpthread-routines): Add shm-directory.
29355         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
29356         * sysdeps/nptl/shm-directory.h: New file.
29357         * sysdeps/posix/shm-directory.c
29358         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
29359         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
29360         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
29361         INTERNAL_SYSCALL.
29362         (__where_is_shmfs): Function removed.
29363         (mountpoint, defaultmount, defaultdir, __namedsem_once):
29364         Variables removed.
29365         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
29366         Use SHM_GET_NAME.
29367         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
29369         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
29370         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
29371         unconditional for use inside libpthread.
29372         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
29374 2014-12-12  Roland McGrath  <roland@hack.frob.com>
29376         * nptl/pthread_getaffinity.c: New file.
29377         * nptl/pthread_setaffinity.c: New file.
29378         * nptl/pthread_getname.c: New file.
29379         * nptl/pthread_setname.c: New file.
29381         * nptl/pthread_create.c (START_THREAD_DEFN)
29382         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
29384 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
29385             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29387         * resolv/res_send.c (send_vc): Disable warning resplen may
29388         be used uninitialized.
29390 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
29392         * nptl/tst-mutex6.c
29393         (ATTR_NULL): New define checks ATTR against NULL.
29394         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
29395         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
29397 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
29399         [BZ #17581]
29400         * malloc/hooks.c
29401         (mem2mem_check): Revert my previous change.
29402         (malloc_check_get_size): Revert my previous change.
29403         (mem2chunk_check): Revert my previous change.
29405 2014-12-11  Roland McGrath  <roland@hack.frob.com>
29407         * sysdeps/posix/shm-directory.c: New file.
29408         * sysdeps/posix/shm-directory.h: New file.
29409         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
29410         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
29411         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
29412         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
29413         Transmute EPERM to EACCES.
29414         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
29415         from ...
29416         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
29417         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
29419 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29421         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
29422         pointer and cast to uintptr_t.
29423         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
29424         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
29425         Add cast to avoid warning.
29426         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
29428 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
29430         * nptl/semaphore.h: Move to ...
29431         * sysdeps/pthread/semaphore.h: ... here.
29432         * Makefile (installed-headers): Change nptl/semaphore.h to
29433         sysdeps/pthread/semaphore.h.
29435 2014-12-11  Roland McGrath  <roland@hack.frob.com>
29437         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
29438         generated error format strings.
29440         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
29441         -Wformat-extra-args warnings for scanf formats.
29442         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
29443         test of zero-length format (duh).
29444         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
29445         corner-case scanf format test.
29446         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
29447         generated fprintf format string.
29448         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
29449         corner-case sprintf format tests.
29450         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
29451         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
29452         -Wformat-extra-args warnings throughout.
29453         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
29454         (CFLAGS-scanf4.c): Likewise.
29455         (CFLAGS-scanf7.c): Likewise.
29456         (CFLAGS-tst-sprintf.c): Likewise.
29457         (CFLAGS-tst-printf.c): Likewise.
29458         (CFLAGS-tst-printfsz.c): Likewise.
29460 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
29462         * include/cpio.h: New file.
29463         * include/fmtmsg.h: Likewise.
29465         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
29466         corresponding format argument to size_t.
29467         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
29468         arguments.
29469         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
29470         corresponding format argument to size_t.
29471         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
29472         arguments.
29473         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
29474         corresponding format argument to size_t.
29475         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
29476         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
29477         (CFLAGS-tst-mbswcs2.c): Likewise.
29478         (CFLAGS-tst-mbswcs3.c): Likewise.
29479         (CFLAGS-tst-mbswcs4.c): Likewise.
29480         (CFLAGS-tst-mbswcs5.c): Likewise.
29481         (CFLAGS-tst-trans.c): Likewise.
29483 2014-12-11  Roland McGrath  <roland@hack.frob.com>
29485         * posix/regexbug1.c (main): Use "%s" format with regerror results,
29486         rather than assuming they won't contain any '%'s.
29488 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
29490         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
29491         inhibit_loop_to_libcall to avoid recursive calls.
29492         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
29493         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
29495 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
29497         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
29498         prototype.
29500 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
29502         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
29503         integer value instead of boolean.
29505 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
29507         * malloc/malloc.c: Fix powerof2 check.
29509 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
29511         * locale/programs/locfile.h (maybe_swap_uint32):
29512         Remove inline and add unused attribute.
29514 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
29516         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
29517         Truncating assembler expression to a .long expression.
29519 2014-12-11  Andreas Schwab  <schwab@suse.de>
29521         * elf/rtld.c (struct map_args): Constify str member.
29522         (do_preload): Constify fname argument.
29524 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29526         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
29527         constants definition.
29529 2014-12-11  Andreas Schwab  <schwab@suse.de>
29531         [BZ #16657]
29532         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
29533         FORCE_ELISION instead of DO_ELISION.
29534         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
29535         Remove.
29536         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
29537         Likewise.
29539         * iconvdata/gconv-modules: Remove duplicate entry.
29541 2014-12-11  Will Newton  <will.newton@linaro.org>
29543         Merge gettext 0.19.3 into intl/.
29545         This involves a number of cosmetic changes to comments
29546         and ANSI function definitions and prototypes throughout
29547         all the files. The gettext copyright header is used but
29548         with the date ranges taken from the glibc copy.
29550         * NEWS: Add gettext merge to 2.21.
29551         * intl/bindtextdom.c: Switch to gettext copyright.
29552         Use ANSI definitions and prototypes.
29553         Use gl_* locking primitives rather than __libc_* ones.
29554         Use __builtin_expect rather than __glibc_likely/unlikely.
29555         * intl/dcgettext.c: Switch to gettext copyright.
29556         Use ANSI definitions and prototypes.
29557         * intl/dcigettext.c: Switch to gettext copyright.
29558         Use ANSI definitions and prototypes.
29559         (INTDIV0_RAISES_SIGFPE): New define.
29560         Use gl_* locking primitives rather than __libc_* ones.
29561         Include eval-plural.h instead of plural-eval.c.
29562         Use __builtin_expect rather than __glibc_likely/unlikely.
29563         * intl/dcngettext.c: Switch to gettext copyright.
29564         Use ANSI definitions and prototypes.
29565         * intl/dgettext.c: Likewise.
29566         * intl/dngettext.c: Likewise.
29567         * intl/plural-eval.c: Renamed to...
29568         * intl/eval-plural.h: ...this.
29569         * intl/explodename.c: Switch to gettext copyright.
29570         Use ANSI definitions and prototypes.
29571         (_nl_explode_name): Use strchr instead of __rawmemchr.
29572         * intl/finddomain.c: Switch to gettext copyright.
29573         Use ANSI definitions and prototypes.
29574         Use gl_* locking primitives rather than __libc_* ones.
29575         (_nl_find_domain): Use malloc rather than alloca for
29576         allocation of temporary locale name.
29577         * intl/gettext.c: Switch to gettext copyright.
29578         Use ANSI definitions and prototypes.
29579         * intl/gettextP.h: Switch to gettext copyright.
29580         Use ANSI definitions and prototypes.
29581         Use gl_* locking primitives rather than __libc_* ones.
29582         * intl/gmo.h: Switch to gettext copyright.
29583         (struct sysdep_string): Move struct segment_pair outside of
29584         struct definition.
29585         * intl/hash-string.c: Use ANSI definitions and prototypes.
29586         * intl/hash-string.h: Switch to gettext copyright.
29587         Use ANSI definitions and prototypes.
29588         * intl/l10nflist.c: Switch to gettext copyright.
29589         Use ANSI definitions and prototypes.
29590         (_nl_normalize_codeset): Avoid integer overflow.
29591         * intl/loadinfo.h: Switch to gettext copyright.
29592         Use ANSI definitions and prototypes.
29593         (LIBINTL_DLL_EXPORTED): New define.
29594         (PATH_SEPARATOR): New define.
29595         * intl/loadmsgcat.c: Switch to gettext copyright.
29596         * intl/localealias.c: Switch to gettext copyright.
29597         Use ANSI definitions and prototypes.
29598         (_nl_expand_alias): Use PATH_SEPARATOR.
29599         * intl/ngettext.c: Switch to gettext copyright.
29600         Use ANSI definitions and prototypes.
29601         * intl/plural-exp.c: Likewise.
29602         * intl/plural-exp.h: Switch to gettext copyright.
29603         Use ANSI definitions and prototypes.
29604         (struct expression): Move definition of enum operator outside
29605         of struct definition.
29606         * intl/plural.c: Regenerate.
29607         * intl/plural.y: Switch to gettext copyright.
29608         Use ANSI definitions and prototypes.
29609         Port to bison 3.0.
29610         * intl/textdomain.c: Switch to gettext copyright.
29611         Use ANSI definitions and prototypes.
29612         Use gl_* locking primitives rather than __libc_* ones.
29614 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
29616         * debug/warning-nop.c: Add used atrribute.
29618 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
29620         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
29622         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
29623         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
29624         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
29626 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
29627             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29629         [BZ #17634]
29630         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
29631         Undefine after defining function.  Define as weak alias of
29632         __wcschr.  Use libc_hidden_weak.
29633         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
29634         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
29635         (libc_hidden_def): Also define __GI___wcschr alias.
29636         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
29637         __wcschr and define as weak alias of __wcschr.
29638         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
29639         __wcschr.
29640         [!WCSCHR] (DEFAULT_WCSCHR): Define.
29641         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
29642         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
29643         libc_hidden_weak.  Do not use libc_hidden_def.
29644         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
29645         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
29646         __GI___wcschr alias.
29647         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
29648         [IS_IN (libc)] (wcschr): Define as macro expanding to
29649         __redirect_wcschr.
29650         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
29651         [IS_IN (libc)] (__wcschr_power6): Likewise.
29652         [IS_IN (libc)] (__wcschr_power7): Likewise.
29653         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
29654         instead of wcschr.
29655         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
29656         __libc_wcschr.
29657         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
29658         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
29659         __wcschr and define as weak alias of __wcschr.  Use
29660         libc_hidden_builtin_def.
29661         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
29662         as weak alias of __wcschr.  Use libc_hidden_weak.
29663         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
29664         wcschr.
29665         * time/era.c (_nl_init_era_entries): Likewise.
29666         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
29667         variable.
29668         (test-xfail-XPG3/time.h/linknamespace): Likewise.
29669         (test-xfail-XPG4/time.h/linknamespace): Likewise.
29671 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
29673         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
29674         format for long int variable.
29676 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
29678         [BZ #10672]
29679         * manual/search.texi: (Array Sort Function): Remove claim how to make
29680         qsort stable.
29682 2014-12-10  Andreas Schwab  <schwab@suse.de>
29684         [BZ #12847]
29685         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
29686         user-controlled locks.
29688 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
29690         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
29691         register.
29693 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
29695         * configure.ac (--disable-werror): New configure option.
29696         (enable_werror): New AC_SUBST.
29697         * configure: Regenerated.
29698         * config.make.in (enable-werror): New variable.
29699         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
29700         -Wno-error=undef.
29701         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
29702         * manual/install.texi (Configuring and compiling): Document
29703         --disable-werror.
29704         * INSTALL: Regenerated.
29705         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
29706         (CFLAGS-tst-chk2.c): Likewise.
29707         (CFLAGS-tst-chk3.c): Likewise.
29708         (CFLAGS-tst-chk4.cc): Likewise.
29709         (CFLAGS-tst-chk5.cc): Likewise.
29710         (CFLAGS-tst-chk6.cc): Likewise.
29711         (CFLAGS-tst-lfschk1.c): Likewise.
29712         (CFLAGS-tst-lfschk2.c): Likewise.
29713         (CFLAGS-tst-lfschk3.c): Likewise.
29714         (CFLAGS-tst-lfschk4.cc): Likewise.
29715         (CFLAGS-tst-lfschk5.cc): Likewise.
29716         (CFLAGS-tst-lfschk6.cc): Likewise.
29718         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
29719         (main): Disable -Wdeprecated-declarations around calls to
29720         register_printf_function.
29722         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
29723         (do_test): Disable -Wdiv-by-zero around some calls to
29724         fwrite_unlocked and fread_unlocked.
29726         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
29727         (DIAG_POP_NEEDS_COMMENT): Likewise.
29728         (_DIAG_STR1): Likewise.
29729         (_DIAG_STR): Likewise.
29730         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
29731         * stdio-common/bug21.c: Include <libc-internal.h>.
29732         (do_test): Disable -Wformat around call to sscanf.
29733         * stdio-common/scanf14.c: Include <libc-internal.h>.
29734         (main): Disable -Wformat around some calls to scanf functions.
29736 2014-12-09  Torvald Riegel  <triegel@redhat.com>
29738         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
29740 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29742         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
29743         stack variable alignment.
29745 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
29747         [BZ #17682]
29748         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
29749         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
29750         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
29751         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
29752         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
29753         __getrlimit instead of getrlimit.
29754         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
29755         __gettimeofday instead of gettimeofday.
29756         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
29757         Likewise.
29758         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
29759         Likewise.
29760         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
29761         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
29762         Remove variable.
29763         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
29764         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
29766 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29768         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
29769         for wide-character tests.
29771 2014-12-04  Roland McGrath  <roland@hack.frob.com>
29773         * io/openat64.c: #include <libc-internal.h>
29774         (__openat64): Prototypify.  Use ignore_value on MODE.
29775         * io/openat.c: Likewise.
29776         * misc/reboot.c: #include <libc-internal.h>
29777         (reboot): Prototypify.  Use ignore_value on HOWTO.
29778         * misc/ptrace.c: #include <libc-internal.h>
29779         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
29781 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
29783         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
29784         XPG4, UNIX98 and XOPEN2K.
29785         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
29786         Remove variable.
29787         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
29789 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29791         * libio/fileops.c: Use ISO C style for function definitions.
29792         * libio/iofopen.c: Likewise.
29793         * libio/wfileops.c: Likewise.
29795         [BZ #17653]
29796         * libio/fileops.c (_IO_new_file_underflow): Unset cached
29797         offset on EOF.
29798         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
29799         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
29800         (fgets_func): Function pointer to fgets and fgetws.
29801         (do_ftell_test): Add test to verify ftell value after read
29802         EOF.
29803         (do_test): Set fgets_func.
29805         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
29806         O_TRUNC flag for w and w+ modes.
29807         (do_rewind_test): Likewise.
29808         (do_ftell_test): Likewise.
29809         (do_write_test): Likewise.
29811         [BZ #17647]
29812         * libio/fileops.c (do_ftell): Seek only when there are
29813         unflushed writes.
29814         * libio/wfileops.c (do_ftell_wide): Likewise.
29815         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
29816         test case.
29817         (do_one_test): Call it.
29819 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
29821         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
29822         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
29823         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
29824         Remove variable.
29825         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
29826         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
29827         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
29829 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
29831         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
29832         Remove variable.
29833         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
29835         [BZ #17668]
29836         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
29837         as weak alias of __getifaddrs.  Use libc_hidden_weak.
29838         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
29839         __freeifaddrs.  Use libc_hidden_weak.
29840         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
29841         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
29842         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
29843         __freeifaddrs.  Use libc_hidden_weak.
29844         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
29845         __getifaddrs and define as weak alias of __getifaddrs.  Use
29846         libc_hidden_weak.
29847         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
29848         __freeifaddrs.  Use libc_hidden_weak.
29849         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
29850         Remove variable.
29851         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
29852         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
29854 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
29856         [BZ #17601]
29857         * sysdeps/mips/start.S (__start): Use indirect jump to call
29858         __libc_start_main.
29860 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
29862         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
29864         * nptl/tst-mutex1.c: Include <stdbool.h>.
29865         [!ATTR] (ATTR_NULL): New macro.
29866         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
29867         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
29868         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
29870         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
29871         to char *.
29873         [BZ #17665]
29874         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
29875         Change conditional to [__USE_MISC].
29877         [BZ #17664]
29878         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
29879         fgets_unlocked.
29880         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
29881         __fgets_unlocked.
29882         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
29883         fgets_unlocked.
29884         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
29885         Remove variable.
29886         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
29887         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
29888         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
29889         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
29890         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
29891         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
29892         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
29893         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
29894         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
29896         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
29898 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29900         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29901         Remove strpbrk objects.
29902         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29903         (__libc_ifunc_impl_list): Remove strpbrk implementation.
29904         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
29905         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
29906         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
29907         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
29909         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29910         Remove strcspn objects.
29911         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29912         (__libc_ifunc_impl_list): Remove strcspn implementation.
29913         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
29914         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
29915         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
29916         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
29918         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29919         Remove strspn objetcs.
29920         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29921         (__libc_ifunc_impl_list): Remove strspn implementation.
29922         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
29923         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
29924         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
29925         * sysdeps/powerpc/powerpc64/strspn.S: New file.
29927 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
29929         [BZ #17581]
29930         * malloc/hooks.c
29931         (mem2mem_check): Add a terminator to the chain of checking blocks.
29932         (malloc_check_get_size): Use it here.
29933         (mem2chunk_check): Ditto.
29935 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29937         * sysdeps/powerpc/powerpc64/strtok.S: New file.
29938         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
29940 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
29942         * bits/ioctl-types.h: Indent preprocessor directives correctly.
29944         * nptl/nptl-init.c: Include libc-internal.h.
29945         (__pthread_initialize_minimal_internal): Use ROUND_UP.
29947         * elf/ldconfig.c (search_dir): Expand comment.
29949 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
29951         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
29952         variable.
29953         (linknamespace-symlist-stdlibs-tests): Likewise.
29954         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
29955         instead of $(objpfx)symlist-stdlibs.
29956         (linknamespace-libs-isoc): New variable.
29957         (linknamespace-libs): Use $(linknamespace-libs-isoc).
29958         (linknamespace-libs-ISO): New variable.
29959         (linknamespace-libs-ISO99): Likewise.
29960         (linknamespace-libs-ISO11): Likewise.
29961         (linknamespace-libs-XPG3): Likewise.
29962         (linknamespace-libs-XPG4): Likewise.
29963         (linknamespace-libs-POSIX): Likewise.
29964         (linknamespace-libs-UNIX98): Likewise.
29965         (linknamespace-libs-XOPEN2K): Likewise.
29966         (linknamespace-libs-POSIX2008): Likewise.
29967         (linknamespace-libs-XOPEN2K8): Likewise.
29968         ($(objpfx)symlist-stdlibs): Replace by
29969         $(linknamespace-symlist-stdlibs-tests).  Use
29970         $(linknamespace-libs-$*) as set of libraries.
29971         ($(linknamespace-header-tests)): Update dependencies.  Use
29972         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
29973         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
29974         * conform/linknamespace.pl: Remove comment about considering
29975         definitions of symbols from irrelevant libraries.
29977 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
29979         [BZ #13862]
29980         * elf/dl-tls.c: Include <atomic.h>.
29981         (oom): Remove #ifdef SHARED/#endif.
29982         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
29983         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
29984         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
29985         big enough.
29986         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
29987         * nptl/Makefile (tests): Add tst-stack4.
29988         (modules-names): Add tst-stack4mod.
29989         ($(objpfx)tst-stack4): New.
29990         (tst-stack4mod.sos): Likewise.
29991         ($(objpfx)tst-stack4.out): Likewise.
29992         ($(tst-stack4mod.sos)): Likewise.
29993         (clean): Likewise.
29994         * nptl/tst-stack4.c: New file.
29995         * nptl/tst-stack4mod.c: Likewise.
29997 2014-11-27  J. Brown  <jb999@gmx.de>
29999         * sysdeps/x86/bits/string.h: Add recent CPUs.
30001 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
30003         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
30004         sigblock.
30006         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
30007         feof.
30009         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
30010         variable.
30012 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
30014         * nscd/connections.c: Include libc-internal.h because of macro
30015         usage ignore_value.
30017 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30019         * string/bits/string3.h (__warn_memset_zero_len): Don't
30020         declare for gcc newer than 5.0.
30021         (memset): Don't test for zero-length __LEN for gcc newer than
30022         5.0.
30024 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
30026         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
30027         size_t for %zu format.
30029         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
30030         difference, not %ju.
30032 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
30034         * include/libc-internal.h (ignore_value): New macro.
30035         * nscd/connections.c (restart): Wrap calls to setuid and setgid
30036         with ignore_value.
30038         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
30039         definition.
30041         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
30042         pthread_cleanup_push to void *.
30044         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
30045         Undefine.
30047         [BZ #16619]
30048         [BZ #16740]
30049         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
30050         instead of 1L << 52.
30052         * libio/bug-rewind.c (do_test): Check fwscanf return values.
30053         * libio/bug-rewind2.c (do_test): Likewise.
30055         * debug/test-stpcpy_chk-ifunc.c: Remove file.
30056         * debug/test-strcpy_chk-ifunc.c: Likewise.
30057         * wcsmbs/test-wcschr-ifunc.c: Likewise.
30058         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
30059         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
30060         * wcsmbs/test-wcslen-ifunc.c: Likewise.
30061         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
30062         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
30063         * Rules [$(multi-arch) = no] (tests): Do not filter out
30064         $(tests-ifunc).
30065         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
30066         * debug/Makefile (tests-ifunc): Remove variable.
30067         (tests): Do not add $(tests-ifunc).
30068         * wcsmbs/Makefile (tests-ifunc): Remove variable.
30069         (tests): Do not add $(tests-ifunc).
30070         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
30071         [TEST_IFUNC]: Remove conditionals.
30072         * string/test-string.h (TEST_IFUNC): Remove macro.
30073         [TEST_IFUNC]: Remove conditionals.
30075         * string/test-strchr.c [!WIDE] (L): New macro.
30076         [WIDE] (L): Likewise.
30077         (check1): Use CHAR instead of char.  Use L on string and character
30078         constants.
30080 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
30082         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
30083         tests.
30084         * sysdeps/powerpc/bits/atomic.h
30085         (__arch_atomic_exchange_and_add_32_acq): Add definition.
30086         (__arch_atomic_exchange_and_add_32_rel): Likewise.
30087         (atomic_exchange_and_add_acq): Likewise.
30088         (atomic_exchange_and_add_rel): Likewise.
30089         * sysdeps/powerpc/powerpc32/bits/atomic.h
30090         (__arch_atomic_exchange_and_add_64_acq): Add definition.
30091         (__arch_atomic_exchange_and_add_64_rel): Likewise.
30092         * sysdeps/powerpc/powerpc64/bits/atomic.h
30093         (__arch_atomic_exchange_and_add_64_acq): Add definition.
30094         (__arch_atomic_exchange_and_add_64_rel): Likewise.
30096 2014-11-26  Torvald Riegel  <triegel@redhat.com>
30098         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
30099         Change synchronization of __sched_fifo_min_prio and
30100         __sched_fifo_max_prio.
30101         * nptl/pthread_mutexattr_getprioceiling.c
30102         (pthread_mutexattr_getprioceiling): Likewise.
30103         * nptl/pthread_mutexattr_setprioceiling.c
30104         (pthread_mutexattr_setprioceiling): Likewise.
30105         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
30106         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
30107         Likewise.
30109 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
30111         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
30112         void.
30114 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
30116         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
30117         third argument const.
30119 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
30121         fnmatch: work around GCC compiler warning bug with uninit var
30122         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
30123         This works around a bug with x86-64 GCC 4.9.2 and earlier
30124         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
30125         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
30126         used uninitialized in this function [-Wmaybe-uninitialized]".
30128 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
30130         * posix/bug-regex31.c (main): Return RES not 0.
30132 2014-11-25  Anton Blanchard <anton@samba.org>
30134         * sysdeps/powerpc/bits/atomic.h
30135         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
30137 2014-11-24  Sterling Augustine  <saugustine@google.com>
30139         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
30141 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
30143         [BZ #17608]
30144         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
30146 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
30148         [BZ #17633]
30149         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
30150         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
30151         variable.
30152         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
30153         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
30155 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
30157         * string/strncpy.c (strncpy): Improve performance by using memset.
30159 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
30161         * string/strcpy.c (strcpy):
30162         Improve performance by using strlen and memcpy.
30164 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
30166         * string/strcoll_l.c (get_next_seq): __always_inline.
30167         * string/strcoll_l.c (do_compare): __always_inline.
30169 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30171         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
30172         defined.
30173         * include/mqueue.h: Likewise.
30174         * include/stdlib.h: Likewise.
30176         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
30177         (get_null_defines): Adjust.
30178         * sunrpc/Makefile: Adjust comment.
30179         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
30180         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
30181         (CFLAGS-interp.c): Likewise.
30182         (CFLAGS-ldconfig.c): Likewise.
30183         (CPPFLAGS-.os): Likewise.
30184         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30185         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
30186         * extra-modules.mk (extra-modules.mk): Likewise.
30187         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
30188         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
30189         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
30190         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
30191         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
30192         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
30193         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
30194         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
30195         * iconvdata/Makefile (CPPFLAGS): Likewise.
30196         (cpp-srcs-left): Add libof for all iconvdata routines.
30197         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
30198         * include/assert.h: Likewise.
30199         * include/ctype.h: Likewise.
30200         * include/errno.h: Likewise.
30201         * include/libc-symbols.h: Likewise.
30202         * include/math.h: Likewise.
30203         * include/netdb.h: Likewise.
30204         * include/resolv.h: Likewise.
30205         * include/stdio.h: Likewise.
30206         * include/stdlib.h: Likewise.
30207         * include/string.h: Likewise.
30208         * include/sys/stat.h: Likewise.
30209         * include/wctype.h: Likewise.
30210         * intl/l10nflist.c: Likewise.
30211         * libidn/idn-stub.c: Likewise.
30212         * libio/libioP.h: Likewise.
30213         * nptl/libc_multiple_threads.c: Likewise.
30214         * nptl/pthreadP.h: Likewise.
30215         * posix/regex_internal.h: Likewise.
30216         * resolv/res_hconf.c: Likewise.
30217         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
30218         * sysdeps/arm/memmove.S: Likewise.
30219         * sysdeps/arm/sysdep.h: Likewise.
30220         * sysdeps/generic/_itoa.h: Likewise.
30221         * sysdeps/generic/symbol-hacks.h: Likewise.
30222         * sysdeps/gnu/errlist.awk: Likewise.
30223         * sysdeps/gnu/errlist.c: Likewise.
30224         * sysdeps/i386/i586/memcpy.S: Likewise.
30225         * sysdeps/i386/i586/memset.S: Likewise.
30226         * sysdeps/i386/i686/memcpy.S: Likewise.
30227         * sysdeps/i386/i686/memmove.S: Likewise.
30228         * sysdeps/i386/i686/mempcpy.S: Likewise.
30229         * sysdeps/i386/i686/memset.S: Likewise.
30230         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30231         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30232         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
30233         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
30234         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30235         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30236         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
30237         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30238         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30239         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30240         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30241         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30242         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30243         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30244         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30245         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30246         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
30247         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
30248         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
30249         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30250         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30251         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30252         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30253         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30254         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30255         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30256         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
30257         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30258         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
30259         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
30260         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30261         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30262         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30263         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30264         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30265         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
30266         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30267         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30268         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30269         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30270         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30271         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30272         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30273         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
30274         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30275         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30276         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
30277         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
30278         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30279         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
30280         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30281         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
30282         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
30283         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30284         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
30285         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
30286         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30287         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
30288         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
30289         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30290         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
30291         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30292         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
30293         * sysdeps/nptl/bits/libc-lock.h: Likewise.
30294         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
30295         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
30296         * sysdeps/posix/closedir.c: Likewise.
30297         * sysdeps/posix/opendir.c: Likewise.
30298         * sysdeps/posix/readdir.c: Likewise.
30299         * sysdeps/posix/rewinddir.c: Likewise.
30300         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
30301         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
30302         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
30303         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
30304         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30305         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
30306         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
30307         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
30308         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
30309         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
30310         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
30311         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
30312         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
30313         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
30314         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
30315         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
30316         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
30317         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
30318         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
30319         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
30320         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
30321         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
30322         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
30323         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
30324         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
30325         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
30326         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
30327         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
30328         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
30329         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
30330         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
30331         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
30332         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
30333         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
30334         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
30335         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
30336         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
30337         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30338         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
30339         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
30340         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
30341         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
30342         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
30343         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
30344         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
30345         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
30346         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
30347         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
30348         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
30349         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
30350         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
30351         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
30352         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
30353         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
30354         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
30355         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
30356         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
30357         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
30358         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
30359         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
30360         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
30361         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
30362         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
30363         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
30364         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
30365         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
30366         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
30367         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
30368         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
30369         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
30370         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
30371         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
30372         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
30373         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
30374         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
30375         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
30376         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
30377         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
30378         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
30379         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
30380         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
30381         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
30382         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
30383         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
30384         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
30385         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
30386         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
30387         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30388         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30389         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30390         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
30391         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
30392         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
30393         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
30394         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30395         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
30396         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
30397         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30398         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
30399         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
30400         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30401         * sysdeps/unix/alpha/sysdep.S: Likewise.
30402         * sysdeps/unix/alpha/sysdep.h: Likewise.
30403         * sysdeps/unix/make-syscalls.sh: Likewise.
30404         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
30405         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
30406         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
30407         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
30408         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
30409         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
30410         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
30411         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
30412         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
30413         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
30414         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
30415         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
30416         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30417         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
30418         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
30419         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
30420         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30421         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
30422         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
30423         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
30424         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
30425         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
30426         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
30427         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
30428         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
30429         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
30430         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
30431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
30432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
30433         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
30434         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
30435         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
30436         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
30437         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30438         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
30439         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
30440         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
30441         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30442         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
30443         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
30444         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30445         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
30446         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30447         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
30448         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
30449         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
30450         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30451         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30452         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
30453         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30454         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
30455         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
30456         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
30457         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
30458         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
30459         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
30460         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
30461         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30462         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
30463         * sysdeps/x86_64/memcpy.S: Likewise.
30464         * sysdeps/x86_64/memmove.c: Likewise.
30465         * sysdeps/x86_64/memset.S: Likewise.
30466         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
30467         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
30468         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
30469         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
30470         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
30471         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30472         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30473         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
30474         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
30475         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
30476         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
30477         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
30478         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
30479         * sysdeps/x86_64/multiarch/memset.S: Likewise.
30480         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30481         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
30482         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
30483         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
30484         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
30485         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
30486         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
30487         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30488         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30489         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
30490         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
30491         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
30492         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30493         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
30494         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
30495         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
30496         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
30497         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
30498         * sysdeps/x86_64/strcmp.S: Likewise.
30500         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
30502         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
30503         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
30504         * elf/rtld-Rules: Likewise.
30505         * elf/setup-vdso.h: Likewise.
30506         * include/assert.h: Likewise.
30507         * include/bits/stdlib-float.h: Likewise.
30508         * include/errno.h: Likewise.
30509         * include/sys/stat.h: Likewise.
30510         * include/unistd.h: Likewise.
30511         * sysdeps/aarch64/setjmp.S: Likewise.
30512         * sysdeps/alpha/setjmp.S: Likewise.
30513         * sysdeps/arm/__longjmp.S: Likewise.
30514         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
30515         * sysdeps/arm/setjmp.S: Likewise.
30516         * sysdeps/arm/sysdep.h: Likewise.
30517         * sysdeps/generic/_itoa.h: Likewise.
30518         * sysdeps/generic/dl-sysdep.h: Likewise.
30519         * sysdeps/generic/ldsodefs.h: Likewise.
30520         * sysdeps/i386/dl-tls.h: Likewise.
30521         * sysdeps/i386/setjmp.S: Likewise.
30522         * sysdeps/m68k/setjmp.c: Likewise.
30523         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
30524         * sysdeps/mach/hurd/opendir.c: Likewise.
30525         * sysdeps/posix/getcwd.c: Likewise.
30526         * sysdeps/posix/opendir.c: Likewise.
30527         * sysdeps/posix/profil.c: Likewise.
30528         * sysdeps/powerpc/dl-procinfo.h: Likewise.
30529         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
30530         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
30531         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
30532         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
30533         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
30534         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
30535         * sysdeps/s390/dl-tls.h: Likewise.
30536         * sysdeps/s390/s390-32/setjmp.S: Likewise.
30537         * sysdeps/s390/s390-64/setjmp.S: Likewise.
30538         * sysdeps/sh/sh3/setjmp.S: Likewise.
30539         * sysdeps/sh/sh4/setjmp.S: Likewise.
30540         * sysdeps/unix/alpha/sysdep.h: Likewise.
30541         * sysdeps/unix/arm/sysdep.S: Likewise.
30542         * sysdeps/unix/i386/sysdep.S: Likewise.
30543         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
30544         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
30545         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
30546         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
30547         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30548         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
30549         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
30550         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30551         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
30552         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
30553         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
30554         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
30555         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
30556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30558         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
30559         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30560         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30561         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30562         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30563         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
30564         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30565         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30566         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
30567         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
30568         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
30569         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30570         * sysdeps/unix/x86_64/sysdep.S: Likewise.
30571         * sysdeps/x86_64/setjmp.S: Likewise.
30573         * include/math.h: Use IS_IN instead of IS_IN_libm.
30574         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
30575         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30576         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
30577         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
30578         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30579         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
30580         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
30581         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30582         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30583         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
30584         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
30585         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
30586         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
30587         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
30588         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
30589         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
30590         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
30591         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
30592         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
30593         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
30594         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
30595         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
30596         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
30597         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
30598         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
30599         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
30600         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
30601         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
30602         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
30603         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
30604         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
30605         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
30606         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
30607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
30608         Likewise.
30609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
30610         Likewise.
30611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
30612         Likewise.
30613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
30614         Likewise.
30615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
30616         Likewise.
30617         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
30618         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
30619         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
30620         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30621         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30622         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30623         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
30624         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
30625         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
30626         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
30627         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
30628         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
30629         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
30630         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
30631         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
30632         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
30633         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
30634         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
30635         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
30636         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
30637         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
30638         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
30639         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
30640         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
30641         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
30642         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
30643         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
30645         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
30646         * nptl/pthreadP.h: Likewise.
30647         * nptl_db/structs.def: Likewise.
30648         * sysdeps/arm/sysdep.h: Likewise.
30649         * sysdeps/nptl/bits/libc-lock.h: Likewise.
30650         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
30651         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
30652         * sysdeps/unix/alpha/sysdep.h: Likewise.
30653         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
30654         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
30655         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
30656         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
30657         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
30658         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
30659         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30660         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
30661         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30662         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
30663         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
30664         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
30665         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
30666         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
30667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
30668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
30669         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
30670         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
30671         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
30672         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
30673         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
30674         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
30675         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
30676         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
30677         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
30678         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
30680         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
30681         * nptl/pthreadP.h: Likewise.
30682         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
30683         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
30684         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
30685         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
30686         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
30687         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
30688         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30689         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
30690         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
30691         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
30692         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
30693         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
30694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
30695         Likewise.
30696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
30697         Likewise.
30698         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
30699         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
30700         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
30701         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
30702         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
30703         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
30704         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
30705         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
30707         * dlfcn/dladdr.c: Use IS_IN.
30708         * dlfcn/dladdr1.c: Likewise.
30709         * dlfcn/dlclose.c: Likewise.
30710         * dlfcn/dlerror.c: Likewise.
30711         * dlfcn/dlinfo.c: Likewise.
30712         * dlfcn/dlmopen.c: Likewise.
30713         * dlfcn/dlopen.c: Likewise.
30714         * dlfcn/dlsym.c: Likewise.
30715         * dlfcn/dlvsym.c: Likewise.
30717         * include/ifaddrs.h: Use IS_IN.
30718         * inet/check_pf.c: Likewise.
30719         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
30720         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
30722         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
30723         IS_IN_ldconfig.
30724         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
30725         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
30727         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
30728         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
30729         IS_IN (libc).
30731         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
30733         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
30734         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30735         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
30736         * include/libc-symbols.h (IS_IN_LIB): New macro.
30737         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
30738         * include/netdb.h: Likewise.
30739         * include/stap-probe.h: Remove all uses of IN_LIB.
30741         * Makeconfig (module-cppflags-real): Define MODULE_NAME
30742         instead of IN_MODULE.
30743         * include/libc-symbols.h (IN_MODULE): Define using
30744         MODULE_NAME.
30745         (PASTE_NAME, PASTE_NAME1): New macros.
30746         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
30747         of IN_LIB.
30748         (STAP_PROBE_ASM): Likewise.
30750 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30752         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
30753         __mach_init in dlopened libc.
30755 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
30757         * sysdeps/arm/preconfigure.ac: Delete EABI check.
30758         * sysdeps/arm/preconfigure: Regenerate.
30760 2014-11-21  Roland McGrath  <roland@hack.frob.com>
30762         * nptl/pthread_create.c (__pthread_create_2_1): Set
30763         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
30764         when copying values from IATTR into PD.
30766 2014-11-21  Will Newton  <will.newton@linaro.org>
30767             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
30769         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
30770         Refactor inline-asm.  Also add comment.
30772         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
30773         ElfW macro instead of hardcoded Elf64 types.
30774         (la_aarch64_gnu_pltenter): Likewise.
30775         * sysdeps/aarch64/dl-machine.h
30776         (elf_machine_runtime_setup): Use ElfW(Addr).
30778         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
30779         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
30780         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
30781         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
30782         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
30783         (R_AARCH64_TLS_DTPMOD64): Rename to ..
30784         (R_AARCH64_TLS_DTPMOD): This.
30785         (R_AARCH64_TLS_DTPREL64): Rename to ...
30786         (R_AARCH64_TLS_DTPREL): This.
30787         (R_AARCH64_TLS_TPREL64): Rename to ...
30788         (R_AARCH64_TLS_TPREL): This.
30789         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
30790         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
30791         R_AARCH64_TLS_TPREL64.
30792         (elf_machine_rela): Likewise.
30794 2014-11-21  Torvald Riegel  <triegel@redhat.com>
30796         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
30797         by setting it to 0.  64b atomics are not supported currently.
30799 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30801         [BZ #16469]
30802         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
30803         search domain names.
30805 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30807         [BZ #16469]
30808         * NEWS: Update.
30809         * resolv/res_query.c (__libc_res_nquerydomain): Retain
30810         trailing dot.
30811         * posix/tst-getaddrinfo5.c: New.
30812         * posix/Makefile (tests): Add it.
30814 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30816         [BZ #14498]
30817         * NEWS: Fixed.
30818         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
30819         after parsing line but before break_if_match.
30820         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
30821         if there is a protocol mismatch.
30823 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
30825         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
30826         because the potential race is on the user-supplied stream.
30828 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30830         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
30831         string literal if not passed a buffer.
30832         * manual/job.texi (ctermid): Update reasoning, note deviation
30833         from posix, suggest mtasurace when not passed a buffer, for
30834         future non-preliminary safety notes.
30836 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30838         * manual/users.texi (cuserid): Fix MT-Safety note for the case
30839         of not passing it a buffer.
30840         Reported by Peng Haitao.
30842 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30844         * manual/Makefile ($(objpfx)stamp-summary): Require
30845         check-safety.sh to pass.
30846         * manual/check-safety.sh: Wish for verification that every
30847         @deftypefn and @deftypefun is followed by a @safety remark.
30849 2014-11-20  Roland McGrath  <roland@hack.frob.com>
30851         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
30853         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
30854         PTHREAD_CANCEL_ASYNCHRONOUS.
30855         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
30856         send SIGCANCEL.
30858         * nptl/default-sched.h: New file.
30859         * sysdeps/unix/sysv/linux/default-sched.h: New file.
30860         * nptl/pthread_create.c: Include it.
30861         (__pthread_create_2_1): Use collect_default_sched instead of making
30862         Linux syscalls here directly.
30864 2014-11-20  Torvald Riegel  <triegel@redhat.com>
30866         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
30867         __pthread_once): Use C11 atomics.
30869 2014-11-20  Torvald Riegel  <triegel@redhat.com>
30871         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
30873 2014-11-20  Torvald Riegel  <triegel@redhat.com>
30875         * include/atomic.h (__atomic_link_error, __atomic_check_size,
30876         atomic_thread_fence_acquire, atomic_thread_fence_release,
30877         atomic_thread_fence_seq_cst, atomic_load_relaxed,
30878         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
30879         atomic_compare_exchange_weak_relaxed,
30880         atomic_compare_exchange_weak_acquire,
30881         atomic_compare_exchange_weak_release,
30882         atomic_exchange_acquire, atomic_exchange_release,
30883         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
30884         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
30885         atomic_fetch_and_acquire,
30886         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
30888 2014-11-20  Torvald Riegel  <triegel@redhat.com>
30890         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
30891         USE_ATOMIC_COMPILER_BUILTINS): Define.
30892         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
30893         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30894         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
30895         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30896         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
30897         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30898         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
30899         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30900         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
30901         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30902         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
30903         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30904         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
30905         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30906         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
30907         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30908         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
30909         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30910         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
30911         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30912         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
30913         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30914         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
30915         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30916         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
30917         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30918         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
30919         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30920         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
30921         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30922         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
30923         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30924         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
30925         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30926         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
30927         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30928         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
30929         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30930         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
30931         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30933 2014-11-19  Roland McGrath  <roland@hack.frob.com>
30935         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
30936         the sched_priority value here.  It was already checked when the user
30937         called pthread_attr_setschedparam.
30939         * nptl/tst-bad-schedattr.c: New file.
30940         * nptl/Makefile (tests): Add it.
30942 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
30943             Florian Weimer  <fweimer@redhat.com>
30944             Joseph Myers  <joseph@codesourcery.com>
30945             Adam Conrad  <adconrad@0c3.net>
30946             Andreas Schwab  <schwab@suse.de>
30947             Brooks  <bmoses@google.com>
30949         [BZ #17625]
30950         * wordexp-test.c (__dso_handle): Add prototype.
30951         (__register_atfork): Likewise.
30952         (__app_register_atfork): New function.
30953         (registered_forks): New global.
30954         (register_fork): New function.
30955         (test_case): Add 3 new tests for WRDE_CMDSUB.
30956         (main): Call __app_register_atfork.
30957         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
30958         fork count is non-zero fail the test.
30959         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
30960         is set.
30961         (parse_dollars): Remove check for WRDE_NOCMD.
30962         (parse_dquote): Likewise.
30964 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30966         * Makeconfig (built-modules): List non-library modules to be
30967         built.
30968         (module-cppflags): Include libc-modules.h for
30969         everything except shlib-versions.v.i.
30970         (CPPFLAGS): Use it.
30971         (before-compile): Add libc-modules.h.
30972         ($(common-objpfx)libc-modules.h,
30973         $(common-objpfx)libc-modules.stmp): New targets.
30974         (common-generated): Add libc-modules.h and libc-modules.stmp.
30975         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
30976         * include/libc-symbols.h: Don't include libc-modules.h.
30977         * include/libc-modules.h: Remove file.
30978         * scripts/gen-libc-modules.awk: New script to generate
30979         libc-modules.h.
30980         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
30981         Depend on libc-modules.stmp.
30983         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
30985         * Makeconfig (in-module): Get value of libof set for the
30986         translation unit.
30987         (CPPFLAGS): Use $(in-module).
30988         * Makerules: Don't suffix routine names for nonlib.
30989         * include/libc-modules.h: New file.
30990         * include/libc-symbols.h: Include libc-modules.h
30991         (IS_IN): New macro to replace IS_IN_* macros.
30992         * elf/Makefile: Set libof-* for each routine.
30993         * elf/rtld-Rules: Likewise.
30994         * extra-modules.mk: Likewise.
30995         * iconv/Makefile: Likewise.
30996         * iconvdata/Makefile: Likewise.
30997         * locale/Makefile: Likewise.
30998         * malloc/Makefile: Likewise.
30999         * nss/Makefile: Likewise.
31000         * sysdeps/gnu/Makefile: Likewise.
31001         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
31002         * sysdeps/unix/sysv/linux/Makefile: Likewise.
31003         * sysdeps/s390/s390-64/Makefile: Likewise.
31004         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
31005         CPPFLAGS for nscd instead of nonlib.
31007 2014-11-18  Roland McGrath  <roland@hack.frob.com>
31009         * nptl/createthread.c: New file.
31011         * nptl/createthread.c: Moved ...
31012         * sysdeps/unix/sysv/linux/createthread.c: ... here.
31014         * nptl/createthread.c: Add proper top-line comment.
31015         (do_clone): Folded into ...
31016         (create_thread): ... here.  Take new arguments STOPPED_START and
31017         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
31018         increment __nptl_threads, do event-reporting logic, do
31019         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
31020         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
31021         resource cleanup if sched_setaffinity or sched_setscheduler fails,
31022         just send SIGCANCEL.
31023         * nptl/pthread_create.c: Forward-declare create_thread before
31024         including createthread.c.
31025         (start_thread): Use new macro START_THREAD_DEFN to replace defining
31026         declaration, and new macro START_THREAD_SELF to replace argument.
31027         Remove return statement.
31028         (report_thread_creation): New function.
31029         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
31030         synchronization logic, and __nptl_nthreads increment here, around
31031         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
31032         PD->parent_cancelhandling here, before create_thread.  When
31033         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
31034         __deallocate_stack, and ENOMEM translation here.
31036 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
31038         [BZ #17616]
31039         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
31040         (mptwo): Rename to __mptwo.
31041         (__inv): Use __mptwo instead of mptwo.
31042         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
31043         (mptwo): Rename to __mptwo.
31044         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
31045         of mpone and __mptwo instead of mptwo.
31046         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
31047         instead of mpone.
31048         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
31049         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
31050         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
31051         of mpone and __mptwo instead of mptwo.
31052         (__mpranred): Use __mpone instead of mpone.
31053         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
31054         variable.
31055         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
31056         (test-xfail-ISO99/math.h/linknamespace): Likewise.
31057         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
31058         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
31059         (test-xfail-ISO11/math.h/linknamespace): Likewise.
31060         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
31061         (test-xfail-XPG3/math.h/linknamespace): Likewise.
31062         (test-xfail-XPG4/math.h/linknamespace): Likewise.
31063         (test-xfail-POSIX/math.h/linknamespace): Likewise.
31064         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
31065         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
31066         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
31067         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
31068         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
31069         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
31070         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
31071         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
31072         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
31073         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
31075 2014-11-18  Tom de Vries  <tom@codesoucery.com>
31077         * manual/signal.texi (Primitives Interrupted by Signals): In section,
31078         replace BSD Handler xref with BSD Signal Handling.
31080 2014-11-17  Richard Henderson  <rth@redhat.com>
31082         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
31083         (_FP_PACK_RAW_2): Remove.
31084         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
31085         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
31086         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
31087         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
31088         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
31089         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
31090         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
31091         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
31092         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
31093         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
31094         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
31095         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
31096         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
31097         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
31098         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
31099         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
31101 2014-11-14  Roland McGrath  <roland@hack.frob.com>
31103         * signal/signal.h [__USE_MISC]
31104         (struct sigvec): Remove type.
31105         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
31106         (sigvec): Remove declaration.
31107         * sysdeps/posix/sigvec.c: Moved ...
31108         * signal/sigvec.c: ... here, replacing old file.
31109         (struct sigvec): New type, copied from old signal.h definition.
31110         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
31111         (__sigvec): Convert definition to prototype.
31112         (sigvec): Replace weak_alias with compat_symbol.
31113         * signal/Versions (libc: GLIBC_2.21): New version set.
31114         * include/signal.h: Remove __sigvec declaration.
31115         * sysdeps/unix/bsd/sigvec.c: Remove file.
31116         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
31117         * manual/signal.texi (BSD Handler): Remove subsection.
31118         Move siginterrupt up to ...
31119         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
31120         (Blocking in BSD): Fold subsection into its parent.
31121         * NEWS: Mention sigvec removal.
31123 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
31125         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
31126         (DLA_FMS): Make definition conditional only on [__FMA4__].
31127         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
31128         definition.
31130         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
31131         Make definition conditional only on [PROF].
31132         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
31133         definition.
31134         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
31135         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
31137         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
31138         !__GNUC__].
31139         * include/signal.h (__sigpause): Move declaration above call to
31140         libc_hidden_proto.
31141         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
31142         variable.
31143         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
31144         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
31146 2014-11-14  David S. Miller  <davem@davemloft.net>
31148         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
31149         Define before including <string/memcpy.c> and <string/mempcpy.c>.
31151 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
31153         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
31154         * configure: Regenerated.
31155         * manual/install.texi (Tools for Compilation): Document a
31156         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
31157         compiler verified to work.
31158         * INSTALL: Regenerated.
31160         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
31161         redeclare with asm name.
31162         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
31163         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
31164         including <string.h>.
31165         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
31166         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
31167         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
31168         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
31169         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
31170         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
31171         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
31173 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
31175         * stdlib/strtol.c (__strtol): Use prototype definition.
31177         [BZ #17594]
31178         * stdlib/strtol.c (SYM__): New macro.
31179         (SYM__1): Likewise.
31180         (__strtol): Likewise.
31181         (strtol): Rename to __strtol and define as weak alias of
31182         __strtol.  Use libc_hidden_weak.
31184 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31186         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
31187         Use numbered labels in inline assembly.
31189 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31191         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
31192         Add setjmp LIBC_PROBE.
31193         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
31194         Likewise.
31195         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
31196         Add longjmp, longjmp_target LIBC_PROBE.
31197         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
31198         Likewise.
31200 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31202         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
31203         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
31204         to get rid of unused variable warning.
31206 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31208         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
31209         Check for unwind_backtrace ==  NULL only in SHARED case.
31210         (__backchain_backtrace): Compile only in SHARED case.
31211         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
31212         Likewise.
31213         (__backchain_backtrace): Declare as static.
31215 2014-11-12  Roland McGrath  <roland@hack.frob.com>
31217         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
31218         (__libc_multiple_threads_ptr): Variable moved ...
31219         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
31221 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
31223         * conform/GlibcConform.pm: New file.
31224         * conform/conformtest.pl: Use GlibcConform module.
31225         * conform/linknamespace.pl: New file.
31226         * conform/list-header-symbols.pl: Likewise.
31227         * conform/Makefile (linknamespace-symlists-base): New variable.
31228         (linknamespace-symlists-tests): Likewise.
31229         (linknamespace-header-base): Likewise.
31230         (linknamespace-header-tests): Likewise.
31231         (tests-special): Add new tests.
31232         ($(linknamespace-symlists-tests)): New rule.
31233         (linknamespace-libs): New variable.
31234         ($(objpfx)symlist-stdlibs): New rule.
31235         ($(linknamespace-header-tests)): Likewise.
31236         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
31237         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
31238         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
31239         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
31240         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
31241         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
31242         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
31243         (test-xfail-ISO/math.h/linknamespace): Likewise.
31244         (test-xfail-ISO/signal.h/linknamespace): Likewise.
31245         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
31246         (test-xfail-ISO/time.h/linknamespace): Likewise.
31247         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
31248         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
31249         (test-xfail-ISO99/math.h/linknamespace): Likewise.
31250         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
31251         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
31252         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
31253         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
31254         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
31255         (test-xfail-ISO11/math.h/linknamespace): Likewise.
31256         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
31257         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
31258         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
31259         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
31260         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
31261         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
31262         (test-xfail-XPG3/math.h/linknamespace): Likewise.
31263         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
31264         (test-xfail-XPG3/search.h/linknamespace): Likewise.
31265         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
31266         (test-xfail-XPG3/time.h/linknamespace): Likewise.
31267         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
31268         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
31269         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
31270         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
31271         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
31272         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
31273         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
31274         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
31275         (test-xfail-XPG4/math.h/linknamespace): Likewise.
31276         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
31277         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
31278         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
31279         (test-xfail-XPG4/search.h/linknamespace): Likewise.
31280         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
31281         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
31282         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
31283         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
31284         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
31285         (test-xfail-XPG4/time.h/linknamespace): Likewise.
31286         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
31287         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
31288         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
31289         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
31290         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
31291         (test-xfail-POSIX/math.h/linknamespace): Likewise.
31292         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
31293         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
31294         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
31295         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
31296         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
31297         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
31298         (test-xfail-POSIX/time.h/linknamespace): Likewise.
31299         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
31300         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
31301         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
31302         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
31303         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
31304         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
31305         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
31306         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
31307         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
31308         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
31309         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
31310         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
31311         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
31312         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
31313         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
31314         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
31315         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
31316         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
31317         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
31318         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
31319         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
31320         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
31321         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
31322         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
31323         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
31324         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
31325         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
31326         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
31327         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
31328         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
31329         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
31330         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
31331         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
31332         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
31333         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
31334         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
31335         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
31336         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
31337         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
31338         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
31339         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
31340         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
31341         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
31342         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
31343         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
31344         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
31345         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
31346         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
31347         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
31348         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
31349         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
31350         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
31351         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
31352         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
31353         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
31354         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
31355         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
31356         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
31357         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
31358         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
31359         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
31360         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
31361         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
31362         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
31363         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
31364         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
31365         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
31366         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
31367         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
31368         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
31369         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
31370         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
31371         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
31372         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
31373         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
31374         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
31375         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
31376         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
31377         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
31378         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
31379         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
31380         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
31381         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
31382         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
31383         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
31384         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
31385         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
31386         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
31387         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
31388         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
31389         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
31390         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
31391         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
31392         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
31393         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
31394         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
31395         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
31396         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
31398         [BZ #17589]
31399         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
31400         of fgets_unlocked.
31402         [BZ #17585]
31403         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
31404         (memmem): Rename to __memmem and define as weak alias of
31405         __memmem.  Use libc_hidden_weak.
31406         (__memmem): Use libc_hidden_def.
31407         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
31408         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
31409         memmem.
31411         [BZ #17582]
31412         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
31413         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
31414         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
31415         and define as weak alias of __fgets_unlocked.  Use
31416         libc_hidden_weak.
31417         (__fgets_unlocked): Use libc_hidden_def.
31418         * include/stdio.h (__fgets_unlocked): Declare.  Use
31419         libc_hidden_proto.
31420         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
31421         __fgets_unlocked instead of fgets_unlocked.
31422         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
31423         (GET_NPROCS_CONF_PARSER): Likewise.
31424         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
31425         (GET_NPROCS_CONF_PARSER): Likewise.
31427         [BZ #17574]
31428         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
31429         weak alias of __wmemset.  Use libc_hidden_weak.
31430         (__wmemset): Use libc_hidden_def.
31431         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
31432         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
31433         of wmemset.
31435         [BZ #17573]
31436         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
31437         with asm name __mempcpy.
31438         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
31440         [BZ #17572]
31441         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
31442         and define as weak alias of __rawmemchr.
31443         (__rawmemchr): Do not define as strong alias of rawmemchr.
31445         [BZ #17571]
31446         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
31447         alias of __qsort_r.
31448         (qsort): Call __qsort_r instead of qsort_r.
31449         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
31450         (__qsort_r): Declare.  Call libc_hidden_proto.
31451         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
31452         instead of qsort_r.
31453         * nscd/gai.c (__qsort_r): Define to qsort_r.
31454         * posix/tst-rfc3484.c (__qsort_r): Likewise.
31455         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
31456         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
31458         [BZ #17570]
31459         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
31460         define as weak alias of __malloc_info.
31462         [BZ #17584]
31463         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
31464         as weak alias of __rewinddir.  Don't use libc_hidden_def.
31465         (__rewinddir): Use libc_hidden_def.
31466         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
31467         as weak alias of __rewinddir.  Don't use libc_hidden_def.
31468         (__rewinddir): Use libc_hidden_def.
31469         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
31470         weak alias of __rewinddir.  Don't use libc_hidden_def.
31471         (__rewinddir): Use libc_hidden_def.
31472         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
31473         (__rewinddir): Use libc_hidden_proto.
31474         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
31475         rewinddir.
31476         (__getcwd): Use __rewinddir instead of rewinddir.
31478         [BZ #17583]
31479         * libio/fileno.c (fileno): Rename to __fileno and define as weak
31480         alias of __fileno.  Use libc_hidden_weak.
31481         (__fileno): Use libc_hidden_def.
31482         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
31483         * libio/ftello.c (ftello): Rename to __ftello and define as weak
31484         alias of __ftello.
31485         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
31486         __ftello.
31487         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
31488         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
31489         libc_hidden_def.
31490         (fread_unlocked): Don't use libc_hidden_ver.
31491         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
31492         and define as weak alias of __fread_unlocked.  Don't use
31493         libc_hidden_def.
31494         (__fread_unlocked): Use libc_hidden_def.
31495         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
31496         (ftello): Don't use libc_hidden_proto.
31497         (__ftello): Declare.  Use libc_hidden_proto.
31498         (fread_unlocked): Don't use libc_hidden_proto.
31499         (__fread_unlocked): Declare.  Use libc_hidden_proto.
31500         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
31501         and __ftello instead of fileno, fread_unlocked and ftello.
31503 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31505         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
31506         GOT12.
31507         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
31508         Likewise.
31509         (_dl_start_user): Likewise.
31510         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
31512 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
31513             Siddhesh Poyarekar  <siddhesh@redhat.com>
31515         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
31516         Move argv and envp down instead of moving argc up.
31517         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
31519 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
31521         [BZ #17506]
31522         * test-skeleton.c (main): Return successful if one of
31523         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
31524         * string/tst-strcoll-overflow.c: Define expected status.
31526 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
31528         [BZ #17475]
31529         * locale/iso-639.def: Define Bhili and Tulu language codes.
31531 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
31533         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
31535 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
31537         [BZ #17555]
31538         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
31540 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
31542         * configure.ac: Updated check of minimal required version to
31543         2.22.
31544         * manual/install.texi (Tools for Compilation): Updated version
31545         number.
31546         * configure: Regenerated.
31547         * INSTALL: Likewise.
31549 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
31551         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
31552         __tls_get_addr.
31554 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
31556         * include/sys/wait.h (__libc_waitpid): Remove declaration.
31557         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
31558         (__waitpid): Don't define as alias.  Use libc_hidden_def not
31559         libc_hidden_weak.
31560         (waitpid): Define as alias of __waitpid.
31561         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
31562         __waitpid.
31563         (__waitpid): Don't define as alias.  Use libc_hidden_def not
31564         libc_hidden_weak.
31565         (waitpid): Define as alias of __waitpid.
31566         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
31567         __libc_waitpid alias.
31568         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
31569         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
31570         Likewise.
31571         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
31572         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
31573         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
31574         alias.
31575         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
31576         __waitpid.
31577         (__waitpid): Don't define as alias.  Use libc_hidden_def not
31578         libc_hidden_weak.
31579         (waitpid): Define as alias of __waitpid.
31581 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
31583         * manual/llio.texi: Add comment that write safety has been
31584         fixed in Linux.
31586         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
31587         (localplt-build-dso): Add elf/ld.so.
31588         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
31589         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
31590         and free for ld.so.
31591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
31592         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
31593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
31594         Likewise.
31595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
31596         Likewise.
31597         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
31598         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
31599         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
31600         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
31601         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
31602         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
31603         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
31604         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
31605         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
31606         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
31607         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
31609 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
31611         [BZ #14132]
31612         * include/libc-symbols.h (INTUSE): Remove macro.
31613         (INTDEF): Likewise.
31614         (INTVARDEF): Likewise.
31615         (_INTVARDEF): Likewise.
31616         (INTDEF2): Likewise.
31617         (INTVARDEF2): Likewise.
31618         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
31619         rtld_hidden_def instead of INTVARDEF.
31620         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
31621         (_dl_starting_up_internal): Remove declaration.
31622         (_dl_starting_up): Use rtld_hidden_proto.
31623         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
31624         declaration.
31625         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
31626         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
31627         _dl_starting_up.
31628         * elf/dl-writev.h (_dl_writev): Likewise.
31629         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
31630         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
31631         _dl_starting_up_internal.
31633 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31635         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
31636         test-skeleton.c.
31638 2014-11-05  Will Newton  <will.newton@linaro.org>
31640         * benchtests/Makefile: (bench-malloc): Add malloc thread
31641         scalability benchmark.
31642         * benchtests/bench-malloc-threads.c: New file.
31644 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
31646         * sysdeps/aarch64/strchrnul.S: New file.
31648 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31650         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
31651         definition.
31652         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
31653         Likwise.
31654         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
31655         Likewise.
31656         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
31657         Likewise.
31658         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
31659         Likewise.
31660         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
31661         Likewise.
31663 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
31665         * catgets/test-gencat.c: Use test-skeleton.c.
31666         * catgets/tst-catgets.c: Likewise.
31667         * csu/tst-empty.c: Likewise.
31668         * elf/tst-audit2.c: Likewise.
31669         * elf/tst-global1.c: Likewise.
31670         * elf/tst-pathopt.c: Likewise.
31671         * elf/tst-piemod1.c: Likewise.
31672         * elf/tst-tls10.c: Likewise.
31673         * elf/tst-tls11.c: Likewise.
31674         * elf/tst-tls12.c: Likewise.
31675         * gnulib/tst-gcc.c: Likewise.
31676         * iconvdata/tst-e2big.c: Likewise.
31677         * iconvdata/tst-loading.c: Likewise.
31678         * iconv/tst-iconv1.c: Likewise.
31679         * iconv/tst-iconv2.c: Likewise.
31680         * inet/test-inet6_opt.c: Likewise.
31681         * inet/tst-gethnm.c: Likewise.
31682         * inet/tst-network.c: Likewise.
31683         * inet/tst-ntoa.c: Likewise.
31684         * intl/tst-codeset.c: Likewise.
31685         * intl/tst-gettext2.c: Likewise.
31686         * intl/tst-gettext3.c: Likewise.
31687         * intl/tst-ngettext.c: Likewise.
31688         * intl/tst-translit.c: Likewise.
31689         * io/test-stat.c: Likewise.
31690         * libio/test-fmemopen.c: Likewise.
31691         * libio/tst-freopen.c: Likewise.
31692         * libio/tst-sscanf.c: Likewise.
31693         * libio/tst-ungetwc1.c: Likewise.
31694         * libio/tst-ungetwc2.c: Likewise.
31695         * libio/tst-widetext.c: Likewise.
31696         * localedata/tst-ctype.c: Likewise.
31697         * localedata/tst-digits.c: Likewise.
31698         * localedata/tst-leaks.c: Likewise.
31699         * localedata/tst-mbswcs1.c: Likewise.
31700         * localedata/tst-mbswcs2.c: Likewise.
31701         * localedata/tst-mbswcs3.c: Likewise.
31702         * localedata/tst-mbswcs4.c: Likewise.
31703         * localedata/tst-mbswcs5.c: Likewise.
31704         * localedata/tst-setlocale.c: Likewise.
31705         * localedata/tst-trans.c: Likewise.
31706         * localedata/tst-wctype.c: Likewise.
31707         * localedata/tst-xlocale1.c: Likewise.
31708         * login/tst-grantpt.c: Likewise.
31709         * malloc/tst-calloc.c: Likewise.
31710         * malloc/tst-malloc.c: Likewise.
31711         * malloc/tst-mallocstate.c: Likewise.
31712         * malloc/tst-mcheck.c: Likewise.
31713         * malloc/tst-mtrace.c: Likewise.
31714         * malloc/tst-obstack.c: Likewise.
31715         * math/atest-exp2.c: Likewise.
31716         * math/atest-exp.c: Likewise.
31717         * math/atest-sincos.c: Likewise.
31718         * math/test-matherr.c: Likewise.
31719         * math/test-misc.c: Likewise.
31720         * math/test-powl.c: Likewise.
31721         * math/tst-definitions.c: Likewise.
31722         * misc/tst-dirname.c: Likewise.
31723         * misc/tst-efgcvt.c: Likewise.
31724         * misc/tst-fdset.c: Likewise.
31725         * misc/tst-hsearch.c: Likewise.
31726         * misc/tst-mntent2.c: Likewise.
31727         * nptl/tst-sem7.c: Likewise.
31728         * nptl/tst-sem8.c: Likewise.
31729         * nptl/tst-sem9.c: Likewise.
31730         * nss/test-netdb.c: Likewise.
31731         * posix/tst-fnmatch.c: Likewise.
31732         * posix/tst-getlogin.c: Likewise.
31733         * posix/tst-gnuglob.c: Likewise.
31734         * posix/tst-mmap.c: Likewise.
31735         * pwd/tst-getpw.c: Likewise.
31736         * resolv/tst-inet_ntop.c: Likewise.
31737         * rt/tst-timer.c: Likewise.
31738         * stdio-common/test-fseek.c: Likewise.
31739         * stdio-common/test-popen.c: Likewise.
31740         * stdio-common/test-vfprintf.c: Likewise.
31741         * stdio-common/tst-cookie.c: Likewise.
31742         * stdio-common/tst-fileno.c: Likewise.
31743         * stdio-common/tst-gets.c: Likewise.
31744         * stdio-common/tst-obprintf.c: Likewise.
31745         * stdio-common/tst-perror.c: Likewise.
31746         * stdio-common/tst-sprintf2.c: Likewise.
31747         * stdio-common/tst-sprintf3.c: Likewise.
31748         * stdio-common/tst-sprintf.c: Likewise.
31749         * stdio-common/tst-swprintf.c: Likewise.
31750         * stdio-common/tst-tmpnam.c: Likewise.
31751         * stdio-common/tst-unbputc.c: Likewise.
31752         * stdio-common/tst-wc-printf.c: Likewise.
31753         * stdlib/tst-environ.c: Likewise.
31754         * stdlib/tst-fmtmsg.c: Likewise.
31755         * stdlib/tst-limits.c: Likewise.
31756         * stdlib/tst-rand48-2.c: Likewise.
31757         * stdlib/tst-rand48.c: Likewise.
31758         * stdlib/tst-random2.c: Likewise.
31759         * stdlib/tst-random.c: Likewise.
31760         * stdlib/tst-strtol.c: Likewise.
31761         * stdlib/tst-strtoll.c: Likewise.
31762         * stdlib/tst-tls-atexit.c: Likewise.
31763         * stdlib/tst-xpg-basename.c: Likewise.
31764         * string/test-ffs.c: Likewise.
31765         * string/tst-bswap.c: Likewise.
31766         * string/tst-inlcall.c: Likewise.
31767         * string/tst-strtok.c: Likewise.
31768         * string/tst-strxfrm.c: Likewise.
31769         * sysdeps/x86_64/tst-audit10.c: Likewise.
31770         * sysdeps/x86_64/tst-audit3.c: Likewise.
31771         * sysdeps/x86_64/tst-audit4.c: Likewise.
31772         * sysdeps/x86_64/tst-audit5.c: Likewise.
31773         * time/tst-ftime_l.c: Likewise.
31774         * time/tst-getdate.c: Likewise.
31775         * time/tst-mktime3.c: Likewise.
31776         * time/tst-mktime.c: Likewise.
31777         * time/tst-posixtz.c: Likewise.
31778         * time/tst-strptime2.c: Likewise.
31779         * time/tst-strptime3.c: Likewise.
31780         * wcsmbs/tst-btowc.c: Likewise.
31781         * wcsmbs/tst-mbrtowc.c: Likewise.
31782         * wcsmbs/tst-mbsrtowcs.c: Likewise.
31783         * wcsmbs/tst-wchar-h.c: Likewise.
31784         * wcsmbs/tst-wcpncpy.c: Likewise.
31785         * wcsmbs/tst-wcrtomb.c: Likewise.
31786         * wcsmbs/tst-wcsnlen.c: Likewise.
31787         * wcsmbs/tst-wcstof.c: Likewise.
31789 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
31791         [BZ #14132]
31792         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
31793         INTDEF.
31794         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
31795         declaration.
31796         (_dl_mcount): Use rtld_hidden_proto.
31797         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
31798         _dl_mcount.
31799         * elf/rtld.c (_rtld_global_ro): Likewise.
31801         [BZ #14132]
31802         * elf/dl-init.c (_dl_init): Don't use INTDEF.
31803         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
31804         of _dl_init_internal.
31805         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
31806         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
31807         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
31808         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
31809         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
31810         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
31811         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
31812         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
31813         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
31814         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
31815         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
31816         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
31817         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
31818         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
31819         * sysdeps/tile/dl-start.S (_start): Likewise.
31820         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
31821         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
31823         [BZ #14132]
31824         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
31825         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
31826         (rtld_progname): Make macro definition unconditional.
31827         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
31828         INTDEF.
31829         (dlmopen_doit): Do not use INTUSE with _dl_argv.
31830         (dl_main): Likewise.
31831         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
31832         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
31833         instead of _dl_argv_internal.
31834         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
31835         __GI__dl_argv instead of INTUSE(_dl_argv).
31836         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
31837         __GI__dl_argv instead of _dl_argv_internal.
31839         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
31840         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
31841         macro.
31842         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
31843         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
31844         New macro.
31845         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
31846         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
31847         macro.
31848         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
31849         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
31851 2014-11-04  Andreas Schwab  <schwab@suse.de>
31853         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
31855 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31857         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
31858         mtvsrd instruction in binary form.
31860 2014-11-03  Andreas Schwab  <schwab@suse.de>
31862         [BZ #17522]
31863         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
31864         for less than MB_LEN_MAX use a local buffer of that size.
31865         * libio/tst-fputws.c: New file.
31866         * libio/Makefile (tests): Add tst-fputws.
31868 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
31870         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
31871         the size of the fpu_fr.fpu_dregs[] array.
31873 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
31875         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
31876         (__nanosleep): Do not define as alias.
31877         (nanosleep): Define as alias of __nanosleep.
31878         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
31879         __libc_nanosleep name.
31881 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
31883         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
31884         install.texi in comment.
31886 2014-10-31  Torvald Riegel  <triegel@redhat.com>
31888         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
31889         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
31890         ... add here and use lwsync or sync ...
31891         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
31892         ... and add here using lwsync.
31894 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
31896         * elf/dl-machine-reject-phdr.h: New file.
31897         * elf/dl-load.c: #include that.
31898         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
31899         if that returned true.
31901 2014-10-31  Roland McGrath  <roland@hack.frob.com>
31903         [BZ #17496]
31904         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
31905         gen-as-const-headers chunk.  Add a big scare comment after the last
31906         safe place to touch before-compile.
31908 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
31910         * manual/install.texi (Tools for Compilation): Update autoconf
31911         version requirements.
31912         * INSTALL: Regenerated.
31914         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
31915         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
31916         (__libc_pselect): Likewise.
31918         [BZ #14138]
31919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
31920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31924 2014-10-31  Torvald Riegel  <triegel@redhat.com>
31926         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
31927         correct barrier instruction.
31928         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
31929         Likewise.
31930         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
31931         Likewise.
31933 2014-10-30  Roland McGrath  <roland@hack.frob.com>
31935         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
31936         after defining inlines.  Instead, just use parens to defeat macro
31937         expansion of __isctype in its declaration.
31939 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
31941         * include/sys/uio.h (__libc_readv): Remove declaration.
31942         (__libc_writev): Likewise.
31943         * misc/readv.c (__libc_readv): Rename to __readv.
31944         (__readv): Do not define as alias.
31945         (readv): Define as alias of __readv.
31946         * misc/writev.c (__libc_writev): Rename to __writev.
31947         (__writev): Do not define as alias.
31948         (writev): Define as alias of __writev.
31949         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
31950         (__readv): Do not define as alias.
31951         (readv): Define unconditionally as alias of __readv.
31952         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
31953         (__writev): Do not define as alias.
31954         (writev): Define unconditionally as alias of __writev.
31955         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
31956         name.
31957         (writev): Do not define __libc_writev name.
31959 2014-10-30  Roland McGrath  <roland@hack.frob.com>
31961         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
31962         (convert_charseq): New function, broken out of ...
31963         (use_from_charmap): ... here.  Call it.
31964         (use_to_charmap): Use convert_charseq and free instead of duplicating
31965         its code with a variable-length stack struct.
31967 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
31969         * include/fcntl.h (__libc_creat): Remove declaration.
31970         * io/creat.c (__libc_creat): Rename to creat.
31971         (creat): Do not define as alias.
31972         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
31973         of creat instead of __libc_creat.
31974         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
31975         to creat.
31976         (creat): Do not define as alias.
31977         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
31978         __libc_creat.
31979         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
31980         __libc_creat name.
31981         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
31982         Likewise.
31984 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
31986         * manual/llio.texi: Add comments discussing why write() may be
31987         considered MT-unsafe on Linux.
31989 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
31991         * dl-load.c (local_strdup): Remove.
31992         (expand_dynamic_string_token): Use __strdup.
31993         (decompose_rpath): Likewise.
31994         (_dl_map_object): Likewise.
31996 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
31998         [BZ #14132]
31999         * sysdeps/generic/unwind-dw2-fde.c
32000         (__register_frame_info_bases_internal): Do not declare.
32001         (__register_frame_info_table_bases_internal): Likewise.
32002         (__deregister_frame_info_bases_internal): Likewise.
32003         (__register_frame_info_bases): Declare and use hidden_proto before
32004         definition.  Use hidden_def instead of INTDEF.
32005         (__register_frame_info_table_bases): Likewise.
32006         (__deregister_frame_info_bases): Likewise.
32007         (__register_frame_info): Do not use INTUSE.
32008         (__register_frame): Likewise.
32009         (__register_frame_info_table): Likewise.
32010         (__register_frame_table): Likewise.
32011         (__deregister_frame_info): Likewise.
32012         (__deregister_frame): Likewise.
32014 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
32016         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32017         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
32018         not undefine.
32019         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
32020         Likewise.
32021         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
32022         Likewise.
32024 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
32026         [BZ #14138]
32027         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
32028         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
32029         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
32030         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
32031         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
32032         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
32033         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
32034         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
32035         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
32036         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
32037         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
32038         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
32039         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
32040         syscall.
32041         (setfsuid): Likewise.
32042         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
32043         (setfsuid): Likewise.
32044         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
32045         (setfsuid): Likewise.
32046         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
32047         Likewise.
32048         (setfsuid): Likewise.
32049         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
32050         (setfsuid): Likewise.
32051         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
32052         Likewise.
32053         (setfsuid): Likewise.
32055 2014-10-27  Andreas Schwab  <schwab@suse.de>
32057         [BZ #17501]
32058         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
32059         check for Slow_SSE4_2 feature bit.
32060         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
32061         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
32062         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
32063         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
32065 2014-10-24  Roland McGrath  <roland@hack.frob.com>
32067         * configure.ac: Validate compiler version with a empirical test of
32068         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
32069         $CC -v output.
32070         * configure: Regenerated.
32072         * inet/htons.c (htons): Prototypify.
32073         * inet/htonl.c (htonl): Likewise.
32075 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32077         * string/strncat.c (strncat): Improve performance by using strlen.
32079 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32081         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
32083 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32085         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
32086         Call libc_fetestexcept_aarch64.
32088 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32090         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
32091         Call libc_feholdexcept_aarch64.
32093 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32095         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
32096         Call get_rounding_mode.
32098 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32100         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
32101         Simplify logic.
32103 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
32105         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
32106         Simplify logic.
32108 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
32110         [BZ #14138]
32111         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
32112         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
32113         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
32114         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
32115         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
32116         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
32117         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
32118         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
32119         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
32120         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
32121         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
32122         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
32123         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
32124         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
32125         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
32126         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
32127         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
32128         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
32129         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
32130         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
32131         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
32132         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
32133         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
32134         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
32135         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
32136         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
32137         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
32138         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
32139         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
32140         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
32141         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
32142         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
32143         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
32144         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
32145         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
32146         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
32147         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
32148         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
32149         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
32150         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
32151         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
32152         syscall.
32153         (geteuid): Likewise.
32154         (getgid): Likewise.
32155         (getuid): Likewise.
32156         (getresgid): Likewise.
32157         (getresuid): Likewise.
32158         (getgroups): Likewise.
32159         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
32160         (geteuid): Likewise.
32161         (getgid): Likewise.
32162         (getuid): Likewise.
32163         (getresgid): Likewise.
32164         (getresuid): Likewise.
32165         (getgroups): Likewise.
32166         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
32167         (geteuid): Likewise.
32168         (getgid): Likewise.
32169         (getuid): Likewise.
32170         (getresgid): Likewise.
32171         (getresuid): Likewise.
32172         (getgroups): Likewise.
32173         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
32174         Likewise.
32175         (geteuid): Likewise.
32176         (getgid): Likewise.
32177         (getuid): Likewise.
32178         (getresgid): Likewise.
32179         (getresuid): Likewise.
32180         (getgroups): Likewise.
32181         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
32182         (geteuid): Likewise.
32183         (getgid): Likewise.
32184         (getuid): Likewise.
32185         (getresgid): Likewise.
32186         (getresuid): Likewise.
32187         (getgroups): Likewise.
32188         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
32189         Likewise.
32190         (geteuid): Likewise.
32191         (getgid): Likewise.
32192         (getuid): Likewise.
32193         (getgroups): Likewise.
32195         [BZ #14138]
32196         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
32197         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
32198         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
32199         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
32200         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
32201         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
32202         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
32203         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
32204         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
32205         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
32206         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
32207         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
32208         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
32209         __chown.
32210         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
32211         (lchown): Likewise.
32212         (fchown): Likewise.
32213         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
32214         Likewise.
32215         (lchown): Likewise.
32216         (fchown): Likewise.
32217         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
32218         (lchown): Likewise.
32219         (fchown): Likewise.
32220         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
32221         Likewise.
32222         (lchown): Likewise.
32223         (fchown): Likewise.
32225 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
32227         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
32228         Simplify logic.
32230 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
32232         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
32233         Cleanup logic.
32235 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
32237         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
32238         Remove unused include.
32240 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
32242         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
32243         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
32244         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
32245         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
32247 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
32248             Helge Deller <deller@gmx.de>
32250         [BZ #17508]
32251         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
32252         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
32253         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
32255 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
32257         [BZ #14132]
32258         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
32259         Remove macro definition.
32260         (__ashrdi3_v_glibc20): Likewise.
32261         (__lshrdi3_v_glibc20): Likewise.
32262         (__cmpdi2_v_glibc20): Likewise.
32263         (__ucmpdi2_v_glibc20): Likewise.
32264         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
32265         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
32266         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
32267         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
32268         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
32269         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
32271 2014-10-22  Roland McGrath  <roland@hack.frob.com>
32273         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
32274         old GNU extension [0] syntax.
32275         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
32276         alloca rather than an array member with variable length.
32277         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
32278         * nscd/nscd.c (invalidate_db): New function, broken out of ...
32279         (parse_opt): ... here.  Likewise use alloca there.
32280         Validate the -i argument before checking for rootness.
32281         (send_shutdown): New function, broken out of ...
32282         (parse_opt): ... here.
32284 2014-10-22  Roland McGrath  <roland@hack.frob.com>
32286         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
32287         macro to get at the _rt_local_ro field.
32288         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
32289         ([PIC] case) or _dl_hwcap ([!PIC] case).
32290         * sysdeps/arm/setjmp.S: Likewise.
32292         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
32293         * sysdeps/arm/configure.ac: New check to define it.
32294         * sysdeps/arm/configure: Regenerated.
32295         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
32296         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
32297         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
32298         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
32299         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
32300         Use move/movt pair instead of a load.
32301         (LDST_GLOBAL): Macro removed.
32302         (LDR_GLOBAL): New macro replaces it.
32303         (LDR_HIDDEN): New macro.
32304         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
32305         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
32307         * setjmp/tst-setjmp-static.c: New file.
32308         * setjmp/Makefile (tests): Add it.
32309         (tests-static): New variable.
32311 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
32313         [BZ #17485]
32314         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
32316 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
32318         [BZ #14132]
32319         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
32321 2014-10-21  Roland McGrath  <roland@hack.frob.com>
32323         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
32325 2014-10-20  Roland McGrath  <roland@hack.frob.com>
32327         * io/fts.c (dirent_not_directory): New function.
32328         (fts_build): Call it.
32330 2014-10-20  Roland McGrath  <roland@hack.frob.com>
32332         * nptl/version.c (__nptl_main): Use normal __write rather than
32333         INTERNAL_SYSCALL.
32334         (banner): Update copyright years.
32336         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
32337         gettimeofday.
32338         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
32339         * nptl/pthread_cond_timedwait.c: Likewise.
32340         * nptl/pthread_mutex_timedlock.c: Likewise.
32341         * nptl/sem_timedwait.c: Likewise.
32343         * sysdeps/nptl/bits/libc-lock.h
32344         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
32345         (__libc_lock_init_recursive): Return void, not 0.
32346         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
32347         (__libc_rwlock_init): Likewise.
32348         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
32350 2014-10-20  Torvald Riegel  <triegel@redhat.com>
32352         [BZ #15215]
32353         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
32354         (__pthread_once_slow): ... here.
32355         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
32356         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
32358 2014-10-20  Torvald Riegel  <triegel@redhat.com>
32360         [BZ #15215]
32361         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
32362         __PTHREAD_ONCE_FORK_GEN_INCR): New.
32363         * sysdeps/nptl/fork.c (__libc_fork): Use them.
32364         * nptl/pthread_once.c (__pthread_once): Likewise.
32365         Update comments.
32367 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
32369         [BZ #14138]
32370         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
32371         name.
32372         (writev): Use __libc_writev as strong name.
32373         * sysdeps/unix/sysv/linux/readv.c: Remove file.
32374         * sysdeps/unix/sysv/linux/writev.c: Likewise.
32376 2014-10-17  Roland McGrath  <roland@hack.frob.com>
32378         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
32380         * sysdeps/i386/nptl/tls.h
32381         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
32382         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
32383         New macros.
32384         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
32385         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
32386         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
32387         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
32388         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
32389         Call CHECK_THREAD_SYSINFO instead of doing an assert.
32391         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
32392         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
32393         on [__NR_futex].
32394         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
32395         broken out of ...
32396         (__pthread_mutex_init): ... here.  Call it.
32397         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
32398         Conditionalize PI cases on [__NR_futex].
32399         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
32400         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
32401         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
32403         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
32404         conditional on [SIGSETXID].
32405         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
32406         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
32407         is defined.  Likewise for SIGSETXID.
32408         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
32409         Conditionalize definitions on [SIGSETXID].
32410         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
32411         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
32412         unblocking on [SIGCANCEL].
32414         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
32415         [__NR_set_robust_list].
32417 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
32419         * string/strcoll_l.c (get_next_seq): Fix up formatting.
32420         (do_compare): Likewise.
32422 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
32424         [BZ #15884]
32425         * string/strcoll_l.c: Don't include stdio.h.
32426         (coll_seq): Remove members idxarr and rulearr.
32427         (get_next_seq_cached): Remove function.
32428         (get_next_seq): Likewise.
32429         (get_next_seq_nocache): Rename to get_next_seq.
32430         (do_compare): Remove function.
32431         (do_compare_nocache): Rename to do_compare.
32432         (STRCOLL): Remove weight and rules cache.
32434 2014-10-16  Roland McGrath  <roland@hack.frob.com>
32436         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
32437         * sysdeps/arm/sfp-machine.h: ... to here.
32438         * sysdeps/arm/Implies: Remove arm/soft-fp.
32440 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
32442         * conform/data/sys/utsname.h-data (*_t): Allow.
32443         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
32444         [POSIX] (WEXITED): Do not expect constant.
32445         [POSIX] (WSTOPPED): Likewise.
32446         [POSIX] (WNOHANG): Likewise.
32447         [POSIX] (WNOWAIT): Likewise.
32448         [POSIX] (siginfo_t): Do not expect type or elements.
32449         [POSIX] (pid_t): Do not expect type.
32450         [POSIX] (signal.h): Do not allow header.
32451         [POSIX] (sys/resource.h): Likewise.
32452         [POSIX] (si_*): Do not allow pattern.
32453         [POSIX] (W*): Likewise.
32454         [POSIX] (P_*): Likewise.
32455         [POSIX] (BUS_*): Likewise.
32456         [POSIX] (CLD_*): Likewise.
32457         [POSIX] (FPE_*): Likewise.
32458         [POSIX] (ILL_*): Likewise.
32459         [POSIX] (POLL_*): Likewise.
32460         [POSIX] (SEGV_*): Likewise.
32461         [POSIX] (SI_*): Likewise.
32462         [POSIX] (TRAP_*): Likewise.
32463         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
32464         variable.
32466 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
32468         [BZ #12926]
32469         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
32470         infinite loop when __recvmsg returns 0.
32472 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
32474         * CANCEL-FCT-WAIVE: Remove file.
32475         * CANCEL-FILE-WAIVE: Likewise.
32477         [BZ #14132]
32478         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
32479         instead of INTVARDEF.
32480         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
32481         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
32482         rtld_hidden_data_def instead of INTVARDEF.
32483         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
32484         * elf/dl-deps.c (expand_dst): Likewise.
32485         * elf/dl-load.c (_dl_dst_count): Likewise.
32486         (_dl_dst_substitute): Likewise.
32487         (decompose_rpath): Likewise.
32488         (_dl_init_paths): Likewise.
32489         (open_path): Likewise.
32490         (_dl_map_object): Likewise.
32491         * elf/rtld.c (dl_main): Likewise.
32492         (process_dl_audit): Likewise.
32493         (process_envvars): Likewise.
32494         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
32495         Remove declaration.
32496         (__libc_enable_secure): Use rtld_hidden_proto.
32498 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32500         * elf/dl-load.c
32501         (add_path): New function broken out of _dl_rtld_di_serinfo.
32502         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
32504 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
32506         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
32507         parentheses around macro arguments.
32508         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
32509         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
32510         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
32511         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
32512         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
32513         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
32514         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
32515         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
32516         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
32517         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
32518         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
32519         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
32520         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
32521         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
32522         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
32523         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
32524         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
32525         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
32526         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
32527         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
32528         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
32529         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
32530         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
32531         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
32532         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
32533         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
32534         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
32535         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
32536         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
32537         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
32538         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
32539         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
32540         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
32541         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
32542         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
32543         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
32544         Likewise.
32545         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
32546         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
32547         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
32548         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
32549         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
32550         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
32551         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
32552         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
32553         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
32554         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
32555         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
32556         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
32557         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
32558         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
32559         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
32560         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
32561         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
32562         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
32563         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
32564         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
32565         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
32566         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
32567         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
32568         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
32569         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
32570         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
32571         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
32572         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
32573         (_FP_FRAC_SRS_1): Likewise.
32574         (_FP_FRAC_CLZ_1): Likewise.
32575         (_FP_MUL_MEAT_1_imm): Likewise.
32576         (_FP_MUL_MEAT_1_wide): Likewise.
32577         (_FP_MUL_MEAT_1_hard): Likewise.
32578         (_FP_SQRT_MEAT_1): Likewise.
32579         (_FP_FRAC_ASSEMBLE_1): Likewise.
32580         (_FP_FRAC_DISASSEMBLE_1): Likewise.
32581         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
32582         (__FP_CLZ_2): Likewise.
32583         (_FP_MUL_MEAT_2_wide): Likewise.
32584         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
32585         (_FP_MUL_MEAT_2_gmp): Likewise.
32586         (_FP_MUL_MEAT_2_120_240_double): Likewise.
32587         (_FP_SQRT_MEAT_2): Likewise.
32588         (_FP_FRAC_ASSEMBLE_2): Likewise.
32589         (_FP_FRAC_DISASSEMBLE_2): Likewise.
32590         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
32591         (_FP_FRAC_CLZ_4): Likewise.
32592         (_FP_MUL_MEAT_4_wide): Likewise.
32593         (_FP_MUL_MEAT_4_gmp): Likewise.
32594         (_FP_SQRT_MEAT_4): Likewise.
32595         (_FP_FRAC_ASSEMBLE_4): Likewise.
32596         (_FP_FRAC_DISASSEMBLE_4): Likewise.
32597         * soft-fp/op-common.h (_FP_CMP): Likewise.
32598         (_FP_CMP_EQ): Likewise.
32599         (_FP_CMP_UNORD): Likewise.
32600         (_FP_TO_INT): Likewise.
32601         (_FP_FROM_INT): Likewise.
32602         [!__FP_CLZ] (__FP_CLZ): Likewise.
32603         (_FP_DIV_HELP_imm): Likewise.
32604         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
32605         Likewise.
32606         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
32607         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
32608         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
32609         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
32610         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
32611         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
32612         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
32613         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
32614         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
32615         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
32616         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
32617         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
32618         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
32619         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
32620         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
32621         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
32622         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
32623         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
32624         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
32625         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
32626         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
32627         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
32628         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
32629         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
32630         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
32631         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
32632         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
32633         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
32634         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
32635         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
32636         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
32637         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
32638         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
32639         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
32640         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
32641         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
32642         (FP_UNPACK_RAW_SP): Likewise.
32643         (FP_PACK_RAW_S): Likewise.
32644         (FP_PACK_RAW_SP): Likewise.
32645         (FP_UNPACK_S): Likewise.
32646         (FP_UNPACK_SP): Likewise.
32647         (FP_UNPACK_SEMIRAW_S): Likewise.
32648         (FP_UNPACK_SEMIRAW_SP): Likewise.
32649         (FP_PACK_S): Likewise.
32650         (FP_PACK_SP): Likewise.
32651         (FP_PACK_SEMIRAW_S): Likewise.
32652         (FP_PACK_SEMIRAW_SP): Likewise.
32653         (_FP_SQRT_MEAT_S): Likewise.
32654         (FP_CMP_S): Likewise.
32655         (FP_CMP_EQ_S): Likewise.
32656         (FP_CMP_UNORD_S): Likewise.
32657         (FP_TO_INT_S): Likewise.
32658         (FP_FROM_INT_S): Likewise.
32660         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
32662         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
32663         (FP_EX_INVALID_IMZ): Likewise.
32664         (FP_EX_INVALID_IMZ_FMA): Likewise.
32665         (FP_EX_INVALID_ISI): Likewise.
32666         (FP_EX_INVALID_ZDZ): Likewise.
32667         (FP_EX_INVALID_IDI): Likewise.
32668         (FP_EX_INVALID_SQRT): Likewise.
32669         (FP_EX_INVALID_CVI): Likewise.
32670         (FP_EX_INVALID_VC): Likewise.
32671         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
32672         "invalid" exceptions.
32673         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
32674         (_FP_ADD_INTERNAL): Likewise.
32675         (_FP_MUL): Likewise.
32676         (_FP_FMA): Likewise.
32677         (_FP_DIV): Likewise.
32678         (_FP_CMP_CHECK_NAN): Likewise.
32679         (_FP_SQRT): Likewise.
32680         (_FP_TO_INT): Likewise.
32681         (FP_EXTEND): Likewise.
32683 2014-10-09  Allan McRae  <allan@archlinux.org>
32685         * po/fr.po: Update French translation from translation project.
32687 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
32689         [BZ #14132]
32690         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
32691         of INTDEF.
32692         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
32693         (__cxa_atexit): Use libc_hidden_proto.
32694         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
32696         [BZ #14132]
32697         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
32698         declaration.
32699         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
32700         [!_ISOMAC] (__iswspace_l_internal): Likewise.
32701         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
32702         [!_ISOMAC] (__iswctype_internal): Likewise.
32703         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
32704         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
32705         alias.
32706         (fcntl): Remove __fcntl_internal alias.
32707         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
32708         __connect_internal alias.
32709         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
32710         Likewise.
32712         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
32713         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
32714         FP_DENORM_ZERO.
32715         (_FP_CHECK_FLUSH_ZERO): New macro.
32716         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
32717         (_FP_CMP): Likewise.
32718         (_FP_CMP_EQ): Likewise.
32719         (_FP_TO_INT): Do not set inexact for subnormal arguments if
32720         FP_DENORM_ZERO.
32721         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
32722         (FP_TRUNC): Likewise.
32724         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
32725         treated as invalid conversion, not as normal exponent.
32727         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
32728         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
32729         (_FP_CMP_EQ): Likewise.
32730         (_FP_CMP_UNORD): Likewise.
32731         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
32732         (FP_CMP_EQ_D): Likewise.
32733         (FP_CMP_UNORD_D): Likewise.
32734         * soft-fp/extended.h (FP_CMP_E): Likewise.
32735         (FP_CMP_EQ_E): Likewise.
32736         (FP_CMP_UNORD_E): Likewise.
32737         * soft-fp/quad.h (FP_CMP_Q): Likewise.
32738         (FP_CMP_EQ_Q): Likewise.
32739         (FP_CMP_UNORD_Q): Likewise.
32740         * soft-fp/single.h (FP_CMP_S): Likewise.
32741         (FP_CMP_EQ_S): Likewise.
32742         (FP_CMP_UNORD_S): Likewise.
32743         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
32744         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
32745         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
32746         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
32747         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
32748         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
32749         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
32750         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
32751         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
32752         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
32753         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
32754         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
32755         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
32756         to FP_CMP_Q.
32757         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
32758         FP_CMP_Q.
32759         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
32760         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
32761         FP_CMP_EQ_Q.
32762         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
32763         FP_CMP_Q.
32764         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
32765         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
32766         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
32767         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
32768         FP_CMP_EQ_Q.
32769         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
32770         FP_CMP_Q.
32771         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
32772         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
32773         FP_CMP_EQ_Q.
32774         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
32775         FP_CMP_Q.
32776         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
32777         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
32778         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
32779         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
32780         FP_CMP_EQ_Q.
32782         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
32783         a subnormal result, set the underflow exception if trapping on
32784         underflow is enabled.
32785         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
32786         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
32787         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
32788         redefine to 0.
32789         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
32790         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
32791         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
32792         * soft-fp/extendxftf2.c (__extendxftf2): Use
32793         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
32795         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
32796         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
32797         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
32798         FP_HANDLE_EXCEPTIONS.
32799         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
32800         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
32801         FP_HANDLE_EXCEPTIONS.
32802         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
32803         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
32804         FP_HANDLE_EXCEPTIONS.
32805         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
32806         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
32807         FP_HANDLE_EXCEPTIONS.
32809 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
32811         [BZ #14132]
32812         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
32813         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
32814         use INTUSE.
32815         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
32816         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
32817         Remove alias.
32818         (__adjtimex): Define using libc_hidden_ver.
32819         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
32820         Remove declaration.
32821         (ntp_gettime): Call __adjtimex directly.
32822         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
32823         Remove declaration.
32824         (ntp_gettimex): Call __adjtimex directly.
32825         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
32826         __adjtimex_internal alias.
32828 2014-10-08  Roland McGrath  <roland@hack.frob.com>
32830         [BZ #17460]
32831         * nscd/nscd.c (more_help): Rewrite list of tables collection
32832         using xstrdup and asprintf.
32834         * nscd/nscd_conf.c: Remove local xstrdup declaration.
32836 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32837             Roland McGrath  <roland@hack.frob.com>
32839         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
32840         (do_lookup_unique): ... local function 'enter' here; update callers.
32842 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
32844         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
32845         compat_symbol calls on [SHARED].
32846         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
32847         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
32848         Remove.
32849         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
32850         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
32851         (oldsetrlimit): Remove.
32852         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
32853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
32854         (lchown): New syscall entry.
32855         (oldsetrlimit): Remove.
32856         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
32857         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
32858         (oldsetrlimit): Remove.
32859         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
32861         [BZ #14138]
32862         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
32863         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
32864         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
32865         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
32866         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
32867         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
32868         (fchown): Likewise.
32869         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
32870         (fchown): Likewise.
32871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
32872         Likewise.
32874 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32876         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
32877         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
32878         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
32879         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
32880         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
32881         Likewise.
32882         (__old_sem_post): Likewise.
32884 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
32886         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
32887         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
32888         HAVE_CLOCK_GETTIME_VSYSCALL macros.
32889         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
32890         Use INLINE_VSYSCALL macro.
32891         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
32892         __vdso_clock_gettime.
32893         * sysdeps/unix/sysv/linux/tile/init-first.c
32894         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
32895         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
32896         __vdso_clock_gettime.
32898         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
32899         to set up frame more cleanly.
32901         * sysdeps/tile/memcmp.c: New file.
32903         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
32905         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
32906         * sysdeps/tile/tilegx/strcasestr.c: New file.
32907         * sysdeps/tile/tilegx/strnlen.c: New file.
32908         * sysdeps/tile/tilegx/strstr.c: New file.
32910         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
32912 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
32914         * nptl/tst-setuid3.c: Write errors to stdout.
32916 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32918         * elf/dl-deps.c
32919         (preload): New functions broken out of _dl_map_object_deps.
32920         (_dl_map_object_deps):  Remove a nested function. Update call sites.
32922 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
32924         [BZ #14138]
32925         * sysdeps/unix/sysv/linux/execve.c: Remove file.
32926         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
32928 2014-10-01  Steve Ellcey  <sellcey@mips.com>
32930         * sysdeps/mips/strcmp.S: New.
32932 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
32934         [BZ #14138]
32935         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
32936         (linkat): Likewise.
32937         (mkdirat): Likewise.
32938         (readlinkat): Likewise.
32939         (renameat): Likewise.
32940         (symlinkat): Likewise.
32941         (unlinkat): Likewise.
32942         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
32943         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
32944         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
32945         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
32946         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
32947         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
32948         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
32950 2014-09-30  Will Newton  <will.newton@linaro.org>
32952         * math/math.h: Define long double math functions if
32953         _LIBC_TEST is defined.
32954         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
32956         * localedata/Makefile: Move assignment to tests-special
32957         into an ifdef testing run-built-tests.
32958         * timezone/Makefile: Likewise.
32960 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
32962         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
32963         with $(BASH) not $(SHELL).
32965 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
32966             Matthew LeGendre  <legendre1@llnl.gov>
32968         [BZ #17411]
32969         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
32970         l_reloc_result.
32972 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32974         * stdio-common/printf_fp.c
32975         (hack_digit): New function, broken out of ...
32976         (__printf_fp): ... local function here.  Update call sites.
32977         hack_digit now takes an additional parameter that is a pointer
32978         to a struct of the referenced locals.  Those locals moved inside
32979         the struct and references updated.
32981 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
32983         * aclocal.m4: Require autoconf 2.69.
32984         * configure: Regenerated.
32985         * sysdeps/aarch64/configure: Likewise.
32986         * sysdeps/alpha/configure: Likewise.
32987         * sysdeps/arm/armv7/configure: Likewise.
32988         * sysdeps/arm/configure: Likewise.
32989         * sysdeps/ia64/configure: Likewise.
32990         * sysdeps/mach/configure: Likewise.
32991         * sysdeps/mips/configure: Likewise.
32992         * sysdeps/s390/configure: Likewise.
32993         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
32994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
32996         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
32997         file.
32998         * sysdeps/ia64/configure.ac: Likewise.
33000 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
33002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
33003         specify symbol version for ld.so.  Do not include entry for
33004         libpthread.
33005         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
33006         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
33007         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
33009         [BZ #14171]
33010         * Makeconfig [$(build-shared) = yes]
33011         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
33012         makefiles.
33013         [$(build-shared) = yes && $(soversions.mk-done) = t]
33014         ($(common-objpfx)gnu/lib-names.h): Remove rule.
33015         [$(build-shared) = yes && $(soversions.mk-done) = t]
33016         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
33017         to Makerules.
33018         [$(build-shared) = yes && $(soversions.mk-done) = t]
33019         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
33020         here.
33021         [$(build-shared) = yes && $(soversions.mk-done) = t]
33022         (common-generated): Don't append gnu/lib-names.h and
33023         gnu/lib-names.stmp here.
33024         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
33025         (lib-names-h-abi): New variable.
33026         [$(build-shared) = yes && $(soversions.mk-done) = t]
33027         (lib-names-stmp-abi): Likewise.
33028         [$(build-shared) = yes && $(soversions.mk-done) = t &&
33029         abi-variants] (before-compile): Append
33030         $(common-objpfx)$(lib-names-h-abi).
33031         [$(build-shared) = yes && $(soversions.mk-done) = t &&
33032         abi-variants] (common-generated): Append gnu/lib-names.h.
33033         [$(build-shared) = yes && $(soversions.mk-done) = t &&
33034         abi-variants] (install-others-nosubdir): Depend on
33035         $(inst_includedir)/$(lib-names-h-abi).
33036         [$(build-shared) = yes && $(soversions.mk-done) = t &&
33037         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
33038         [$(build-shared) = yes && $(soversions.mk-done) = t]
33039         ($(common-objpfx)$(lib-names-h-abi)): New rule.
33040         [$(build-shared) = yes && $(soversions.mk-done) = t]
33041         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
33042         [$(build-shared) = yes && $(soversions.mk-done) = t]
33043         (common-generated): Append $(lib-names-h-abi) and
33044         $(lib-names-stmp-abi).
33045         * scripts/lib-names.awk: Do not handle multi being set.
33046         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
33047         Remove variable.
33048         (abi-lp64_be-ld-soname): Likewise.
33049         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
33050         Likewise.
33051         (abi-hard-ld-soname): Likewise.
33052         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
33053         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
33054         Remove variable.
33055         (abi-o32_hard-ld-soname): Likewise.
33056         (abi-o32_soft_2008-ld-soname): Likewise.
33057         (abi-o32_hard_2008-ld-soname): Likewise.
33058         (abi-n32_soft-ld-soname): Likewise.
33059         (abi-n32_hard-ld-soname): Likewise.
33060         (abi-n32_soft_2008-ld-soname): Likewise.
33061         (abi-n32_hard_2008-ld-soname): Likewise.
33062         (abi-n64_soft-ld-soname): Likewise.
33063         (abi-n64_hard-ld-soname): Likewise.
33064         (abi-n64_soft_2008-ld-soname): Likewise.
33065         (abi-n64_hard_2008-ld-soname): Likewise.
33066         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
33067         Likewise.
33068         (abi-64-v2-ld-soname): Likewise.
33069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
33070         ld.so entries.
33071         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
33072         variable.
33073         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
33074         entry.
33075         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
33076         variable.
33077         (abi-64-ld-soname): Likewise.
33078         (abi-x32-ld-soname): Likewise.
33079         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
33080         entry.
33081         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
33083 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
33085         [BZ #14138]
33086         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
33087         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
33088         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
33089         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
33090         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
33091         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
33092         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
33093         syscall entry for GLIBC_2.2 symbol version.
33094         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
33095         Likewise.
33096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
33097         (setrlimit): Likewise.
33098         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
33099         Likewise.
33101 2014-09-23  Will Newton  <will.newton@linaro.org>
33103         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
33104         _LINUX_ARM_SYSDEP_H include guard too.
33105         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
33106         define.
33108 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
33110         * sysdeps/unix/sysv/linux/eventfd.c:
33111         Make first argument unsigned.
33112         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
33113         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
33115 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
33117         [BZ #16852]
33118         * socket/recvmmsg.c (recvmmsg): Drop const argument.
33119         * socket/sys/socket.h: Likewise.
33120         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
33122 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33124         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
33126 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
33128         * time/tst-ftime.c: New test.
33129         * time/Makefile (tests): Add tst-ftime.
33131 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
33133         * soft-fp/extended.h: Fix comment formatting.
33134         * soft-fp/op-1.h: Likewise.
33135         * soft-fp/op-2.h: Likewise.
33136         * soft-fp/op-4.h: Likewise.
33137         * soft-fp/op-8.h: Likewise.
33138         * soft-fp/op-common.h: Likewise.
33139         * soft-fp/soft-fp.h: Likewise.
33141         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
33143 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
33145         [BZ #6652]
33146         * Makeconfig (soversions-default-setname): Remove variable.
33147         ($(common-objpfx)soversions.i): Don't pass default_setname to
33148         soversions.awk.
33149         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
33150         oldest_abi to abi-versions.awk.
33151         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
33152         * config.make.in (oldest-abi): Remove variable.
33153         * configure.ac (--enable-oldest-abi): Remove configure option.
33154         * configure: Regenerated.
33155         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
33156         text.
33157         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
33158         * scripts/soversions.awk: Do not handle default_setname variable.
33159         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
33160         variable.
33161         * sysdeps/mach/hurd/configure: Regenerated.
33162         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
33163         variable.
33164         * sysdeps/unix/sysv/linux/configure: Regenerated.
33166 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33168         * elf/Makefile (CFLAGS-interp.c): Remove.
33169         ($(elf-objpfx)runtime-linker.h): Generate header with linker
33170         path string.
33171         * elf/interp.c: Include generated runtime-linker.h
33173         * Makerules (lib%.so): Don't include $(+interp) in
33174         prerequisites.
33175         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
33176         * dlfcn/eval.c: Remove file.
33178         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
33179         macros.
33181         [BZ #17266]
33182         * misc/sys/cdefs.h: Define __extern_always_inline for clang
33183         4.2 and newer.
33185         [BZ #17370]
33186         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
33188 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33189             Jakub Jelinek  <jakub@redhat.com>
33191         [BZ #17266]
33192         * libio/stdio.h: Check definition of __fortify_function
33193         instead of __extern_always_inline to include bits/stdio2.h.
33194         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
33195         check if __extern_always_inline is defined.
33196         [__USE_MISC || __USE_XOPEN]: Likewise.
33197         [__USE_ISOC99] Likewise.
33198         * misc/sys/cdefs.h (__fortify_function): Define only if
33199         __extern_always_inline is defined.
33200         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
33201         __extern_always_inline and __extern_inline only for g++-4.3
33202         and newer or a compatible gcc.
33204 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
33206         [BZ #17371]
33207         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
33208         last change to handle zero prefix length.
33210 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33212         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
33213         _SC_REGEX_VERSION.
33215         * posix/getconf.c (vars): Add _POSIX_IPV6 and
33216         _POSIX_RAW_SOCKETS.
33218 2014-09-13  Allan McRae  <allan@archlinux.org>
33220         * po/ru.po: Update Russian translation from translation project.
33222 2014-09-12  Roland McGrath  <roland@hack.frob.com>
33224         * locale/programs/locale.c (show_locale_vars): Inline local function
33225         into its sole call site.  Clean up some style nits.
33226         (print_item): New function, broken out of ...
33227         (show_info): ... local function here.  Clean up style nits.
33229         * locale/programs/ld-ctype.c (set_one_default): New function, broken
33230         out of ...
33231         (set_class_defaults): ... local function set_default here.
33232         Define set_default as a macro locally to pass constant parameters.
33233         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
33234         rather than a shared local.
33236         * stdlib/rpmatch.c (try): New function, broken out of ...
33237         (rpmatch): ... local function here.  Also, prototypify definition.
33239 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
33241         * scripts/soversions.awk: Do not handle configuration names.
33242         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
33243         vendor and os variables to soversions.awk.
33244         * configure.ac: Do not modify gnu-* host_os.
33245         * configure: Regenerated
33246         * shlib-versions: Remove first column with configuration names.
33247         * nptl/shlib-versions: Likewise.
33248         * nptl_db/shlib-versions: Likewise.
33249         * sysdeps/hppa/shlib-versions: Likewise.
33250         * sysdeps/m68k/shlib-versions: Likewise.
33251         * sysdeps/mach/hurd/shlib-versions: Likewise.
33252         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
33253         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
33254         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
33255         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
33256         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
33257         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
33258         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
33259         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
33260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
33261         Likewise.
33262         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
33263         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
33264         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
33265         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
33266         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
33267         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
33268         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
33269         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
33271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
33272         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
33273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
33274         Regenerated.
33275         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
33276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
33277         Condition symbol version definitions on [HAVE_ELFV2_ABI].
33279         * shlib-versions: Remove OS-specific entries.  Moved to files in
33280         sysdeps.
33281         * sysdeps/mach/hurd/shlib-versions: New file.
33282         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
33284         * nptl/shlib-versions: Remove architecture-specific entries.
33285         Moved to files in sysdeps.
33286         * shlib-versions: Likewise.
33287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
33288         file.
33289         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
33290         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
33291         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
33292         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
33294         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
33295         (UDP_NO_CHECK6_RX): Likewise.
33297 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33299         * sysdeps/posix/sysconf.c (__sysconf): Spell
33300         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
33302 2014-08-12  Florian Weimer  <fweimer@redhat.com>
33304         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
33305         loading.
33306         * iconv/Versions (__gconv_transliterate): Export for use from
33307         gconv modules.
33308         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
33309         (struct __gconv_trans_data, __gconv_trans_fct,
33310         __gconv_trans_context_fct, __gconv_trans_query_fct,
33311         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
33312         definitions.
33313         (struct __gconv_step_data): Remove __trans member.
33314         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
33315         longer hidden.  Remove unused trans_data argument.
33316         * iconv/gconv_int.h (struct trans_struct): Remove definition.
33317         (__gconv_translit_find): Remove declaration.
33318         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
33319         prototype.
33320         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
33321         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
33322         trans_data argument.  Add hidden definition.
33323         (__gconv_translit_find): Remove.
33324         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
33325         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
33326         * iconv/skeleton.c: Remove transliteration initialization.
33327         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
33328         __gconv_step_data initialization.
33329         * libio/iofwide.c (__libio_translit_): Remove.
33330         (_IO_fwide): Adjust struct __gconv_step_data initialization.
33331         * wcsmbs/btowc.c (__btowc): Likewise.
33332         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
33333         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
33334         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
33335         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
33336         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
33337         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
33338         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
33339         * wcsmbs/wctob.c (wctob): Likewise.
33341 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33343         [BZ #16194]
33344         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
33345         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
33346         register usage.
33347         * sysdeps/x86/Makefile: Adjust.
33349 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
33350             Roland McGrath  <roland@hack.frob.com>
33352         * locale/weight.h: Add include guard.
33353         (findidx): Make static rather than auto; take new parameters
33354         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
33355         * locale/weightwc.h: Likewise.
33356         * posix/fnmatch_loop.c
33357         (FCT): Change type of EXTRA from int32_t to wint_t.
33358         Don't include either header inside the function.
33359         Call FINDIDX rather than findidx, and pass new arguments.
33360         #undef FINDIDX at the end of the file.
33361         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
33362         FINDIDX before including fnmatch_loop.c for the non-wide version.
33363         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
33364         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
33365         for the wide version.
33366         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
33367         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
33368         Pass new arguments to findidx.
33369         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
33370         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
33371         Don't #include it inside the function.  Pass new arguments to findidx.
33372         * posix/regex_internal.h
33373         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
33374         (re_string_elem_size_at): Don't #include it inside the function.
33375         Pass new arguments to findidx.
33376         * string/strcoll_l.c: #include WEIGHT_H at top level.
33377         (get_next_seq): Don't #include it inside the function.
33378         Pass new arguments to findidx.
33379         (get_next_seq_nocache): Likewise.
33380         * string/strxfrm_l.c: #include WEIGHT_H at top level.
33381         (STRXFRM): Don't #include it inside the function.
33382         Pass new arguments to findidx.
33384 2014-09-11  Florian Weimer  <fweimer@redhat.com>
33386         [BZ #17344]
33387         * malloc/malloc.c (unlink): Turn asserts into a call to
33388         malloc_printerr.
33390 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
33392         [BZ #17370]
33393         * libio/wfileops (do_ftell_wide): Free OUT.
33395 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
33397         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
33399 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33401         [BZ #17363]
33402         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
33403         group if the current group is empty.
33405 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33407         * benchtests/bench-memset.c (test_main): Add more test from size
33408         from 32 to 512 bytes.
33409         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33410         Add POWER8 memset object.
33411         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33412         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
33413         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
33414         implementation.
33415         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
33416         Likewise.
33417         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
33418         multiarch POWER8 memset optimization.
33419         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
33420         POWER8 memset optimization.
33422         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33423         Remove bzero multiarch objects.
33424         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
33425         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
33426         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
33427         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
33428         Remove define.
33429         [__bzero]: Redefine to specific name.
33430         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
33431         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
33432         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
33433         define.
33434         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
33435         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
33437 2014-09-10  Florian Weimer  <fweimer@redhat.com>
33439         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
33440         warnings into errors.
33442         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
33443         __cxa_thread_atexit_impl prototype.
33445 2014-09-09  Steve Ellcey  <sellcey@mips.com>
33447         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
33448         Fix capitalization of error message.
33450 2014-09-09  Steve Ellcey  <sellcey@mips.com>
33452         * sysdeps/mips/preconfigure: Modify ABI tests.
33454 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
33456         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
33458 2014-09-07  Roland McGrath  <roland@hack.frob.com>
33459             Carlos O'Donell  <carlos@systemhalted.org>
33461         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
33462         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
33463         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
33464         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
33465         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
33466         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
33467         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
33468         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
33469         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
33470         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
33471         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
33472         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
33473         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
33474         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
33475         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
33476         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
33477         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
33478         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
33479         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
33480         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
33481         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
33482         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
33483         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
33484         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
33485         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
33486         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
33487         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
33488         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
33489         Deconditionalize the code that was previously under [RESET_PID].
33490         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
33491         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
33492         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
33493         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
33494         include sysdep.h.
33496 2014-09-08  Allan McRae  <allan@archlinux.org>
33498         * version.h (RELEASE): Set to "development".
33499         (VERSION): Set to "2.20.90"
33501 2014-09-07  Allan McRae  <allan@archlinux.org
33503         * version.h (RELEASE): Set to "stable".
33504         (VERSION): Set to "2.20"
33505         * include/features.h (__GLIBC_MINOR__): Set to 20.
33507         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
33508         Liebler.
33510         * po/ko.po: Update Korean translation from translation project.
33512 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
33514         [BZ #17354]
33515         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
33516         macro for handling signed relocations.
33518 2014-09-03  Florian Weimer  <fweimer@redhat.com>
33520         [BZ #17325]
33521         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
33522         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
33523         assert.
33524         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
33525         * iconvdata/ibm935.c (BODY): Likewise.
33526         * iconvdata/ibm937.c (BODY): Likewise.
33527         * iconvdata/ibm939.c (BODY): Likewise.
33528         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
33529         assert.
33530         * iconvdata/Makefile (iconv-test.out): Pass module list to test
33531         script.
33532         * iconvdata/run-iconv-test.sh: New test loop for checking for
33533         decoder crashers.
33535 2014-09-02  Khem Raj  <raj.khem@gmail.com>
33537         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
33538         libm_hidden_ver.
33540 2014-09-01  Allan McRae  <allan@archlinux.org>
33542         * po/eo.po: Update Esperanto translation from translation project.
33544         * po/ca.po: Update Catalan translation from translation project.
33546 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33548         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
33549         __proc_dostop call.
33551 2014-08-27  Mark Wielaard  <mjw@redhat.com>
33553         [BZ #17319]
33554         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
33555         to call set_thread_area instead of hand written asm.
33556         (__NR_set_thread_area): Removed define.
33557         (TLS_FLAG_WRITABLE): Likewise.
33558         (__ASSUME_SET_THREAD_AREA): Remove check.
33559         (TLS_EBX_ARG): Remove define.
33560         (TLS_LOAD_EBX): Likewise.
33562 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33564         Simplify atomicity of socket creation in bind.
33566         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
33567         looking up the name after linking the file.
33569 2014-08-27  Allan McRae  <allan@archlinux.org>
33571         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33573 2014-08-26  Florian Weimer  <fweimer@redhat.com>
33575         [BZ #17187]
33576         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
33577         trans_compare, open_translit, __gconv_translit_find):
33578         Remove module loading code.
33580 2014-08-26  Allan McRae  <allan@archlinux.org>
33582         * po/vi.po: Update Vietnamese translation from translation project.
33584         * po/uk.po: Update Ukrainian translation from translation project.
33586         * po/fr.po: Update French translation from translation project.
33588         * po/ru.po: Update Russian translation from translation project.
33590         * po/pl.po: Update Polish translation from translation project.
33592         * po/cs.po: Update Czech translation from translation project.
33594         * po/de.po: Update German translation from translation project.
33596         * po/bg.po: Update Bulgarian translation from translation project.
33598         * po/sv.po: Update Sweedish translation from translation project.
33600         * po/nl.po: Update Dutch translation from translation project.
33602         * po/es.po: Update Spanish translation from translation project.
33604 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33606         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
33608         * catgets/Makefile (CPPFLAGS-gencat): Remove.
33609         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
33610         (CPPFLAGS-iconvconfig): Likewise.
33611         * timezone/Makefile (CPPFLAGS-zic): Likewise.
33613         * include/libc-symbols.h: Remove unnecessary check for
33614         NOT_IN_libc.
33615         * nptl/pthreadP.h: Likewise.
33616         * sysdeps/aarch64/setjmp.S: Likewise.
33617         * sysdeps/alpha/setjmp.S: Likewise.
33618         * sysdeps/arm/sysdep.h: Likewise.
33619         * sysdeps/i386/setjmp.S: Likewise.
33620         * sysdeps/m68k/setjmp.c: Likewise.
33621         * sysdeps/posix/getcwd.c: Likewise.
33622         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
33623         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
33624         * sysdeps/s390/s390-32/setjmp.S: Likewise.
33625         * sysdeps/s390/s390-64/setjmp.S: Likewise.
33626         * sysdeps/sh/sh3/setjmp.S: Likewise.
33627         * sysdeps/sh/sh4/setjmp.S: Likewise.
33628         * sysdeps/unix/alpha/sysdep.h: Likewise.
33629         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
33630         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33631         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
33632         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
33633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
33634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33635         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33636         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33637         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33638         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33639         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33640         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
33641         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33642         * sysdeps/x86_64/setjmp.S: Likewise.
33644 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
33646         [BZ #17263]
33647         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
33648         <stdint.h>.
33649         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
33650         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
33652 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
33654         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
33656         [BZ #17262]
33657         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
33658         and __x86_64__ when disabling x87 inline functions.
33660 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
33662         [BZ #17259]
33663         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
33664         asm statement with __cpuid_count.
33666 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
33668         * configure.ac: Change __ehdr_start code to dereference the struct.
33669         Run readelf on the output to look for relocations.
33670         * configure: Regenerated.
33672 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
33674         [BZ #17261]
33675         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
33676         value to 0.
33677         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
33679 2014-08-12  Roland McGrath  <roland@hack.frob.com>
33681         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
33683 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
33685         [BZ #16892]
33686         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
33687         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
33689 2014-08-12  Sean Anderson  <seanga2@gmail.com>
33691         * malloc/malloc.c: Fix typo in comment.
33693 2014-08-09  Allan McRae  <allan@archlinux.org>
33695         * Regenerate libc.po.
33697 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
33699         * intl/tst-gettext2.sh: Check every lang file for creation.
33701 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
33703         * sysdeps/aarch64/fpu/math_private.h
33704         (libc_feholdsetround_noex_aarch64_ctx): New function.
33706 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
33708         * sysdeps/arm/armv6/strcpy.S (strcpy):
33709         Fix performance issue in misaligned cases.
33711 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33713         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
33714         Move definition from termios.h.
33715         (struct termio): Likewise.
33716         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
33717         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
33718         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
33719         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
33720         Likewise.
33721         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
33722         Move definition to ioctl-types.h
33723         (struct termio): Likewise.
33724         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
33725         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
33726         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
33727         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
33728         Likewise.
33730 2014-08-05  Richard Henderson  <rth@redhat.com>
33732         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
33733         exceptions.
33734         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
33735         Add fraiseexcpt.
33736         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
33737         Use __feraiseexcept.
33738         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
33739         Protect libm symbols with IS_IN_libm.
33741         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
33743 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
33745         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
33747 2014-08-04  Will Newton  <will.newton@linaro.org>
33749         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
33750         file.
33752 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
33754         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
33755         variants for each function.
33757 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33759         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
33760         appended ...
33761         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
33762         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
33763         appended ...
33764         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
33765         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
33766         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
33767         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
33768         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
33769         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
33770         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
33771         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
33772         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
33773         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
33774         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
33775         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
33776         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
33777         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
33778         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
33779         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
33780         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
33781         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
33782         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
33783         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
33784         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
33785         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
33786         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
33787         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
33788         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
33789         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
33790         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
33791         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
33792         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
33793         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
33794         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
33795         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
33796         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
33797         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
33798         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
33799         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
33800         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
33801         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
33802         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
33803         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
33804         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
33805         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
33806         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
33807         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
33808         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
33809         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
33810         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
33811         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
33812         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
33813         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
33814         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
33815         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
33816         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
33817         Update #include.
33818         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
33819         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
33821 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33823         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
33824         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
33825         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
33826         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
33827         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
33828         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
33830 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33832         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
33833         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
33834         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33835         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
33837 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33839         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
33840         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
33841         (__libc_vfork): Define function under this name.
33842         (__vfork): Define as an alias.
33843         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
33844         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
33846 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33848         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
33849         that was previously under [RESET_PID].
33850         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
33852 2014-08-04  Andreas Schwab  <schwab@suse.de>
33854         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
33856 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
33858         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
33859         (main): Likewise.
33861 2014-08-01  Roland McGrath  <roland@hack.frob.com>
33863         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
33865 2014-08-01  Richard Henderon  <rth@redhat.com>
33867         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
33868         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
33869         typo in exact zero test.
33870         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33871         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33872         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33874 2014-08-01  Roland McGrath  <roland@hack.frob.com>
33876         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
33877         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
33878         * sysdeps/arm/sysdep.h: ... here.
33879         [!__ASSEMBLER__]: Include <stdint.h>.
33881 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
33883         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
33884         (HAVE_WCTYPE_H): Likewise.
33885         (HAVE_ISWCTYPE): Likewise.
33886         (ENABLE_NLS): Likewise.
33887         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
33888         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
33890         * posix/regex_internal.c: Check if DEBUG is defined and is
33891         set.
33893         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
33894         (HAVE_MBSRTOWCS): Likewise.
33895         * posix/fnmatch.c: Include string.h unconditionally.
33897 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
33899         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
33900         reversal.
33902 2014-07-31  Roland McGrath  <roland@hack.frob.com>
33904         * sysdeps/generic/safe-fatal.h: New file.
33905         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
33906         * nptl/forward.c: Include it.
33907         (__pthread_unwind): Use __safe_fatal as default action, rather
33908         than a bogus use of INTERNAL_SYSCALL that could never work.
33910         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
33911         * configure.ac (libc_cv_builtin_trap): New test.
33912         * configure: Regenerated.
33913         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
33914         (ABORT_INSTRUCTION): Define using __builtin_trap.
33916         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
33917         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
33918         * sysdeps/nptl/nptl-signals.h: New file.
33919         * nptl/pthreadP.h: Include <nptl-signals.h>.
33921 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
33923         * sysdeps/s390/s390-64/utf16-utf32-z9.c
33924         (ONE_DIRECTION): Define.
33925         * sysdeps/s390/s390-64/utf8-utf16-z9.c
33926         (ONE_DIRECTION): Define.
33927         * sysdeps/s390/s390-64/utf8-utf32-z9.c
33928         (ONE_DIRECTION): Define.
33930 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
33932         * sysdeps/s390/Makefile: Delete file.
33933         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
33934         * sysdeps/s390/__longjmp.c: Delete file.
33935         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
33936         Remove fields __flags and __reserved.
33937         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
33938         and add versioning.
33939         * sysdeps/s390/rtld-__longjmp.c: Delete file.
33940         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
33941         * sysdeps/s390/rtld-setjmp.S: Likewise.
33942         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
33943         * sysdeps/s390/s390-32/__longjmp.c: ... here.
33944         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
33945         * sysdeps/s390/s390-32/setjmp.S: ... here.
33946         Add versioning.
33947         (__sigsetjmp): Remove setting __flags field.
33948         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
33949         * sysdeps/s390/s390-64/__longjmp.c: ... here.
33950         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
33951         * sysdeps/s390/s390-64/setjmp.S: ... here.
33952         Add versioning.
33953         (__sigsetjmp): Remove setting __flags field.
33954         * sysdeps/s390/setjmp.S: Delete file.
33955         * sysdeps/s390/sigjmp.c: Likewise.
33956         * sysdeps/s390/v1-longjmp.c: Likewise.
33957         * sysdeps/s390/v1-setjmp.h: Likewise.
33958         * sysdeps/s390/v1-sigjmp.c: Likewise.
33959         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
33960         Remove v1-longjmp_chk.
33961         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
33962         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
33963         Include debug/longjmp_chk.c and add versioning.
33964         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
33965         Include nptl/pt-longjmp.c and add versioning.
33966         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
33967         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
33968         Include __longjmp.c.
33969         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
33970         Move to ...
33971         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
33972         (__getcontext): Remove setting __flags field.
33973         Add versioning.
33974         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
33975         Don't restore upper high grps.
33976         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
33977         Likewise.
33978         (__swapcontext): Remove setting uc_flags field.
33979         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
33980         Delete file.
33981         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
33982         Include __longjmp.c.
33983         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
33984         Move to ...
33985         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
33986         (__getcontext): Remove setting __flags field.
33987         Add versioning.
33988         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
33989         (__swapcontext): Remove setting uc_flags field.
33990         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
33991         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
33992         Remove fields uc_high_gprs and __reserved.
33993         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
33994         New file with reverted content.
33995         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
33996         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
33997         Regenerated.
33998         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
33999         Regenerated.
34001 2014-07-31  Andreas Schwab  <schwab@suse.de>
34003         * config.h.in (HAVE_IFUNC): Define to 0.
34004         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
34005         definedness.
34007 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
34009         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34010         memmove-avx-unaligned, memcpy-avx-unaligned and
34011         mempcpy-avx-unaligned.
34012         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34013         Add tests for AVX memcpy functions.
34014         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
34015         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
34016         memcpy_chk.
34017         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
34018         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
34019         memmove_chk.
34020         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
34021         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
34022         mempcpy_chk.
34023         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
34024         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
34025         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
34027 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34029         [BZ #17213]
34030         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
34031         powerpc64le.
34033 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
34035         [BZ #16839]
34036         * manual/llio.texi: Add section about open file description locks.
34037         * manual/examples/ofdlocks.c: Example of open file description
34038         lock usage.
34039         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
34040         F_OFD_SETLK, and F_OFD_SETLKW.
34042 2014-07-23  Allan McRae  <allan@archlinux.org>
34044         * po/es.po: Update Spanish translation from translation project.
34046 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
34048         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
34050 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
34052         [BZ #17078]
34053         * sysdeps/arm/dl-machine.h (elf_machine_rela)
34054         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
34055         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
34057 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
34059         [BZ #17088]
34060         * math/fesetenv.c (__fesetenv)
34061         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
34062         * math/feupdateenv.c (__feupdateenv)
34063         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
34065         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
34066         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
34067         (__ASSUME_SOCKETCALL): Do not define.
34069         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
34070         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
34071         (__ASSUME_SOCKETCALL): Do not define.
34072         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
34073         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
34074         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
34075         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
34076         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
34077         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
34078         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
34079         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34081         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
34082         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
34083         (__ASSUME_SOCKETCALL): Do not define.
34084         (__ASSUME_IPC64): Define unconditionally.
34085         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
34086         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
34087         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
34088         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
34089         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
34090         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
34091         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
34092         Likewise.
34094         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
34095         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
34096         (__ASSUME_SOCKETCALL): Do not define.
34097         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
34098         (__ASSUME_FUTEX_LOCK_PI): Likewise.
34099         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
34100         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
34101         (__ASSUME_REQUEUE_PI): Define unconditionally.
34102         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
34103         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
34104         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34105         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
34106         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
34107         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34109         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
34110         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
34111         (__ASSUME_SOCKETCALL): Do not define.
34112         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
34113         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
34114         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34115         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
34116         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
34117         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
34119         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
34120         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
34121         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
34122         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
34123         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
34124         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
34125         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
34126         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
34127         (__ASSUME_GETCPU_SYSCALL): Likewise.
34129         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
34130         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
34131         cases for individual architectures.
34132         * sysdeps/gnu/configure: Regenerated.
34133         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
34134         LIBC_SLIBDIR_RTLDDIR.
34135         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
34136         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
34137         LIBC_SLIBDIR_RTLDDIR.
34138         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
34139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
34140         LIBC_SLIBDIR_RTLDDIR.
34141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
34142         Regenerated.
34143         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
34144         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
34145         file.
34146         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
34147         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
34148         file.
34149         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
34150         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
34151         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
34152         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
34154         * sysdeps/aarch64/shlib-versions: Move to ...
34155         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
34156         * sysdeps/alpha/shlib-versions: Move to ...
34157         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
34158         * sysdeps/arm/shlib-versions: Move to ...
34159         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
34160         * sysdeps/hppa/shlib-versions: Move all contents except for
34161         libgcc_s entry to ...
34162         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
34163         entry from ...
34164         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
34165         * sysdeps/ia64/shlib-versions: Move to ...
34166         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
34167         entry from ...
34168         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
34169         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
34170         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
34171         * sysdeps/microblaze/shlib-versions: Move to ...
34172         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
34173         * sysdeps/mips/shlib-versions: Move to ...
34174         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
34175         entry from ...
34176         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
34177         * sysdeps/tile/shlib-versions: Move to ...
34178         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
34179         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
34180         from ...
34181         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
34182         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
34183         entry from ...
34184         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
34186 2014-07-17  Will Newton  <will.newton@linaro.org>
34188         * sysdeps/arm/bits/atomic.h
34189         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
34190         (__arch_compare_and_exchange_bool_16_int): Likewise.
34191         (__arch_compare_and_exchange_bool_64_int): Likewise.
34193         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
34194         into an #else block.
34196 2014-07-16  Roland McGrath  <roland@hack.frob.com>
34198         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
34199         just Linux configurations.  Test empirically that the compiler sets
34200         __ARM_EABI__, rather than using the tuple to decide.
34201         * sysdeps/arm/preconfigure: Regenerated.
34202         * sysdeps/unix/sysv/linux/arm/configure: File removed.
34203         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
34204         contents appended ...
34205         * sysdeps/arm/configure.ac: ... here.
34206         * sysdeps/arm/configure: Regenerated.
34208 2014-07-15  Roland McGrath  <roland@hack.frob.com>
34210         * nptl/pthread_kill.c: New file.
34211         * nptl/pthread_sigmask.c: New file.
34212         * nptl/pthread_sigqueue.c: New file.
34214         * sysdeps/nptl/lowlevellock.h: New file.
34215         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
34216         * sysdeps/nptl/lowlevellock-futex.h: New file.
34218         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
34219         Remove dead declarations.
34221 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
34223         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
34224         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
34225         config-cflags-avx2.
34226         * sysdeps/x86_64/configure.ac: Likewise.
34227         * sysdeps/i386/configure: Regenerated.
34228         * sysdeps/x86_64/configure: Likewise.
34229         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34230         memset-avx2 only if config-cflags-avx2 is yes.
34231         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34232         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
34233         defined.
34234         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
34235         only if HAVE_AVX2_SUPPORT is defined.
34236         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34238 2014-07-14  Alan Modra  <amodra@gmail.com>
34240         [BZ #17153]
34241         * elf/elf.h (DT_PPC64_NUM): Correct value.
34242         * NEWS: Add to fixed bug list.
34244 2014-07-13  Jim Meyering  <meyering@fb.com>
34246         [BZ 17150]
34247         regex: don't deref NULL upon heap allocation failure
34248         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
34249         failure in one more place.
34250         To trigger the segfault, configure grep -with-included-regex,
34251         build it, and run these commands:
34252         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
34254 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
34256         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
34258 2014-07-11  Richard Henderson  <rth@redhat.com>
34260         * sysdeps/aarch64/libm-test-ulps: Update.
34262 2014-07-10  Florian Weimer  <fweimer@redhat.com>
34264         [BZ #17135]
34265         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
34266         * nptl/allocatestack.c (__nptl_setxid_error): New function.
34267         (__nptl_setxid): Initialize error member.  Call
34268         __nptl_setxid_error.
34269         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
34270         * nptl/descr.h (struct xid_command): Add error member.
34271         * nptl/tst-setuid3.c: New file.
34272         * nptl/Makefile (tests): Add it.
34274 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34276         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
34277         New define.
34278         (__lll_trylock): Use __lll_base_trylock.
34279         (__lll_cond_trylock): Likewise.
34281 2014-07-10  Roland McGrath  <roland@hack.frob.com>
34283         * nptl/pthread_create.c (start_thread): Use atomic_or and
34284         lll_futex_wake directly rather than lll_robust_dead.
34285         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
34286         (lll_robust_dead): Macro removed.
34287         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
34288         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
34289         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
34290         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
34291         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
34292         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
34293         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
34294         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
34295         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
34296         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
34297         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
34298         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
34299         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
34300         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
34301         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
34303         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
34304         Use atomic_compare_and_exchange_val_acq directly rather than
34305         lll_robust_trylock.
34306         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
34307         (__lll_robust_trylock, lll_robust_trylock): Removed.
34308         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
34309         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
34310         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
34311         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
34312         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
34313         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
34314         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
34315         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
34316         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
34317         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
34318         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
34319         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
34320         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
34321         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
34323 2014-07-02  Florian Weimer  <fweimer@redhat.com>
34325         * manual/locale.texi (Locale Names): New section documenting
34326         locale name syntax.  Adjust menu and node chaining accordingly.
34327         (Choosing Locale): Reference Locale Names, Locale Categories.
34328         Mention setting LC_ALL=C.  Reflect that name syntax is now
34329         documented.
34330         (Locale Categories): New section title.  Reference Locale Names.
34331         LC_ALL is an environment variable, but not a category.
34332         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
34333         description, now in Locale Name.  Reference that section.  Locale
34334         name syntax is now documented.
34336 2014-07-02  Florian Weimer  <fweimer@redhat.com>
34338         [BZ #17137]
34339         * locale/findlocale.c (name_present, valid_locale_name): New
34340         functions.
34341         (_nl_find_locale): Use the loc_name variable to store name
34342         candidates.  Call name_present and valid_locale_name to check and
34343         validate locale names.  Return an error if the locale is invalid.
34345 2014-07-02  Florian Weimer  <fweimer@redhat.com>
34347         * locale/setlocale.c (setlocale): Use strdup for allocating
34348         composite name copy.
34350 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34352         Sync up with gnulib.
34353         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
34354         [!_LIBC && ENABLE_NLS]: Include gettext.h.
34355         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
34356         and _GL_ARG_NONNULL.
34357         [USE_UNLOCKED_IO]: Include unlocked-io.h.
34358         [!_LIBC]: Include code for Windows and Cygwin.
34359         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
34360         Include prototype for int strerror_r.
34361         [!_LIBC] (is_open): New function.
34362         (flush_stdout): New function.
34363         (print_errno_message): Use it.
34364         (error): Likewise.
34365         (error_at_line): Likewise.
34366         (error_tail) Add function attribute macros.  Use
34367         __builtin_expect.
34369         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
34371         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
34373         * io/ftw.c: Include sys/param.h unconditionally.
34375         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
34377         [BZ #17125]
34378         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
34379         libc_freeres_ptr.
34380         (freecache): New function to free CACHE on exit.
34382         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
34383         initialization.
34385 2014-07-09  David S. Miller  <davem@davemloft.net>
34387         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34389         * sysdeps/sparc/nptl/internaltypes.h: Delete.
34390         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
34391         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
34392         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
34393         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
34394         * sysdeps/sparc/nptl/sem_init.c: Likewise.
34395         * sysdeps/sparc/nptl/sem_post.c: Likewise.
34396         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
34397         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
34398         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
34399         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
34400         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
34401         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
34403 2014-07-09  Andreas Schwab  <schwab@suse.de>
34405         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
34406         output.
34407         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
34408         (do_test): Likewise.
34410         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
34412 2014-07-09  Will Newton  <will.newton@linaro.org>
34414         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
34415         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
34416         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
34417         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
34418         * sysdeps/hppa/start.S (_start): Likewise.
34420 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
34422         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
34424         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
34425         defined.
34427 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
34429         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
34430         after checking that it is non-NULL.
34432         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
34434 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34436         * sysdeps/powerpc/memmove.c: Remove file.
34437         * sysdeps/powerpc/powerpc32/power4/memcopy.h
34438         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
34439         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
34440         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
34441         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
34442         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
34443         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
34444         string memmove instead of removed powerpc one.
34446         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
34447         [weak_alias]: Fix compiler warning due trailing data.
34448         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
34449         [weak_alias]: Likewise.
34450         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
34451         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
34453         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34454         (__libc_ifunc_impl_list): Add memmove functions.
34456 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
34458         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
34459         Remove code.
34460         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
34461         Likewise.
34462         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
34463         Likewise.
34464         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
34465         Likewise.
34466         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
34467         Likewise.
34468         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
34469         Likewise.
34470         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
34471         Likewise.
34472         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
34473         Likewise.
34474         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
34475         Likewise.
34476         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
34477         Likewise.
34478         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
34479         Likewise.
34480         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
34481         Likewise.
34482         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
34483         Likewise.
34484         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
34485         Likewise.
34486         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
34487         Likewise.
34488         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
34489         Likewise.
34490         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
34491         Likewise.
34493 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34495         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
34496         to avoid alignment traps in non-cacheable memory.
34497         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
34499         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
34500         multiarch objects.
34501         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
34502         file: multiarch power7 memmove.
34503         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
34504         multiarch default memmove.
34505         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
34506         multiarch memove for powerpc32/power4.
34508         * string/bcopy.c: Use full path to include memmove.c.
34509         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
34510         multiarch objects.
34511         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
34512         bcopy for powerpc64.
34513         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
34514         bcopy for powerpc64.
34515         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
34516         and memmove implementations.
34517         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
34518         optimized multiarch memmove for POWER7/powerpc64.
34519         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
34520         default multiarch memmove for powerpc64.
34521         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
34522         multiarch for powerpc64.
34523         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
34524         for POWER7/powerpc64.
34525         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
34526         memmove for POWER7/powerpc64.
34528         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
34529         glibc default one.
34531         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
34532         __ELF_NATIVE_CLASS equal to 64.
34534 2014-07-07  Roland McGrath  <roland@hack.frob.com>
34536         * sysdeps/nptl/lowlevellock.h: File removed.
34538         * NEWS: NPTL is no longer an add-on!
34539         * nptl/internaltypes.h: Moved ...
34540         * sysdeps/nptl/internaltypes.h: ... here.
34541         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
34542         * sysdeps/nptl/fork.c: Likewise.
34543         * sysdeps/nptl/gai_misc.h: Likewise.
34544         * sysdeps/nptl/librt-cancellation.c: Likewise.
34545         * sysdeps/nptl/jmp-unwind.c: Likewise.
34546         * sysdeps/nptl/setxid.h: Likewise.
34547         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
34548         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
34549         * sysdeps/unix/sysv/linux/arm/Implies: New file.
34550         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
34551         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
34552         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
34553         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
34554         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
34555         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
34556         * sysdeps/unix/sysv/linux/mips/Implies: New file.
34557         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
34558         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
34559         * sysdeps/unix/sysv/linux/sh/Implies: New file.
34560         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
34561         * sysdeps/unix/sysv/linux/tile/Implies: New file.
34562         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
34563         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
34564         * nptl/Makeconfig: Moved ...
34565         * sysdeps/nptl/Makeconfig: ... here.
34566         * nptl/configure: File removed.
34567         * nptl/ANNOUNCE: File removed.
34568         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
34569         * sysdeps/unix/sysv/linux/configure: Regenerated.
34571         * nptl/Makefile (routines): Add libc_pthread_init,
34572         libc_multiple_threads, register-atfork and unregister-atfork.
34573         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
34574         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
34575         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
34576         pthread-pi-defines.sym, structsem.sym.
34577         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
34578         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
34579         [$(subdir) = nptl] (tests): Add tst-setgetname.
34580         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
34581         * sysdeps/unix/sysv/linux/sigaction.c: Just include
34582         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
34583         [!LIBC_SIGACTION]: Remove aliases.
34584         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
34585         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
34586         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
34587         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
34588         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
34589         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
34590         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
34591         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
34592         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
34593         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
34594         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
34595         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
34596         __libc_allocate_rtsig_private.
34597         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
34598         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
34599         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
34600         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
34601         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
34602         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
34603         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
34604         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
34605         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
34606         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
34607         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
34608         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
34609         * nptl/internaltypes.h: ... here.
34610         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
34611         * sysdeps/nptl/jmp-unwind.c: ... here.
34612         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
34613         * nptl/libc-lowlevellock.c: ... here.
34614         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
34615         * nptl/libc_multiple_threads.c: ... here.
34616         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
34617         * nptl/libc_pthread_init.c: ... here.
34618         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
34619         * nptl/lowlevelbarrier.sym: ... here.
34620         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
34621         * nptl/lowlevelcond.sym: ... here.
34622         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
34623         * nptl/lowlevellock.c: ... here.
34624         * nptl/lowlevellock.h: Moved ...
34625         * sysdeps/nptl/lowlevellock.h: ... here.
34626         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
34627         * nptl/lowlevelrobustlock.c: ... here.
34628         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
34629         * nptl/lowlevelrobustlock.sym: ... here.
34630         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
34631         * nptl/lowlevelrwlock.sym: ... here.
34632         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
34633         * nptl/pt-fork.c: ... here.
34634         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
34635         * nptl/pthread-pi-defines.sym: ... here.
34636         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
34637         * nptl/pthread_attr_getaffinity.c: ... here.
34638         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
34639         * nptl/pthread_attr_setaffinity.c: ... here.
34640         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
34641         * nptl/pthread_mutex_cond_lock.c: ... here.
34642         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
34643         Update #include.
34644         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
34645         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
34646         * nptl/pthread_once.c: ... here, replacing old file.
34647         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
34648         * nptl/pthread_yield.c: ... here.
34649         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
34650         * nptl/register-atfork.c: ... here.
34651         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
34652         * nptl/sem_post.c: ... here.
34653         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
34654         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
34655         * nptl/sem_timedwait.c: ... here.
34656         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
34657         * nptl/sem_trywait.c: ... here.
34658         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
34659         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
34660         * nptl/sem_wait.c: ... here.
34661         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
34662         * nptl/structsem.sym: ... here.
34663         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
34664         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
34665         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
34666         * nptl/unregister-atfork.c: ... here.
34667         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
34668         * nptl/unwindbuf.sym: ... here.
34669         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
34670         * sysdeps/nptl/fork.c: ... here.
34671         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
34672         * sysdeps/nptl/fork.h: ... here.
34673         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
34674         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
34675         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
34676         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
34677         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
34678         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
34679         * sysdeps/unix/sysv/linux/getpid.c: ... here.
34680         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
34681         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
34682         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
34683         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
34684         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
34685         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
34686         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
34687         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
34688         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
34689         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
34690         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
34691         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
34692         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
34693         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
34694         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
34695         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
34696         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
34697         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
34698         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
34699         * sysdeps/unix/sysv/linux/raise.c: ... here.
34700         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
34701         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
34702         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
34703         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
34704         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
34705         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
34706         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
34707         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
34708         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
34709         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
34710         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
34711         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
34712         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
34713         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
34714         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
34716 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34718         * sysdeps/generic/memcopy.h: Add comment for
34719         MEMCPY_OK_FOR_FWD_MEMMOVE.
34721 2014-07-04  Will Newton  <will.newton@linaro.org>
34723         * string/memchr.c: Merge from gnulib.
34724         [_LIBC]: Remove conditionals.
34725         (__ptr_t): Remove define.
34726         (LONG_MAX_32_BITS): Likewise.
34727         (LONG_MAX): Likewise.
34728         (MEMCHR): Use ANSI prototype and optimize algorithm.
34730         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
34732 2014-07-03  Roland McGrath  <roland@hack.frob.com>
34734         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
34735         (lll_futex_timed_wait_bitset): Fix syscall argument count.
34737         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
34738         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
34739         in a bare environment with no <stdlib.h> installed.
34740         * sysdeps/nptl/configure: Regenerated.
34742         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
34744         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
34745         AC_EGREP_CPP for kernel header checks, so they only succeed if
34746         including <linux/version.h> actually works right.
34747         * sysdeps/unix/sysv/linux/configure: Regenerated.
34749         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
34750         value so it's not diagnosed as unused.
34752         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
34753         thing) with "ifeq ($(subdir),rt)".
34755 2014-07-03  Richard Henderson  <rth@redhat.com>
34757         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
34758         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
34759         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
34761         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
34762         (math_force_eval): New.
34764         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
34765         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
34767         * sysdeps/alpha/fpu/s_round.c: Remove file.
34768         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
34770         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
34771         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
34772         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
34773         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
34774         (_dl_start, print_statistics): Likewise.
34775         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
34776         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
34778         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34779         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34780         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34781         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34782         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
34783         (HP_SMALL_TIMING_AVAIL): Define.
34784         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34785         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
34786         (HP_SMALL_TIMING_AVAIL): Define.
34787         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34788         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34790         * sysdeps/aarch64/hp-timing.h: New file.
34792         * sysdeps/generic/hp-timing.h: Remove dead comment.
34793         * sysdeps/generic/hp-timing-common.h: New file.
34794         * sysdeps/alpha/hp-timing.h: Include it.
34795         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
34796         * sysdeps/i386/i686/hp-timing.h: Likewise.
34797         * sysdeps/ia64/hp-timing.h: Likewise.
34798         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34799         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34800         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
34801         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
34802         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
34803         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
34804         (hp_timing_t): New.
34806         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
34807         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
34808         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
34809         * elf/rtld.c (_dl_start_final): Likewise.
34810         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
34811         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34812         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34813         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34814         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34815         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
34816         (HP_TIMING_DIFF_INIT): Remove.
34817         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34818         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
34819         (HP_TIMING_DIFF_INIT): Remove.
34820         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34821         * sysdeps/i386/i686/hp-timing.c: Remove file.
34822         * sysdeps/x86_64/hp-timing.c: Remove file.
34823         * sysdeps/ia64/hp-timing.c: Remove file.
34824         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
34825         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
34826         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
34827         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
34829         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
34830         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
34831         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
34832         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
34833         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
34834         (HP_TIMING_ACCUM): Remove.
34835         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
34836         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
34837         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
34839         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
34840         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
34841         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
34842         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
34843         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
34844         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
34845         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
34846         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
34848         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
34850 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
34852         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
34854 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34856         Sync up with gettext.
34857         * intl/loadmsgcat.c: Define O_BINARY if not defined.
34858         [_MSC_VER]: Include malloc.h
34859         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
34860         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
34861         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
34862         TEMP_FAILURE_RETRY.  Cast return of alloca.
34863         [!_LIBC] Call gl_rwlock_init.
34864         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
34866 2014-07-02  Roland McGrath  <roland@hack.frob.com>
34868         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
34869         before checking its value.
34871 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34873         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
34875         * debug/memcpy_chk.c: Don't include pagecopy.h.
34876         * debug/mempcpy_chk.c: Likewise.
34877         * string/memcpy.c: Likewise.
34878         * string/memmove.c: Likewise.
34879         * sysdeps/powerpc/memmove.c: Likewise.
34880         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
34881         definition of PAGE_COPY_FWD_MAYBE here...
34882         * sysdeps/generic/pagecopy.h: ... from here.
34883         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
34885 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34886             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34888         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
34889         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
34890         optimizations.
34891         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34892         (__libc_ifunc_impl_list): Likewise.
34893         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
34894         multiarch strcat for PPC64.
34895         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
34896         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
34898 2014-07-02  Roland McGrath  <roland@hack.frob.com>
34900         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
34902 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34904         * intl/loadmsgcat.c: Remove declaration of
34905         get_sysdep_segment_value.
34906         (get_sysdep_segment_value): Use ISO C style.
34907         (_nl_load_domain): Use ISO C style.  Get rid of redundant
34908         semicolon.  Fix typo and formatting in comment.
34909         (_nl_unload_domain): Use ISO C style.
34911         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
34913 2014-07-02  Will Newton  <will.newton@linaro.org>
34915         * malloc/obstack.c: Merge from gnulib master.
34916         [HAVE_CONFIG_H]: Remove conditional code.
34917         [!_LIBC]: Include config.h.
34918         [!ELIDE_CODE]: Don't include inttypes.h, include
34919         stdint.h unconditionally.
34920         (print_and_abort): Mark as _Noreturn.
34921         (_obstack_allocated_p): Mark as __attribute_pure__.
34922         (obstack_free): Rename to __obstack_free.
34923         [!__attribute__]: Remove conditional code.
34924         * malloc/obstack.h: Merge from gnulib master.
34925         [__cplusplus]: Move conditional down.
34926         [!__attribute_pure__]: Define __attribute_pure__ here
34927         if it is not already defined.
34928         (_obstack_memory_used): Mark as __attribute_pure__.
34929         [!__obstack_free]: Define as obstack_free.
34930         [__GNUC__]: Remove check for ancient NeXT gcc.
34932 2014-07-02  Will Newton  <will.newton@linaro.org>
34933             Paul Eggert  <eggert@cs.ucla.edu>
34935         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
34937 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34939         * resolv/gethnamaddr.c: Add comment warning that the file is
34940         not maintained.
34942 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
34944         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
34945         entries.
34947         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
34948         entry for aio_cancel and aio_cancel64.
34949         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
34950         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
34951         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
34952         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
34953         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
34954         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
34955         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
34956         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
34957         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
34958         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
34959         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
34960         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
34961         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
34963 2014-07-01  Roland McGrath  <roland@hack.frob.com>
34965         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
34966         * nptl/pthread_mutex_lock.c: Likewise.
34967         * nptl/pthread_mutex_timedlock.c: Likewise.
34968         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
34970 2014-07-01  Richard henderson  <rth@redhat.com>
34972         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
34973         (__isnan, __isnanl): Remove.
34974         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
34976         * sysdeps/alpha/fpu/libm-test-ulps: Update.
34978 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
34980         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34982 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
34984         * resolv/nss_dns/dns-host.c (getanswer_r)
34985         [MULTI_PTRS_ARE_ALIASES]: Remove code.
34987 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
34989         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34990         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
34991         undefine.
34992         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
34993         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
34995 2014-07-01  Roland McGrath <roland@hack.frob.com>
34997         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
34998         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
35000         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
35001         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
35003         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
35004         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
35005         ... here.
35006         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
35007         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
35009         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
35010         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
35011         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
35012         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
35014         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
35015         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
35016         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
35017         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
35018         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
35019         Moved ...
35020         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
35021         ... here.
35022         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
35023         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
35024         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
35025         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
35026         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
35027         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
35028         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
35029         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
35030         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
35031         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
35032         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
35033         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
35034         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
35035         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
35036         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
35037         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
35038         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
35039         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
35040         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
35041         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
35042         ... here.
35043         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
35044         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
35045         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
35046         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
35047         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
35048         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
35049         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
35050         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
35052 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
35054         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
35055         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
35056         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
35057         Add sysdep.
35059 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35061         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35063 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
35065         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
35066         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
35068         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
35070         * sysdeps/arm/libm-test-ulps: Regenerated.
35072 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
35073             Roland McGrath <roland@hack.frob.com>
35075         * test-skeleton.c (signal_handler): Kill the whole process group
35076         before killing the child individually.
35077         (main): Report any failure on `setpgid'.
35079 2014-06-30  Roland McGrath  <roland@hack.frob.com>
35081         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
35082         from _TLS_H to _ARM_NPTL_TLS_H.
35083         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
35084         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
35086 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
35088         [BZ #16539]
35089         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
35090         (__expm1l): Return argument unchanged when small but not
35091         subnormal.
35093         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
35094         include macro name.
35095         (_FP_UNPACK_RAW_1_P): Likewise.
35096         (_FP_PACK_RAW_1): Likewise.
35097         (_FP_PACK_RAW_1_P): Likewise.
35098         (_FP_MUL_MEAT_1_wide): Likewise.
35099         (_FP_MUL_MEAT_DW_1_hard): Likewise.
35100         (_FP_MUL_MEAT_1_hard): Likewise.
35101         (_FP_DIV_MEAT_1_imm): Likewise.
35102         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
35103         (_FP_DIV_MEAT_1_udiv): Likewise.
35104         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
35105         (_FP_UNPACK_RAW_2): Likewise.
35106         (_FP_UNPACK_RAW_2_P): Likewise.
35107         (_FP_PACK_RAW_2): Likewise.
35108         (_FP_PACK_RAW_2_P): Likewise.
35109         (_FP_MUL_MEAT_DW_2_wide): Likewise.
35110         (_FP_MUL_MEAT_2_wide): Likewise.
35111         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
35112         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
35113         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
35114         (_FP_MUL_MEAT_2_gmp): Likewise.
35115         (_FP_DIV_MEAT_2_udiv): Likewise.
35116         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
35117         (_FP_FRAC_SRL_4): Likewise.
35118         (_FP_FRAC_SRST_4): Likewise.
35119         (_FP_FRAC_SRS_4): Likewise.
35120         (_FP_UNPACK_RAW_4): Likewise.
35121         (_FP_UNPACK_RAW_4_P): Likewise.
35122         (_FP_PACK_RAW_4): Likewise.
35123         (_FP_PACK_RAW_4_P): Likewise.
35124         (_FP_MUL_MEAT_DW_4_wide): Likewise.
35125         (_FP_MUL_MEAT_4_wide): Likewise.
35126         (_FP_MUL_MEAT_4_gmp): Likewise.
35127         (umul_ppppmnnn): Likewise.
35128         (_FP_DIV_MEAT_4_udiv): Likewise.
35129         (__FP_FRAC_ADD_4): Likewise.
35130         (__FP_FRAC_SUB_3): Likewise.
35131         (__FP_FRAC_SUB_4): Likewise.
35132         (__FP_FRAC_DEC_3): Likewise.
35133         (__FP_FRAC_DEC_4): Likewise.
35134         (__FP_FRAC_ADDI_4): Likewise.
35135         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
35136         (_FP_FRAC_SRL_8): Likewise.
35137         (_FP_FRAC_SRS_8): Likewise.
35139         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
35140         include macro name.
35141         (FP_UNPACK_RAW_EP): Likewise.
35142         (FP_PACK_RAW_E): Likewise.
35143         (FP_PACK_RAW_EP): Likewise.
35144         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
35145         (_FP_ISSIGNAN): Likewise.
35146         (_FP_ADD_INTERNAL): Likewise.
35147         (_FP_FMA): Likewise.
35148         (_FP_CMP): Likewise.
35149         (_FP_SQRT): Likewise.
35150         (_FP_TO_INT): Likewise.
35151         (_FP_FROM_INT): Likewise.
35152         (FP_EXTEND): Likewise.
35153         (_FP_DIV_MEAT_N_loop): Likewise.
35155 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
35157         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
35158         throughout.
35160 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
35162         [BZ #17097]
35163         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
35164         result with correct sign in case of exponents that produce
35165         overflow except for X very close to 1.
35167 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
35169         mktime: merge #if/#ifdef usage from glibc
35170         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
35171         as that works with both Glibc's and Gnulib's style.
35172         See thread starting at Siddhesh Poyarekar's bug report at:
35173         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
35175 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35177         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
35178         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
35179         * sysdeps/tile/tilegx/memmove.c: Remove file.
35181 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
35183         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
35184         abi-name definition.
35185         * scripts/soversions.awk: Do not handle or generate ABI lines.
35186         * shlib-versions: Remove ABI entries.
35187         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
35188         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
35190 2014-06-27  Roland McGrath  <roland@hack.frob.com>
35192         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
35193         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
35194         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
35195         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
35196         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
35197         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
35198         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
35199         Moved ...
35200         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
35201         ... here.
35202         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
35203         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
35204         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
35205         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
35206         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
35207         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
35208         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
35209         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
35210         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
35211         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
35212         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
35213         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
35214         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
35215         Moved ...
35216         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
35217         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
35218         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
35219         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
35220         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
35221         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
35222         Moved ...
35223         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
35224         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
35225         Moved ...
35226         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
35227         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
35228         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
35229         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
35230         Moved ...
35231         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
35232         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
35233         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
35234         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
35235         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
35236         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
35237         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
35238         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
35239         Moved ...
35240         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
35241         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
35242         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
35243         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
35244         Moved ...
35245         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
35246         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
35247         Moved ...
35248         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
35249         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
35250         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
35251         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
35252         Moved ...
35253         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
35254         ... here.
35255         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
35256         Identical file removed.
35257         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
35258         Moved ...
35259         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
35260         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
35261         Identical file removed.
35262         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
35263         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
35264         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
35265         Moved ...
35266         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
35267         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
35268         Identical file removed.
35269         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
35270         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
35271         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
35272         Identical file removed.
35273         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
35274         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
35275         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
35276         Identical file removed.
35277         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
35278         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
35279         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
35280         Identical file removed.
35281         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
35282         Moved ...
35283         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
35284         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
35285         Identical file removed.
35286         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
35287         Moved ...
35288         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
35289         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
35290         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
35291         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
35292         Identical file removed.
35293         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
35294         Moved ...
35295         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
35296         ... here.
35297         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
35298         Identical file removed.
35299         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
35300         Moved ...
35301         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
35302         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
35303         Identical file removed.
35304         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
35305         Moved ...
35306         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
35307         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
35308         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
35309         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
35310         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
35311         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
35312         Moved ...
35313         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
35314         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
35315         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
35317         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
35318         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
35319         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
35320         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
35321         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
35323 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
35325         [BZ #17092]
35326         * nscd/nscd.c (monitor_child): Return exit status of child
35327         instead of return value from wait syscall.
35329 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
35331         * configure.ac (libc_commonpagesize): Remove variable.
35332         (libc_relro_required): Likewise.
35333         (libc_cv_z_relro): Remove configure test.
35334         * configure: Regenerated.
35335         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
35336         variable.
35337         (libc_relro_required): Likewise.
35338         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
35339         (libc_relro_required): Likewise.
35340         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
35341         (libc_relro_required): Likewise.
35342         * sysdeps/arm/preconfigure: Regenerated.
35343         * sysdeps/ia64/preconfigure: Remove file.
35344         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
35345         variable.
35346         (libc_relro_required): Likewise.
35348         [BZ #16561]
35349         [BZ #16562]
35350         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
35351         (__ieee754_yn): Set FE_TONEAREST mode internally and then
35352         recompute overflowing results in original rounding mode.
35353         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
35354         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
35355         recompute overflowing results in original rounding mode.
35356         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
35357         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
35358         recompute overflowing results in original rounding mode.
35359         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
35360         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
35361         recompute overflowing results in original rounding mode.
35362         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
35363         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
35364         recompute overflowing results in original rounding mode.
35365         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
35366         (libc_feholdsetround_ctx): New macro.
35367         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
35368         * sysdeps/i386/fpu/libm-test-ulps: Update.
35369         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
35371 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
35373         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
35374         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
35375         corresponding .cpsetup call.
35377 2014-06-26  Roland McGrath  <roland@hack.frob.com>
35379         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
35380         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
35381         * sysdeps/arm/Makefile [$(subdir) = csu]
35382         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
35383         (static-only-routines): Add aeabi_read_tp here.
35384         (shared-only-routines): Add libc-aeabi_read_tp here.
35385         (CFLAGS-libc-start.c): Add -fexceptions here.
35386         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
35387         (sysdep_routines, static-only-routines, shared-only-routines):
35388         Don't add to these here.
35389         (CFLAGS-libc-start.c): Likewise.
35391         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
35392         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
35393         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
35394         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
35395         * sysdeps/arm/Makefile [$(subdir) = rt]
35396         (librt-sysdep_routines, librt-shared-only-routines):
35397         Append rt-aeabi_unwind_cpp_pr1 here.
35398         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
35399         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
35400         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
35401         (libpthread-sysdep_routines, libpthread-shared-only-routines):
35402         Append nptl-aeabi_unwind_cpp_pr1 here.
35403         (tests): Filter out tst-cleanupx4 here.
35404         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
35405         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
35406         Don't do those here.
35408 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
35410         * scripts/list-sources.sh: Do not handle ports specially.
35412 2014-06-26  Roland McGrath  <roland@hack.frob.com>
35414         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
35415         * sysdeps/arm/feupdateenv.c: Likewise.
35417         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
35419 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
35421         * manual/texinfo.tex: Update to version 2014-05-05.10 with
35422         trailing whitespace removed.
35423         * scripts/config.guess: Update to version 2014-03-23.
35424         * scripts/config.sub: Update to version 2014-05-01
35425         * scripts/install-sh: Update to version 2013-12-25.23.
35426         * scripts/move-if-change: Update from gnulib.
35428 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35430         * debug/memmove_chk.c: Remove pagecopy.h include.
35432 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
35434         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
35435         identical to gnulib mktime.
35437 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
35439         * configure.ac: Do not test for machine being rs6000.  Do not test
35440         for powerpc*-*soft.
35441         * configure: Regenerated.
35443         [BZ #11505]
35444         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
35445         test.
35446         * configure: Regenerated.
35447         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
35448         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
35449         Remove configure test.
35450         * sysdeps/arm/configure: Regenerated.
35451         * sysdeps/nptl/configure.ac: Do not check
35452         libc_cv_asm_cfi_directives.
35453         * sysdeps/nptl/configure: Regenerated.
35454         * sysdeps/x86_64/nptl/configure.ac: Remove file.
35455         * sysdeps/x86_64/nptl/configure: Remove generated file.
35456         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
35457         unconditional.
35458         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
35460 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35462         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
35463         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
35464         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
35465         it is defined.
35467         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
35468         instead of whether it is defined.
35469         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
35470         * sysdeps/hppa/dl-machine.h: Likewise.
35471         * sysdeps/ia64/dl-machine.h: Likewise.
35472         * sysdeps/m68k/dl-machine.h: Likewise.
35473         * sysdeps/microblaze/dl-machine.h: Likewise.
35474         * sysdeps/mips/dl-machine.: Likewise.
35475         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
35476         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
35477         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
35478         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
35479         * sysdeps/sh/dl-machine.h: Likewise.
35480         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35481         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35482         * sysdeps/tile/dl-machine.h: Likewise.
35483         * sysdeps/x86_64/dl-machine.h: Likewise.
35485         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
35486         code.
35487         (verify_persistent_db): Likewise.
35489 2014-06-26  Roland McGrath  <roland@hack.frob.com>
35491         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
35492         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
35493         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
35494         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
35495         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
35496         Moved ...
35497         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
35498         ... here.
35499         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
35500         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
35501         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
35502         Identical file removed.
35503         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
35504         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
35505         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
35506         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
35507         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
35508         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
35509         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
35510         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
35511         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
35512         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
35513         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35514         Moved ...
35515         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
35516         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
35517         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
35518         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
35519         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
35520         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
35521         Moved ...
35522         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
35523         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
35524         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
35525         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
35526         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
35527         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
35528         Identical file removed.
35529         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
35530         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
35531         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
35532         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
35533         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
35534         Moved ...
35535         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
35536         ... here.
35537         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
35538         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
35539         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
35540         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
35541         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
35542         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
35543         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
35544         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
35545         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
35546         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
35547         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35548         Moved ...
35549         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
35550         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
35551         Moved ...
35552         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
35553         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
35554         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
35555         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
35556         Moved ...
35557         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
35558         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
35559         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
35561         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
35562         folded into ...
35563         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
35564         * sysdeps/unix/sysv/linux/s390/Versions
35565         (libpthread: GLIBC_2.19): New version set.
35566         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
35567         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
35568         (librt: GLIBC_2.3.3): New version set.
35569         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
35570         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
35571         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
35572         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
35573         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
35574         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
35575         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
35576         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
35577         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
35578         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
35579         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
35580         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
35581         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
35582         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
35583         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
35584         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
35585         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
35586         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
35587         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
35588         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
35589         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
35590         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
35591         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
35592         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
35593         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
35594         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
35595         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
35596         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
35597         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
35598         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
35599         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
35600         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
35601         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
35602         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
35603         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
35604         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
35605         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
35606         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
35607         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
35608         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
35609         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
35610         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
35611         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
35612         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
35613         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
35615         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
35616         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
35617         (__libc_vfork): Define the function under this name.
35618         [!NOT_IN_libc] (__vfork): Make this an alias.
35619         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
35620         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
35621         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
35622         (__libc_vfork): Define the function under this name.
35623         [!NOT_IN_libc] (__vfork): Make this an alias.
35624         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
35625         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
35626         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
35627         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
35628         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
35629         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
35631         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
35632         code that was previously under [RESET_PID].
35633         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
35634         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
35635         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
35637         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
35638         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
35639         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
35640         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
35641         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
35642         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
35643         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
35644         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
35645         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
35646         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
35647         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
35648         Moved ...
35649         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
35650         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
35651         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
35652         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
35653         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
35654         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
35655         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
35656         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
35657         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
35658         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
35659         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
35660         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
35661         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
35662         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
35663         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
35664         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
35665         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
35666         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
35667         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
35668         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
35669         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
35670         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
35671         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
35672         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
35673         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
35674         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
35675         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
35676         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
35677         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
35679 2014-06-25  Roland McGrath  <roland@hack.frob.com>
35681         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
35682         that was previously under [RESET_PID].
35683         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
35685 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
35687         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
35688         not undefine and redefine.
35689         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
35690         [O_CLOEXEC]: Make code unconditional.
35691         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
35692         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
35693         <kernel-features.h>.
35694         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
35695         conditional variable definition.
35696         (shm_open) [O_CLOEXEC]: Make code unconditional.
35697         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
35698         code.
35700         * configure.ac (USE_REGPARMS): Don't define here.
35701         * configure: Regenerated.
35702         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
35703         * sysdeps/i386/configure: Regenerated.
35705         * nptl/createthread.c: Don't include kernel-features.h.
35706         * nptl/pthread_cancel.c: Likewise.
35707         * nptl/pthread_condattr_setclock.c: Likewise.
35708         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
35709         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
35710         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
35711         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
35712         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
35713         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
35714         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
35715         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
35716         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
35717         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
35718         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
35719         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
35720         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
35721         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
35722         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
35723         * nscd/gai.c: Likewise.
35724         * nss/nss_db/db-open.c: Likewise.
35725         * sysdeps/generic/ldsodefs.h: Likewise.
35726         * sysdeps/sh/nptl/tls.h: Likewise.
35727         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
35728         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
35729         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
35730         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
35731         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
35732         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
35733         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
35734         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
35735         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
35736         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
35737         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
35738         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
35739         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
35740         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
35741         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
35742         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
35743         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
35744         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
35745         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
35746         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
35747         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
35748         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
35749         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
35750         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
35751         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
35752         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
35753         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
35754         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
35755         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
35756         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
35757         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
35758         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
35759         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
35760         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
35761         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
35762         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
35763         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
35764         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
35765         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
35766         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
35767         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
35768         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
35769         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
35770         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35771         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
35772         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
35773         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
35774         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
35775         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
35776         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
35777         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
35778         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
35779         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
35780         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
35781         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
35782         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
35783         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
35784         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
35785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
35786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
35787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
35788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
35789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
35790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
35791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
35792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
35793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
35794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
35795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
35796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
35797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
35798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
35799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
35800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
35801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
35802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
35803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
35804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
35805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
35806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
35807         * sysdeps/unix/sysv/linux/pread.c: Likewise.
35808         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
35809         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
35810         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
35811         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
35812         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
35813         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
35814         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
35815         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
35816         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
35817         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
35818         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
35819         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
35820         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
35821         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
35822         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
35823         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
35824         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
35825         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
35826         * sysdeps/unix/sysv/linux/system.c: Likewise.
35827         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
35828         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
35829         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
35830         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
35831         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
35832         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
35833         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
35835         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
35836         * configure: Regenerated.
35837         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
35839         * configure.ac (base_machine): Do not set specially for particular
35840         machines here.
35841         * configure: Regenerated.
35842         * sysdeps/powerpc/preconfigure: Move machine and base_machine
35843         settings from configure.ac.
35844         * sysdeps/i386/preconfigure: New file.
35845         * sysdeps/s390/preconfigure: Likewise.
35846         * sysdeps/sh/preconfigure: Likewise.
35847         * sysdeps/sparc/preconfigure: Likewise.
35849 2014-06-25  Roland McGrath  <roland@hack.frob.com>
35851         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
35852         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
35853         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
35854         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
35855         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
35856         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
35857         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
35858         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
35859         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
35860         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
35861         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
35862         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
35863         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
35864         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
35865         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
35866         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
35867         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
35868         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
35869         * sysdeps/sparc/sparc64/Makefile: ... appended here.
35871         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
35872         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
35873         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
35874         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
35875         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
35876         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
35877         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
35878         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
35879         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
35880         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
35881         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
35882         * sysdeps/sparc/sparc32/sem_post.c: ... here.
35883         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
35884         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
35885         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
35886         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
35887         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
35888         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
35889         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
35890         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
35891         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
35892         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
35893         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
35894         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
35895         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
35896         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
35897         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
35898         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
35899         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
35900         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
35901         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
35902         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
35903         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
35904         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
35905         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
35906         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
35907         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
35908         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
35910         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
35911         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
35912         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
35913         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
35914         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
35915         Moved ...
35916         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
35917         ... here.
35918         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
35919         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
35920         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
35921         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
35922         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
35923         Moved ...
35924         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
35925         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
35926         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
35927         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
35928         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
35929         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
35930         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
35931         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
35932         Moved ...
35933         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
35934         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
35935         Moved ...
35936         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
35937         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
35938         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
35939         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
35940         Moved ...
35941         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
35942         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
35943         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
35944         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
35945         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
35946         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
35947         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
35948         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
35949         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
35950         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
35951         Moved ...
35952         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
35953         ... here.
35954         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
35955         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
35956         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
35957         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
35958         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
35959         Moved ...
35960         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
35961         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
35962         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
35963         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
35964         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
35965         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
35966         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
35967         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
35968         Moved ...
35969         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
35970         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
35971         Moved ...
35972         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
35973         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
35974         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
35975         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
35976         Moved ...
35977         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
35978         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
35979         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
35980         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
35981         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
35983 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
35985         * timezone/checktab.awk: Update from tzcode 2014e.
35986         * timezone/private.h: Likewise.
35987         * timezone/tzfile.h: Likewise.
35988         * timezone/zdump.c: Likewise.
35989         * timezone/zic.c: Likewise.
35991         * sysdeps/unix/sysv/linux/kernel-features.h
35992         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
35993         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
35994         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
35995         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
35996         Remove conditional code.
35998 2014-06-25  Will Newton  <will.newton@linaro.org>
36000         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
36001         (_dl_arm_cap_flags): Add HWCAP2 values.
36002         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
36003         (_DL_HWCAP_COUNT): Increase to 37.
36004         (_DL_HWCAP_LAST): New define.
36005         (_DL_HWCAP2_LAST): New define.
36006         (_dl_procinfo): Add support for printing
36007         AT_HWCAP2 entries.
36008         (_dl_string_hwcap): Use _dl_hwcap_string.
36010 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36012         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36014 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
36016         * README: Do not mention ports directory.
36018         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
36019         Remove macro.
36020         * sysdeps/unix/sysv/linux/futimes.c: Do not include
36021         <kernel-features.h>.
36022         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
36023         conditional variable definition.
36024         (__futimes): Update comment.
36025         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
36026         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
36028         [BZ #16560]
36029         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
36030         arguments close to 0.
36031         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
36032         Likewise.
36033         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
36034         Likewise.
36035         * math/auto-libm-test-in: Add more tests of exp10.
36036         * math/auto-libm-test-out: Regenerated.
36037         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36039         * sysdeps/unix/sysv/linux/kernel-features.h
36040         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
36041         * sysdeps/unix/sysv/linux/readv.c: Do not include
36042         <kernel-features.h>.
36043         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
36044         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
36045         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
36046         unconditional.
36047         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
36048         conditional code.
36049         * sysdeps/unix/sysv/linux/writev.c: Do not include
36050         <kernel-features.h>.
36051         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
36052         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
36053         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
36054         unconditional.
36055         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
36056         conditional code.
36058 2014-06-25  Will Newton  <will.newton@linaro.org>
36060         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
36061         comment changes throughout the file.  Remove checks
36062         for HAVE_*_H definitions that are not required.
36063         (__gen_tempname): Call abort if an unknown kind value is
36064         passed.
36066 2014-06-25  Andreas Schwab  <schwab@suse.de>
36068         [BZ #17086]
36069         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
36070         scalbln, scalblnf, scalblnl in libc.
36072 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36074         [BZ #17086]
36075         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
36076         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
36077         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
36079 2014-06-24  Roland McGrath  <roland@hack.frob.com>
36081         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
36082         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
36083         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
36084         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
36085         Update #include.
36086         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
36087         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
36088         Update #include.
36089         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
36090         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
36091         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
36092         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
36093         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
36094         * sysdeps/x86/bits/pthreadtypes.h: ... here.
36095         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
36096         * sysdeps/x86/bits/semaphore.h: ... here.
36097         * sysdeps/x86/nptl/elide.h: Moved ...
36098         * sysdeps/x86/elide.h: ... here.
36099         * sysdeps/x86_64/nptl/Implies: File removed.
36100         * sysdeps/i386/nptl/Implies: File removed.
36102 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
36104         [BZ #16539]
36105         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
36106         return the argument for normal arguments with exponent below -64.
36107         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
36108         Likewise.
36109         * math/auto-libm-test-in: Add another test of expm1.
36110         * math/auto-libm-test-out: Regenerated.
36112         [BZ #16287]
36113         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
36114         calling __erfcl for arguments at least 16.
36115         * math/auto-libm-test-in: Add more tests of erf.
36116         * math/auto-libm-test-out: Regenerated.
36118         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
36119         individual architectures.
36120         * sysdeps/unix/sysv/linux/configure: Regenerated.
36121         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
36122         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
36123         * sysdeps/unix/sysv/linux/powerpc/configure.ac
36124         (ldd_rewrite_script): Define variable.
36125         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
36126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
36127         file.
36128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
36129         generated file.
36130         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
36131         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
36132         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
36133         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
36134         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
36135         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
36136         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
36137         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
36139 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36141         [BZ #17084]
36142         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
36143         Rename member __data.d to __data.__elision_data.
36145 2014-06-24  Wilco  <wdijkstr@arm.com>
36147         * NEWS: Add 16918 to fixed bug list.
36149 2014-06-24  Wilco  <wdijkstr@arm.com>
36151         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
36153 2014-06-24  Wilco  <wdijkstr@arm.com>
36155         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
36156         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
36157         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
36158         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
36159         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
36160         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
36161         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
36162         Use _FPU_MASK_RM.
36164 2014-06-24  Wilco  <wdijkstr@arm.com>
36166         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
36168 2014-06-24  Wilco  <wdijkstr@arm.com>
36170         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
36171         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
36172         * sysdeps/arm/fesetround.c (fesetround): Remove space.
36173         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
36175 2014-06-24  Wilco  <wdijkstr@arm.com>
36177         [BZ #16918]
36178         * sysdeps/arm/feupdateenv.c (feupdateenv):
36179         Rewrite to reduce FPSCR accesses and fix return value.
36181 2014-06-24  Wilco  <wdijkstr@arm.com>
36183         * sysdeps/arm/fclrexcpt.c (feclearexcept):
36184         Optimize to avoid unnecessary FPSCR writes.
36185         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
36186         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
36187         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
36188         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
36190 2014-06-24  Wilco  <wdijkstr@arm.com>
36192         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
36193         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
36194         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
36195         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
36196         Call libc_fetestexcept_vfp.
36197         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
36198         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
36199         __SOFTFP__ ifdef so that they can be built for softfp.
36201 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36203         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
36204         argument type signed char.
36206         * Makerules (check-abi): Dump diff of symlist if the test
36207         fails.
36209 2014-06-23  Roland McGrath  <roland@hack.frob.com>
36211         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
36212         using abort.
36214         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
36215         Remove unused variable ST.
36217 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
36219         [BZ #16354]
36220         [BZ #17061]
36221         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
36222         small arguments before calling __expm1.
36223         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
36224         small arguments before calling __expm1f.
36225         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
36226         small arguments before calling __expm1l.
36227         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
36228         Likewise.
36229         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
36230         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
36231         spurious underflow for some cosh tests.
36232         * math/auto-libm-test-out: Regenerated.
36233         * sysdeps/i386/fpu/libm-test-ulps: Update.
36235         [BZ #17050]
36236         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
36237         (__ieee754_y1): Set errno if return value overflows.
36238         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
36239         (__ieee754_y1f): Set errno if return value overflows.
36240         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
36241         (__ieee754_y1l): Set errno if return value overflows.
36242         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
36243         (__ieee754_y1l): Set errno if return value overflows.
36244         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
36245         * math/auto-libm-test-out: Regenerated.
36247         * math/gen-auto-libm-tests.c: Document use of
36248         ignore-zero-inf-sign.
36249         (input_flag_type): Add value flag_ignore_zero_inf_sign.
36250         (input_flags): Add ignore-zero-inf-sign.
36251         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
36252         * math/gen-libm-test.pl (generate_testfile): Handle
36253         ignore-zero-inf-sign.
36254         * math/auto-libm-test-in: Mark some cpow tests with
36255         ignore-zero-inf-sign and some with xfail-rounding.
36256         * math/auto-libm-test-out: Regenerated.
36257         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
36258         * sysdeps/i386/fpu/libm-test-ulps: Update.
36259         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36261         [BZ #16315]
36262         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
36263         overflowing or underflowing operations take place with sign of
36264         result.
36265         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36266         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
36267         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
36268         (__ieee754_pow): Recompute overflowing and underflowing results in
36269         original rounding mode.
36270         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
36271         (__powl_helper): Allow negative argument X and scale negated value
36272         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
36273         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
36274         overflowing or underflowing operations take place with sign of
36275         result.
36276         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
36277         Include <math.h>.
36278         * math/auto-libm-test-in: Add more tests of pow.
36279         * math/auto-libm-test-out: Regenerated.
36280         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
36281         (pow_tonearest_test_data): Remove.
36282         (pow_test_tonearest): Likewise.
36283         (pow_towardzero_test_data): Likewise.
36284         (pow_test_towardzero): Likewise.
36285         (pow_downward_test_data): Likewise.
36286         (pow_test_downward): Likewise.
36287         (pow_upward_test_data): Likewise.
36288         (pow_test_upward): Likewise.
36289         (main): Don't call removed functions.
36290         * sysdeps/i386/fpu/libm-test-ulps: Update.
36291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36293 2014-06-23  Roland McGrath  <roland@hack.frob.com>
36295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
36296         Moved ...
36297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
36298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36299         Moved ...
36300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
36301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36302         Moved ...
36303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
36304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
36305         Moved ...
36306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
36307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
36308         File removed.
36309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36310         File removed.
36311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
36312         File removed.
36313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
36314         File removed.
36315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
36316         File removed.
36317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
36318         File removed.
36319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
36320         File removed.
36321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36322         File removed.
36323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
36324         File removed.
36325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36326         File removed.
36327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
36328         File removed.
36329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
36330         File removed.
36331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
36332         Moved ...
36333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
36334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
36335         Moved ...
36336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
36337         ... here.
36338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
36339         Moved ...
36340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
36341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
36342         Moved ...
36343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
36344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
36345         Moved ...
36346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
36347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
36348         Moved ...
36349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
36350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
36351         Moved ...
36352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
36353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
36354         Moved ...
36355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
36356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
36357         Moved ...
36358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
36359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
36360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
36361         ... here.
36362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
36363         Moved ...
36364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
36365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
36366         Moved ...
36367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
36368         ... here.
36369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
36370         Moved ...
36371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
36372         ... here.
36373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
36374         Moved ...
36375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
36376         ... here.
36377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
36378         Moved ...
36379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
36380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
36381         Moved ...
36382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
36383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
36384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
36385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
36386         Moved ...
36387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
36388         ... here.
36389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36390         Moved ...
36391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
36392         ... here.
36393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
36394         Moved ...
36395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
36396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36397         Moved ...
36398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
36399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
36400         Moved ...
36401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
36402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36403         Moved ...
36404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
36405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
36406         Moved ...
36407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
36408         ... here.
36409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36410         Moved ...
36411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
36412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
36413         Moved ...
36414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
36415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36416         Moved ...
36417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
36418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
36419         Moved ...
36420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
36421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
36422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
36423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
36424         Moved ...
36425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
36426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36427         Moved ...
36428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
36429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
36430         Moved ...
36431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
36432         ... here.
36433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36434         Moved ...
36435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
36436         ... here.
36437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
36438         Moved ...
36439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
36440         ... here.
36441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36442         Moved ...
36443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
36444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
36445         Moved ...
36446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
36447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36448         Moved ...
36449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
36450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
36451         Moved ...
36452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
36453         ... here.
36454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36455         Moved ...
36456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
36457         ... here.
36458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
36459         Moved ...
36460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
36461         ... here.
36462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36463         Moved ...
36464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
36465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
36466         Moved ...
36467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
36469 2014-06-23  Will Newton  <will.newton@linaro.org>
36470             Wilco  <wdijkstr@arm.com>
36472         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
36473         implementation.  Include get-rounding-mode.h.
36474         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
36475         [!libc_feholdsetround_noex_ctx]: Define
36476         libc_feholdsetround_noex_ctx.
36477         [!libc_feholdsetround_noexf_ctx]: Define
36478         libc_feholdsetround_noexf_ctx.
36479         [!libc_feholdsetround_noexl_ctx]: Define
36480         libc_feholdsetround_noexl_ctx.
36481         (libc_feholdsetround_ctx): New function.
36482         (libc_feresetround_ctx): New function.
36483         (libc_feholdsetround_noex_ctx): New function.
36484         (libc_feresetround_noex_ctx): New function.
36486 2014-06-23  Roland McGrath  <roland@hack.frob.com>
36488         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
36489         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
36490         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
36491         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
36492         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
36493         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
36495         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
36496         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
36497         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
36498         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
36499         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
36500         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
36501         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
36502         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
36503         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
36504         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
36505         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
36506         Moved ...
36507         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
36508         ... here.
36509         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
36510         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
36511         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
36512         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
36513         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
36514         Moved ...
36515         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
36516         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
36517         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
36518         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
36519         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
36520         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
36521         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
36522         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
36523         Moved ...
36524         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
36525         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
36526         Moved ...
36527         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
36528         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
36529         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
36530         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
36531         Moved ...
36532         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
36533         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
36534         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
36535         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
36536         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
36537         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
36538         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
36539         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
36540         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
36541         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
36542         Moved ...
36543         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
36544         ... here.
36545         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
36546         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
36547         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
36548         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
36549         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
36550         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
36551         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
36552         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
36553         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
36554         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
36555         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
36556         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
36557         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
36558         Moved ...
36559         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
36560         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
36561         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
36562         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
36563         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
36564         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
36565         Moved ...
36566         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
36567         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
36568         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
36569         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
36570         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
36572         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
36573         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
36574         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
36575         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
36576         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
36577         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
36578         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
36579         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
36580         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
36581         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
36582         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
36583         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
36584         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
36585         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
36586         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
36587         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
36588         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
36589         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
36590         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
36591         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
36592         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
36593         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
36594         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
36595         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
36596         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
36597         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
36598         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
36599         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
36601 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
36603         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
36604         (FALLOC_FL_COLLAPSE_RANGE): New macro.
36605         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
36606         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
36607         (IPV6_PMTUDISC_INTERFACE): Likewise.
36608         (IPV6_PMTUDISC_OMIT): Likewise.
36610 2014-06-23  Andreas Schwab  <schwab@suse.de>
36612         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
36613         Remove unused errout label.
36615 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36617         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
36618         macro: hardware supports Vector Crypto instructions.
36620 2014-06-23  Will Newton  <will.newton@linaro.org>
36622         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
36623         rather than __builtin_expect.
36625         * elf/dl-lookup.c (undefined_msg): Remove variable.
36626         (_dl_lookup_symbol_x): Replace undefined_msg with string
36627         literal.
36629         * elf/dl-lookup.c (do_lookup_unique): New function.
36630         (do_lookup_x): Move STB_GNU_UNIQUE handling code
36631         to a separate function.
36633 2014-06-23  Andreas Schwab  <schwab@suse.de>
36635         [BZ #17079]
36636         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
36637         before reading the next line.
36639 2014-06-23  Will Newton  <will.newton@linaro.org>
36641         * test-skeleton.c (signal_handler): Use printf and %m
36642         rather than perror.  Use printf rather than fprintf to
36643         stderr.  Use puts rather than fputs to stderr.
36644         (main): Likewise.
36646 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
36648         * nscd/nscd.c (thread_info_t): Remove typedef.
36649         (thread_info): Remove variable.
36651 2014-06-21  Allan McRae  <allan@archlinux.org>
36653         * NEWS: Mention CVE-2014-4043.
36655 2014-06-20  Roland McGrath  <roland@hack.frob.com>
36657         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
36658         * nptl/smp.h: ... here.
36660         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
36662         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
36663         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
36664         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
36665         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
36667         * nptl/allocatestack.c: Include <stack-aliasing.h>.
36668         * nptl/stack-aliasing.h: New file.
36669         * sysdeps/i386/i686/stack-aliasing.h: New file.
36670         * sysdeps/i386/i686/nptl/Makefile: File removed.
36671         * sysdeps/x86_64/stack-aliasing.h: New file.
36672         * sysdeps/x86_64/nptl/Makefile
36673         (CFLAGS-pthread_create.c): Variable removed.
36675         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
36676         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
36677         old file.
36678         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
36679         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
36680         old file.
36682 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
36684         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36685         (__ASSUME_SIGFRAME_V2): Remove macro.
36686         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
36687         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
36688         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
36689         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
36690         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
36691         Declare as function.  Remove conditional macro definitions.
36692         (__default_rt_sa_restorer): Likewise.
36693         (__default_sa_restorer_v1): Remove declaration.
36694         (__default_sa_restorer_v2): Likewise.
36695         (__default_rt_sa_restorer_v1): Likewise.
36696         (__default_rt_sa_restorer_v2): Likewise.
36697         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
36698         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
36699         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
36701 2014-06-20  Roland McGrath  <roland@hack.frob.com>
36703         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
36704         (libpthread-routines): Add sysdep.
36705         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
36706         * sysdeps/unix/sysv/linux/sparc/Versions
36707         (libpthread: GLIBC_2.3.3): New version set.
36708         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
36709         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
36710         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
36711         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
36712         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
36713         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
36714         Moved ...
36715         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
36716         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
36717         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
36718         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
36719         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
36720         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
36721         * sysdeps/sparc/nptl/sem_init.c: ... here.
36722         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
36723         * sysdeps/sparc/nptl/sem_post.c: ... here.
36724         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
36725         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
36726         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
36727         * sysdeps/sparc/nptl/sem_wait.c: ... here.
36728         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
36729         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
36730         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
36731         (libpthread-routines): Add cpu_relax.
36732         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
36733         File removed.
36734         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
36735         (librt: GLIBC_2.3.3): New version set.
36736         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
36737         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
36738         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
36739         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
36740         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
36741         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
36742         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
36743         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
36744         Moved ...
36745         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
36746         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
36747         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
36748         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
36749         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
36750         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
36751         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
36752         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
36753         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
36754         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
36755         Moved ...
36756         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
36757         Update #include.
36758         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
36759         Moved ...
36760         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
36761         Update #include.
36762         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
36763         Moved ...
36764         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
36765         Update #include.
36766         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
36767         Moved ...
36768         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
36769         Update #include.
36770         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
36771         Moved ...
36772         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
36773         Update #include.
36774         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
36775         Moved ...
36776         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
36777         Update #include.
36778         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
36779         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
36780         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
36781         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
36782         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
36783         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
36784         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
36785         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
36786         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
36787         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
36788         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
36789         Moved ...
36790         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
36791         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
36792         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
36793         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
36794         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
36796 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
36798         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
36799         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
36800         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
36801         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
36802         * nscd/nscd.c: Likewise.
36803         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
36804         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
36805         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
36806         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
36808         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
36809         <kernel-features.h>.
36810         (init_mq_netlink): Remove conditional have_sock_cloexec
36811         definitions.  Remove code conditional on have_sock_cloexec < 0.
36812         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
36813         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
36814         * sysdeps/unix/sysv/linux/opensock.c: Do not include
36815         <kernel-features.h>.
36816         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
36817         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
36819 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
36821         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36822         Add tests for memset_chk and memset.
36824         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
36825         with AVX2_Usable.
36827 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
36829         [BZ #16046]
36830         * elf/tst-dl-iter-static.c: New file.
36831         * elf/Makefile (tests-static): Add tst-dl-iter-static.
36833         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
36834         error.
36836 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
36838         * sysdeps/unix/sysv/linux/kernel-features.h
36839         (__ASSUME_F_GETOWN_EX): Remove macro.
36840         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
36841         <kernel-features.h>.
36842         (miss_F_GETOWN_EX): Remove variable or macro.
36843         (do_fcntl): Do not check miss_F_GETOWN_EX.
36844         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
36846         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
36847         Remove macro.
36848         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
36849         [!__ASSUME_AT_RANDOM]: Remove conditional code.
36850         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
36852         * sysdeps/unix/sysv/linux/kernel-features.h
36853         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
36854         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
36855         [ADJ_OFFSET_SS_READ]: Make code unconditional.
36856         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
36858 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
36860         [BZ #17075]
36861         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
36862         Fix calculation of the symbol's value.
36863         * sysdeps/arm/tst-armtlsdescloc.c: New file.
36864         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
36865         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
36866         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
36867         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
36868         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
36869         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
36870         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
36871         (modules-names): Add `tst-armtlsdescmod',
36872         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
36873         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
36874         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
36875         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
36876         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
36877         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
36878         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
36879         ($(objpfx)tst-armtlsdescloc): New dependency.
36880         ($(objpfx)tst-armtlsdescextnow): Likewise.
36881         ($(objpfx)tst-armtlsdescextlazy): Likewise.
36882         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
36883         TLS scheme support.
36884         * sysdeps/arm/configure: Regenerate.
36886 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
36888         * include/fcntl.h (__atfct_seterrno): Remove prototype.
36889         (__atfct_seterrno_2): Likewise.
36890         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
36891         <kernel-features.h>.
36892         (__ASSUME_ATFCTS): Do not undefine and redefine.
36893         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
36894         (__have_atfcts): Remove conditional definition.
36895         (__fxstatat([__NR_fstatat64]: Make code unconditional.
36896         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
36897         unreachable if [__ASSUME_ATFCTS].
36898         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
36899         not undefine and redefine.
36900         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
36901         <kernel-features.h>.
36902         (faccessat) [__NR_faccessat]: Make code unconditional.
36903         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
36904         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
36905         <kernel-features.h>.
36906         (fchmodat) [__NR_fchmodat]: Make code unconditional.
36907         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
36908         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
36909         <kernel-features.h>.
36910         (fchownat) [__NR_fchownat]: Make code unconditional.
36911         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
36912         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
36913         <kernel-features.h>.
36914         (futimesat) [__NR_futimesat]: Make code unconditional.
36915         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
36916         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
36917         <kernel-features.h>.
36918         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
36919         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
36920         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
36921         <kernel-features.h>.
36922         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
36923         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
36924         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
36925         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
36926         <kernel-features.h>.
36927         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
36928         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
36929         * sysdeps/unix/sysv/linux/linkat.c: Do not include
36930         <kernel-features.h>.
36931         (linkat) [__NR_linkat]: Make code unconditional.
36932         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
36933         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
36934         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
36935         <kernel-features.h>.
36936         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
36937         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
36938         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
36939         <kernel-features.h>.
36940         (mkdirat) [__NR_mkdirat]: Make code unconditional.
36941         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
36942         * sysdeps/unix/sysv/linux/openat.c: Do not include
36943         <kernel-features.h>.
36944         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
36945         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
36946         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
36947         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
36948         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
36949         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
36950         <kernel-features.h>.
36951         (readlinkat) [__NR_readlinkat]: Make code unconditional.
36952         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
36953         result of INLINE_SYSCALL directly, not via int variable.
36954         * sysdeps/unix/sysv/linux/renameat.c: Do not include
36955         <kernel-features.h>.
36956         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
36957         (renameat) [__NR_renameat]: Make code unconditional.
36958         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
36959         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
36960         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
36961         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
36962         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
36963         (__ASSUME_ATFCTS): Do not undefine and redefine.
36964         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
36965         <kernel-features.h>.
36966         (symlinkat) [__NR_symlinkat]: Make code unconditional.
36967         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
36968         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
36969         <kernel-features.h>.
36970         (unlinkat) [__NR_unlinkat]: Make code unconditional.
36971         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
36972         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
36973         (__ASSUME_ATFCTS): Do not undefine and redefine.
36974         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
36975         <kernel-features.h>.
36976         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
36977         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
36978         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
36979         <kernel-features.h>.
36980         (__xmknodat) [__NR_mknodat]: Make code unconditional.
36981         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
36983 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
36985         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
36987 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
36989         [BZ #17069]
36990         * posix/regcomp.c (parse_reg_exp): Deallocate partially
36991         constructed tree before returning error.
36992         * posix/bug-regexp36.c: Expand test case.
36994 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
36996         [BZ #6803]
36997         * math/libm-test.inc (scalbln_test_date):
36998         Add errno expectations.
36999         * math/w_scalblnf.c: New File.
37000         Add wrapper which checks for setting errno to ERANGE.
37001         Add weak_alias for corresponding scalbln function.
37002         * math/w_scalbln.c: Likewise.
37003         * math/w_scalblnl.c: Likewise.
37004         * math/Makefile (libm-calls): Add w_scalbln.
37005         * sysdeps/ieee754/flt-32/s_scalblnf.c:
37006         Remove weak_alias for corresponding scalbln function.
37007         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37008         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
37009         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37010         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37011         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
37012         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
37013         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
37014         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
37015         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
37016         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
37017         Remove long_double_symbol for scalblnl function in libm, libc.
37018         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
37019         Add wrapper which checks for setting errno to ERANGE.
37020         Add long_double_symbol for scalblnl function in libm, libc.
37021         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
37022         Remove long_double_symbol for scalblnl in libm.
37023         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
37024         Add wrapper which checks for setting errno to ERANGE.
37025         Add long_double_symbol for scalblnl function in libm.
37026         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
37027         Do not use wrapper because of own implementation.
37029 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
37031         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
37032         3 bytes for __pad1 for x32.
37033         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
37035 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
37036             H.J. Lu  <hongjiu.lu@intel.com>
37038         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
37039         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
37040         * sysdeps/x86_64/multiarch/memset.S: Likewise.
37041         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37042         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
37044 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
37046         [BZ #17069]
37047         * posix/regcomp.c (parse_expression): Deallocate partially
37048         constructed tree before returning error.
37049         * posix/Makefile.c (tests): Add bug-regex36.
37050         (generated): Add bug-regex36.mtrace.
37051         (tests-special): Add $(objpfx)bug-regex36-mem.out
37052         (bug-regex36-ENV): New variable.
37053         ($(objpfx)bug-regex36-mem.out): New rule.
37054         * posix/bug-regex36.c: New file.
37056 2014-06-19  Will Newton  <will.newton@linaro.org>
37058         * malloc/malloc.c (systrim): If extra is zero then return
37059         early.
37061 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37063         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
37065 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
37067         * sysdeps/aarch64/strchr.S: New file.
37069 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
37071         [BZ #17022]
37072         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
37073         from arguments -2 or below.
37074         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
37075         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
37077 2014-06-18  Andreas Schwab  <schwab@suse.de>
37079         [BZ #17062]
37080         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
37081         of a bracket expr not to run off the end of the string.
37082         * posix/Makefile (tests): Add tst-fnmatch3.
37083         * posix/tst-fnmatch3.c: New file.
37085 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
37087         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
37088         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
37089         [$(cross-compiling) = no]: Likewise.
37090         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
37091         [$(cross-compiling) = no]: Likewise.
37093 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
37095         [BZ #17031]
37096         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
37097         double, adjusted for any remainder from the high double.
37098         * math/libm-test.inc (nearbyint): Add tests.
37099         (rint): Likewise.
37101 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37103         * nptl/sysdeps/powerpc/Makefile: Moved ...
37104         * sysdeps/powerpc/nptl/Makefile: ... here.
37105         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
37106         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
37107         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
37108         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
37109         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
37110         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
37111         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
37112         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
37113         * nptl/sysdeps/powerpc/tls.h: Moved ...
37114         * sysdeps/powerpc/nptl/tls.h: ... here.
37116 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
37118         [BZ #16681]
37119         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
37120         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
37121         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
37122         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
37123         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
37124         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
37125         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
37126         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
37127         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
37129 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
37131         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
37133 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
37135         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
37136         defined operator.
37138         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
37139         $TIMEOUTFACTOR.
37141 2014-06-16  Florian Weimer  <fweimer@redhat.com>
37143         [BZ #17058]
37144         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
37145         non-executed part of the test.
37147 2014-06-16  Andreas Schwab  <schwab@suse.de>
37149         * string/bits/string2.h (strdup, strndup): Update feature guard.
37151 2014-06-14  David S. Miller  <davem@davemloft.net>
37153         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37155 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
37157         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
37158         that was previously under [RESET_PID].
37159         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
37161         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
37162         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
37163         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
37164         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
37165         (__libc_vfork): New strong alias.
37166         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
37168 2014-06-14 Andi Kleen  <ak@linux.intel.com>
37170         * sysdeps/generic/elide.h: New file.
37172 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
37174         * Makefile (installed-headers): Adjust path of pthread.h header.
37176 2014-06-13  Roland McGrath  <roland@hack.frob.com>
37178         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
37179         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
37180         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
37181         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
37183         * nptl/sysdeps/s390/Makefile: Moved ...
37184         * sysdeps/s390/nptl/Makefile: ... here.
37185         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
37186         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
37187         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
37188         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
37189         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
37190         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
37191         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
37192         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
37193         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
37194         * sysdeps/s390/nptl/pthreaddef.h: ... here.
37195         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
37196         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
37197         * nptl/sysdeps/s390/tls.h: Moved ...
37198         * sysdeps/s390/nptl/tls.h: ... here.
37200         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
37201         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
37203 2014-06-13  David S. Miller  <davem@davemloft.net>
37205         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
37206         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
37207         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
37208         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
37209         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
37210         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
37211         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
37212         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
37213         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
37214         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
37215         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
37216         Remove RESET_PID cpp guards.
37217         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
37218         Remove RESET_PID cpp guards.
37219         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
37221 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
37223         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
37224         __sp to uintptr_t.
37226 2014-06-13  Andi Kleen  <ak@linux.intel.com>
37228         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
37229         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
37230         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
37231         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
37232         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
37233         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
37234         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
37235         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
37236         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
37237         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
37238         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
37239         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
37240         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
37241         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
37242         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
37243         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
37244         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
37245         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
37246         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
37247         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
37249         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
37250         (pthread_rwlock_rdlock): Add elision.
37251         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
37252         (pthread_rwlock_wrlock): Add elision.
37253         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
37254         (pthread_rwlock_trywrlock): Add elision.
37255         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
37256         (pthread_rwlock_tryrdlock): Add elision.
37257         * nptl/pthread_rwlock_unlock.c: Include elide.h.
37258         (pthread_rwlock_tryrdlock): Add elision unlock.
37259         * nptl/sysdeps/pthread/pthread.h:
37260         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
37261         (PTHREAD_RWLOCK_INITIALIZER,
37262         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
37263         Handle new elision field.
37264         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
37265         * sysdeps/arm/nptl/bits/pthreadtypes.h
37266         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37267         * sysdeps/sh/nptl/bits/pthreadtypes.h
37268         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37269         * sysdeps/tile/nptl/bits/pthreadtypes.h
37270         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37271         * sysdeps/a/nptl/bits/pthreadtypes.h
37272         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37273         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
37274         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37275         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
37276         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37277         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
37278         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37279         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
37280         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37281         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
37282         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37283         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
37284         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37285         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
37286         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37287         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
37288         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37289         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
37290         (elision_init): Set try_xbegin to zero when no RTM.
37291         * sysdeps/x86/nptl/bits/pthreadtypes.h
37292         (pthread_rwlock_t): Change __pad1 to __rwelision.
37293         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37295 2014-06-13  Andi Kleen  <ak@linux.intel.com>
37297         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
37298         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
37299         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
37300         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
37302 2014-06-13  Meador Inge  <meadori@codesourcery.com>
37304         [BZ #16996]
37305         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
37306         that the cached result has been set before returning it.
37308 2014-06-12  Roland McGrath  <roland@hack.frob.com>
37310         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
37311         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
37312         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
37313         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
37314         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
37315         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
37317         * nptl/sysdeps/sparc/Makefile: Moved ...
37318         * sysdeps/sparc/nptl/Makefile: ... here.
37319         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
37320         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
37321         * nptl/sysdeps/sparc/tls.h: Moved ...
37322         * sysdeps/sparc/nptl/tls.h: ... here.
37323         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
37324         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
37325         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
37326         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
37327         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
37328         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
37329         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
37330         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
37331         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
37332         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
37333         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
37334         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
37335         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
37336         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
37337         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
37338         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
37339         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
37340         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
37341         Update #include.
37342         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
37343         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
37344         Update #include.
37345         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
37346         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
37347         Update #include.
37348         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
37349         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
37350         Update #include.
37352         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
37354         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
37355         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
37357         * sysdeps/pthread/posix-timer.h: Include <list.h>.
37358         (struct list_links): Type removed.
37359         (struct thread_node, struct timer_node): Replace struct list_links
37360         with struct list_head.
37361         (list_unlink_ip): Likewise.
37362         * sysdeps/pthread/timer_routines.c
37363         (timer_free_list, thread_free_list, thread_active_list): Likewise.
37364         (list_append, list_insbefore): Likewise.
37365         (list_init): Function removed.
37366         (thread_init, init_module): Use INIT_LIST_HEAD instead.
37367         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
37368         * sysdeps/pthread/Makefile: ... here, new file.
37370         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
37371         * sysdeps/nptl/Implies: ... here.
37372         * sysdeps/unix/sysv/linux/Implies: Add nptl.
37373         * nptl/sysdeps/pthread/list.h: Moved ...
37374         * include/list.h: ... here.
37375         * nptl/sysdeps/pthread/createthread.c: Moved ...
37376         * nptl/createthread.c: ... here.
37377         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
37378         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
37379         * nptl/pt-longjmp.c: ... here.
37380         * nptl/sysdeps/pthread/Makefile: Moved ...
37381         * sysdeps/nptl/Makefile: ... here.
37382         * nptl/sysdeps/pthread/Subdirs: Moved ...
37383         * sysdeps/nptl/Subdirs: ... here.
37384         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
37385         * sysdeps/nptl/aio_misc.h: ... here.
37386         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
37387         * sysdeps/nptl/bits/libc-lock.h: ... here.
37388         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
37389         * sysdeps/nptl/bits/libc-lockP.h: ... here.
37390         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
37391         * sysdeps/nptl/bits/stdio-lock.h: ... here.
37392         * nptl/sysdeps/pthread/configure: Moved ...
37393         * sysdeps/nptl/configure: ... here.
37394         * nptl/sysdeps/pthread/configure.ac: Moved ...
37395         * sysdeps/nptl/configure.ac: ... here.
37396         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
37397         * sysdeps/nptl/gai_misc.h: ... here.
37398         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
37399         * sysdeps/nptl/librt-cancellation.c: ... here.
37400         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
37401         * sysdeps/nptl/malloc-machine.h: ... here.
37402         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
37403         * sysdeps/nptl/pthread-functions.h: ... here.
37404         * nptl/sysdeps/pthread/pthread.h: Moved ...
37405         * sysdeps/nptl/pthread.h: ... here.
37406         * nptl/sysdeps/pthread/setxid.h: Moved ...
37407         * sysdeps/nptl/setxid.h: ... here.
37408         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
37409         * sysdeps/nptl/sigfillset.c: ... here.
37410         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
37411         * sysdeps/nptl/tcb-offsets.h: ... here.
37412         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
37413         * sysdeps/nptl/tst-mqueue8x.c: ... here.
37414         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
37415         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
37416         * nptl/sysdeps/pthread/allocalim.h: Moved ...
37417         * sysdeps/pthread/allocalim.h: ... here.
37418         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
37419         * sysdeps/pthread/bits/sigthread.h: ... here.
37420         * nptl/sysdeps/pthread/flockfile.c: Moved ...
37421         * sysdeps/pthread/flockfile.c: ... here.
37422         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
37423         * sysdeps/pthread/ftrylockfile.c: ... here.
37424         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
37425         * sysdeps/pthread/funlockfile.c: ... here.
37426         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
37427         * sysdeps/pthread/posix-timer.h: ... here.
37428         * nptl/sysdeps/pthread/timer_create.c: Moved ...
37429         * sysdeps/pthread/timer_create.c: ... here.
37430         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
37431         * sysdeps/pthread/timer_delete.c: ... here.
37432         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
37433         * sysdeps/pthread/timer_getoverr.c: ... here.
37434         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
37435         * sysdeps/pthread/timer_gettime.c: ... here.
37436         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
37437         * sysdeps/pthread/timer_routines.c: ... here.
37438         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
37439         * sysdeps/pthread/timer_settime.c: ... here.
37440         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
37441         * sysdeps/pthread/tst-timer.c: ... here.
37442         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
37443         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
37445         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
37446         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
37448         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
37449         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
37450         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
37451         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
37452         Update #include target.
37453         * nptl/sysdeps/i386/i686/Makefile: Moved ...
37454         * sysdeps/i386/i686/nptl/Makefile: ... here.
37455         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
37456         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
37457         Update #include target.
37458         * nptl/sysdeps/i386/i686/tls.h: Moved ...
37459         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
37460         * nptl/sysdeps/i386/Makefile: Moved ...
37461         * sysdeps/i386/nptl/Makefile: ... here.
37462         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
37463         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
37464         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
37465         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
37466         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
37467         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
37468         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
37469         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
37470         * sysdeps/i386/nptl/pthreaddef.h: ... here.
37471         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
37472         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
37473         * nptl/sysdeps/i386/tls.h: Moved ...
37474         * sysdeps/i386/nptl/tls.h: ... here.
37476         * sysdeps/sh/Makefile [$(subdir) = csu]
37477         (gen-as-const-headers): Add tcb-offsets.sym.
37478         * nptl/sysdeps/sh/Makefile: File removed.
37479         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
37480         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
37481         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
37482         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
37483         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
37484         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
37485         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
37486         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
37487         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
37488         * sysdeps/sh/nptl/pthreaddef.h: ... here.
37489         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
37490         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
37491         * nptl/sysdeps/sh/tls.h: Moved ...
37492         * sysdeps/sh/nptl/tls.h: ... here.
37493         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
37494         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
37495         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
37496         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
37497         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
37498         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
37499         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
37500         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
37501         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
37502         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
37503         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
37504         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
37505         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
37506         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
37507         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
37508         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
37509         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
37510         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
37511         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
37512         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
37513         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
37514         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
37515         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
37516         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
37517         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
37518         Moved ...
37519         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
37520         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
37521         Moved ...
37522         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
37523         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
37524         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
37525         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
37526         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
37527         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
37528         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
37529         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
37530         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
37531         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
37532         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
37533         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
37534         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
37535         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
37536         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
37537         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
37538         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
37539         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
37540         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
37542 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
37544         * posix/spawn_faction_addopen.c: Include string.h.
37546 2014-06-11  Roland McGrath  <roland@hack.frob.com>
37548         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
37549         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
37550         * nptl/sysdeps/x86_64/Makefile: Moved ...
37551         * sysdeps/x86_64/nptl/Makefile: ... here.
37552         * nptl/sysdeps/x86_64/configure: Moved ...
37553         * sysdeps/x86_64/nptl/configure: ... here.
37554         * nptl/sysdeps/x86_64/configure.ac: Moved ...
37555         * sysdeps/x86_64/nptl/configure.ac: ... here.
37556         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
37557         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
37558         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
37559         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
37560         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
37561         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
37562         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
37563         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
37564         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
37565         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
37566         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
37567         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
37568         * nptl/sysdeps/x86_64/tls.h: Moved ...
37569         * sysdeps/x86_64/nptl/tls.h: ... here.
37570         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
37571         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
37572         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
37573         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
37575         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
37577 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37579         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37581 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
37583         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
37584         type.
37585         [POSIX] (off_t): Likewise.
37586         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
37587         [POSIX] (S_ISBLK): Require macro.
37588         [POSIX] (S_ISCHR): Likewise.
37589         [POSIX] (S_ISDIR): Likewise.
37590         [POSIX] (S_ISFIFO): Likewise.
37591         [POSIX] (S_ISREG): Likewise.
37592         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
37593         optional-macro.
37594         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
37595         type.
37596         [POSIX] (time_t): Likewise.
37597         [POSIX] (timer_t): Likewise.
37599 2014-06-11  Florian Weimer  <fweimer@redhat.com>
37601         [BZ #17048]
37602         * posix/spawn_int.h (struct __spawn_action): Make the path string
37603         non-const to support deallocation.
37604         * posix/spawn_faction_addopen.c
37605         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
37606         * posix/spawn_faction_destroy.c
37607         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
37608         path in all spawn_do_open actions.
37609         * posix/tst-spawn.c (do_test): Exercise the copy operation in
37610         posix_spawn_file_actions_addopen.
37612 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
37614         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
37615         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
37616         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
37617         conditional code always true.
37618         (__libc_vfork): New alias.
37620 2014-06-11  Roland McGrath  <roland@hack.frob.com>
37622         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37623         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
37625         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
37627         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37628         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
37630         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
37631         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
37633         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37634         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
37636 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37638         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
37639         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
37640         multiarch strcmp for PPC64.
37641         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
37642         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
37643         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
37644         multiarch optimizations.
37645         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37646         (__libc_ifunc_impl_list): Likewise.
37648 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37650         * benchtests/scripts/validate_benchout.py: New script.
37651         * benchtests/Makefile (bench-func): Call it.
37652         * benchtests/scripts/benchout.schema.json: New file.
37654 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
37656         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
37657         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
37658         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
37659         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
37660         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
37661         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
37662         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
37663         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
37664         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
37665         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
37666         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
37667         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
37668         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
37669         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
37670         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
37671         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
37672         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
37673         Moved ...
37674         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
37675         ... here.
37676         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
37677         Moved ...
37678         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
37679         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
37680         Moved ...
37681         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
37682         ... here.
37683         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
37684         Moved ...
37685         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
37686         ... here.
37687         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
37688         Moved ...
37689         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
37690         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
37691         Moved ...
37692         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
37693         ... here.
37694         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
37695         Moved ...
37696         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
37697         ... here.
37698         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
37699         Moved ...
37700         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
37701         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
37702         Moved ...
37703         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
37704         ... here.
37705         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
37706         Moved ...
37707         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
37708         ... here.
37709         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
37710         Moved ...
37711         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
37712         ... here.
37713         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
37714         Moved ...
37715         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
37716         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
37717         Moved ...
37718         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
37719         ... here.
37720         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
37721         Moved ...
37722         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
37723         ... here.
37724         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
37725         Moved ...
37726         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
37727         ... here.
37728         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
37729         Moved ...
37730         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
37731         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
37732         Moved ...
37733         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
37734         ... here.
37735         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
37736         Moved ...
37737         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
37738         ... here.
37739         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
37740         Moved ...
37741         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
37742         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
37743         Moved ...
37744         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
37745         ... here.
37746         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
37747         Moved ...
37748         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
37749         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
37750         Moved ...
37751         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
37752         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
37753         Moved ...
37754         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
37755         ... here.
37756         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
37757         Moved ...
37758         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
37759         ... here.
37760         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
37761         Moved ...
37762         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
37763         ... here.
37764         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
37765         Moved ...
37766         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
37767         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
37768         Moved ...
37769         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
37770         ... here.
37771         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
37772         Moved ...
37773         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
37774         ... here.
37775         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
37776         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
37777         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
37778         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
37779         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
37780         Moved ...
37781         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
37782         ... here.
37783         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
37784         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
37785         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
37786         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
37787         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
37788         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
37789         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
37790         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
37791         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
37792         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
37793         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
37794         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
37795         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
37796         Moved ...
37797         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
37798         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
37799         Moved ...
37800         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
37801         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
37802         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
37803         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
37804         Moved ...
37805         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
37806         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
37807         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
37808         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
37809         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
37810         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
37811         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
37813 2014-06-10  Wilco  <wdijkstr@arm.com>
37815         * math/test-fenv-return.c: New file.
37816         * math/Makefile: Add new test test-fenv-return.
37818 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
37820         [BZ #17042]
37821         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
37822         when x - 1 is zero.
37823         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
37824         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
37825         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
37826         0.0L for an argument of 1.0L.
37827         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
37828         Likewise.
37829         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
37830         value when x - 1 is zero.
37831         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
37832         * sysdeps/i386/fpu/libm-test-ulps: Update.
37833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37835 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
37837         [BZ #15119]
37838         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
37840 2014-06-09  Roland McGrath  <roland@hack.frob.com>
37842         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
37843         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
37845 2014-06-09  Roland McGrath  <roland@hack.frob.com>
37847         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37848         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
37850         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37851         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
37853         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37854         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
37856         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37857         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
37859         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
37860         if not already defined.
37861         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
37862         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
37863         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
37864         (TLS_INIT_TP): Use it.
37865         (TLS_DEFINE_INIT_TP): New macro.
37866         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
37868 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
37870         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
37871         constant.
37872         [POSIX] (IXANY): Likewise.
37873         [POSIX] (OLCUC): Likewise.
37874         [POSIX || POSIX2008] (CBAUD): Do not allow.
37875         [POSIX || POSIX2008] (DEFECHO): Likewise.
37876         [POSIX || POSIX2008] (ECHOCTL): Likewise.
37877         [POSIX || POSIX2008] (ECHOKE): Likewise.
37878         [POSIX || POSIX2008] (ECHOPRT): Likewise.
37879         [POSIX || POSIX2008] (EXTA): Likewise.
37880         [POSIX || POSIX2008] (EXTB): Likewise.
37881         [POSIX || POSIX2008] (FLUSHO): Likewise.
37882         [POSIX || POSIX2008] (LOBLK): Likewise.
37883         [POSIX || POSIX2008] (PENDIN): Likewise.
37884         [POSIX || POSIX2008] (SWTCH): Likewise.
37885         [POSIX || POSIX2008] (VDISCARD): Likewise.
37886         [POSIX || POSIX2008] (VDSUSP): Likewise.
37887         [POSIX || POSIX2008] (VLNEXT): Likewise.
37888         [POSIX || POSIX2008] (VREPRINT): Likewise.
37889         [POSIX || POSIX2008] (VSTATUS): Likewise.
37890         [POSIX || POSIX2008] (VWERASE): Likewise.
37891         (B*): Change to B[0123456789]*.
37892         * conform/data/time.h-data [POSIX || UNIX98]
37893         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
37894         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
37895         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
37896         [POSIX] (tm_*): Do not allow.
37898 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
37900         * Makefile (install): Don't set LANGUAGE.
37901         * Makefile.in (install): Likewise.
37902         * assert/Makefile (test-assert-ENV): Remove variable.
37903         (test-assert-perr-ENV): Likewise.
37904         * elf/Makefile (neededtest4-ENV): Likewise.
37905         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
37906         [$(cross-compiling) = no]: Don't set LANGUAGE.
37907         * io/ftwtest-sh (LANG): Remove variable.
37908         * libio/Makefile (tst-widetext-ENV): Likewise.
37909         * manual/install.texi (Running make install): Don't refer to
37910         environment settings for make install.
37911         * INSTALL: Regenerated.
37912         * nptl/tst-tls6.sh: Don't set LANG.
37913         * posix/globtest.sh (LANG): Remove variable.
37914         * string/Makefile (tester-ENV): Likewise.
37915         (inl-tester-ENV): Likewise.
37916         (noinl-tester-ENV): Likewise.
37917         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
37918         [$(cross-compiling) = no]: Don't set LANGUAGE.
37919         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
37920         without explicit environment settings.
37922 2014-06-06  Roland McGrath  <roland@hack.frob.com>
37924         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
37925         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
37926         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
37927         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
37929 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
37931         * crypt/crypt-private.h [DOS]: Add some includes taken from the
37932         other files in the crypt directory.
37933         * crypt/crypt.c: Remove duplicate includes.
37934         * crypt/crypt-entry.c: Likewise.
37935         * crypt/crypt_util.c: Likewise.
37937 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
37939         * Makeconfig (run-program-env): New variable.
37940         (run-program-prefix-before-env): Likewise.
37941         (run-program-prefix-after-env): Likewise.
37942         (run-program-prefix): Define in terms of new variables.
37943         (built-program-cmd-before-env): New variable.
37944         (built-program-cmd-after-env): Likewise.
37945         (built-program-cmd): Define in terms of new variables.
37946         (test-program-prefix-before-env): New variable.
37947         (test-program-prefix-after-env): Likewise.
37948         (test-program-prefix): Define in terms of new variables.
37949         (test-program-cmd-before-env): New variable.
37950         (test-program-cmd-after-env): Likewise.
37951         (test-program-cmd): Define in terms of new variables.
37952         * Rules (make-test-out): Use $(run-program-env).
37953         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
37954         (help): Do not mention environment variables.  Mention
37955         --timeoutfactor option.
37956         (timeoutfactor): New variable.
37957         (blacklist_exports): Remove function.
37958         (exports): Remove variable.
37959         (command): Do not include ${exports}.
37960         * manual/install.texi (Configuring and compiling): Do not mention
37961         test wrappers preserving environment variables.  Mention that last
37962         assignment to a variable must take precedence.
37963         * INSTALL: Regenerated.
37964         * benchtests/Makefile (run-bench): Use $(run-program-env).
37965         * catgets/Makefile ($(objpfx)test1.cat): Use
37966         $(built-program-cmd-before-env), $(run-program-env) and
37967         $(built-program-cmd-after-env).
37968         ($(objpfx)test2.cat): Do not specify environment variables
37969         explicitly.
37970         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
37971         $(run-program-env) and $(built-program-cmd-after-env).
37972         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
37973         $(run-program-env) and $(test-program-cmd-after-env).
37974         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
37975         explicitly.
37976         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
37977         run_program_env and test_program_cmd_after_env arguments.
37978         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
37979         * elf/tst-pathopt.sh: Use run_program_env argument.
37980         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
37981         $(test-wrapper-env) and $(run-program-env).
37982         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
37983         run_program_env arguments.
37984         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
37985         * intl/Makefile ($(objpfx)tst-gettext.out): Use
37986         $(test-program-prefix-before-env), $(run-program-env) and
37987         $(test-program-prefix-after-env).
37988         ($(objpfx)tst-gettext2.out): Likewise.
37989         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
37990         run_program_env and test_program_prefix_after_env arguments.
37991         * intl/tst-gettext2.sh: Likewise.
37992         * intl/tst-gettext4.sh: Do not set environment variables
37993         explicitly.
37994         * intl/tst-gettext6.sh: Likewise.
37995         * intl/tst-translit.sh: Likewise.
37996         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
37997         $(test-program-prefix-before-env), $(run-program-env) and
37998         $(test-program-prefix-after-env).
37999         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
38000         run_program_env and test_program_prefix_after_env arguments.
38001         * math/Makefile (run-regen-ulps): Use $(run-program-env).
38002         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
38003         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
38004         explicitly with each use of ${test_wrapper_env}.
38005         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
38006         $(test-program-prefix-before-env), $(run-program-env) and
38007         $(test-program-prefix-after-env).
38008         * posix/tst-getconf.sh: Do not set environment variables
38009         explicitly.
38010         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
38011         run_program_env and test_program_prefix_after_env arguments.
38012         * stdio-common/tst-printf.sh: Do not set environment variables
38013         explicitly.
38014         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
38015         $(test-program-prefix-before-env), $(run-program-env) and
38016         $(test-program-prefix-after-env).
38017         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
38018         run_program_env and test_program_prefix_after_env arguments.
38019         Split $test calls into $test_pre and $test.
38020         * timezone/Makefile (build-testdata): Use
38021         $(built-program-cmd-before-env), $(run-program-env) and
38022         $(built-program-cmd-after-env).
38024 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38026         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
38027         strlen for non SHARED builds.
38029 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
38031         * nptl/allocatestack.c (check_list): Inlined function...
38032         (__reclaim_stacks): ... here.
38034 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
38036         [BZ #15698]
38037         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
38038         memory overrun.
38040 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
38042         * Rules (make-test-out): Include
38043         LOCPATH=$(common-objpfx)localedata in default environment.
38044         * debug/Makefile (tst-chk1-ENV): Remove variable.
38045         (tst-chk2-ENV): Likewise.
38046         (tst-chk3-ENV): Likewise.
38047         (tst-chk4-ENV): Likewise.
38048         (tst-chk5-ENV): Likewise.
38049         (tst-chk6-ENV): Likewise.
38050         (tst-lfschk1-ENV): Likewise.
38051         (tst-lfschk2-ENV): Likewise.
38052         (tst-lfschk3-ENV): Likewise.
38053         (tst-lfschk4-ENV): Likewise.
38054         (tst-lfschk5-ENV): Likewise.
38055         (tst-lfschk6-ENV): Likewise.
38056         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
38057         (tst-iconv7-ENV): Likewise.
38058         * intl/Makefile (LOCPATH-ENV): Likewise.
38059         (tst-codeset-ENV): Likewise.
38060         (tst-gettext3-ENV): Likewise.
38061         (tst-gettext5-ENV): Likewise.
38062         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
38063         (tst-fopenloc-ENV): Likewise.
38064         (tst-fgetws-ENV): Remove variable.
38065         (tst-ungetwc1-ENV): Likewise.
38066         (tst-ungetwc2-ENV): Likewise.
38067         (bug-ungetwc2-ENV): Likewise.
38068         (tst-swscanf-ENV): Likewise.
38069         (bug-ftell-ENV): Likewise.
38070         (tst-fgetwc-ENV): Likewise.
38071         (tst-fseek-ENV): Likewise.
38072         (tst-ftell-partial-wide-ENV): Likewise.
38073         (tst-ftell-active-handler-ENV): Likewise.
38074         (tst-ftell-append-ENV): Likewise.
38075         * posix/Makefile (tst-fnmatch-ENV): Likewise.
38076         (tst-regexloc-ENV): Likewise.
38077         (bug-regex1-ENV): Likewise.
38078         (tst-regex-ENV): Likewise.
38079         (tst-regex2-ENV): Likewise.
38080         (bug-regex5-ENV): Likewise.
38081         (bug-regex6-ENV): Likewise.
38082         (bug-regex17-ENV): Likewise.
38083         (bug-regex18-ENV): Likewise.
38084         (bug-regex19-ENV): Likewise.
38085         (bug-regex20-ENV): Likewise.
38086         (bug-regex22-ENV): Likewise.
38087         (bug-regex23-ENV): Likewise.
38088         (bug-regex25-ENV): Likewise.
38089         (bug-regex26-ENV): Likewise.
38090         (bug-regex30-ENV): Likewise.
38091         (bug-regex32-ENV): Likewise.
38092         (bug-regex33-ENV): Likewise.
38093         (bug-regex34-ENV): Likewise.
38094         (bug-regex35-ENV): Likewise.
38095         (tst-rxspencer-ENV): Likewise.
38096         (tst-rxspencer-no-utf8-ENV): Likewise.
38097         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
38098         (tst-sscanf-ENV): Likewise.
38099         (tst-swprintf-ENV): Likewise.
38100         (tst-swscanf-ENV): Likewise.
38101         (test-vfprintf-ENV): Likewise.
38102         (scanf13-ENV): Likewise.
38103         (bug14-ENV): Likewise.
38104         (tst-grouping-ENV): Likewise.
38105         * stdlib/Makefile (tst-strtod-ENV): Likewise.
38106         (tst-strtod3-ENV): Likewise.
38107         (tst-strtod4-ENV): Likewise.
38108         (tst-strtod5-ENV): Likewise.
38109         (testmb2-ENV): Likewise./
38110         * string/Makefile (tst-strxfrm-ENV): Likewise.
38111         (tst-strxfrm2-ENV): Likewise.
38112         (bug-strcoll1-ENV): Likewise.
38113         (test-strcasecmp-ENV): Likewise.
38114         (test-strncasecmp-ENV): Likewise.
38115         * time/Makefile (tst-strptime-ENV): Likewise.
38116         (tst-ftime_l-ENV): Likewise.
38117         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
38118         (tst-mbrtowc-ENV): Likewise.
38119         (tst-wcrtomb-ENV): Likewise.
38120         (tst-mbrtowc2-ENV): Likewise.
38121         (tst-c16c32-1-ENV): Likewise.
38122         (tst-mbsnrtowcs-ENV): Likewise.
38124 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
38126         * manual/resource.texi (How to get information about the memory
38127         subsystem?): Fix typo.
38128         Reported by Peon de la Parra Ivan <peon@keba.com>
38130 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
38132         [BZ #16882]
38133         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
38134         (pthread_spin_lock): Branch out of spin loop to proper location.
38135         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
38136         (pthread_spin_lock): Likewise.
38138         * nptl/tst-spin4.c: New test.
38139         * nptl/Makefile (tests): Add tst-spin4.
38141 2014-06-03  Andreas Schwab  <schwab@suse.de>
38143         [BZ #15946]
38144         * resolv/res_send.c (send_dg): Reload file descriptor after
38145         calling reopen.
38147 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
38149         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38151 2014-06-03  Richard Henderson  <rth@redhat.com>
38153         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
38154         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
38155         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
38156         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
38157         in the SAVE_PID block.
38158         (__libc_vfork): New alias.
38159         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
38161         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
38162         child in registers, not on the stack.  Remove RESET_PID conditionals.
38163         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
38165 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
38167         * sysdeps/aarch64/libm-test-ulps: Regenerate.
38169 2014-06-03  Wilco  <wdijkstr@arm.com>
38171         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
38172         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
38173         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
38174         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
38175         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
38176         Likewise.
38178 2014-06-03  Wilco  <wdijkstr@arm.com>
38180         * sysdeps/aarch64/fpu/math_private.h
38181         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
38182         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
38183         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
38184         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
38185         Fix declarations.
38187 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38189         * crypt/crypt-private.h: Include ufc-crypt.h.
38190         (__b64_from_24bit): Declare extern.
38191         * crypt/crypt_util.c(__b64_from_24bit): New function.
38192         (b64t): New static const variable.
38193         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
38194         (b64t): Remove variable.
38195         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
38196         * crypt/sha256-crypt.c: Include crypt-private.h.
38197         (b64t): Remove variable.
38198         (__sha256_crypt_r): Remove b64_from_24bit and replace
38199         with __b64_from_24bit.
38200         * crypt/sha512-crypt.c: Likewise.
38202 2014-06-02  Roland McGrath  <roland@hack.frob.com>
38204         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
38205         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
38206         Label the code __libc_vfork rather than __vfork.
38207         [!NOT_IN_libc] (vfork): Define as weak alias.
38208         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
38209         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
38210         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
38212 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
38214         * malloc/malloc.c (malloc_info): Fix format specifier for
38215         n_mmaps.
38217 2014-06-02  Wilco  <wdijkstr@arm.com>
38219         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
38220         FPCR write.
38222 2014-06-02  Wilco  <wdijkstr@arm.com>
38224         [BZ #17009]
38225         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
38226         Rewrite to reduce FPCR/FPSR accesses.
38228 2014-06-01  David S. Miller  <davem@davemloft.net>
38230         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38232 2014-05-31  David S. Miller  <davem@davemloft.net>
38234         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
38235         to occur in round to nearest mode when |x| >= 2.0
38237 2014-05-30  Richard Henderson  <rth@twiddle.net>
38239         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
38240         (PSEUDO_RET_NOERRNO): Remove.
38241         (ret): Don't redefine.
38242         (ret_NOERRNO): Define in terms of ret.
38243         (ret_ERRVAL): Likewise.
38245         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
38246         use of PSEUDO_RET; perform the error check directly.
38248 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
38250         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
38251         with __int128_t.
38253 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38255         * malloc/malloc (malloc_info): Fix formatting.
38257 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38258             Roland McGrath  <roland@hack.frob.com>
38260         * malloc/malloc (malloc_info): Also print mmapped statistics.
38262 2014-05-30  Roland McGrath  <roland@hack.frob.com>
38264         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
38265         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
38267 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
38269         * malloc/malloc.c (malloc_info): Inline mi_arena.
38271 2014-05-29  Richard Henderson  <rth@twiddle.net>
38273         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
38274         Remove comma before expanding ASM_ARGS_##nr.
38275         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
38276         Make _x0 a strict output; make _x8 a strict input; adjust expansion
38277         of ASM_ARGS_##nr.
38278         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
38279         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
38280         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
38281         (ASM_ARGS_1): Add leading comma.
38283         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
38284         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
38285         to __errno_location.
38286         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
38287         Remove the expected plt for __errno_location.
38289         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
38290         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
38291         call to __read_tp.
38293         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
38294         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
38295         it and break it down.
38296         (DOCARGS_0, DOCARGS_1): Do nothing.
38297         (DOCARGS_2): Update to store into the new stack frame.
38298         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
38299         (UNDOCARGS_1): Update to restore from the new stack frame.
38300         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
38301         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
38303         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
38304         (SINGLE_THREAD_P): New parameter for result regno.
38305         (PSEUDO): Update to match; use cbz instead of beq.
38307         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
38308         Use ENTRY to define the _nocancel entry point.  Share the syscall
38309         and syscall error check paths with the cancel path.
38310         (PSEUDO_END): New.
38312         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
38313         whitespace; tabs before and after asm mnemonics.
38315 2014-05-29  Eric Wong  <normalperson@yhbt.net>
38317         [BZ #15132]
38318         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38319         Call fstat64 or stat64 internally, depending on arguments passed.
38320         Replace stat buffer argument with file descriptor argument.
38321         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
38322         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
38323         Pass fd to __internal_statvfs instead of calling fstat64.
38324         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
38325         Pass fd to __internal_statvfs64 instead of calling fstat64.
38326         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
38327         Pass -1 to __internal_statvfs instead of calling stat64.
38328         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
38329         Pass -1 to __internal_statvfs64 instead of calling stat64.
38331 2014-05-28  Roland McGrath  <roland@hack.frob.com>
38333         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
38334         that was previously under [RESET_PID].
38335         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
38337         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
38338         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
38340 2014-05-27  Roland McGrath  <roland@hack.frob.com>
38342         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
38344         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
38345         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
38347 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
38349         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
38351 2014-05-27  Andreas Schwab  <schwab@suse.de>
38353         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
38354         TLS_INIT_TP macro.
38355         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
38356         * elf/rtld.c (init_tls, dl_main): Likewise.
38357         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
38358         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
38359         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
38360         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
38361         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
38362         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
38363         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
38364         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
38365         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
38366         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
38367         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
38368         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
38369         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
38370         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
38371         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
38372         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
38373         * sysdeps/generic/tls.h: Update description.
38375 2014-05-27  Will Newton  <will.newton@linaro.org>
38377         [BZ #16990]
38378         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
38379         and restore r2 rather than just restoring.
38381 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38383         [BZ #16724]
38384         * libio/tst-ftell-append.c: New test case.
38385         * libio/Makefile (tests): Add test case.
38386         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
38387         append mode.
38388         * libio/wfileops.c (do_ftell_wide): Likewise.
38390 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38392         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38394         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
38395         ...
38396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
38397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
38398         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
38399         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
38400         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
38401         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
38402         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
38403         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
38404         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
38405         Moved ...
38406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
38407         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
38408         Moved ...
38409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
38410         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
38411         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
38412         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
38413         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
38414         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
38415         ...
38416         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
38417         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
38418         Moved ...
38419         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
38420         here.
38421         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
38422         ...
38423         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
38424         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
38425         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
38427         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
38428         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
38429         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
38430         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
38432         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
38433         merge into ...
38434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
38435         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
38436         ...
38437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
38438         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
38439         ...
38440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
38441         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
38442         Moved ...
38443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
38444         here.
38445         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
38446         Moved ...
38447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
38448         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
38449         Moved ...
38450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
38452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
38453         conditional [RESET_PID].
38454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
38455         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
38456         removed.
38457         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
38458         removed.
38460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
38461         <tcb-offsets.h>.
38462         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
38463         (__libc_vfork): New strong alias.
38464         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
38465         removed.
38466         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
38467         Removed.
38469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
38470         <tcb-offsets.h>.
38471         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
38472         (__libc_vfork): New strong alias.
38473         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
38474         removed.
38475         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
38476         removed.
38478 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
38480         * malloc/malloc.c (mi_arena): New function.
38481         (malloc_info): Remove nested function mi_arena. Call non-nosted
38482         function mi_arena.
38484 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38486         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
38487         by insrwi.
38488         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
38489         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
38490         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
38491         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
38492         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
38493         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
38494         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
38496 2014-05-26  Andreas Schwab  <schwab@suse.de>
38498         [BZ #16984]
38499         * locale/programs/repertoire.c (repertoire_read): Add slash
38500         between I18NPATH element and file name.
38501         * locale/programs/locfile.c (locfile_read): Likewise.
38503 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
38505         * nptl/pthread_mutexattr_settype.c
38506         (__pthread_mutexattr_settype):
38507         Disable lock elision for PTHREAD_MUTEX_NORMAL.
38509 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
38511         * nptl/tst-mutex5 (do_test):
38512         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
38514 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38516         * benchtests/README: Document 'init' directive.
38517         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
38518         BENCH_INIT.
38519         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
38520         (parse_file): Recognize 'init' directive.
38522 2014-05-26  Kyle McMartin  <kyle@redhat.com>
38524         [BZ #16796]
38525         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
38526         alignment of struct pthread.
38528 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38530         [BZ #16878]
38531         * nscd/netgroupcache.c (addgetnetgrentX): Look for
38532         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
38533         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
38534         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
38536 2014-05-25  Richard Henderson  <rth@twiddle.net>
38538         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
38539         (SINGLE_THREAD_P_PIC): Remove.
38540         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
38541         (SINGLE_THREAD_P_PIC): Remove.
38543         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
38544         branch to syscall error ...
38545         (PSEUDO): ... here.
38546         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
38547         from __local_syscall_error to .Lsyscall_error.
38548         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
38549         (SYSCALL_ERROR): Update label name.
38551         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
38552         Do not use DOARGS/UNDOARGS.
38553         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
38554         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
38555         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
38556         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
38557         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
38559         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
38560         block comment.
38562         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
38563         define if !NOT_IN_libc.
38564         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
38565         define with non-default symbol versions.
38567 2014-05-23  Richard Henderson  <rth@twiddle.net>
38569         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
38570         (vfork, __vfork): Define via compat_symbol.
38572         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
38573         [!HAVE_IFUNC] (vfork_compat): Remove.
38574         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
38576 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
38578         [BZ #16978]
38579         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
38580         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
38581         variable.
38583 2014-05-23  Richard Henderson  <rth@twiddle.net>
38585         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
38586         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
38587         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
38588         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
38590         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
38591         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
38592         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
38593         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
38594         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
38595         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
38596         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
38597         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
38598         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
38599         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
38600         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
38601         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
38602         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
38603         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
38604         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
38605         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
38606         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
38607         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
38608         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
38609         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
38610         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
38611         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
38612         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
38613         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
38614         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
38615         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
38616         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
38617         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
38618         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
38619         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
38620         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
38621         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
38622         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
38623         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
38624         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
38625         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
38626         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
38627         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
38628         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
38629         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
38630         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
38631         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
38632         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
38633         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
38634         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
38635         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
38636         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
38637         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
38638         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
38639         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
38640         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
38641         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
38642         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
38643         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
38644         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
38645         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
38647         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
38648         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
38649         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
38650         before exiting on error.
38651         (__libc_vfork): New strong alias.
38652         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
38653         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
38655         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
38656         that was previously under [RESET_PID].
38657         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
38659         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
38661 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
38663         [BZ #16977]
38664         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
38665         value when x - 1 is zero.
38666         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
38667         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
38668         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
38669         0.0L for an argument of 1.0L.
38670         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
38671         Likewise.
38672         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
38673         value when x - 1 is zero.
38674         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
38675         * sysdeps/i386/fpu/libm-test-ulps: Update.
38676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38678 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
38680         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
38681         alphasort and versionsort.
38683 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38685         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
38686         macro.
38687         [copysignf]: Likewise.
38689 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
38691         * crypt/md5-crypt.c: Fix formatting.
38693 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38695         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
38696         (b64_from_24bit): New function.
38698 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38700         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
38701         libc_hidden_builtin_def to ifunc.
38702         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
38703         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
38705 2014-05-21  Roland McGrath  <roland@hack.frob.com>
38707         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
38708         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
38710 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
38712         * nscd/Depend (linuxthreads): Remove.
38713         (nptl): Add.
38714         * resolv/Depend (linuxthreads): Remove.
38715         * rt/Depend (linuxthreads): Remove.
38717         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
38718         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
38719         $(common-objpfx)elf/.
38720         (link-libc-before-gnulib): Likewise.
38721         (elfobjdir): Remove variable.
38722         * Makefile (install): Use $(elf-objpfx) instead of
38723         $(common-objpfx)elf/.
38724         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
38725         $(elfobjdir)/.
38726         (link-libc-deps): Likewise.
38727         ($(common-objpfx)libc.so): Likewise.
38728         ($(common-objpfx)linkobj/libc.so): Likewise.
38729         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
38730         instead of $(common-objpfx)elf/.
38731         (symbolic-link-list): Likewise.
38732         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
38733         [$(cross-compiling) = no]: Likewise.
38734         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
38735         $(elfobjdir)/.
38736         (static-gnulib-arch): Likewise.
38737         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
38738         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
38739         $(common-objpfx)elf/.
38741 2014-05-21  Richard Henderson  <rth@redhat.com>
38743         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
38744         (SINGLE_THREAD_P): Use the correct width load.  Fold
38745         into the ldr offset.
38747         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
38748         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
38750 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
38752         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
38753         (libgcc_s_resume): Use __attribute_used__.
38754         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
38755         Likewise.
38757 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38759         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
38760         optimization when used with float constants.
38762         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38764 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
38766         [BZ #16915]
38767         * locale/nl_langinfo_l.c: Make direct reference to every
38768         _nl_current_CATEGORY symbol.
38769         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
38770         (tests-static): Add tst-langinfo-static.
38771         (tests-special): Add tst-langinfo-static.out.
38772         ($(objpfx)tst-langinfo.out): Redirect output.
38773         ($(objpfx)tst-langinfo-static.out): New.
38774         * localedata/tst-langinfo.sh: Send output to stdout.
38775         * localedata/tst-langinfo-static.c: New file.
38777         [BZ #16965]
38778         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
38779         when the shift amount is modulo the limb size.
38781 2014-05-20  Richard Henderson  <rth@redhat.com>
38783         [BZ #16967]
38784         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
38785         Change type of sa_flags from unsigned int to int.
38787         [BZ #16966]
38788         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
38790         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
38792 2014-05-20  Will Newton  <will.newton@linaro.org>
38794         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
38795         Test the return value of the system call in the nocancel case.
38797 2014-05-20  Will Newton  <will.newton@linaro.org>
38798             Yvan Roux  <yvan.roux@linaro.org>
38800         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
38801         #include of asm/ptrace.h.
38802         (PTRACE_GET_THREAD_AREA): Remove #undef.
38803         (PTRACE_GETHBPREGS): Likewise.
38804         (PTRACE_SETHBPREGS): Likewise.
38805         (struct user_regs_struct): New structure.
38806         (struct user_fpsimd_struct): New structure.
38807         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
38808         #include of asm/ptrace.h and second #include of sys/user.h.
38809         (PTRACE_GET_THREAD_AREA): Remove #undef.
38810         (PTRACE_GETHBPREGS): Likewise.
38811         (PTRACE_SETHBPREGS): Likewise.
38812         (ELF_NGREG): Use new struct user_regs_struct.
38813         (elf_fpregset_t): Use new struct user_fpsimd_struct.
38815 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38817         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
38818         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
38820 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
38822         [BZ #16958]
38823         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
38824         membar to avoid block loads/stores to overlap previous stores.
38826 2014-05-17  Richard Henderson  <rth@redhat.com>
38828         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
38829         Create the __##syscall_name##_nocancel entry point.
38830         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
38831         Remove; let the sysdep-cancel.h code create it.
38833 2014-05-17  David S. Miller  <davem@davemloft.net>
38835         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
38836         Protect with __USE_GNU.
38837         (TIOCSET_TEMPT): Likewise.
38838         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
38839         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
38840         these are already provided in bits/ioctl-types.h
38842 2014-05-16  Roland McGrath  <roland@hack.frob.com>
38844         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
38845         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
38847         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
38848         Use wait4 regardless of [__NR_waitpid].
38850 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
38852         PR libgcc/60166
38853         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
38854         (_FP_NANSIGN_Q): Set the quiet bit.
38856 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
38858         * benchtests/Makefile
38859         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
38860         not $(common-objpfx)math/libm.so.
38861         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
38862         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
38863         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
38864         $(common-objpfx)dlfcn/libdl.so.
38865         ($(objpfx)tst-audit8): Depend on $(libm), not
38866         $(common-objpfx)math/libm.so.
38867         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
38868         not $(common-objpfx)dlfcn/libdl.so.
38869         * math/Makefile
38870         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
38871         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
38872         [$(build-shared) = yes].
38873         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
38874         $(common-objpfx)nptl/libpthread.so.
38875         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
38876         $(common-objpfx)math/libm.so$(libm.so-version) or
38877         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
38878         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
38879         $(common-objpfx)dlfcn/libdl.so.
38880         * setjmp/Makefile (link-libm): Remove variable.
38881         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
38882         * stdio-common/Makefile (link-libm): Remove variable.
38883         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
38884         * stdlib/Makefile (link-libm): Remove variable.
38885         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
38886         ($(objpfx)tst-strtod-round): Likewise.
38887         ($(objpfx)tst-tininess): Likewise.
38888         ($(objpfx)tst-strtod-underflow): Likewise.
38889         ($(objpfx)tst-strtod6): Likewise.
38890         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
38891         $(libdl), not $(common-objpfx)nptl/libpthread.so and
38892         $(common-objpfx)dlfcn/libdl.so.
38894 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38896         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
38897         BSD terminal modes definitions.
38899 2014-05-16  Roland McGrath  <roland@hack.frob.com>
38901         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
38902         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
38904         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
38905         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
38906         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
38907         Don't do #include_next.
38908         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
38909         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
38910         Don't do #include_next.
38911         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
38912         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
38913         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
38914         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
38916 2014-05-16  Allan McRae  <allan@archlinux.org>
38918         * po/sv.po: Update Swedish translation from translation project.
38920         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
38921         in sed expression.
38923 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
38925         [BZ #16917]
38926         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
38927         errno if the TIOCGPTN ioctl fails with an error different than
38928         EINVAL.
38929         * login/tst-ptsname.c: New file.
38930         * login/Makefile (tests): Add tst-ptsname.
38932         [BZ #16943]
38933         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
38934         and prlimit64.
38936 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38938         [BZ #16849]
38939         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
38940         herrno to return EAI_AGAIN.
38942 2014-05-14  Roland McGrath  <roland@hack.frob.com>
38944         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
38945         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
38946         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
38947         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
38948         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
38949         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
38950         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
38951         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
38952         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
38953         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
38954         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
38955         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
38956         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
38957         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
38958         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
38959         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
38960         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
38961         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
38962         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
38963         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
38964         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
38965         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
38966         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
38967         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
38968         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
38969         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
38970         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
38971         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
38972         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
38973         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
38974         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
38975         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
38976         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
38977         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
38978         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
38979         Moved ...
38980         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
38981         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
38982         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
38983         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
38984         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
38985         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
38986         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
38987         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
38988         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
38989         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
38990         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
38991         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
38992         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
38993         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
38994         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
38995         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
38996         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
38997         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
38998         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
38999         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
39000         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
39001         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
39002         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
39003         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
39004         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
39005         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
39006         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
39007         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
39008         Moved ...
39009         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
39010         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
39011         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
39012         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
39013         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
39014         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
39015         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
39016         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
39017         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
39018         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
39019         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
39020         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
39021         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
39022         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
39023         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
39024         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
39025         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
39026         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
39027         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
39028         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
39029         Moved ...
39030         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
39031         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
39032         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
39034         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
39035         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
39036         (libpthread-sysdep_routines): Add elision-related stuff here instead.
39037         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
39038         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
39039         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
39040         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
39041         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
39042         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
39043         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
39044         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
39045         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
39046         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
39047         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
39048         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
39049         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
39050         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
39051         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
39052         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
39053         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
39054         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
39055         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
39056         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
39057         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
39058         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
39059         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
39060         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
39061         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
39062         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
39063         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
39064         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
39066         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
39067         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
39069         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
39070         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
39071         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
39072         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
39073         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
39074         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
39075         Moved ...
39076         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
39077         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
39078         Moved ...
39079         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
39080         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
39081         Moved ...
39082         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
39083         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
39084         Moved ...
39085         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
39086         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
39087         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
39088         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
39089         Moved ...
39090         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
39091         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
39092         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
39093         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
39094         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
39095         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
39096         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
39097         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
39098         Moved ...
39099         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
39100         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
39101         Moved ...
39102         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
39103         ... here.
39104         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
39105         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
39106         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
39107         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
39108         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
39109         Moved ...
39110         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
39111         ... here.
39112         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
39113         Moved ...
39114         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
39115         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
39116         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
39117         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
39118         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
39119         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
39120         Moved ...
39121         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
39122         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
39123         Moved ...
39124         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
39125         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
39126         Moved ...
39127         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
39128         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
39129         Moved ...
39130         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
39131         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
39132         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
39133         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
39134         Moved ...
39135         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
39136         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
39137         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
39138         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
39139         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
39140         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
39141         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
39142         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
39143         Moved ...
39144         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
39145         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
39146         Moved ...
39147         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
39148         ... here.
39149         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
39150         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
39151         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
39152         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
39153         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
39154         Moved ...
39155         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
39156         ... here.
39157         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
39158         Moved ...
39159         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
39160         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
39161         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
39162         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
39163         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
39164         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
39165         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
39166         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
39167         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
39168         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
39169         Moved ...
39170         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
39171         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
39172         Moved ...
39173         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
39174         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
39175         Moved ...
39176         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
39177         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
39178         Moved ...
39179         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
39180         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
39181         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
39182         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
39183         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
39184         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
39185         Moved ...
39186         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
39187         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
39188         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
39189         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
39190         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
39191         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
39192         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
39193         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
39194         Moved ...
39195         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
39196         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
39197         Moved ...
39198         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
39199         ... here.
39200         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
39201         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
39202         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
39203         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
39204         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
39205         Moved ...
39206         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
39207         ... here.
39208         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
39209         Moved ...
39210         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
39211         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
39212         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
39213         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
39214         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
39215         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
39216         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
39217         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
39218         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
39219         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
39220         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
39222         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
39223         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
39225         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
39226         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
39228         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
39229         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
39230         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
39231         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
39232         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
39233         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
39234         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
39235         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
39236         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
39237         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
39238         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
39239         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
39240         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
39241         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
39242         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
39243         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
39244         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
39245         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
39246         Moved ...
39247         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
39248         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
39249         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
39250         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
39251         Moved ...
39252         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
39253         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
39254         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
39255         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
39256         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
39257         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
39258         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
39259         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
39260         Moved ...
39261         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
39262         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
39263         Moved ...
39264         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
39265         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
39266         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
39267         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
39268         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
39269         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
39270         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
39271         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
39272         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
39273         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
39274         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
39275         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
39276         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
39277         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
39278         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
39279         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
39280         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
39282         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
39283         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
39284         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
39285         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
39286         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
39288         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
39289         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
39290         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
39291         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
39292         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
39293         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
39294         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
39295         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
39296         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
39297         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
39299         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
39300         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
39302         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
39303         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
39304         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
39305         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
39306         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
39307         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
39308         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
39309         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
39310         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
39311         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
39312         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
39313         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
39314         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
39315         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
39316         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
39317         Update #include.
39318         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
39319         Likewise.
39320         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
39321         Likewise.
39322         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
39323         Likewise.
39324         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
39325         Likewise.
39326         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
39327         Likewise.
39328         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
39329         Likewise.
39330         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
39331         Likewise.
39332         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
39333         Likewise.
39334         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
39335         Likewise.
39336         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
39337         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
39338         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
39339         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
39340         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
39341         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
39342         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
39343         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
39344         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
39345         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
39346         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
39347         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
39348         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
39349         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
39350         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
39352         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
39353         that was previously under [RESET_PID].
39354         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
39355         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
39356         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
39358         * sysdeps/i386/nptl/Implies: New file.
39359         * sysdeps/x86_64/nptl/Implies: New file.
39360         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
39361         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
39362         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
39363         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
39365         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
39366         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
39367         (__libc_vfork): New strong alias.
39368         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
39369         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
39371         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
39372         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
39373         (__libc_vfork): New strong alias.
39374         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
39375         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
39377         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
39378         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
39379         (__libc_vfork): New strong alias.
39380         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
39381         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
39382         * nptl/pt-vfork.c: New file.
39383         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
39384         (libpthread: GLIBC_2.20): New version set (empty).
39386 2014-05-14  Will Newton  <will.newton@linaro.org>
39388         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
39389         rather than #if.
39391 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
39393         [BZ #16564]
39394         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
39395         arguments with exponent 65 or above.
39396         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
39397         arguments 0x1p113L or above.
39398         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
39399         to arguments 0x1p107L or above.
39400         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
39401         positive arguments with exponent 65 or above.
39402         * math/auto-libm-test-in: Add more tests of log1p.
39403         * math/auto-libm-test-out: Regenerated.
39405         [BZ #16928]
39406         * math/s_cacos.c (__cacos): Ensure zero real part of result from
39407         non-finite arguments is +0.
39408         * math/s_cacosf.c (__cacosf): Likewise.
39409         * math/s_cacosl.c (__cacosl): Likewise.
39410         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
39411         * sysdeps/i386/fpu/libm-test-ulps: Update.
39412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39414         [BZ #16927]
39415         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
39416         value.
39417         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
39418         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
39419         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
39420         for explicit high bit of mantissa when testing for argument equal
39421         to 1.
39422         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
39423         * sysdeps/i386/fpu/libm-test-ulps: Update.
39424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39426         [BZ #16516]
39427         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
39428         (__erf): Scale by 16 instead of 8 in potentially underflowing
39429         case.  Ensure exception if result actually underflows.
39430         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
39431         (__erff): Scale by 16 instead of 8 in potentially underflowing
39432         case.  Ensure exception if result actually underflows.
39433         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
39434         (efx8): Remove variable.
39435         (__erfl): Scale by 16 instead of 8 in potentially underflowing
39436         case.  Ensure exception if result actually underflows.
39437         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
39438         (efx8): Remove variable.
39439         (__erfl): Scale by 16 instead of 8 in potentially underflowing
39440         case.  Ensure exception if result actually underflows.
39441         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
39442         (efx8): Remove variable.
39443         (__erfl): Scale by 16 instead of 8 in potentially underflowing
39444         case.  Ensure exception if result actually underflows.
39445         * math/auto-libm-test-in: Add more tests of erf.
39446         * math/auto-libm-test-out: Regenerated.
39448 2014-05-14  Andreas Schwab  <schwab@suse.de>
39450         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
39451         Remove code conditionalized on USE___THREAD.
39453         * config.h.in (HAVE_PT_CHOWN): Define as 0.
39454         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
39455         not definedness.
39457 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
39459         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
39460         Define unconditionally.
39461         (__ASSUME_O_CLOEXEC): Likewise.
39462         (__ASSUME_SOCK_CLOEXEC): Likewise.
39463         (__ASSUME_IN_NONBLOCK): Likewise.
39464         (__ASSUME_PIPE2): Likewise.
39465         (__ASSUME_EVENTFD2): Likewise.
39466         (__ASSUME_SIGNALFD4): Likewise.
39467         (__ASSUME_DUP3): Likewise.
39468         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39469         (__ASSUME_DUP3): Do not define.
39470         (__ASSUME_EVENTFD2): Likewise.
39471         (__ASSUME_IN_NONBLOCK): Likewise.
39472         (__ASSUME_O_CLOEXEC): Likewise.
39473         (__ASSUME_PIPE2): Likewise.
39474         (__ASSUME_SIGNALFD4): Likewise.
39475         (__ASSUME_SOCK_CLOEXEC): Likewise.
39476         (__ASSUME_UTIMES): Undefine.
39477         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39478         (__ASSUME_UTIMES): Do not define.
39479         (__ASSUME_O_CLOEXEC): Likewise.
39480         (__ASSUME_SOCK_CLOEXEC): Likewise.
39481         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
39482         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
39483         0x020621].
39484         (__ASSUME_PIPE2): Likewise.
39485         (__ASSUME_EVENTFD2): Likewise.
39486         (__ASSUME_SIGNALFD4): Likewise.
39487         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
39488         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
39489         Do not define.
39490         (__ASSUME_EVENTFD2): Likewise.
39491         (__ASSUME_SIGNALFD4): Likewise.
39492         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
39493         (__ASSUME_32BITUIDS): Likewise.
39494         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
39495         (__ASSUME_IPC64): Likewise.
39496         (__ASSUME_ST_INO_64_BIT): Likewise.
39497         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
39498         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
39499         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39500         (__ASSUME_UTIMES): Do not define.
39501         (__ASSUME_PSELECT): Likewise.
39502         (__ASSUME_PPOLL): Likewise.
39503         (__ASSUME_O_CLOEXEC): Likewise.
39504         (__ASSUME_SOCK_CLOEXEC): Likewise.
39505         (__ASSUME_IN_NONBLOCK): Likewise.
39506         (__ASSUME_PIPE2): Likewise.
39507         (__ASSUME_EVENTFD2): Likewise.
39508         (__ASSUME_SIGNALFD4): Likewise.
39509         (__ASSUME_DUP3): Likewise.
39510         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
39511         (__ASSUME_UTIMES): Likewise.
39512         (__ASSUME_O_CLOEXEC): Likewise.
39513         (__ASSUME_SOCK_CLOEXEC): Likewise.
39514         (__ASSUME_IN_NONBLOCK): Likewise.
39515         (__ASSUME_PIPE2): Likewise.
39516         (__ASSUME_EVENTFD2): Likewise.
39517         (__ASSUME_SIGNALFD4): Likewise.
39518         (__ASSUME_DUP3): Likewise.
39519         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39520         (__ASSUME_UTIMES): Likewise.
39521         (__ASSUME_O_CLOEXEC): Likewise.
39522         (__ASSUME_SOCK_CLOEXEC): Likewise.
39523         (__ASSUME_IN_NONBLOCK): Likewise.
39524         (__ASSUME_PIPE2): Likewise.
39525         (__ASSUME_EVENTFD2): Likewise.
39526         (__ASSUME_SIGNALFD4): Likewise.
39527         (__ASSUME_DUP3): Likewise.
39528         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
39529         Likewise.
39530         (__ASSUME_UTIMES): Likewise.
39531         (__ASSUME_EVENTFD2): Likewise.
39532         (__ASSUME_SIGNALFD4): Likewise.
39533         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39534         (__ASSUME_O_CLOEXEC): Likewise.
39535         (__ASSUME_SOCK_CLOEXEC): Likewise.
39536         (__ASSUME_IN_NONBLOCK): Likewise.
39537         (__ASSUME_PIPE2): Likewise.
39538         (__ASSUME_EVENTFD2): Likewise.
39539         (__ASSUME_SIGNALFD4): Likewise.
39540         (__ASSUME_DUP3): Likewise.
39541         (__ASSUME_UTIMES): Undefine.
39543         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
39544         feclearexcept.  Remove symbol versioning code.
39545         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
39546         symbol versioning code.
39547         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
39548         symbol versioning code.
39549         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
39550         feupdateenv.  Remove symbol versioning code.
39551         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
39552         fegetexceptflag.  Remove symbol versioning code.
39553         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
39554         fesetexceptflag.  Remove symbol versioning code.
39555         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
39556         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
39557         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
39558         (__posix_fadvise64_l32): Remove prototype.
39559         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
39560         code.
39562 2014-05-13  Roland McGrath  <roland@hack.frob.com>
39564         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
39565         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
39566         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
39567         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
39569 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
39571         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
39572         current working directory
39574 2014-05-13  Roland McGrath  <roland@hack.frob.com>
39576         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
39577         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
39578         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
39579         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
39580         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
39581         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
39582         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
39583         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
39584         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
39585         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
39586         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
39587         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
39588         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
39589         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
39590         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
39591         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
39592         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
39593         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
39594         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
39595         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
39596         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
39597         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
39598         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
39599         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
39600         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
39601         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
39602         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
39603         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
39604         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
39605         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
39606         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
39607         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
39608         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
39609         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
39610         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
39611         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
39612         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
39613         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
39614         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
39615         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
39616         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
39617         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
39619         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
39620         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
39622         * sysdeps/unix/sysv/linux/arm/Makefile
39623         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
39624         Add rt-aeabi_unwind_cpp_pr1.
39625         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
39626         Add nptl-aeabi_unwind_cpp_pr1.
39627         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
39628         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
39629         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
39630         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
39631         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
39632         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
39634         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
39635         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
39636         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
39637         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
39639         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
39640         Deconditionalize the code that was previously under [RESET_PID].
39641         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
39643         * sysdeps/generic/exit-thread.h: New file.
39644         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
39645         * include/unistd.h (__exit_thread): Remove declaration.
39646         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
39647         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
39648         * csu/libc-start.c: Include <exit-thread.h>.
39649         (LIBC_START_MAIN): Pass no argument to __exit_thread.
39650         * nptl/pthread_create.c: Include <exit-thread.h>.
39651         (start_thread): Call __exit_thread in place of __exit_thread_inline.
39652         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
39653         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
39654         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
39655         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
39656         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
39657         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
39658         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
39659         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
39660         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
39661         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
39662         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
39663         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
39664         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
39665         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
39666         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
39667         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
39669 2014-05-13  Andreas Schwab  <schwab@suse.de>
39671         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
39673 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
39675         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
39676         (__ASSUME_UTIMES): Do not condition on kernel version.
39677         (__ASSUME_PSELECT): Define unconditionally.
39678         (__ASSUME_PPOLL): Likewise.
39679         (__ASSUME_ATFCTS): Likewise.
39680         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
39681         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
39682         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
39683         (__ASSUME_UTIMENSAT): Define unconditionally.
39684         (__ASSUME_PRIVATE_FUTEX): Likewise.
39685         (__ASSUME_FALLOCATE): Likewise.
39686         (__ASSUME_O_CLOEXEC): Likewise.
39687         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
39688         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
39689         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
39690         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
39691         (__ASSUME_IN_NONBLOCK): Likewise.
39692         (__ASSUME_PIPE2): Likewise.
39693         (__ASSUME_EVENTFD2): Likewise.
39694         (__ASSUME_SIGNALFD4): Likewise.
39695         (__ASSUME_DUP3): Likewise.
39696         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
39697         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
39698         (__ASSUME_AT_RANDOM): Likewise.
39699         (__ASSUME_PREADV): Likewise.
39700         (__ASSUME_PWRITEV): Likewise.
39701         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
39702         (__ASSUME_F_GETOWN_EX): Define unconditionally.
39703         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
39704         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
39705         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
39706         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39707         (__ASSUME_O_CLOEXEC): Define unconditionally.
39708         (__ASSUME_PSELECT): Do not undefine conditionally.
39709         (__ASSUME_PPOLL): Likewise.
39710         (__ASSUME_ATFCTS): Likewise.
39711         (__ASSUME_SET_ROBUST_LIST): Likewise.
39712         (__ASSUME_UTIMENSAT): Likewise.
39713         (__ASSUME_FDATASYNC): Define unconditionally.
39714         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39715         (__ASSUME_SIGFRAME_V2): Likewise.
39716         )__ASSUME_EVENTFD2): Likewise.
39717         (__ASSUME_SIGNALFD4): Likewise.
39718         (__ASSUME_PSELECT): Do not undefine conditionally.
39719         (__ASSUME_PPOLL): Likewise.
39720         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39721         (__ASSUME_PSELECT): Define unconditionally.
39722         (__ASSUME_PPOLL): Likewise.
39723         (__ASSUME_O_CLOEXEC): Likewise.
39724         (__ASSUME_SOCK_CLOEXEC): Likewise.
39725         (__ASSUME_IN_NONBLOCK): Likewise.
39726         (__ASSUME_PIPE2): Likewise.
39727         (__ASSUME_EVENTFD2): Likewise.
39728         (__ASSUME_SIGNALFD4): Likewise.
39729         (__ASSUME_DUP3): Likewise.
39730         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
39731         (__ASSUME_O_CLOEXEC): Likewise.
39732         (__ASSUME_SOCK_CLOEXEC): Likewise.
39733         (__ASSUME_IN_NONBLOCK): Likewise.
39734         (__ASSUME_PIPE2): Likewise.
39735         (__ASSUME_EVENTFD2): Likewise.
39736         (__ASSUME_SIGNALFD4): Likewise.
39737         (__ASSUME_DUP3): Likewise.
39738         * sysdeps/unix/sysv/linux/mips/kernel-features.h
39739         (__ASSUME_EVENTFD2): Likewise.
39740         (__ASSUME_SIGNALFD4): Likewise.
39741         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
39743 2014-05-12  Andreas Schwab  <schwab@suse.de>
39745         [BZ #16932]
39746         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
39747         (_nss_nis_gethostbyname4_r): Return error if item length is larger
39748         than maximum RPC packet size.
39749         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
39750         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
39751         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
39752         (_nss_nis_getservbyport_r): Likewise.
39754 2014-05-12  Will Newton  <will.newton@linaro.org>
39756         * malloc/Makefile (tests): Add tst-mallopt.
39757         * malloc/tst-mallopt.c: New file.
39759 2014-05-09  Roland McGrath  <roland@hack.frob.com>
39761         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
39762         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
39764 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39766         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
39767         (tst-tlsmod6.so): Likewise.
39769 2014-05-09  Roland McGrath  <roland@hack.frob.com>
39771         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
39773 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
39775         [BZ #16064]
39776         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
39777         and <dl-procinfo.h>.
39778         (__fegetenv): Save SSE state in envp->__eip if supported.
39779         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
39780         envp->__eip if supported.
39781         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
39782         and <dl-procinfo.h>.
39783         (__fesetenv): Always set __eip, __cs_selector, __opcode,
39784         __data_offset and __data_selector in environment to 0.  Set SSE
39785         state if supported.
39786         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
39787         test-fenv-sse.
39788         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
39789         -mfpmath=sse.
39790         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
39792 2014-05-09  Will Newton  <will.newton@linaro.org>
39794         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
39795         and libc_relro_required for ARM.
39796         * sysdeps/arm/preconfigure: Regenerate.
39798 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
39799             Stefan Liebler  <stli@linux.vnet.ibm.com>
39801         * config.make.in (enable-lock-elision): New Makefile variable.
39802         * configure.ac: Likewise.
39803         * configure: Regenerate.
39804         * sysdeps/s390/configure.ac:
39805         Add check for gcc transactions support.
39806         * sysdeps/s390/configure: Regenerate.
39807         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
39808         Build elision files if enabled.
39809         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
39810         Add lock elision support for s390.
39811         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
39812         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
39813         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
39814         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
39815         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
39816         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
39817         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
39818         Likewise.
39819         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
39820         Likewise.
39821         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
39822         Likewise.
39823         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
39824         Likewise.
39825         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
39826         (__lll_timedlock_elision, __lll_lock_elision)
39827         (__lll_unlock_elision, __lll_trylock_elision)
39828         (lll_timedlock_elision, lll_lock_elision)
39829         (lll_unlock_elision, lll_trylock_elision): Add.
39830         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
39831         (pthread_mutex_t): Add lock elision support for s390.
39833 2014-05-14  Wilco  <wdijkstr@arm.com>
39835         * sysdeps/arm/fclrexcpt.c: Cleanup.
39836         * sysdeps/arm/fedisblxcpt.c: Cleanup.
39837         * sysdeps/arm/feenablxcpt.c: Cleanup.
39838         * sysdeps/arm/fegetenv.c: Cleanup.
39839         * sysdeps/arm/fegetexcept.c: Cleanup.
39840         * sysdeps/arm/fegetround.c: Cleanup.
39841         * sysdeps/arm/feholdexcpt.c: Cleanup.
39842         * sysdeps/arm/fesetenv.c: Cleanup.
39843         * sysdeps/arm/fesetround.c: Cleanup.
39844         * sysdeps/arm/feupdateenv.c: Cleanup.
39845         * sysdeps/arm/fgetexcptflg.c: Cleanup.
39846         * sysdeps/arm/fraiseexcpt.c: Cleanup.
39847         * sysdeps/arm/fsetexcptflg.c: Cleanup.
39848         * sysdeps/arm/ftestexcept.c: Cleanup.
39849         * sysdeps/arm/get-rounding-mode.h: Cleanup.
39850         * sysdeps/arm/setfpucw.c: Cleanup.
39852 2014-05-09  Will Newton  <will.newton@linaro.org>
39854         * sysdeps/arm/armv7/strcmp.S: New file.
39855         * NEWS: Mention addition of ARMv7 optimized strcmp.
39857 2014-05-08  Roland McGrath  <roland@hack.frob.com>
39859         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
39860         look for %.ac rather than %.in.
39862         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
39863         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
39864         * sysdeps/mach/hurd/configure: Regenerated.
39865         * sysdeps/unix/sysv/linux/configure: Regenerated.
39867         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
39869 2014-05-07  Steve Ellcey  <sellcey@mips.com>
39871         [BZ# 16922]
39872         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
39873         (LONG_SUB): Ditto.
39874         (PTR_SUB): Ditto.
39876 2014-05-07  Andreas Schwab  <schwab@suse.de>
39878         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
39879         when skipping over non-matching result from nscd.
39881 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
39883         [BZ #16876]
39884         * nptl/sockperf.c (client): Check socket return value.
39886         [BZ #16877]
39887         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
39888         nscd security class.
39890 2014-05-06  Roland McGrath  <roland@hack.frob.com>
39892         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
39893         * sysdeps/arm/unwind.h: ... here.
39895 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
39897         [BZ# 16916]
39898         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
39899         Define.
39901 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39903         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
39904         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
39905         multiarch strncpy for PPC64.
39906         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
39907         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
39908         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
39909         multiarch optimizations.
39910         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39911         (__libc_ifunc_impl_list): Likewise.
39912         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
39913         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
39914         multiarch stpncpy for PPC64.
39915         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
39916         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
39918 2014-05-06  Andreas Schwab  <schwab@suse.de>
39920         [BZ #16912]
39921         * gmon/mcount.c (_MCOUNT_DECL): Use
39922         atomic_compare_and_exchange_bool_acq instead of
39923         catomic_compare_and_exchange_bool_acq.
39925 2014-05-05  Roland McGrath  <roland@hack.frob.com>
39927         * elf/Makefile (others, install-bin): Remove pldd.
39928         (pldd-modules): Variable removed.
39929         ($(objpfx)pldd): Target removed.
39930         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
39931         (others, install-bin): Append pldd here.
39932         ($(objpfx)pldd): New target.
39934         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
39935         to 0, so the first #if test emitted later doesn't see it undefined.
39936         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
39937         * sysdeps/gnu/errlist.c: Regenerated.
39939 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39941         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
39942         [libc_hidden_builtin_def]: Define to empty value.
39943         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
39944         [libc_hidden_builtin_def]: Likewise.
39945         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
39946         [libc_hidden_builtin_def]: Likewise.
39947         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
39948         [libc_hidden_builtin_def]: Likewise.
39949         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
39950         __redirect_memcpy and define ifunc as default hidden symbol.
39951         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
39952         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
39954 2014-05-04  Adam Conrad  <adconrad@0c3.net>
39956         * locale/iso-4217.def: Reintroduce XDR currency.
39958 2014-05-04  Allan McRae  <allan@archlinux.org>
39960         * po/eo.po: Update Esperanto translation from translation project.
39962 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
39964         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
39965         and FEATURE_INDEX_MAX to 1.
39966         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
39968 2014-05-01  Steve Ellcey  <sellcey@mips.com>
39970         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
39971         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
39972         * iconvdata/big5.c (ONE_DIRECTION): Define.
39973         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
39974         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
39975         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
39976         * iconvdata/cp932.c (ONE_DIRECTION): Define.
39977         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
39978         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
39979         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
39980         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
39981         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
39982         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
39983         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
39984         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
39985         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
39986         * iconvdata/gbk.c (ONE_DIRECTION): Define.
39987         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
39988         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
39989         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
39990         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
39991         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
39992         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
39993         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
39994         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
39995         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
39996         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
39997         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
39998         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
39999         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
40000         * iconvdata/iso646.c (ONE_DIRECTION): Define.
40001         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
40002         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
40003         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
40004         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
40005         * iconvdata/johab.c (ONE_DIRECTION): Define.
40006         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
40007         * iconvdata/sjis.c (ONE_DIRECTION): Define.
40008         * iconvdata/t.61.c (ONE_DIRECTION): Define.
40009         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
40010         * iconvdata/tscii.c (ONE_DIRECTION): Define.
40011         * iconvdata/uhc.c (ONE_DIRECTION): Define.
40012         * iconvdata/unicode.c (ONE_DIRECTION): Define.
40013         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
40014         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
40015         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
40017 2014-05-01  Roland McGrath  <roland@hack.frob.com>
40019         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
40020         (_IO_JUMPS_OFFSET): Define to 0.
40022         * nptl/sysdeps/pthread/bits/libc-lock.h
40023         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
40024         (__libc_lock_define_initialized_recursive): Always define using
40025         initializer.  Modern compilers treat uninitialized (implicit zero) and
40026         explicit zero initializers the same (i.e. put the datum in bss).
40028 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
40030         * nscd/nscd-client.h: Include <string.h>.
40032 2014-05-01  David S. Miller  <davem@davemloft.net>
40034         [BZ #16885]
40035         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
40036         multiple zero bytes exist at the end of a string.
40037         Reported by Aurelien Jarno <aurelien@aurel32.net>
40039         * string/test-strcmp.c (check): Add explicit test for situations where
40040         there are multiple zero bytes after the first.
40042 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
40044         [BZ #16890]
40045         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
40046         when compiling wprintf.
40047         * stdio-common/tstdiomisc.c (t3): New function.
40048         (main): Call it.
40050 2014-05-01  Steve Ellcey  <sellcey@mips.com>
40052         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
40053         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
40054         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
40055         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
40057 2014-05-01  Steve Ellcey  <sellcey@mips.com>
40059         * stdlib/longlong.h: Updated from GCC.
40061 2014-05-01  Will Newton  <will.newton@linaro.org>
40062             Bernard Ogden  <bernie.ogden@linaro.org>
40064         * NEWS: Update fixed bug list.
40066         [BZ #15119]
40067         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
40069 2014-04-30  David S. Miller  <davem@davemloft.net>
40071         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
40072         (libc_feholdexcept_setround_sparc_ctx): New function.
40073         (libc_fesetenv_sparc_ctx): Likewise.
40074         (libc_feupdateenv_sparc_ctx): Likewise.
40075         (libc_feholdsetround_sparc_ctx): Likewise.
40076         (libc_feholdexcept_setround_ctx): Define.
40077         (libc_feholdexcept_setroundf_ctx): Likewise.
40078         (libc_feholdexcept_setroundl_ctx): Likewise.
40079         (libc_fesetenv_ctx): Likewise.
40080         (libc_fesetenvf_ctx): Likewise.
40081         (libc_fesetenvl_ctx): Likewise.
40082         (libc_feupdateenv_ctx): Likewise.
40083         (libc_feupdateenvf_ctx): Likewise.
40084         (libc_feupdateenvl_ctx): Likewise.
40085         (libc_feresetround_ctx): Likewise.
40086         (libc_feresetroundf_ctx): Likewise.
40087         (libc_feresetroundl_ctx): Likewise.
40088         (libc_feholdsetround_ctx): Likewise.
40089         (libc_feholdsetroundf_ctx): Likewise.
40090         (libc_feholdsetroundl_ctx): Likewise.
40092         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
40093         with __USE_GNU instead of XOPEN cpp guards.
40095         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
40096         0.
40098         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
40099         with XOPEN cpp guards.
40101 2014-04-30  Julian Brown  <julian@codesourcery.com>
40103         [BZ #16888]
40104         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
40105         handling.
40107 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
40109         [BZ #9894]
40110         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
40111         Change to 2.6.32.
40112         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
40113         * sysdeps/unix/sysv/linux/configure: Regenerated.
40114         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
40115         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
40116         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
40117         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
40118         * README: Update reference to required Linux kernel version.
40119         * manual/install.texi (Linux): Update reference to required Linux
40120         kernel headers version.
40121         * INSTALL: Regenerated.
40123         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
40124         header inclusion.
40125         [POSIX] (limits.h): Likewise.
40126         [POSIX] (math.h): Likewise.
40127         [POSIX] (sys/wait.h): Likewise.
40128         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
40129         function.
40130         [POSIX] (stddef.h): Do not allow header inclusion.
40132 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40134         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
40136 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
40138         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
40139         Return immediately after lll_futex_wake.
40141 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40143         [BZ #16791]
40144         * nscd/nscd-client.h (datahead_init_common): Initialize entire
40145         structure.
40146         (datahead_init_pos): Call datahead_init_common early.
40147         (datahead_init_neg): Likewise.
40149         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
40150         datahead_init_neg): New functions.
40151         * nscd/aicache.c (addhstaiX): Use them.
40152         * nscd/grpcache.c (cache_addgr): Likewise.
40153         * nscd/hstcache.c (cache_addhst): Likewise.
40154         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40155         * nscd/netgroupcache.c (do_notfound): Likewise.
40156         (addgetnetgrentX): Likewise.
40157         (addinnetgrX): Likewise.
40158         * nscd/pwdcache.c (cache_addpw): Likewise.
40159         * nscd/servicescache.c (cache_addserv): Likewise.
40161 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40162             Atsushi Onoe  <atsushi@onoe.org>
40164         [BZ #14308]
40165         [BZ #12994]
40166         [BZ #13651]
40167         * resolv/res_query.c (__libc_res_nsearch): Return if at least
40168         one response is valid.
40169         * resolv/res_send.c (send_dg): Check for validity of other
40170         response if the current response is a referral.
40172 2014-04-29  Steve Ellcey  <sellcey@mips.com>
40174         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
40176 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
40178         [BZ #16823]
40179         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
40180         Always divide by positive zero when computing -Inf result.
40181         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
40182         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
40184 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40186         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
40187         FPSCR if value do not change.
40188         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
40189         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
40190         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
40191         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
40192         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
40193         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
40194         function.
40196 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
40198         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
40199         * sysdeps/unix/sysv/linux/hppa: Move directory from
40200         ports/systeps/unix/sysv/linux/hppa.
40201         * README: Update listing for hppa-*-linux-gnu.
40203 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
40205         [BZ #16754]
40206         * manual/stdio.texi (Hook functions): Fix types of stream hook
40207         functions.
40208         [BZ #16854]
40209         * socket/sys/socket.h: Fix typo in comment.
40211 2014-04-28  Wilco  <wdijkstr@arm.com>
40213         * sysdeps/arm/fenv_private.h: New file.
40214         * sysdeps/arm/math_private.h: New file.
40215         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
40217 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
40219         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
40220         with __int128_t.
40221         (La_x86_64_retval): Likewise.
40223 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
40225         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
40226         fpsr if value didn't change.
40227         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
40228         to fpcr if value didn't change.
40229         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
40230         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
40231         fpsr or fpcr if value didn't change.
40232         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
40233         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
40234         fpcr if value didn't change.
40235         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
40236         to fpsr if value didn't change.
40238 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
40240         * nptl/tst-sem3.c: Use test-skeleton.c
40241         (main): Rename to do_test.  Use return instead of
40242         exit.
40243         * nptl/tst-sem4.c: Use test-skeleton.c
40244         (main): Rename to do_test.
40246 2014-04-22  David S. Miller  <davem@davemloft.net>
40248         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
40249         (struct sigaction): New struct member __glibc_reserved0, change
40250         type of sa_flags to int.
40252 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
40254         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
40255         (COUNT_LEADING_ZEROS_0): Define for AArch64.
40257 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
40259         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
40260         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
40262 2014-04-22  Will Newton  <will.newton@linaro.org>
40263             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
40265         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
40266         (__longjmp): Add longjmp and longjmp_target SystemTap
40267         probes.
40268         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
40269         (__sigsetjmp): Add setjmp SystemTap probe.
40271 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
40273         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
40274         match manual order.
40276 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40278         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
40280         * sysdeps/powerpc/fpu/fenv_private.h
40281         (libc_feholdexcept_setroundl_ctx): Define to
40282         libc_feholdexcept_setround_ppc_ctx.
40283         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
40284         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
40285         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
40286         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
40288 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
40290         * sysdeps/aarch64/math-tests.h: New file.
40292 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
40294         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
40295         New.
40296         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40297         Check and set bit_AVX2_Usable.
40298         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
40299         macro.
40300         (bit_AVX2): Likewise.
40301         (index_AVX2_Usable): Likewise.
40302         (CPUID_AVX2): Likewise.
40303         (HAS_AVX2): Likewise.
40305 2014-04-17  Will Newton  <will.newton@linaro.org>
40307         * manual/setjmp.texi (System V contexts): Add note that
40308         calling setcontext on a context created by a call to a
40309         signal handler is undefined.  Update text to note that
40310         setcontext from a signal handler is possible but not
40311         recommended.
40313         [BZ #16629]
40314         * stdlib/tst-setcontext.c: Include signal.h.
40315         (main): Check that the signal stack before and
40316         after swapcontext is the same.
40318         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
40319         Re-implement to restore registers in user code and avoid
40320         rt_sigreturn system call.
40322 2014-04-17  Wilco  <wdijkstr@arm.com>
40324         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
40325         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
40326         * math/test-fenv.c: Skip exception trap tests on targets which only
40327         support non-stop mode.
40329 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
40330             Wilco Dijkstra  <wilco.dijkstra@arm.com>
40332         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
40333         (libc_feholdsetround_aarch64_ctx)
40334         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
40335         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
40336         (libc_feresetround_ctx, libc_feresetroundf_ctx)
40337         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
40338         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
40339         (libc_feresetround_noexl_ctx): Define.
40341 2014-04-16  Richard Henderson  <rth@redhat.com>
40343         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
40345         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
40346         unwind tables.
40348         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
40349         const from the non-libc, non-ldso copy.
40351         * sysdeps/alpha/libm-test-ulps: Regenerate.
40353 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
40354             Wilco Dijkstra  <wilco.dijkstra@arm.com>
40356         * sysdeps/aarch64/fpu/math_private.h: New file.
40358 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
40360         * sysdeps/aarch64/libm-test-ulps: Regenerate.
40362 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
40364         [BZ #16275]
40365         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
40366         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
40367         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
40368         Intel MPX bound registers before _dl_profile_fixup.
40369         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
40370         registers after _dl_profile_fixup.  Save and restore bound
40371         registers bnd0/bnd1 when calling _dl_call_pltexit.
40372         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
40373         (LR_BND_OFFSET): Likewise.
40374         (LRV_BND0_OFFSET): Likewise.
40375         (LRV_BND1_OFFSET): Likewise.
40377 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40379         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
40380         to...
40381         * sysdeps/mach/hurd/i386/tls.h: ... here.
40382         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
40383         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
40384         fields.
40386 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40388         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
40390 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
40392         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40394 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
40396         [BZ #14770]
40397         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
40398         * sysdeps/s390/configure: Regenerate.
40400         [BZ #16824]
40401         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
40402         Set round-to-nearest internally to reduce error accumulation.
40404 2014-04-16  Alan Modra  <amodra@gmail.com>
40406         [BZ #16740]
40407         [BZ #16619]
40408         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
40409         * math/libm-test.inc (frexp_test_data): Add tests.
40410         * NEWS: Update fixed bug list.
40412 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
40414         * benchtests/Makefile: Depend on libraries in build directory.
40415         (bench-math): Separate out math tests.
40416         (bench-pthread): Separate out pthread tests.
40417         (bench): Include math and pthread tests.
40419 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
40421         [BZ #16831]
40422         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
40423         _dl_debug_initialize.
40425         * configure.ac: Remove SELinux header check.
40426         * configure: Regenerate.
40427         * nscd/selinux.c (perms): Array of const char* to permission names.
40428         (nscd_request_avc_has_perm): Call security_deny_unknown to find
40429         default policy. Call string_to_security_class and string_to_av_perm to
40430         translate strings. Enforce default policy and call avs_has_perm with
40431         results of translated strings.
40433 2014-04-13  David S. Miller  <davem@davemloft.net>
40435         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40437 2014-04-12  Allan McRae  <allan@archlinux.org>
40439         [BZ #16838]
40440         * manual/string.texi (Collation Functions): Fix qsort argument
40441         order in example.
40442         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
40444 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
40446         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
40447         Make the test a no-op if there are no exceptions defined.
40449 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
40451         * elf/Makefile (tests): make tst-dlopen-aout conditional on
40452         enable-hardcoded-path-in-tests
40454 2014-04-11  Will Newton  <will.newton@linaro.org>
40456         * benchtests/Makefile (extra-objs): Add json-lib.o.
40457         (bench-func): Tidy up JSON output.
40458         * benchtests/bench-skeleton.c: Include json-lib.h.
40459         (main): Use JSON library functions to do output of
40460         benchmark results.
40461         * benchtests/bench-timing-type.c (main): Output the
40462         timing type simply, leaving formatting to the user.
40463         * benchtests/json-lib.c: New file.
40464         * benchtests/json-lib.h: Likewise.
40466 2014-04-11  Torvald Riegel  <triegel@redhat.com>
40468         [BZ #15215]
40469         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
40470         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
40471         memory barriers.  Add comments.
40472         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
40473         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
40474         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
40475         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
40476         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
40477         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
40479 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
40481         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
40482         * sysdeps/s390/s390-64/configure.ac: ... this ...
40483         * sysdeps/s390/configure.ac: ... to here.
40484         * sysdeps/s390/s390-32/configure: Delete file.
40485         * sysdeps/s390/s390-64/configure: Delete file.
40486         * sysdeps/s390/configure: Regenerate.
40488 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
40490         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
40492 2014-04-11  Will Newton  <will.newton@linaro.org>
40494         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
40495         to zero if it is not defined elsewhere.  (mtrim): Test
40496         the value of MALLOC_DEBUG with #if rather than #ifdef.
40498 2014-04-10 Torvald Riegel  <triegel@redhat.com>
40500         * benchtests/pthread_once-inputs: New file.
40501         * benchtests/pthread_once-source.c: New file.
40502         * benchtests/README: Update documentation.
40504 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
40505             H.J. Lu  <hongjiu.lu@intel.com>
40507         [BZ #16275]
40508         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
40509         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
40510         * sysdeps/x86_64/configure: Regenerated.
40511         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
40512         macro.
40513         (REGISTER_SAVE_RAX): Likewise.
40514         (REGISTER_SAVE_RCX): Likewise.
40515         (REGISTER_SAVE_RDX): Likewise.
40516         (REGISTER_SAVE_RSI): Likewise.
40517         (REGISTER_SAVE_RDI): Likewise.
40518         (REGISTER_SAVE_R8): Likewise.
40519         (REGISTER_SAVE_R9): Likewise.
40520         (REGISTER_SAVE_BND0): Likewise.
40521         (REGISTER_SAVE_BND1): Likewise.
40522         (REGISTER_SAVE_BND2): Likewise.
40523         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
40524         bound registers when calling _dl_fixup.
40526 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40528         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
40529         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
40530         of its definition.
40531         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
40532         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
40533         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
40534         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
40535         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
40536         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
40537         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
40539 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
40541         [BZ #15514]
40542         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
40543         pathconf(_PC_NAME_MAX).
40545 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40547         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
40548         Remove macro usage.
40549         (__PTHREAD_SPINS): Move definition to ...
40550         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
40551         (__PTHREAD_SPINS): ... here.
40552         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
40553         (__PTHREAD_SPIN): Likewise.
40554         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
40555         (__PTHREAD_SPIN): Likewise.
40556         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
40557         (__PTHREAD_SPIN): Likewise.
40558         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
40559         (__PTHREAD_SPIN): Likewise.
40560         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
40561         (__PTHREAD_SPIN): Likewise.
40562         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
40563         (__PTHREAD_SPIN): Likewise.
40564         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
40565         (__PTHREAD_SPIN): Likewise.
40566         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
40567         (__PTHREAD_SPIN): Likewise.
40568         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
40569         (__PTHREAD_SPIN): Likewise.
40570         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
40571         (__PTHREAD_SPIN): Likewise.
40572         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
40573         (__PTHREAD_SPIN): Likewise.
40574         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
40575         (__PTHREAD_SPIN): Likewise.
40577         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
40578         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
40579         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
40580         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
40581         imply folder.
40582         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
40583         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
40584         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
40585         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
40586         correct imply path.
40587         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
40588         strlen symbol for non multi-arch builds.
40589         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
40590         missing hidden_def and weak_alias.
40592 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
40594         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
40596 2014-04-07  Will Newton  <will.newton@linaro.org>
40598         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
40599         and contents.  [!_LIBC] Remove #ifndef and contents.
40600         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
40601         * string/memccpy.c (__memccpy): Use ANSI prototype.
40602         * string/memfrob.c (memfrob): Likewise.
40603         * string/strcoll.c (STRCOLL): Likewise.
40604         * string/strlen.c (strlen): Likewise.
40605         * string/strtok.c (STRTOK): Likewise.
40606         * string/strcat.c: Remove unused #include of memcopy.h.
40607         (strcat): Use ANSI prototype.
40608         * string/strchr.c: Remove unused #include of memcopy.h.
40609         (strchr): Use ANSI prototype.
40610         * string/strcmp.c: Remove unused #include of memcopy.h.
40611         (strcmp): Use ANSI prototype.
40612         * string/strcpy.c: Remove unused #include of memcopy.h.
40613         (strcpy): Use ANSI prototype.
40615 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40617         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
40618         * config.make.in (config-extra-cppflags): Set it from
40619         libc_extra_cppflags.
40620         * configure.ac (libc_extra_cflags): Make it accumulate over
40621         configure fragments.
40622         (libc_extra_cppflags): New flag.
40623         * configure. Regenerate.
40624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
40625         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
40626         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
40627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
40629         [BZ #16815]
40630         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
40631         result for FE_DOWNWARD rounding mode.
40632         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
40633         Likewise.
40634         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40636 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
40638         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
40639         in function argument name.
40641 2014-04-03  David Svoboda  <svoboda@cert.org>
40643         [BZ #5666]
40644         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
40645         explicitly.
40647 2014-04-03  Roland McGrath  <roland@hack.frob.com>
40649         * elf/dl-unmap-segments.h: New file.
40650         * sysdeps/generic/ldsodefs.h
40651         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
40652         * elf/dl-close.c: Include <dl-unmap-segments.h>.
40653         * elf/dl-fptr.c: Likewise.
40654         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
40655         * sysdeps/aarch64/tlsdesc.c: Likewise.
40656         * sysdeps/arm/tlsdesc.c: Likewise.
40657         * sysdeps/i386/tlsdesc.c: Likewise.
40658         * sysdeps/tile/dl-runtime.c: Likewise.
40659         * sysdeps/x86_64/tlsdesc.c: Likewise.
40660         * elf/dl-load.h: New file.
40661         * elf/dl-load.c: Include it.
40662         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
40663         Macros moved to dl-load.h.
40664         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
40665         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
40666         Use _dl_unmap_segments in place of __munmap.
40667         Break out segment-mapping loop into ...
40668         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
40670 2014-04-03  Will Newton  <will.newton@linaro.org>
40672         * elf/dl-lookup.c (do_lookup_x): Remove comment
40673         referring to nested function and move variable
40674         declarations down to before first use.
40676 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
40678         [BZ #16799]
40679         [BZ #16800]
40680         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
40681         with 0 numerator.
40682         * math/s_catanf.c (__catanf): Likewise.
40683         * math/s_catanh.c (__catanh): Likewise.
40684         * math/s_catanhf.c (__catanhf): Likewise.
40685         * math/s_catanhl.c (__catanhl): Likewise.
40686         * math/s_catanl.c (__catanl): Likewise.
40687         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
40688         by positive zero when computing -Inf result.
40689         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
40690         (catanh_test): Likewise.
40691         * sysdeps/i386/fpu/libm-test-ulps: Update.
40692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40694         [BZ #16789]
40695         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
40696         instead of using underflowing value in computing result.
40697         * math/s_clog10.c (__clog10): Likewise.
40698         * math/s_clog10f.c (__clog10f): Likewise.
40699         * math/s_clog10l.c (__clog10l): Likewise.
40700         * math/s_clogf.c (__clogf): Likewise.
40701         * math/s_clogl.c (__clogl): Likewise.
40702         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
40703         (clog10_test): Likewise.
40704         * sysdeps/i386/fpu/libm-test-ulps: Update.
40705         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40707 2014-04-02  Alan Modra  <amodra@gmail.com>
40709         [BZ #16739]
40710         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
40711         output when value is near a power of two.  Use int64_t for lx and
40712         remove casts.  Use decimal rather than hex exponent constants.
40713         Don't use long double multiplication when double will suffice.
40714         * math/libm-test.inc (nextafter_test_data): Add tests.
40715         * NEWS: Add 16739 and 16786 to bug list.
40717         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
40719         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
40721 2014-04-01  Will Newton  <will.newton@linaro.org>
40723         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
40724         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
40726 2014-04-01  Florian Weimer  <fweimer@redhat.com>
40728         [BZ #13347]
40729         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
40730         * nptl/tst-setuid2.c: New file.
40731         * nptl/Makefile (xtests): Add tst-setuid2.
40733 2014-04-01  Alan Modra  <amodra@gmail.com>
40735         [BZ #16786]
40736         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
40738 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
40740         [BZ #6803]
40741         [BZ #6804]
40742         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
40743         set errno as appropriate.
40744         * math/w_scalbf.c (__scalbf): Likewise.
40745         * math/w_scalbl.c (__scalbl): Likewise.
40746         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
40747         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
40748         * math/libm-test.inc (scalb_test_data): Add errno expectations.
40749         Add more NaN tests.
40751         [BZ #16349]
40752         * math/w_atan2.c: Include <errno.h>.
40753         (__atan2): Set errno for result underflowing to zero.
40754         * math/w_atan2f.c: Include <errno.h>.
40755         (__atan2f): Set errno for result underflowing to zero.
40756         * math/w_atan2l.c: Include <errno.h>.
40757         (__atan2l): Set errno for result underflowing to zero.
40758         * math/auto-libm-test-in: Don't allow missing errno for some atan2
40759         tests.
40760         * math/auto-libm-test-out: Regenerated.
40762 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40764         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
40765         Encode instruction correctly in little endian.
40766         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
40767         Likewise.
40768         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
40769         Likewise.
40770         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
40771         Likewise.
40772         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
40773         Likewise.
40775 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
40777         [BZ #9894]
40778         * sysdeps/unix/sysv/linux/kernel-features.h
40779         [__sparc__ && !__arch64__ && !__sparc_v9__]
40780         (__ASSUME_SET_ROBUST_LIST): Do not define.
40781         [__sparc__ && !__arch64__ && !__sparc_v9__]
40782         (__ASSUME_FUTEX_LOCK_PI): Likewise.
40783         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
40784         Likewise.
40785         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40786         (__ASSUME_FUTEX_LOCK_PI): Undefine.
40787         (__ASSUME_REQUEUE_PI): Likewise.
40788         (__ASSUME_SET_ROBUST_LIST): Likewise.
40789         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
40790         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
40791         Undefine.
40792         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40793         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
40794         Likewise.
40795         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
40796         Likewise.
40797         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
40798         Likewise.
40799         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40800         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
40801         Undefine.
40802         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
40803         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
40804         Likewise.
40806         [BZ #16648]
40807         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40808         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
40809         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
40811 2014-03-31  Will Newton  <will.newton@linaro.org>
40813         * benchtests/Makefile (bench): Add ffs and ffsll to list
40814         of tests.
40815         * benchtests/ffs-inputs: New file.
40816         * benchtests/ffsll-inputs: Likewise.
40818 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
40820         [BZ #16770]
40821         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
40822         too large before casting to int.
40823         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
40824         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
40825         * math/libm-test.inc (scalb_test_data): Add more tests.
40827 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40829         * benchtests/Makefile (DETAILED_OPT): New make option.
40830         (bench-func): Run benchmark program with -d if DETAILED_OPT is
40831         set.
40832         * benchtests/bench-skeleton.c: Include stdbool.h.
40833         (main): Store and print timings per input.
40834         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
40835         member to each argument value.
40836         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
40837         (_print_arg_data): Initialize per-input timing to 0.
40839         * benchtests/Makefile (timing-type): New binary.
40840         (bench-clean): Also remove bench-timing-type.
40841         (bench): New target for timing-type.
40842         (bench-func): Print output in JSON format.
40843         * benchtests/bench-skeleton.c (main): Print output in JSON
40844         format.
40845         * benchtests/bench-timing-type.c: New file.
40846         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
40847         (TIMING_PRINT_STATS): Remove.
40848         * benchtests/scripts/bench.py (_print_arg_data): Store variant
40849         name separately.
40851         * benchtests/bench-modf.c: Remove.
40852         * benchtests/modf-inputs: New inputs file.
40854 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
40856         [BZ #16362]
40857         * math/s_clog10.c (M_PI_LOG10E): New macro.
40858         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
40859         imaginary parts are 0.
40860         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
40861         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
40862         imaginary parts are 0.
40863         * math/s_clog10l.c (M_PI_LOG10El): New macro.
40864         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
40865         imaginary parts are 0.
40866         * math/libm-test.inc (clog10_test_data): Update expected results
40867         for when real and imaginary parts are 0.
40869 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
40871         * elf/dl-load.c: Finish conversion of __builtin_expect into
40872         __glibc_{un}likely.
40874 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
40876         [BZ #16348]
40877         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
40878         1+x for argument with exponent below -67.
40879         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
40880         Likewise.
40881         * math/auto-libm-test-in: Add more tests of exp.
40882         * math/auto-libm-test-out: Regenerated.
40884 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40886         [BZ #16759]
40887         * inet/getnetgrent_r.c (get_nonempty_val): New function.
40888         (nscd_getnetgrent): Use it.
40890         [BZ #16760]
40891         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
40892         of stpcpy.
40894 2014-03-27  Andi Kleen  <ak@linux.intel.com>
40896         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
40897         (lll_robust_lock, lll_cond_lock, lll_timedlock)
40898         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
40899         (lll_robust_unlock): Remove out of line section. Use cfi
40900         intrinsics.
40901         (LLL_STUB_UNWIND_INFO*): Remove.
40902         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
40903         (lll_robust_lock, lll_cond_lock, lll_timedlock)
40904         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
40905         (lll_robust_unlock): Remove out of line section. Use cfi
40906         intrinsics.
40907         (LLL_STUB_UNWIND_INFO*): Remove.
40909 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40911         [BZ #16758]
40912         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
40913         blank values.
40915 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
40917         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
40919 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
40921         [BZ #16198]
40922         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
40923         fnstenv.
40924         * math/test-fenv-preserve.c: New file.
40925         * math/Makefile (tests): Add test-fenv-preserve.
40927 2014-03-26  Will Newton <will.newton@linaro.org>
40929         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
40931 2014-03-25  Roland McGrath  <roland@hack.frob.com>
40933         * scripts/versionlist.awk: Partition the version sets and emit all
40934         GLIBC_* (sorted) before all others (sorted).
40936 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
40938         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
40939         GLIBC_2.2.5 version.
40941 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40943         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
40944         calls.
40946         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
40947         previous change.
40949         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40951 2014-03-25  Andreas Schwab  <schwab@suse.de>
40953         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
40954         label to be used after in6ailist is initialized.
40956 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40958         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
40959         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
40961 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
40963         [BZ #16357]
40964         [BZ #16599]
40965         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
40966         min_plus_half.
40967         (fp_formats): Update initializers.
40968         (init_fp_formats): Initialize new field.
40969         (output_for_one_input_case): Allow underflow for results up to
40970         min_plus_half.
40971         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
40972         * math/auto-libm-test-in: Don't mark some underflows from asin and
40973         atanh as spurious.
40974         * math/auto-libm-test-out: Regenerated.
40975         * sysdeps/i386/fpu/libm-test-ulps: Update.
40976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40978 2014-03-25  Andreas Schwab  <schwab@suse.de>
40980         * libio/Makefile (tst-ftell-partial-wide-ENV)
40981         (tst-ftell-active-handler-ENV): Define.
40983 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
40985         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
40987 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
40989         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
40991 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
40993         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
40994         * sysdeps/x86_64/fpu/multiarch/e_exp.c
40995         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
40997 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
40999         [BZ #16634]
41000         * elf/dl-load.c (open_verify): Add mode parameter.
41001         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
41002         (open_path): Change from boolean 'secure' to complete flag 'mode'
41003         (_dl_map_object): Adjust.
41004         * elf/Makefile (tests): Add tst-dlopen-aout.
41005         * elf/tst-dlopen-aout.c: New test.
41007 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
41009         [BZ #16714]
41010         * sysdeps/unix/sysv/linux/s390/bits/stat.h
41011         (struct stat): Rename member pad0 to __glibc_reserved0.
41013         [BZ #16712]
41014         * sysdeps/s390/s390-32/bits/wordsize.h
41015         (__WORDSIZE32_SIZE_ULONG): New define.
41016         * sysdeps/s390/s390-64/bits/wordsize.h
41017         (__WORDSIZE32_SIZE_ULONG): Likewise.
41018         * sysdeps/generic/stdint.h (SIZE_MAX):
41019         Define as UL if __WORDSIZE32_SIZE_ULONG.
41021         [BZ #16713]
41022         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
41023         (__glibc_reserved0): New variable.
41024         (sa_flags): Change type to int.
41026         * posix/Makefile (before-compile): Use += before-compile instead
41027         of a :=.
41029         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
41030         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
41032 2014-03-20  Andreas Schwab  <schwab@suse.de>
41034         [BZ #16743]
41035         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
41036         non-matching result from nscd.
41038 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41040         * scripts/bench.py: Moved to ...
41041         * benchtests/scripts/bench.py: ... here.
41042         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
41044 2014-03-24  Andreas Schwab  <schwab@suse.de>
41046         [BZ #16002]
41047         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
41048         alloca_account and account alloca use for struct in6ailist.
41050 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
41052         [BZ #16284]
41053         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
41054         rounding mode to recompute results that overflow to infinity or
41055         underflow to zero.
41056         * math/auto-libm-test-in: Don't mark tests as expected to fail for
41057         bug 16284.
41058         * math/auto-libm-test-out: Regenerated.
41059         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
41060         (ccosh_test): Likewise.
41061         (csin_test_data): Use plus_oflow.
41062         (csin_test): Use ALL_RM_TEST.
41063         (csinh_test_data): Use plus_oflow.
41064         (csinh_test): Use ALL_RM_TEST.
41065         * sysdeps/i386/fpu/libm-test-ulps: Update.
41066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41068 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
41070         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
41071         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
41072         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
41074         [BZ #16731]
41075         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
41076         when x - 1 is zero.
41077         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
41078         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
41079         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
41080         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
41081         argument is 1.
41082         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
41083         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
41084         zero.
41085         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
41086         * sysdeps/i386/fpu/libm-test-ulps: Update.
41087         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41089 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41091         * scripts/bench.pl: Remove file.
41092         * scripts/bench.py: New benchmark script.
41093         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
41094         * benchtests/README: Mention python dependency.
41095         * scripts/pylintrc: New file.
41096         * scripts/pylint: New file.
41098         * bits/mathdef.h: Use #ifdef instead of #if.
41099         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
41100         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
41101         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
41102         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
41103         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
41104         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
41106 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41107             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
41109         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
41110         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
41111         and strpbrk-ppc64 objects.
41112         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41113         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
41114         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
41115         multiarch strpbrk for POWER7.
41116         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
41117         multiarch strpbrk for PPC64.
41118         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
41119         ifunc selector.
41120         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
41121         strpbrk for POWER7.
41123 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
41125         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
41126         (atan_test): Likewise.
41127         (atanh_test_data): Use NO_TEST_INLINE for two tests.
41128         (atanh_test): Use ALL_RM_TEST.
41129         (atan2_test_data): Likewise.
41130         (cabs_test): Likewise.
41131         (cacosh_test): Likewise.
41132         (carg_test): Likewise.
41133         (casin_test): Likewise.
41134         (casinh_test): Likewise.
41135         (cbrt_test): Likewise.
41136         (csqrt_test): Likewise.
41137         (erf_test): Likewise.
41138         (erfc_test): Likewise.
41139         (pow10_test): Likewise.
41140         (exp2_test): Likewise.
41141         (hypot_test): Likewise.
41142         (j0_test): Likewise.
41143         (j1_test): Likewise.
41144         (lgamma_test): Likewise.
41145         (gamma_test): Likewise.
41146         (sincos_test): Likewise.
41147         (tanh_test): Likewise.
41148         (y0_test): Likewise.
41149         (y1_test): Likewise.
41150         * sysdeps/i386/fpu/libm-test-ulps: Update.
41151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41153 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41155         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
41156         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
41157         and strcspn-ppc64 objects.
41158         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41159         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
41160         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
41161         multiarch strcspn for POWER7.
41162         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
41163         multiarch strcspn for PPC64.
41164         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
41165         ifunc selector.
41166         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
41167         strcspn for POWER7.
41169 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
41171         * math/gen-libm-test.pl (generate_testfile): Expect only function
41172         name as argument to AUTO_TESTS_* and pass results for all rounding
41173         modes to parse_args.
41174         (parse_auto_input): Separate inputs of automatic tests from
41175         outputs before storing in %auto_tests.
41176         * math/libm-test.inc (acos_test_data): Update call to
41177         AUTO_TESTS_f_f.
41178         (acos_test): Use ALL_RM_TEST.
41179         (acos_tonearest_test_data): Remove.
41180         (acos_test_tonearest): Likewise.
41181         (acos_towardzero_test_data): Likewise.
41182         (acos_test_towardzero): Likewise.
41183         (acos_downward_test_data): Likewise.
41184         (acos_test_downward): Likewise.
41185         (acos_upward_test_data): Likewise.
41186         (acos_test_upward): Likewise.
41187         (acosh_test_data): Update call to AUTO_TESTS_f_f.
41188         (asin_test_data): Likewise.
41189         (asin_test): Use ALL_RM_TEST.
41190         (asin_tonearest_test_data): Remove.
41191         (asin_test_tonearest): Likewise.
41192         (asin_towardzero_test_data): Likewise.
41193         (asin_test_towardzero): Likewise.
41194         (asin_downward_test_data): Likewise.
41195         (asin_test_downward): Likewise.
41196         (asin_upward_test_data): Likewise.
41197         (asin_test_upward): Likewise.
41198         (asinh_test_data): Update call to AUTO_TESTS_f_f.
41199         (atan_test_data): Likewise.
41200         (atanh_test_data): Likewise.
41201         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
41202         (cabs_test_data): Update call to AUTO_TESTS_c_f.
41203         (carg_test_data): Likewise.
41204         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
41205         (ccos_test_data): Update call to AUTO_TESTS_c_c.
41206         (ccosh_test_data): Likewise.
41207         (cexp_test_data): Likewise.
41208         (clog_test_data): Likewise.
41209         (clog10_test_data): Likewise.
41210         (cos_test_data): Update call to AUTO_TESTS_f_f.
41211         (cos_test): Use ALL_RM_TEST.
41212         (cos_tonearest_test_data): Remove.
41213         (cos_test_tonearest): Likewise.
41214         (cos_towardzero_test_data): Likewise.
41215         (cos_test_towardzero): Likewise.
41216         (cos_downward_test_data): Likewise.
41217         (cos_test_downward): Likewise.
41218         (cos_upward_test_data): Likewise.
41219         (cos_test_upward): Likewise.
41220         (cosh_test_data): Update call to AUTO_TESTS_f_f.
41221         (cosh_test): Use ALL_RM_TEST.
41222         (cosh_tonearest_test_data): Remove.
41223         (cosh_test_tonearest): Likewise.
41224         (cosh_towardzero_test_data): Likewise.
41225         (cosh_test_towardzero): Likewise.
41226         (cosh_downward_test_data): Likewise.
41227         (cosh_test_downward): Likewise.
41228         (cosh_upward_test_data): Likewise.
41229         (cosh_test_upward): Likewise.
41230         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
41231         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
41232         (ctan_test_data): Likewise.
41233         (ctan_test): Use ALL_RM_TEST.
41234         (ctan_tonearest_test_data): Remove.
41235         (ctan_test_tonearest): Likewise.
41236         (ctan_towardzero_test_data): Likewise.
41237         (ctan_test_towardzero): Likewise.
41238         (ctan_downward_test_data): Likewise.
41239         (ctan_test_downward): Likewise.
41240         (ctan_upward_test_data): Likewise.
41241         (ctan_test_upward): Likewise.
41242         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
41243         (ctanh_test): Use ALL_RM_TEST.
41244         (ctanh_tonearest_test_data): Remove.
41245         (ctanh_test_tonearest): Likewise.
41246         (ctanh_towardzero_test_data): Likewise.
41247         (ctanh_test_towardzero): Likewise.
41248         (ctanh_downward_test_data): Likewise.
41249         (ctanh_test_downward): Likewise.
41250         (ctanh_upward_test_data): Likewise.
41251         (ctanh_test_upward): Likewise.
41252         (erf_test_data): Update call to AUTO_TESTS_f_f.
41253         (erfc_test_data): Likewise.
41254         (exp_test_data): Likewise.
41255         (exp_test): Use ALL_RM_TEST.
41256         (exp_tonearest_test_data): Remove.
41257         (exp_test_tonearest): Likewise.
41258         (exp_towardzero_test_data): Likewise.
41259         (exp_test_towardzero): Likewise.
41260         (exp_downward_test_data): Likewise.
41261         (exp_test_downward): Likewise.
41262         (exp_upward_test_data): Likewise.
41263         (exp_test_upward): Likewise.
41264         (exp10_test_data): Update call to AUTO_TESTS_f_f.
41265         (exp10_test): Use ALL_RM_TEST.
41266         (exp10_tonearest_test_data): Remove.
41267         (exp10_test_tonearest): Likewise.
41268         (exp10_towardzero_test_data): Likewise.
41269         (exp10_test_towardzero): Likewise.
41270         (exp10_downward_test_data): Likewise.
41271         (exp10_test_downward): Likewise.
41272         (exp10_upward_test_data): Likewise.
41273         (exp10_test_upward): Likewise.
41274         (exp2_test_data): Update call to AUTO_TESTS_f_f.
41275         (expm1_test_data): Likewise.
41276         (expm1_test): Use ALL_RM_TEST.
41277         (expm1_tonearest_test_data): Remove.
41278         (expm1_test_tonearest): Likewise.
41279         (expm1_towardzero_test_data): Likewise.
41280         (expm1_test_towardzero): Likewise.
41281         (expm1_downward_test_data): Likewise.
41282         (expm1_test_downward): Likewise.
41283         (expm1_upward_test_data): Likewise.
41284         (expm1_test_upward): Likewise.
41285         (fma_test_data): Update call to AUTO_TESTS_fff_f.
41286         (fma_test): Use ALL_RM_TEST.
41287         (fma_towardzero_test_data): Remove.
41288         (fma_test_towardzero): Likewise.
41289         (fma_downward_test_data): Likewise.
41290         (fma_test_downward): Likewise.
41291         (fma_upward_test_data): Likewise.
41292         (fma_test_upward): Likewise.
41293         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
41294         (j0_test_data): Update call to AUTO_TESTS_f_f.
41295         (j1_test_data): Likewise.
41296         (jn_test_data): Update call to AUTO_TESTS_if_f.
41297         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
41298         (log_test_data): Update call to AUTO_TESTS_f_f.
41299         (log10_test_data): Likewise.
41300         (log1p_test_data): Likewise.
41301         (log2_test_data): Likewise.
41302         (pow_test_data): Update call to AUTO_TESTS_ff_f.
41303         (pow_tonearest_test_data): Likewise.
41304         (sin_test_data): Update call to AUTO_TESTS_f_f.
41305         (sin_test): Use ALL_RM_TEST.
41306         (sin_tonearest_test_data): Remove.
41307         (sin_test_tonearest): Likewise.
41308         (sin_towardzero_test_data): Likewise.
41309         (sin_test_towardzero): Likewise.
41310         (sin_downward_test_data): Likewise.
41311         (sin_test_downward): Likewise.
41312         (sin_upward_test_data): Likewise.
41313         (sin_test_upward): Likewise.
41314         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
41315         (sinh_test_data): Update call to AUTO_TESTS_f_f.
41316         (sinh_test): Use ALL_RM_TEST.
41317         (sinh_tonearest_test_data): Remove.
41318         (sinh_test_tonearest): Likewise.
41319         (sinh_towardzero_test_data): Likewise.
41320         (sinh_test_towardzero): Likewise.
41321         (sinh_downward_test_data): Likewise.
41322         (sinh_test_downward): Likewise.
41323         (sinh_upward_test_data): Likewise.
41324         (sinh_test_upward): Likewise.
41325         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
41326         (sqrt_test): Use ALL_RM_TEST.
41327         (sqrt_tonearest_test_data): Remove.
41328         (sqrt_test_tonearest): Likewise.
41329         (sqrt_towardzero_test_data): Likewise.
41330         (sqrt_test_towardzero): Likewise.
41331         (sqrt_downward_test_data): Likewise.
41332         (sqrt_test_downward): Likewise.
41333         (sqrt_upward_test_data): Likewise.
41334         (sqrt_test_upward): Likewise.
41335         (tan_test_data): Update call to AUTO_TESTS_f_f.
41336         (tan_test): Use ALL_RM_TEST.
41337         (tan_tonearest_test_data): Remove.
41338         (tan_test_tonearest): Likewise.
41339         (tan_towardzero_test_data): Likewise.
41340         (tan_test_towardzero): Likewise.
41341         (tan_downward_test_data): Likewise.
41342         (tan_test_downward): Likewise.
41343         (tan_upward_test_data): Likewise.
41344         (tan_test_upward): Likewise.
41345         (tanh_test_data): Update call to AUTO_TESTS_f_f.
41346         (tgamma_test_data): Likewise.
41347         (y0_test_data): Likewise.
41348         (y1_test_data): Likewise.
41349         (yn_test_data): Update call to AUTO_TESTS_if_f.
41350         (main): Do not call removed functions.
41352 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
41354         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
41355         (ldexp_test_data): Remove.
41356         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
41357         scalbn_test_data.
41358         (scalb_test): Use ALL_RM_TEST.
41360 2014-03-19  Andreas Schwab  <schwab@suse.de>
41362         * nscd/nscd.service: Also invalidate netgroup cache on reload.
41364 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
41366         [BZ #16649]
41367         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41368         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
41369         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
41370         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41371         (__ASSUME_PREADV): Undefine.
41372         (__ASSUME_PWRITEV): Likewise.
41374 2014-03-18  Roland McGrath  <roland@hack.frob.com>
41376         * bits/mman-linux.h: Add comment about non-Linux use.
41377         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
41378         bits/mman-linux.h resting place.
41380         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
41381         * bits/mman-linux.h: ... here.
41383 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41385         * conform/conformtest.pl: Add standard definition when calling C
41386         preprocessor on data files.
41387         (checknamespace): Remove unused variable.
41389 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
41391         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
41392         minus_oflow, plus_uflow and minus_uflow in expected results.
41393         * math/libm-test.inc (scalbn_test_data): Add more tests of
41394         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
41395         minus_uflow.
41396         (scalbn_test): Use ALL_RM_TEST.
41397         (scalbln_test_data): Add more tests of negative arguments.  Use
41398         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
41399         (scalbln_test): Use ALL_RM_TEST.
41401 2014-03-18  Roland McGrath  <roland@hack.frob.com>
41403         * scripts/abilist.awk: Ignore symbols marked with .hidden.
41405 2014-03-18  Will Newton  <will.newton@linaro.org>
41407         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
41408         inaccurate comment.
41410 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
41412         * Makerules [!subdir] (check-abi): Exit with error status if a
41413         test failed.
41415 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
41417         * math/libm-test.inc (nearbyint_test_data): Include all tests used
41418         for rint.  Include results for all rounding modes.
41419         (nearbyint_test): Use ALL_RM_TEST.
41420         (rint_test_data): Include all tests used for nearbyint.
41422 2014-03-17  Will Newton  <will.newton@linaro.org>
41424         * nptl/sysdeps/pthread/pthread.h: Revert previous
41425         change.
41427         * sysdeps/generic/ldsodefs.h: Revert previous
41428         change.
41430         * libio/genops.c: Revert previous change.
41431         * libio/libioP.h: Likewise.
41432         * stdio-common/vfprintf.c: Likewise.
41434         * sysdeps/generic/math_private.h: Revert previous
41435         change.
41437         * sysdeps/generic/math_private.h: Check whether
41438         HAVE_RM_CTX is defined with #ifdef rather
41439         than #if.
41441         * argp/argp-fmtstream.h: Check whether
41442         __STRICT_ANSI__ is defined with #ifdef rather
41443         than #if.
41444         * argp/argp.h: Likewise.
41446         * libio/genops.c: Check whether
41447         _IO_JUMPS_OFFSET is defined with #ifdef rather
41448         than #if.
41449         * libio/libioP.h: Likewise.
41450         * stdio-common/vfprintf.c: Likewise.
41452         * sysdeps/generic/ldsodefs.h: Check whether
41453         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
41454         than #if.
41456         * nptl/sysdeps/pthread/pthread.h: Check
41457         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
41458         its value.
41460 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
41462         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
41463         setting O_APPEND.
41464         * libio/tst-ftell-active-handler.c (do_append_test): Add a
41465         test case.
41467         [BZ #16680]
41468         * libio/fileops.c (_IO_file_open): Seek to end of file but
41469         don't cache the offset.
41470         (get_file_offset): Remove function.
41471         (do_ftell): Use cached offset when available.
41472         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
41473         don't cache the offset.
41474         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
41475         case.
41476         (do_one_test): Call it.
41477         (do_ftell_test): Fix up expected old offset for a+ mode.
41478         * libio/wfileops.c (do_ftell_wide): Used cached offset when
41479         available.
41481         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
41482         up test status with function return status.
41483         (do_write_test): Likewise.
41484         (do_append_test): Likewise.
41486         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
41487         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
41488         Remove.
41490 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
41492         * math/gen-libm-test.pl (parse_args): Handle results specified for
41493         each rounding mode separately.
41494         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
41495         tests and results from lrint_tonearest_test_data,
41496         lrint_towardzero_test_data, lrint_downward_test_data and
41497         lrint_upward_test_data.
41498         (lrint_test): Use ALL_RM_TEST.
41499         (lrint_tonearest_test_data): Remove.
41500         (lrint_test_tonearest): Likewise.
41501         (lrint_towardzero_test_data): Likewise.
41502         (lrint_test_towardzero): Likewise.
41503         (lrint_downward_test_data): Likewise.
41504         (lrint_test_downward): Likewise.
41505         (lrint_upward_test_data): Likewise.
41506         (lrint_test_upward): Likewise.
41507         (llrint_test_data): Merge in per-rounding-mode tests and results
41508         from llrint_tonearest_test_data, llrint_towardzero_test_data,
41509         llrint_downward_test_data and llrint_upward_test_data.
41510         (llrint_test): Use ALL_RM_TEST.
41511         (llrint_tonearest_test_data): Remove.
41512         (llrint_test_tonearest): Likewise.
41513         (llrint_towardzero_test_data): Likewise.
41514         (llrint_test_towardzero): Likewise.
41515         (llrint_downward_test_data): Likewise.
41516         (llrint_test_downward): Likewise.
41517         (llrint_upward_test_data): Likewise.
41518         (llrint_test_upward): Likewise.
41519         (rint_test_data): Merge in per-rounding-mode tests and results
41520         from rint_tonearest_test_data, rint_towardzero_test_data,
41521         rint_downward_test_data and rint_upward_test_data.  Add
41522         per-rounding-mode results for tests not in those arrays.
41523         (rint_test): Use ALL_RM_TEST.
41524         (rint_tonearest_test_data): Remove.
41525         (rint_test_tonearest): Likewise.
41526         (rint_towardzero_test_data): Likewise.
41527         (rint_test_towardzero): Likewise.
41528         (rint_downward_test_data): Likewise.
41529         (rint_test_downward): Likewise.
41530         (rint_upward_test_data): Likewise.
41531         (rint_test_upward): Likewise.
41532         (main): Don't call removed functions.
41534 2014-03-14  Roland McGrath  <roland@hack.frob.com>
41536         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
41537         "Compiled on ..." crapola.  It is anti-useful.
41539 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
41541         * scripts/evaluate-test.sh: Handle fourth argument to determine
41542         whether test run should stop on failure.
41543         * Makeconfig (stop-on-test-failure): New variable.
41544         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
41545         $(stop-on-test-failure).
41546         * Makefile (tests): Give a summary of results from testing and
41547         exit with failure status if they include an ERROR or FAIL.
41548         (xtests): Likewise.
41549         * manual/install.texi (Configuring and compiling): Mention
41550         stop-on-test-failure=y.
41551         * INSTALL: Regenerated.
41553 2014-03-14  Roland McGrath  <roland@hack.frob.com>
41555         * scripts/versionlist.awk: New file.
41556         * Makerules [$(build-shared) = yes]
41557         (postclean-generated): Add Versions.def, not Versions.def.v and
41558         Versions.def.v.i.
41559         ($(common-objpfx)Versions.def.v.i): Target removed.
41560         ($(common-objpfx)Versions.def): New target.
41561         ($(common-objpfx)Versions.all): Depend on that rather that
41562         $(common-objpfx)Versions.def.v.
41563         * Versions.def: File removed.
41565         * Makeconfig (+gccwarn): Add -Wundef.
41566         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
41567         a dl-sysdep.h breaking its contract.
41568         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
41569         * include/stackinfo.h: New file.
41570         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
41571         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
41572         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
41573         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
41574         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
41575         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
41576         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41577         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41578         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41579         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41580         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41581         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
41582         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41583         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41584         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41586 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41588         [BZ #16707]
41589         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
41590         implementation.
41591         * math/libm-test.inc (round_test_data): Add more tests.
41593         [BZ #16706]
41594         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
41595         implementation.
41596         * math/libm-test.inc (nearbyint_test_data): Add more tests.
41598         [BZ #16701]
41599         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
41600         implementation.
41601         * math/libm-test.inc (ceil_test_data): Add more tests.
41603         * math/libm-test.inc (trunc_test_data): Add more tests related to
41604         BZ#16414.
41606 2014-03-14  Roland McGrath  <roland@hack.frob.com>
41608         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
41609         with #if rather than #ifdef.
41610         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
41612 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
41614         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
41615         first.  Disable AVX-512 GCC support if assembler doesn't support
41616         it.
41617         * sysdeps/x86_64/configure: Regenerated.
41619 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
41621         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
41622         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
41623         (__old_pthread_attr_setstack): Likewise.
41624         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
41625         [!_STACK_GROWS_DOWN]: Likewise.
41627 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
41629         * config.make.in (have-bash2): Delete.
41630         * configure.ac (libc_cv_have_bash2): Delete.
41631         * configure: Regenerate.
41632         * elf/Makefile (common-ldd-rewrite): Rename to ...
41633         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
41634         (sh-ldd-rewrite): Delete.
41635         (bash-ldd-rewrite): Delete.
41636         (have-bash2): Delete checks.
41637         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
41638         ldd-rewrite.
41640         * config.make.in (have-ksh): Delete.
41641         (KSH): Delete.
41642         * configure.ac (libc_cv_have_ksh): Delete.
41643         * configure: Regenerate.
41645         * elf/Makefile: Delete $(have-ksh) check.
41646         ($(objpfx)sotruss): Change KSH to BASH.
41647         * elf/sotruss.ksh: Rename to ...
41648         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
41649         function style to match POSIX.  Drop ksh vim mode setting.
41651         * manual/time.texi (Specifying the Time Zone with TZ): Change
41652         Tuesday to Thursday.
41654         * debug/tst-longjmp_chk2.c: Update header comment.
41655         (stackoverflow_handler): Add comment.  Call assert on pass value.
41657 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
41659         [BZ #16194]
41660         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
41661         (HAVE_AVX512_ASM_SUPPORT): Likewise.
41662         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
41663         (La_x86_64_vector): Add zmm.
41664         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
41665         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
41666         ($(objpfx)tst-audit10): New target.
41667         ($(objpfx)tst-audit10.out): Likewise.
41668         (tst-audit10-ENV): New.
41669         (AVX512-CFLAGS): Likewise.
41670         (CFLAGS-tst-audit10.c): Likewise.
41671         (CFLAGS-tst-auditmod10a.c): Likewise.
41672         (CFLAGS-tst-auditmod10b.c): Likewise.
41673         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
41674         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
41675         * sysdeps/x86_64/configure: Regenerated.
41676         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
41677         AVX-512 zmm register support.
41678         (_dl_x86_64_save_sse): Likewise.
41679         (_dl_x86_64_restore_sse): Likewise.
41680         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
41681         size vector registers.
41682         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
41683         (ZMM_SIZE): Likewise.
41684         * sysdeps/x86_64/tst-audit10.c: New file.
41685         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
41686         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
41688 2014-03-13  Roland McGrath  <roland@hack.frob.com>
41690         * configure.ac (HAVE_EHDR_START): New check.
41691         * configure: Regenerated.
41692         * config.h.in (HAVE_EHDR_START): New #undef.
41693         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
41694         assuming the lowest-addressed segment maps the start of the file.
41696 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
41698         * INSTALL: Regenerated.
41700 2014-03-13  Will Newton  <will.newton@linaro.org>
41702         * manual/setjmp.texi (System V contexts): Improve
41703         clarity and grammar of documentation.
41705 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
41707         [BZ #16381]
41708         * elf/Makefile (tests): Add tst-pie2.
41709         (tests-pie): Add tst-pie2.
41710         * elf/tst-pie2.c: New file.
41711         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
41712         for ET_EXEC.
41713         * elf/rtld.c (map_doit): Load executable as lt_executable.
41714         (dl_main): Likewise.
41716 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
41718         [BZ #16642]
41719         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41720         (__ASSUME_PSELECT): Undefine.
41722 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41724         [BZ #16689]
41725         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
41726         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
41727         static build.
41728         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
41729         selector for static builds.
41731 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
41733         [BZ #16695]
41734         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
41735         key in the buffer.
41737 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41739         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
41740         IFUNC selector for static builds.
41742 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
41744         * sysdeps/mips/math_private.h [__mips_hard_float]
41745         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
41746         libc_feresetround_mips_ctx.
41747         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
41748         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
41749         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
41751         [BZ #16677]
41752         * math/s_nextafter.c (__nextafter): Do not return value from
41753         overflowing computation.
41754         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
41755         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
41756         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
41757         Likewise.
41758         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
41759         Likewise.
41760         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
41761         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
41763 2014-03-11  Roland McGrath  <roland@hack.frob.com>
41765         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
41766         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
41767         Move sfi_sp use from the load-multiple (that no longer sets sp) to
41768         the new mov targetting sp.
41770 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41772         [BZ #16683]
41773         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
41774         Define it for static builds as well.
41775         (NO_BZERO_IMPL): Likewise.
41777 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
41779         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
41780         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
41781         multiarch strspn for PPC64.
41782         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
41783         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
41784         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41785         (__libc_ifunc_impl_list): Likewise.
41786         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
41787         multiarch optimizations
41788         * string/strspn.c (strspn): Using macro to redefine symbol name.
41790 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
41791             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41793         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
41794         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
41795         multiarch strncat for PPC64.
41796         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
41797         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
41798         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41799         (__libc_ifunc_impl_list): Likewise.
41800         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
41801         multiarch optimizations
41803 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41805         [BZ #16639]
41806         * nscd/nscd.service: Make service type forking.
41808 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41810         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
41811         sign in non default rounding modes.
41812         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
41814 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
41816         * math/libm-test.inc (ALL_RM_TEST): New macro.
41817         (ceil_test): Use ALL_RM_TEST.
41818         (cimag_test): Likewise.
41819         (conj_test): Likewise.
41820         (copysign_test): Likewise.
41821         (cproj_test): Likewise.
41822         (creal_test): Likewise.
41823         (fabs_test): Likewise.
41824         (floor_test): Likewise.
41825         (fmax_test): Likewise.
41826         (fmin_test): Likewise.
41827         (fmod_test): Likewise.
41828         (fpclassify_test): Likewise.
41829         (frexp_test): Likewise.
41830         (ilogb_test): Likewise.
41831         (isfinite_test): Likewise.
41832         (finite_test): Likewise.
41833         (isgreater_test): Likewise.
41834         (isgreaterequal_test): Likewise.
41835         (isinf_test): Likewise.
41836         (isless_test): Likewise.
41837         (islessequal_test): Likewise.
41838         (islessgreater_test): Likewise.
41839         (isnan_test): Likewise.
41840         (isnormal_test): Likewise.
41841         (issignaling_test): Likewise.
41842         (isunordered_test): Likewise.
41843         (logb_test): Likewise.
41844         (logb_downward_test_data): Remove.
41845         (logb_test_downward): Likewise.
41846         (lround_test): Use ALL_RM_TEST.
41847         (llround_test): Likewise.
41848         (modf_test): Likewise.
41849         (nexttoward_test): Likewise.
41850         (remainder_test): Likewise.
41851         (drem_test): Likewise.
41852         (remainder_tonearest_test_data): Likewise.
41853         (remainder_test_tonearest): Likewise.
41854         (drem_test_tonearest): Likewise.
41855         (remainder_towardzero_test_data): Likewise.
41856         (remainder_test_towardzero): Likewise.
41857         (drem_test_towardzero): Likewise.
41858         (remainder_downward_test_data): Likewise.
41859         (remainder_test_downward): Likewise.
41860         (drem_test_downward): Likewise.
41861         (remainder_upward_test_data): Likewise.
41862         (remainder_test_upward): Likewise.
41863         (drem_test_upward): Likewise.
41864         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
41865         (round_test): Use ALL_RM_TEST.
41866         (signbit_test): Likewise.
41867         (trunc_test): Likewise.
41868         (significand_test): Likewise.
41869         (main): Don't call removed functions.
41871 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
41873         [BZ #16674]
41874         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
41875         || __USE_XOPEN2K8].
41876         (ILL_ILLOPN): Likewise.
41877         (ILL_ILLADR): Likewise.
41878         (ILL_ILLTRP): Likewise.
41879         (ILL_PRVOPC): Likewise.
41880         (ILL_PRVREG): Likewise.
41881         (ILL_COPROC): Likewise.
41882         (ILL_BADSTK): Likewise.
41883         (FPE_INTDIV): Likewise.
41884         (FPE_INTOVF): Likewise.
41885         (FPE_FLTDIV): Likewise.
41886         (FPE_FLTOVF): Likewise.
41887         (FPE_FLTUND): Likewise.
41888         (FPE_FLTRES): Likewise.
41889         (FPE_FLTINV): Likewise.
41890         (FPE_FLTSUB): Likewise.
41891         (SEGV_MAPERR): Likewise.
41892         (SEGV_ACCERR): Likewise.
41893         (BUS_ADRALN): Likewise.
41894         (BUS_ADRERR): Likewise.
41895         (BUS_OBJERR): Likewise.
41896         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41897         (TRAP_TRACE): Likewise.
41898         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41899         __USE_XOPEN2K8].
41900         (CLD_KILLED): Likewise.
41901         (CLD_DUMPED): Likewise.
41902         (CLD_TRAPPED): Likewise.
41903         (CLD_STOPPED): Likewise.
41904         (CLD_CONTINUED): Likewise.
41905         (POLL_IN): Likewise.
41906         (POLL_OUT): Likewise.
41907         (POLL_MSG): Likewise.
41908         (POLL_ERR): Likewise.
41909         (POLL_PRI): Likewise.
41910         (POLL_HUP): Likewise.
41911         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
41912         Likewise.
41913         (ILL_ILLOPN): Likewise.
41914         (ILL_ILLADR): Likewise.
41915         (ILL_ILLTRP): Likewise.
41916         (ILL_PRVOPC): Likewise.
41917         (ILL_PRVREG): Likewise.
41918         (ILL_COPROC): Likewise.
41919         (ILL_BADSTK): Likewise.
41920         (FPE_INTDIV): Likewise.
41921         (FPE_INTOVF): Likewise.
41922         (FPE_FLTDIV): Likewise.
41923         (FPE_FLTOVF): Likewise.
41924         (FPE_FLTUND): Likewise.
41925         (FPE_FLTRES): Likewise.
41926         (FPE_FLTINV): Likewise.
41927         (FPE_FLTSUB): Likewise.
41928         (SEGV_MAPERR): Likewise.
41929         (SEGV_ACCERR): Likewise.
41930         (BUS_ADRALN): Likewise.
41931         (BUS_ADRERR): Likewise.
41932         (BUS_OBJERR): Likewise.
41933         (BUS_MCEERR_AR): Likewise.
41934         (BUS_MCEERR_AO): Likewise.
41935         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41936         (TRAP_TRACE): Likewise.
41937         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41938         __USE_XOPEN2K8].
41939         (CLD_KILLED): Likewise.
41940         (CLD_DUMPED): Likewise.
41941         (CLD_TRAPPED): Likewise.
41942         (CLD_STOPPED): Likewise.
41943         (CLD_CONTINUED): Likewise.
41944         (POLL_IN): Likewise.
41945         (POLL_OUT): Likewise.
41946         (POLL_MSG): Likewise.
41947         (POLL_ERR): Likewise.
41948         (POLL_PRI): Likewise.
41949         (POLL_HUP): Likewise.
41950         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
41951         (ILL_ILLOPN): Likewise.
41952         (ILL_ILLADR): Likewise.
41953         (ILL_ILLTRP): Likewise.
41954         (ILL_PRVOPC): Likewise.
41955         (ILL_PRVREG): Likewise.
41956         (ILL_COPROC): Likewise.
41957         (ILL_BADSTK): Likewise.
41958         (FPE_INTDIV): Likewise.
41959         (FPE_INTOVF): Likewise.
41960         (FPE_FLTDIV): Likewise.
41961         (FPE_FLTOVF): Likewise.
41962         (FPE_FLTUND): Likewise.
41963         (FPE_FLTRES): Likewise.
41964         (FPE_FLTINV): Likewise.
41965         (FPE_FLTSUB): Likewise.
41966         (SEGV_MAPERR): Likewise.
41967         (SEGV_ACCERR): Likewise.
41968         (BUS_ADRALN): Likewise.
41969         (BUS_ADRERR): Likewise.
41970         (BUS_OBJERR): Likewise.
41971         (BUS_MCEERR_AR): Likewise.
41972         (BUS_MCEERR_AO): Likewise.
41973         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41974         (TRAP_TRACE): Likewise.
41975         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41976         __USE_XOPEN2K8].
41977         (CLD_KILLED): Likewise.
41978         (CLD_DUMPED): Likewise.
41979         (CLD_TRAPPED): Likewise.
41980         (CLD_STOPPED): Likewise.
41981         (CLD_CONTINUED): Likewise.
41982         (POLL_IN): Likewise.
41983         (POLL_OUT): Likewise.
41984         (POLL_MSG): Likewise.
41985         (POLL_ERR): Likewise.
41986         (POLL_PRI): Likewise.
41987         (POLL_HUP): Likewise.
41988         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
41989         Likewise.
41990         (ILL_ILLOPN): Likewise.
41991         (ILL_ILLADR): Likewise.
41992         (ILL_ILLTRP): Likewise.
41993         (ILL_PRVOPC): Likewise.
41994         (ILL_PRVREG): Likewise.
41995         (ILL_COPROC): Likewise.
41996         (ILL_BADSTK): Likewise.
41997         (ILL_BADIADDR): Likewise.
41998         (ILL_BREAK): Likewise.
41999         (FPE_INTDIV): Likewise.
42000         (FPE_INTOVF): Likewise.
42001         (FPE_FLTDIV): Likewise.
42002         (FPE_FLTOVF): Likewise.
42003         (FPE_FLTUND): Likewise.
42004         (FPE_FLTRES): Likewise.
42005         (FPE_FLTINV): Likewise.
42006         (FPE_FLTSUB): Likewise.
42007         (FPE_DECOVF): Likewise.
42008         (FPE_DECDIV): Likewise.
42009         (FPE_DECERR): Likewise.
42010         (FPE_INVASC): Likewise.
42011         (FPE_INVDEC): Likewise.
42012         (SEGV_MAPERR): Likewise.
42013         (SEGV_ACCERR): Likewise.
42014         (SEGV_PSTKOVF): Likewise.
42015         (BUS_ADRALN): Likewise.
42016         (BUS_ADRERR): Likewise.
42017         (BUS_OBJERR): Likewise.
42018         (BUS_MCEERR_AR): Likewise.
42019         (BUS_MCEERR_AO): Likewise.
42020         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42021         (TRAP_TRACE): Likewise.
42022         (TRAP_BRANCH): Likewise.
42023         (TRAP_HWBKPT): Likewise.
42024         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42025         __USE_XOPEN2K8].
42026         (CLD_KILLED): Likewise.
42027         (CLD_DUMPED): Likewise.
42028         (CLD_TRAPPED): Likewise.
42029         (CLD_STOPPED): Likewise.
42030         (CLD_CONTINUED): Likewise.
42031         (POLL_IN): Likewise.
42032         (POLL_OUT): Likewise.
42033         (POLL_MSG): Likewise.
42034         (POLL_ERR): Likewise.
42035         (POLL_PRI): Likewise.
42036         (POLL_HUP): Likewise.
42037         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
42038         (ILL_ILLOPN): Likewise.
42039         (ILL_ILLADR): Likewise.
42040         (ILL_ILLTRP): Likewise.
42041         (ILL_PRVOPC): Likewise.
42042         (ILL_PRVREG): Likewise.
42043         (ILL_COPROC): Likewise.
42044         (ILL_BADSTK): Likewise.
42045         (FPE_INTDIV): Likewise.
42046         (FPE_INTOVF): Likewise.
42047         (FPE_FLTDIV): Likewise.
42048         (FPE_FLTOVF): Likewise.
42049         (FPE_FLTUND): Likewise.
42050         (FPE_FLTRES): Likewise.
42051         (FPE_FLTINV): Likewise.
42052         (FPE_FLTSUB): Likewise.
42053         (SEGV_MAPERR): Likewise.
42054         (SEGV_ACCERR): Likewise.
42055         (BUS_ADRALN): Likewise.
42056         (BUS_ADRERR): Likewise.
42057         (BUS_OBJERR): Likewise.
42058         (BUS_MCEERR_AR): Likewise.
42059         (BUS_MCEERR_AO): Likewise.
42060         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42061         (TRAP_TRACE): Likewise.
42062         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42063         __USE_XOPEN2K8].
42064         (CLD_KILLED): Likewise.
42065         (CLD_DUMPED): Likewise.
42066         (CLD_TRAPPED): Likewise.
42067         (CLD_STOPPED): Likewise.
42068         (CLD_CONTINUED): Likewise.
42069         (POLL_IN): Likewise.
42070         (POLL_OUT): Likewise.
42071         (POLL_MSG): Likewise.
42072         (POLL_ERR): Likewise.
42073         (POLL_PRI): Likewise.
42074         (POLL_HUP): Likewise.
42075         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
42076         (ILL_ILLOPN): Likewise.
42077         (ILL_ILLADR): Likewise.
42078         (ILL_ILLTRP): Likewise.
42079         (ILL_PRVOPC): Likewise.
42080         (ILL_PRVREG): Likewise.
42081         (ILL_COPROC): Likewise.
42082         (ILL_BADSTK): Likewise.
42083         (FPE_INTDIV): Likewise.
42084         (FPE_INTOVF): Likewise.
42085         (FPE_FLTDIV): Likewise.
42086         (FPE_FLTOVF): Likewise.
42087         (FPE_FLTUND): Likewise.
42088         (FPE_FLTRES): Likewise.
42089         (FPE_FLTINV): Likewise.
42090         (FPE_FLTSUB): Likewise.
42091         (SEGV_MAPERR): Likewise.
42092         (SEGV_ACCERR): Likewise.
42093         (BUS_ADRALN): Likewise.
42094         (BUS_ADRERR): Likewise.
42095         (BUS_OBJERR): Likewise.
42096         (BUS_MCEERR_AR): Likewise.
42097         (BUS_MCEERR_AO): Likewise.
42098         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42099         (TRAP_TRACE): Likewise.
42100         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42101         __USE_XOPEN2K8].
42102         (CLD_KILLED): Likewise.
42103         (CLD_DUMPED): Likewise.
42104         (CLD_TRAPPED): Likewise.
42105         (CLD_STOPPED): Likewise.
42106         (CLD_CONTINUED): Likewise.
42107         (POLL_IN): Likewise.
42108         (POLL_OUT): Likewise.
42109         (POLL_MSG): Likewise.
42110         (POLL_ERR): Likewise.
42111         (POLL_PRI): Likewise.
42112         (POLL_HUP): Likewise.
42113         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
42114         (ILL_ILLOPN): Likewise.
42115         (ILL_ILLADR): Likewise.
42116         (ILL_ILLTRP): Likewise.
42117         (ILL_PRVOPC): Likewise.
42118         (ILL_PRVREG): Likewise.
42119         (ILL_COPROC): Likewise.
42120         (ILL_BADSTK): Likewise.
42121         (FPE_INTDIV): Likewise.
42122         (FPE_INTOVF): Likewise.
42123         (FPE_FLTDIV): Likewise.
42124         (FPE_FLTOVF): Likewise.
42125         (FPE_FLTUND): Likewise.
42126         (FPE_FLTRES): Likewise.
42127         (FPE_FLTINV): Likewise.
42128         (FPE_FLTSUB): Likewise.
42129         (SEGV_MAPERR): Likewise.
42130         (SEGV_ACCERR): Likewise.
42131         (BUS_ADRALN): Likewise.
42132         (BUS_ADRERR): Likewise.
42133         (BUS_OBJERR): Likewise.
42134         (BUS_MCEERR_AR): Likewise.
42135         (BUS_MCEERR_AO): Likewise.
42136         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42137         (TRAP_TRACE): Likewise.
42138         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42139         __USE_XOPEN2K8].
42140         (CLD_KILLED): Likewise.
42141         (CLD_DUMPED): Likewise.
42142         (CLD_TRAPPED): Likewise.
42143         (CLD_STOPPED): Likewise.
42144         (CLD_CONTINUED): Likewise.
42145         (POLL_IN): Likewise.
42146         (POLL_OUT): Likewise.
42147         (POLL_MSG): Likewise.
42148         (POLL_ERR): Likewise.
42149         (POLL_PRI): Likewise.
42150         (POLL_HUP): Likewise.
42151         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
42152         (ILL_ILLOPN): Likewise.
42153         (ILL_ILLADR): Likewise.
42154         (ILL_ILLTRP): Likewise.
42155         (ILL_PRVOPC): Likewise.
42156         (ILL_PRVREG): Likewise.
42157         (ILL_COPROC): Likewise.
42158         (ILL_BADSTK): Likewise.
42159         (ILL_DBLFLT): Likewise.
42160         (ILL_HARDWALL): Likewise.
42161         (FPE_INTDIV): Likewise.
42162         (FPE_INTOVF): Likewise.
42163         (FPE_FLTDIV): Likewise.
42164         (FPE_FLTOVF): Likewise.
42165         (FPE_FLTUND): Likewise.
42166         (FPE_FLTRES): Likewise.
42167         (FPE_FLTINV): Likewise.
42168         (FPE_FLTSUB): Likewise.
42169         (SEGV_MAPERR): Likewise.
42170         (SEGV_ACCERR): Likewise.
42171         (BUS_ADRALN): Likewise.
42172         (BUS_ADRERR): Likewise.
42173         (BUS_OBJERR): Likewise.
42174         (BUS_MCEERR_AR): Likewise.
42175         (BUS_MCEERR_AO): Likewise.
42176         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42177         (TRAP_TRACE): Likewise.
42178         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42179         __USE_XOPEN2K8].
42180         (CLD_KILLED): Likewise.
42181         (CLD_DUMPED): Likewise.
42182         (CLD_TRAPPED): Likewise.
42183         (CLD_STOPPED): Likewise.
42184         (CLD_CONTINUED): Likewise.
42185         (POLL_IN): Likewise.
42186         (POLL_OUT): Likewise.
42187         (POLL_MSG): Likewise.
42188         (POLL_ERR): Likewise.
42189         (POLL_PRI): Likewise.
42190         (POLL_HUP): Likewise.
42191         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
42192         (ILL_ILLOPN): Likewise.
42193         (ILL_ILLADR): Likewise.
42194         (ILL_ILLTRP): Likewise.
42195         (ILL_PRVOPC): Likewise.
42196         (ILL_PRVREG): Likewise.
42197         (ILL_COPROC): Likewise.
42198         (ILL_BADSTK): Likewise.
42199         (FPE_INTDIV): Likewise.
42200         (FPE_INTOVF): Likewise.
42201         (FPE_FLTDIV): Likewise.
42202         (FPE_FLTOVF): Likewise.
42203         (FPE_FLTUND): Likewise.
42204         (FPE_FLTRES): Likewise.
42205         (FPE_FLTINV): Likewise.
42206         (FPE_FLTSUB): Likewise.
42207         (SEGV_MAPERR): Likewise.
42208         (SEGV_ACCERR): Likewise.
42209         (BUS_ADRALN): Likewise.
42210         (BUS_ADRERR): Likewise.
42211         (BUS_OBJERR): Likewise.
42212         (BUS_MCEERR_AR): Likewise.
42213         (BUS_MCEERR_AO): Likewise.
42214         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
42215         (TRAP_TRACE): Likewise.
42216         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
42217         __USE_XOPEN2K8].
42218         (CLD_KILLED): Likewise.
42219         (CLD_DUMPED): Likewise.
42220         (CLD_TRAPPED): Likewise.
42221         (CLD_STOPPED): Likewise.
42222         (CLD_CONTINUED): Likewise.
42223         (POLL_IN): Likewise.
42224         (POLL_OUT): Likewise.
42225         (POLL_MSG): Likewise.
42226         (POLL_ERR): Likewise.
42227         (POLL_PRI): Likewise.
42228         (POLL_HUP): Likewise.
42229         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
42230         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
42232         [BZ #16670]
42233         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
42234         before #include of <time.h>.
42235         [!__USE_XOPEN2K] (__need_timespec): Likewise.
42236         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
42237         (test-xfail-UNIX98/sched.h/conform): Likewise.
42239 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
42241         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
42242         error absence of trapping exception support.
42243         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
42245 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
42247         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
42248         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
42249         * timezone/Makefile (testdata): Move definition above include of
42250         Rules.
42251         (test-zones): New variable.
42252         (tests-special): Add zone files.
42253         (build-testdata): Use $(evaluate-test).
42255         * elf/Makefile (tests-special): Rename tests to end with .out.
42256         ($(objpfx)noload-mem): Likewise.
42257         ($(objpfx)tst-leaks1-mem): Likewise.
42258         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
42259         * iconv/Makefile (xtests-special): Change test-iconvconfig to
42260         $(objpfx)test-iconvconfig.out.
42261         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
42262         set -e inside subshell and redirect output to file.
42263         * iconvdata/Makefile (generated): Rename tests to end with .out.
42264         Correct type.
42265         (tests-special): Rename tests to end with .out.
42266         ($(objpfx)mtrace-tst-loading): Likewise.
42267         * intl/Makefile (generated): Likewise.
42268         (tests-special): Likewise.
42269         ($(objpfx)mtrace-tst-gettext): Likewise.
42270         * misc/Makefile (generated): Likewise.
42271         (tests-special): Likewise.
42272         ($(objpfx)tst-error1-mem): Likewise.
42273         * nptl/Makefile (tests-special): Likewise.
42274         ($(objpfx)tst-stack3-mem): Likewise.
42275         (generated): Likewise.
42276         * posix/Makefile (generated): Likewise.
42277         (tests-special): Likewise.
42278         (xtests-special): Likewise.
42279         ($(objpfx)tst-fnmatch-mem): Likewise.
42280         ($(objpfx)bug-regex2-mem): Likewise.
42281         ($(objpfx)bug-regex14-mem): Likewise.
42282         ($(objpfx)bug-regex21-mem): Likewise.
42283         ($(objpfx)bug-regex31-mem): Likewise.
42284         ($(objpfx)tst-vfork3-mem): Likewise.
42285         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
42286         ($(objpfx)tst-pcre-mem): Likewise.
42287         ($(objpfx)tst-boost-mem): Likewise.
42288         ($(objpfx)bug-ga2-mem): Likewise.
42289         ($(objpfx)bug-glob2-mem): Likewise.
42290         * resolv/Makefile (generate): Likewise.
42291         (tests-special): Likewise.
42292         (xtests-special): Likewise.
42293         (generated): Likewise.
42294         ($(objpfx)mtrace-tst-leaks): Likewise.
42295         ($(objpfx)mtrace-tst-leaks2): Likewise.
42297         * scripts/merge-test-results.sh: New file.
42298         * Makefile (tests-special-notdir): New variable.
42299         (tests): Run merge-test-results.sh.
42300         (xtests): Likewise.
42301         * Rules (tests-special-notdir): New variable.
42302         (xtests-special-notdir): Likewise.
42303         (tests): Run merge-test-results.sh
42304         (xtests): Likewise.
42306         * Makeconfig (test-xfail-name): New variable.
42307         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
42308         compute variable name for expected failures.
42309         * conform/Makefile (conformtest-headers-data): New variable.
42310         (conformtest-standards): Likewise.
42311         (conformtest-headers-ISO): Likewise.
42312         (conformtest-headers-ISO99): Likewise.
42313         (conformtest-headers-ISO11): Likewise.
42314         (conformtest-headers-POSIX): Likewise.
42315         (conformtest-headers-XPG3): Likewise.
42316         (conformtest-headers-XPG4): Likewise.
42317         (conformtest-headers-UNIX98): Likewise.
42318         (conformtest-headers-XOPEN2K): Likewise.
42319         (conformtest-headers-POSIX2008): Likewise.
42320         (conformtest-headers-XOPEN2K8): Likewise.
42321         (conformtest-header-list-base): Likewise.
42322         (conformtest-header-list-tests): Likewise.
42323         (conformtest-header-base): Likewise.
42324         (conformtest-header-tests): Likewise.
42325         (tests-special): Add $(conformtest-header-list-tests).  If
42326         [$(fast-check) && !$(cross-compiling)], add
42327         $(conformtest-header-tests) instead of
42328         $(objpfx)run-conformtest.out.
42329         (generated): Add $(conformtest-header-list-base).  If
42330         [$(fast-check) && !$(cross-compiling)], add
42331         $(conformtest-header-base).  Remove previous setting.
42332         ($(conformtest-header-list-tests)): New target.
42333         (test-xfail-run-conformtest): Remove variable.
42334         ($(objpfx)run-conformtest.out): Remove target.
42335         (test-xfail-ISO11/complex.h/conform): New variable.
42336         (test-xfail-ISO11/stdalign.h/conform): Likewise.
42337         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
42338         (test-xfail-XPG3/varargs.h/conform): Likewise.
42339         (test-xfail-XPG4/varargs.h/conform): Likewise.
42340         (test-xfail-UNIX98/varargs.h/conform): Likewise.
42341         (test-xfail-XPG4/ndbm.h/conform): Likewise.
42342         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
42343         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
42344         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
42345         (test-xfail-XPG3/fcntl.h/conform): Likewise.
42346         (test-xfail-XPG3/ftw.h/conform): Likewise.
42347         (test-xfail-XPG3/grp.h/conform): Likewise.
42348         (test-xfail-XPG3/langinfo.h/conform): Likewise.
42349         (test-xfail-XPG3/limits.h/conform): Likewise.
42350         (test-xfail-XPG3/pwd.h/conform): Likewise.
42351         (test-xfail-XPG3/search.h/conform): Likewise.
42352         (test-xfail-XPG3/signal.h/conform): Likewise.
42353         (test-xfail-XPG3/stdio.h/conform): Likewise.
42354         (test-xfail-XPG3/stdlib.h/conform): Likewise.
42355         (test-xfail-XPG3/string.h/conform): Likewise.
42356         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
42357         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
42358         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
42359         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
42360         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
42361         (test-xfail-XPG3/sys/types.h/conform): Likewise.
42362         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
42363         (test-xfail-XPG3/termios.h/conform): Likewise.
42364         (test-xfail-XPG3/time.h/conform): Likewise.
42365         (test-xfail-XPG3/unistd.h/conform): Likewise.
42366         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
42367         (test-xfail-XPG4/fcntl.h/conform): Likewise.
42368         (test-xfail-XPG4/langinfo.h/conform): Likewise.
42369         (test-xfail-XPG4/netdb.h/conform): Likewise.
42370         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
42371         (test-xfail-XPG4/signal.h/conform): Likewise.
42372         (test-xfail-XPG4/stdio.h/conform): Likewise.
42373         (test-xfail-XPG4/stdlib.h/conform): Likewise.
42374         (test-xfail-XPG4/stropts.h/conform): Likewise.
42375         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
42376         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
42377         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
42378         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
42379         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
42380         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
42381         (test-xfail-XPG4/sys/time.h/conform): Likewise.
42382         (test-xfail-XPG4/sys/types.h/conform): Likewise.
42383         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
42384         (test-xfail-XPG4/termios.h/conform): Likewise.
42385         (test-xfail-XPG4/ucontext.h/conform): Likewise.
42386         (test-xfail-XPG4/unistd.h/conform): Likewise.
42387         (test-xfail-XPG4/utmpx.h/conform): Likewise.
42388         (test-xfail-POSIX/sched.h/conform): Likewise.
42389         (test-xfail-POSIX/signal.h/conform): Likewise.
42390         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
42391         (test-xfail-POSIX/tar.h/conform): Likewise.
42392         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
42393         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
42394         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
42395         (test-xfail-UNIX98/netdb.h/conform): Likewise.
42396         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
42397         (test-xfail-UNIX98/sched.h/conform): Likewise.
42398         (test-xfail-UNIX98/signal.h/conform): Likewise.
42399         (test-xfail-UNIX98/stdio.h/conform): Likewise.
42400         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
42401         (test-xfail-UNIX98/stropts.h/conform): Likewise.
42402         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
42403         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
42404         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
42405         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
42406         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
42407         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
42408         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
42409         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
42410         (test-xfail-UNIX98/unistd.h/conform): Likewise.
42411         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
42412         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
42413         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
42414         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
42415         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
42416         (test-xfail-XOPEN2K/math.h/conform): Likewise.
42417         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
42418         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
42419         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
42420         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
42421         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
42422         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
42423         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
42424         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
42425         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
42426         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
42427         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
42428         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
42429         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
42430         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
42431         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
42432         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
42433         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
42434         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
42435         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
42436         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
42437         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
42438         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
42439         (test-xfail-POSIX2008/signal.h/conform): Likewise.
42440         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
42441         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
42442         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
42443         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
42444         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
42445         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
42446         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
42447         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
42448         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
42449         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
42450         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
42451         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
42452         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
42453         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
42454         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
42455         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
42456         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
42457         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
42458         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
42459         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
42460         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
42461         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
42462         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
42463         (conformtest-cc-flags): Likewise.
42464         ($(conformtest-header-tests): New target.
42465         * conform/check-header-lists.sh: New file.
42466         * conform/run-conformtest.sh: Remove.
42468         * conform/conformtest.pl: Allow ' and \ in values given for
42469         constants.
42470         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
42471         inclusion.
42472         [POSIX] (sys/types.h): Likewise.
42473         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
42474         inclusion.
42475         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
42476         inclusion.
42477         * conform/data/signal.h-data (SIGIO): Remove expectation.
42478         [XPG3] (SIGBUS): Do not expect.
42479         [POSIX || XPG3] (SIGPOLL): Likewise.
42480         [POSIX || XPG3] (SIGPROF): Likewise.
42481         [POSIX || XPG3] (SIGSYS): Likewise.
42482         [XPG3] (SIGTRAP): Likewise.
42483         [POSIX || XPG3] (SIGURG): Likewise.
42484         [POSIX || XPG3] (SIGVTALRM): Likewise.
42485         [POSIX || XPG3] (SIGXCPU): Likewise.
42486         [POSIX || XPG3] (SIGXFSZ): Likewise.
42487         [POSIX] (SA_SIGINFO): Expect.
42488         [XPG3] (siginfo_t): Do not expect type or contents.
42489         [POSIX] (si_pid): Do not expect element.
42490         [POSIX] (si_uid): Likewise.
42491         [POSIX] (si_addr): Likewise.
42492         [POSIX] (si_status): Likewise.
42493         [POSIX] (si_band): Likewise.
42494         [XPG4] (si_value): Likewise.
42495         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
42496         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
42497         [POSIX || XPG3] (ILL_ILLADR): Likewise.
42498         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
42499         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
42500         [POSIX || XPG3] (ILL_PRVREG): Likewise.
42501         [POSIX || XPG3] (ILL_COPROC): Likewise.
42502         [POSIX || XPG3] (ILL_BADSTK): Likewise.
42503         [POSIX || XPG3] (FPE_INTDIV): Likewise.
42504         [POSIX || XPG3] (FPE_INTOVF): Likewise.
42505         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
42506         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
42507         [POSIX || XPG3] (FPE_FLTUND): Likewise.
42508         [POSIX || XPG3] (FPE_FLTRES): Likewise.
42509         [POSIX || XPG3] (FPE_FLTINV): Likewise.
42510         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
42511         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
42512         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
42513         [POSIX || XPG3] (BUS_ADRALN): Likewise.
42514         [POSIX || XPG3] (BUS_ADRERR): Likewise.
42515         [POSIX || XPG3] (BUS_OBJERR): Likewise.
42516         [POSIX || XPG3] (CLD_EXITED): Likewise.
42517         [POSIX || XPG3] (CLD_KILLED): Likewise.
42518         [POSIX || XPG3] (CLD_DUMPED): Likewise.
42519         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
42520         [POSIX || XPG3] (CLD_STOPPED): Likewise.
42521         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
42522         [POSIX || XPG3] (POLL_IN): Likewise.
42523         [POSIX || XPG3] (POLL_OUT): Likewise.
42524         [POSIX || XPG3] (POLL_MSG): Likewise.
42525         [POSIX || XPG3] (POLL_ERR): Likewise.
42526         [POSIX || XPG3] (POLL_PRI): Likewise.
42527         [POSIX || XPG3] (POLL_HUP): Likewise.
42528         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
42529         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
42530         (SIG*): Do not allow.
42531         [XPG3] (si_*): Likewise.
42532         [XPG3] (SI_*): Likewise.
42533         [XPG3 || XPG4] (sigev_*): Likewise.
42534         [XPG3 || XPG4] (SIGEV_*): Likewise.
42535         [XPG3 || XPG4] (sival_*): Likewise.
42536         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
42537         [POSIX || XPG3] (BUS_*): Likewise.
42538         [POSIX || XPG3] (CLD_*): Likewise.
42539         [POSIX || XPG3] (FPE_*): Likewise.
42540         [POSIX || XPG3] (ILL_*): Likewise.
42541         [POSIX || XPG3] (POLL_*): Likewise.
42542         [POSIX || XPG3] (SEGV_*): Likewise.
42543         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
42544         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
42545         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
42546         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
42547         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
42548         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
42549         Specify type and value.
42550         (TVERSLEN): Likewise.
42551         (REGTYPE): Likewise.
42552         (AREGTYPE): Likewise.
42553         (LNKTYPE): Likewise.
42554         (SYMTYPE): Likewise.
42555         (CHRTYPE): Likewise.
42556         (BLKTYPE): Likewise.
42557         (DIRTYPE): Likewise.
42558         (FIFOTYPE): Likewise.
42559         (CONTTYPE): Likewise.
42560         (TSUID): Likewise.
42561         (TSGID): Likewise.
42562         (TSVTX): Likewise.
42563         (TUREAD): Likewise.
42564         (TUWRITE): Likewise.
42565         (TUEXEC): Likewise.
42566         (TGREAD): Likewise.
42567         (TGWRITE): Likewise.
42568         (TGEXEC): Likewise.
42569         (TOREAD): Likewise.
42570         (TOWRITE): Likewise.
42571         (TOEXEC): Likewise.
42572         [POSIX] (TSVTX): Expect constant.
42574 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
42576         * Makefile (tests): Change dependencies to ....
42577         (tests-special): ... additions to this variable.
42578         (tests): Depend on $(tests-special).
42579         * Makerules (check-abi-list): New variable.
42580         (check-abi): Depend on $(check-abi-list).
42581         [$(subdir) = elf] (tests-special): Add
42582         $(objpfx)check-abi-libc.out.
42583         [$(build-shared) = yes && subdir] (tests-special): Add
42584         $(check-abi-list).
42585         [$(build-shared) = yes && subdir] (tests): Do not depend on
42586         check-abi.
42587         * Rules (tests): Depend on $(tests-special).
42588         (xtests): Depend on $(xtests-special).
42589         * catgets/Makefile (tests): Change dependencies to ....
42590         (tests-special): ... additions to this variable.
42591         * conform/Makefile (tests): Change dependencies to ....
42592         (tests-special): ... additions to this variable.
42593         * elf/Makefile (tests): Change dependencies to ....
42594         (tests-special): ... additions to this variable.
42595         * grp/Makefile (tests): Change dependencies to ....
42596         (tests-special): ... additions to this variable.
42597         * iconv/Makefile (xtests): Change dependencies to ....
42598         (xtests-special): ... additions to this variable.
42599         * iconvdata/Makefile (tests): Change dependencies to ....
42600         (tests-special): ... additions to this variable.
42601         * intl/Makefile (tests): Change dependencies to ....
42602         (tests-special): ... additions to this variable.  Also add
42603         $(objpfx)tst-gettext.out.
42604         * io/Makefile (tests): Change dependencies to ....
42605         (tests-special): ... additions to this variable.
42606         * libio/Makefile (tests): Change dependencies to ....
42607         (tests-special): ... additions to this variable.
42608         * malloc/Makefile (tests): Change dependencies to ....
42609         (tests-special): ... additions to this variable.
42610         * misc/Makefile (tests): Change dependencies to ....
42611         (tests-special): ... additions to this variable.
42612         * nptl/Makefile (tests): Change dependencies to ....
42613         (tests-special): ... additions to this variable.
42614         * nptl_db/Makefile (tests): Change dependencies to ....
42615         (tests-special): ... additions to this variable.
42616         * posix/Makefile (tests): Change dependencies to ....
42617         (tests-special): ... additions to this variable.
42618         (xtests): Change dependencies to ....
42619         (xtests-special): ... additions to this variable.
42620         * resolv/Makefile (tests): Change dependencies to ....
42621         (tests-special): ... additions to this variable.
42622         (xtests): Change dependencies to ....
42623         (xtests-special): ... additions to this variable.
42624         * stdio-common/Makefile (tests): Change dependencies to ....
42625         (tests-special): ... additions to this variable.
42626         (do-tst-unbputc): Remove target.
42627         (do-tst-printf): Likewise.
42628         * stdlib/Makefile (tests): Change dependencies to ....
42629         (tests-special): ... additions to this variable.
42630         * string/Makefile (tests): Change dependencies to ....
42631         (tests-special): ... additions to this variable.
42632         * sysdeps/x86/Makefile (tests): Change dependencies to ....
42633         (tests-special): ... additions to this variable.
42635         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
42636         whole file.
42637         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
42638         whole file.
42639         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
42640         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
42642         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
42643         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
42644         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
42645         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
42646         * conform/data/libgen.h-data [XPG3]: Likewise.
42647         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
42648         * conform/data/ndbm.h-data [XPG3]: Likewise.
42649         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
42650         * conform/data/netdb.h-data [XPG3]: Likewise.
42651         * conform/data/netinet/in.h-data [XPG3]: Likewise.
42652         * conform/data/poll.h-data [XPG3]: Likewise.
42653         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
42654         * conform/data/strings.h-data [XPG3]: Likewise.
42655         * conform/data/stropts.h-data [XPG3]: Likewise.
42656         * conform/data/sys/mman.h-data [XPG3]: Likewise.
42657         * conform/data/sys/resource.h-data [XPG3]: Likewise.
42658         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
42659         Likewise.
42660         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
42661         * conform/data/sys/time.h-data [XPG3]: Likewise.
42662         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
42663         * conform/data/sys/uio.h-data [XPG3]: Likewise.
42664         * conform/data/sys/un.h-data [XPG3]: Likewise.
42665         * conform/data/syslog.h-data [XPG3]: Likewise.
42666         * conform/data/ucontext.h-data [XPG3]: Likewise.
42667         * conform/data/utmpx.h-data [XPG3]: Likewise.
42668         * conform/data/varargs.h-data [UNIX98]: Enable file.
42670         * manual/Makefile (INSTALL_INFO): Remove variable setting.
42672         * math/libm-test.inc (struct test_f_f_data): Move expected results
42673         into structure for each rounding mode.
42674         (struct test_ff_f_data): Likewise.
42675         (struct test_ff_f_data_nexttoward): Likewise.
42676         (struct test_fi_f_data): Likewise.
42677         (struct test_fl_f_data): Likewise.
42678         (struct test_if_f_data): Likewise.
42679         (struct test_fff_f_data): Likewise.
42680         (struct test_c_f_data): Likewise.
42681         (struct test_f_f1_data): Likewise.
42682         (struct test_fF_f1_data): Likewise.
42683         (struct test_ffI_f1_data): Likewise.
42684         (struct test_c_c_data): Likewise.
42685         (struct test_cc_c_data): Likewise.
42686         (struct test_f_i_data): Likewise.
42687         (struct test_ff_i_data): Likewise.
42688         (struct test_f_l_data): Likewise.
42689         (struct test_f_L_data): Likewise.
42690         (struct test_fFF_11_data): Likewise.
42691         (RM_): New macro.
42692         (RM_FE_DOWNWARD): Likewise.
42693         (RM_FE_TONEAREST): Likewise.
42694         (RM_FE_TOWARDZERO): Likewise.
42695         (RM_FE_UPWARD): Likewise.
42696         (RUN_TEST_LOOP_f_f): Update references to expected results.
42697         (RUN_TEST_LOOP_2_f): Likewise.
42698         (RUN_TEST_LOOP_fff_f): Likewise.
42699         (RUN_TEST_LOOP_c_f): Likewise.
42700         (RUN_TEST_LOOP_f_f1): Likewise.
42701         (RUN_TEST_LOOP_fF_f1): Likewise.
42702         (RUN_TEST_LOOP_fI_f1): Likewise.
42703         (RUN_TEST_LOOP_ffI_f1): Likewise.
42704         (RUN_TEST_LOOP_c_c): Likewise.
42705         (RUN_TEST_LOOP_cc_c): Likewise.
42706         (RUN_TEST_LOOP_f_i): Likewise.
42707         (RUN_TEST_LOOP_f_i_tg): Likewise.
42708         (RUN_TEST_LOOP_ff_i_tg): Likewise.
42709         (RUN_TEST_LOOP_f_b): Likewise.
42710         (RUN_TEST_LOOP_f_b_tg): Likewise.
42711         (RUN_TEST_LOOP_f_l): Likewise.
42712         (RUN_TEST_LOOP_f_L): Likewise.
42713         (RUN_TEST_LOOP_fFF_11): Likewise.
42714         * math/gen-libm-test.pl (parse_args): Output four copies of
42715         expected results for each test.
42717         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
42718         (__ASSUME_UTIMES): Remove.
42719         * sysdeps/unix/sysv/linux/tile/kernel-features.h
42720         (__ASSUME_UTIMES): Likewise.
42722         * math/gen-auto-libm-tests.c: Update comment on output format.
42723         (output_for_one_input_case): Generate before-rounding and
42724         after-rounding information as conditions on output flags not
42725         floating-point format.
42726         * math/auto-libm-test-out: Regenerated.
42727         * math/gen-libm-test.pl (cond_value): New function.
42728         (or_cond_value): Use cond_value.
42729         (generate_testfile): Handle conditional exceptions.
42731 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
42733         * math/libm-test.inc (max_valid_error): New variable.
42734         (init_max_error): Take new argument specifying whether function
42735         results are exactly determined.  Set max_valid_error and bound
42736         other variables for errors based on this argument.
42737         (set_max_error): Do not record results above max_valid_error.
42738         (check_float_internal): Only accept errors of up to 0.5ulps if
42739         also at most max_valid_error.
42740         (START): Take new argument EXACT and pass it to init_max_error.
42741         (acos_test): Update call to START.
42742         (acos_test_tonearest): Likewise.
42743         (acos_test_towardzero): Likewise.
42744         (acos_test_downward): Likewise.
42745         (acos_test_upward): Likewise.
42746         (acosh_test): Likewise.
42747         (asin_test): Likewise.
42748         (asin_test_tonearest): Likewise.
42749         (asin_test_towardzero): Likewise.
42750         (asin_test_downward): Likewise.
42751         (asin_test_upward): Likewise.
42752         (asinh_test): Likewise.
42753         (atan_test): Likewise.
42754         (atanh_test): Likewise.
42755         (atan2_test): Likewise.
42756         (cabs_test): Likewise.
42757         (cacos_test): Likewise.
42758         (cacosh_test): Likewise.
42759         (carg_test): Likewise.
42760         (casin_test): Likewise.
42761         (casinh_test): Likewise.
42762         (catan_test): Likewise.
42763         (catanh_test): Likewise.
42764         (cbrt_test): Likewise.
42765         (ccos_test): Likewise.
42766         (ccosh_test): Likewise.
42767         (ceil_test): Likewise.
42768         (cexp_test): Likewise.
42769         (cimag_test): Likewise.
42770         (clog_test): Likewise.
42771         (clog10_test): Likewise.
42772         (conj_test): Likewise.
42773         (copysign_test): Likewise.
42774         (cos_test): Likewise.
42775         (cos_test_tonearest): Likewise.
42776         (cos_test_towardzero): Likewise.
42777         (cos_test_downward): Likewise.
42778         (cos_test_upward): Likewise.
42779         (cosh_test): Likewise.
42780         (cosh_test_tonearest): Likewise.
42781         (cosh_test_towardzero): Likewise.
42782         (cosh_test_downward): Likewise.
42783         (cosh_test_upward): Likewise.
42784         (cpow_test): Likewise.
42785         (cproj_test): Likewise.
42786         (creal_test): Likewise.
42787         (csin_test): Likewise.
42788         (csinh_test): Likewise.
42789         (csqrt_test): Likewise.
42790         (ctan_test): Likewise.
42791         (ctan_test_tonearest): Likewise.
42792         (ctan_test_towardzero): Likewise.
42793         (ctan_test_downward): Likewise.
42794         (ctan_test_upward): Likewise.
42795         (ctanh_test): Likewise.
42796         (ctanh_test_tonearest): Likewise.
42797         (ctanh_test_towardzero): Likewise.
42798         (ctanh_test_downward): Likewise.
42799         (ctanh_test_upward): Likewise.
42800         (erf_test): Likewise.
42801         (erfc_test): Likewise.
42802         (exp_test): Likewise.
42803         (exp_test_tonearest): Likewise.
42804         (exp_test_towardzero): Likewise.
42805         (exp_test_downward): Likewise.
42806         (exp_test_upward): Likewise.
42807         (exp10_test): Likewise.
42808         (exp10_test_tonearest): Likewise.
42809         (exp10_test_towardzero): Likewise.
42810         (exp10_test_downward): Likewise.
42811         (exp10_test_upward): Likewise.
42812         (pow10_test): Likewise.
42813         (exp2_test): Likewise.
42814         (expm1_test): Likewise.
42815         (expm1_test_tonearest): Likewise.
42816         (expm1_test_towardzero): Likewise.
42817         (expm1_test_downward): Likewise.
42818         (expm1_test_upward): Likewise.
42819         (fabs_test): Likewise.
42820         (fdim_test): Likewise.
42821         (floor_test): Likewise.
42822         (fma_test): Likewise.
42823         (fma_test_towardzero): Likewise.
42824         (fma_test_downward): Likewise.
42825         (fma_test_upward): Likewise.
42826         (fmax_test): Likewise.
42827         (fmin_test): Likewise.
42828         (fmod_test): Likewise.
42829         (fpclassify_test): Likewise.
42830         (frexp_test): Likewise.
42831         (hypot_test): Likewise.
42832         (ilogb_test): Likewise.
42833         (isfinite_test): Likewise.
42834         (finite_test): Likewise.
42835         (isgreater_test): Likewise.
42836         (isgreaterequal_test): Likewise.
42837         (isinf_test): Likewise.
42838         (isless_test): Likewise.
42839         (islessequal_test): Likewise.
42840         (islessgreater_test): Likewise.
42841         (isnan_test): Likewise.
42842         (isnormal_test): Likewise.
42843         (issignaling_test): Likewise.
42844         (isunordered_test): Likewise.
42845         (j0_test): Likewise.
42846         (j1_test): Likewise.
42847         (jn_test): Likewise.
42848         (ldexp_test): Likewise.
42849         (lgamma_test): Likewise.
42850         (gamma_test): Likewise.
42851         (lrint_test): Likewise.
42852         (lrint_test_tonearest): Likewise.
42853         (lrint_test_towardzero): Likewise.
42854         (lrint_test_downward): Likewise.
42855         (lrint_test_upward): Likewise.
42856         (llrint_test): Likewise.
42857         (llrint_test_tonearest): Likewise.
42858         (llrint_test_towardzero): Likewise.
42859         (llrint_test_downward): Likewise.
42860         (llrint_test_upward): Likewise.
42861         (log_test): Likewise.
42862         (log10_test): Likewise.
42863         (log1p_test): Likewise.
42864         (log2_test): Likewise.
42865         (logb_test): Likewise.
42866         (logb_test_downward): Likewise.
42867         (lround_test): Likewise.
42868         (llround_test): Likewise.
42869         (modf_test): Likewise.
42870         (nearbyint_test): Likewise.
42871         (nextafter_test): Likewise.
42872         (nexttoward_test): Likewise.
42873         (pow_test): Likewise.
42874         (pow_test_tonearest): Likewise.
42875         (pow_test_towardzero): Likewise.
42876         (pow_test_downward): Likewise.
42877         (pow_test_upward): Likewise.
42878         (remainder_test): Likewise.
42879         (drem_test): Likewise.
42880         (remainder_test_tonearest): Likewise.
42881         (drem_test_tonearest): Likewise.
42882         (remainder_test_towardzero): Likewise.
42883         (drem_test_towardzero): Likewise.
42884         (remainder_test_downward): Likewise.
42885         (drem_test_downward): Likewise.
42886         (remainder_test_upward): Likewise.
42887         (drem_test_upward): Likewise.
42888         (remquo_test): Likewise.
42889         (rint_test): Likewise.
42890         (rint_test_tonearest): Likewise.
42891         (rint_test_towardzero): Likewise.
42892         (rint_test_downward): Likewise.
42893         (rint_test_upward): Likewise.
42894         (round_test): Likewise.
42895         (scalb_test): Likewise.
42896         (scalbn_test): Likewise.
42897         (scalbln_test): Likewise.
42898         (signbit_test): Likewise.
42899         (sin_test): Likewise.
42900         (sin_test_tonearest): Likewise.
42901         (sin_test_towardzero): Likewise.
42902         (sin_test_downward): Likewise.
42903         (sin_test_upward): Likewise.
42904         (sincos_test): Likewise.
42905         (sinh_test): Likewise.
42906         (sinh_test_tonearest): Likewise.
42907         (sinh_test_towardzero): Likewise.
42908         (sinh_test_downward): Likewise.
42909         (sinh_test_upward): Likewise.
42910         (sqrt_test): Likewise.
42911         (sqrt_test_tonearest): Likewise.
42912         (sqrt_test_towardzero): Likewise.
42913         (sqrt_test_downward): Likewise.
42914         (sqrt_test_upward): Likewise.
42915         (tan_test): Likewise.
42916         (tan_test_tonearest): Likewise.
42917         (tan_test_towardzero): Likewise.
42918         (tan_test_downward): Likewise.
42919         (tan_test_upward): Likewise.
42920         (tanh_test): Likewise.
42921         (tgamma_test): Likewise.
42922         (trunc_test): Likewise.
42923         (y0_test): Likewise.
42924         (y1_test): Likewise.
42925         (yn_test): Likewise.
42926         (significand_test): Likewise.
42928         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
42929         individual tests in comment.
42930         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
42931         (prev_max_error): New variable.
42932         (prev_real_max_error): Likewise.
42933         (prev_imag_max_error): Likewise.
42934         (compare_ulp_data): Don't refer to test names in comment.
42935         (find_test_ulps): Remove function.
42936         (find_function_ulps): Likewise.
42937         (find_complex_function_ulps): Likewise.
42938         (init_max_error): Take function name as argument.  Look up ulps
42939         for that function.
42940         (print_ulps): Remove function.
42941         (print_max_error): Use prev_max_error instead of calling
42942         find_function_ulps.
42943         (print_complex_max_error): Use prev_real_max_error and
42944         prev_imag_max_error instead of calling find_complex_function_ulps.
42945         (check_float_internal): Take max_ulp parameter instead of calling
42946         find_test_ulps.  Don't call print_ulps.
42947         (check_float): Update call to check_float_internal.
42948         (check_complex): Update calls to check_float_internal.
42949         (START): Pass argument to init_max_error.
42950         * math/gen-libm-test.pl (%results): Don't include "kind"
42951         information.
42952         (parse_ulps): Don't handle ulps of individual tests.
42953         (print_ulps_file): Likewise.
42954         (output_ulps): Likewise.
42955         * math/README.libm-test: Update.
42956         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
42957         individual tests.
42958         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
42959         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
42960         * sysdeps/arm/libm-test-ulps: Likewise.
42961         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
42962         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
42963         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
42964         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
42965         * sysdeps/microblaze/libm-test-ulps: Likewise.
42966         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
42967         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
42968         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42969         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
42970         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42971         * sysdeps/sh/libm-test-ulps: Likewise.
42972         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42973         * sysdeps/tile/libm-test-ulps: Likewise.
42974         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42976 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
42978         * math/libm-test.inc (print_complex_max_error): Check separately
42979         whether real and imaginary errors are within allowed range and
42980         pass 0 to print_complex_function_ulps instead of value within
42981         allowed range.
42983 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42985         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
42986         formatting.
42987         (get_handles_fopen): Likewise.
42988         (do_write_test): Likewise.
42990         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
42992         * libio/fileops.c (do_ftell): Use cached offset when
42993         available.
42994         * libio/iofwide.c (do_ftell_wide): Likewise.
42995         * libio/iofdopen.c (_IO_new_fdopen): Don't use
42996         _IO_file_attach.
42997         * libio/wfileops.c (_IO_fwide): Don't cache offset.
42999         [BZ #16532]
43000         * libio/libioP.h (get_file_offset): New function.
43001         * libio/fileops.c (get_file_offset): Likewise.
43002         (do_ftell): Likewise.
43003         (_IO_new_file_seekoff): Split out ftell logic.
43004         * libio/wfileops.c (do_ftell_wide): Likewise.
43005         (_IO_wfile_seekoff): Split out ftell logic.
43006         * libio/tst-ftell-active-handler.c: New test case.
43007         * libio/Makefile (tests): Add it.
43009 2014-03-03  Roland McGrath  <roland@hack.frob.com>
43011         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
43012         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
43014 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
43016         [BZ #16639]
43017         * nscd/connections.c (nscd_init): Call do_exit.
43018         (start_threads): Call do_exit and notify_parent.
43019         (begin_drop_privileges): Call do_exit.
43020         (finish_drop_privileges): Likewise.
43021         * nscd/selinux.c (preserve_capabilities): Likewise.
43022         (install_real_capabilities): Likewise.
43023         (nscd_selinux_enabled): Likewise.
43024         (avc_create_thread): Likewise.
43025         (avc_alloc_lock): Likewise.
43026         (nscd_avc_init): Likewise.
43027         * nscd/nscd.c (parent_fd): New static variable.
43028         (main): Create a pipe between parent and child processes.
43029         Skip closing parent_fd.
43030         (monitor_child): New function.
43031         (do_exit): Likewise.
43032         (notify_parent): Likewise.
43033         * nscd/nscd.h (notify_parent): Likewise.
43034         (do_exit): Likewise.
43036 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
43038         * malloc/malloc.c (__libc_calloc): Revert last change.
43040 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43042         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43044 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
43046         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
43047         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
43048         implementation.
43049         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43050         (__libc_ifunc_impl_list): Likewise.
43051         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
43052         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
43053         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
43054         * string/strrchr.c: Define STRRCHR.
43056 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
43058         * benchtest/bench-strtok.c (simple_strtok): Delete.
43059         (strtok_string): Use as benchmark.
43060         * string/strtok (STRTOK): New macro.
43062 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
43064         * manual/threads.texi: Add header and standard comments to all
43065         functions.
43067         * elf/dl-lookup.c (check_match): New function.
43068         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
43069         (do_lookup_x): Remove nested function check_match. Use non-nested
43070         function check_match.
43072 2014-02-28  Roland McGrath  <roland@hack.frob.com>
43074         * csu/Makefile (generated, before-compile): Use += rather than =.
43075         * catgets/Makefile (generated, generated-dirs): Likewise.
43076         * debug/Makefile (generated): Likewise.
43077         * dlfcn/Makefile (generated): Likewise.
43078         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
43079         * iconvdata/Makefile (before-compile, generated): Likewise.
43080         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
43081         * libio/Makefile (generated): Likewise.
43082         * malloc/Makefile (generated): Likewise.
43083         * manual/Makefile (generated, generated-dirs): Likewise.
43084         * misc/Makefile (generated): Likewise.
43085         * posix/Makefile (generated): Likewise.
43086         * resolv/Makefile (generated): Likewise.
43087         * sunrpc/Makefile (generated, generated-dirs): Likewise.
43088         * timezone/Makefile (generated, generated-dirs): Likewise.
43090         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
43092 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43094         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
43095         power8 implementation.
43096         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
43097         file: POWER8 llround ifunc implementation.
43098         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
43099         (__lllround): Add POWER8 implementation.
43100         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
43101         POWER8 llround implementation.
43103         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
43104         power8 implementation.
43105         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
43106         file: POWER8 llrint ifunc implementation.
43107         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
43108         Add POWER8 implementation.
43109         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
43110         POWER8 llrint implementation.
43112         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
43113         power8 implementation.
43114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
43115         file: POWER8 finite ifunc implementation.
43116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
43117         Add POWER8 implementation.
43118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
43119         Likewise.
43120         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
43121         POWER8 finite implementation.
43122         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
43124         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
43125         power8 implementation.
43126         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
43127         file: POWER8 isinf ifunc implementation.
43128         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
43129         POWER8 implementation.
43130         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
43131         Likewise.
43132         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
43133         isinf implementation.
43134         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
43136         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
43137         (INIT_ARCH): Add hwcap2 initialization.
43138         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
43139         power8 implementation.
43140         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
43141         file: POWER8 isnan ifunc implementation.
43142         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
43143         POWER8 implementation.
43144         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
43145         Likewise.
43146         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
43147         isnan implementation.
43148         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
43150 2014-02-27  Joey Ye  <joey.ye@arm.com>
43152         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
43153         (_FP_NANFRAC_Q): Set to zero.
43155 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
43157         [BZ #16623]
43158         * math/auto-libm-test-in: New test inputs.
43159         * math/auto-libm-test-out: Regenerate.
43160         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
43161         and DA.
43162         (__cos): Likewise.
43163         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
43165 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
43167         * scripts/evaluate-test.sh: Take new argument indicating whether
43168         failure is expected.
43169         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
43170         indicating whether failure is expected.
43171         * conform/Makefile (test-xfail-run-conformtest): New variable.
43172         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
43173         level.
43174         * posix/Makefile (test-xfail-annexc): New variable.
43175         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
43177 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
43179         * argp/Makefile: Include Makeconfig immediately after defining
43180         subdir.
43181         * assert/Makefile: Likewise.
43182         * benchtests/Makefile: Likewise.
43183         * catgets/Makefile: Likewise.
43184         * conform/Makefile: Likewise.
43185         * crypt/Makefile: Likewise.
43186         * csu/Makefile: Likewise.
43187         (all): Remove target.
43188         * ctype/Makefile: Include Makeconfig immediately after defining
43189         subdir.
43190         * debug/Makefile: Likewise.
43191         * dirent/Makefile: Likewise.
43192         * dlfcn/Makefile: Likewise.
43193         * gmon/Makefile: Likewise.
43194         * gnulib/Makefile: Likewise.
43195         * grp/Makefile: Likewise.
43196         * gshadow/Makefile: Likewise.
43197         * hesiod/Makefile: Likewise.
43198         * hurd/Makefile: Likewise.
43199         (all): Remove target.
43200         * iconvdata/Makefile: Include Makeconfig immediately after
43201         defining subdir.
43202         * inet/Makefile: Likewise.
43203         * intl/Makefile: Likewise.
43204         * io/Makefile: Likewise.
43205         * libio/Makefile: Likewise.
43206         (all): Remove target.
43207         * locale/Makefile: Include Makeconfig immediately after defining
43208         subdir.
43209         * login/Makefile: Likewise.
43210         * mach/Makefile: Likewise.
43211         (all): Remove target.
43212         * malloc/Makefile: Include Makeconfig immediately after defining
43213         subdir.
43214         (all): Remove target.
43215         * manual/Makefile: Include Makeconfig immediately after defining
43216         subdir.
43217         * math/Makefile: Likewise.
43218         * misc/Makefile: Likewise.
43219         * nis/Makefile: Likewise.
43220         * nss/Makefile: Likewise.
43221         * po/Makefile: Likewise.
43222         (all): Remove target.
43223         * posix/Makefile: Include Makeconfig immediately after defining
43224         subdir.
43225         * pwd/Makefile: Likewise.
43226         * resolv/Makefile: Likewise.
43227         * resource/Makefile: Likewise.
43228         * rt/Makefile: Likewise.
43229         * setjmp/Makefile: Likewise.
43230         * shadow/Makefile: Likewise.
43231         * signal/Makefile: Likewise.
43232         * socket/Makefile: Likewise.
43233         * soft-fp/Makefile: Likewise.
43234         * stdio-common/Makefile: Likewise.
43235         * stdlib/Makefile: Likewise.
43236         * streams/Makefile: Likewise.
43237         * string/Makefile: Likewise.
43238         * sunrpc/Makefile: Likewise.
43239         (all): Remove target.
43240         * sysvipc/Makefile: Include Makeconfig immediately after defining
43241         subdir.
43242         * termios/Makefile: Likewise.
43243         * time/Makefile: Likewise.
43244         * timezone/Makefile: Likewise.
43245         (all): Remove target.
43246         * wcsmbs/Makefile: Include Makeconfig immediately after defining
43247         subdir.
43248         * wctype/Makefile: Likewise.
43250 2014-02-26  Steve Ellcey  <sellcey@mips.com>
43252         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
43253         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
43254         (libc_feholdexcept_setround_mips): Ditto.
43255         (libc_feholdsetround): New.
43256         (libc_feholdsetroundf): New.
43257         (libc_feholdsetroundl): New.
43258         (libc_feupdateenv_test_mips): New.
43259         (libc_feupdateenv_test): New.
43260         (libc_feupdateenv_testf): New.
43261         (libc_feupdateenv_testl): New.
43262         (libc_feresetround): New.
43263         (libc_feresetroundf): New.
43264         (libc_feresetroundl): New.
43265         (libc_fetestexcept_mips): New.
43266         (libc_fetestexcept): New.
43267         (libc_fetestexceptf): New.
43268         (libc_fetestexceptl): New.
43269         (HAVE_RM_CTX): New.
43270         (libc_feholdexcept_setround_mips_ctx): New.
43271         (libc_feholdexcept_setround_ctx): New.
43272         (libc_feholdexcept_setroundf_ctx): New.
43273         (libc_feholdexcept_setroundl_ctx): New.
43274         (libc_fesetenv_mips_ctx): New.
43275         (libc_fesetenv_ctx): New.
43276         (libc_fesetenv_ctxf): New.
43277         (libc_fesetenv_ctxl): New.
43278         (libc_feupdateenv_mips_ctx): New.
43279         (libc_feupdateenv_ctx): New.
43280         (libc_feupdateenvf_ctx): New.
43281         (libc_feupdateenvl_ctx): New.
43282         (libc_feholdsetround_mips_ctx): New.
43283         (libc_feholdsetround_ctx): New.
43284         (libc_feholdsetroundf_ctx): New.
43285         (libc_feholdsetroundl_ctx): New.
43286         (libc_feresetround_mips_ctx): New.
43287         (libc_feresetround_ctx): New.
43288         (libc_feresetroundf_ctx): New.
43289         (libc_feresetroundl_ctx): New.
43291 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
43293         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
43295         * manual/ipc.texi: New file.
43296         * manual/Makefile (chapters): Add ipc.
43297         * manual/job.texi: Add "Inter-Process Communication" to next.
43298         * manual/process.texi: Add "Inter-Process Communication" to prev.
43300 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43302         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43304 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
43306         * malloc/malloc.c (__libc_calloc): Simplify implementation.
43308         * manual/arith.texi: Fix spaces after sentences.
43309         * manual/charset.texi: Likewise.
43310         * manual/errno.texi: Likewise.
43311         * manual/install.texi: Likewise.
43312         * manual/llio.texi: Likewise.
43313         * manual/locale.texi: Likewise.
43314         * manual/maint.texi: Likewise.
43315         * manual/math.texi: Likewise.
43316         * manual/memory.texi: Likewise.
43317         * manual/message.texi: Likewise.
43318         * manual/probes.texi: Likewise.
43319         * manual/resource.texi: Likewise.
43320         * manual/signal.texi: Likewise.
43321         * manual/socket.texi: Likewise.
43322         * manual/stdio.texi: Likewise.
43323         * manual/string.texi: Likewise.
43324         * manual/time.texi: Likewise.
43325         * manual/users.texi: Likewise.
43327 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
43329         [BZ #16632]
43330         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
43331         _DEFAULT_SOURCE is defined.
43333 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
43334             Carlos O'Donell  <carlos@redhat.com>
43336         [BZ #16613]
43337         * elf/dl-tls.c (_dl_count_modids): New function.
43338         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
43339         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
43340         audit library and increment generation counter.
43341         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
43342         * elf/tst-audit9.c: New file.
43343         * elf/tst-auditmod9a.c: New file.
43344         * elf/tst-auditmod9b.c: New file.
43345         * elf/Makefile: Add rules to build and run tst-audit9.
43347 2014-02-25  Florian Weimer  <fweimer@redhat.com>
43349         [BZ #15347]
43350         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
43352 2014-02-25  Will Newton  <will.newton@linaro.org>
43354         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
43355         (__longjmp): Restore sp and lr before restoring callee
43356         saved registers.  Add longjmp and longjmp_target
43357         SystemTap probe point.
43358         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
43359         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
43360         Define to zero to match jmpbuf layout.
43361         * sysdeps/arm/setjmp.S: Include stap-probe.h.
43362         (__sigsetjmp): Save sp and lr before saving callee
43363         saved registers.  Add setjmp SystemTap probe point.
43365 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
43367         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
43369 2014-02-24  Andreas Schwab  <schwab@suse.de>
43371         [BZ #15804]
43372         * elf/pldd.c (wait_for_ptrace_stop): New function.
43373         (main): Call it after attaching.
43375 2014-02-22  Roland McGrath  <roland@hack.frob.com>
43377         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
43378         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
43379         Versions files is now verboten.
43380         * hurd/Versions (libc: GLIBC_2.0):
43381         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
43382         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
43383         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
43384         * mach/Versions: Likewise.
43386         * csu/Versions: Remove unused %include.
43387         * resolv/Versions: Likewise.
43389 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
43391         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
43392         ($(objpfx)check-local-headers.out): Likewise.
43393         ($(objpfx)begin-end-check.out): Likewise.
43394         * Makerules (check-abi-%.out): Likewise.
43395         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
43396         ($(objpfx)test2.cat): Likewise.
43397         ($(objpfx)de/libc.cat): Likewise.
43398         ($(objpfx)test-gencat.out): Likewise.
43399         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
43400         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
43401         ($(objpfx)noload-mem): Likewise.
43402         ($(objpfx)tst-pathopt.out): Likewise.
43403         ($(objpfx)tst-rtld-load-self.out): Likewise.
43404         ($(objpfx)tst-array1-cmp.out): Likewise.
43405         ($(objpfx)tst-array1-static-cmp.out): Likewise.
43406         ($(objpfx)tst-array2-cmp.out): Likewise.
43407         ($(objpfx)tst-array3-cmp.out): Likewise.
43408         ($(objpfx)tst-array4-cmp.out): Likewise.
43409         ($(objpfx)tst-array5-cmp.out): Likewise.
43410         ($(objpfx)tst-array5-static-cmp.out): Likewise.
43411         ($(objpfx)check-textrel.out): Likewise.
43412         ($(objpfx)check-execstack.out): Likewise.
43413         ($(objpfx)check-localplt.out): Likewise.
43414         ($(objpfx)order2-cmp.out): Likewise.
43415         ($(objpfx)tst-leaks1-mem): Likewise.
43416         ($(objpfx)tst-leaks1-static-mem): Likewise.
43417         ($(objpfx)tst-initorder-cmp.out): Likewise.
43418         ($(objpfx)tst-initorder2-cmp.out): Likewise.
43419         ($(objpfx)tst-unused-dep.out): Likewise.
43420         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
43421         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
43422         * iconv/Makefile (test-iconvconfig): Likewise.
43423         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
43424         ($(objpfx)iconv-test.out): Likewise.
43425         ($(objpfx)tst-tables.out): Likewise.
43426         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
43427         ($(objpfx)tst-gettext.out): Likewise.
43428         ($(objpfx)tst-translit.out): Likewise.
43429         ($(objpfx)tst-gettext2.out): Likewise.
43430         ($(objpfx)tst-gettext4.out): Likewise.
43431         ($(objpfx)tst-gettext6.out): Likewise.
43432         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
43433         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
43434         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
43435         ($(objpfx)tst-fopenloc-mem.out): Likewise.
43436         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
43437         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
43438         * posix/Makefile ($(objpfx)globtest.out): Likewise.
43439         ($(objpfx)wordexp-tst.out): Likewise.
43440         ($(objpfx)annexc.out): Likewise.
43441         ($(objpfx)tst-fnmatch-mem): Likewise.
43442         ($(objpfx)bug-regex2-mem): Likewise.
43443         ($(objpfx)bug-regex14-mem): Likewise.
43444         ($(objpfx)bug-regex21-mem): Likewise.
43445         ($(objpfx)bug-regex31-mem): Likewise.
43446         ($(objpfx)tst-vfork3-mem): Likewise.
43447         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
43448         ($(objpfx)tst-pcre-mem): Likewise.
43449         ($(objpfx)tst-boost-mem): Likewise.
43450         ($(objpfx)tst-getconf.out): Likewise.
43451         ($(objpfx)bug-ga2-mem): Likewise.
43452         ($(objpfx)bug-glob2-mem): Likewise.
43453         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
43454         ($(objpfx)mtrace-tst-leaks2): Likewise.
43455         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
43456         ($(objpfx)tst-printf.out): Likewise.
43457         ($(objpfx)tst-setvbuf1.out): Likewise.
43458         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
43459         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
43460         ($(objpfx)tst-fmtmsg.out): Likewise.
43461         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
43462         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
43464         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
43465         * bits/sigaction.h [__USE_MISC]: Likewise.
43466         * bits/waitstatus.h: Update #endif comments.
43467         * ctype/ctype.h: Likewise.
43468         * dirent/dirent.h: Likewise.
43469         [__USE_MISC]: Remove redundant conditionals.
43470         * grp/grp.h: Update #endif comments.
43471         [__USE_GNU]: Remove redundant conditionals.
43472         [__USE_MISC]: Likewise.
43473         * inet/netinet/in.h [__USE_GNU]: Likewise.
43474         * io/sys/stat.h [__USE_MISC]: Likewise.
43475         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
43476         * libio/bits/stdio.h: Update #endif comments.
43477         [__USE_MISC]: Remove redundant conditionals.
43478         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
43479         * libio/stdio.h: Update #endif comments.
43480         [__USE_MISC]: Remove redundant conditionals.
43481         * math/bits/math-finite.h [__USE_MISC]: Likewise.
43482         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
43483         * math/math.h: Update #else and #endif comments.
43484         [__USE_MISC]: Remove redundant conditionals.
43485         * misc/sys/uio.h: Update #endif comments.
43486         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
43487         * posix/glob.h [__USE_MISC]: Likewise.
43488         * posix/sys/types.h: Update #endif comments.
43489         [__USE_MISC]: Remove redundant conditionals.
43490         * posix/sys/wait.h: Update #endif comments.
43491         [__USE_MISC]: Remove redundant conditionals.
43492         * posix/unistd.h: Update #endif comments.
43493         [__USE_MISC]: Remove redundant conditionals.
43494         * pwd/pwd.h [__USE_GNU]: Likewise.
43495         [__USE_MISC]: Likewise.
43496         * resolv/netdb.h [__USE_GNU]: Likewise.
43497         * signal/signal.h: Update #endif comments.
43498         [__USE_MISC]: Remove redundant conditionals.
43499         * stdlib/stdlib.h: Update #else and #endif comments.
43500         [__USE_MISC]: Remove redundant conditionals.
43501         [__USE_GNU]: Likewise.
43502         * string/bits/string2.h [__USE_MISC]: Likewise.
43503         * string/string.h: Update #endif comments.
43504         [__USE_MISC]: Remove redundant conditionals.
43505         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
43506         Likewise.
43507         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
43508         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
43509         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
43510         Likewise.
43511         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
43512         Likewise.
43513         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
43514         comments.
43515         [__USE_MISC]: Remove redundant conditionals.
43516         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
43517         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
43518         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
43519         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
43520         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
43521         Likewise.
43522         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
43523         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
43524         Likewise.
43525         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
43526         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
43527         Likewise.
43528         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
43529         Likewise.
43530         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
43531         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
43532         Likewise.
43533         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
43534         Likewise.
43535         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
43536         * sysdeps/x86/bits/string.h: Update #endif comments.
43537         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
43538         conditionals.
43539         * time/sys/time.h: Update #endif comments.
43540         * time/time.h: Likewise.
43541         [__USE_MISC]: Remove redundant conditionals.
43543 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
43545         [BZ #16600]
43546         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
43548 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
43550         * Versions.def (librt): Add GLIBC_2.17.
43552 2014-02-21  Adam Conrad  <adconrad@0c3.net>
43554         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
43555         synonym for _SYS_AUXV_H to allow direct inclusion.
43556         * sysdeps/sparc/bits/hwcap.h: Likewise.
43557         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
43558         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
43559         * sysdeps/sparc/sysdep.h: Likewise.
43561 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43563         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
43565 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
43567         * benchtests/bench-strrchr.c: Print length instead of position.
43569 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
43571         [BZ #16611]
43572         * sysdeps/unix/sysv/linux/kernel-features.h
43573         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
43574         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
43575         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
43576         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
43577         Likewise.
43578         [__i386__ || __powerpc__ || __sh__ || __sparc__]
43579         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43580         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
43581         (__ASSUME_SENDMMSG): Define instead of using previous
43582         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
43583         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
43584         (__ASSUME_SENDMMSG_SYSCALL): Define.
43585         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43586         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
43587         Likewise.
43588         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43589         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
43590         Likewise.
43591         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
43592         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
43593         Likewise.
43594         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
43595         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
43596         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
43597         [__ASSUME_SENDMMSG]: Change conditionals to
43598         [__ASSUME_SENDMMSG_SOCKETCALL].
43599         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43600         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
43601         Define.
43602         * sysdeps/unix/sysv/linux/mips/kernel-features.h
43603         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
43604         Likewise.
43605         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
43606         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
43607         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
43608         [!__ASSUME_SENDMMSG]: Change conditional to
43609         [!__ASSUME_SENDMMSG_SOCKETCALL].
43610         * sysdeps/unix/sysv/linux/tile/kernel-features.h
43611         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
43612         Define.
43614         [BZ #16610]
43615         * sysdeps/unix/sysv/linux/kernel-features.h
43616         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
43617         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
43618         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
43619         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
43620         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
43621         [__i386__ || __sparc__]
43622         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43623         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
43624         (__ASSUME_RECVMMSG): Define instead of using previous
43625         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
43626         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
43627         (__ASSUME_RECVMMSG_SYSCALL): Define.
43628         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43629         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
43630         Likewise.
43631         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43632         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
43633         Likewise.
43634         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
43635         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
43636         Likewise.
43637         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
43638         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
43639         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
43640         [__ASSUME_RECVMMSG]: Change condition to
43641         [__ASSUME_RECVMMSG_SOCKETCALL].
43642         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43643         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
43644         Define.
43645         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43646         * sysdeps/unix/sysv/linux/mips/kernel-features.h
43647         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
43648         Likewise.
43649         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
43650         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
43651         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
43652         [!__ASSUME_RECVMMSG]: Change condition to
43653         [!__ASSUME_RECVMMSG_SOCKETCALL].
43654         * sysdeps/unix/sysv/linux/tile/kernel-features.h
43655         (__ASSUME_RECVMMSG_SYSCALL): Define.
43657         [BZ #16609]
43658         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
43659         __powerpc__ || __s390__ || __sh__ || __sparc__]
43660         (__ASSUME_SOCKETCALL): Define.
43661         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
43662         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
43663         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
43664         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
43665         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
43666         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
43667         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
43668         (__ASSUME_ACCEPT4): Define instead of using previous
43669         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
43670         __powerpc__ || __sparc__ || __s390__)] condition.
43671         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
43672         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
43673         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
43674         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
43675         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
43676         [!__ASSUME_ACCEPT4]: Change condition to
43677         [!__ASSUME_ACCEPT4_SOCKETCALL].
43678         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43679         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
43680         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
43681         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43682         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
43683         __ASSUME_ACCEPT4_SYSCALL.
43684         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
43685         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
43686         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
43687         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
43688         __ASSUME_ACCEPT4_SYSCALL.
43689         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
43690         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
43691         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
43692         [__ASSUME_ACCEPT4]: Change condition to
43693         [__ASSUME_ACCEPT4_SOCKETCALL].
43694         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
43695         (__ASSUME_SOCKETCALL): Define.
43696         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
43697         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43698         (__ASSUME_SOCKETCALL): Define.
43699         (__ASSUME_ACCEPT4): Remove.
43700         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
43701         Define.
43702         * sysdeps/unix/sysv/linux/mips/kernel-features.h
43703         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
43704         Likewise.
43705         * sysdeps/unix/sysv/linux/tile/kernel-features.h
43706         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
43708         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
43709         macro.
43710         (HWCAP_ARM_LPAE): Likewise.
43711         (HWCAP_ARM_EVTSTRM): Likewise.
43712         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
43713         Add vpfd32, lpae and evtstrm.
43714         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
43715         Increase to 22.
43717 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
43719         * math/auto-libm-test-in: Add tests of clog10.
43720         * math/auto-libm-test-out: Regenerated.
43721         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
43722         * sysdeps/i386/fpu/libm-test-ulps: Update.
43723         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43725 2014-02-18  Andreas Schwab  <schwab@suse.de>
43727         [BZ #16574]
43728         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
43729         Store non-zero if the second buffer was newly allocated.
43730         (send_dg): Likewise.
43731         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
43732         to send_vc and send_dg.
43733         (res_nsend): Pass NULL for ansp2_malloced.
43734         * resolv/res_query.c (__libc_res_nquery): Add parameter
43735         answerp2_malloced and pass it down to __libc_res_nsend.
43736         (res_nquery): Pass additional NULL to __libc_res_nquery.
43737         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
43738         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
43739         second answer buffer if answerp2_malloced was set.
43740         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
43741         (__libc_res_nquerydomain): Add parameter
43742         answerp2_malloced and pass it down to __libc_res_nquery.
43743         (res_nquerydomain): Pass additional NULL to
43744         __libc_res_nquerydomain.
43745         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
43746         additional NULL to __libc_res_nsend and __libc_res_nquery.
43747         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
43748         additional NULL to __libc_res_nsearch.
43749         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
43750         parameter of __libc_res_nsearch to check for separately allocated
43751         second buffer.
43752         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
43753         __libc_res_nquery.
43754         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
43755         additional NULL to __libc_res_nquery.
43756         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
43757         __libc_res_nsearch.
43758         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
43759         * include/resolv.h: Update prototypes of __libc_res_nquery,
43760         __libc_res_nsearch, __libc_res_nsend.
43762 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
43764         * math/auto-libm-test-in: Add tests of fma.
43765         * math/auto-libm-test-out: Regenerated.
43766         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
43767         (fma_towardzero_test_data): Likewise.
43768         (fma_downward_test_data): Likewise.
43769         (fma_upward_test_data): Likewise.
43770         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
43771         mpc_mode.
43772         (rounding_modes): Add values for new field.
43773         (func_calc_method): Add value mpfr_fff_f.
43774         (func_calc_desc): Add mpfr_fff_f union field.
43775         (test_function): Add field exact_args.
43776         (FUNC): Add macro argument EXACT_ARGS.
43777         (FUNC_mpfr_f_f): Update call to FUNC.
43778         (FUNC_mpfr_f_f): Likewise.
43779         (FUNC_mpfr_ff_f): Likewise.
43780         (FUNC_mpfr_if_f): Likewise.
43781         (FUNC_mpc_c_f): Likewise.
43782         (FUNC_mpc_c_c): Likewise.
43783         (test_functions): Add fma.  Update calls to FUNC.
43784         (handle_input_arg): Add argument exact_args.
43785         (add_test): Update call to handle_input_arg.
43786         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
43787         (output_for_one_input_case): Update call to calc_generic_results.
43788         Recalculate exact zero results in each rounding mode.
43790         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
43791         non-negative before setting low bit.
43792         * math/auto-libm-test-in: Mark one asin test possibly having
43793         spurious underflow.
43794         * math/auto-libm-test-out: Regenerated.
43795         * sysdeps/i386/fpu/libm-test-ulps: Update.
43796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43798 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
43800         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
43801         * sysdeps/unix/sysv/linux/microblaze: Move directory from
43802         ports/sysdeps/unix/sysv/linux/microblaze.
43803         * README: Add missing listing for microblaze*-*-linux-gnu.
43805 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
43807         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
43808         duplicate code
43810 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
43812         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
43813         * sysdeps/unix/sysv/linux/ia64: Move directory from
43814         ports/sysdeps/unix/sysv/linux/ia64.
43815         * README: Update listing for ia64-*-linux-gnu.
43817 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
43818             Joseph Myers  <joseph@codesourcery.com>
43820         * Makeconfig (test-name): New variable.
43821         (evaluate-test): Likewise.
43822         * Makerules (do-test-clean): Remove .test-result files.
43823         (common-mostlyclean): Likewise.
43824         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
43825         * scripts/evaluate-test.sh: New file.
43827 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
43829         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
43830         separate $(objpfx)tst-fopenloc-cmp.out and
43831         $(objpfx)tst-fopenloc-mem.out targets.
43832         (tests): Update dependencies.
43833         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
43834         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
43835         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
43836         (tst-rxspencer-no-utf8-ARGS): New variable.
43837         (tst-rxspencer-no-utf8-ENV): Likewise.
43838         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
43839         instead of $(objpfx)tst-rxspencer-mem.
43840         ($(objpfx)tst-rxspencer-mem): Change target to
43841         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
43842         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
43843         * posix/tst-rxspencer-no-utf8.c: New file.
43845         * elf/Makefile ($(objpfx)order.out): Remove rule.
43846         [$(run-built-tests) = yes] (tests): Depend on
43847         $(objpfx)order-cmp.out.
43848         ($(objpfx)order-cmp.out): New rule.
43849         [$(run-built-tests) = yes] (tests): Depend on
43850         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
43851         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
43852         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
43853         $(objpfx)tst-array5-static-cmp.out.
43854         ($(objpfx)tst-array1.out): Remove rule.
43855         ($(objpfx)tst-array1-cmp.out): New rule.
43856         ($(objpfx)tst-array1-static.out): Remove rule.
43857         ($(objpfx)tst-array1-static-cmp.out): New rule.
43858         ($(objpfx)tst-array2.out): Remove rule.
43859         ($(objpfx)tst-array2-cmp.out): New rule.
43860         ($(objpfx)tst-array3.out): Remove rule.
43861         ($(objpfx)tst-array3-cmp.out): New rule.
43862         ($(objpfx)tst-array4.out): Remove rule.
43863         ($(objpfx)tst-array4-cmp.out): New rule.
43864         ($(objpfx)tst-array5.out): Remove rule.
43865         ($(objpfx)tst-array5-cmp.out): New rule.
43866         ($(objpfx)tst-array5-static.out): Remove rule.
43867         ($(objpfx)tst-array5-static-cmp.out): New rule.
43868         [$(run-built-tests) = yes] (tests): Depend on
43869         $(objpfx)order2-cmp.out.
43870         ($(objpfx)order2.out): Remove rule.
43871         ($(objpfx)order2-cmp.out): New rule.
43872         ($(objpfx)tst-initorder.out): Remove rule.
43873         [$(run-built-tests) = yes] (tests): Depend on
43874         $(objpfx)tst-initorder-cmp.out.
43875         ($(objpfx)tst-initorder-cmp.out): New rule.
43876         ($(objpfx)tst-initorder2.out): Remove rule.
43877         [$(run-built-tests) = yes] (tests): Depend on
43878         $(objpfx)tst-initorder2-cmp.out.
43879         ($(objpfx)tst-initorder2-cmp.out): New rule.
43880         [$(run-built-tests) = yes] (tests): Depend on
43881         $(objpfx)tst-unused-dep-cmp.out.
43882         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
43883         ($(objpfx)tst-unused-dep-cmp.out): New rule.
43884         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
43885         on $(objpfx)tst-setvbuf1-cmp.out.
43886         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
43887         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
43888         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
43889         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
43890         ($(objpfx)tst-svc.out): Remove rule.
43891         ($(objpfx)tst-svc-cmp.out): New rule.
43893 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
43895         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
43896         * ctype/ctype.h [__USE_MISC]: Likewise.
43897         * dirent/dirent.h [__USE_MISC]: Likewise.
43898         * grp/grp.h [__USE_MISC]: Likewise.
43899         * io/fcntl.h [__USE_MISC]: Likewise.
43900         * io/sys/stat.h [__USE_MISC]: Likewise.
43901         * libio/stdio.h [__USE_MISC]: Likewise.
43902         * posix/unistd.h [__USE_MISC]: Likewise.
43903         * pwd/pwd.h [__USE_MISC]: Likewise.
43904         * stdlib.h [__USE_MISC]: Likewise.
43905         * string/bits/string2.h [__USE_MISC]: Likewise.
43906         * string/string.h [__USE_MISC]: Likewise.
43907         * time/time.h [__USE_MISC]: Likewise.
43909 2014-02-13  Andreas Schwab  <schwab@suse.de>
43911         [BZ #16574]
43912         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
43913         second answer buffer if it was separately allocated.
43915 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
43917         * sysdeps/mips/math-tests.h: Include <features.h>.
43918         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
43919         (ROUNDING_TESTS_long_double): Do not define.
43920         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
43921         (EXCEPTION_TESTS_long_double): Likewise.
43922         * sysdeps/mips/mips64/libm-test-ulps: Update.
43924         * include/features.h (__USE_BSD): Remove macro definitions.
43925         (__USE_SVID): Likewise.
43926         (_BSD_SOURCE): Likewise.
43927         (_SVID_SOURCE): Likewise.
43928         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
43929         from definition of _DEFAULT_SOURCE.
43930         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
43931         [_DEFAULT_SOURCE].
43932         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
43933         * bits/mman.h [__USE_BSD]: Likewise.
43934         * bits/termios.h [__USE_BSD]: Likewise.
43935         * bits/waitstatus.h [__USE_BSD]: Likewise.
43936         * ctype/ctype.h [__USE_SVID]: Likewise.
43937         * dirent/dirent.h [__USE_BSD]: Likewise.
43938         * grp/grp.h [__USE_SVID]: Likewise.
43939         [__USE_BSD]: Likewise.
43940         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
43941         * io/fcntl.h [__USE_BSD]: Likewise.
43942         * io/ftw.h [__USE_BSD]: Likewise.
43943         * io/sys/stat.h [__USE_BSD]: Likewise.
43944         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
43945         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
43946         * libio/stdio.h [__USE_SVID]: Likewise.
43947         [__USE_BSD]: Likewise.
43948         * math/math.h [__USE_SVID]: Likewise.
43949         [__USE_BSD]: Likewise.
43950         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
43951         * misc/bits/syslog.h [__USE_BSD]: Likewise.
43952         * misc/search.h [__USE_SVID]: Likewise.
43953         * misc/sys/mman.h [__USE_BSD]: Likewise.
43954         * misc/sys/syslog.h [__USE_BSD]: Likewise.
43955         * misc/sys/uio.h [__USE_BSD]: Likewise.
43956         * posix/bits/unistd.h [__USE_BSD]: Likewise.
43957         * posix/glob.h [__USE_BSD]: Likewise.
43958         * posix/regex.h [__USE_BSD]: Likewise.
43959         * posix/sys/types.h [__USE_BSD]: Likewise.
43960         [__USE_SVID]: Likewise.
43961         * posix/sys/utsname.h [__USE_SVID]: Likewise.
43962         * posix/sys/wait.h [__USE_BSD]: Likewise.
43963         [__USE_SVID]: Likewise.
43964         * posix/unistd.h [__USE_BSD]: Likewise.
43965         [__USE_SVID]: Likewise.
43966         * pwd/pwd.h [__USE_SVID]: Likewise.
43967         * resolv/netdb.h [__USE_BSD]: Likewise.
43968         * setjmp/setjmp.h [__USE_BSD]: Likewise.
43969         * signal/signal.h [__USE_BSD]: Likewise.
43970         [__USE_SVID]: Likewise.
43971         * socket/sys/socket.h [__USE_BSD]: Likewise.
43972         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
43973         * stdlib/stdlib.h [__USE_BSD]: Likewise.
43974         [__USE_SVID]: Likewise.
43975         * string/bits/string2.h [__USE_BSD]: Likewise.
43976         [__USE_SVID]: Likewise.
43977         * string/bits/string3.h [__USE_BSD]: Likewise.
43978         * string/endian.h [__USE_BSD]: Likewise.
43979         * string/string.h [__USE_SVID]: Likewise.
43980         [__USE_BSD]: Likewise.
43981         * string/strings.h [__USE_BSD]: Likewise.
43982         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
43983         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
43984         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
43985         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
43986         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
43987         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
43988         Likewise.
43989         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
43990         Likewise.
43991         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
43992         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
43993         Likewise.
43994         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
43995         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
43996         Likewise.
43997         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
43998         Likewise.
43999         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
44000         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
44001         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
44002         Likewise.
44003         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
44004         Likewise.
44005         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
44006         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
44007         * termios/termios.h [__USE_BSD]: Likewise.
44008         * time/sys/time.h [__USE_BSD]: Likewise.
44009         * time/time.h [__USE_BSD]: Likewise.
44010         [__USE_SVID]: Likewise.
44012         * Makefile (subdir_targets): Remove subdir_lint.out.
44014         * stdio-common/Makefile (do-tst-unbputc): Remove target.
44015         (do-tst-printf): Likewise.
44016         (tests): Depend directly on $(objpfx)tst-unbputc.out and
44017         $(objpfx)tst-printf.out.
44019         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
44021         * Makerules (check-abi-%): Change target to
44022         $(objpfx)check-abi-%.out.
44023         (check-abi target): Update dependencies.
44024         (check-abi-pattern variable): Redirect output of diff to $@.
44025         (check-abi variable): Likewise.
44026         * elf/Makefile (check-abi): Update dependencies.
44028         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
44029         unused.
44030         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
44031         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
44032         subnormal range.
44033         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
44034         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
44035         value has largest subnormal exponent.
44036         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
44037         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
44038         * sysdeps/aarch64/soft-fp/sfp-machine.h
44039         (_FP_TININESS_AFTER_ROUNDING): New macro.
44040         * sysdeps/alpha/soft-fp/sfp-machine.h
44041         (_FP_TININESS_AFTER_ROUNDING): Likewise.
44042         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
44043         Likewise.
44044         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
44045         (_FP_TININESS_AFTER_ROUNDING): Likewise.
44046         * sysdeps/mips/soft-fp/sfp-machine.h
44047         (_FP_TININESS_AFTER_ROUNDING): Likewise.
44048         * sysdeps/powerpc/soft-fp/sfp-machine.h
44049         (_FP_TININESS_AFTER_ROUNDING): Likewise.
44050         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
44051         Likewise.
44052         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
44053         (_FP_TININESS_AFTER_ROUNDING): Likewise.
44054         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
44055         (_FP_TININESS_AFTER_ROUNDING): Likewise.
44056         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
44057         Likewise.
44059 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
44061         [BZ #16545]
44062         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
44063         model 1.
44065 2014-02-12  Richard Henderson  <rth@redhat.com>
44067         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
44068         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
44069         * sysdeps/unix/sysv/linux/alpha: Move directory from
44070         ports/sysdeps/unix/sysv/linux/alpha.
44071         * README: Update listing for alpha-*-linux-gnu.
44073 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
44075         * include/features.h: Update comment documenting feature test
44076         macros.
44077         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
44078         _DEFAULT_SOURCE.
44079         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
44080         (_SVID_SOURCE): Likewise.
44081         (_DEFAULT_SOURCE): Update description of default features.
44082         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
44083         with _GNU_SOURCE.
44084         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
44085         (S_ISVTX): Likewise.
44086         * manual/math.texi (Mathematical Constants): Likewise.
44087         * manual/signal.texi (Interrupted Primitives): Likewise.
44088         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
44089         * math/test-matherr.c (_SVID_SOURCE): Do not define.
44090         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
44091         Don't refer to _SVID_SOURCE in warning text.
44093         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44095         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
44096         already defined.
44097         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
44098         * sysdeps/mips/dl-lookup.c: Remove.
44099         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
44101 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
44103         [BZ #16447]
44104         * math/auto-libm-test-in: Add testcase for expl.
44105         * math/auto-libm-test-out: Regenerate.
44106         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
44107         calculation of unsafe.
44108         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
44110 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
44112         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
44113         * sysdeps/unix/sysv/linux/aarch64: Move directory from
44114         ports/sysdeps/unix/sysv/linux/aarch64.
44115         * README: Update listing for aarch64*-*-linux-gnu.
44117 2014-02-11  Will Newton  <will.newton@linaro.org>
44119         * manual/probes.texi (Mathematical Function Probes): Use
44120         "triggered" instead of "hit".
44122         * manual/probes.texi (Internal Probes): Add documentation
44123         of setjmp, longjmp and longjmp_target probes.
44125         * include/stap-probe.h: Add comment about probe argument
44126         format.
44128         * malloc/mtrace.c (attribute_hidden): Remove unused macro
44129         definition.  (tr_where, tr_freehook, tr_mallochook,
44130         tr_reallochook, tr_memalignhook): Use ANSI protoype.
44132 2014-02-11  David S. Miller  <davem@davemloft.net>
44134         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
44135         processing int_tests.
44137 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
44139         * sysdeps/mips: Move directory from ports/sysdeps/mips.
44140         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
44141         * sysdeps/unix/sysv/linux/mips: Move directory from
44142         ports/sysdeps/unix/sysv/linux/mips.
44143         * README: Update listing for mips-*-linux-gnu and
44144         mips64-*-linux-gnu.
44146 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
44148         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
44149         * sysdeps/unix/sysv/linux/m68k: Move directory from
44150         ports/sysdeps/unix/sysv/linux/m68k.
44151         * README: Update listing for m68k-*-linux-gnu.
44153 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
44155         * sysdeps/tile: Move directory from ports/sysdeps/tile.
44156         * sysdeps/unix/sysv/linux/generic: Move directory from
44157         ports/sysdeps/unix/sysv/linux/generic.
44158         * sysdeps/unix/sysv/linux/tile: Move directory from
44159         ports/sysdeps/unix/sysv/linux/tile.
44160         * README: Update listing for tile*-*-linux-gnu.
44162 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
44164         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
44165         __builtin_expect.
44166         * benchtests/bench-memmem.c (simple_memmem): Likewise.
44167         * catgets/open_catalog.c (__open_catalog): Likewise.
44168         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
44169         * debug/confstr_chk.c: Likewise.
44170         * debug/fread_chk.c (__fread_chk): Likewise.
44171         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
44172         * debug/getgroups_chk.c: Likewise.
44173         * debug/mbsnrtowcs_chk.c: Likewise.
44174         * debug/mbsrtowcs_chk.c: Likewise.
44175         * debug/mbstowcs_chk.c: Likewise.
44176         * debug/memcpy_chk.c: Likewise.
44177         * debug/memmove_chk.c: Likewise.
44178         * debug/mempcpy_chk.c: Likewise.
44179         * debug/memset_chk.c: Likewise.
44180         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
44181         * debug/strcat_chk.c (__strcat_chk): Likewise.
44182         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
44183         * debug/strncat_chk.c (__strncat_chk): Likewise.
44184         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
44185         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
44186         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
44187         * debug/wcpncpy_chk.c: Likewise.
44188         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
44189         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
44190         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
44191         * debug/wcsncpy_chk.c: Likewise.
44192         * debug/wcsnrtombs_chk.c: Likewise.
44193         * debug/wcsrtombs_chk.c: Likewise.
44194         * debug/wcstombs_chk.c: Likewise.
44195         * debug/wmemcpy_chk.c: Likewise.
44196         * debug/wmemmove_chk.c: Likewise.
44197         * debug/wmempcpy_chk.c: Likewise.
44198         * debug/wmemset_chk.c: Likewise.
44199         * dirent/scandirat.c (SCANDIRAT): Likewise.
44200         * dlfcn/dladdr1.c (dladdr1): Likewise.
44201         * dlfcn/dladdr.c (dladdr): Likewise.
44202         * dlfcn/dlclose.c (dlclose_doit): Likewise.
44203         * dlfcn/dlerror.c (__dlerror): Likewise.
44204         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
44205         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
44206         * dlfcn/dlopen.c (dlopen_doit): Likewise.
44207         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
44208         * dlfcn/dlsym.c (dlsym_doit): Likewise.
44209         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
44210         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
44211         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
44212         Likewise.
44213         * elf/dl-conflict.c: Likewise.
44214         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
44215         * elf/dl-dst.h: Likewise.
44216         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
44217         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
44218         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
44219         * elf/dl-init.c (call_init, _dl_init): Likewise.
44220         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
44221         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
44222         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
44223         Likewise.
44224         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
44225         Likewise.
44226         * elf/dl-minimal.c (__libc_memalign): Likewise.
44227         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
44228         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
44229         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
44230         * elf/dl-sym.c (do_sym): Likewise.
44231         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
44232         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
44233         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
44234         * elf/dl-writev.h (_dl_writev): Likewise.
44235         * elf/ldconfig.c (search_dir): Likewise.
44236         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
44237         (dl_main): Likewise.
44238         * elf/setup-vdso.h (setup_vdso): Likewise.
44239         * grp/compat-initgroups.c (compat_call): Likewise.
44240         * grp/fgetgrent.c (fgetgrent): Likewise.
44241         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
44242         * grp/putgrent.c (putgrent): Likewise.
44243         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
44244         Likewise.
44245         * hurd/hurdinit.c: Likewise.
44246         * iconvdata/8bit-gap.c (struct): Likewise.
44247         * iconvdata/ansi_x3.110.c : Likewise.
44248         * iconvdata/big5.c : Likewise.
44249         * iconvdata/big5hkscs.c : Likewise.
44250         * iconvdata/cp1255.c: Likewise.
44251         * iconvdata/cp1258.c : Likewise.
44252         * iconvdata/cp932.c : Likewise.
44253         * iconvdata/euc-cn.c: Likewise.
44254         * iconvdata/euc-jisx0213.c : Likewise.
44255         * iconvdata/euc-jp.c: Likewise.
44256         * iconvdata/euc-jp-ms.c : Likewise.
44257         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
44258         * iconvdata/gb18030.c : Likewise.
44259         * iconvdata/gbbig5.c (const): Likewise.
44260         * iconvdata/gbgbk.c: Likewise.
44261         * iconvdata/gbk.c : Likewise.
44262         * iconvdata/ibm1364.c : Likewise.
44263         * iconvdata/ibm930.c : Likewise.
44264         * iconvdata/ibm932.c: Likewise.
44265         * iconvdata/ibm933.c : Likewise.
44266         * iconvdata/ibm935.c : Likewise.
44267         * iconvdata/ibm937.c : Likewise.
44268         * iconvdata/ibm939.c : Likewise.
44269         * iconvdata/ibm943.c: Likewise.
44270         * iconvdata/iso_11548-1.c: Likewise.
44271         * iconvdata/iso-2022-cn.c : Likewise.
44272         * iconvdata/iso-2022-cn-ext.c : Likewise.
44273         * iconvdata/iso-2022-jp-3.c: Likewise.
44274         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
44275         * iconvdata/iso-2022-kr.c : Likewise.
44276         * iconvdata/iso646.c (gconv_end): Likewise.
44277         * iconvdata/iso_6937-2.c : Likewise.
44278         * iconvdata/iso_6937.c : Likewise.
44279         * iconvdata/iso8859-1.c: Likewise.
44280         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
44281         * iconvdata/shift_jisx0213.c : Likewise.
44282         * iconvdata/sjis.c : Likewise.
44283         * iconvdata/t.61.c : Likewise.
44284         * iconvdata/tcvn5712-1.c : Likewise.
44285         * iconvdata/tscii.c: Likewise.
44286         * iconvdata/uhc.c : Likewise.
44287         * iconvdata/unicode.c (gconv_end): Likewise.
44288         * iconvdata/utf-16.c (gconv_end): Likewise.
44289         * iconvdata/utf-32.c (gconv_end): Likewise.
44290         * iconvdata/utf-7.c (base64): Likewise.
44291         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
44292         * iconv/gconv_close.c (__gconv_close): Likewise.
44293         * iconv/gconv_open.c (__gconv_open): Likewise.
44294         * iconv/gconv_simple.c (internal_ucs4_loop_single)
44295         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
44296         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
44297         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
44298         (ucs4le_internal_loop_single): Likewise.
44299         * iconv/iconv.c (iconv): Likewise.
44300         * iconv/iconv_close.c: Likewise.
44301         * iconv/loop.c (SINGLE): Likewise.
44302         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
44303         * include/atomic.h: Likewise.
44304         * inet/inet6_option.c (option_alloc): Likewise.
44305         * intl/bindtextdom.c (set_binding_values): Likewise.
44306         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
44307         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
44308         * intl/localealias.c (read_alias_file): Likewise.
44309         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
44310         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
44311         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
44312         * libio/fmemopen.c (fmemopen): Likewise.
44313         * libio/iofgets.c (_IO_fgets): Likewise.
44314         * libio/iofgets_u.c (fgets_unlocked): Likewise.
44315         * libio/iofgetws.c (fgetws): Likewise.
44316         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
44317         * libio/iogetdelim.c (_IO_getdelim): Likewise.
44318         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
44319         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
44320         * locale/findlocale.c (_nl_find_locale): Likewise.
44321         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
44322         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
44323         Likewise.
44324         * locale/setlocale.c (setlocale): Likewise.
44325         * login/programs/pt_chown.c (main): Likewise.
44326         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
44327         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
44328         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
44329         (mmap, mmap64, mremap, munmap): Likewise.
44330         * math/e_exp2l.c: Likewise.
44331         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
44332         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
44333         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
44334         * math/s_catan.c (__catan): Likewise.
44335         * math/s_catanf.c (__catanf): Likewise.
44336         * math/s_catanh.c (__catanh): Likewise.
44337         * math/s_catanhf.c (__catanhf): Likewise.
44338         * math/s_catanhl.c (__catanhl): Likewise.
44339         * math/s_catanl.c (__catanl): Likewise.
44340         * math/s_ccosh.c (__ccosh): Likewise.
44341         * math/s_ccoshf.c (__ccoshf): Likewise.
44342         * math/s_ccoshl.c (__ccoshl): Likewise.
44343         * math/s_cexp.c (__cexp): Likewise.
44344         * math/s_cexpf.c (__cexpf): Likewise.
44345         * math/s_cexpl.c (__cexpl): Likewise.
44346         * math/s_clog10.c (__clog10): Likewise.
44347         * math/s_clog10f.c (__clog10f): Likewise.
44348         * math/s_clog10l.c (__clog10l): Likewise.
44349         * math/s_clog.c (__clog): Likewise.
44350         * math/s_clogf.c (__clogf): Likewise.
44351         * math/s_clogl.c (__clogl): Likewise.
44352         * math/s_csin.c (__csin): Likewise.
44353         * math/s_csinf.c (__csinf): Likewise.
44354         * math/s_csinh.c (__csinh): Likewise.
44355         * math/s_csinhf.c (__csinhf): Likewise.
44356         * math/s_csinhl.c (__csinhl): Likewise.
44357         * math/s_csinl.c (__csinl): Likewise.
44358         * math/s_csqrt.c (__csqrt): Likewise.
44359         * math/s_csqrtf.c (__csqrtf): Likewise.
44360         * math/s_csqrtl.c (__csqrtl): Likewise.
44361         * math/s_ctan.c (__ctan): Likewise.
44362         * math/s_ctanf.c (__ctanf): Likewise.
44363         * math/s_ctanh.c (__ctanh): Likewise.
44364         * math/s_ctanhf.c (__ctanhf): Likewise.
44365         * math/s_ctanhl.c (__ctanhl): Likewise.
44366         * math/s_ctanl.c (__ctanl): Likewise.
44367         * math/w_pow.c: Likewise.
44368         * math/w_powf.c: Likewise.
44369         * math/w_powl.c: Likewise.
44370         * math/w_scalb.c (sysv_scalb): Likewise.
44371         * math/w_scalbf.c (sysv_scalbf): Likewise.
44372         * math/w_scalbl.c (sysv_scalbl): Likewise.
44373         * misc/error.c (error_tail): Likewise.
44374         * misc/pselect.c (__pselect): Likewise.
44375         * nis/nis_callback.c (__nis_create_callback): Likewise.
44376         * nis/nis_call.c (__nisfind_server): Likewise.
44377         * nis/nis_creategroup.c (nis_creategroup): Likewise.
44378         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
44379         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
44380         * nis/nis_getservlist.c (nis_getservlist): Likewise.
44381         * nis/nis_lookup.c (nis_lookup): Likewise.
44382         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
44383         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
44384         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
44385         * nis/nis_xdr.c (xdr_endpoint): Likewise.
44386         * nis/nss_compat/compat-grp.c (getgrent_next_file)
44387         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
44388         * nis/nss_compat/compat-initgroups.c (add_group)
44389         (internal_getgrent_r): Likewise.
44390         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
44391         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
44392         * nis/nss_compat/compat-spwd.c (getspent_next_file)
44393         (internal_getspnam_r): Likewise.
44394         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
44395         (_nss_nis_getaliasbyname_r): Likewise.
44396         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
44397         (_nss_nis_getntohost_r): Likewise.
44398         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
44399         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
44400         (_nss_nis_getgrgid_r): Likewise.
44401         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
44402         (internal_nis_gethostent_r, internal_gethostbyname2_r)
44403         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
44404         (_nss_nis_gethostbyname4_r): Likewise.
44405         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
44406         (initgroups_netid): Likewise.
44407         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
44408         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
44409         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
44410         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
44411         (_nss_nis_getprotobynumber_r): Likewise.
44412         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
44413         (_nss_nis_getsecretkey): Likewise.
44414         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
44415         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
44416         (_nss_nis_getpwuid_r): Likewise.
44417         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
44418         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
44419         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
44420         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
44421         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
44422         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
44423         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
44424         Likewise.
44425         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
44426         (_nss_nisplus_getntohost_r): Likewise.
44427         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
44428         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
44429         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
44430         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
44431         Likewise.
44432         * nis/nss_nisplus/nisplus-initgroups.c
44433         (_nss_nisplus_initgroups_dyn): Likewise.
44434         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
44435         (_nss_nisplus_getnetbyaddr_r): Likewise.
44436         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
44437         (_nss_nisplus_getprotobynumber_r): Likewise.
44438         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
44439         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
44440         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
44441         Likewise.
44442         * nis/nss_nisplus/nisplus-service.c
44443         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
44444         (_nss_nisplus_getservbyport_r): Likewise.
44445         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
44446         (_nss_nisplus_getspnam_r): Likewise.
44447         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
44448         Likewise.
44449         * nscd/aicache.c (addhstaiX): Likewise.
44450         * nscd/cache.c (cache_search, prune_cache): Likewise.
44451         * nscd/connections.c (register_traced_file, send_ro_fd)
44452         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
44453         (main_loop_epoll): Likewise.
44454         * nscd/grpcache.c (addgrbyX): Likewise.
44455         * nscd/hstcache.c (addhstbyX): Likewise.
44456         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44457         * nscd/mem.c (gc, mempool_alloc): Likewise.
44458         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
44459         (addinnetgrX): Likewise.
44460         * nscd/nscd-client.h (__nscd_acquire_maplock)
44461         (__nscd_drop_map_ref): Likewise.
44462         * nscd/nscd_getai.c (__nscd_getai): Likewise.
44463         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
44464         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
44465         Likewise.
44466         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
44467         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
44468         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
44469         (__nscd_get_map_ref): Likewise.
44470         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
44471         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
44472         Likewise.
44473         * nscd/pwdcache.c (addpwbyX): Likewise.
44474         * nscd/selinux.c (preserve_capabilities): Likewise.
44475         * nscd/servicescache.c (addservbyX): Likewise.
44476         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
44477         * posix/fnmatch.c (fnmatch): Likewise.
44478         * posix/getopt.c (_getopt_internal_r): Likewise.
44479         * posix/glob.c (glob, glob_in_dir): Likewise.
44480         * posix/wordexp.c (exec_comm_child): Likewise.
44481         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
44482         (getanswer_r, gaih_getanswer_slice): Likewise.
44483         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
44484         * resolv/res_init.c: Likewise.
44485         * resolv/res_mkquery.c (res_nmkquery): Likewise.
44486         * resolv/res_query.c (__libc_res_nquery): Likewise.
44487         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
44488         Likewise.
44489         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
44490         * stdio-common/perror.c (perror): Likewise.
44491         * stdio-common/printf_fp.c (___printf_fp): Likewise.
44492         * stdio-common/tmpnam.c (tmpnam): Likewise.
44493         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
44494         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
44495         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
44496         Likewise.
44497         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
44498         * stdlib/putenv.c (putenv): Likewise.
44499         * stdlib/setenv.c (__add_to_environ): Likewise.
44500         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
44501         * stdlib/strtol_l.c (INTERNAL): Likewise.
44502         * string/memmem.c (memmem): Likewise.
44503         * string/strerror.c (strerror): Likewise.
44504         * string/strnlen.c (__strnlen): Likewise.
44505         * string/test-memmem.c (simple_memmem): Likewise.
44506         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
44507         * sunrpc/pm_getport.c (__get_socket): Likewise.
44508         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
44509         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
44510         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
44511         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
44512         Likewise.
44513         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
44514         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
44515         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
44516         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
44517         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
44518         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
44519         Likewise.
44520         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
44521         Likewise.
44522         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
44523         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
44524         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
44525         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
44526         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
44527         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
44528         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
44529         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
44530         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
44531         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
44532         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
44533         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
44534         Likewise.
44535         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
44536         Likewise.
44537         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
44538         Likewise.
44539         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
44540         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44541         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
44542         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
44543         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
44544         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
44545         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
44546         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
44547         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
44548         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
44549         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
44550         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44551         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
44552         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
44553         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44554         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
44555         Likewise.
44556         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
44557         Likewise.
44558         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
44559         Likewise.
44560         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
44561         Likewise.
44562         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
44563         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44564         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
44565         Likewise.
44566         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
44567         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
44568         * sysdeps/posix/opendir.c (__opendirat): Likewise.
44569         * sysdeps/posix/sleep.c: Likewise.
44570         * sysdeps/posix/tempname.c: Likewise.
44571         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
44572         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
44573         Likewise.
44574         * sysdeps/powerpc/powerpc32/dl-machine.h
44575         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
44576         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
44577         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
44578         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
44579         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
44580         Likewise.
44581         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
44582         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
44583         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
44584         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
44585         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
44586         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
44587         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
44588         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
44589         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44590         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
44591         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
44592         (elf_machine_lazy_rel): Likewise.
44593         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
44594         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
44595         (elf_machine_lazy_rel): Likewise.
44596         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
44597         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
44598         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
44599         * sysdeps/unix/grantpt.c (grantpt): Likewise.
44600         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
44601         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
44602         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
44603         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44604         Likewise.
44605         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
44606         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
44607         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
44608         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
44609         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
44610         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
44611         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
44612         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
44613         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
44614         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
44615         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
44616         Likewise.
44617         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
44618         (__posix_fallocate64_l64): Likewise.
44619         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
44620         (posix_fallocate): Likewise.
44621         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
44622         Likewise.
44623         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44624         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
44625         (getifaddrs_internal): Likewise.
44626         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
44627         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
44628         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
44629         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
44630         * sysdeps/unix/sysv/linux/posix_fallocate64.c
44631         (__posix_fallocate64_l64): Likewise.
44632         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
44633         Likewise.
44634         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
44635         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
44636         (__get_clockfreq): Likewise.
44637         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
44638         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
44639         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
44640         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44641         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44642         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
44643         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
44644         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
44645         Likewise.
44646         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
44647         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
44648         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
44649         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
44650         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
44651         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
44652         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
44653         Likewise.
44654         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
44655         (posix_fallocate): Likewise.
44656         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44657         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
44658         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
44659         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
44660         (elf_machine_rela, elf_machine_rela_relative)
44661         (elf_machine_lazy_rel): Likewise.
44662         * time/asctime.c (asctime_internal): Likewise.
44663         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
44664         * time/tzset.c (__tzset_parse_tz): Likewise.
44665         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
44666         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
44667         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
44668         * wcsmbs/wcsmbsload.h: Likewise.
44670         [BZ #15894]
44671         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
44673         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
44674         (arena_get2): Remove THREAD_STATS conditionals.
44675         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
44676         (__malloc_stats, int): Likewise.
44678 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
44680         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
44681         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
44683         * manual/setjmp.texi: Fix typos/grammar errors.
44685         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
44686         Only return early when n is <= 0.  Delete unused return statement.
44688         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
44689         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
44690         * debug/tst-longjmp_chk3.c: New file.
44692         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
44693         (test_main): Replace code with set_fortify_handler call.
44694         * debug/test-strcpy_chk.c: Likewise.
44695         * debug/tst-chk1.c: Likewise.
44696         * debug/tst-longjmp_chk.c: Likewise.
44697         * test-skeleton.c: Include fcntl.h & paths.h
44698         (set_fortify_handler): Define.
44700         * debug/tst-longjmp_chk.c: Add header comment and include
44701         ../test-skeleton.c.
44702         (do_test): Mark static.
44703         (TEST_FUNCTION): Define.
44705         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
44706         (IP_PMTUDISC_INTERFACE): Likewise.
44707         (IP_MULTICAST_IF): Likewise.
44708         (IP_MULTICAST_TTL): Likewise.
44709         (IP_MULTICAST_LOOP): Likewise.
44710         (IP_ADD_MEMBERSHIP): Likewise.
44711         (IP_DROP_MEMBERSHIP): Likewise.
44712         (IP_UNBLOCK_SOURCE): Likewise.
44713         (IP_BLOCK_SOURCE): Likewise.
44714         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
44715         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
44716         (IP_MSFILTER): Likewise.
44717         (MCAST_JOIN_GROUP): Likewise.
44718         (MCAST_BLOCK_SOURCE): Likewise.
44719         (MCAST_UNBLOCK_SOURCE): Likewise.
44720         (MCAST_LEAVE_GROUP): Likewise.
44721         (MCAST_JOIN_SOURCE_GROUP): Likewise.
44722         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
44723         (MCAST_MSFILTER): Likewise.
44724         (IP_MULTICAST_ALL): Likewise.
44725         (IP_UNICAST_IF): Likewise.
44727         * timezone/Makefile: Delete $(have-ksh) check.
44728         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
44729         * timezone/tzselect.ksh: Add +x mode bits.
44731         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
44732         (ANON_INODE_FS_MAGIC): Likewise.
44733         (BDEVFS_MAGIC): Likewise.
44734         (BINFMTFS_MAGIC): Likewise.
44735         (BTRFS_TEST_MAGIC): Likewise.
44736         (CRAMFS_MAGIC_WEND): Likewise.
44737         (DEBUGFS_MAGIC): Likewise.
44738         (ECRYPTFS_SUPER_MAGIC): Likewise.
44739         (EXT3_SUPER_MAGIC): Likewise.
44740         (EXT4_SUPER_MAGIC): Likewise.
44741         (FUTEXFS_SUPER_MAGIC): Likewise.
44742         (HOSTFS_SUPER_MAGIC): Likewise.
44743         (HUGETLBFS_MAGIC): Likewise.
44744         (MINIX3_SUPER_MAGIC): Likewise.
44745         (MTD_INODE_FS_MAGIC): Likewise.
44746         (NILFS_SUPER_MAGIC): Likewise.
44747         (OPENPROM_SUPER_MAGIC): Likewise.
44748         (PIPEFS_MAGIC): Likewise.
44749         (PSTOREFS_MAGIC): Likewise.
44750         (QNX6_SUPER_MAGIC): Likewise.
44751         (RAMFS_MAGIC): Likewise.
44752         (REISERFS_SUPER_MAGIC_STRING): Likewise.
44753         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
44754         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
44755         (SECURITYFS_MAGIC): Likewise.
44756         (SELINUX_MAGIC): Likewise.
44757         (SMACK_MAGIC): Likewise.
44758         (SOCKFS_MAGIC): Likewise.
44759         (SQUASHFS_MAGIC): Likewise.
44760         (STACK_END_MAGIC): Likewise.
44761         (TMPFS_MAGIC): Likewise.
44762         (USBDEVICE_SUPER_MAGIC): Likewise.
44763         (V9FS_MAGIC): Likewise.
44764         (XENFS_SUPER_MAGIC): Likewise.
44765         (CRAMFS_MAGIC): Fix typo in comment.
44766         (EXT2_SUPER_MAGIC): Update comment.
44767         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
44769 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
44771         * sysdeps/arm: Move directory from ports/sysdeps/arm.
44772         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
44773         * sysdeps/unix/sysv/linux/arm: Move directory from
44774         ports/sysdeps/unix/sysv/linux/arm.
44775         * README: Update listing for arm-*-linux-gnueabi.
44777         * README: Remove mention of am33.
44779 2014-02-07  Roland McGrath  <roland@hack.frob.com>
44781         * bits/sigset.h (__sigemptyset): Use a statement expression rather
44782         than the comma operator, to avoid "rhs of comma has no effect"
44783         compiler warnings.
44784         (__sigfillset, __sigandset, __sigorset): Likewise.
44785         * include/signal.h (__sigemptyset): Likewise.
44786         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
44788 2014-02-07  Allan McRae  <allan@archlinux.org>
44790         * version.h (RELEASE): Set to "development".
44791         (VERSION): Set to "2.19.90"
44792         * NEWS: Add 2.20 section.
44794 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
44796         [BZ #16529]
44797         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
44799 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
44801         * manual/contrib.texi: Update entry for Carlos O'Donell,
44802         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
44804 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
44806         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
44808         * sysdeps/unix/sysv/linux/kernel-features.h
44809         [__LINUX_KERNEL_VERSION >= 0x020621]
44810         (__ASSUME_PROC_PID_TASK_COMM): Define.
44812 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44814         [BZ #16398]
44815         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
44816         conversion when destination buffer does not have enough space.
44817         * libio/tst-ftell-partial-wide.c: New test case.
44818         * libio/Makefile (tests): Add tst-ftell-partial-wide.
44820         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
44821         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
44822         Leonard and Allan McRae.
44824 2014-02-04  David S. Miller  <davem@davemloft.net>
44826         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
44827         32-bit.
44829 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
44832         New file
44833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
44834         New file
44835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
44836         New file.
44837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
44838         New file.
44839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
44840         New file.
44841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
44842         New file.
44843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
44844         New file.
44845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
44846         New file.
44847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
44848         New file.
44849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
44850         New file.
44851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
44852         New file.
44853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
44854         New file.
44855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
44856         New file.
44858 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44860         * nptl/shlib-versions: Change powerpc*le start to 2.17.
44861         * shlib-versions: Likewise.
44863 2014-02-04  Roland McGrath  <roland@hack.frob.com>
44864             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44866         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
44867         (abilist-pattern): New variable, set to %-le.abilist.
44869         * Makerules (abilist-pattern): New variable.
44870         (vpath): Use $(abilist-pattern) in place of %.abilist.
44871         (check-abi-% pattern rule): Likewise.
44872         (check-abi, update-abi): Likewise.
44874 2014-02-04  Eric Wong  <normalperson@yhbt.net>
44876         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44878 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
44880         * manual/startup.texi: Add next, previous, and top entries for
44881         the `Program Arguments' and `Environment Variables' nodes.
44883 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
44885         * manual/macros.texi: Add comments before MTASC-safety macros.
44887         * manual/users.texi: Document MTASC-safety properties.
44889         * manual/threads.texi (pthread_key_create, pthread_key_delete)
44890         (pthread_getspecific, pthread_setspecific): Format with
44891         @deftypefun, and add @safety note.
44892         * manual/signal.texi: Move comments that analyze the above
44893         functions to their home place.
44895 2014-02-03  Allan McRae  <allan@archlinux.org>
44897         * po/sl.po: Update Slovenian translation from translation project.
44899 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
44901         * manual/time.texi (timegm): Add missing blank after @c.
44902         Reported by Joseph Myers <joseph@codesourcery.com>.
44904 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
44906         * manual/check-safety.sh: New.
44907         * manual/Makefile ($(objpfx)stamp-summary): Run it.
44909         * manual/terminal.texi: Document MTASC-safety properties.
44911         * manual/filesys.texi: Document MTASC-safety properties.
44913         * manual/errno.texi: Document MTASC-safety properties.
44915         * manual/intro.texi: Document safety identifiers and
44916         conditionals.
44918         * manual/string.texi (wcstok): Fix prototype.
44919         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
44921         * manual/time.texi: Document MTASC-safety properties.
44923         * manual/string.texi: Document MTASC-safety properties.
44925         * manual/threads.texi: Document MTASC-safety properties.
44927         * manual/stdio.texi: Document MTASC-safety properties.
44929         * manual/syslog.texi: Document MTASC-safety properties.
44931         * manual/sysinfo.texi: Document MTASC-safety properties.
44933         * manual/startup.texi: Document MTASC-safety properties.
44935         * manual/socket.texi: Document MTASC-safety properties.
44937         * manual/signal.texi: Document MTASC-safety properties.
44939 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
44941         * manual/setjmp.texi: Document MTASC-safety properties.
44943         * manual/search.texi: Document MTASC-safety properties.
44945         * manual/resource.texi: Document MTASC-safety properties.
44947         * manual/process.texi: Document MTASC-safety properties.
44949         * manual/platform.texi: Document MTASC-safety properties.
44951         * manual/pipe.texi: Document MTASC-safety properties.
44953         * manual/pattern.texi: Document MTASC-safety properties.
44955         * manual/message.texi: Document MTASC-safety properties.
44957         [BZ #12751]
44958         * manual/memory.texi: Document MTASC-safety properties.
44960         * manual/math.texi: Document MTASC-safety properties.
44962         * manual/locale.texi: Document MTASC-safety properties.
44964         * manual/llio.texi: Document MTASC-safety properties.
44966         * manual/libdl.texi: New.
44968         * manual/lang.texi: Document MTASC-safety properties.
44970         * manual/job.texi: Document MTASC-safety properties.
44972         * manual/getopt.texi: Document MTASC-safety properties.
44974         * manual/ctype.texi: Document MTASC-safety properties.
44976 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
44978         [BZ #16046]
44979         * csu/libc-tls.c (static_map): Remove variable.
44980         (__libc_setup_tls): Use main executable's link map for TLS data.
44981         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
44982         casing for LM_ID_BASE and GL(dl_nns).
44983         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
44984         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
44985         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
44986         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
44987         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
44988         member.
44989         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
44990         l_phnum members.
44992 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
44994         * manual/debug.texi: Document MTASC-safety properties.
44996 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
44998         [BZ #16510]
44999         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
45000         of __x86_64__ when disabling x87 inline functions.
45002 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
45004         * manual/charset.texi: Document MTASC-safety properties.
45006         * manual/crypt.texi: Document MTASC-safety properties.
45008         * manual/conf.texi: Document MTASC-safety properties.
45010         * manual/arith.texi: Document MTASC-safety properties.
45012         * manual/argp.texi: Document MTASC-safety properties.
45014         * manual/macros.texi: Introduce macros to document multi
45015         thread, asynchronous signal and asynchronous cancellation
45016         safety properties.
45017         * manual/intro.texi: Introduce the properties themselves.
45019 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45021         * sysdeps/sh/sh4/Makefile: New file.
45023 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
45025         * math/gen-libm-test.pl ($srcdir): New variable.
45026         ($auto_input): Use it.
45028 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45030         [BZ #16506]
45031         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
45032         access beyond array bounds when parsing netgroups file.
45034         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
45035         the old buffer before realloc.
45037 2014-01-27  Allan McRae  <allan@archlinux.org>
45039         * po/fr.po: Update French translation from translation project.
45041 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45043         * sysdeps/sh/libm-test-ulps: Regenerate.
45045 2014-01-24  David S. Miller  <davem@davemloft.net>
45047         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
45049 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45051         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
45052         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
45054 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
45056         [BZ #16474]
45057         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
45058         string pointers after reallocation.
45060 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45062         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
45063         __SH4A__ instead of __SH_FPU_ANY__.
45065 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45067         * sysdeps/sh/fpu_control.h: New file.
45068         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
45069         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
45070         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
45071         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
45072         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
45073         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
45074         * sysdeps/sh/sys/ucontext.h: Remove.
45075         * sysdeps/sh/sys: Remove directory.
45077 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45079         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
45080         s390/sys/ucontext.h.
45081         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
45082         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
45084 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
45086         [BZ #15605]
45087         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
45089 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45091         [BZ#16431]
45092         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
45093         Adjust the vDSO correctly for internal calls.
45094         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
45096 2014-01-20  Allan McRae  <allan@archlinux.org>
45098         * po/ca.po: Update Catalan translation from translation project.
45100 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
45102         * sysdeps/s390/sotruss-lib.c: New file.
45104 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45106         [BZ#16430]
45107         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
45108         (__GI___gettimeofday): Alias for a different internal symbol to avoid
45109         local calls issues by not having a PLT stub required for IFUNC calls.
45110         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
45112 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
45114         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
45115         * math/test-fpucw-static.c: Likewise.
45117 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
45119         [BZ #16453]
45120         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
45122 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45124         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
45125         implementation for powerpc.
45127 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
45129         [BZ #14782]
45130         * sysdeps/posix/system.c (__libc_system): Do not enable
45131         asynchronous cancellation.
45133 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45135         [BZ #16427]
45136         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
45137         handling only for numbers special also in the IEEE case.
45139 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45141         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
45143 2014-01-11  Allan McRae  <allan@archlinux.org>
45145         * po/bg.po: Update Bulgarian translation from translation project.
45147         * po/de.po: Update German translation from translation project.
45149 2014-01-10  Roland McGrath  <roland@hack.frob.com>
45151         * sysdeps/generic/gcc-compat.h: New file.
45153 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45155         * benchtests/asin-inputs: Correct slow inputs.
45156         * benchtests/acos-inputs: Likewise.
45158 2014-01-10  Allan McRae  <allan@archlinux.org>
45160         * po:sv.po: Update Swedish translation from translation project.
45162         * po/vi.po: Update Vietnamese translation from translation project.
45164         * po/eo.po: Update Esperanto translation from translation project.
45166         * po/cs.po: Update Czech translation from translation project.
45168         * po/nl.po: Update Dutch translation from translation project.
45170         * po/pl.po: Update Polish translation from translation project.
45172         * po/ru.po: Update Russian translation from translation project.
45174         * po/uk.po: Update Ukrainian translation from translation project.
45176 2014-01-08  Brooks Moses  <bmoses@google.com>
45178         * elf/dl-load.c: Fix comment typo.
45180 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
45182         * po/header.pot: Rename to...
45183         * po/pot.header: ... this.
45184         * po/Makefile: Use pot.header.
45186 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
45187             Maxim Kuvyrkov  <maxim@kugelworks.com>
45189         [BZ #16394]
45190         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
45191         SRC and DEST against LEN.
45193 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45195         [BZ #16414]
45196         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
45197         implementation.
45198         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
45200 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45202         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45204 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
45206         [BZ #16408]
45207         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
45208         for large positive arguments.
45210 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
45212         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
45214         * math/auto-libm-test-in: Mark various tests with
45215         xfail-rounding:ldbl-128ibm.
45216         * math/auto-libm-test-out: Regenerated.
45218         [BZ #16407]
45219         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
45220         Increase overflow threshold.
45222 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
45224         [BZ #14286]
45225         * stdio-common/vfprintf.c: Check for integer overflow.
45227 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45229         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
45230         the first argument and return value of __tls_get_addr_internal.
45232 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45234         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
45235         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
45237 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45239         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
45240         * sysdeps/s390/rtld-global-offsets.sym: New file.
45241         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
45242         GLIBC_2.19 symbol.
45243         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
45244         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
45245         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
45246         ... this.
45247         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
45248         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
45249         ... this.
45250         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
45251         Regenerate.
45252         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
45253         Regenerate.
45254         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
45255         halfs of GPRs for high_gprs contexts.
45256         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
45257         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
45258         field.
45259         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
45260         uc_flags field.
45261         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
45262         64 bit versions:
45263         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
45264         for high GPRs (uc_high_gprs) and for future extensions
45265         (__reserved).
45266         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
45267         for future extensions (__reserved).
45268         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
45269         64 bit versions:
45270         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
45271         SC_HIGHGPRS offset definition.
45272         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
45273         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
45275         * Versions.def: Add GLIBC_2.19 for libpthread.
45276         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
45277         siglongjmp for libpthread with GLIBC_2.19 symver.
45278         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
45279         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
45280         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
45281         * sysdeps/s390/__longjmp.c: New file.
45282         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
45283         * sysdeps/s390/longjmp.c: New file.
45284         * sysdeps/s390/setjmp.S: New file.
45285         * sysdeps/s390/sigjmp.S: New file.
45286         * sysdeps/s390/v1-longjmp.c: New file.
45287         * sysdeps/s390/v1-setjmp.h: New file.
45288         * sysdeps/s390/v1-sigjmp.c: New file.
45289         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
45290         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
45291         GLIBC_2.19 version.
45292         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
45293         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
45294         versioned symbols for ____longjmp_chk.
45295         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
45296         Likewise.
45297         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
45298         Regenerate.
45299         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45300         Regenerate.
45301         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
45302         Regenerate.
45303         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45304         Regenerate.
45305         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
45306         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
45307         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
45308         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
45309         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
45310         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
45311         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
45312         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
45313         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
45314         * sysdeps/s390/rtld-__longjmp.c: New file.
45315         * sysdeps/s390/rtld-setjmp.S: New file.
45317 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
45319         [BZ #16400]
45320         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
45321         Return -__logl (x) for small positive arguments without evaluating
45322         a polynomial.
45324 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
45326         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
45327         Rename to ...
45328         (__ptrace_peeksiginfo_args): ... this.
45329         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45330         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45331         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45333 2014-01-06  Allan McRae  <allan@archlinux.org>
45335         * inet/netinet/in.h: Fix typo in comment.
45337 2014-01-05  Andreas Jaeger  <aj@suse.de>
45339         * sysdeps/i386/fpu/libm-test-ulps: Update.
45341 2014-01-05  Allan McRae  <allan@archlinux.org>
45343         * po/libc.pot: Regenerated.
45345         * malloc/memusagestat.c: Fix gettext call formatting.
45347 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
45349         * nscd/nscd.c: Improve usage() output.
45351 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
45353         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
45354         * sysdeps/unix/sysv/linux/configure: Regenerated.
45355         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
45356         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
45358 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
45360         [BZ #16390]
45361         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
45362         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
45364 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45366         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
45367         extra tokens at end of #undef directive.
45368         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
45369         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
45370         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
45372 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
45374         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
45376         * math/auto-libm-test-in: Mark various tests with
45377         xfail-rounding:ldbl-128ibm.
45378         * math/auto-libm-test-out: Regenerated.
45380 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
45382         [BZ #16386]
45383         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
45384         numbers with subnormal high part when calculating exponent.
45386         [BZ #16385]
45387         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
45388         fabs.
45390         [BZ #16384]
45391         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
45392         M_LN2l.
45393         (__ieee754_acoshl): Use __log1pl not __log1p.
45395 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
45397         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
45398         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
45399         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
45400         (grow_heap, heap_trim, _int_new_arena, get_free_list)
45401         (reused_arena, arena_get2): Convert to GNU style.
45402         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
45403         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
45404         (memalign_check, __malloc_set_state): Likewise.
45405         * malloc/mallocbug.c (main): Likewise.
45406         * malloc/malloc.c (__malloc_assert, malloc_init_state)
45407         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
45408         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
45409         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
45410         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
45411         (__posix_memalign, malloc_info): Likewise.
45412         * malloc/malloc.h: Likewise.
45413         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
45414         (mallochook, memalignhook, reallochook, mabort): Likewise.
45415         * malloc/mcheck.h: Likewise.
45416         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
45417         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
45418         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
45419         * malloc/morecore.c (__default_morecore): Likewise.
45420         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
45421         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
45422         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
45423         (print_and_abort): Likewise.
45424         * malloc/obstack.h: Likewise.
45425         * malloc/set-freeres.c (__libc_freeres): Likewise.
45426         * malloc/tst-mallocstate.c (main): Likewise.
45427         * malloc/tst-mtrace.c (main): Likewise.
45428         * malloc/tst-realloc.c (do_test): Likewise.
45430 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45432         [BZ #16366]
45433         * nscd/netgroupcache.c (do_notfound): New function.
45434         (addgetnetgrentX): Use it.
45436         [BZ # 16365]
45437         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
45438         NSS_STATUS_NOTFOUND.
45440 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
45442         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
45443         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45445 2014-01-01  Allan McRae  <allan@archlinux.org>
45447         * scripts/update-copyrights: Update configure input file suffix.
45449         * NEWS: Update copyright year.
45450         * catgets/gencat.c: Likewise.
45451         * csu/version.c: Likewise.
45452         * debug/catchsegv.sh: Likewise.
45453         * debug/pcprofiledump.c: Likewise.
45454         * debug/xtrace.sh: Likewise.
45455         * elf/ldconfig.c: Likewise.
45456         * elf/ldd.bash.in: Likewise.
45457         * elf/pldd.c: Likewise.
45458         * elf/sotruss.ksh: Likewise.
45459         * elf/sprof.c: Likewise.
45460         * iconv/iconv_prog.c: Likewise.
45461         * iconv/iconvconfig.c: Likewise.
45462         * locale/programs/locale.c: Likewise.
45463         * locale/programs/localedef.c: Likewise.
45464         * login/programs/pt_chown.c: Likewise.
45465         * malloc/memusage.sh: Likewise.
45466         * malloc/memusagestat.c: Likewise.
45467         * malloc/mtrace.pl: Likewise.
45468         * manual/libc.texinfo: Likewise.
45469         * nscd/nscd.c: Likewise.
45470         * nss/getent.c: Likewise.
45471         * nss/makedb.c: Likewise.
45472         * posix/getconf.c: Likewise.
45473         * scripts/test-installation.pl: Likewise.
45475         * All files with FSF copyright notices: Update copyright dates
45476         using scripts/update-copyrights.
45477         * intl/plural.c: Regenerated.
45478         * locale/programs/charmap-kw.h: Likewise.
45479         * locale/programs/locfile-kw.h: Likewise.
45481 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
45483         * sysdeps/unix/sysv/linux/configure: Regenerated.
45484         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
45485         the linux/fanotify.h header.
45486         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
45487         HAVE_LINUX_FANOTIFY_H is defined.
45489 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
45491         * benchtests/cos-inputs: New inputs.
45492         * benchtests/sin-inputs: Likewise.
45494         * benchtests/atan-inputs: New inputs. Fix name of multiple
45495         precision fallback inputs.
45497         * benchtests/atanh-inputs: New inputs.
45498         * benchtests/tanh-inputs: Likewise.
45500         * benchtests/acosh-inputs: New inputs.
45501         * benchtests/asinh-inputs: Likewise.
45503         * benchtests/cosh-inputs: New inputs.
45504         * benchtests/sinh-inputs: Likewise.
45506         * benchtests/acos-inputs: Add more inputs.
45507         * benchtests/asin-inputs: Likewise.
45509 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
45511         [BZ #16375]
45512         * manual/arith.texi: Fix spelling.
45513         * manual/charset.texi: Likewise.
45514         * manual/errno.texi: Likewise.
45515         * manual/filesys.texi: Likewise.
45516         * manual/lang.texi: Likewise.
45517         * manual/llio.texi: Likewise.
45518         * manual/locale.texi: Likewise.
45519         * manual/message.texi: Likewise.
45520         * manual/resource.texi: Likewise.
45521         * manual/search.texi: Likewise.
45522         * manual/setjmp.texi: Likewise.
45523         * manual/stdio.texi: Likewise.
45524         * manual/string.texi: Likewise.
45525         * manual/sysinfo.texi: Likewise.
45526         * manual/time.texi: Likewise.
45528 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
45530         * po/sl.po: New file.
45532 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
45534         * .gitignore: Add core/.gdbinit/.gdb_history.
45536 2013-12-27  Allan McRae  <allan@archlinux.org>
45538         [BZ #16369]
45539         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
45540         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
45542 2013-12-24  Brooks Moses  <bmoses@google.com>
45544         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
45545         all compilers that claim C++98 compliance, not just GCC.
45546         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
45547         Likewise.
45549 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
45551         * NEWS: Restore accidentally deleted bug-fix entries.
45553 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
45554             Ondřej Bílka  <neleai@seznam.cz>
45556         [BZ #15073]
45557         * malloc/malloc.c (_int_free): Perform sanity check only if we
45558         have_lock.
45560 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
45562         [BZ #12986]
45563         * manual/stdio.texi (String Input Conversions): Clarify that character
45564         classes are not supported.
45566 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45568         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45570 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
45572         [BZ #16337]
45573         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
45574         Calculate results for small negative arguments directly rather
45575         than using reflection formula with special underflow handling.
45577         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
45578         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
45579         sysdeps/unix/bsd/bsd4.4/syscalls.list.
45580         (fchflags): Likewise.
45581         (revoke): Likewise.
45582         (setlogin): Likewise.
45583         (sigaltstack): Likewise.
45584         (wait4): Likewise.
45585         (sigblock): Remove.
45586         (sigsetmask): Likewise.
45587         (wait3): Likewise.
45588         (waitpid): Likewise.
45589         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
45590         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
45591         file.
45592         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
45593         * sysdeps/unix/bsd/Makefile: ... here.
45594         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
45595         * sysdeps/unix/bsd/Versions: ... here.
45596         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
45597         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
45598         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
45599         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
45600         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
45601         * sysdeps/unix/bsd/sigblock.c: ... here.
45602         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
45603         * sysdeps/unix/bsd/sigsetmask.c: ... here.
45604         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
45605         * sysdeps/unix/bsd/sigvec.c: ... here.
45606         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
45607         * sysdeps/unix/bsd/tcdrain.c: ... here.
45608         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
45609         * sysdeps/unix/bsd/tcgetattr.c: ... here.
45610         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
45611         * sysdeps/unix/bsd/tcsetattr.c: ... here.
45612         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
45613         * sysdeps/unix/bsd/wait.c: ... here.
45614         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
45615         * sysdeps/unix/bsd/wait3.c: ... here.
45616         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
45617         * sysdeps/unix/bsd/waitpid.c: ... here.
45619 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
45621         [BZ #16356]
45622         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
45623         round-to-nearest for [!USE_AS_EXPM1L].
45624         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
45625         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
45626         more tests of exp and exp10.  Expect some exp10 tests to miss
45627         exceptions or fail in directed rounding modes.
45628         * math/auto-libm-test-out: Regenerated.
45629         * math/libm-test.inc (exp10_tonearest_test_data): New array.
45630         (exp10_test_tonearest): New function.
45631         (exp10_towardzero_test_data): New array.
45632         (exp10_test_towardzero): New function.
45633         (exp10_downward_test_data): New array.
45634         (exp10_test_downward): New function.
45635         (exp10_upward_test_data): New array.
45636         (exp10_test_upward): New function.
45637         (main): Call the new functions.
45638         * sysdeps/i386/fpu/libm-test-ulps: Update.
45639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45641 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
45643         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
45644         asinh, atan, atan2, atanh, cbrt, cos and cosh.
45645         * math/auto-libm-test-out: Regenerated.
45646         * math/libm-test.inc (acosh_test_data): Add more tests.
45647         (atanh_test_data): Likewise.
45648         (ceil_test_data): Likewise.
45649         (copysign_test_data): Likewise.
45650         * sysdeps/i386/fpu/libm-test-ulps: Update.
45651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45653         * timezone/checktab.awk: Update from tzcode 2013i.
45654         * timezone/private.h: Likewise.
45655         * timezone/scheck.c: Likewise.
45656         * timezone/tzfile.h: Likewise.
45657         * timezone/tzselect.ksh: Likewise.
45658         * timezone/zdump.c: Likewise.
45659         * timezone/zic.c: Likewise.
45661         * math/auto-libm-test-in: Add tests of cpow.
45662         * math/auto-libm-test-out: Regenerated.
45663         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
45664         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45665         mpc_cc_c.
45666         (func_calc_desc): Add mpc_cc_c union field.
45667         (test_functions): Add cpow.
45668         (special_fill_2pi): New function.
45669         (special_real_inputs): Add 2pi.
45670         (calc_generic_results): Handle mpc_cc_c.
45671         * sysdeps/i386/fpu/libm-test-ulps: Update.
45672         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45674         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
45675         csqrt, ctan and ctanh.
45676         * math/auto-libm-test-out: Regenerated.
45677         * math/libm-test.inc (TEST_COND_x86_64): New macro.
45678         (TEST_COND_x86): Likewise.
45679         (ccos_test_data): Use AUTO_TESTS_c_c.
45680         (ccosh_test_data): Likewise.
45681         (cexp_test_data): Likewise.
45682         (clog_test_data): Likewise.
45683         (csqrt_test_data): Likewise.
45684         (ctan_test_data): Likewise.
45685         (ctan_tonearest_test_data): Likewise.
45686         (ctan_towardzero_test_data): Likewise.
45687         (ctan_downward_test_data): Likewise.
45688         (ctan_upward_test_data): Likewise.
45689         (ctanh_test_data): Likewise.
45690         (ctanh_tonearest_test_data): Likewise.
45691         (ctanh_towardzero_test_data): Likewise.
45692         (ctanh_downward_test_data): Likewise.
45693         (ctanh_upward_test_data): Likewise.
45694         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45695         mpc_c_c.
45696         (func_calc_desc): Add mpc_c_c union field.
45697         (FUNC_mpc_c_c): New macro.
45698         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
45699         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
45700         ctanh.
45701         (special_fill_min_subnorm_p120): New function.
45702         (special_real_inputs): Add min_subnorm_p120.
45703         (calc_generic_results): Handle mpc_c_c.
45704         * sysdeps/i386/fpu/libm-test-ulps: Update.
45705         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45707 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
45709         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
45710         (do_sin_slow): New functions.
45711         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
45712         (cslow2, csloww1, csloww2): Use the new functions.
45714         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
45715         Use M to change sign of result instead of X.  Assume X is
45716         positive.
45717         (csloww1): Likewise.
45718         (__sin): Adjust.
45719         (__cos): Adjust.
45721         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
45722         arguments A and DA.
45723         (__sin): Adjust.
45724         (__cos): Likewise.
45726         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
45727         (__cos): Likewise.
45728         (sloww1): Don't adjust sign of DX.
45729         (csloww1): Likewise.
45730         (sloww2): Use X directly and don't adjust sign of DX.
45731         (csloww2): Likewise.
45733 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
45735         * math/auto-libm-test-in: Add tests of cabs and carg.
45736         * math/auto-libm-test-out: Regenerated.
45737         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
45738         (carg_test_data): Likewise.
45739         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45740         mpc_c_f.
45741         (func_calc_desc): Add mpc_c_f union field.
45742         (test_functions): Add cabs and carg.
45743         (calc_generic_results): Handle mpc_c_f.
45745         * sysdeps/powerpc/powerpc32/libgcc-compat.S
45746         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
45747         as a macro and a compat symbol.
45748         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
45749         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
45750         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
45751         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
45752         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
45753         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
45754         not use .hidden.
45755         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
45756         Likewise.
45757         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
45758         Likewise.
45759         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
45760         Likewise.
45761         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
45762         Likewise.
45763         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
45764         Likewise.
45765         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
45766         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
45767         from GLIBC_2.3.2.
45769 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45771         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45773 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
45775         * manual/texinfo.tex: Update to version 2013-11-26.10 with
45776         trailing whitespace removed.
45777         * scripts/config.guess: Update to version 2013-11-29.
45778         * scripts/config.sub: Update to version 2013-10-01.
45780         * math/auto-libm-test-in: Add tests of sincos.
45781         * math/auto-libm-test-out: Regenerated.
45782         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
45783         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45784         mpfr_f_11.
45785         (func_calc_desc): Add mpfr_f_11 union field.
45786         (test_functions): Add sincos.
45787         (calc_generic_results): Handle mpfr_f_11.
45788         * sysdeps/i386/fpu/libm-test-ulps: Update.
45789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45791 2013-12-19  Andreas Schwab  <schwab@suse.de>
45793         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
45794         CALL_MCOUNT.
45795         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
45796         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
45797         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
45799 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
45801         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
45802         * sysdeps/i386/fpu/libm-test-ulps: Update.
45803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45805         [BZ #16293]
45806         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
45807         round-to-nearest mode when using frndint.
45808         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
45809         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
45810         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
45811         Likewise.
45812         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
45813         sinh test to fail.
45814         * math/auto-libm-test-out: Regenerated.
45815         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
45816         (TEST_COND_x86): Likewise.
45817         (expm1_tonearest_test_data): New array.
45818         (expm1_test_tonearest): New function.
45819         (expm1_towardzero_test_data): New array.
45820         (expm1_test_towardzero): New function.
45821         (expm1_downward_test_data): New array.
45822         (expm1_test_downward): New function.
45823         (expm1_upward_test_data): New array.
45824         (expm1_test_upward): New function.
45825         (main): Run the new test functions.
45826         * sysdeps/i386/fpu/libm-test-ulps: Update.
45827         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45829         * include/features.h: Update comment documenting feature test
45830         macros.  Mention _DEFAULT_SOURCE in comment.
45831         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
45832         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
45833         _BSD_SOURCE and _SVID_SOURCE.
45834         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
45835         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
45836         !_SVID_SOURCE]: Likewise.
45837         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
45838         (__USE_POSIX_IMPLICITLY): Define.
45839         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
45840         (_POSIX_SOURCE): Undefine and redefine.
45841         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
45842         (_POSIX_C_SOURCE): Likewise.
45843         * manual/creature.texi (_DEFAULT_SOURCE): Document.
45844         (Feature Test Macros): Update documentation of default features.
45846 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
45848         * benchtests/Makefile: Add bench-strtok.
45849         * benchtests/bench-strtok.c: New file: strtok benchtest.
45851 2013-12-19  Allan McRae  <allan@archlinux.org>
45853         * manual/install.texi: Suppress menu for plain text output.
45854         * INSTALL: Regenerated.
45856 2013-12-18  Brooks Moses  <bmoses@google.com>
45858         [BZ #15846]
45859         * misc/getauxval.c: Include errno.h.
45860         (__getauxval): Set errno to ENOENT if the requested type is not
45861         found.
45862         * misc/sys/auxv.h (getauxval): Document that it may set errno;
45863         don't declare with __attribute_const__.
45864         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
45865         * manual/startup.texi: Document that getauxval sets errno.
45867 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
45869         * math/auto-libm-test-in: Add tests of jn and yn.
45870         * math/auto-libm-test-out: Regenerated.
45871         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
45872         (yn_test_data): Likewise.
45873         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45874         mpfr_if_f.
45875         (func_calc_desc): Add mpfr_if_f union field.
45876         (FUNC_mpfr_if_f): New macro.
45877         (test_functions): Add jn and yn.
45878         (calc_generic_results): Assert type of second input for
45879         mpfr_ff_f.  Handle mpfr_if_f.
45880         (output_for_one_input_case): Disable all checking for arguments
45881         fitting floating-point types in case of an integer argument.
45882         * sysdeps/i386/fpu/libm-test-ulps: Update.
45883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
45886         Don't expect fegetround reference in libm.so.
45888 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45890         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
45891         $(config-cflags-nofma).
45893 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
45895         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
45896         * math/auto-libm-test-out: Regenerated.
45898         [BZ #16338]
45899         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
45900         to determine exponent and adjust argument to have exponent of -1.
45901         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
45902         log2.
45903         * math/auto-libm-test-out: Regenerated.
45904         * sysdeps/i386/fpu/libm-test-ulps: Update.
45905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45907 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
45909         * manual/probes.texi: Remove cases when per-thread arenas are
45910         disabled.
45912 2013-12-18  Andreas Schwab  <schwab@suse.de>
45914         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
45915         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
45916         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
45917         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
45918         * sysdeps/i386/i686/multiarch/Makefile: Update.
45919         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
45921 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
45923         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
45924         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
45926 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
45928         [BZ #15968]
45929         Support TZ transition times < 00:00:00.
45930         This is needed for version-3 tz-format files; it supports time
45931         stamps past 2037 for America/Godthab (the only entry in the tz
45932         database for which this change is relevant).
45933         * manual/time.texi (TZ Variable): Document transition times
45934         from -167:59:59 through -00:00:01.
45935         * time/tzset.c (tz_rule): Time of day is now signed.
45936         (__tzset_parse_tz): Parse negative time of day.
45938         Document TZ transition times >= 25:00:00.
45939         * manual/time.texi (TZ Variable): Document transition times from
45940         25:00:00 through 167:59:59.  These are already supported, and this
45941         support will help with version-3 tz-format files.
45943         * manual/time.texi (TZ Variable): Modernize North America example
45944         to reflect current (i.e., 2007-and-later) daylight saving rules.
45946         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
45948 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
45950         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
45951         * sysdeps/unix/bsd/bits/stat.h: Likewise.
45952         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
45953         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
45954         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
45955         * sysdeps/unix/bsd/bsdstat.h: Likewise.
45956         * sysdeps/unix/bsd/clock.c: Likewise.
45957         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
45958         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
45959         * sysdeps/unix/bsd/init-posix.c: Likewise.
45960         * sysdeps/unix/bsd/poll.c: Likewise.
45961         * sysdeps/unix/bsd/ptsname.c: Likewise.
45962         * sysdeps/unix/bsd/seekdir.c: Likewise.
45963         * sysdeps/unix/bsd/setegid.c: Likewise.
45964         * sysdeps/unix/bsd/seteuid.c: Likewise.
45965         * sysdeps/unix/bsd/setgid.c: Likewise.
45966         * sysdeps/unix/bsd/setrgid.c: Likewise.
45967         * sysdeps/unix/bsd/setruid.c: Likewise.
45968         * sysdeps/unix/bsd/setsid.c: Likewise.
45969         * sysdeps/unix/bsd/setuid.c: Likewise.
45970         * sysdeps/unix/bsd/sigaction.c: Likewise.
45971         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
45972         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
45973         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
45974         * sysdeps/unix/bsd/telldir.c: Likewise.
45975         * sysdeps/unix/bsd/times.c: Likewise.
45976         * sysdeps/unix/bsd/usleep.c: Likewise.
45978         * misc/Makefile (install-lib): Remove libbsd-compat.a.
45979         ($(objpfx)libbsd-compat.a): Remove rule.
45981         * include/features.h (__FAVOR_BSD): Do not define.
45982         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
45983         features conflicting with POSIX.
45984         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
45985         (_BSD_SOURCE): Remove description of not being a subset of other
45986         feature test macros.
45987         * manual/job.texi (getpgrp): Do not document BSD version.
45988         (getpgid): Do not document by reference to BSD getpgrp.
45989         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
45990         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
45991         * signal/signal.h [__FAVOR_BSD]: Likewise.
45992         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
45993         instead of making contents conditional on [__FAVOR_BSD].
45994         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
45996 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45998         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46000 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
46002         [BZ #16314]
46003         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
46004         values below 2**-450, not 2**-500.
46005         * math/auto-libm-test-in: Don't allow spurious underflow from
46006         hypot.
46007         * math/auto-libm-test-out: Regenerated.
46009         [BZ #16316]
46010         [BZ #16330]
46011         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
46012         values of ha and hb and sort them after adjusting subnormal
46013         arguments.
46014         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
46015         Likewise.
46016         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
46017         values of ea and eb and sort them after adjusting subnormal
46018         arguments.
46019         * math/auto-libm-test-in: Do not expect some hypot tests of
46020         subnormals to fail.  Add more hypot tests.
46021         * math/auto-libm-test-out: Regenerated.
46023 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46025         [BZ #13304]
46026         * sysdeps/sh/s_fma.c: New file.
46027         * sysdeps/sh/s_fmaf.c: New file.
46028         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
46029         version.
46030         * sysdeps/sh/Implies: Add sh/soft-fp.
46032 2013-12-16  Roland McGrath  <roland@hack.frob.com>
46034         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
46035         level of indirection to members `objname', `errstring', `malloced'.
46036         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
46037         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
46038         it as the __longjmp argument (just pass 1 instead).
46039         (_dl_catch_error): Initialize C with argument pointers and address of
46040         volatile local ERRCODE rather than copying values out of C at return.
46042 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
46044         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
46045         * math/auto-libm-test-out: Regenerated.
46046         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
46047         (hypot_test_data): Likewise.
46048         (pow_test_data): Likewise.
46049         (pow_tonearest_test_data): Likewise.
46050         * math/gen-auto-libm-tests.c (func_calc_method): Add value
46051         mpfr_ff_f.
46052         (func_calc_desc): Add mpfr_ff_f union field.
46053         (FUNC_mpfr_ff_f): New macro.
46054         (test_functions): Add atan2, hypot and pow.
46055         (special_fill_min): New function.
46056         (special_fill_minus_min): Likewise.
46057         (special_fill_min_subnorm): Likewise.
46058         (special_fill_minus_min_subnorm): Likewise.
46059         (special_real_inputs): Add min, -min, min_subnorm and
46060         -min_subnorm.
46061         (calc_generic_results): Handle mpfr_ff_f.
46062         * sysdeps/i386/fpu/libm-test-ulps: Update.
46063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46065 2013-12-16  Will Newton  <will.newton@linaro.org>
46067         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
46068         (Aligned Memory Blocks): Add documentation for aligned_alloc
46069         and suggest it as an alternative to posix_memalign.
46070         (Hooks for Malloc): Document __memalign_hook is also called
46071         for aligned_alloc.  (Summary of Malloc): Add summary for
46072         aligned alloc.  Document __memalign_hook is also called
46073         for aligned_alloc.
46075 2013-12-16  Will Newton  <will.newton@linaro.org>
46077         * manual/memory.texi (Malloc Examples): Clarify default
46078         alignment documentation.  Suggest posix_memalign rather
46079         than memalign or valloc.
46080         (Aligned Memory Blocks): Remove suggestion to use memalign
46081         or valloc.  Remove obsolete comment about BSD.
46082         Document memalign errno values and mark the function obsolete.
46083         Document posix_memalign returned error codes.  Mark valloc
46084         as obsolete.  (Hooks for Malloc): __memalign_hook is also
46085         called for posix_memalign and valloc.
46086         (Summary of Malloc): Add posix_memalign to function summary.
46087         __memalign_hook is also called for posix_memalign and valloc.
46089 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46091         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
46092         TAYLOR_SIN.
46093         (__sin): Adjust.
46094         (__cos): Likewise.
46095         (sloww): Use mynumber union.  Expand ternary operator into
46096         if-else statements.
46097         (cslow): use mynumber union.
46099 2013-12-16  Allan McRae  <allan@archlinux.org>
46101         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
46102         * configure: Regenerated.
46104         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
46106         [BZ #14120]
46107         * configure.ac: Added --enable-maintainer-mode. Check for
46108         autoconf when enabled.
46109         * configure: Regenerated.
46111         * nscd/nscd.service: New file.
46112         * nscd/nscd.tmpfiles: New file.
46114 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
46116         [BZ #12100]
46117         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
46118         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
46119         * sysdeps/x86_64/multiarch/strstr.c: ... here.
46120         (strstr): Add __strstr_sse2_unaligned ifunc.
46121         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
46122         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
46123         (strcasestr): Remove __strcasestr_sse42 ifunc.
46124         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
46125         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
46126         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
46128 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46130         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
46131         * sysdeps/sh/bits/fenv.h: ... here.
46132         * sysdeps/sh/sh4/fpu/bits: Remove directory.
46134 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46136         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
46138         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
46139         hypotf multiarch implementations.
46140         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
46141         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
46142         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
46143         multiarch hypot for PPC64.
46144         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
46145         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
46146         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
46147         multiarch hypotf for PPC64.
46149         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
46150         modff multiarch implementations.
46151         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
46152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
46153         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
46154         multiarch modf for PPC64.
46155         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
46156         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
46157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
46158         multiarch modff for PPC64.
46160         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
46161         and logl multiarch implementations.
46162         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
46163         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
46164         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
46165         multiarch logb for PPC64.
46166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
46167         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
46168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
46169         multiarch logb for PPC64.
46170         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
46171         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
46172         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
46173         multiarch logb for PPC64.
46175         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
46176         isinff multiarch implementation.
46177         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
46178         file.
46179         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
46180         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
46181         multiarch isinf for PPC64.
46182         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
46183         file.
46184         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
46185         multiarch isinff for PPC64.
46187         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
46188         finitef multiarch implementation.
46189         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
46190         file.
46191         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
46192         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
46193         multiarch finite for PPC64.
46194         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
46195         file.
46196         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
46197         multiarch finitef for PPC64.
46199         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
46200         lrint multiarch implementation.
46201         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
46202         file.
46203         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
46204         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
46205         multiarch llrint for PPC64.
46206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
46207         multiarch lrint for PPC64.
46209         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
46210         copysignf multiarch implementation.
46211         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
46212         file.
46213         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
46214         file.
46215         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
46216         multiarch copysign for PPC64.
46217         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
46218         multiarch copysignf for PPC64.
46220         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
46221         multiarch implementation.
46222         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
46223         file.
46224         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
46225         file.
46226         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
46227         file.
46228         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
46229         file.
46230         multiarch llround for PPC64.
46231         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
46232         multiarch trunc for PPC64.
46233         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
46234         multiarch truncf for PPC64.
46236         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
46237         multiarch implementation.
46238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
46239         file.
46240         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
46241         file.
46242         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
46243         file.
46244         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
46245         file.
46246         multiarch llround for PPC64.
46247         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
46248         multiarch round for PPC64.
46249         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
46250         multiarch roundf for PPC64.
46252         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
46253         multiarch implementation.
46254         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
46255         file.
46256         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
46257         file.
46258         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
46259         file.
46260         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
46261         file.
46262         multiarch llround for PPC64.
46263         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
46264         multiarch floor for PPC64.
46265         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
46266         multiarch floorf for PPC64.
46268         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
46269         multiarch implementation.
46270         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
46271         file.
46272         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
46273         file.
46274         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
46275         file.
46276         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
46277         file.
46278         multiarch llround for PPC64.
46279         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
46280         multiarch ceil for PPC64.
46281         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
46282         multiarch ceilf for PPC64.
46284         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
46285         multiarch implementation.
46286         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
46287         file.
46288         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
46289         file.
46290         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
46291         file.
46292         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
46293         multiarch llround for PPC64.
46294         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
46295         multiarch lround for PPC64.
46297         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
46298         multiarch implementation.
46299         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
46300         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
46301         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
46302         file.
46303         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
46304         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
46305         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
46306         multiarch isnan for PPC64.
46307         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
46308         multiarch isnanf for PPC64.
46310         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
46311         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
46312         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
46313         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
46314         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
46315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
46317         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
46318         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46319         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46320         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46322         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
46323         multiarch implementations.
46324         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46325         (__libc_ifunc_impl_list): Likewise.
46326         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
46327         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
46328         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
46329         multiarch stpcpy for PPC64.
46331         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
46332         multiarch implementations.
46333         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46334         (__libc_ifunc_impl_list): Likewise.
46335         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
46336         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
46337         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
46338         multiarch strcpy for PPC64.
46340         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
46341         redefine function name.
46342         (_wordcopy_fwd_dest_aligned): Likewise.
46343         (_wordcopy_bwd_aligned): Likewise.
46344         (_wordcopy_bwd_dest_aligned): Likewise.
46345         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
46346         multiarch implementations.
46347         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46348         (__libc_ifunc_impl_list): Likewise.
46349         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
46350         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
46351         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
46352         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
46353         multiarch wcscpy for PPC64.
46355         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
46356         multiarch implementations.
46357         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46358         (__libc_ifunc_impl_list): Likewise.
46359         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
46360         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
46361         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
46362         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
46363         multiarch wcscpy for PPC64.
46365         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
46366         multiarch implementations.
46367         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46368         (__libc_ifunc_impl_list): Likewise.
46369         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
46370         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
46371         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
46372         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
46373         multiarch wcsrchr for PPC64.
46375         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
46376         multiarch implementations.
46377         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46378         (__libc_ifunc_impl_list): Likewise.
46379         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
46380         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
46381         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
46382         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
46383         multiarch wcschr for PPC64.
46385         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
46386         multiarch implementations.
46387         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46388         (__libc_ifunc_impl_list): Likewise.
46389         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
46390         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
46391         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
46392         multiarch strchrnul for PPC64.
46394         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
46395         implementations.
46396         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46397         (__libc_ifunc_impl_list): Likewise.
46398         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
46399         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
46400         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
46401         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
46402         strchr for PPC64.
46404         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
46405         implementations.
46406         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46407         (__libc_ifunc_impl_list): Likewise.
46408         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
46409         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
46410         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
46411         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
46412         strncmp for PPC64.
46414         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
46415         multiarch implementations.
46416         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46417         (__libc_ifunc_impl_list): Likewise.
46418         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
46419         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
46420         strncasecmp for PPC64.
46421         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
46422         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
46423         multiarch strncasecmp_l for PPC64.
46425         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
46426         multiarch implementations.
46427         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
46428         (__libc_ifunc_impl_list): Likewise.
46429         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
46430         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
46431         multiarch strcasecmp for PPC64.
46432         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
46433         file.
46434         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
46435         multiarch strcasecmp_l for PPC64.
46437         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
46438         implementations.
46439         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46440         (__libc_ifunc_impl_list): Likewise.
46441         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
46442         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
46443         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
46444         strnlen for PPC64.
46446         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
46447         implementations.
46448         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46449         (__libc_ifunc_impl_list): Likewise.
46450         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
46451         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
46452         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
46453         strlen for PPC64.
46455         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
46456         implementations.
46457         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46458         (__libc_ifunc_impl_list): Likewise.
46459         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
46460         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
46461         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
46462         rawmemrchr for PPC64.
46464         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
46465         implementation.
46466         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46467         (__libc_ifunc_impl_list): Likewise.
46468         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
46469         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
46470         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
46471         memrchr for PPC64.
46473         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
46474         implementation.
46475         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46476         (__libc_ifunc_impl_list): Likewise.
46477         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
46478         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
46479         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
46480         memchr for PPC64.
46482         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
46483         implementation.
46484         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46485         (__libc_ifunc_impl_list): Likewise.
46486         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
46487         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
46488         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
46489         mempcpy for PPC64.
46491         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
46492         avoid cretion of __bzero symbol.
46493         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
46494         Likewise.
46495         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
46496         Likewise.
46497         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
46498         Likewise.
46499         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
46500         multiarch implementations.
46501         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46502         (__libc_ifunc_impl_list): Likewise.
46503         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
46504         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
46505         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
46506         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
46507         bzero for PPC32.
46508         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
46509         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
46510         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
46511         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
46512         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
46513         memset for PPC64.
46514         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
46516         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
46517         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
46518         implementations.
46519         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46520         (__libc_ifunc_impl_list): Likewise.
46521         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
46522         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
46523         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
46524         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
46525         memcmp for PPC64.
46527         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
46528         multiarch for POWER/PPC64.
46529         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
46530         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
46531         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
46532         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
46533         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
46534         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
46535         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
46536         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
46537         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
46538         memcpy for PPC64.
46540         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
46541         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
46542         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
46543         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
46544         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
46545         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
46546         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
46547         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
46548         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
46549         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
46550         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
46551         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
46552         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
46553         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
46554         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
46555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
46556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
46557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
46558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
46559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
46560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
46561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
46563 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46565         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
46567 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
46569         * benchtests/Makefile (bench): Add exp2 and log2.
46570         (LDLIBS-bench-exp2): Add -lm.
46571         (LDLIBS-bench-log2): Likewise.
46572         * benchtests/exp2-inputs: New inputs file.
46573         * benchtests/log2-inputs: New inputs file.
46574         * benchtests/log-inputs: Add new inputs.
46575         * benchtests/tan-inputs: Likewise.
46577 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46579         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
46580         definition...
46581         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
46582         (csloww2): ... from here.
46584         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
46585         instead of structures.
46586         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
46587         (POLYNOMIAL): Likewise.
46588         (TAYLOR_SLOW): Likewise.
46589         (__sin): Likewise.
46590         (__cos): Likewise.
46591         (slow1): Likewise.
46592         (slow2): Likewise.
46593         (sloww): Likewise.
46594         (sloww1); Likewise.
46595         (sloww2): Likewise.
46596         (bsloww1): Likewise.
46597         (bsloww2): Likewise.
46598         (cslow2): Likewise.
46599         (csloww): Likewise.
46600         (csloww1): Likewise.
46601         (csloww2): Likewise.
46603 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
46605         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
46606         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
46607         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
46608         * malloc/hooks.c (realloc_check): Likewise.
46610         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
46611         * malloc/arena.c: Remove PER_THREAD conditional.
46612         [!PER_THREAD]: Remove code.
46613         (ptmalloc_unlock_all2): Likewise.
46614         (ptmalloc_init): Likewise.
46615         (_int_new_arena): Likewise.
46616         (arena_get2): Likewise.
46617         * malloc/hooks.c (__malloc_get_state): Likewise.
46618         (__malloc_set_state): Likewise.
46619         * malloc/malloc.c: Likewise.
46620         (struct malloc_state): Likewise.
46621         (struct malloc_par): Likewise.
46622         (__libc_realloc): Likewise.
46623         (__libc_mallopt): Likewise.
46625 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46627         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
46629 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
46631         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
46632         macro to a function.  Check for zero perturb_byte.
46633         (_int_malloc, _int_free): Remove zero perturb_byte checks.
46635         * malloc/malloc.c: (force_reg): Remove.
46636         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
46637         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
46638         force_reg by atomic_forced_read.
46639         * malloc/arena.c (ptmalloc_init): Likewise.
46640         * malloc/hooks.c (top_check): Likewise.
46642 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46644         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46646 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
46648         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46650 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
46652         * math/auto-libm-test-in: Add tests of lgamma.
46653         * math/auto-libm-test-out: Regenerated.
46654         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
46655         (M_LOG_2_SQRT_PIl): Likewise.
46656         (lgamma_test_data): Use AUTO_TESTS_f_f1.
46657         * math/gen-auto-libm-tests.c (func_calc_method): Add value
46658         mpfr_f_f1.
46659         (func_calc_desc): Add mpfr_f_f1 union field.
46660         (ARGS1): New macro.
46661         (ARGS2): Likewise.
46662         (ARGS3): Likewise.
46663         (ARGS4): Likewise.
46664         (RET1): Likewise.
46665         (RET2): Likewise.
46666         (CALC): Likewise.
46667         (FUNC): Likewise.
46668         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
46669         (test_functions): Add lgamma.
46670         (calc_generic_results): Handle mpfr_f_f1.
46671         * sysdeps/i386/fpu/libm-test-ulps: Update.
46672         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46674 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46676         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
46677         __mpn_add_n for PowerPC64/POWER7.
46678         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
46679         __mpn_sub_n for PowerPC64/POWER7.
46681         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
46682         __mpn_addmul_1 for PowerPC64.
46683         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
46684         __mpn_submul_1 for PowerPC64.
46685         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
46686         for PowerPC64.
46687         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
46688         for PowerPC64.
46690 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
46692         [BZ #15089]
46693         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
46695 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46697         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
46699         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
46700         add multiarch folders.
46701         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
46702         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
46703         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
46704         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
46705         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
46706         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
46707         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
46708         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
46709         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
46710         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
46711         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
46712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
46713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
46714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
46715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
46716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
46717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
46719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
46720         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
46721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
46722         New file.
46723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
46724         New file.
46725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
46726         multiarch __ieee754_hypot for PowerPC32.
46727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
46728         New file.
46729         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
46730         New file.
46731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
46732         multiarch __ieee754_hypotf for PowerPC32.
46734         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
46735         long_double_symbol only if __logbl is defined.
46736         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
46737         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
46738         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
46739         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
46740         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
46741         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
46742         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
46743         path for implementation.
46744         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
46745         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
46746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
46747         logb, and logbl multiarch implementations for PowerPC32.
46748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
46749         file.
46750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
46751         file.
46752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
46753         multiarch logb for PowerPC32.
46754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
46755         file.
46756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
46757         file.
46758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
46759         multiarch logbf for PowerPC32.
46760         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
46761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
46762         file.
46763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
46764         multiarch logbl implementation for PowerPC32.
46766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
46767         and modff multiarch implementations.
46768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
46769         New file.
46770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
46771         New file.
46772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
46773         multiarch modf for PowerPC32.
46774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
46775         New file.
46776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
46777         New file.
46778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
46779         multiarch modff for PowerPC32.
46781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
46782         and lrintf multiarch implementations.
46783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
46784         New file.
46785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
46786         New file.
46787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
46788         multiarch lrint for PowerPC32.
46789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
46790         file: multiarch lrintf for PowerPC32.
46792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
46793         and lroundf multiarch implementations.
46794         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
46795         New file.
46796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
46797         New file.
46798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
46799         New file.
46800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
46801         multiarch lround for PowerPC32.
46802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
46803         file: multiarch lroundf for PowerPC32.
46805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
46806         copysign and copysignf multiarch implementations.
46807         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
46808         New file.
46809         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
46810         New file.
46811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
46812         file: multiarch copysign for PowerPC32.
46813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
46814         file: multiarch copysignf for PowerPC32.
46816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
46817         and truncf multiarch implementations.
46818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
46819         New file.
46820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
46821         file.
46822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
46823         multiarch trunc for PowerPC32.
46824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
46825         New file.
46826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
46827         New file.
46828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
46829         multiarch truncf for PowerPC32.
46831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
46832         and roundf multiarch implementations.
46833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
46834         New file.
46835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
46836         file.
46837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
46838         multiarch round for PowerPC32.
46839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
46840         New file.
46841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
46842         New file.
46843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
46844         multiarch roundf for PowerPC32.
46846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
46847         and floorf multiarch implementations.
46848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
46849         New file.
46850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
46851         file.
46852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
46853         multiarch floor for PowerPC32.
46854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
46855         New file.
46856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
46857         New file.
46858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
46859         multiarch floorf for PowerPC32.
46861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
46862         and ceilf multiarch implementations.
46863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
46864         New file.
46865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
46866         file.
46867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
46868         multiarch ceil for PowerPC32.
46869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
46870         New file.
46871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
46872         file.
46873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
46874         multiarch ceilf for PowerPC32.
46876         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
46877         is defined.
46878         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
46879         FINITEF is defined.
46880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
46881         and finitef multiarch implementations.
46882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
46883         New file.
46884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
46885         file.
46886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
46887         multiarch finite for PowerPC32.
46888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
46889         New file.
46890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
46891         file: multiarch finitef for PowerPC32.
46893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
46894         and isinff multiarch implementations.
46895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
46896         file.
46897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
46898         file.
46899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
46900         multiarch isinf for PowerPC32.
46901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
46902         New file.
46903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
46904         multiarch isinff for PowerPC32.
46906         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
46907         alias when __isnan is defined.
46908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
46909         and isnanf multiarch implementations.
46910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
46911         file.
46912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
46913         file.
46914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
46915         file.
46916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
46917         file.
46918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
46919         multiarch isnan for PowerPC32.
46920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
46921         New file.
46922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
46923         New file.
46924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
46925         multiarch isnanf for PowerPC32.
46927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
46928         and sqrtf multiarch implementations.
46929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
46930         file.
46931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
46932         file.
46933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
46934         multiarch sqrt for PowerPC32.
46935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
46936         file.
46937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
46938         file.
46939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
46940         multiarch sqrtf for PowerPC32.
46942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
46943         and llroundf multiarch implementations.
46944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
46945         New file.
46946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
46947         New file.
46948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
46949         New file.
46950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
46951         file: multiarch llround for PowerPC32.
46952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
46953         file: multiarch llroundf for PowerPC32.
46955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
46956         multiarch PowerPC32 fpu implementations.
46957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
46958         New file.
46959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
46960         New file.
46961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
46962         multiarch llrint for PowerPC32.
46963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
46964         New file.
46965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
46966         New file.
46967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
46968         file.
46970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
46972         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
46973         file.
46974         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
46975         file.
46976         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
46977         file.
46978         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
46979         multiarch wordcopy for PPC32.
46980         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
46981         wordcopy objects.
46982         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46983         (__libc_ifunc_impl_list): Likewise.
46984         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
46985         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
46986         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
46987         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
46988         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
46989         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
46991         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
46992         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
46993         file.
46994         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
46995         file.
46996         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
46997         file.
46998         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
46999         multiarch wcscpy for PPC32.
47000         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
47001         multiarch objects.
47002         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47003         (__libc_ifunc_impl_list): Likewise.
47004         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
47005         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
47006         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
47007         sysdeps/powerpc/power6/wcscpy.c.
47009         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
47010         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
47011         file.
47012         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
47013         file.
47014         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
47015         file.
47016         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
47017         multiarch wcsrchr for PPC32.
47018         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
47019         multiarch objects.
47020         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47021         (__libc_ifunc_impl_list): Likewise.
47022         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
47023         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
47024         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
47025         sysdeps/powerpc/power6/wcsrchr.c.
47027         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
47028         file.
47029         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
47030         file.
47031         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
47032         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
47033         multiarch wcschr for PPc32.
47034         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
47035         multiarch objects.
47036         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47037         (__libc_ifunc_impl_list): Likewise.
47038         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
47039         * sysdeps/powerpc/power6/wcschr.c: ... to here.
47040         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
47041         sysdeps/powerpc/power6/wcschr.c.
47043         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
47044         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
47045         file.
47046         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
47047         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
47048         file: multiarch strchr for PPC32.
47049         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
47050         multiarch objects.
47051         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47052         (__libc_ifunc_impl_list): Likewise.
47054         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
47055         name.
47056         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
47057         file.
47058         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
47059         file.
47060         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
47061         multiarch strchrnul for PPC32.
47062         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
47063         multiarch objects.
47064         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47065         (__libc_ifunc_impl_list): Likewise.
47067         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
47068         file.
47069         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
47070         multiarch strncasecmp for PPC32.
47071         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
47072         file.
47073         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
47074         multiarch strncasecmp_l for PPC32.
47075         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
47076         strncasecmp multiarch objects.
47077         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47078         (__libc_ifunc_impl_list): Likewise.
47080         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
47081         file.
47082         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
47083         multiarch strncasecmp for PPC32.
47084         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
47085         New file.
47086         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
47087         multiarch strcasecmp_l for PPC32.
47088         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
47089         multiarch objects.
47090         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47091         (__libc_ifunc_impl_list): Likewise.
47093         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
47094         file.
47095         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
47096         file.
47097         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
47098         multiarch strncmp for PPC32.
47099         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
47100         multiarch objects.
47101         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47102         (__libc_ifunc_impl_list): Likewise.
47104         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
47105         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
47106         file.
47107         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
47108         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
47109         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
47110         multiarch objects.
47111         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47112         (__libc_ifunc_impl_list): Likewise.
47114         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
47115         file.
47116         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
47117         file.
47118         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
47119         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
47120         multiarch objects.
47121         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47122         (__libc_ifunc_impl_list): Likewise.
47124         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
47125         file.
47126         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
47127         file.
47128         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
47129         multiarch rawmemchr for PPC32.
47130         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
47131         multiarch objects.
47132         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47133         (__libc_ifunc_impl_list): Likewise.
47135         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
47136         file.
47137         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
47138         file.
47139         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
47140         file: memrchr multiarch for PPC32.
47141         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
47142         multiarch objects.
47143         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
47144         (__libc_ifunc_impl_list): Likewise.
47146         * string/memchr.c (__memchr): Using macro to redefine symbol name.
47147         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
47148         file.
47149         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
47150         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
47151         multiarch memchr for PPC32.
47152         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
47153         multiarch objects.
47154         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47155         (__libc_ifunc_impl_list): Likewise.
47157         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
47158         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
47159         file.
47160         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
47161         file.
47162         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
47163         file: multiarch mempcpy for PPC32.
47164         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
47165         multiarch objects.
47166         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47167         (__libc_ifunc_impl_list): Likewise.
47169         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
47170         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
47171         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
47172         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
47173         multiarch bzero for PPC32.
47174         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
47175         file.
47176         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
47177         file.
47178         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
47179         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
47180         file: multiarch memset for PPC32.
47181         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
47182         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
47183         memset multiarch objects.
47184         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47185         (__libc_ifunc_impl_list): Likewise.
47187         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
47188         file.
47189         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
47190         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
47191         memcmp for PPC32.
47192         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
47193         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
47194         multiarch objects.
47195         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47196         (__libc_ifunc_impl_list): Likewise.
47198         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
47199         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
47200         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
47201         file.
47202         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
47203         file.
47204         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
47205         file.
47206         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
47207         multiarch memcpy for PPC32.
47208         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
47209         multiarch objects.
47210         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47211         (__libc_ifunc_impl_list): Likewise.
47213         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
47214         support multiarch for POWER/PPC32.
47215         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
47216         Likewise.
47217         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
47218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
47219         Implies file to make multiarch folder appers before the fpu and
47220         default folder for power4 configuration.
47222 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
47224         * scripts/bench.pl: Append volatile keyword to type.
47226 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47228         * sysdeps/sh/sotruss-lib.c: New file.
47229         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
47231 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47233         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47235 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
47237         [BZ #6810]
47238         * math/w_tgamma.c: Include <errno.h>.
47239         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
47240         * math/w_tgammaf.c: Include <errno.h>.
47241         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
47242         * math/w_tgammal.c: Include <errno.h>.
47243         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
47244         * math/auto-libm-test-in: Do not allow missing errno on tgamma
47245         underflow.  Add more tgamma tests.
47246         * math/auto-libm-test-out: Regenerated.
47247         * sysdeps/i386/fpu/libm-test-ulps: Update.
47248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47250         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
47251         sin, sinh, tan, tanh, tgamma, y0 and y1.
47252         * math/auto-libm-test-out: Regenerated.
47253         * math/libm-test.inc (TEST_COND_x86_64): New macro.
47254         (TEST_COND_x86): Likewise.
47255         (M_E2l): Remove macro.
47256         (M_E3l): Likewise.
47257         (M_2_SQRT_PIl): Likewise.
47258         (M_SQRT_PIl): Likewise.
47259         (M_1_DIV_El): Likewise.
47260         (log_test_data): Use AUTO_TESTS_f_f.
47261         (log10_test_data): Likewise.
47262         (log1p_test_data): Likewise.
47263         (log2_test_data): Likewise.
47264         (sin_test_data): Likewise.
47265         (sin_tonearest_test_data): Likewise.
47266         (sin_towardzero_test_data): Likewise.
47267         (sin_downward_test_data): Likewise.
47268         (sin_upward_test_data): Likewise.
47269         (sinh_test_data): Likewise.
47270         (sinh_tonearest_test_data): Likewise.
47271         (sinh_towardzero_test_data): Likewise.
47272         (sinh_downward_test_data): Likewise.
47273         (sinh_upward_test_data): Likewise.
47274         (tan_test_data): Likewise.
47275         (tan_tonearest_test_data): Likewise.
47276         (tan_towardzero_test_data): Likewise.
47277         (tan_downward_test_data): Likewise.
47278         (tan_upward_test_data): Likewise.
47279         (tanh_test_data): Likewise.
47280         (tgamma_test_data): Likewise.
47281         (y0_test_data): Likewise.
47282         (y1_test_data): Likewise.
47283         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
47284         (special_real_inputs): Add pi/4.
47285         * sysdeps/i386/fpu/libm-test-ulps: Update.
47286         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47288 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47290         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
47291         "longjmp_target" static probes.
47292         (__longjmp): Rename to __longjmp_symbol.
47293         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
47294         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
47295         on which longjmp to generate.
47296         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
47297         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
47298         probe.
47299         (__sigsetjmp): Rename to __sigsetjmp_symbol.
47300         (__sigjmp_save): Rename to __sigjmp_save_symbol.
47301         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
47302         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
47303         and __sigjmp_save_symbol based on which sigsetjmp to generated.
47304         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
47305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
47306         __longjmp_symbol based on which __longjmp to generate.
47307         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
47308         probe.
47309         (setjmp): Rename to setjmp_symbol.
47310         (__sigsetjmp): Rename to __sigsetjmp_symbol.
47311         (_setjmp): Rename to _setjmp_symbol.
47312         (__sigsetjmp): Rename to __sigsetjmp_symbol.
47313         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
47314         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
47315         which setjmp to generate.
47316         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
47317         "longjmp_target" static probes.
47319 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
47321         * benchtests/README: Add note about output arguments.
47322         * benchtests/bench-sincos.c: Remove file.
47323         * benchtests/sincos-inputs: New file.
47324         * scripts/bench.pl: Identify output arguments and define
47325         static variables for them.
47327         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
47329         [BZ #15941]
47330         * Makefile (INSTALL): Add install-plain.texi as the primary
47331         dependency.
47332         * manual/install-plain.texi: New file.
47333         * manual/install.texi: Include node directive only for
47334         non-plaintext output.
47336 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
47338         * stdlib/longlong.h: Update from GCC.
47340         [BZ #6807]
47341         [BZ #15901]
47342         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
47343         * math/w_j0f.c (y0f): Likewise.
47344         * math/w_j0l.c (__y0l): Likewise.
47345         * math/w_j1.c (y1): Likewise.
47346         * math/w_j1f.c (y1f): Likewise.
47347         * math/w_j1l.c (__y1l): Likewise.
47348         * math/w_jn.c (yn): Likewise.
47349         * math/w_jnf.c (ynf): Likewise.
47350         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
47351         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
47352         value for Bessel function domain errors outside _SVID_ mode.
47353         Adjust sign of return value for yn (negative integer, 0).
47354         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
47355         by zero in return for negative x and set sign appropriately for
47356         negative n.
47357         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
47358         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
47359         * math/libm-test.inc (y0_test_data): Add more tests and adjust
47360         expectations in error cases.
47361         (y1_test_data): Likewise.
47362         (yn_test_data): Likewise.
47363         * sysdeps/i386/fpu/libm-test-ulps: Update.
47364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47366 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47368         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
47369         "64" to "64-v1".  Add "64-v2".
47370         (abi-64-options): Rename to ...
47371         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
47372         (abi-64-condition): Rename to ...
47373         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
47374         (abi-64-ld-soname): Rename to ...
47375         (abi-64-v1-ld-soname): ... this.
47376         (abi-64-v2-options): Define.
47377         (abi-64-v2-condition): Likewise.
47378         (abi-64-v2-ld-soname): Likewise.
47379         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
47380         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
47381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
47382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
47383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
47385 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47386             Alan Modra  <amodra@gmail.com>
47388         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
47389         New versions for use with the ELFv2 ABI.
47390         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
47391         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
47392         declaration.
47393         (struct La_ppc64v2_retval): Likewise.
47394         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
47395         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
47396         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
47397         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
47398         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
47399         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
47400         Do not save or restore CR.
47401         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
47402         (_dl_profile_resolve): Do no save or restore CR.  Support extended
47403         return values for ELFv2 ABI.  Fix location of FPR return registers.
47404         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
47405         updated values for _CALL_ELF == 2.
47406         (La_regs, La_retval, int_retval): Likewise.
47408 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47410         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
47411         (FRAME_MIN_SIZE_PARM): Likewise.
47412         (FRAME_BACKCHAIN): Likewise.
47413         (FRAME_CR_SAVE): Likewise.
47414         (FRAME_LR_SAVE): Likewise.
47415         (FRAME_TOC_SAVE): Likewise.
47416         (FRAME_PARM_SAVE): Likewise.
47417         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
47418         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
47419         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
47420         (call_mcount_parm_offset): New macro.
47421         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
47422         (PROF): Use symbolic stack frame offsets.
47423         (TAIL_CALL_SYSCALL_ERROR): Likewise.
47424         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
47425         Redefine in terms of FRAME_MIN_SIZE.
47426         (_dl_runtime_resolve): Use symbolic stack frame offsets.
47427         (_dl_profile_resolve): Likewise.  Update comment.
47428         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
47429         symbols stack frame offsets.
47430         (__sigsetjmp): Likewise.
47431         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
47432         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
47433         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
47434         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
47436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
47437         (FRAME_BACKCHAIN): Remove.
47438         (FRAME_CR_SAVE): Likewise.
47439         (FRAME_LR_SAVE): Likewise.
47440         (FRAME_COMPILER_DW): Likewise.
47441         (FRAME_LINKER_DW): Likewise.
47442         (FRAME_TOC_SAVE): Likewise.
47443         (FRAME_PARM_SAVE): Likewise.
47444         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
47445         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
47446         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
47447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
47448         (CHECK_SP): Use symbolic stack frame offsets.
47449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
47450         zone" instead of caller's parameter save area for temp storage.
47451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
47452         Likewise.  Also, use symbolic stack frame offsets.
47453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
47454         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
47455         our own stack frame instead of the caller's.
47456         (__socket): Use symbolic stack frame offsets.
47458 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47459             Alan Modra  <amodra@gmail.com>
47461         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
47462         Define.
47463         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
47464         (PPC64_LOCAL_ENTRY_OFFSET): Define.
47465         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
47466         New function.
47467         (elf_machine_fixup_plt): Call it.
47468         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
47469         reloc arguments.
47470         (elf_machine_rela): Update call to elf_machine_plt_conflict.
47471         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
47472         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
47473         r2 before calling target.
47475 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47476             Alan Modra  <amodra@gmail.com>
47478         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
47479         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
47480         versions of macros to support ELFv2 ABI.
47481         (LOCALENTRY): New macro.
47482         (ENTRY, EALIGN): Use it.
47483         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
47484         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
47485         fall through into ENTRY entry point.
47486         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
47487         Only define if _CALL_ELF != 2.
47489         (elf_machine_matches_host): Verify ABI version matches.
47490         (RTLD_START): Use LOCALENTRY.
47491         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
47492         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
47493         (PLT_ENTRY_WORDS): New macro.
47494         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
47495         (elf_machine_runtime_setup): Support ELFv2 ABI.
47496         (elf_machine_fixup_plt): Likewise.
47497         (elf_machine_plt_conflict): Likewise.
47498         (resolve_ifunc): Likewise.
47499         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
47500         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
47501         Likewise.
47502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
47503         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
47504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47505         (makecontext): Support ELFv2 ABI.
47506         * elf/elf.h (EF_PPC64_ABI): Define.
47508 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47510         * sysdeps/powerpc/powerpc64/sysdep.h
47511         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
47512         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
47513         (ENTRY) [ASSEMBLER]: ... but instead here ...
47514         (EALIGN) [ASSEMBLER]: ... and here.
47515         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
47516         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
47517         (ENTRY_2) [!ASSEMBLER]: Use it.
47518         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
47519         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
47520         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
47521         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
47522         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
47523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
47524         Use PPC64_LOAD_FUNCPTR.
47526         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
47528 2013-12-04  Alan Modra  <amodra@gmail.com>
47530         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
47531         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
47532         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
47533         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
47535         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
47536         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
47537         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
47538         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
47539         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
47540         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
47542 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47545         (__makecontext): Fix incorrect CFI when backtracing out of
47546         context created via makecontext.
47547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
47548         (__setcontext): Fix incorrect CFI during switch to new context.
47549         (__novec_setcontext): Likewise.
47551 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
47553         [BZ #4772]
47554         * time/strptime_l.c (__strptime_internal): Allow modifiers
47555         in strptime.
47556         * time/tst-strptime.c (day_tests): Add testcase.
47558 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47560         * scripts/bench.pl: Skip over blank lines.
47562 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
47564         [BZ #926]
47565         * manual/time.texi (Calendar Time): Clarify what timezone functions
47566         use.
47568 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47570         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47572 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
47574         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
47575         implementation.
47576         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
47577         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
47578         * debug/memset_chk.c (__memset_chk): Likewise.
47579         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
47580         * debug/strncpy_chk.c: Likewise.
47582 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
47584         [BZ #15268]
47585         [BZ #15425]
47586         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
47587         (__ieee754_exp): For possibly underflowing results, check size of
47588         result and force underflow exception if required.
47589         * math/auto-libm-test-in: Add more tests of exp.
47590         * math/auto-libm-test-out: Regenerated.
47591         * sysdeps/i386/fpu/libm-test-ulps: Update.
47592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47594         [BZ #16283]
47595         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
47596         * math/w_exp2f.c (__exp2f): Likewise.
47597         * math/w_exp2l.c (__exp2l): Likewise.
47598         * math/auto-libm-test-in: Do not allow missing errno on exp2
47599         underflow.
47600         * math/auto-libm-test-out: Regenerated.
47602 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
47604         [BZ #16274]
47605         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
47606         handle filename validation.
47607         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
47608         (do_open): Delete.
47610 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
47612         [BZ #6786]
47613         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
47614         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
47615         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
47616         <float.h>.
47617         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
47618         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
47619         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
47620         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
47621         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
47622         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
47623         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
47624         * math/auto-libm-test-in: Don't allow missing errno from erfc.
47625         Add more erfc tests.
47626         * math/auto-libm-test-out: Regenerated.
47627         * sysdeps/i386/fpu/libm-test-ulps: Update.
47628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47630         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
47631         exp2, expm1, j0 and j1.
47632         * math/auto-libm-test-out: Regenerated.
47633         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
47634         (erfc_test_data): Likewise.
47635         (exp_test_data): Likewise.
47636         (exp_tonearest_test_data): Likewise.
47637         (exp_towardzero_test_data): Likewise.
47638         (exp_downward_test_data): Likewise.
47639         (exp_upward_test_data): Likewise.
47640         (exp10_test_data): Likewise.
47641         (exp2_test_data): Likewise.
47642         (expm1_test_data): Likewise.
47643         (j0_test_data): Likewise.
47644         (j1_test_data): Likewise.
47645         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
47646         (input_flag_type): Add flag_xfail_rounding.
47647         (input_flags): Add xfail-rounding.
47648         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
47649         (output_for_one_input_case): Handle flag_xfail_rounding.
47650         * sysdeps/i386/fpu/libm-test-ulps: Update.
47651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47653 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
47655         [BZ #16289]
47656         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
47657         division by 0.
47659 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
47661         [BZ #16195]
47662         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
47663         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
47664         (STAP_PROBE0): New macro.
47665         (STAP_PROBE1): Likewise.
47666         (STAP_PROBE2): Likewise.
47667         (STAP_PROBE3): Likewise.
47668         (STAP_PROBE4): Likewise.
47670 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
47672         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
47674 2013-12-02  Steve Ellcey  <sellcey@mips.com>
47676         * benchtests/Makefile (bench): Add sqrt.
47677         (LDLIBS-bench-sqrt): New.
47678         * benchtests/sqrt-input: New.
47680 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
47682         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
47683         (GAIH_EAI): Likewise.
47684         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
47685         (gaih_inet): Likewise.
47686         (getaddrinfo): Don't use GAIH_EAI.
47688         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
47689         (struct gaih): Remove definition.
47691 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47693         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
47694         Use HERRNOP directly.
47696 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47698         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47700 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
47702         * math/gen-auto-libm-tests.c (test_functions): Add more
47703         single-argument functions.
47704         (special_fill_pi_2): New function.
47705         (special_fill_minus_pi_2): Likewise.
47706         (special_fill_pi_6): Likewise.
47707         (special_fill_minus_pi_6): Likewise.
47708         (special_fill_pi_3): Likewise.
47709         (special_fill_2pi_3): Likewise.
47710         (special_fill_e): Likewise.
47711         (special_fill_1_e): Likewise.
47712         (special_fill_e_minus_1): Likewise.
47713         (special_real_inputs): Add more special inputs.
47714         (output_for_one_input_case): Do not require ERANGE on underflow to
47715         zero if round-to-nearest result does not underflow to zero, unless
47716         exact results required.
47717         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
47718         atan, atanh, cbrt, cos and cosh.
47719         * math/auto-libm-test-out: Regenerated.
47720         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
47721         (acos_tonearest_test_data): Likewise.
47722         (acos_towardzero_test_data): Likewise.
47723         (acos_downward_test_data): Likewise.
47724         (acos_upward_test_data): Likewise.
47725         (acosh_test_data): Likewise.
47726         (asin_test_data): Likewise.
47727         (asin_tonearest_test_data): Likewise.
47728         (asin_towardzero_test_data): Likewise.
47729         (asin_upward_test_data): Likewise.
47730         (asinh_test_data): Likewise.
47731         (atan_test_data): Likewise.
47732         (atanh_test_data): Likewise.
47733         (cbrt_test_data): Likewise.
47734         (cos_test_data): Likewise.
47735         (cos_tonearest_test_data): Likewise.
47736         (cos_towardzero_test_data): Likewise.
47737         (cos_downward_test_data): Likewise.
47738         (cos_upward_test_data): Likewise.
47739         (cosh_test_data): Likewise.
47740         (cosh_tonearest_test_data): Likewise.
47741         (cosh_towardzero_test_data): Likewise.
47742         (cosh_downward_test_data): Likewise.
47743         (cosh_upward_test_data): Likewise.
47744         * sysdeps/i386/fpu/libm-test-ulps: Update.
47745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47747 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
47749         [BZ #6787]
47750         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
47751         * math/w_exp10f.c (__exp10f): Likewise.
47752         * math/w_exp10l.c (__exp10l): Likewise.
47753         * math/libm-test.inc (exp10_test_data): Add more tests and expect
47754         errno settings in existing tests.
47756         [BZ #14032]
47757         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
47758         precision control set to double precision.
47759         * sysdeps/i386/fpu/w_sqrt.c: New file.
47760         * math/auto-libm-test-in: Add more tests.
47761         * math/auto-libm-test-out: Update.
47763         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
47764         (sqrt_test_tonearest): New function.
47765         (sqrt_towardzero_test_data): New variable.
47766         (sqrt_test_towardzero): New function.
47767         (sqrt_downward_test_data): New variable.
47768         (sqrt_test_downward): New function.
47769         (sqrt_upward_test_data): New variable.
47770         (sqrt_test_upward): New function.
47771         (main): Call the new functions.
47773         * math/gen-auto-libm-tests.c: New file.
47774         * math/auto-libm-test-in: Likewise.
47775         * math/auto-libm-test-out: New generated file.
47776         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
47777         variables.
47778         (%beautify): Add generated representations of zero.
47779         (top level): Set $auto_input and call parse_auto_input.
47780         (beautify): Remove trailing "f" from hex float constants.
47781         (parse_args): Handle XFAIL_TEST.
47782         (convert_condition): New function.
47783         (or_value): Likewise.
47784         (or_cond_value): Likewise.
47785         (generate_testfile): Handle AUTO_TESTS_* lines.
47786         (parse_auto_input): New function.
47787         * math/libm-test.inc (XFAIL_TEST): New macro.
47788         (ERRNO_UNCHANGED): Update value.
47789         (ERRNO_EDOM): Likewise.
47790         (ERRNO_ERANGE): Likewise.
47791         (IGNORE_RESULT): Likewise.
47792         (TEST_COND_flt_32): New macro.
47793         (TEST_COND_dbl_64): Likewise.
47794         (TEST_COND_ldbl_96_intel): Likewise.
47795         (TEST_COND_ldbl_96_m68k): Likewise.
47796         (TEST_COND_ldbl_128): Likewise.
47797         (TEST_COND_ldbl_128ibm): Likewise.
47798         (TEST_COND_long32): Likewise.
47799         (TEST_COND_long64): Likewise.
47800         (TEST_COND_before_rounding): Likewise.
47801         (TEST_COND_after_rounding): Likewise.
47802         (enable_test): Handle XFAIL_TEST flag.
47803         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
47804         with finite results.
47805         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
47806         auto-libm-test-out.
47808 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
47809             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47811         [BZ #16214]
47812         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
47813         __tls_get_addr_internal instead of __tls_get_offset in order to
47814         avoid GOT pointer dependency.  Make rtld export
47815         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
47816         __tls_get_addr since we are a __tls_get_offset platform.
47817         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
47818         GOT pointer being set up before.
47819         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
47821 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
47823         * manual/math.texi (Errors in Math Functions): Document accuracy
47824         goals.
47826         [BZ #15004]
47827         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
47828         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
47829         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47830         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47831         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47832         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47833         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47834         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
47835         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
47836         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47837         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47838         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47839         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47840         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47841         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47842         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
47844         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
47845         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
47846         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
47847         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
47848         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
47849         Likewise.
47850         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
47851         Likewise.
47852         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
47853         Likewise.
47854         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
47855         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
47856         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
47857         atomic-feupdateenv and flt-rounds.
47858         * sysdeps/powerpc/nofpu/Versions (libc): Add
47859         __atomic_feholdexcept, __atomic_feclearexcept,
47860         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
47861         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
47862         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
47863         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
47864         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
47865         here.
47866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
47867         Update.
47869         * manual/arith.texi (FP Exceptions): Document that exceptions may
47870         not be raised when matherr is used.
47871         (Math Error Reporting): Document overflow in directed rounding
47872         modes.  Document that errno may not be set when finite values are
47873         returned on overflow.  Document intent to set errno on underflow
47874         only for underflow to zero.
47876         [BZ #16271]
47877         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
47878         round-to-nearest then adjust result for other rounding modes.
47879         * include/fenv.h (fegetround): Use libm_hidden_proto.
47880         * math/fegetround.c (fegetround): Use libm_hidden_def.
47881         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
47882         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
47883         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
47884         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
47885         Likewise.
47886         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
47887         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
47888         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
47889         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
47891 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47893         [BZ #16077]
47894         * nss/Versions (libnss_files): Add
47895         _nss_files_gethostbyname3_r.
47896         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
47897         New function.
47898         (HOST_DB_LOOKUP): Remove macro.
47899         (_nss_files_gethostbyname_r): Implement function without the
47900         HOST_DB_LOOKUP macro.
47901         (_nss_files_gethostbyname2_r): Likewise.
47903 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
47905         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
47907 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
47909         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
47910         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
47911         warning.
47913 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47915         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
47916         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
47917         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
47918         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
47919         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
47920         __fe_nomask_env_priv and attribute_hidden.
47921         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
47922         (libc_feupdateenv_test_ppc): Likewise.
47923         (libc_feresetround_ppc): Likewise.
47924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
47925         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
47926         compat_symbol macro.
47927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
47928         (__fe_nomask_env): Likewise.
47929         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
47931 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
47933         * string/Makefile: Remove ifunc tests.
47934         * string/test-string.h: Define TEST_IFUNC.
47935         * string/test-bcopy-ifunc.c: Remove.
47936         * string/test-bzero-ifunc.c: Likewise.
47937         * string/test-memccpy-ifunc.c: Likewise.
47938         * string/test-memchr-ifunc.c: Likewise.
47939         * string/test-memcmp-ifunc.c: Likewise.
47940         * string/test-memcpy-ifunc.c: Likewise.
47941         * string/test-memmem-ifunc.c: Likewise.
47942         * string/test-memmove-ifunc.c: Likewise.
47943         * string/test-mempcpy-ifunc.c: Likewise.
47944         * string/test-memrchr-ifunc.c: Likewise.
47945         * string/test-memset-ifunc.c: Likewise.
47946         * string/test-rawmemchr-ifunc.c: Likewise.
47947         * string/test-stpcpy-ifunc.c: Likewise.
47948         * string/test-stpncpy-ifunc.c: Likewise.
47949         * string/test-strcasecmp-ifunc.c: Likewise.
47950         * string/test-strcasestr-ifunc.c: Likewise.
47951         * string/test-strcat-ifunc.c: Likewise.
47952         * string/test-strchr-ifunc.c: Likewise.
47953         * string/test-strchrnul-ifunc.c: Likewise.
47954         * string/test-strcmp-ifunc.c: Likewise.
47955         * string/test-strcpy-ifunc.c: Likewise.
47956         * string/test-strcspn-ifunc.c: Likewise.
47957         * string/test-strlen-ifunc.c: Likewise.
47958         * string/test-strncasecmp-ifunc.c: Likewise.
47959         * string/test-strncat-ifunc.c: Likewise.
47960         * string/test-strncmp-ifunc.c: Likewise.
47961         * string/test-strncpy-ifunc.c: Likewise.
47962         * string/test-strnlen-ifunc.c: Likewise.
47963         * string/test-strpbrk-ifunc.c: Likewise.
47964         * string/test-strrchr-ifunc.c: Likewise.
47965         * string/test-strspn-ifunc.c: Likewise.
47966         * string/test-strstr-ifunc.c: Likewise.
47968 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
47970         * benchtests/Makefile: Remove ifunc tests.
47971         * benchtests/bench-string.h: Define TEST_IFUNC.
47972         * benchtests/bench-bcopy-ifunc.c: Remove.
47973         * benchtests/bench-bzero-ifunc.c: Likewise.
47974         * benchtests/bench-memccpy-ifunc.c: Likewise.
47975         * benchtests/bench-memchr-ifunc.c: Likewise.
47976         * benchtests/bench-memcmp-ifunc.c: Likewise.
47977         * benchtests/bench-memcpy-ifunc.c: Likewise.
47978         * benchtests/bench-memmem-ifunc.c: Likewise.
47979         * benchtests/bench-memmove-ifunc.c: Likewise.
47980         * benchtests/bench-mempcpy-ifunc.c: Likewise.
47981         * benchtests/bench-memrchr-ifunc.c: Likewise.
47982         * benchtests/bench-memset-ifunc.c: Likewise.
47983         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
47984         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
47985         * benchtests/bench-stpcpy-ifunc.c: Likewise.
47986         * benchtests/bench-stpncpy-ifunc.c: Likewise.
47987         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
47988         * benchtests/bench-strcasestr-ifunc.c: Likewise.
47989         * benchtests/bench-strcat-ifunc.c: Likewise.
47990         * benchtests/bench-strchr-ifunc.c: Likewise.
47991         * benchtests/bench-strchrnul-ifunc.c: Likewise.
47992         * benchtests/bench-strcmp-ifunc.c: Likewise.
47993         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
47994         * benchtests/bench-strcpy-ifunc.c: Likewise.
47995         * benchtests/bench-strcspn-ifunc.c: Likewise.
47996         * benchtests/bench-strlen-ifunc.c: Likewise.
47997         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
47998         * benchtests/bench-strncat-ifunc.c: Likewise.
47999         * benchtests/bench-strncmp-ifunc.c: Likewise.
48000         * benchtests/bench-strncpy-ifunc.c: Likewise.
48001         * benchtests/bench-strnlen-ifunc.c: Likewise.
48002         * benchtests/bench-strpbrk-ifunc.c: Likewise.
48003         * benchtests/bench-strrchr-ifunc.c: Likewise.
48004         * benchtests/bench-strsep-ifunc.c: Likewise.
48005         * benchtests/bench-strspn-ifunc.c: Likewise.
48006         * benchtests/bench-strstr-ifunc.c: Likewise.
48008 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
48010         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
48012 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
48014         * resolv/netdb.h: Use __glibc_reserved instead __unused.
48015         * rt/aio.h: Likewise.
48016         * sysdeps/gnu/bits/utmp.h: Likewise.
48017         * sysdeps/gnu/bits/utmpx.h: Likewise.
48018         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
48019         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
48020         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
48021         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
48022         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
48023         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
48024         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
48025         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
48026         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
48027         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
48028         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
48029         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
48030         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
48031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
48032         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
48033         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
48034         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
48035         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
48036         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
48037         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
48038         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
48039         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
48040         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
48041         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
48042         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
48043         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48044         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
48045         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
48046         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
48047         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
48048         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
48049         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
48050         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
48051         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
48052         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
48053         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
48054         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
48055         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
48056         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
48057         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
48058         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
48059         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
48061 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
48063         [BZ #16245]
48064         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
48065         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
48067 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
48069         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
48070         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
48071         Likewise.
48073 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48075         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
48076         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
48077         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
48078         (__fesetround): Remove define.
48079         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
48080         rounding and exceptions handling.
48081         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
48082         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
48083         (__fe_nomask_env): Likewise.
48084         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
48085         __fegetround instead of fegetround.
48086         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
48087         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
48089 2013-11-21  Roland McGrath  <roland@hack.frob.com>
48091         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
48092         it's there.
48094         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
48096 2013-11-21  Meador Inge  <meadori@codesourcery.com>
48098         [BZ #11157]
48099         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
48100         (encrypt_r): Likewise.
48101         * malloc/obstack.h (obstack_free): Likewise.
48102         * posix/unistd.h (encrypt): Likewise.
48104 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
48106         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
48107         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
48108         DL_CALL_DT_FINI() that call the functions directly.
48109         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
48110         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
48111         * elf/dl-fini.c: Likewise.
48113 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
48115         * malloc/hooks.c (memalign_check): Add alignment rounding.
48116         * malloc/malloc.c (_mid_memalign): New function.
48117         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
48118         Implement by calling _mid_memalign.
48119         * manual/probes.texi (Memory Allocation Probes): Remove
48120         memory_valloc_retry and memory_pvalloc_retry.
48122 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
48124         * locale/programs/locarchive.c (open_archive): Add const
48125         qualifier to ARCHIVEFNAME and copy default fname to
48126         DEFAULT_FNAME.
48128         [BZ #15601]
48129         * libio/tst-widetext.input: Rename Oriya to Odia.
48130         * locale/iso-639.def: Likewise.
48132         * manual/probes.texi (Mathematical Function Probes): Add
48133         documentation for sin, cos, asin and acos probes.
48134         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
48135         (__sin32): Add slowasin probe.
48136         (__cos32): Add slowacos probe.
48137         (__mpsin): Add slowsin probe.
48138         (__mpcos): Add slowcos probe.
48140 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
48142         [BZ #15483]
48143         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
48144         thread-local __sim_exceptions_thread and global
48145         __sim_exceptions_global.
48146         (__sim_disabled_exceptions): Change to thread-local
48147         __sim_disabled_exceptions_thread and global
48148         __sim_disabled_exceptions_global.
48149         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
48150         and global __sim_round_mode_global.
48151         (__simulate_exceptions): Use thread-local floating-point state and
48152         set global state from it as needed.
48153         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
48154         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
48155         __sim_round_mode_thread.
48156         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
48157         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
48158         and global __sim_exceptions_global.
48159         (__sim_disabled_exceptions): Change to thread-local
48160         __sim_disabled_exceptions_thread and global
48161         __sim_disabled_exceptions_global.
48162         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
48163         and global __sim_round_mode_global.
48164         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
48165         (SIM_SET_GLOBAL): Likewise.
48166         * sysdeps/powerpc/soft-fp/sfp-machine.h
48167         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
48168         __sim_round_mode_thread.
48169         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
48170         __sim_disabled_exceptions_thread.
48171         (__sim_exceptions): Change to __sim_exceptions_thread.
48172         (__sim_disabled_exceptions): Change to
48173         __sim_disabled_exceptions_thread.
48174         (__sim_round_mode): Change to __sim_round_mode_thread.
48175         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
48176         thread-local floating-point state and set global state from it as
48177         needed.
48178         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
48179         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
48180         (__sim_disabled_exceptions): Remove extern declaration.
48181         (feenableexcept): Use thread-local floating-point state and set
48182         global state from it as needed.
48183         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
48184         extern declaration.
48185         (__sim_disabled_exceptions): Likewise.
48186         (__sim_round_mode): Likewise.
48187         (__fegetenv): Use thread-local floating-point state.
48188         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
48189         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
48190         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
48191         floating-point state and set global state from it as needed.
48192         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
48193         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
48194         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
48195         Likewise.
48196         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
48197         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
48198         Likewise.
48199         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
48200         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
48201         Use __sim_round_mode_thread.
48202         * math/test-fenv-tls.c: New file.
48203         * math/Makefile (tests): Add test-fenv-tls.
48204         ($(objpfx)test-fenv-tls): Depend on
48205         $(common-objpfx)nptl/libpthread.so.
48207 2013-11-19  Andreas Schwab  <schwab@suse.de>
48209         * locale/programs/locale.c (show_info): Decode wordarray elements.
48210         * locale/categories.def (LC_MONETARY): Add element for
48211         _NL_MONETARY_CRNCYSTR.
48212         * locale/C-monetary.c (conversion_rate): New variable.
48213         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
48214         element.
48216 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
48218         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
48219         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
48221 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
48223         * elf/Makefile (tst-auxv): New test.
48224         * elf/tst-auxv.c: New
48225         * elf/rtld.c (dl_main): Adjust AT_EXECFN
48227 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
48229         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
48230         (hidden_proto): Caller changed.
48231         (hidden_tls_proto): New macro.
48232         (libc_hidden_tls_proto): Likewise.
48233         (rtld_hidden_tls_proto): Likewise.
48234         (libm_hidden_tls_proto): Likewise.
48235         (libresolv_hidden_tls_proto): Likewise.
48236         (librt_hidden_tls_proto): Likewise.
48237         (libdl_hidden_tls_proto): Likewise.
48238         (libnss_files_hidden_tls_proto): Likewise.
48239         (libnsl_hidden_tls_proto): Likewise.
48240         (libnss_nisplus_hidden_tls_proto): Likewise.
48241         (libutil_hidden_tls_proto): Likewise.
48243 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
48245         [BZ #10253]
48246         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
48247         (decompose_rpath): Defer expansion to fillin_rpath.
48248         (_dl_init_paths): Pass linkmap to fillin_rpath.
48250 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
48252         * benchtests/Makefile: Add strsep.
48253         * benchtests/bench-strsep.c: New file: strsep benchtest.
48254         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
48256 2013-11-18  Andreas Schwab  <schwab@suse.de>
48258         * locale/programs/locale.c (show_info) [case byte]: Check for
48259         '\377' instead of '\177'.
48260         * locale/C-monetary.c (not_available): Always use "\377".
48261         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
48262         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
48263         detect unavailable sign_posn locale elements.
48264         * locale/localeconv.c (__localeconv): For grouping and
48265         mon_grouping handle "\177" and "\377" like no grouping.
48266         (INT_ELEM): New macro.  Use it to set all numeric members.
48267         * locale/programs/ld-monetary.c (monetary_read)
48268         <tok_mon_grouping>: Normalize single -1 to the empty string.
48269         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
48270         Likewise.
48272 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
48274         [BZ #16055]
48275         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
48276         when we match (nil).
48277         * stdio-common/tst-sscanf.c (struct test): Add testcase.
48279 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
48281         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
48282         (NO_TEST_INLINE): Update value.
48283         (ERRNO_UNCHANGED): Likewise.
48284         (ERRNO_EDOM): Likewise.
48285         (ERRNO_ERANGE): Likewise.
48286         (IGNORE_RESULT): Likewise.
48287         (check_float_internal): Check signs of NaN results if
48288         TEST_NAN_SIGN used.
48289         (check_complex): Pass TEST_NAN_SIGN flag through to second
48290         check_float_internal call.
48291         (copysign_test_data): Add tests with quiet NaNs as second
48292         argument.  Use TEST_NAN_SIGN.
48293         (fabs_test_data): Add test of negative quiet NaN argument.  Use
48294         TEST_NAN_SIGN.
48295         (signbit_test_data): Add tests of quiet NaN argument.
48296         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
48298         * math/gen-libm-test.pl (show_exceptions): Take extra argument
48299         $ignore_result.
48300         (parse_args): Handle function results specified as IGNORE.
48301         * math/libm-test.inc (IGNORE_RESULT): New macro.
48302         (check_float_internal): Do not check numerical result if flag
48303         IGNORE_RESULT set.
48304         (check_complex): Pass through IGNORE_RESULT to second
48305         check_float_internal call.
48306         (check_int): Do not check numerical result if flag IGNORE_RESULT
48307         set.
48308         (check_long): Likewise.
48309         (check_bool): Likewise.
48310         (check_longlong): Likewise.
48311         (lrint_test_data): Add tests of infinite and NaN arguments.
48312         (lrint_tonearest_test_data): Likewise.
48313         (lrint_towardzero_test_data): Likewise.
48314         (lrint_downward_test_data): Likewise.
48315         (lrint_upward_test_data): Likewise.
48316         (llrint_test_data): Likewise.
48317         (llrint_tonearest_test_data): Likewise.
48318         (llrint_towardzero_test_data): Likewise.
48319         (llrint_downward_test_data): Likewise.
48320         (llrint_upward_test_data): Likewise.
48321         (lround_test_data): Likewise.
48322         (llround_test_data): Likewise.
48324         * math/libm-test.inc (NO_TEST_INLINE): New macro.
48325         (ERRNO_UNCHANGED): Update value.
48326         (ERRNO_EDOM): Likewise.
48327         (ERRNO_ERANGE): Likewise.
48328         (NO_TEST_INLINE_FLOAT): New macro.
48329         (NO_TEST_INLINE_DOUBLE): Likewise.
48330         (enable_test): New function.
48331         (RUN_TEST_f_f): Check enable_test before running test.
48332         (RUN_TEST_2_f): Likewise.
48333         (RUN_TEST_fff_f): Likewise.
48334         (RUN_TEST_c_f): Likewise.
48335         (RUN_TEST_f_f1): Likewise.
48336         (RUN_TEST_fF_f1): Likewise.
48337         (RUN_TEST_fI_f1): Likewise.
48338         (RUN_TEST_ffI_f1): Likewise.
48339         (RUN_TEST_c_c): Likewise.
48340         (RUN_TEST_cc_c): Likewise.
48341         (RUN_TEST_f_i): Likewise.
48342         (RUN_TEST_f_i_tg): Likewise.
48343         (RUN_TEST_ff_i_tg): Likewise.
48344         (RUN_TEST_f_b): Likewise.
48345         (RUN_TEST_f_b_tg): Likewise.
48346         (RUN_TEST_f_l): Likewise.
48347         (RUN_TEST_f_L): Likewise.
48348         (RUN_TEST_fFF_11): Likewise.
48349         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
48350         conditionals.
48351         (cosh_test_data): Likewise.
48352         (exp_test_data): Likewise.
48353         (expm1_test_data): Likewise.
48354         (hypot_test_data): Likewise.
48355         (pow_test_data): Likewise.
48356         (sinh_test_data): Likewise.
48357         (tanh_test_data): Likewise.
48358         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
48359         flags argument.
48361         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
48362         tests with quiet NaN input and output.
48363         (acosh_test_data): Likewise.
48364         (asin_test_data): Likewise.
48365         (asinh_test_data): Likewise.
48366         (atan_test_data): Likewise.
48367         (atanh_test_data): Likewise.
48368         (atan2_test_data): Likewise.
48369         (cbrt_test_data): Likewise.
48370         (cos_test_data): Likewise.
48371         (cosh_test_data): Likewise.
48372         (erf_test_data): Likewise.
48373         (erfc_test_data): Likewise.
48374         (exp_test_data): Likewise.
48375         (exp10_test_data): Likewise.
48376         (exp2_test_data): Likewise.
48377         (expm1_test_data): Likewise.
48378         (hypot_test_data): Likewise.
48379         (j0_test_data): Likewise.
48380         (j1_test_data): Likewise.
48381         (jn_test_data): Likewise.
48382         (lgamma_test_data): Likewise.
48383         (log_test_data): Likewise.
48384         (log10_test_data): Likewise.
48385         (log1p_test_data): Likewise.
48386         (log2_test_data): Likewise.
48387         (pow_test_data): Likewise.
48388         (scalb_test_data): Likewise.
48389         (sin_test_data): Likewise.
48390         (sincos_test_data): Likewise.
48391         (sinh_test_data): Likewise.
48392         (tan_test_data): Likewise.
48393         (tanh_test_data): Likewise.
48394         (tgamma_test_data): Likewise.
48395         (y0_test_data): Likewise.
48396         (y1_test_data): Likewise.
48397         (yn_test_data): Likewise.
48399         [BZ #16167]
48400         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
48401         argument being NaN and avoid computations with second argument in
48402         that case.
48403         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
48404         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
48405         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
48407 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
48409         * locale/iso-639.def: Add Chitwani Tharu (the).
48411 2013-11-14  Andreas Schwab  <schwab@suse.de>
48413         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
48414         word instead of empty string.
48416 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
48419         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
48420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
48421         (__fe_nomask_env): Likewise.
48423 2013-11-13  Steve Ellcey  <sellcey@mips.com>
48425         * benchtests/bench-timing.h: Include time.h.
48427 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
48429         [BZ #15997]
48430         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
48431         to 3.4.0 for x32.
48432         * sysdeps/unix/sysv/linux/configure: Regenerated.
48434 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
48436         [BZ #16151]
48437         * stdlib/strtod_l.c (round_and_return): Do not consider
48438         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
48439         exponent one less than half the least subnormal exponent.
48440         * stdlib/test-strtod-round-data: Add more tests.
48441         * stdlib/tst-strtod-round.c (tests): Regenerated.
48443 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48445         [BZ #14143]
48446         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
48447         (__fe_mask_env): Likewise.
48448         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
48449         libm_hidden_proto and add function prototype.
48450         (__fe_mask_env): Add function prototype.
48451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
48452         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
48453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
48454         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
48455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
48456         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
48458 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48460         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
48461         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
48463 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48465         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
48466         of htab_find_slot().
48468 2013-11-11  David S. Miller  <davem@davemloft.net>
48470         [BZ #16150]
48471         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
48472         symbol in the non-vis3 case in static builds.
48473         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
48474         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
48475         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
48476         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
48478 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
48480         [BZ #387]
48481         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
48482         it is empty.
48484 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48486         * benchtests/Makefile: Add bench-strtod.
48487         * benchtests/bench-strtod.c: New file: strtod benchtest
48489 2013-11-11  Andreas Schwab  <schwab@suse.de>
48491         [BZ #16153]
48492         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
48493         terminating NUL in key length.
48495 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48497         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
48498         Add artificial ODP entry for vDSO symbol for PPC64.
48499         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
48500         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
48502 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
48504         [BZ #15374]
48505         * nss/getent.c (services_keys): Recognize services starting with digit.
48507 2013-11-06  David S. Miller  <davem@davemloft.net>
48509         [BZ #15985]
48510         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
48511         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
48513 2013-11-06  Will Newton  <will.newton@linaro.org>
48515         * manual/memory.texi (Malloc Examples): Remove register
48516         keyword from examples.
48518 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
48520         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
48522 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
48524         [BZ #6981]
48525         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
48526         depending on [__GCC_IEC_559 > 0].
48527         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
48528         depending on [__GCC_IEC_559_COMPLEX > 0].
48530 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
48532         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
48533         to iso-639.def.
48535 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
48537         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
48539 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
48541         [BZ #16112]
48542         * malloc/malloc (malloc_info): Do not handle first bin as
48543         special case.
48545 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
48547         * locale/iso-639.def: Add Central Nahuatl (nhn).
48549 2013-11-01  Bruno Haible  <bruno@clisp.org>
48551         [BZ #7003]
48552         * manual/math.texi (BSD Random): Specify range upper bound as
48553         in POSIX.
48555 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
48557         * locale/iso-639.def: Add Meadow Mari (mhr).
48559 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
48561         [BZ #14752], [BZ #15763]
48562         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
48563         Validate name.
48564         * rt/tst_shm.c: Add test for escaping directory.
48566 2013-10-31  Andreas Schwab  <schwab@suse.de>
48568         [BZ #15917]
48569         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
48570         followed by 'x' as part of digit sequence.
48571         * stdio-common/tst-sscanf.c (double_tests2): New tests.
48573 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
48575         [BZ #16037]
48576         * configure.ac: allow GNU Make 4.0 and greater.
48577         * configure: Regenerated.
48579 2013-10-30  Will Newton  <will.newton@linaro.org>
48581         [BZ #16038]
48582         * malloc/hooks.c (memalign_check): Limit alignment to the
48583         maximum representable power of two.
48584         * malloc/malloc.c (__libc_memalign): Likewise.
48585         * malloc/tst-memalign.c (do_test): Add test for very
48586         large alignment values.
48587         * malloc/tst-posix_memalign.c (do_test): Likewise.
48589 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
48591         [BZ #11087]
48592         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
48593         (munmap_chunk): Likewise.
48594         (mremap_chunk): Likewise.
48596 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
48598         [BZ #15799]
48599         * stdlib/div.c (div): Remove obsolete code.
48600         * stdlib/ldiv.c (ldiv): Likewise.
48601         * stdlib/lldiv.c (lldiv): Likewise.
48603 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
48605         [BZ #16071]
48606         * nss/nss_files/files-XXX.c (get_contents_ret): New
48607         enumerator.
48608         (get_contents): New function.
48609         (internal_getent): Use it.  Expand size of LINEBUFLEN.
48611 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
48613         * configure.in: Moved to ...
48614         * configure.ac: ... here. Change reference to configure.in
48615         to configure.ac.
48616         * sysdeps/arm/preconfigure.ac: ... here.
48617         configure.in to configure.ac.
48618         * sysdeps/gnu/configure.in: Moved to ...
48619         * sysdeps/gnu/configure.ac: ... here.
48620         * sysdeps/i386/configure.in: Moved to ...
48621         * sysdeps/i386/configure.ac: ... here.
48622         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
48623         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
48624         * sysdeps/mach/configure.in: Moved to ...
48625         * sysdeps/mach/configure.ac: ... here.
48626         * sysdeps/mach/hurd/configure.in: Moved to ...
48627         * sysdeps/mach/hurd/configure.ac: ... here.
48628         * sysdeps/powerpc/configure.in: Moved to ...
48629         * sysdeps/powerpc/configure.ac: ... here.
48630         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
48631         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
48632         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
48633         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
48634         * sysdeps/s390/s390-32/configure.in: Moved to ...
48635         * sysdeps/s390/s390-32/configure.ac: ... here.
48636         * sysdeps/s390/s390-64/configure.in: Moved to ...
48637         * sysdeps/s390/s390-64/configure.ac: ... here.
48638         * sysdeps/sh/configure.in: Moved to ...
48639         * sysdeps/sh/configure.ac: ... here.
48640         * sysdeps/sparc/configure.in: Moved to ...
48641         * sysdeps/sparc/configure.ac: ... here.
48642         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
48643         * sysdeps/unix/sysv/linux/configure.ac: ... here.
48644         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
48645         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
48646         * sysdeps/x86_64/configure.in: Moved to ...
48647         * sysdeps/x86_64/configure.ac: ... here.
48648         * sysdeps/x86_64/preconfigure.in: Moved to ...
48649         * sysdeps/x86_64/preconfigure.ac: ... here.
48650         * aclocal.m4: Change reference to configure.in to configure.ac.
48651         * config.h.in: Likewise.
48652         * manual/install.texi: Likewise.
48653         * manual/maint.texi: Likewise.
48654         * Makefile: Likewise.
48655         * malloc/Makefile: Likewise.
48656         * nscd/Makefile: Likewise.
48657         * Makeconfig: Change reference to configure.in and
48658         preconfigure.in to configure.ac and preconfigure.ac
48659         respectively.
48660         * INSTALL: Regenerated.
48661         * configure: Likewise.
48662         * sysdeps/gnu/configure: Likewise.
48663         * sysdeps/i386/configure: Likewise.
48664         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
48665         * sysdeps/mach/configure: Likewise.
48666         * sysdeps/mach/hurd/configure: Likewise.
48667         * sysdeps/powerpc/configure: Likewise.
48668         * sysdeps/powerpc/powerpc32/configure: Likewise.
48669         * sysdeps/powerpc/powerpc64/configure: Likewise.
48670         * sysdeps/s390/s390-32/configure: Likewise.
48671         * sysdeps/s390/s390-64/configure: Likewise.
48672         * sysdeps/sh/configure: Likewise.
48673         * sysdeps/sparc/configure: Likewise.
48674         * sysdeps/unix/sysv/linux/configure: Likewise.
48675         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
48676         * sysdeps/x86_64/configure: Likewise.
48677         * sysdeps/x86_64/preconfigure: Likewise.
48679 2013-10-29  Andreas Schwab  <schwab@suse.de>
48681         * stdio-common/Makefile (tst-swscanf-ENV): Define.
48683 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48685         * benchtests/pow-inputs: Add new inputs.
48687         * benchtests/exp-inputs: Add new inputs.
48689         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
48690         conditional check for return value.
48691         (__cos32): Likewise.
48693 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48695         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
48696         to provide a boost for large inputs with word alignment.
48697         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
48698         implementation based on optimized PPC64 strcpy.
48699         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
48700         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
48701         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
48702         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
48704 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
48706         [BZ #2801]
48707         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
48709 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
48711         [BZ #14876]
48712         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
48713         * time/tst-strptime.c (day_tests): Add testcase.
48715 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
48717         [BZ #14029]
48718         * manual/pattern.texi: Acknowledge that fnmatch can fail.
48720 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
48722         [BZ #16074]
48723         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
48724         MAP_FAILED on error.
48726 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
48728         [BZ #16072]
48729         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
48730         heap for large requests.
48732 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
48734         [BZ #9954]
48735         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
48736         result if the result has no associated interface.
48737         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
48738         interface for all 127.X.Y.Z addresses.
48740 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
48742         * locale/iso-639.def: Add Ligurian (lij)
48744 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
48746         [BZ #15825]
48747         * sunrpc/rpc_main.c: Document rpcgen -5.
48749 2013-10-19  Michael Stahl  <mstahl@redhat.com>
48751         * elf/rtld.c (do_preload): Print the reason why preloading failed.
48753 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
48755         [BZ #10278]
48756         * posix/glob.c: Match only directories when trailing slash is present.
48757         * posix/tst-gnuglob.c (my_opendir): Do not open files.
48758         (main): Add testcase.
48760 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
48762         [BZ #15670]
48763         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
48765 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
48767         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
48768         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
48769         AUTH_DES and cindex for FIPS 140-2.
48770         (DES Encryption): Add cindex FIPS 46-3.
48772         * locale/locarchive.h (struct locarhandle): Add fname.
48773         * locale/programs/localedef.c (main): Pass ARGV[remaining]
48774         if an optional argument was specified to --list-archive,
48775         otherwise NULL.
48776         * locale/programs/locarchive.c (show_archive_content): Take new
48777         argument fname and pass it via ah.fname to open_archive.
48778         * locale/programs/localedef.h: Update decl.
48779         (open_archive): If AH->fname is non-null, open that file
48780         rather than the default file name, and don't ignore ENOENT.
48781         (create_archive): Set AH.fname to NULL.
48782         (delete_locales_from_archive): Likewise.
48783         (add_locales_to_archive): Likewise.
48784         * locale/programs/locfile.c (write_all_categories): Likewise.
48786 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
48787             Aldy Hernandez  <aldyh@redhat.com>
48789         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
48790         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
48791         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
48792         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
48793         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
48794         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
48795         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
48796         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
48797         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
48798         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
48799         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
48800         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
48801         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
48802         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
48803         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
48804         Likewise.
48805         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
48806         Likewise.
48807         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
48808         Likewise.
48809         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
48810         Likewise.
48811         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
48812         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
48813         Likewise.
48814         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
48815         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
48816         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
48817         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
48818         Likewise.
48819         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
48820         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
48821         * sysdeps/powerpc/preconfigure: Likewise.
48822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
48823         Likewise.
48824         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
48825         Replace contents of file by #include of <fenv_libc.h>.
48826         * sysdeps/powerpc/soft-fp/sfp-machine.h
48827         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
48828         and <sys/prctl.h>.
48829         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
48830         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
48831         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
48832         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
48833         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
48834         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
48835         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
48836         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
48837         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
48838         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
48839         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
48840         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
48841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
48842         Allow copysignl PLT reference to be missing.
48844 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
48845             Joseph Myers  <joseph@codesourcery.com
48847         [BZ #15948]
48848         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
48849         single character.
48850         (add_to_tablewc): Assert sequence of wide characters is nonempty.
48852 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
48854         * elf/tst-tls-dlinfo.c: Don't include tls.h.
48855         * elf/tst-tls1.c: Likewise.
48856         * elf/tst-tls10.h: Likewise.
48857         * elf/tst-tls14.c: Likewise.
48858         * elf/tst-tls2.c: Likewise.
48859         * elf/tst-tls3.c: Likewise.
48860         * elf/tst-tls4.c: Likewise.
48861         * elf/tst-tls5.c: Likewise.
48862         * elf/tst-tls6.c: Likewise.
48863         * elf/tst-tls7.c: Likewise.
48864         * elf/tst-tls8.c: Likewise.
48865         * elf/tst-tls9.c: Likewise.
48866         * elf/tst-tlsmod1.c: Likewise.
48867         * elf/tst-tlsmod13.c: Likewise.
48868         * elf/tst-tlsmod13a.c: Likewise.
48869         * elf/tst-tlsmod14a.c: Likewise.
48870         * elf/tst-tlsmod16a.c: Likewise.
48871         * elf/tst-tlsmod16b.c: Likewise.
48872         * elf/tst-tlsmod2.c: Likewise.
48873         * elf/tst-tlsmod3.c: Likewise.
48874         * elf/tst-tlsmod4.c: Likewise.
48875         * elf/tst-tlsmod5.c: Likewise.
48876         * elf/tst-tlsmod6.c: Likewise.
48878 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
48880         [BZ #12486]
48881         * malloc/malloc.c: remove checks for statistics.
48883 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
48885         [BZ #15277]
48886         * inet/inet_net.c (inet_network): Detect additional invalid strings.
48887         * inet/tst-network.c: Add testcase.
48889 2013-10-17  Andreas Schwab  <schwab@suse.de>
48891         [BZ #15218]
48892         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
48893         to determine canonical name.
48895 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
48897         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
48898         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
48899         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48900         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48901         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48902         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48903         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48904         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48905         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
48906         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48907         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
48908         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48909         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48910         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48911         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48912         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48913         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48914         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48915         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
48916         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48917         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48918         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48919         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48920         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
48921         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
48922         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
48923         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
48924         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
48925         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
48926         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
48927         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48928         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48929         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
48930         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48931         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48932         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48933         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48934         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48935         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48936         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48937         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48938         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
48939         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
48940         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48941         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
48942         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48943         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48944         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
48945         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
48946         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48947         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
48948         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48949         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
48950         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
48951         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48952         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
48953         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48954         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48956 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
48958         [BZ #16041]
48959         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
48960         make result into a quiet NaN.
48962 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
48964         * soft-fp/adddf3.c: Fix horizontal whitespace.
48965         * soft-fp/addsf3.c: Likewise.
48966         * soft-fp/addtf3.c: Likewise.
48967         * soft-fp/divdf3.c: Likewise.
48968         * soft-fp/divsf3.c: Likewise.
48969         * soft-fp/divtf3.c: Likewise.
48970         * soft-fp/double.h: Likewise.
48971         * soft-fp/eqdf2.c: Likewise.
48972         * soft-fp/eqsf2.c: Likewise.
48973         * soft-fp/eqtf2.c: Likewise.
48974         * soft-fp/extenddftf2.c: Likewise.
48975         * soft-fp/extended.h: Likewise.
48976         * soft-fp/extendsfdf2.c: Likewise.
48977         * soft-fp/extendsftf2.c: Likewise.
48978         * soft-fp/extendxftf2.c: Likewise.
48979         * soft-fp/fixdfdi.c: Likewise.
48980         * soft-fp/fixdfsi.c: Likewise.
48981         * soft-fp/fixdfti.c: Likewise.
48982         * soft-fp/fixsfdi.c: Likewise.
48983         * soft-fp/fixsfsi.c: Likewise.
48984         * soft-fp/fixsfti.c: Likewise.
48985         * soft-fp/fixtfdi.c: Likewise.
48986         * soft-fp/fixtfsi.c: Likewise.
48987         * soft-fp/fixtfti.c: Likewise.
48988         * soft-fp/fixunsdfdi.c: Likewise.
48989         * soft-fp/fixunsdfsi.c: Likewise.
48990         * soft-fp/fixunsdfti.c: Likewise.
48991         * soft-fp/fixunssfdi.c: Likewise.
48992         * soft-fp/fixunssfsi.c: Likewise.
48993         * soft-fp/fixunssfti.c: Likewise.
48994         * soft-fp/fixunstfdi.c: Likewise.
48995         * soft-fp/fixunstfsi.c: Likewise.
48996         * soft-fp/fixunstfti.c: Likewise.
48997         * soft-fp/floatdidf.c: Likewise.
48998         * soft-fp/floatdisf.c: Likewise.
48999         * soft-fp/floatditf.c: Likewise.
49000         * soft-fp/floatsidf.c: Likewise.
49001         * soft-fp/floatsisf.c: Likewise.
49002         * soft-fp/floatsitf.c: Likewise.
49003         * soft-fp/floattidf.c: Likewise.
49004         * soft-fp/floattisf.c: Likewise.
49005         * soft-fp/floattitf.c: Likewise.
49006         * soft-fp/floatundidf.c: Likewise.
49007         * soft-fp/floatundisf.c: Likewise.
49008         * soft-fp/floatunditf.c: Likewise.
49009         * soft-fp/floatunsidf.c: Likewise.
49010         * soft-fp/floatunsisf.c: Likewise.
49011         * soft-fp/floatunsitf.c: Likewise.
49012         * soft-fp/floatuntidf.c: Likewise.
49013         * soft-fp/floatuntisf.c: Likewise.
49014         * soft-fp/floatuntitf.c: Likewise.
49015         * soft-fp/fmadf4.c: Likewise.
49016         * soft-fp/fmasf4.c: Likewise.
49017         * soft-fp/fmatf4.c: Likewise.
49018         * soft-fp/gedf2.c: Likewise.
49019         * soft-fp/gesf2.c: Likewise.
49020         * soft-fp/getf2.c: Likewise.
49021         * soft-fp/ledf2.c: Likewise.
49022         * soft-fp/lesf2.c: Likewise.
49023         * soft-fp/letf2.c: Likewise.
49024         * soft-fp/muldf3.c: Likewise.
49025         * soft-fp/mulsf3.c: Likewise.
49026         * soft-fp/multf3.c: Likewise.
49027         * soft-fp/negdf2.c: Likewise.
49028         * soft-fp/negsf2.c: Likewise.
49029         * soft-fp/negtf2.c: Likewise.
49030         * soft-fp/op-1.h: Likewise.
49031         * soft-fp/op-2.h: Likewise.
49032         * soft-fp/op-4.h: Likewise.
49033         * soft-fp/op-8.h: Likewise.
49034         * soft-fp/op-common.h: Likewise.
49035         * soft-fp/quad.h: Likewise.
49036         * soft-fp/single.h: Likewise.
49037         * soft-fp/soft-fp.h: Likewise.
49038         * soft-fp/sqrtdf2.c: Likewise.
49039         * soft-fp/sqrtsf2.c: Likewise.
49040         * soft-fp/sqrttf2.c: Likewise.
49041         * soft-fp/subdf3.c: Likewise.
49042         * soft-fp/subsf3.c: Likewise.
49043         * soft-fp/subtf3.c: Likewise.
49044         * soft-fp/truncdfsf2.c: Likewise.
49045         * soft-fp/trunctfdf2.c: Likewise.
49046         * soft-fp/trunctfsf2.c: Likewise.
49047         * soft-fp/trunctfxf2.c: Likewise.
49048         * soft-fp/unorddf2.c: Likewise.
49049         * soft-fp/unordsf2.c: Likewise.
49050         * soft-fp/unordtf2.c: Likewise.
49052 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
49054         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
49055         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
49057 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
49059         * elf/dl-libc.c: Clear initfini list after freeing.
49061 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
49063         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
49064         * soft-fp/addsf3.c: Likewise.
49065         * soft-fp/addtf3.c: Likewise.
49066         * soft-fp/divdf3.c: Likewise.
49067         * soft-fp/divsf3.c: Likewise.
49068         * soft-fp/divtf3.c: Likewise.
49069         * soft-fp/double.h: Likewise.
49070         * soft-fp/eqdf2.c: Likewise.
49071         * soft-fp/eqsf2.c: Likewise.
49072         * soft-fp/eqtf2.c: Likewise.
49073         * soft-fp/extenddftf2.c: Likewise.
49074         * soft-fp/extended.h: Likewise.
49075         * soft-fp/extendsfdf2.c: Likewise.
49076         * soft-fp/extendsftf2.c: Likewise.
49077         * soft-fp/extendxftf2.c: Likewise.
49078         * soft-fp/fixdfdi.c: Likewise.
49079         * soft-fp/fixdfsi.c: Likewise.
49080         * soft-fp/fixdfti.c: Likewise.
49081         * soft-fp/fixsfdi.c: Likewise.
49082         * soft-fp/fixsfsi.c: Likewise.
49083         * soft-fp/fixsfti.c: Likewise.
49084         * soft-fp/fixtfdi.c: Likewise.
49085         * soft-fp/fixtfsi.c: Likewise.
49086         * soft-fp/fixtfti.c: Likewise.
49087         * soft-fp/fixunsdfdi.c: Likewise.
49088         * soft-fp/fixunsdfsi.c: Likewise.
49089         * soft-fp/fixunsdfti.c: Likewise.
49090         * soft-fp/fixunssfdi.c: Likewise.
49091         * soft-fp/fixunssfsi.c: Likewise.
49092         * soft-fp/fixunssfti.c: Likewise.
49093         * soft-fp/fixunstfdi.c: Likewise.
49094         * soft-fp/fixunstfsi.c: Likewise.
49095         * soft-fp/fixunstfti.c: Likewise.
49096         * soft-fp/floatdidf.c: Likewise.
49097         * soft-fp/floatdisf.c: Likewise.
49098         * soft-fp/floatditf.c: Likewise.
49099         * soft-fp/floatsidf.c: Likewise.
49100         * soft-fp/floatsisf.c: Likewise.
49101         * soft-fp/floatsitf.c: Likewise.
49102         * soft-fp/floattidf.c: Likewise.
49103         * soft-fp/floattisf.c: Likewise.
49104         * soft-fp/floattitf.c: Likewise.
49105         * soft-fp/floatundidf.c: Likewise.
49106         * soft-fp/floatundisf.c: Likewise.
49107         * soft-fp/floatunsidf.c: Likewise.
49108         * soft-fp/floatunsisf.c: Likewise.
49109         * soft-fp/floatuntidf.c: Likewise.
49110         * soft-fp/floatuntisf.c: Likewise.
49111         * soft-fp/floatuntitf.c: Likewise.
49112         * soft-fp/fmadf4.c: Likewise.
49113         * soft-fp/fmasf4.c: Likewise.
49114         * soft-fp/fmatf4.c: Likewise.
49115         * soft-fp/gedf2.c: Likewise.
49116         * soft-fp/gesf2.c: Likewise.
49117         * soft-fp/getf2.c: Likewise.
49118         * soft-fp/ledf2.c: Likewise.
49119         * soft-fp/lesf2.c: Likewise.
49120         * soft-fp/letf2.c: Likewise.
49121         * soft-fp/muldf3.c: Likewise.
49122         * soft-fp/mulsf3.c: Likewise.
49123         * soft-fp/multf3.c: Likewise.
49124         * soft-fp/negdf2.c: Likewise.
49125         * soft-fp/negsf2.c: Likewise.
49126         * soft-fp/negtf2.c: Likewise.
49127         * soft-fp/op-1.h: Likewise.
49128         * soft-fp/op-2.h: Likewise.
49129         * soft-fp/op-4.h: Likewise.
49130         * soft-fp/op-8.h: Likewise.
49131         * soft-fp/op-common.h: Likewise.
49132         * soft-fp/quad.h: Likewise.
49133         * soft-fp/single.h: Likewise.
49134         * soft-fp/soft-fp.h: Likewise.
49135         * soft-fp/sqrtdf2.c: Likewise.
49136         * soft-fp/sqrtsf2.c: Likewise.
49137         * soft-fp/sqrttf2.c: Likewise.
49138         * soft-fp/subdf3.c: Likewise.
49139         * soft-fp/subsf3.c: Likewise.
49140         * soft-fp/subtf3.c: Likewise.
49141         * soft-fp/truncdfsf2.c: Likewise.
49142         * soft-fp/trunctfdf2.c: Likewise.
49143         * soft-fp/trunctfsf2.c: Likewise.
49144         * soft-fp/trunctfxf2.c: Likewise.
49145         * soft-fp/unorddf2.c: Likewise.
49146         * soft-fp/unordsf2.c: Likewise.
49147         * soft-fp/unordtf2.c: Likewise.
49149 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
49151         [BZ #15672]
49152         * misc/error.c (error_tail): Fix possible buffer overflow.
49154 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
49156         [BZ #13028]
49157         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
49158         address.
49160 2013-10-14  P. J. McDermott  <pj@pehjota.net>
49162         [BZ #832]
49163         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
49164         testing pipefail option.
49166 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
49168         * soft-fp/double.h: Indent preprocessor directives inside #if.
49169         * soft-fp/extended.h: Likewise.
49170         * soft-fp/op-2.h: Likewise.
49171         * soft-fp/op-4.h: Likewise.
49172         * soft-fp/op-common.h: Likewise.
49173         * soft-fp/quad.h: Likewise.
49174         * soft-fp/single.h: Likewise.
49175         * soft-fp/soft-fp.h: Likewise.
49177 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
49179         * iconv/iconv_prog.c: Fix typos.
49180         * stdio-common/psiginfo-data.h: Likewise.
49182 2013-10-12   Reuben Thomas <rrt@sc3d.org>
49184         [BZ #15764]
49185         * locale/setlocale.c: Fix typo.
49187 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
49189         [BZ #16036]
49190         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
49191         signaling NaN arguments.
49192         * soft-fp/unordsf2.c (__unordsf2): Likewise.
49193         * soft-fp/unordtf2.c (__unordtf2): Likewise.
49195         [BZ #14910]
49196         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
49197         unordered operands.
49198         * soft-fp/gesf2.c (__gesf2): Likewise.
49199         * soft-fp/getf2.c (__getf2): Likewise.
49200         * soft-fp/ledf2.c (__ledf2): Likewise.
49201         * soft-fp/lesf2.c (__lesf2): Likewise.
49202         * soft-fp/letf2.c (__letf2): Likewise.
49204         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
49205         * soft-fp/eqsf2.c (__eqsf2): Likewise.
49206         * soft-fp/eqtf2.c (__eqtf2): Likewise.
49207         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
49208         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
49209         * soft-fp/fixdfti.c (__fixdfti): Likewise.
49210         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
49211         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
49212         * soft-fp/fixsfti.c (__fixsfti): Likewise.
49213         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
49214         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
49215         * soft-fp/fixtfti.c (__fixtfti): Likewise.
49216         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
49217         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
49218         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
49219         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
49220         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
49221         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
49222         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
49223         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
49224         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
49225         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
49226         * soft-fp/floatdisf.c (__floatdisf): Likewise.
49227         * soft-fp/floatsisf.c (__floatsisf): Likewise.
49228         * soft-fp/floattidf.c (__floattidf): Likewise.
49229         * soft-fp/floattisf.c (__floattisf): Likewise.
49230         * soft-fp/floattitf.c (__floattitf): Likewise.
49231         * soft-fp/floatundidf.c (__floatundidf): Likewise.
49232         * soft-fp/floatundisf.c (__floatundisf): Likewise.
49233         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
49234         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
49235         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
49236         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
49237         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
49238         * soft-fp/gesf2.c (__gesf2): Likewise.
49239         * soft-fp/getf2.c (__getf2): Likewise.
49240         * soft-fp/ledf2.c (__ledf2): Likewise.
49241         * soft-fp/lesf2.c (__lesf2): Likewise.
49242         * soft-fp/letf2.c (__letf2): Likewise.
49244         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
49245         Undefine and redefine.
49246         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
49247         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
49248         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
49249         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
49250         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49251         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
49252         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49253         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
49254         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49255         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
49256         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49257         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
49258         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49259         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
49260         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
49262         [BZ #16032]
49263         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
49264         without decrementing exponent if mantissa >= that for the
49265         denominator, not >.
49266         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
49267         denominator, not >.  Decrement exponent in < case instead of
49268         incrementing in >= case.
49269         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
49270         without decrementing exponent if mantissa >= that for the
49271         denominator, not >.
49273         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
49274         computing saturated result for unsigned overflow.
49276 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49277             Jeff Law  <law@redhat.com>
49279         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
49280         (atan2Mp): Add systemtap probe marker.
49281         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
49282         (__ieee754_log): Add systemtap probe marker.
49283         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
49284         (atanMp): Add systemtap probe marker.
49285         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
49286         (tanMp): Add systemtap probe marker.
49287         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
49288         (__slowexp): Add systemtap probe marker.
49289         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
49290         (__slowpow): Add systemtap probe marker.
49291         * manual/probes.texi: Document probes.
49293 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
49295         [BZ #15362]
49296         * libio/fileops.c (_IO_new_file_write): Return count of bytes
49297         written.
49298         (_IO_new_file_xsputn): Don't return EOF if nothing has been
49299         written.
49300         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
49301         written to buffer but not flushed.
49302         * libio/iofwrite_u.c:  Likewise.
49303         * libio/iopadn.c:  Return bytes returned even if EOF was
49304         encountered.
49305         * libio/iowpadn.c:  Likewise.
49306         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
49307         if _IO_padn does not write the whole buffer.
49308         [!COMPILE_WPRINTF] (PAD): Likewise.
49310 2013-10-10  David S. Miller  <davem@davemloft.net>
49312         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
49313         directory block.
49315 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
49317         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
49318         instead of FSF address.
49319         * soft-fp/fixdfti.c: Likewise.
49320         * soft-fp/fixsfti.c: Likewise.
49321         * soft-fp/fixtfti.c: Likewise.
49322         * soft-fp/fixunsdfti.c: Likewise.
49323         * soft-fp/fixunssfti.c: Likewise.
49324         * soft-fp/fixunstfti.c: Likewise.
49325         * soft-fp/floattidf.c: Likewise.
49326         * soft-fp/floattisf.c: Likewise.
49327         * soft-fp/floattitf.c: Likewise.
49328         * soft-fp/floatuntidf.c: Likewise.
49329         * soft-fp/floatuntisf.c: Likewise.
49330         * soft-fp/floatuntitf.c: Likewise.
49331         * soft-fp/trunctfxf2.c: Likewise.
49333         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
49334         * soft-fp/fixdfti.c: Likewise.
49335         * soft-fp/fixsfti.c: Likewise.
49336         * soft-fp/fixtfti.c: Likewise.
49337         * soft-fp/fixunsdfti.c: Likewise.
49338         * soft-fp/fixunssfti.c: Likewise.
49339         * soft-fp/fixunstfti.c: Likewise.
49340         * soft-fp/floattidf.c: Likewise.
49341         * soft-fp/floattisf.c: Likewise.
49342         * soft-fp/floattitf.c: Likewise.
49343         * soft-fp/floatuntidf.c: Likewise.
49344         * soft-fp/floatuntisf.c: Likewise.
49345         * soft-fp/floatuntitf.c: Likewise.
49346         * soft-fp/trunctfxf2.c: Likewise.
49348 2013-10-10  David S. Miller  <davem@davemloft.net>
49350         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49352 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
49354         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
49355         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
49356         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
49357         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
49358         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
49359         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
49360         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
49362         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
49363         for NaNs before doing comparisons on argument.
49364         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
49365         Likewise.
49367 2013-10-10  Will Newton  <will.newton@linaro.org>
49369         * malloc/hooks.c (memalign_check): Ensure the value of bytes
49370         passed to _int_memalign does not overflow.
49372 2013-10-10  Torvald Riegel  <triegel@redhat.com>
49374         * scripts/bench.pl: Add include-sources directive.
49375         * benchtests/README: Update documentation.
49377 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
49379         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
49380         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
49381         instead of FP_INIT_ROUNDMODE.
49382         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
49383         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
49385         [BZ #16034]
49386         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
49387         copy class of input value.
49388         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
49389         not handle exceptions.
49390         * soft-fp/negsf2.c (__negsf2): Likewise.
49391         * soft-fp/negtf2.c (__negtf2): Likewise.
49392         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
49394 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
49396         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
49397         semicolon.  From Linux kernel.
49399 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
49401         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
49403 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
49405         [BZ #156]
49406         * manual/socket.texi: Added statement about buffer
49407         for gethostbyname2_r.
49409 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
49411         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
49412         Use .p2align directive instead, throughout.
49413         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
49414         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
49415         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
49416         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
49417         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
49418         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
49419         * sysdeps/x86_64/strchr.S: Likewise.
49420         * sysdeps/x86_64/strrchr.S: Likewise.
49422 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
49424         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
49426         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
49428         * sysdeps/generic/math_private.h (__mpsin1): Remove
49429         declaration.
49430         (__mpcos1): Likewise.
49431         (__mpsin): New argument __range_reduce.
49432         (__mpcos): Likewise.
49433         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49434         (slow): Use __mpsin and __mpcos.
49435         (slow1): Likewise.
49436         (slow2): Likewise.
49437         (sloww): Likewise.
49438         (sloww1): Likewise.
49439         (sloww2): Likewise.
49440         (bsloww): Likewise.
49441         (bsloww1): Likewise.
49442         (bsloww2): Likewise.
49443         (cslow2): Likewise.
49444         (csloww): Likewise.
49445         (csloww1): Likewise.
49446         (csloww2): Likewise.
49447         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
49448         range_reduce.  Merge in __mpsin1.
49449         (__mpcos): Likewise.
49450         (__mpsin1): Remove.
49451         (__mpcos1): Likewise.
49453 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
49455         * locale/loadlocale.c (_nl_intern_locale_data): Use
49456         LOCFILE_ALIGNED_P.
49457         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
49458         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
49459         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
49460         obstack data is appropriately aligned.
49461         (obstack_int32_grow_fast): Likewise.
49462         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
49463         * locale/programs/locfile.c (add_locale_uint32): Likewise.
49464         (add_locale_uint32_array): Likewise.
49466 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
49468         * benchtests/Makefile: Remove ARGLIST and RET variables.
49469         ($(objpfx)bench-%.c): Pass only function name to the script.
49470         * benchtests/README: Update documentation.
49471         * benchtests/acos-inputs: Add new directives.
49472         * benchtests/acosh-inputs: Likewise.
49473         * benchtests/asin-inputs: Likewise.
49474         * benchtests/asinh-inputs: Likewise.
49475         * benchtests/atan-inputs: Likewise.
49476         * benchtests/atanh-inputs: Likewise.
49477         * benchtests/cos-inputs: Likewise.
49478         * benchtests/cosh-inputs: Likewise.
49479         * benchtests/exp-inputs: Likewise.
49480         * benchtests/log-inputs: Likewise.
49481         * benchtests/pow-inputs: Likewise.
49482         * benchtests/rint-inputs: Likewise.
49483         * benchtests/sin-inputs: Likewise.
49484         * benchtests/sinh-inputs: Likewise.
49485         * benchtests/tan-inputs: Likewise.
49486         * benchtests/tanh-inputs: Likewise.
49487         * scripts/bench.pl: Add support for new directives.
49489 2013-10-07  Alan Modra  <amodra@gmail.com>
49491         * README: Fix careless merge.
49493 2013-10-05  Alan Modra  <amodra@gmail.com>
49495         * NEWS: Mention powerpc64le support and bugs fixed.
49496         * README: Both big-endian and little-endian powerpc64 supported.
49498 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49500         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
49501         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
49502         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
49503         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
49505 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
49507         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
49508         match prototype.
49510 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
49512         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
49513         Move -mhard-float appending from
49514         ports/sysdeps/powerpc/powerpc32/Makefile.
49515         [$(with-fp) = yes] (ASFLAGS): Likewise.
49516         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
49517         * sysdeps/powerpc/nofpu: Move directory from
49518         ports/sysdeps/powerpc/nofpu.
49519         * sysdeps/powerpc/soft-fp: Move directory from
49520         ports/sysdeps/powerpc/soft-fp.
49521         * sysdeps/powerpc/powerpc32/405: Move directory from
49522         ports/sysdeps/powerpc/powerpc32/405.
49523         * sysdeps/powerpc/powerpc32/440: Move directory from
49524         ports/sysdeps/powerpc/powerpc32/440.
49525         * sysdeps/powerpc/powerpc32/464: Move directory from
49526         ports/sysdeps/powerpc/powerpc32/464.
49527         * sysdeps/powerpc/powerpc32/476: Move directory from
49528         ports/sysdeps/powerpc/powerpc32/476.
49529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
49530         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
49531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
49532         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
49533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
49534         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
49535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
49536         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
49537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
49538         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
49539         * README: Update for powerpc-*-linux-gnu software floating point
49540         support in libc.
49542         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
49543         case to powerpc/powerpc32*.
49544         * sysdeps/unix/sysv/linux/configure: Regenerated.
49546         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
49547         (_FPU_MASK_OM): Define as 0x04.
49548         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
49549         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
49550         0x00c10080.
49551         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
49552         0x0000003c.
49553         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
49555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
49556         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
49557         getcontext_e500.
49558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
49559         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
49560         setcontext_e500.
49561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
49562         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
49563         and setcontext_e500.
49565 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
49567         * locale/iso-3166.def: Update iso-1366.def and related occurrences
49569 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49571         * manual/threads.texi (Default Thread Attributes): Fix typo.
49573 2013-10-04  Will Newton  <will.newton@linaro.org>
49575         * malloc/Makefile: Add tst-memalign.
49576         * malloc/tst-memalign.c: New file.
49578         * malloc/tst-posix_memalign.c: Add comments.
49579         (do_test): Add comments and call free on all potentially
49580         allocated pointers. Add space after cast.
49582         * malloc/tst-pvalloc.c: Add comments.
49583         (do_test): Add comments and call free on all potentially
49584         allocated pointers. Remove duplicate check for NULL pointer.
49585         Add space after cast.
49587         * malloc/tst-valloc.c: Add comments.
49588         (do_test): Add comments and call free on all potentially
49589         allocated pointers. Remove duplicate check for NULL pointer.
49590         Add space after cast.
49592 2013-10-04  Alan Modra  <amodra@gmail.com>
49594         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
49595         Use stdint types in rather than __attribute__((mode())).
49596         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
49598 2013-10-04  Alan Modra  <amodra@gmail.com>
49600         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
49601         Correct handling of unaligned relocs for little-endian.
49602         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
49604 2013-10-04  Alan Modra  <amodra@gmail.com>
49606         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
49607         * configure: Regenerate.
49608         * nptl/shlib-versions: Powerpc*le starts at 2.18.
49609         * shlib-versions: Likewise.
49611 2013-10-04  Alan Modra  <amodra@gmail.com>
49613         * string/tester.c (test_memrchr): Increment reported test cycle.
49615 2013-10-04  Alan Modra  <amodra@gmail.com>
49617         * string/test-memcpy.c (do_one_test): When reporting errors, print
49618         string address and don't overrun end of string.
49620 2013-10-04  Alan Modra  <amodra@gmail.com>
49622         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
49623         insrdi.  Make better use of reg selection to speed exit slightly.
49624         Schedule entry path a little better.  Remove useless "are we done"
49625         checks on entry to main loop.  Handle wrapping around zero address.
49626         Correct main loop count.  Handle single left-over word from main
49627         loop inline rather than by using loop_small.  Remove extra word
49628         case in loop_small caused by wrong loop count.  Add little-endian
49629         support.
49630         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
49631         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
49632         cache hint.
49633         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
49634         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
49635         support.  Avoid rlwimi.
49636         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
49638 2013-10-04  Alan Modra  <amodra@gmail.com>
49640         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
49641         insrdi.  Formatting.
49642         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
49643         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
49644         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
49645         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
49646         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
49647         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
49649 2013-10-04  Alan Modra  <amodra@gmail.com>
49651         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
49652         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
49653         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
49654         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
49655         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
49656         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
49657         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
49658         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
49659         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
49660         use of regs.  Use power7 mtocrf.  Tidy function tails.
49662 2013-10-04  Alan Modra  <amodra@gmail.com>
49664         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
49665         Formatting.  Consistently use rXXX register defines or rN defines.
49666         Use early exit labels that avoid restoring unused non-volatile regs.
49667         Make cr field use more consistent with rWORDn compares.  Rename
49668         regs used as shift registers for unaligned loop, using rN defines
49669         for short lifetime/multiple use regs.
49670         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
49671         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
49672         addi 1,1,64 to pop stack frame.  Simplify return value code.
49673         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
49675 2013-10-04  Alan Modra  <amodra@gmail.com>
49677         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
49678         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
49679         rather than rlwimi.
49680         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
49681         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
49682         little-endian support.  Correct typos.
49683         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
49684         rather than rlwimi.
49685         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
49686         in loop and entry code to keep "and." results.
49687         (strchr): Add little-endian support.  Comment.  Move cntlzd
49688         earlier in tail.
49689         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
49691 2013-10-04  Alan Modra  <amodra@gmail.com>
49693         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
49694         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
49695         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
49696         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
49698 2013-10-04  Alan Modra  <amodra@gmail.com>
49700         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
49701         (rTMP): Define as r11.
49702         (strcmp): Add little-endian support.  Optimise tail.
49703         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
49704         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
49705         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
49706         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
49707         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
49708         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49709         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
49711 2013-10-04  Alan Modra  <amodra@gmail.com>
49713         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
49714         little-endian support.  Remove unnecessary "are we done" tests.
49715         Handle "s" wrapping around zero and extremely large "size".
49716         Correct main loop count.  Handle single left-over word from main
49717         loop inline rather than by using small_loop.  Correct comments.
49718         Delete "zero" tail, use "end_max" instead.
49719         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
49721 2013-10-04  Alan Modra  <amodra@gmail.com>
49723         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
49724         support.  Don't branch over align.
49725         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
49726         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
49727         support.  Rearrange tmp reg use to suit.  Comment.
49728         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
49730 2013-10-04  Alan Modra  <amodra@gmail.com>
49732         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
49734 2013-10-04  Alan Modra  <amodra@gmail.com>
49736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
49737         conditional form of branch and link when obtaining pc.
49738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
49740 2013-10-04  Alan Modra  <amodra@gmail.com>
49742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
49743         HIWORD/LOWORD.
49744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
49745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
49747 2013-10-04  Alan Modra  <amodra@gmail.com>
49749         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
49750         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
49751         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
49752         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
49753         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
49754         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
49755         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
49756         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
49757         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
49758         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
49760 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
49761             Alistair Popple <alistair@ozlabs.au.ibm.com>
49762             Alan Modra <amodra@gmail.com>
49764         [BZ #15723]
49765         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
49766         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
49767         _dl_hwcap access for little-endian.
49768         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
49769         destroy vmx regs when saving unaligned.
49770         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
49771         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
49772         destroy vmx regs when saving unaligned.
49774 2013-10-04  Alan Modra  <amodra@gmail.com>
49776         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
49777         Don't use a union to pack hi/low value.
49779 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
49781         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
49782         for little-endian.
49783         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
49784         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
49785         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
49786         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
49787         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
49789 2013-10-04  Alan Modra  <amodra@gmail.com>
49791         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
49792         constants to usual value for .cst8 section, and remove redundant
49793         high address load.
49794         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
49795         constant for 0x1p52.  Load little-endian words of double from
49796         correct stack offsets.
49798 2013-10-04  Alan Modra  <amodra@gmail.com>
49800         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
49801         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
49802         words of double from correct stack offsets.
49803         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
49804         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
49805         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
49806         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
49807         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
49808         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
49809         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
49810         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
49811         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
49812         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
49813         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
49814         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
49815         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
49816         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
49817         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
49818         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
49819         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
49821 2013-10-04  Alan Modra  <amodra@gmail.com>
49823         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
49824         64-bit int/double union.
49825         (_FPU_SETCW): Likewise.
49826         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
49827         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
49829 2013-10-04  Alan Modra  <amodra@gmail.com>
49831         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
49832         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
49834 2013-10-04  Alan Modra  <amodra@gmail.com>
49836         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
49837         use vector int constants.
49838         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
49840 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
49842         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
49843         array with long long.
49844         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
49845         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
49846         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
49847         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
49848         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
49849         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
49850         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
49851         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
49852         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
49853         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
49854         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
49855         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
49856         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
49858 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
49860         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
49861         (__signbit): Likewise.  Correct for little-endian.
49862         (__signbitl): Call __signbit.
49863         (lrint): Correct for little-endian.
49864         (lrintf): Call lrint.
49866 2013-10-04  Alan Modra  <amodra@gmail.com>
49868         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
49869         union 32-bit int array member with 64-bit int array.
49870         (t515, tm256): Double rather than long double.
49871         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
49873 2013-10-04  Alan Modra  <amodra@gmail.com>
49875         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
49876         Delete.
49877         (IEEE854_LONG_DOUBLE_BIAS): Delete.
49878         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
49879         version of math_ldbl.h.
49881 2013-10-04  Alan Modra  <amodra@gmail.com>
49883         [BZ #15734], [BZ #15735]
49884         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
49885         all uses of ieee875 long double macros and unions.  Simplify test
49886         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
49887         ldbl_extract_mantissa value for ix,iy exponents.  Properly
49888         normalize after ldbl_extract_mantissa, and don't add hidden bit
49889         already handled.  Don't treat low word of ieee854 mantissa like
49890         low word of IBM long double and mask off bit when testing for
49891         zero.
49892         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
49893         all uses of ieee875 long double macros and unions.  Simplify tests
49894         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
49895         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
49896         two1022, instead use their values.  Recognise that tests for large
49897         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
49898         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
49899         Rewrite all uses of ieee875 long double macros and unions.  Simplify
49900         test for 0.0L and nan.  Correct negation.
49901         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
49902         ieee875 long double macros and unions.  Correct output for large
49903         magnitude x.  Correct absolute value calculation.
49904         (__erfcl): Likewise.
49905         * math/libm-test.inc: Add tests for errors discovered in IBM long
49906         double versions of fmodl, remainderl, erfl and erfcl.
49908 2013-10-04  Alan Modra  <amodra@gmail.com>
49910         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
49911         all uses of ieee854 long double macros and unions.  Simplify tests
49912         for long doubles that are fully specified by the high double.
49913         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
49914         Likewise.
49915         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
49916         Remove dead code too.
49917         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
49918         (__ieee754_ynl): Likewise.
49919         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
49920         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
49921         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
49922         Remove dead code too.
49923         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
49924         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
49925         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
49926         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
49927         Simplify.
49928         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
49929         Simplify.
49930         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
49931         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
49932         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
49933         Comment on variable precision.
49934         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
49935         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
49936         Likewise.
49937         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
49938         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
49939         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
49940         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
49941         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
49943 2013-10-04  Alan Modra  <amodra@gmail.com>
49945         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
49946         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
49947         all uses of ieee854 long double macros and unions.
49948         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
49949         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
49950         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
49951         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
49952         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
49953         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
49954         Likewise.
49955         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
49956         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
49957         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
49958         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
49959         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
49960         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
49961         Simplify sign and nan test too.
49962         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
49963         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
49964         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
49965         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
49966         Likewise.
49967         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
49968         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
49969         Likewise.
49970         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49971         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
49972         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
49973         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
49974         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
49975         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
49977 2013-10-04  Alan Modra  <amodra@gmail.com>
49979         * stdio-common/printf_size.c (__printf_size): Don't use
49980         union ieee854_long_double in fpnum union.
49981         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
49982         signbit macro to retrieve sign from long double.
49983         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
49984         retrieve sign from long double.
49985         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
49986         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
49987         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
49988         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
49989         * math/test-misc.c (main): Don't use union ieee854_long_double.
49991 2013-10-04  Alan Modra  <amodra@gmail.com>
49993         [BZ #15680]
49994         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
49995         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
49996         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
49997         calculation.  Remove unnecessary test for denormal exponent.
49998         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
49999         Correct handling of denormals.  Avoid undefined shift behaviour.
50000         Correct normalisation of low mantissa when low double is denormal.
50001         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
50002         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
50003         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
50004         Correct normalisation of low mantissa.  Test for overflow of high
50005         mantissa and normalise.
50006         (ldbl_nearbyint): Use more readable constant for two52.
50007         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
50008         (__mpn_construct_long_double): Fix test for overflow of high
50009         mantissa and correct normalisation.  Avoid undefined shift.
50011 2013-10-04  Alan Modra  <amodra@gmail.com>
50013         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
50014         (union ibm_extended_long_double): Define as an array of ieee754_double.
50015         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
50016         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
50017         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
50018         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
50019         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50020         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
50021         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
50022         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
50023         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
50024         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
50025         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
50027 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
50029         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
50030         page size instead of calling getpagesize.
50032         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
50033         (LOCFILE_ALIGN_MASK): Likewise.
50034         (LOCFILE_ALIGN_UP): Likewise.
50035         (LOCFILE_ALIGNED_P): Likewise.
50036         * locale/programs/ld-collate.c (collate_output): Use the new
50037         macros instead of __alignof__ (int32_t).
50038         * locale/weight.h (findidx): Likewise.
50040 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
50042         [BZ #431]
50043         * manual/string.texi: Fix strncat and wcsncat.
50045 2013-10-03  Brooks Moses  <bmoses@google.com>
50047         [BZ #15915]
50048         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
50049         * Makerules: ...here, and adjust associated comments.
50051 2013-10-02  Will Newton  <will.newton@linaro.org>
50053         * malloc/Makefile: Add tst-pvalloc.
50054         * malloc/tst-pvalloc.c: New file.
50056 2013-10-02  Will Newton  <will.newton@linaro.org>
50058         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
50059         improve test coverage.
50061 2013-10-02  Will Newton  <will.newton@linaro.org>
50063         * malloc/Makefile: Add tst-posix_memalign.
50064         * malloc/tst-posix_memalign.c: New file.
50066 2013-10-01  Eric Blake  <eblake@redhat.com>
50068         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
50069         Use __THROWNL rather than __THROW on static functions.
50071 2013-09-30  Petr Machata  <pmachata@redhat.com>
50073         * elf/elf.h (R_AARCH64_ABS16): New macro.
50074         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
50075         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
50076         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
50077         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
50078         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
50079         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
50080         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
50081         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
50082         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
50083         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
50084         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
50085         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
50086         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
50087         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
50088         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
50089         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
50090         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
50091         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
50092         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
50093         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
50094         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
50095         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
50096         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
50097         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
50098         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
50099         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
50100         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
50101         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
50102         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
50103         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
50104         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
50105         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
50106         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
50107         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
50108         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
50109         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
50110         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
50111         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
50112         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
50113         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
50114         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
50115         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
50116         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
50117         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
50118         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
50119         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
50120         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
50121         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
50122         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
50123         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
50124         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
50125         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
50126         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
50127         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
50128         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
50129         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
50130         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
50131         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
50132         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
50133         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
50134         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
50135         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
50136         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
50137         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
50138         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
50139         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
50140         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
50141         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
50142         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
50143         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
50144         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
50145         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
50146         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
50147         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
50148         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
50149         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
50150         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
50151         (R_AARCH64_TLSDESC_LDR): Likewise.
50152         (R_AARCH64_TLSDESC_ADD): Likewise.
50153         (R_AARCH64_TLSDESC_CALL): Likewise.
50155 2013-09-30  Andreas Schwab  <schwab@suse.de>
50157         [BZ #15048]
50158         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
50159         the nss database lookup.
50160         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50161         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
50163 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
50165         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
50167 2013-09-28  P. J. McDermott  <pj@pehjota.net>
50169         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
50170         ${Bash-specific parameter/pattern/string} parameter expansion.
50171         * sysdeps/unix/make-syscalls.sh: Likewise.
50173 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50175         * sysdeps/sh/stackguard-macros.h: New file.
50177 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
50179         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
50180         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
50181         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
50182         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
50183         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
50184         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
50186 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50188         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
50189         Fix thread ID register.
50191 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
50193         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
50194         [POSIX || UNIX98]: Require rather than permitting all symbols from
50195         <time.h>.
50196         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
50197         element of struct sched_param.
50198         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
50199         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
50200         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
50201         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
50202         constant.
50204 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
50206         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
50207         argument calculation.
50209 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
50211         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
50212         Expect macro.
50213         [POSIX] (pthread_attr_t): Do not require type.
50214         [POSIX] (pthread_cond_t): Likewise.
50215         [POSIX] (pthread_condattr_t): Likewise.
50216         [POSIX] (pthread_key_t): Likewise.
50217         [POSIX] (pthread_mutex_t): Likewise.
50218         [POSIX] (pthread_mutexattr_t): Likewise.
50219         [POSIX] (pthread_once_t): Likewise.
50220         [POSIX] (pthread_t): Likewise.
50221         [POSIX-based standards] (pthread_atfork): Expect function.
50223 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
50224             Richard Sandiford  <richard@codesourcery.com>
50226         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
50227         (swap_endianness_p): New extern variable.
50228         (set_big_endian): New inline function.
50229         (maybe_swap_uint32): Likewise.
50230         (maybe_swap_uint32_array): Likewise.
50231         (maybe_swap_uint32_obstack): Likewise.
50232         * locale/programs/locfile.c: Include <stdbool.h>.
50233         (swap_endianness_p): New variable.
50234         (add_locale_uint32): Call maybe_swap_uint32.
50235         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
50236         (write_locale_data): Call maybe_swap_uint32_array.
50237         * locale/programs/ld-collate.c (obstack_int32_grow): Call
50238         maybe_swap_uint32.
50239         (obstack_int32_grow_fast): Likewise.
50240         (output_weightwc): Call maybe_swap_uint32_obstack.
50241         (collate_output): Likewise.
50242         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
50243         (OPT_LITTLE_ENDIAN): Likewise.
50244         (options): Add --little-endian and --big-endian options.
50245         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
50246         * locale/programs/locarchive.c: Include "locfile.h".
50247         (GET): New macro.
50248         (SET): Likewise.
50249         (INC): Likewise.
50250         (create_archive): Use the new macros to access fields of
50251         structures directly mapped from or written to locale archives.
50252         (oldlocrecentcmp): Likewise.
50253         (enlarge_archive): Likewise.
50254         (insert_name): Likewise.
50255         (add_alias): Likewise.
50256         (add_locale): Likewise.
50257         (delete_locales_from_archive): Likewise.
50258         (show_archive_content): Likewise.
50259         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
50260         locale data.
50262 2013-09-24  Roland McGrath  <roland@hack.frob.com>
50264         * manual/freemanuals.texi: Updated from (newly) canonical copy at
50265         http://www.gnu.org/doc/freemanuals.texi.
50266         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
50268 2013-09-24  Will Newton  <will.newton@linaro.org>
50270         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
50271         macro.
50273 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
50275         * locale/hashval.h (compute_hashval): Interpret bytes of key as
50276         unsigned char.
50278 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
50280         * manual/threads.texi (POSIX Threads): Fix a typo.
50282 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
50284         [BZ #14547]
50285         * string/tst-strcoll-overflow.c: New test case.
50286         * string/Makefile (xtests): Add tst-strcoll-overflow.
50287         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
50288         cache if string sizes may cause integer overflow.
50290         [BZ #14547]
50291         * string/strcoll_l.c (coll_seq): New members rule, idx,
50292         save_idx and back_us.
50293         (get_next_seq_nocache): New function.
50294         (do_compare_nocache): New function.
50295         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
50296         when malloc fails.
50298 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
50300         [BZ #15754]
50301         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
50302         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
50303         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
50305         [BZ #15754]
50306         * elf/Makefile (tests): Add tst-ptrguard1.
50307         (tests-static): Add tst-ptrguard1-static.
50308         (tst-ptrguard1-ARGS): Define.
50309         (tst-ptrguard1-static-ARGS): Define.
50310         * elf/tst-ptrguard1.c: New file.
50311         * elf/tst-ptrguard1-static.c: New file.
50312         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
50313         * sysdeps/i386/stackguard-macros.h: Likewise.
50314         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
50315         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
50316         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
50317         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
50318         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
50319         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
50321 2013-09-23  Hector Marco  <hecmargi@upv.es>
50322             Ismael Ripoll  <iripoll@disca.upv.es>
50323             Carlos O'Donell  <carlos@redhat.com>
50325         [BZ #15754]
50326         * sysdeps/generic/stackguard-macros.h: Define
50327         __pointer_chk_guard_local and POINTER_CHK_GUARD.
50328         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
50329         Define __pointer_chk_guard_local.
50330         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
50331         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
50333 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
50335         [BZ #15859]
50336         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
50338 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
50340         * include/string.h (__ffs): Declare as hidden.
50341         * string/ffs.c (__ffs): Define as hidden.
50342         * sysdeps/i386/ffs.c (__ffs): Likewise.
50343         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
50344         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
50345         * sysdeps/s390/ffs.c (__ffs): Likewise.
50346         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
50348 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
50350         * NEWS: Mention malloc probes.
50352         * malloc/arena.c (new_heap): New memory_heap_new probe.
50353         (grow_heap): New memory_heap_more probe.
50354         (shrink_heap): New memory_heap_less probe.
50355         (heap_trim): New memory_heap_free probe.
50356         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
50357         (systrim): New memory_sbrk_less probe.
50358         * manual/probes.texi: Document them.
50360         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
50361         * manual/probes.texi: Document it.
50363         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
50364         (__libc_realloc): Add memory_realloc_retry probe.
50365         (__libc_memalign): Add memory_memalign_retry probe.
50366         (__libc_valloc): Add memory_valloc_retry probe.
50367         (__libc_pvalloc): Add memory_pvalloc_retry probe.
50368         (__libc_calloc): Add memory_calloc_retry probe.
50369         * manual/probes.texi: Document them.
50371         * malloc/arena.c (get_free_list): Add probe
50372         memory_arena_reuse_free_list.
50373         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
50374         and memory_arena_reuse.
50375         (arena_get2) [!PER_THREAD]: Likewise.
50376         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
50377         memory_arena_reuse_realloc.
50378         * manual/probes.texi: Document them.
50380         * malloc/malloc.c (__libc_free): Add
50381         memory_mallopt_free_dyn_thresholds probe.
50382         (__libc_mallopt): Add multiple memory_mallopt probes.
50383         * manual/probes.texi: Document them.
50385         * malloc/malloc.c: Include stap-probe.h.
50386         (__libc_mallopt): Add memory_mallopt probe.
50387         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
50388         * manual/probes.texi: New.
50389         * manual/Makefile (chapters): Add probes.
50390         * manual/threads.texi: Set next node.
50392 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
50394         [BZ #15963, #13985]
50395         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
50396         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
50397         Add `Chinese' to `nan' entry name.
50399 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50401         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
50402         (POLYNOMIAL): Likewise.
50403         (TAYLOR_SINCOS): Likewise.
50404         (TAYLOR_SLOW): Likewise.
50405         (__sin): Use TAYLOR_SINCOS.
50406         (__cos): Likewise.
50407         (slow): Use TAYLOR_SLOW.
50408         (sloww): Likewise.
50409         (bsloww): Likewise.
50410         (csloww): Likewise.
50412 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50414         * stdlib/strtod_l.c: Fix buffer overrun.
50416 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50418         * benchtests/Makefile (bench): Add sincos.
50419         * benchtests/bench-sincos.c: New file.
50421         * math/libm-test.inc (cos_test_data): New test inputs.
50422         (sin_test_data): Likewise.
50424         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
50425         macro.
50426         (__sin): Use it.
50427         (__cos): Likewise.
50428         (slow1): Likewise.
50429         (slow2): Likewise.
50430         (sloww1): Likewise.
50431         (sloww2): Likewise.
50432         (bsloww1): Likewise.
50433         (bsloww2): Likewise.
50434         (cslow2): Likewise.
50435         (csloww1): Likewise.
50436         (csloww2): Likewise.
50438         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
50439         function.
50440         (__sin): Use it.
50441         (__cos): Likewise.
50443         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
50444         gotos.
50445         (__cos): Likewise.
50447 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
50449         * config.h.in (HAVE_MIPS_NAN2008): New macro.
50450         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
50451         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
50452         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
50453         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
50454         * elf/cache.c (print_entry): Handle the new cache flags.
50456 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
50457             Aldy Hernandez  <aldyh@redhat.com>
50459         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
50460         Change condition to [_SOFT_FLOAT].
50461         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
50462         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
50463         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
50464         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
50465         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
50466         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
50467         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
50468         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
50469         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
50470         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
50471         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
50472         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
50473         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
50474         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
50475         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
50476         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
50477         declaration.
50479 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
50481         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
50482         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
50483         (__longjmp): Use LOAD_GP to load saved GPRs.
50484         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
50485         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
50486         (__sigsetjmp): Use SAVE_GP to save GPRs.
50488         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
50489         Do not append -msoft-float.
50490         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
50492 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
50494         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
50496 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
50498         [BZ #15966]
50499         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
50500         (_FPU_GETCW): Use initial "__" on variable and field names but not
50501         on macro parameter name.
50502         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
50503         parentheses around reference to macro parameter.
50505 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
50507         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
50508         prototype.
50509         (ctype_startup): Use uint32_t in cast and sizeof for
50510         ctype->charnames.
50512 2013-09-11  Jia Liu  <proljc@gmail.com>
50514         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
50515         __daddr_t_defined.
50516         [__FreeBSD__]: Likewise.
50518 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
50520         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
50521         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
50522         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
50523         (strchr): Remove __strchr_sse42 ifunc selection.
50524         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
50525         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
50527 2013-09-11  Will Newton  <will.newton@linaro.org>
50529         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
50530         parameter to RES. Remove hardcoded 1000 value.
50531         * benchtests/bench-skeleton.c (main): Pass RES parameter
50532         to TIMING_INIT and multiply result by 1000.
50534 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50536         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50538 2013-09-11  Andreas Schwab  <schwab@suse.de>
50540         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
50541         if not defined.
50542         (O_TMPFILE) [__USE_GNU]: Define.
50543         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
50544         Define.
50546 2013-09-11  Will Newton  <will.newton@linaro.org>
50548         [BZ #15857]
50549         * malloc/malloc.c (__libc_memalign): Check the value of bytes
50550         does not overflow.
50552 2013-09-11  Will Newton  <will.newton@linaro.org>
50554         [BZ #15856]
50555         * malloc/malloc.c (__libc_valloc): Check the value of bytes
50556         does not overflow.
50558 2013-09-11  Will Newton  <will.newton@linaro.org>
50560         [BZ #15855]
50561         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
50562         does not overflow.
50564 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
50566         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
50567         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50568         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50569         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50570         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50572 2013-09-10  Allan McRae  <allan@archlinux.org>
50574         [BZ #15748]
50575         * manual/arith.texi (Parsing of Floats): Clarify
50576         cross-reference.
50578         [BZ #15849]
50579         * manual/install.texi (Running make install): Mention
50580         --enable-pt-chown.
50581         * INSTALL: Regenerated.
50583 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
50585         * csu/init-first.c (_init): Remove the !SHARED condition around
50586         FPU control word initialization.
50587         * elf/dl-support.c (_dl_fpu_control): New variable.
50588         (_dl_aux_init) <AT_FPUCW>: Initialize it.
50589         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
50590         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
50591         * math/test-fpucw-static.c: New file.
50592         * math/test-fpucw-ieee.c: New file.
50593         * math/test-fpucw-ieee-static.c: New file.
50594         * math/Makefile (tests): Add `test-fpucw-ieee' and
50595         `$(tests-static)'.
50596         (tests-static): New variable.
50597         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
50598         dependency to...
50599         [($(build-shared),yes)]
50600         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
50601         ... this.
50602         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
50603         New dependency.
50605 2013-09-09  Allan McRae  <allan@archlinux.org>
50607         [BZ #15939]
50608         * manual/string.texi (Collation Functions): Fix typo in
50609         strcoll example.
50610         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
50612         [BZ #15893]
50613         * stdlib/isomac.c (get_null_defines): Fix memory leak.
50615         [BZ #15892]
50616         * libio/memstream.c (open_memstream): Fix memory leak.
50617         * libio/wmemstream.c (open_wmemstream): Likewise.
50619         [BZ #15895]
50620         * nscd/netgroupcache.c: Fix nesting of ifdefs.
50622 2013-09-09  Will Newton  <will.newton@linaro.org>
50624         * malloc/Makefile: Add tst-realloc to tests.
50625         * malloc/tst-realloc.c: New file.
50627 2013-09-09  Allan McRae  <allan@archlinux.org>
50629         [BZ #15844]
50630         * COPYING: Update from GNU website to fix FSF address.
50631         * COPYING.LIB: Likewise.
50633 2013-09-06  David S. Miller  <davem@davemloft.net>
50635         * po/zh_TW.po: Update Chinese (traditional) translation from
50636         translation project.
50638 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
50639             Joseph Myers  <joseph@codesourcery.com>
50641         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
50642         "localeinfo.h".
50643         (obstack_chunk_alloc): New macro.
50644         (obstack_chunk_free): Likewise.
50645         (record_offset): New function.
50646         (init_locale_data): Likewise.
50647         (align_locale_data): Likewise.
50648         (add_locale_empty): Likewise.
50649         (add_locale_raw_data): Likewise.
50650         (add_locale_raw_obstack): Likewise.
50651         (add_locale_string): Likewise.
50652         (add_locale_wstring): Likewise.
50653         (add_locale_uint32): Likewise.
50654         (add_locale_uint32_array): Likewise.
50655         (add_locale_char): Likewise.
50656         (start_locale_structure): Likewise.
50657         (end_locale_structure): Likewise.
50658         (start_locale_prelude): Likewise.
50659         (end_locale_prelude): Likewise.
50660         (write_locale_data): Take locale_file structure rather than an
50661         iovec.
50662         * locale/programs/locfile.h: Include "obstack.h".
50663         (struct locale_file): Change to store locale file contents instead
50664         of header.
50665         (init_locale_data): New prototype.
50666         (align_locale_data): Likewise.
50667         (add_locale_empty): Likewise.
50668         (add_locale_raw_data): Likewise.
50669         (add_locale_raw_obstack): Likewise.
50670         (add_locale_string): Likewise.
50671         (add_locale_wstring): Likewise.
50672         (add_locale_uint32): Likewise.
50673         (add_locale_uint32_array): Likewise.
50674         (add_locale_char): Likewise.
50675         (start_locale_structure): Likewise.
50676         (end_locale_structure): Likewise.
50677         (start_locale_prelude): Likewise.
50678         (end_locale_prelude): Likewise.
50679         (write_locale_data): Update prototype.
50680         * locale/programs/3level.h (struct TABLE): Remove result field.
50681         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
50682         Use new locale_file interface.
50683         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
50684         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
50685         * locale/programs/ld-address.c (address_output): Use new
50686         locale_file interface.
50687         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
50688         NO_ADD_LOCALE.
50689         (collate_finish): Don't call collseq_table_finalize.
50690         (collate_output): Use new locale_file interface.
50691         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
50692         in file.
50693         (NO_FINALIZE): Change to NO_ADD_LOCALE.
50694         (TABLE): Move defines earlier in file.
50695         (ELEMENT): Likewise.
50696         (DEFAULT): Likewise.
50697         (wctrans_table_add): Move macro and inline function earlier in
50698         file.
50699         (struct wctype_table): Move type earlier in file.
50700         (add_locale_wctype_table): New static prototype.
50701         (struct locale_ctype_t): Use logical types instead of struct iovec
50702         pointers for members.
50703         (ctype_output): Use new locale_file interface.
50704         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
50705         new locale_file interface.
50706         (allocate_arrays): Update for use of new locale_file interface.
50707         * locale/programs/ld-identification.c (identification_output): Use
50708         new locale_file interface.
50709         * locale/programs/ld-measurement.c (measurement_output): Likewise.
50710         * locale/programs/ld-messages.c (messages_output): Likewise.
50711         * locale/programs/ld-monetary.c (monetary_output): Likewise.
50712         * locale/programs/ld-name.c (name_output): Likewise.
50713         * locale/programs/ld-numeric.c (numeric_output): Likewise.
50714         * locale/programs/ld-paper.c (paper_output): Likewise.
50715         * locale/programs/ld-telephone.c (telephone_output): Likewise.
50716         * locale/programs/ld-time.c (time_output): Likewise.
50718 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50720         * benchtests/Makefile: Add memrchr benchmark.
50721         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
50722         benchmark as memrchr.
50723         * benchtests/bench-memrchr-ifunc.c: New file.
50724         * benchtests/bench-memrchr.c: New file.
50726 2013-09-06   Will Newton  <will.newton@linaro.org>
50728         * benchtests/Makefile (string-bench): Add memcpy.
50730 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
50731             Cong Wang  <amwang@redhat.com>
50733         [BZ #15850]
50734         * sysdeps/unix/sysv/linux/bits/in.h
50735         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
50736         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
50737         before __USE_KERNEL_IPV6_DEFS uses.
50738         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
50739         IPPROTO_BEETPH.
50740         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
50741         sockaddr_in6, or ipv6_mreq.
50743 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50745         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
50746         memory access for final bytes in some large inputs.
50747         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
50749 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50751         * string/test-memrchr.c: New file.
50752         * string/test-memrchr-ifunc.c: New file.
50753         * string/Makefile: Add new memrchr testcase.
50755 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
50757         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
50758         fanotify_init returns EPERM.
50760 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
50762         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
50763         errors.
50764         (top level): Treat second token from macro or constant entries for
50765         allowed headers as allowed.
50766         * include/complex.h: Condition internal declarations on
50767         [!_ISOMAC].
50768         * include/fenv.h: Condition include of <stdbool.h> and internal
50769         declarations on [!_ISOMAC].
50771 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
50773         [BZ #15923]
50774         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
50776 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
50778         * configure.in (--enable-versioning): Remove configure option.
50779         (libc_cv_asm_symver_directive): Remove configure test.
50780         (libc_cv_ld_version_script_option): Likewise.
50781         (VERSIONING): Remove variable and AC_SUBST.
50782         (DO_VERSIONING): Remove AC_DEFINE.
50783         * configure: Regenerated.
50784         * config.h.in (DO_VERSIONING): Remove macro.
50785         * Makerules [$(versioning) = yes]: Change conditionals to
50786         [$(build-shared) = yes].
50787         * config.make.in (versioning): Remove variable.
50788         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
50789         [$(build-shared) = yes].
50790         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
50791         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
50792         * elf/Makefile [$(versioning) = yes]: Change conditionals to
50793         [$(build-shared) = yes].
50794         * extra-lib.mk [$(versioning) = yes]: Likewise.
50795         * hurd/Makefile [$(versioning) = yes]: Likewise.
50796         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
50797         [SHARED].
50798         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
50799         [SHARED].
50800         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
50801         [SHARED && !NO_HIDDEN].
50802         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
50803         [SHARED].
50804         [SHARED && DO_VERSIONING]: Likewise..
50805         * libio/Makefile [$(versioning) = yes]: Change conditionals to
50806         [$(build-shared) = yes].
50807         * manual/install.texi (--disable-versioning): Remove
50808         documentation.
50809         * INSTALL: Regenerated.
50810         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
50811         to [SHARED].
50812         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
50813         [$(build-shared) = yes].
50814         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
50815         * sysdeps/i386/i686/multiarch/strstr-c.c
50816         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
50817         [SHARED && !NO_HIDDEN].
50818         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
50819         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
50820         * sysdeps/powerpc/powerpc32/dl-machine.c
50821         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
50822         * sysdeps/powerpc/powerpc32/sysdep.h
50823         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
50824         to [SHARED && PIC && !NO_HIDDEN].
50825         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
50826         conditional to [SHARED].
50828 2013-09-04   Will Newton  <will.newton@linaro.org>
50830         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
50831         * benchtests/bench-string.h: Include bench-timing.h instead
50832         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
50833         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
50834         call to HP_TIMING_DIFF_INIT.
50835         * benchtests/bench-memccpy.c: Use bench-timing.h macros
50836         instead of hp-timing.h macros.
50837         * benchtests/bench-memchr.c: Likewise.
50838         * benchtests/bench-memcmp.c: Likewise.
50839         * benchtests/bench-memcpy.c: Likewise.
50840         * benchtests/bench-memmem.c: Likewise.
50841         * benchtests/bench-memmove.c: Likewise.
50842         * benchtests/bench-memset.c: Likewise.
50843         * benchtests/bench-rawmemchr.c: Likewise.
50844         * benchtests/bench-strcasecmp.c: Likewise.
50845         * benchtests/bench-strcasestr.c: Likewise.
50846         * benchtests/bench-strcat.c: Likewise.
50847         * benchtests/bench-strchr.c: Likewise.
50848         * benchtests/bench-strcmp.c: Likewise.
50849         * benchtests/bench-strcpy.c: Likewise.
50850         * benchtests/bench-strcpy_chk.c: Likewise.
50851         * benchtests/bench-strlen.c: Likewise.
50852         * benchtests/bench-strncasecmp.c: Likewise.
50853         * benchtests/bench-strncat.c: Likewise.
50854         * benchtests/bench-strncmp.c: Likewise.
50855         * benchtests/bench-strncpy.c: Likewise.
50856         * benchtests/bench-strnlen.c: Likewise.
50857         * benchtests/bench-strpbrk.c: Likewise.
50858         * benchtests/bench-strrchr.c: Likewise.
50859         * benchtests/bench-strspn.c: Likewise.
50860         * benchtests/bench-strstr.c: Likewise.
50862 2013-09-04  Will Newton  <will.newton@linaro.org>
50864         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
50866 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
50868         [BZ #15427]
50869         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
50870         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
50871         * math/libm-test.inc (lgamma_test_data): Add more tests.
50872         * sysdeps/i386/fpu/libm-test-ulps: Update.
50873         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50875 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
50877         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
50878         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
50879         Add ifunc.
50880         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
50881         Add strcmp-sse2-unaligned
50882         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
50884 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
50886         * Versions.def (libc): Add GLIBC_2.19.
50888 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
50890         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
50891         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
50893 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
50895         [BZ #14155]
50896         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
50897         intermediate calculations in recurrence.
50898         (__ieee754_ynf): Likewise.
50899         * math/libm-test.inc (jn_test_data): Do not allow spurious
50900         underflow exception.  Add more tests.
50901         (yn_test_data): Add more tests.
50902         * sysdeps/i386/fpu/libm-test-ulps: Update.
50903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50905 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
50907         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
50909 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
50911         * csu/init-first.c: Fix then/than typos.
50912         * locale/programs/ld-collate.c: Likewise.
50913         * locale/programs/linereader.h: Likewise.
50914         * manual/charset.texi: Likewise.
50915         * manual/filesys.texi: Likewise.
50916         * manual/stdio.texi: Likewise.
50917         * manual/string.texi: Likewise.
50918         * stdlib/fmtmsg.c: Likewise.
50919         * sysdeps/i386/stpncpy.S: Likewise.
50920         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
50921         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
50922         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
50923         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
50925 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
50927         * elf/dl-open.c: Fix typos.
50928         * iconvdata/gbbig5.c: Likewise.
50929         * iconvdata/iso-2022-jp.c: Likewise.
50930         * iconv/gconv_int.h: Likewise.
50931         * iconv/loop.c: Likewise.
50932         * nis/rpcsvc/nis.h: Likewise.
50933         * resolv/ns_name.c: Likewise.
50934         * stdio-common/vfscanf.c: Likewise.
50935         * streams/stropts.h: Likewise.
50936         * sunrpc/rpc_thread.c: Likewise.
50937         * sysdeps/i386/strpbrk.S: Likewise.
50938         * sysdeps/ieee754/k_standard.c: Likewise.
50939         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
50940         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50941         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
50942         * sysdeps/mach/hurd/profil.c: Likewise.
50943         * sysdeps/s390/dl-procinfo.h: Likewise.
50944         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
50945         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
50946         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
50947         * sysdeps/x86_64/dl-trampoline.S: Likewise.
50948         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
50950 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
50952         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
50953         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
50955 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
50957         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
50958         aix specific files.
50959         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
50960         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
50961         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
50962         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
50963         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
50964         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
50965         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
50966         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
50968 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
50969             Roland McGrath  <roland@hack.frob.com>
50971         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
50972         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
50974 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50976         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
50977         __executable_start symbol instead of _start.
50979 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
50981         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
50982         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
50983         Move macros to...
50984         * sysdeps/gnu/ldsodefs.h: ... this new file.
50986         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
50987         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
50988         instead of ELFOSABI_LINUX.
50990         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
50991         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
50992         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
50993         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
50994         Likewise.
50995         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
50996         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
50997         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
50998         Likewise.
50999         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
51000         (ibm_extended_long_double): Add ieee_nan member.
51001         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
51002         (do_test): New function.
51004         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
51005         TEST_TRUNC.
51006         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
51007         functions, renamed from truncdfsf_test, trunctfsf_test,
51008         trunctfdf_test.
51009         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
51010         functions.
51011         (do_test): Run all these.
51013 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
51015         * argp/argp-help.c: Fix typos.
51016         * argp/argp-parse.c: Likewise.
51017         * debug/backtracesyms.c: Likewise.
51018         * elf/elf.h: Likewise.
51019         * malloc/malloc.c: Likewise.
51020         * nis/nis_print.c: Likewise.
51021         * resolv/res_comp.c: Likewise.
51022         * stdlib/stdlib.h: Likewise.
51023         * sunrpc/clnt_tcp.c: Likewise.
51024         * sunrpc/clnt_udp.c: Likewise.
51025         * sunrpc/clnt_unix.c: Likewise.
51026         * sysdeps/unix/bsd/ptsname.c: Likewise.
51027         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
51028         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
51029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
51030         Likewise.
51031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
51032         Likewise.
51033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
51034         Likewise.
51035         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
51037 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51039         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
51040         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
51042 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
51044         [BZ #15897]
51045         * dlfcn/Makefile (tests): Add bug-dl-leaf.
51046         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
51047         ($(objpfx)bug-dl-leaf): New rule.
51048         ($(objpfx)bug-dl-leaf.so): Likewise.
51049         ($(objpfx)bug-dl-leaf.out): Likewise.
51050         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
51051         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
51052         * dlfcn/bug-dl-leaf.c: New test.
51053         * dlfcn/bug-dl-leaf-lib.c: Likewise.
51054         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
51055         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
51056         (dlclose): Likewise.
51057         (dlmopen): Likewise.
51059 2013-08-27  Roland McGrath  <roland@hack.frob.com>
51061         * include/netdb.h [!_ISOMAC]:
51062         Don't include <tls.h>.
51063         (h_errno, __libc_h_errno): Move declaration and macros out of
51064         [_LIBC_REENTRANT].
51066         * include/resolv.h [_RESOLV_H_]:
51067         Don't include <tls.h>.
51068         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
51069         * resolv/res_libc.c: Don't include <tls.h>.
51070         (_res): Use __attribute__ ((nocommon)) in place of
51071         __attribute__ ((section (".bss"))).
51073         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
51074         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
51076         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
51078         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
51079         only under [SIOCGIFCONF && SIOCGIFNETMASK].
51081         * resolv/res_mkquery.c: Include <sys/time.h>.
51083         * inet/ifreq.c: Moved to ...
51084         * sysdeps/unix/ifreq.c: ... here.
51085         * inet/ifreq.c: New file, true stub version.
51087         * socket/sa_len.c: New file.
51088         * socket/Makefile (aux): Add it.
51089         * sysdeps/unix/sysv/linux/Makefile
51090         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
51091         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
51092         and #include <socket/sa_len.c>.
51093         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
51094         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
51096         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
51097         * bits/socket.h: ... here.
51099         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
51100         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
51101         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
51103 2013-08-27  Andreas Schwab  <schwab@suse.de>
51105         [BZ #15736]
51106         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
51107         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
51108         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
51109         * string/test-strcasecmp.c (test_main): Run tests in several
51110         locales.
51111         * string/test-strncasecmp.c (test_main): Likewise.
51113         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
51114         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
51115         to __strcasecmp_nonascii and __strncasecmp_nonascii.
51116         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
51117         (__strncasecmp_ssse3) [PIC]: Likewise.
51119 2013-08-26  Roland McGrath  <roland@hack.frob.com>
51121         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
51123         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
51124         instead of explicitly declaring xdecrypt.
51125         * nis/nss_nis/nis-publickey.c: Likewise.
51127 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51129         [BZ #15890]
51130         * nscd/aicache.c: Include res_hconf.h.
51131         (addhstaiX): Initialize res_hconf.
51133 2013-08-26  Andreas Schwab  <schwab@suse.de>
51135         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
51136         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
51138 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51140         * nscd/aicache.c (addhstaiX): Fix indentation.
51142 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
51144         * configure.ac: Quote $build_pt_chown test.
51145         * configure: Regenerated.
51147 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
51149         [BZ #15532]
51150         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
51151         * math/s_cexpf.c (__cexpf): Likewise.
51152         * math/s_cexpl.c (__cexpl): Likewise.
51153         * math/libm-test.inc (cexp_test_data): Correct expected return
51154         value for NaN + i0.  Add another test.
51156 2013-08-22  David S. Miller  <davem@davemloft.net>
51158         * po/ca.po: Update Catalan translation from translation project.
51159         * po/uk.po: Add Ukrainian translations from translation project.
51161 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
51163         [BZ #15797]
51164         * math/s_fdim.c (__fdim): Check for infinite arguments if result
51165         is infinite, not alongside NaN test.
51166         * math/s_fdimf.c (__fdimf): Likewise.
51167         * math/s_fdiml.c (__fdiml): Likewise.
51168         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
51169         errno is unchanged.
51171 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
51173         * argp/argp-help.c: Fix typos.
51174         * crypt/speeds.c: Likewise.
51175         * csu/check_fds.c: Likewise.
51176         * elf/dl-load.c: Likewise.
51177         * elf/dl-open.c: Likewise.
51178         * elf/reldep3.c: Likewise.
51179         * elf/reldep.c: Likewise.
51180         * elf/sprof.c: Likewise.
51181         * iconv/iconv_charmap.c: Likewise.
51182         * iconv/skeleton.c: Likewise.
51183         * iconv/strtab.c: Likewise.
51184         * io/lockf64.c: Likewise.
51185         * libio/libioP.h: Likewise.
51186         * resolv/gai_notify.c: Likewise.
51187         * resolv/ns_name.c: Likewise.
51188         * resolv/ns_samedomain.c: Likewise.
51189         * resolv/res_send.c: Likewise.
51190         * stdlib/random.c: Likewise.
51191         * sunrpc/rpc/xdr.h: Likewise.
51192         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
51193         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
51194         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
51195         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
51196         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
51197         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
51198         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
51199         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
51200         * sysdeps/mach/hurd/check_fds.c: Likewise.
51201         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
51202         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
51203         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
51204         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
51205         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
51206         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
51207         * sysdeps/pthread/aio_notify.c: Likewise.
51208         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
51209         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
51210         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
51211         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
51212         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
51214 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51216         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
51217         version if bit_Slow_SSE4_2 is set.
51218         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51219         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
51221 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51223         [BZ #15867]
51224         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
51225         trampoline stack frame information.
51226         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
51227         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
51228         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
51229         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
51230         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
51231         * sysdeps/unix/sysv/linux/powerpc/init-first.c
51232         (_libc_vdso_platform_setup): Initialize the signal trampolines.
51233         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
51234         sa_flags value.
51235         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
51236         interrupting a syscall and set with option SA_SIGINFO.
51238 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
51240         [BZ #15531]
51241         * math/s_cproj.c (__cproj): Only return an infinity if one part of
51242         argument is infinite.
51243         * math/s_cprojf.c (__cprojf): Likewise.
51244         * math/s_cprojl.c (__cprojl): Likewise.
51245         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
51246         * math/libm-test.inc (cproj_test_data): Add more tests.
51248         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
51250         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
51251         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
51252         size.  Use __ffs to determine corresponding shift.
51254 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
51255             Roland McGrath  <roland@hack.frob.com>
51257         * Makefile (INSTALL): Remove trailing blank lines from output of
51258         makeinfo.
51260 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51262         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
51263         Align 32 bit compat elf_greg to 8 bytes.
51265 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
51267         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
51269 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
51271         * string/strcoll_l.c (coll_seq): New structure.
51272         (get_next_seq_cached): New function.
51273         (get_next_seq): New function.
51274         (do_compare): New function.
51275         (STRCOLL): Use GNU style definition.  Simplify implementation
51276         by using get_next_seq, get_next_seq_cached and do_compare.
51278 2013-08-16  Florian Weimer  <fweimer@redhat.com>
51280         [BZ #14699]
51281         CVE-2013-4237
51282         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
51283         member.
51284         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
51285         member.
51286         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
51287         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
51288         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
51289         conditional.
51290         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
51291         GETDENTS_64BIT_ALIGNED.
51292         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
51293         * manual/filesys.texi (Reading/Closing Directory): Document
51294         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
51295         strongly.
51296         * manual/conf.texi (Limits for Files): Add portability note to
51297         NAME_MAX, PATH_MAX.
51298         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
51300 2013-08-13  Andreas Schwab  <schwab@suse.de>
51302         [BZ #15749]
51303         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
51304         of fabs.
51305         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
51306         LDBL_MAX_EXP >= 16384]: Add tests for it.
51308 2013-08-12  David S. Miller  <davem@davemloft.net>
51310         * version.h (RELEASE): Set to "development".
51311         (VERSION): Set to "2.18.90".
51312         * NEWS: Add 2.19 section.
51314 2013-08-03  David S. Miller  <davem@davemloft.net>
51316         * po/ko.po: Update Korean translation from translation project.
51318 2013-08-01  David S. Miller  <davem@davemloft.net>
51320         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
51321         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
51322         Bilka.
51324 2013-07-30  David S. Miller  <davem@davemloft.net>
51326         * po/fr.po: Update French translation from translation project.
51328 2013-07-28  David S. Miller  <davem@davemloft.net>
51330         * po/cs.po: Update Czech translation from translation project.
51332         * po/sv.po: Update Swedish translation from translation project.
51334 2013-07-27  David S. Miller  <davem@davemloft.net>
51336         * po/eo.po: Update Esperanto translation from translation project.
51338         * po/vi.po: Update Vietnamese translation from translation project.
51340         * po/de.po: Update German translation from translation project.
51342 2013-07-26  David S. Miller  <davem@davemloft.net>
51344         * po/bg.po: Update Bulgarian translation from translation project.
51346         * po/nl.po: Update Dutch translation from translation project.
51347         * po/pl.po: Update Polish translation from translation project.
51348         * po/ru.po: Update Russian translation from translation project.
51350 2013-07-24  David S. Miller  <davem@davemloft.net>
51352         * po/libc.pot: Update.
51354 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51356         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
51357         variable page size.
51358         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
51359         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
51360         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
51362 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51364         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
51366 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51367             Andreas Schwab  <schwab@suse.de>
51368             Roland McGrath  <roland@hack.frob.com>
51369             Joseph Myers  <joseph@codesourcery.com>
51370             Carlos O'Donell  <carlos@redhat.com>
51372         [BZ #15755]
51373         * config.h.in: Define HAVE_PT_CHOWN.
51374         * config.make.in (build-pt-chown): New variable.
51375         * configure.in (--enable-pt_chown): New configure option.
51376         * configure: Regenerate.
51377         * login/Makefile: Include Makeconfig.  Build pt_chown only if
51378         build-pt-chown is enabled.
51379         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
51380         pt_chown to fix pty ownership.
51381         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
51382         CLOSE_ALL_FDS.
51383         * manual/install.texi (Configuring and compiling): Mention
51384         --enable-pt_chown. Add @findex for grantpt.
51385         * INSTALL: Regenerate.
51387 2013-07-20  David S. Miller  <davem@davemloft.net>
51389         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
51390         difference between 32-bit and 64-bit.
51392 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
51394         [BZ #15711]
51395         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
51396         Avoid system header dependency with -ffreestanding.
51397         ($(objpfx)bits/syscall%d): Likewise.
51399 2013-07-13  David S. Miller  <davem@davemloft.net>
51401         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
51402         underflows from atanl/atan2l due to bug 15319.
51403         (casinh_test_data): Likewise.
51405 2013-07-07  David S. Miller  <davem@davemloft.net>
51407         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
51409 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
51411         * sysdeps/i386/fpu/libm-test-ulps: Update.
51412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51414 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
51416         * configure.in (--enable-lock-elision): Fix message text.
51417         * INSTALL: Regenerate.
51418         * configure: Regenerate.
51420 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51422         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51424 2013-07-03  Andreas Jaeger  <aj@suse.de>
51426         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
51427         define.
51428         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
51429         (ptrace_peeksiginfo_args): Add.
51430         (__ptrace_peeksiginfo_flags): Add.
51431         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51432         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51433         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51435 2013-07-03  Allan McRae  <allan@archlinux.org>
51437         * sysdeps/i386/fpu/libm-test-ulps: Update.
51439 2013-07-02  David S. Miller  <davem@davemloft.net>
51441         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51443 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
51445         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51447 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
51449         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
51450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51452 2013-07-02  Andi Kleen <ak@linux.intel.com>
51454         * config.h.in (ENABLE_LOCK_ELISION): Add.
51455         * configure.in (--enable-lock-elision): Add option.
51456         * manual/install.texi: Document --enable lock elision.
51457         * configure: Regenerate
51458         * INSTALL: Regenerate.
51460 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
51462         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
51463         SSE4.2 strcasecmp for libc.a.
51464         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
51466 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
51468         [BZ #13304]
51469         * soft-fp/op-common.h (_FP_FMA): New macro.
51470         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
51471         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
51472         (_FP_MUL_MEAT_1_imm): ... here.
51473         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
51474         (_FP_MUL_MEAT_1_wide): ... here.
51475         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
51476         (_FP_MUL_MEAT_1_hard): ... here.
51477         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
51478         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
51479         (_FP_MUL_MEAT_2_wide): ... here.
51480         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
51481         (_FP_MUL_MEAT_2_wide_3mul): ... here.
51482         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
51483         (_FP_MUL_MEAT_2_gmp): ... here.
51484         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
51485         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
51486         (_FP_MUL_MEAT_4_wide): ... here.
51487         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
51488         (_FP_MUL_MEAT_4_gmp): ... here.
51489         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
51490         (_FP_WFRACBITS_DW_S): Likewise.
51491         (_FP_WFRACXBITS_DW_S): Likewise.
51492         (_FP_HIGHBIT_DW_S): Likewise.
51493         (FP_FMA_S): Likewise.
51494         (_FP_FRAC_HIGH_DW_S): Likewise.
51495         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
51496         (_FP_WFRACBITS_DW_D): Likewise.
51497         (_FP_WFRACXBITS_DW_D): Likewise.
51498         (_FP_HIGHBIT_DW_D): Likewise.
51499         (FP_FMA_D): Likewise.
51500         (_FP_FRAC_HIGH_DW_D): Likewise.
51501         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
51502         (_FP_WFRACBITS_DW_E): Likewise.
51503         (_FP_WFRACXBITS_DW_E): Likewise.
51504         (_FP_HIGHBIT_DW_E): Likewise.
51505         (FP_FMA_E): Likewise.
51506         (_FP_FRAC_HIGH_DW_E): Likewise.
51507         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
51508         (_FP_WFRACBITS_DW_Q): Likewise.
51509         (_FP_WFRACXBITS_DW_Q): Likewise.
51510         (_FP_HIGHBIT_DW_Q): Likewise.
51511         (FP_FMA_Q): Likewise.
51512         (_FP_FRAC_HIGH_DW_Q): Likewise.
51513         * soft-fp/fmasf4.c: New file.
51514         * soft-fp/fmadf4.c: Likewise.
51515         * soft-fp/fmatf4.c: Likewise.
51517 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51519         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
51520         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
51521         Silvermont.
51522         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
51523         macro.
51524         (index_Slow_SSE4_2): Likewise.
51525         (index_Prefer_PMINUB_for_stringop): Likewise.
51526         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
51527         bit_Slow_SSE4_2 is set.
51528         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
51529         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51531 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51533         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
51534         rtld_global._dl_hwcap2.
51535         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
51536         POWER8.
51537         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
51538         POWER8 feature descriptions defined in _dl_hwcap2.
51539         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
51540         string handling for POWER8 feature bits.
51541         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
51542         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
51543         _dl_powerpc_cap_flags.
51544         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
51545         * sysdeps/powerpc/rtld-global-offsets.sym
51546         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
51547         _dl_hwcap2 in the rtld_global_ro structure.
51549 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51551         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
51552         hardware capabilities in support of AT_HWCAP2.
51553         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
51554         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
51555         GLRO(dl_hwcap2).
51556         (_dl_show_auxv): Add support for calling _dl_procinfo to display
51557         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
51558         explicitly the unknown a_type display mechanism is used.
51559         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
51560         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
51561         struct member.
51562         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
51563         to macro prototype for AT_HWCAP2 support.
51564         * sysdeps/i386/dl-procinfo.h: Likewise.
51565         * sysdeps/s390/dl-procinfo.h: Likewise.
51566         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
51567         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
51568         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
51569         return -1 for unknown a_type display fallback.
51570         * sysdeps/sparc/dl-procinfo.h: Likewise.
51571         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
51572         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
51574 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
51576         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
51577         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
51579 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
51581         [BZ #12492]
51582         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
51583         mprotect making __stack_prot writable.
51585 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
51586             Joseph Myers  <joseph@codesourcery.com>
51588         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
51589         as being properly aligned.
51591 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
51593         * dlfcn/modstatic5.c: New file.
51594         * dlfcn/tststatic5.c: New file.
51595         * dlfcn/Makefile (tests): Add tststatic5.
51596         (tests-static): Likewise.
51597         (modules-names): Add modstatic5.
51598         (tststatic5-ENV): New variable.
51599         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
51601         [BZ #15022]
51602         * elf/dl-support.c (_dl_main_map): New variable.
51603         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
51604         (_dl_nns, _dl_load_adds): Set to 1.
51605         (_dl_initial_searchlist): Refer to _dl_main_map.
51606         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
51607         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
51608         call to _dl_get_origin.
51609         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
51610         around call_map.
51611         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
51612         * dlfcn/modstatic3.c: New file.
51613         * dlfcn/tststatic3.c: New file.
51614         * dlfcn/tststatic4.c: New file.
51615         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
51616         (tests-static): Likewise.
51617         (modules-names): Add modstatic3.
51618         (tststatic3-ENV, tststatic4-ENV): New variables.
51619         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
51620         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
51622 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
51624         * configure.in (CC): Require GCC version 4.4 or later.
51625         * configure: Regenerated.
51626         * manual/install.texi (Tools for Compilation): Update GCC version
51627         requirement.
51628         * INSTALL: Regenerated.
51630 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51632         [BZ #15674]
51633         * string/test-memcmp.c (check2): New.
51634         (main): Call check2.
51636         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
51638 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
51640         [BZ #15022]
51641         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
51642         over to...
51643         (dl_open_worker) [!SHARED]: ... here.
51645 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51647         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
51649 2013-06-25  Richard Henderson  <rth@redhat.com>
51651         * locale/programs/locarchive.c: Include <libc-internal.h>
51653 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
51655         * manual/texinfo.tex: Update to version 2013-06-21.17, with
51656         trailing whitespace removed.
51658 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
51660         [BZ #10283]
51661         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
51662         * locale/programs/locarchive.c: Include libc-mmap.h.
51663         (prepare_address_space): Take two new outputs (the mmap base and len).
51664         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
51665         values.
51666         (create_archive): Declare new mmap base and len values for
51667         prepare_address_space, and store the result in ah.
51668         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
51669         (enlarge_archive): If ah->mmap_base is not NULL, use that and
51670         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
51671         Declare new mmap base and len values for
51672         prepare_address_space, and store the result in new_ah.
51673         (open_archive): Declare new mmap base and len values for
51674         prepare_address_space, and store the result in ah.
51675         (close_archive): If ah->mmap_base is not NULL, use that and
51676         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
51677         * sysdeps/generic/libc-mmap.h: New file.
51679 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
51681         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
51682         (ALIGN_UP): Likewise.
51683         (PTR_ALIGN_DOWN): Likewise.
51684         (PTR_ALIGN_UP): Likewise.
51686 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51688         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
51689         entry mapped to PPC_PLATFORM_POWER8.
51690         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
51691         POWER8.
51692         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
51693         (_dl_string_platform): Add case for exporting platform position for
51694         POWER8.
51695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
51696         search path to sysdeps/powerpc/powerpc32/power8 directory.
51697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
51698         search path to sysdeps/powerpc/powerpc64/power8 directory.
51699         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
51700         power7 directories.
51701         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
51702         power7 directories.
51704 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
51706         * INSTALL: Regenerate.
51708         * nscd/connections.c (nscd_init): Fix comment.
51710 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
51712         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
51714         [BZ #15667]
51715         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
51716         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
51718 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
51720         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
51721         DL_DST_REQ_STATIC.
51722         (DL_DST_REQ_STATIC): Remove macro.
51724 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
51726         [BZ #7006]
51727         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
51728         with a shift of 0 bits.
51730 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
51732         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
51733         $(tststatic-ENV).
51735 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51737         [BZ #15655]
51738         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
51740 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51742         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
51743         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
51744         accepts -fno-tree-loop-distribute-patterns.
51745         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
51746         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
51747         recursive call.
51748         * string/memset.c (memset): Likewise.
51749         * string/test-memmove.c (simple_memmove): Disable loop transformation
51750         to library calls.
51751         * string/test-memset.c (simple_memset): Likewise.
51752         * benchtests/bench-memmove.c (simple_memmove): Likewise.
51753         * benchtests/bench-memset.c (simple_memset): Likewise.
51754         * configure: Regenerated.
51756 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
51758         * math/test-misc.c (main): Ignore fesetround failure when failures
51759         of subsequent rounding tests would be ignored.
51761         [BZ #15654]
51762         * math/fedisblxcpt.c (fedisableexcept): Return 0.
51763         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
51764         * math/fegetenv.c (__fegetenv): Return 0.
51765         * math/fegetexcept.c (fegetexcept): Return 0.
51766         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
51767         FE_TONEAREST.
51768         * math/feholdexcpt.c (feholdexcept): Return 0.
51769         * math/fesetenv.c (__fesetenv): Return 0.
51770         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
51771         argument FE_TONEAREST.
51772         * math/feupdateenv.c (__feupdateenv): Return 0.
51773         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
51775 2013-06-18  Roland McGrath  <roland@hack.frob.com>
51777         * elf/rtld-Rules (rtld-compile-command.S): New variable.
51778         (rtld-compile-command.s, rtld-compile-command.c): New variables.
51779         ($(objpfx)rtld-%.os rules): Use them.
51781 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51783         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
51784         fields.
51786 2013-06-17  Roland McGrath  <roland@hack.frob.com>
51788         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
51789         length of target pattern, then descending length of dependency pattern.
51790         * configure.in (AWK): Require gawk 3.1.2 or newer.
51791         * manual/install.texi (Tools for Compilation): Say that we do.
51792         * configure: Regenerated.
51794         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
51795         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
51796         * scripts/sysd-rules.awk: ... this new script.
51797         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
51798         than a glob-style pattern.
51800 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
51802         * math/test-misc.c (main): Do not treat incorrectly rounded
51803         conversions as failure unless ROUNDING_TESTS passes.
51805 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
51807         [BZ #15631]
51808         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
51809         restore exception state around main square root computation, then
51810         check for inexactness explicitly.
51812         * math/libm-test.inc (fma_test_data): Add another test.
51814 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51816         * manual/threads.texi (Non-POSIX Extensions): New document
51817         node.  Document pthread_getattr_default_np and
51818         pthread_setattr_default_np.
51820         * Versions.def (libpthread): Add GLIBC_2.18.
51821         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
51822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
51823         Likewise.
51824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
51825         Likewise.
51826         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
51827         Likewise.
51828         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
51829         Likewise.
51830         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
51831         Likewise.
51832         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
51833         Likewise.
51834         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
51835         Likewise.
51836         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
51837         Likewise.
51838         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
51839         Likewise.
51841 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51843         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51844         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
51846 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
51847             H.J. Lu  <hjl.tools@gmail.com>
51849         [BZ #15627]
51850         * sysdeps/x86_64/rtld-memset.c: Remove file.
51851         * sysdeps/x86_64/rtld-memset.S: New file.
51853 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
51855         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
51856         (test_in_one_mode): Take arguments for whether the rounding mode
51857         is supported for each floating-point type.
51858         (do_test): Pass new arguments to test_in_one_mode using
51859         ROUNDING_TESTS.
51861 2013-06-13  Roland McGrath  <roland@hack.frob.com>
51863         * posix/tst-waitid.c (do_test): Distinguish different instances of
51864         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
51865         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
51866         before entering the kernel for waitpid.
51868 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
51870         * NEWS: Fix note on clock function precision.  Text by Roland
51871         McGrath.
51873 2013-06-13  Roland McGrath  <roland@hack.frob.com>
51875         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
51876         it into place only when and if the sanity check passes.
51878 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
51880         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
51881         output for whether conversion result is exact.  Take argument
51882         indicating whether type is IBM long double.
51883         (round_for_all): Change need_exact field to ibm_ld.
51884         * stdlib/tst-strtod-round.c (struct exactness): New type.
51885         (struct test): Change bool ld_ok field to struct exactness exact.
51886         (TEST): Update all definitions for change to field.
51887         (tests): Regenerate array contents.
51888         (test_in_one_mode): Take pointer to new field instead of old ld_ok
51889         field value.  Check for IBM long double here.
51890         (do_test): Update calls to test_in_one_mode.
51892 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
51894         [BZ #12515]
51895         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
51896         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
51898 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51900         [BZ #15605]
51901         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
51902         generated by the compiler on loop optimizations.
51903         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
51904         general definitions.
51906 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
51908         * math/bug-nextafter.c: Include <math-tests.h>.
51909         (main): Only test for exceptions if EXCEPTION_TESTS is true for
51910         the relevant type.
51911         * math/bug-nexttoward.c: Include <math-tests.h>.
51912         (main): Only test for exceptions if EXCEPTION_TESTS is true for
51913         the relevant type.
51914         * math/test-misc.c: Include <math-tests.h>.
51915         (main): Only test for exceptions if EXCEPTION_TESTS is true for
51916         the relevant type.
51918 2013-06-12  Andreas Jaeger  <aj@suse.de>
51920         * po/ia.po: Update Interlingua translation from translation
51921         project.
51923 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
51925         * include/fenv.h: Include stdbool.h.
51926         (struct rm_ctx): New structure.
51927         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
51928         Define macro.
51929         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
51930         (SET_RESTORE_ROUNDF): Likewise.
51931         (SET_RESTORE_ROUNDL): Likewise.
51932         (SET_RESTORE_ROUND_NOEX): Likewise.
51933         (SET_RESTORE_ROUND_NOEXF): Likewise.
51934         (SET_RESTORE_ROUND_NOEXL): Likewise.
51935         (SET_RESTORE_ROUND_53BIT): Likewise.
51936         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
51937         (libc_feresetround_noexf_ctx): Likewise.
51938         (libc_feresetround_noexl_ctx): Likewise.
51939         (libc_feholdsetround_53bit_ctx): Likewise.
51940         (libc_feresetround_53bit_ctx): Likewise.
51941         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
51942         (libc_feholdexcept_setround_sse_ctx): New function.
51943         (libc_fesetenv_sse_ctx): Likewise.
51944         (libc_feupdateenv_sse_ctx): Likewise.
51945         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
51946         (libc_feholdexcept_setround_387_ctx): Likewise.
51947         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
51948         (libc_feholdsetround_387_prec_ctx): Likewise.
51949         (libc_feholdsetround_387_ctx): Likewise.
51950         (libc_feholdsetround_387_53bit_ctx): Likewise.
51951         (libc_feholdsetround_sse_ctx): Likewise.
51952         (libc_feresetround_sse_ctx): Likewise.
51953         (libc_feresetround_387_ctx): Likewise.
51954         (libc_feupdateenv_387_ctx): Likewise.
51955         (libc_feholdexcept_setroundf_ctx): Define macro.
51956         (libc_fesetenvf_ctx): Likewise.
51957         (libc_feupdateenvf_ctx): Likewise.
51958         (libc_feholdsetroundf_ctx): Likewise.
51959         (libc_feresetroundf_ctx): Likewise.
51960         (libc_feholdexcept_setround_ctx): Likewise.
51961         (libc_fesetenv_ctx): Likewise.
51962         (libc_feupdateenv_ctx): Likewise.
51963         (libc_feholdsetround_ctx): Likewise.
51964         (libc_feresetround_ctx): Likewise.
51965         (libc_feholdexcept_setroundl_ctx): Likewise.
51966         (libc_feupdateenvl_ctx): Likewise.
51967         (libc_feholdsetroundl_ctx): Likewise.
51968         (libc_feresetroundl_ctx): Likewise.
51969         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
51970         (libc_feresetround_53bit_ctx): Likewise.
51972 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51974         * locale/iso-639.def: Convert to UTF-8.
51976 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
51978         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
51979         (EXCEPTION_TESTS_double): Likewise.
51980         (EXCEPTION_TESTS_long_double): Likewise.
51981         (EXCEPTION_TESTS): Likewise.
51982         * math/libm-test.inc (test_exceptions): Only test exceptions if
51983         EXCEPTION_TESTS (FLOAT).
51985 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51987         * benchtests/Makefile (string-bench): Add strcpy_chk and
51988         stpcpy_chk.
51989         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
51990         * benchtests/bench-stpcpy_chk.c: New file.
51991         * benchtests/bench-strcpy_chk-ifunc.c: New file.
51992         * benchtests/bench-strcpy_chk.c: New file.
51993         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
51994         code.
51995         (do_test): Likewise.
51997 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51999         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
52000         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
52001         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
52002         with tabs where appropriate.
52003         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
52004         dl-procinfo.h.
52005         [PPC_PLATFORM_PPC440]: Likewise.
52006         [PPC_PLATFORM_PPC464]: Likewise.
52007         [PPC_PLATFORM_PPC476]: Likewise.
52008         (_dl_string_platform): Add support for detecting ppc405, ppc440,
52009         ppc464, and ppc476 platform strings merging from ports/
52010         dl-procinfo.h.
52012 2013-06-11  Andreas Schwab  <schwab@suse.de>
52014         [BZ #14991]
52015         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
52016         (from_ucs4_idx): Regenerate.
52017         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
52018         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
52019         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
52020         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
52021         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
52022         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
52023         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
52024         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
52025         from FROM_LOOP and TO_LOOP specific macros.
52026         (BODY): Handle combining characters.
52027         * iconvdata/BIG5HKSCS.irreversible: Update.
52028         * iconvdata/BIG5HKSCS.precomposed: New file.
52029         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
52030         characters.
52031         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
52033 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52035         * include/sys/time.h: Fix indentation and add copyright header.
52037         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
52038         (do_test): Likewise.
52039         * string/test-memchr.c (do_one_test): Likewise.
52040         (do_test): Likewise.
52041         * string/test-memcmp.c (do_one_test): Likewise.
52042         (do_test): Likewise.
52043         * string/test-memcpy.c (do_one_test): Likewise.
52044         (do_test): Likewise.
52045         * string/test-memmem.c (do_one_test): Likewise.
52046         (do_test): Likewise.
52047         (do_random_tests): Likewise.
52048         * string/test-memmove.c (do_one_test): Likewise.
52049         (do_test): Likewise.
52050         * string/test-memset.c (do_one_test): Likewise.
52051         (do_test): Likewise.
52052         * string/test-rawmemchr.c (do_one_test): Likewise.
52053         (do_test): Likewise.
52054         * string/test-strcasecmp.c (do_one_test): Likewise.
52055         (do_test): Likewise.
52056         * string/test-strcasestr.c (do_one_test): Likewise.
52057         (do_test): Likewise.
52058         * string/test-strcat.c (do_one_test): Likewise.
52059         (do_test): Likewise.
52060         * string/test-strchr.c (do_one_test): Likewise.
52061         (do_test): Likewise.
52062         * string/test-strcmp.c (do_one_test): Likewise.
52063         (do_test): Likewise.
52064         * string/test-strcpy.c (do_one_test): Likewise.
52065         (do_test): Likewise.
52066         * string/test-string.h: Likewise.
52067         (test_init): Likewise.
52068         * string/test-strlen.c (do_one_test): Likewise.
52069         (do_test): Likewise.
52070         * string/test-strncasecmp.c (do_one_test): Likewise.
52071         (do_test): Likewise.
52072         * string/test-strncat.c (do_one_test): Likewise.
52073         (do_test): Likewise.
52074         * string/test-strncmp.c (do_one_test): Likewise.
52075         (do_test_limit): Likewise.
52076         (do_test): Likewise.
52077         * string/test-strncpy.c (do_one_test): Likewise.
52078         (do_test): Likewise.
52079         * string/test-strnlen.c (do_one_test): Likewise.
52080         (do_test): Likewise.
52081         * string/test-strpbrk.c (do_one_test): Likewise.
52082         (do_test): Likewise.
52083         * string/test-strrchr.c (do_one_test): Likewise.
52084         (do_test): Likewise.
52085         * string/test-strspn.c (do_one_test): Likewise.
52086         (do_test): Likewise.
52087         * string/test-strstr.c (do_one_test): Likewise.
52088         (do_test): Likewise.
52090         * benchtests/Makefile (string-bench): Add string benchmarks.
52091         * benchtests/bench-bcopy-ifunc.c: New file.
52092         * benchtests/bench-bcopy.c: New file.
52093         * benchtests/bench-bzero-ifunc.c: New file.
52094         * benchtests/bench-bzero.c: New file.
52095         * benchtests/bench-memccpy-ifunc.c: New file.
52096         * benchtests/bench-memccpy.c: New file.
52097         * benchtests/bench-memchr-ifunc.c: New file.
52098         * benchtests/bench-memchr.c: New file.
52099         * benchtests/bench-memcmp-ifunc.c: New file.
52100         * benchtests/bench-memcmp.c: New file.
52101         * benchtests/bench-memmem-ifunc.c: New file.
52102         * benchtests/bench-memmem.c: New file.
52103         * benchtests/bench-memmove-ifunc.c: New file.
52104         * benchtests/bench-memmove.c: New file.
52105         * benchtests/bench-mempcpy-ifunc.c: New file.
52106         * benchtests/bench-mempcpy.c: New file.
52107         * benchtests/bench-memset-ifunc.c: New file.
52108         * benchtests/bench-memset.c: New file.
52109         * benchtests/bench-rawmemchr-ifunc.c: New file.
52110         * benchtests/bench-rawmemchr.c: New file.
52111         * benchtests/bench-stpcpy-ifunc.c: New file.
52112         * benchtests/bench-stpcpy.c: New file.
52113         * benchtests/bench-stpncpy-ifunc.c: New file.
52114         * benchtests/bench-stpncpy.c: New file.
52115         * benchtests/bench-strcasecmp-ifunc.c: New file.
52116         * benchtests/bench-strcasecmp.c: New file.
52117         * benchtests/bench-strcasestr-ifunc.c: New file.
52118         * benchtests/bench-strcasestr.c: New file.
52119         * benchtests/bench-strcat-ifunc.c: New file.
52120         * benchtests/bench-strcat.c: New file.
52121         * benchtests/bench-strchr-ifunc.c: New file.
52122         * benchtests/bench-strchr.c: New file.
52123         * benchtests/bench-strchrnul-ifunc.c: New file.
52124         * benchtests/bench-strchrnul.c: New file.
52125         * benchtests/bench-strcmp-ifunc.c: New file.
52126         * benchtests/bench-strcmp.c: New file.
52127         * benchtests/bench-strcpy-ifunc.c: New file.
52128         * benchtests/bench-strcpy.c: New file.
52129         * benchtests/bench-strcspn-ifunc.c: New file.
52130         * benchtests/bench-strcspn.c: New file.
52131         * benchtests/bench-strlen-ifunc.c: New file.
52132         * benchtests/bench-strlen.c: New file.
52133         * benchtests/bench-strncasecmp-ifunc.c: New file.
52134         * benchtests/bench-strncasecmp.c: New file.
52135         * benchtests/bench-strncat-ifunc.c: New file.
52136         * benchtests/bench-strncat.c: New file.
52137         * benchtests/bench-strncmp-ifunc.c: New file.
52138         * benchtests/bench-strncmp.c: New file.
52139         * benchtests/bench-strncpy-ifunc.c: New file.
52140         * benchtests/bench-strncpy.c: New file.
52141         * benchtests/bench-strnlen-ifunc.c: New file.
52142         * benchtests/bench-strnlen.c: New file.
52143         * benchtests/bench-strpbrk-ifunc.c: New file.
52144         * benchtests/bench-strpbrk.c: New file.
52145         * benchtests/bench-strrchr-ifunc.c: New file.
52146         * benchtests/bench-strrchr.c: New file.
52147         * benchtests/bench-strspn-ifunc.c: New file.
52148         * benchtests/bench-strspn.c: New file.
52149         * benchtests/bench-strstr-ifunc.c: New file.
52150         * benchtests/bench-strstr.c: New file.
52152         * benchtests/Makefile: Disable parallel execution of targets.
52153         (string-bench): Add memcpy.
52154         (benchset): New variable to store a list of benchmark sets.
52155         (bench-func): Renamed from bench.
52156         (bench-set): New target.
52157         (bench): Depend on bench-func and bench-set.
52158         * benchtests/README: Add section on benchmark sets.
52159         * benchtests/bench-memcpy-ifunc.c: New file.
52160         * benchtests/bench-memcpy.c: New file.
52161         * benchtests/bench-string.h: New file.
52163 2013-06-11  Andreas Schwab  <schwab@suse.de>
52165         [BZ #15577]
52166         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
52167         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
52168         values in the triple.
52169         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
52170         terminator in the group key.
52172 2013-06-11  Andreas Jaeger  <aj@suse.de>
52174         * po/zh_TW.po: Update Chinese (traditional) translation from
52175         translation project.
52177 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52179         * include/time.h (__clock_gettime): Add libc_hidden_proto.
52180         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
52181         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
52182         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
52183         (clock_getcpuclockid): Likewise.
52184         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
52185         Add weak_alias and libc_hidden_def.
52186         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
52187         * rt/clock_gettime.c (clock_gettime): Rename to
52188         __clock_gettime.  Add weak_alias and libc_hidden_def.
52189         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
52190         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
52191         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
52192         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
52193         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
52194         Likewise.
52195         * rt/clock_settime.c (clock_settime): Rename to
52196         __clock_settime.  Add weak_alias and libc_hidden_def.
52197         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
52199 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
52201         * mach/err_boot.sub: Remove trailing whitespace.
52202         * mach/err_ipc.sub: Likewise.
52203         * mach/err_mach.sub: Likewise.
52205         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
52206         (ROUNDING_TESTS_double): Likewise.
52207         (ROUNDING_TESTS_long_double): Likewise.
52208         (ROUNDING_TESTS): Likewise.
52209         * math/libm-test.inc: Include <math-tests.h>.
52210         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
52211         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
52212         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
52213         (IF_ROUND_INIT_FE_UPWARD): Likewise.
52215 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52217         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
52218         of assigning.
52220 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
52222         * sysdeps/gnu/errlist.awk: Do not generate space at end of
52223         otherwise empty TRANS lines.
52224         * sysdeps/gnu/errlist.c: Regenerated.
52226         * catgets/gencat.c (error_print): Use (void) in function
52227         definition.
52228         * crypt/crypt_util.c (__init_des): Likewise.
52229         * crypt/speeds.c (Stop): Likewise.
52230         (main): Likewise.
52231         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
52232         * inet/ruserpass.c (token): Likewise.
52233         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
52234         * intl/localealias.c (extend_alias_table): Likewise.
52235         * intl/plural-exp.c (init_germanic_plural): Likewise.
52236         * libio/fcloseall.c (__fcloseall): Likewise.
52237         * libio/genops.c (_IO_flush_all): Likewise.
52238         (_IO_flush_all_linebuffered): Likewise.
52239         (_IO_cleanup): Likewise.
52240         (_IO_iter_begin): Likewise.
52241         (_IO_iter_end): Likewise.
52242         (_IO_list_lock): Likewise.
52243         (_IO_list_unlock): Likewise.
52244         (_IO_list_resetlock): Likewise.
52245         * libio/getchar.c (getchar): Likewise.
52246         * libio/getchar_u.c (getchar_unlocked): Likewise.
52247         * libio/getwchar.c (getwchar): Likewise.
52248         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
52249         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
52250         * login/getpt.c (__getpt): Likewise.
52251         * login/tst-utmp.c (main): Likewise.
52252         * malloc/hooks.c (__malloc_check_init): Likewise.
52253         * malloc/malloc.c (__malloc_stats): Likewise.
52254         * malloc/mtrace.c (tr_break): Likewise.
52255         (mtrace): Likewise.
52256         (muntrace): Likewise.
52257         * misc/fstab.c (endfsent): Likewise.
52258         * misc/getclktck.c (__getclktck): Likewise.
52259         * misc/getdtsz.c (__getdtablesize): Likewise.
52260         * misc/gethostid.c (gethostid): Likewise.
52261         * misc/getpagesize.c (__getpagesize): Likewise.
52262         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
52263         (__get_nprocs): Likewise.
52264         (__get_phys_pages): Likewise.
52265         (__get_avphys_pages): Likewise.
52266         * misc/getttyent.c (getttyent): Likewise.
52267         (setttyent): Likewise.
52268         (endttyent): Likewise.
52269         * misc/getusershell.c (getusershell): Likewise.
52270         (endusershell): Likewise.
52271         (setusershell): Likewise.
52272         (initshells): Likewise.
52273         * misc/hsearch.c (__hdestroy): Likewise.
52274         * misc/sync.c (sync): Likewise.
52275         * misc/syslog.c (closelog_internal): Likewise.
52276         (closelog): Likewise.
52277         * misc/ttyslot.c (ttyslot): Likewise.
52278         * misc/vhangup.c (vhangup): Likewise.
52279         * posix/fork.c (__fork): Likewise.
52280         * posix/getegid.c (__getegid): Likewise.
52281         * posix/geteuid.c (__geteuid): Likewise.
52282         * posix/getgid.c (__getgid): Likewise.
52283         * posix/getpid.c (__getpid): Likewise.
52284         * posix/getppid.c (__getppid): Likewise.
52285         * posix/getuid.c (__getuid): Likewise.
52286         * posix/pause.c (pause): Likewise.
52287         * posix/setpgrp.c (setpgrp): Likewise.
52288         * posix/setsid.c (__setsid): Likewise.
52289         * posix/test-vfork.c (noop): Likewise.
52290         * resolv/gethnamaddr.c (_endhtent): Likewise.
52291         (_gethtent): Likewise.
52292         (ht_endhostent): Likewise.
52293         (gethostent): Likewise.
52294         (dns_service): Likewise.
52295         * stdlib/drand48.c (drand48): Likewise.
52296         * stdlib/lrand48.c (lrand48): Likewise.
52297         * stdlib/mrand48.c (mrand48): Likewise.
52298         * stdlib/rand.c (rand): Likewise.
52299         * stdlib/random.c (__random): Likewise.
52300         * stdlib/setenv.c (clearenv): Likewise.
52301         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
52302         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
52303         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
52304         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
52305         (__get_nprocs): Likewise.
52306         (__get_phys_pages): Likewise.
52307         (__get_avphys_pages): Likewise.
52308         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
52309         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
52310         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
52311         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
52312         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
52313         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
52314         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
52315         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
52316         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
52317         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
52318         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
52319         * sysdeps/mach/hurd/sync.c (sync): Likewise.
52320         * sysdeps/posix/clock.c (clock): Likewise.
52321         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
52322         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
52323         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
52324         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
52325         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
52326         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
52327         (__get_nprocs_conf): Likewise.
52328         (__get_phys_pages): Likewise.
52329         (__get_avphys_pages): Likewise.
52330         * time/clock.c (clock): Likewise.
52331         * time/tzset.c (__tzname_max): Likewise.
52333 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
52335         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
52336         (__bswap_32): Do not use "register".
52337         * crypt/crypt.c (_ufc_doit_r): Likewise.
52338         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
52339         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
52340         * gmon/gmon.c (__monstartup): Likewise.
52341         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
52342         * hurd/hurdmalloc.c (more_memory): Likewise.
52343         (malloc): Likewise.
52344         (free): Likewise.
52345         (realloc): Likewise.
52346         (malloc_fork_prepare): Likewise.
52347         (malloc_fork_parent): Likewise.
52348         (malloc_fork_child): Likewise.
52349         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
52350         (_svcauth_des): Likewise.
52351         * inet/inet_lnaof.c (inet_lnaof): Likewise.
52352         * inet/inet_net.c (inet_network): Likewise.
52353         * inet/inet_netof.c (inet_netof): Likewise.
52354         * inet/rcmd.c (__validuser2_sa): Likewise.
52355         * io/fts.c (fts_open): Likewise.
52356         (fts_load): Likewise.
52357         (fts_close): Likewise.
52358         (fts_read): Likewise.
52359         (fts_children): Likewise.
52360         (fts_build): Likewise.
52361         (fts_stat): Likewise.
52362         (fts_sort): Likewise.
52363         (fts_alloc): Likewise.
52364         (fts_lfree): Likewise.
52365         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
52366         (_IO_file_xsgetn): Likewise.
52367         (_IO_file_xsgetn_mmap): Likewise.
52368         * libio/iofopncook.c (_IO_cookie_read): Likewise.
52369         (_IO_cookie_write): Likewise.
52370         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
52371         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
52372         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
52373         * malloc/obstack.c (_obstack_begin): Likewise.
52374         (_obstack_begin_1): Likewise.
52375         (_obstack_newchunk): Likewise.
52376         (_obstack_allocated_p): Likewise.
52377         (obstack_free): Likewise.
52378         (_obstack_memory_used): Likewise.
52379         * misc/getttyent.c (getttynam): Likewise.
52380         (getttyent): Likewise.
52381         (skip): Likewise.
52382         (value): Likewise.
52383         * misc/getusershell.c (initshells): Likewise.
52384         * misc/syslog.c (__vsyslog_chk): Likewise.
52385         * misc/ttyslot.c (ttyslot): Likewise.
52386         * nis/nis_hash.c (__nis_hash): Likewise.
52387         * posix/fnmatch_loop.c (FCT): Likewise.
52388         * posix/getconf.c (print_all): Likewise.
52389         (main): Likewise.
52390         * posix/getopt.c (exchange): Likewise.
52391         * posix/glob.c (globfree): Likewise.
52392         (prefix_array): Likewise.
52393         (__glob_pattern_type): Likewise.
52394         * resolv/arpa/nameser.h (NS_GET16): Likewise.
52395         (NS_GET32): Likewise.
52396         (NS_PUT16): Likewise.
52397         (NS_PUT32): Likewise.
52398         * resolv/gethnamaddr.c (getanswer): Likewise.
52399         (gethostbyname2): Likewise.
52400         (gethostbyaddr): Likewise.
52401         (_gethtent): Likewise.
52402         (_gethtbyname2): Likewise.
52403         (_gethtbyaddr): Likewise.
52404         * resolv/ns_print.c (dst_s_get_int16): Likewise.
52405         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
52406         * resolv/res_init.c (__res_vinit): Likewise.
52407         (net_mask): Likewise.
52408         * resolv/res_mkquery.c (outchar): Likewise.
52409         (PRINT): Likewise.
52410         * stdio-common/printf_fp.c (outchar): Likewise.
52411         (PRINT): Likewise.
52412         * stdio-common/printf_fphex.c (outchar): Likewise.
52413         (PRINT): Likewise.
52414         * stdio-common/printf_size.c (outchar): Likewise.
52415         (PRINT): Likewise.
52416         * stdio-common/test_rdwr.c (main): Likewise.
52417         * stdio-common/tfformat.c (matches): Likewise.
52418         * stdio-common/vfprintf.c (outchar): Likewise.
52419         (printf_unknown): Likewise.
52420         (buffered_vfprintf): Likewise.
52421         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
52422         * stdio-common/xbug.c (AppendToBuffer): Likewise.
52423         (ReadFile): Likewise.
52424         * stdlib/qsort.c (SWAP): Likewise.
52425         (_quicksort): Likewise.
52426         * stdlib/setenv.c (__add_to_environ): Likewise.
52427         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
52428         * stdlib/strtol_l.c (__strtol_l): Likewise.
52429         * stdlib/tst-strtod.c (main): Likewise.
52430         * stdlib/tst-strtol.c (main): Likewise.
52431         * stdlib/tst-strtoll.c (main): Likewise.
52432         * string/bits/string2.h (__strcmp_cc): Likewise.
52433         (__strcmp_cg): Likewise.
52434         (__strcspn_c1): Likewise.
52435         (__strcspn_c2): Likewise.
52436         (__strcspn_c3): Likewise.
52437         (__strspn_c1): Likewise.
52438         (__strspn_c2): Likewise.
52439         (__strspn_c3): Likewise.
52440         (__strsep_1c): Likewise.
52441         (__strsep_2c): Likewise.
52442         (__strsep_3c): Likewise.
52443         * string/memccpy.c (__memccpy): Likewise.
52444         * string/stpcpy.c (__stpcpy): Likewise.
52445         * string/strcmp.c (strcmp): Likewise.
52446         * string/strrchr.c (strrchr): Likewise.
52447         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
52448         Likewise.
52449         * sysdeps/mach/hurd/getcwd.c
52450         (_hurd_canonicalize_directory_name_internal): Likewise.
52451         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
52452         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
52453         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
52454         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
52455         Likewise, in both definitions.
52456         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
52457         definitions.
52458         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
52459         64] (__bswap_64): Likewise.
52460         * time/test_time.c (main): Likewise.
52461         * time/tzfile.c (__tzfile_read): Likewise.
52462         (__tzfile_compute): Likewise.
52463         * time/tzset.c (__tzset_parse_tz): Likewise.
52464         (tzset_internal): Likewise.
52465         (compute_change): Likewise.
52466         * wcsmbs/wcscat.c (__wcscat): Likewise.
52467         * wcsmbs/wcschr.c (wcschr): Likewise.
52468         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
52469         * wcsmbs/wcscspn.c (wcscspn): Likewise.
52470         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
52471         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
52472         * wcsmbs/wcsspn.c (wcsspn): Likewise.
52473         * wcsmbs/wcsstr.c (wcsstr): Likewise.
52474         * wcsmbs/wmemchr.c (wmemchr): Likewise.
52475         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
52476         * wcsmbs/wmemset.c (wmemset): Likewise.
52478 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
52480         * scripts/config.guess: Update to version 2013-05-16.
52481         * scripts/config.sub: Update to version 2013-04-24.
52482         * scripts/install-sh: Update to version 2011-11-20.07.
52483         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
52484         * scripts/move-if-change: Update to version 2012-01-06 07:23.
52486 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
52488         * debug/fgetws_u_chk.c: Fix leading whitespaces.
52489         * elf/sln.c: Likewise.
52490         * hurd/hurd/ioctl.h: Likewise.
52491         * hurd/hurdmalloc.c: Likewise.
52492         * hurd/xattr.c: Likewise.
52493         * include/shlib-compat.h: Likewise.
52494         * inet/ruserpass.c: Likewise.
52495         * libio/iofgets_u.c: Likewise.
52496         * libio/iofgetws_u.c: Likewise.
52497         * locale/programs/ld-identification.c: Likewise.
52498         * locale/programs/ld-time.c: Likewise.
52499         * mach/msg-destroy.c: Likewise.
52500         * nss/nss_files/files-netgrp.c: Likewise.
52501         * resolv/res_data.c: Likewise.
52502         * soft-fp/op-1.h: Likewise.
52503         * soft-fp/op-2.h: Likewise.
52504         * soft-fp/op-4.h: Likewise.
52505         * soft-fp/op-common.h: Likewise.
52506         * stdio-common/printf_fphex.c: Likewise.
52507         * stdlib/strtod_l.c: Likewise.
52508         * sunrpc/rpc/clnt.h: Likewise.
52509         * sysdeps/generic/framestate.c: Likewise.
52510         * sysdeps/i386/bsd-_setjmp.S: Likewise.
52511         * sysdeps/i386/bsd-setjmp.S: Likewise.
52512         * sysdeps/i386/__longjmp.S: Likewise.
52513         * sysdeps/i386/setjmp.S: Likewise.
52514         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52515         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
52516         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52517         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
52518         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52519         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
52520         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
52521         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
52522         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
52523         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
52524         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
52525         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
52526         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
52527         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
52528         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
52529         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
52530         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
52531         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
52532         * sysdeps/ieee754/support.c: Likewise.
52533         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
52534         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
52535         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
52536         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
52537         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
52538         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
52539         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
52540         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
52541         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
52542         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
52543         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
52544         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
52545         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
52546         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
52547         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
52548         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
52549         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
52550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
52552 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
52554         * posix/transbug.c: Remove executable mode.
52556 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
52558         * crypt/speeds.c: Remove trailing whitespace.
52559         * dlfcn/default.c: Likewise.
52560         * elf/ifuncdep2.c: Likewise.
52561         * elf/ifuncmain1.c: Likewise.
52562         * elf/ifuncmain1vis.c: Likewise.
52563         * elf/testobj.h: Likewise.
52564         * elf/tst-stackguard1.c: Likewise.
52565         * gmon/sys/gmon.h: Likewise.
52566         * hurd/hurdmsg.c: Likewise.
52567         * hurd/new-fd.c: Likewise.
52568         * hurd/ports-get.c: Likewise.
52569         * iconvdata/ibm1008_420.c: Likewise.
52570         * inet/tst-getni1.c: Likewise.
52571         * inet/tst-getni2.c: Likewise.
52572         * libio/ioungetc.c: Likewise.
52573         * libio/wfiledoalloc.c: Likewise.
52574         * manual/libm-err-tab.pl: Likewise.
52575         * math/w_dremf.c: Likewise.
52576         * misc/ftruncate.c: Likewise.
52577         * posix/bug-glob2.c: Likewise.
52578         * posix/tst-pcre.c: Likewise.
52579         * posix/wait4.c: Likewise.
52580         * resolv/README: Likewise.
52581         * resolv/res_debug.h: Likewise.
52582         * resolv/tst-inet_ntop.c: Likewise.
52583         * setjmp/bug269-setjmp.c: Likewise.
52584         * soft-fp/extended.h: Likewise.
52585         * soft-fp/op-1.h: Likewise.
52586         * soft-fp/op-2.h: Likewise.
52587         * soft-fp/op-4.h: Likewise.
52588         * soft-fp/op-8.h: Likewise.
52589         * soft-fp/testit.c: Likewise.
52590         * stdio-common/bug16.c: Likewise.
52591         * stdlib/random.c: Likewise.
52592         * sunrpc/rpcsvc/rquota.x: Likewise.
52593         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
52594         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
52595         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52596         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
52597         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
52598         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
52599         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
52600         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
52601         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
52602         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52603         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
52604         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
52605         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
52606         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
52607         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
52608         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
52609         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
52610         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
52611         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
52612         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
52613         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
52614         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
52615         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
52616         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
52617         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
52618         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
52619         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
52620         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
52621         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
52622         * sysdeps/ieee754/s_lib_version.c: Likewise.
52623         * sysdeps/mach/hurd/check_fds.c: Likewise.
52624         * sysdeps/mach/hurd/getsockname.c: Likewise.
52625         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
52626         * sysdeps/mach/hurd/recvfrom.c: Likewise.
52627         * sysdeps/powerpc/bits/link.h: Likewise.
52628         * sysdeps/powerpc/dl-procinfo.c: Likewise.
52629         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
52630         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
52631         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
52632         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
52633         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
52634         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
52635         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
52636         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
52637         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
52638         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
52639         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
52640         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
52641         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
52642         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
52643         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
52644         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
52645         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
52646         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
52647         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
52648         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
52649         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
52650         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
52651         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
52652         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
52653         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
52654         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
52655         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
52656         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
52657         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
52658         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
52659         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
52660         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
52661         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52662         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
52663         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
52664         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
52665         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
52666         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
52667         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
52668         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
52669         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
52670         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
52671         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
52672         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
52673         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
52674         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
52675         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
52676         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
52677         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
52678         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52679         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
52680         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
52681         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
52682         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
52683         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
52684         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
52685         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
52686         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
52687         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
52688         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
52689         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
52690         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
52691         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
52692         * sysdeps/powerpc/sysdep.h: Likewise.
52693         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
52694         * sysdeps/s390/s390-64/sub_n.S: Likewise.
52695         * sysdeps/sh/dl-trampoline.S: Likewise.
52696         * sysdeps/sh/memset.S: Likewise.
52697         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
52698         * sysdeps/sh/strlen.S: Likewise.
52699         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
52700         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
52701         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
52702         * sysdeps/sparc/sparc32/rem.S: Likewise.
52703         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
52704         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
52705         * sysdeps/sparc/sparc32/strchr.S: Likewise.
52706         * sysdeps/sparc/sparc32/udiv.S: Likewise.
52707         * sysdeps/sparc/sparc32/urem.S: Likewise.
52708         * sysdeps/sparc/sparc64/add_n.S: Likewise.
52709         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
52710         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
52711         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
52712         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
52713         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
52714         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
52715         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
52716         * sysdeps/unix/bsd/times.c: Likewise.
52717         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
52718         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
52719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
52720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
52721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
52722         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
52723         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
52724         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
52725         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
52726         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
52727         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
52728         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
52729         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
52730         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
52731         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
52732         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
52733         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
52734         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
52735         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
52736         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
52737         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
52738         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
52739         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
52740         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
52741         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
52742         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
52743         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
52744         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
52745         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
52746         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
52747         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
52748         * sysdeps/x86_64/strcspn.S: Likewise.
52750 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52752         * locale/C-translit.h: Revert #include <stdint.h> because this is a
52753         generated file.  Regenerate properly from gen-translit.pl.
52754         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
52755         locale/C-translit.h.
52757 2013-06-05  Andreas Schwab  <schwab@suse.de>
52759         [BZ #15100]
52760         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
52761         week as 6 instead of -1.
52762         * time/tst-strptime.c (day_tests): Add test case.
52764 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
52766         * sysdeps/generic/math_private.h
52767         (libc_feholdexcept_setround_53bit): Replace with
52768         libc_feholdsetround_53bit.
52769         (libc_feupdateenv_53bit): Replace with
52770         libc_feresetround_53bit.
52771         (SET_RESTORE_ROUND_53BIT): Adjust.
52773 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
52775         * string/test-strchrnul.c: Add copyright header.
52777         * posix/tst-getaddrinfo4.c: Increase test timeout.
52779 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
52781         [BZ #15536]
52782         * math/libm-test.inc (MAX_EXP): Remove
52783         (MIN_EXP): Define.
52784         (ulp): Use MIN_EXP - MANT_DIG.
52785         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
52787 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
52789         * po/be.po: Revert last change.
52790         * po/zh_CN.po: Likewise.
52791         * po/header.pot: Likewise.
52793 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
52795         * Makefile ($(common-objpfx)linkobj/libc.so): Define
52796         link-libc-deps to empty as target-specific variable.
52797         * Makerules (link-libc-args): New variable.
52798         (libc-for-link): Likewise.
52799         (link-libc-deps): Likewise.
52800         (lib%.so): Depend on $(link-libc-deps).  Link with
52801         $(link-libc-args).
52802         (build-module): Link with $(link-libc-args).
52803         (build-module-asneeded): Likewise.
52804         (build-module-helper-objlist): Filter out $(link-libc-deps) from
52805         list of objects.
52806         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
52807         target-specific variable.
52808         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
52809         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
52810         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
52811         libc.
52812         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
52813         libc and ld.so.
52814         ($(objpfx)libpcprofile.so): Likewise.
52815         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
52816         libc_nonshared.a.
52817         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
52818         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
52819         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
52820         $(link-libc-deps).
52821         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
52822         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
52823         * login/Makefile ($(objpfx)libutil.so): Likewise.
52824         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
52825         * math/Makefile ($(objpfx)libm.so): Likewise.
52826         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
52827         $(objpfx)libnsl.so): Define libc-for-link as target-specific
52828         variable instead of depending directly on libc.
52829         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
52830         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
52831         $(link-libc-deps).
52832         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
52833         libc.
52834         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
52835         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
52836         ($(objpfx)libanl.so): Likewise.
52837         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
52838         ld.so.
52839         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
52840         $(link-libc-deps).
52841         * sysdeps/i386/fpu/Makefile: Remove file.
52842         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
52843         ($(objpfx)libm.so): Remove dependency on ld.so.
52845 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
52847         [BZ # 15553]
52848         * nis/yp_xdr.c (XDRMAXNAME): Define.
52849         (XDRMAXRECORD): Define.
52850         (xdr_domainname): Use XDRMAXNAME.
52851         (xdr_mapname): Likewise.
52852         (xdr_peername): Likewise.
52853         (xdr_keydat): Use XDRMAXRECORD.
52854         (xdr_valdat): Likewise.
52856 2013-05-30  Jeff Law  <law@redhat.com>
52858         [BZ #14256]
52859         * manual/errno.texi (ESTALE): Update to account for more than
52860         just NFS file systems.
52861         * sysdeps/gnu/errlist.c: Regenerated.
52863 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52865         [BZ #15465]
52866         * elf/Makefile (tests): Add tst-null-argv.
52867         (modules-names):  Add tst-null-argv-lib.
52868         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
52869         (tst-null-argv-ENV): Set environment for tst-null-argv.
52870         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
52871         (RTLD_PROGNAME): New macro.
52872         * elf/tst-null-argv.c: New test case.
52873         * elf/tst-null-argv-lib.c: Library for test case.
52874         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
52875         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
52876         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
52877         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
52878         * elf/dl-init.c (call_init): Likewise.
52879         (_dl_init): Likewise.
52880         * elf/dl-load.c (print_search_path): Likewise.
52881         (_dl_map_object): Likewise.
52882         * elf/dl-lookup.c (do_lookup_x): Likewise.
52883         (add_dependency): Likewise.
52884         (_dl_lookup_symbol_x): Likewise.
52885         (_dl_debug_bindings): Likewise.
52886         * elf/dl-open.c (_dl_show_scope): Likewise.
52887         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
52888         * elf/dl-version.c (match_symbol): Likewise.
52889         (_dl_check_map_versions): Likewise.
52890         * elf/rtld.c (dl_main): Likewise.
52891         (print_unresolved): Use RTLD_PROGNAME.
52892         (print_missing_version): Likewise.
52893         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
52894         (elf_machine_rela): Likewise.
52895         * sysdeps/powerpc/powerpc32/dl-machine.c
52896         (__process_machine_rela): Likewise.
52897         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52898         Likewise.
52899         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
52900         Likewise.
52901         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
52902         Likewise.
52903         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
52904         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
52905         Likewise.
52906         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
52907         Likewise.
52908         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
52910 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
52912         * po/be.po: Add descriptive title.
52913         * po/zh_CN.po: Likewise.
52914         * po/header.pot: Likewise.
52916 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
52918         * locale/programs/locarchive.c (create_archive): Inlucde fname in
52919         error message.
52920         (enlarge_archive): Likewise.
52922 2013-05-28  Ben North  <ben@redfrontdoor.org>
52924         * manual/arith.texi (frexp): It is the magnitude of the return
52925         value which lies in [0.5, 1), not the return value itself.
52927 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52929         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52931 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
52933         * stdio-common/bug26.c (main): Correct fscanf template.
52935         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
52936         declare _dl_skip_args.
52938         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
52939         Don't declare.
52941         * manual/platform.texi: Add missing @end deftypefun.
52943 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
52945         [BZ #15529]
52946         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
52947         bit of mantissa of 2^16382.
52948         * math/libm-test.inc (hypot_test_data): Add more tests.
52950         * math/libm-test.inc: Add drem and pow10 to list of tested
52951         functions.
52952         (pow10_test): New function.
52953         (drem_test): Likewise.
52954         (drem_test_tonearest): Likewise.
52955         (drem_test_towardzero): Likewise.
52956         (drem_test_downward): Likewise.
52957         (drem_test_upward): Likewise.
52958         (main): Call the new functions.
52960         * math/libm-test.inc (finite_test_data): Remove.
52961         (finite_test): Run tests from isfinite_test_data.
52962         (gamma_test_data): Remove.
52963         (gamma_test): Run tests from lgamma_test_data.
52964         * sysdeps/i386/fpu/libm-test-ulps: Update.
52965         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52967 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52969         * manual/platform.texi: Add PowerPC PPR function set documentation.
52970         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
52971         implementation.
52973 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
52975         * math/libm-test.inc (MAX_EXP): Define.
52976         (ULPDIFF): Define.
52977         (ulp): New function.
52978         (check_float_internal): Use ULPDIFF.
52979         (cpow_test): Disable failing test.
52980         (check_ulp): Test ulp() implemetnation.
52981         (main): Call check_ulp before starting tests.
52983 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
52985         * math/gen-libm-test.pl (generate_testfile): Do not handle
52986         START_DATA and END_DATA.
52987         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
52988         END_DATA.
52989         (acos_tonearest_test_data): Likewise.
52990         (acos_towardzero_test_data): Likewise.
52991         (acos_downward_test_data): Likewise.
52992         (acos_upward_test_data): Likewise.
52993         (acosh_test_data): Likewise.
52994         (asin_test_data): Likewise.
52995         (asin_tonearest_test_data): Likewise.
52996         (asin_towardzero_test_data): Likewise.
52997         (asin_downward_test_data): Likewise.
52998         (asin_upward_test_data): Likewise.
52999         (asinh_test_data): Likewise.
53000         (atan_test_data): Likewise.
53001         (atanh_test_data): Likewise.
53002         (atan2_test_data): Likewise.
53003         (cabs_test_data): Likewise.
53004         (cacos_test_data): Likewise.
53005         (cacosh_test_data): Likewise.
53006         (carg_test_data): Likewise.
53007         (casin_test_data): Likewise.
53008         (casinh_test_data): Likewise.
53009         (catan_test_data): Likewise.
53010         (catanh_test_data): Likewise.
53011         (cbrt_test_data): Likewise.
53012         (ccos_test_data): Likewise.
53013         (ccosh_test_data): Likewise.
53014         (ceil_test_data): Likewise.
53015         (cexp_test_data): Likewise.
53016         (cimag_test_data): Likewise.
53017         (clog_test_data): Likewise.
53018         (clog10_test_data): Likewise.
53019         (conj_test_data): Likewise.
53020         (copysign_test_data): Likewise.
53021         (cos_test_data): Likewise.
53022         (cos_tonearest_test_data): Likewise.
53023         (cos_towardzero_test_data): Likewise.
53024         (cos_downward_test_data): Likewise.
53025         (cos_upward_test_data): Likewise.
53026         (cosh_test_data): Likewise.
53027         (cosh_tonearest_test_data): Likewise.
53028         (cosh_towardzero_test_data): Likewise.
53029         (cosh_downward_test_data): Likewise.
53030         (cosh_upward_test_data): Likewise.
53031         (cpow_test_data): Likewise.
53032         (cproj_test_data): Likewise.
53033         (creal_test_data): Likewise.
53034         (csin_test_data): Likewise.
53035         (csinh_test_data): Likewise.
53036         (csqrt_test_data): Likewise.
53037         (ctan_test_data): Likewise.
53038         (ctan_tonearest_test_data): Likewise.
53039         (ctan_towardzero_test_data): Likewise.
53040         (ctan_downward_test_data): Likewise.
53041         (ctan_upward_test_data): Likewise.
53042         (ctanh_test_data): Likewise.
53043         (ctanh_tonearest_test_data): Likewise.
53044         (ctanh_towardzero_test_data): Likewise.
53045         (ctanh_downward_test_data): Likewise.
53046         (ctanh_upward_test_data): Likewise.
53047         (erf_test_data): Likewise.
53048         (erfc_test_data): Likewise.
53049         (exp_test_data): Likewise.
53050         (exp_tonearest_test_data): Likewise.
53051         (exp_towardzero_test_data): Likewise.
53052         (exp_downward_test_data): Likewise.
53053         (exp_upward_test_data): Likewise.
53054         (exp10_test_data): Likewise.
53055         (exp2_test_data): Likewise.
53056         (expm1_test_data): Likewise.
53057         (fabs_test_data): Likewise.
53058         (fdim_test_data): Likewise.
53059         (finite_test_data): Likewise.
53060         (floor_test_data): Likewise.
53061         (fma_test_data): Likewise.
53062         (fma_towardzero_test_data): Likewise.
53063         (fma_downward_test_data): Likewise.
53064         (fma_upward_test_data): Likewise.
53065         (fmax_test_data): Likewise.
53066         (fmin_test_data): Likewise.
53067         (fmod_test_data): Likewise.
53068         (fpclassify_test_data): Likewise.
53069         (frexp_test_data): Likewise.
53070         (gamma_test_data): Likewise.
53071         (hypot_test_data): Likewise.
53072         (ilogb_test_data): Likewise.
53073         (isfinite_test_data): Likewise.
53074         (isgreater_test_data): Likewise.
53075         (isgreaterequal_test_data): Likewise.
53076         (isinf_test_data): Likewise.
53077         (isless_test_data): Likewise.
53078         (islessequal_test_data): Likewise.
53079         (islessgreater_test_data): Likewise.
53080         (isnan_test_data): Likewise.
53081         (isnormal_test_data): Likewise.
53082         (issignaling_test_data): Likewise.
53083         (isunordered_test_data): Likewise.
53084         (j0_test_data): Likewise.
53085         (j1_test_data): Likewise.
53086         (jn_test_data): Likewise.
53087         (ldexp_test_data): Likewise.
53088         (lgamma_test_data): Likewise.
53089         (lrint_test_data): Likewise.
53090         (lrint_tonearest_test_data): Likewise.
53091         (lrint_towardzero_test_data): Likewise.
53092         (lrint_downward_test_data): Likewise.
53093         (lrint_upward_test_data): Likewise.
53094         (llrint_test_data): Likewise.
53095         (llrint_tonearest_test_data): Likewise.
53096         (llrint_towardzero_test_data): Likewise.
53097         (llrint_downward_test_data): Likewise.
53098         (llrint_upward_test_data): Likewise.
53099         (log_test_data): Likewise.
53100         (log10_test_data): Likewise.
53101         (log1p_test_data): Likewise.
53102         (log2_test_data): Likewise.
53103         (logb_test_data): Likewise.
53104         (logb_downward_test_data): Likewise.
53105         (lround_test_data): Likewise.
53106         (llround_test_data): Likewise.
53107         (modf_test_data): Likewise.
53108         (nearbyint_test_data): Likewise.
53109         (nextafter_test_data): Likewise.
53110         (nexttoward_test_data): Likewise.
53111         (pow_test_data): Likewise.
53112         (pow_tonearest_test_data): Likewise.
53113         (pow_towardzero_test_data): Likewise.
53114         (pow_downward_test_data): Likewise.
53115         (pow_upward_test_data): Likewise.
53116         (remainder_test_data): Likewise.
53117         (remainder_tonearest_test_data): Likewise.
53118         (remainder_towardzero_test_data): Likewise.
53119         (remainder_downward_test_data): Likewise.
53120         (remainder_upward_test_data): Likewise.
53121         (remquo_test_data): Likewise.
53122         (rint_test_data): Likewise.
53123         (rint_tonearest_test_data): Likewise.
53124         (rint_towardzero_test_data): Likewise.
53125         (rint_downward_test_data): Likewise.
53126         (rint_upward_test_data): Likewise.
53127         (round_test_data): Likewise.
53128         (scalb_test_data): Likewise.
53129         (scalbn_test_data): Likewise.
53130         (scalbln_test_data): Likewise.
53131         (signbit_test_data): Likewise.
53132         (sin_test_data): Likewise.
53133         (sin_tonearest_test_data): Likewise.
53134         (sin_towardzero_test_data): Likewise.
53135         (sin_downward_test_data): Likewise.
53136         (sin_upward_test_data): Likewise.
53137         (sincos_test_data): Likewise.
53138         (sinh_test_data): Likewise.
53139         (sinh_tonearest_test_data): Likewise.
53140         (sinh_towardzero_test_data): Likewise.
53141         (sinh_downward_test_data): Likewise.
53142         (sinh_upward_test_data): Likewise.
53143         (sqrt_test_data): Likewise.
53144         (tan_test_data): Likewise.
53145         (tan_tonearest_test_data): Likewise.
53146         (tan_towardzero_test_data): Likewise.
53147         (tan_downward_test_data): Likewise.
53148         (tan_upward_test_data): Likewise.
53149         (tanh_test_data): Likewise.
53150         (tgamma_test_data): Likewise.
53151         (trunc_test_data): Likewise.
53152         (y0_test_data): Likewise.
53153         (y1_test_data): Likewise.
53154         (yn_test_data): Likewise.
53155         (significand_test_data): Likewise.
53157         * math/gen-libm-test.pl (@functions): Remove variable.
53158         (generate_testfile): Don't handle START and END lines.
53159         * math/libm-test.inc (START): New macro.
53160         (END): Likewise.
53161         (END_COMPLEX): Likewise.
53162         (acos_test): Use END macro without arguments.
53163         (acos_test_tonearest): Likewise.
53164         (acos_test_towardzero): Likewise.
53165         (acos_test_downward): Likewise.
53166         (acos_test_upward): Likewise.
53167         (acosh_test): Likewise.
53168         (asin_test): Likewise.
53169         (asin_test_tonearest): Likewise.
53170         (asin_test_towardzero): Likewise.
53171         (asin_test_downward): Likewise.
53172         (asin_test_upward): Likewise.
53173         (asinh_test): Likewise.
53174         (atan_test): Likewise.
53175         (atanh_test): Likewise.
53176         (atan2_test): Likewise.
53177         (cabs_test): Likewise.
53178         (cacos_test): Use END_COMPLEX macro without arguments.
53179         (cacosh_test): Likewise.
53180         (carg_test): Use END macro without arguments.
53181         (casin_test): Use END_COMPLEX macro without arguments.
53182         (casinh_test): Likewise.
53183         (catan_test): Likewise.
53184         (catanh_test): Likewise.
53185         (cbrt_test): Use END macro without arguments.
53186         (ccos_test): Use END_COMPLEX macro without arguments.
53187         (ccosh_test): Likewise.
53188         (ceil_test): Use END macro without arguments.
53189         (cexp_test): Use END_COMPLEX macro without arguments.
53190         (cimag_test): Use END macro without arguments.
53191         (clog_test): Use END_COMPLEX macro without arguments.
53192         (clog10_test): Likewise.
53193         (conj_test): Likewise.
53194         (copysign_test): Use END macro without arguments.
53195         (cos_test): Likewise.
53196         (cos_test_tonearest): Likewise.
53197         (cos_test_towardzero): Likewise.
53198         (cos_test_downward): Likewise.
53199         (cos_test_upward): Likewise.
53200         (cosh_test): Likewise.
53201         (cosh_test_tonearest): Likewise.
53202         (cosh_test_towardzero): Likewise.
53203         (cosh_test_downward): Likewise.
53204         (cosh_test_upward): Likewise.
53205         (cpow_test): Use END_COMPLEX macro without arguments.
53206         (cproj_test): Likewise.
53207         (creal_test): Use END macro without arguments.
53208         (csin_test): Use END_COMPLEX macro without arguments.
53209         (csinh_test): Likewise.
53210         (csqrt_test): Likewise.
53211         (ctan_test): Likewise.
53212         (ctan_test_tonearest): Likewise.
53213         (ctan_test_towardzero): Likewise.
53214         (ctan_test_downward): Likewise.
53215         (ctan_test_upward): Likewise.
53216         (ctanh_test): Likewise.
53217         (ctanh_test_tonearest): Likewise.
53218         (ctanh_test_towardzero): Likewise.
53219         (ctanh_test_downward): Likewise.
53220         (ctanh_test_upward): Likewise.
53221         (erf_test): Use END macro without arguments.
53222         (erfc_test): Likewise.
53223         (exp_test): Likewise.
53224         (exp_test_tonearest): Likewise.
53225         (exp_test_towardzero): Likewise.
53226         (exp_test_downward): Likewise.
53227         (exp_test_upward): Likewise.
53228         (exp10_test): Likewise.
53229         (exp2_test): Likewise.
53230         (expm1_test): Likewise.
53231         (fabs_test): Likewise.
53232         (fdim_test): Likewise.
53233         (finite_test): Likewise.
53234         (floor_test): Likewise.
53235         (fma_test): Likewise.
53236         (fma_test_towardzero): Likewise.
53237         (fma_test_downward): Likewise.
53238         (fma_test_upward): Likewise.
53239         (fmax_test): Likewise.
53240         (fmin_test): Likewise.
53241         (fmod_test): Likewise.
53242         (fpclassify_test): Likewise.
53243         (frexp_test): Likewise.
53244         (gamma_test): Likewise.
53245         (hypot_test): Likewise.
53246         (ilogb_test): Likewise.
53247         (isfinite_test): Likewise.
53248         (isgreater_test): Likewise.
53249         (isgreaterequal_test): Likewise.
53250         (isinf_test): Likewise.
53251         (isless_test): Likewise.
53252         (islessequal_test): Likewise.
53253         (islessgreater_test): Likewise.
53254         (isnan_test): Likewise.
53255         (isnormal_test): Likewise.
53256         (issignaling_test): Likewise.
53257         (isunordered_test): Likewise.
53258         (j0_test): Likewise.
53259         (j1_test): Likewise.
53260         (jn_test): Likewise.
53261         (ldexp_test): Likewise.
53262         (lgamma_test): Likewise.
53263         (lrint_test): Likewise.
53264         (lrint_test_tonearest): Likewise.
53265         (lrint_test_towardzero): Likewise.
53266         (lrint_test_downward): Likewise.
53267         (lrint_test_upward): Likewise.
53268         (llrint_test): Likewise.
53269         (llrint_test_tonearest): Likewise.
53270         (llrint_test_towardzero): Likewise.
53271         (llrint_test_downward): Likewise.
53272         (llrint_test_upward): Likewise.
53273         (log_test): Likewise.
53274         (log10_test): Likewise.
53275         (log1p_test): Likewise.
53276         (log2_test): Likewise.
53277         (logb_test): Likewise.
53278         (logb_test_downward): Likewise.
53279         (lround_test): Likewise.
53280         (llround_test): Likewise.
53281         (modf_test): Likewise.
53282         (nearbyint_test): Likewise.
53283         (nextafter_test): Likewise.
53284         (nexttoward_test): Likewise.
53285         (pow_test): Likewise.
53286         (pow_test_tonearest): Likewise.
53287         (pow_test_towardzero): Likewise.
53288         (pow_test_downward): Likewise.
53289         (pow_test_upward): Likewise.
53290         (remainder_test): Likewise.
53291         (remainder_test_tonearest): Likewise.
53292         (remainder_test_towardzero): Likewise.
53293         (remainder_test_downward): Likewise.
53294         (remainder_test_upward): Likewise.
53295         (remquo_test): Likewise.
53296         (rint_test): Likewise.
53297         (rint_test_tonearest): Likewise.
53298         (rint_test_towardzero): Likewise.
53299         (rint_test_downward): Likewise.
53300         (rint_test_upward): Likewise.
53301         (round_test): Likewise.
53302         (scalb_test): Likewise.
53303         (scalbn_test): Likewise.
53304         (scalbln_test): Likewise.
53305         (signbit_test): Likewise.
53306         (sin_test): Likewise.
53307         (sin_test_tonearest): Likewise.
53308         (sin_test_towardzero): Likewise.
53309         (sin_test_downward): Likewise.
53310         (sin_test_upward): Likewise.
53311         (sincos_test): Likewise.
53312         (sinh_test): Likewise.
53313         (sinh_test_tonearest): Likewise.
53314         (sinh_test_towardzero): Likewise.
53315         (sinh_test_downward): Likewise.
53316         (sinh_test_upward): Likewise.
53317         (sqrt_test): Likewise.
53318         (tan_test): Likewise.
53319         (tan_test_tonearest): Likewise.
53320         (tan_test_towardzero): Likewise.
53321         (tan_test_downward): Likewise.
53322         (tan_test_upward): Likewise.
53323         (tanh_test): Likewise.
53324         (tgamma_test): Likewise.
53325         (trunc_test): Likewise.
53326         (y0_test): Likewise.
53327         (y1_test): Likewise.
53328         (yn_test): Likewise.
53329         (significand_test): Likewise.
53331 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
53333         [BZ #15381]
53334         * libio/genops.c (_IO_no_init): Initialize wide struct info.
53336 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
53338         [BZ #14894]
53339         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
53340         __ppc_mdoio and __ppc_mdoom.
53341         * manual/platform.texi: Document new functions __ppc_yield,
53342         __ppc_mdoio and __ppc_mdoom.
53344 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
53346         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
53347         (main): Mention "tls" pseudo-hwcap is legacy.
53348         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
53350 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
53352         * math/gen-libm-test.pl (parse_args): Output only string of
53353         arguments as text for test name, not full call or descriptions of
53354         tests for extra outputs.
53355         (generate_testfile): Do not pass function name to parse_args.
53356         Generate this_func variable from START.
53357         * math/libm-test.inc (struct test_f_f_data): Rename test_name
53358         field to arg_str.
53359         (struct test_ff_f_data): Likewise.
53360         (test_ff_f_data_nexttoward): Likewise.
53361         (struct test_fi_f_data): Likewise.
53362         (struct test_fl_f_data): Likewise.
53363         (struct test_if_f_data): Likewise.
53364         (struct test_fff_f_data): Likewise.
53365         (struct test_c_f_data): Likewise.
53366         (struct test_f_f1_data): Likewise.  Remove field extra_name.
53367         (struct test_fF_f1_data): Likewise.
53368         (struct test_ffI_f1_data): Likewise.
53369         (struct test_c_c_data): Rename test_name field to arg_str.
53370         (struct test_cc_c_data): Likewise.
53371         (struct test_f_i_data): Likewise.
53372         (struct test_ff_i_data): Likewise.
53373         (struct test_f_l_data): Likewise.
53374         (struct test_f_L_data): Likewise.
53375         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
53376         and extra2_name.
53377         (COMMON_TEST_SETUP): New macro.
53378         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
53379         (COMMON_TEST_CLEANUP): Likewise.
53380         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
53381         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
53382         macros.
53383         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
53384         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
53385         macros.
53386         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
53387         (RUN_TEST_fff_f): Take argument string.  Call new setup and
53388         cleanup macros.
53389         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
53390         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
53391         macros.
53392         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
53393         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
53394         macros.
53395         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
53396         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
53397         cleanup macros.
53398         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
53399         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
53400         cleanup macros.
53401         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
53402         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
53403         cleanup macros.
53404         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
53405         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
53406         macros.
53407         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
53408         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
53409         macros.
53410         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
53411         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
53412         macros.
53413         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
53414         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
53415         cleanup macros.
53416         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
53417         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
53418         cleanup macros.
53419         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
53420         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
53421         macros.
53422         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
53423         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
53424         cleanup macros.
53425         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
53426         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
53427         macros.
53428         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
53429         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
53430         macros.
53431         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
53432         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
53433         cleanup macros.
53434         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
53436 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
53438         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
53439         to _sifields.sigfault.
53440         (si_addr_lsb): Define new macro.
53441         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
53442         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53443         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
53445 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
53447         [BZ #15441]
53448         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
53449         returns -1.
53450         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
53451         null return -1.
53452         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
53453         loading the domain.
53455 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
53457         * math/gen-libm-test.pl (parse_args): Do not include expected
53458         result in test name.
53459         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
53460         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53461         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
53462         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
53463         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
53464         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53466 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
53468         * benchtests/Makefile: Sort function entries.
53470         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
53471         tanh, asinh, acosh, atanh.
53472         * benchtests/acos-inputs: New file.
53473         * benchtests/acosh-inputs: New file.
53474         * benchtests/asin-inputs: New file.
53475         * benchtests/asinh-inputs: New file.
53476         * benchtests/atanh-inputs: New file.
53477         * benchtests/cosh-inputs: New file.
53478         * benchtests/log-inputs: New file.
53479         * benchtests/sinh-inputs: New file.
53480         * benchtests/tanh-inputs: New file.
53482 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
53484         [BZ #15339]
53485         * posix/tst-getaddrinfo4.c: New test.
53486         * posix/Makefile (tests): Add it.
53488 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53490         [BZ #15339]
53491         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
53492         when no services were used.
53493         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
53494         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
53496 2013-05-21  Andreas Schwab  <schwab@suse.de>
53498         [BZ #15014]
53499         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
53500         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
53501         successful.
53502         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
53503         redundant variable declarations and reallocation of buffer when
53504         parsing as IPv6 address.  Always set NSS status when called from
53505         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
53506         buffer too small.  Correct computation of needed size.
53507         * nss/Makefile (tests): Add test-digits-dots.
53508         * nss/test-digits-dots.c: New test.
53510 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53512         * benchtests/Makefile: Remove instructions for adding
53513         benchmark tests.
53514         * benchtests/README: New file to explain how to execute and
53515         enhance the benchmark tests.
53517 2013-05-21  Andreas Schwab  <schwab@suse.de>
53519         [BZ #15493]
53520         * setjmp/Makefile (tests): Add tst-sigsetjmp.
53521         * setjmp/tst-sigsetjmp.c: New test.
53523 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
53525         * sysdeps/x86_64/memset.S (memset): New implementation.
53526         (__bzero): Likewise.
53527         (__memset_tail): New function.
53529 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
53531         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
53532         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
53533         __memcpy_sse2_unaligned ifunc selection.
53534         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
53535         Add memcpy-sse2-unaligned.S.
53536         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
53537         Add: __memcpy_sse2_unaligned.
53539 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
53541         [BZ #15490]
53542         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
53543         math_force_eval before restoring floating-point envrionment.
53544         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
53545         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
53546         Likewise.
53547         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
53548         <math_private.h>.
53549         (__nearbyintl): Use math_force_eval before restoring
53550         floating-point environment.
53551         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
53553         * math/gen-libm-test.pl (special_functions): Remove.
53554         (parse_args): Don't handle TEST_extra.  Handle functions with no
53555         return value.
53556         * math/libm-test.inc (struct test_sincos_data): Replace with
53557         struct test_fFF_11_data.
53558         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
53559         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
53560         (sincos_test_data): Change element type to struct
53561         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
53562         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
53563         RUN_TEST_LOOP_sincos.
53564         * math/README.libm-test: Don't mention special handling of
53565         individual functions.
53566         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
53567         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53568         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
53569         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
53570         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
53571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53573         * math/gen-libm-test.pl (get_variable): Remove function.
53574         (parse_args): Don't show pointer parameters to call in test
53575         names.  Use "extra output N" in test names for extra outputs
53576         rather than naming variables.
53578 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
53580         [BZ #15488]
53581         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
53582         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
53583         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
53584         double tests.
53585         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
53586         disable.
53587         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
53588         check_long_double.
53590         * math/gen-libm-test.pl (@tests): Remove variable.
53591         ($count): Likewise.
53592         (new_test): Remove function.
53593         (show_exceptions): New function.
53594         (special_functions): Use show_exceptions instead of new_test.
53595         (parse_args): Likewise.
53596         (generate_testfile): Pass only function name in generated call to
53597         print_max_error or print_complex_max_error.
53598         (get_ulps): Do not handle complex tests specially.
53599         (output_test): Rename to ...
53600         (get_all_ulps_for_test): ... this.  Return a string rather than
53601         printing to a file.  Require ulps to be present.
53602         (output_ulps): Generate arrays rather than #defines.
53603         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
53604         (struct ulp_data): New type.
53605         (BUILD_COMPLEX_ULP): Remove macro.
53606         (compare_ulp_data): New function.
53607         (find_ulps): Likewise.
53608         (find_test_ulps): Likewise.
53609         (find_function_ulps): Likewise.
53610         (find_complex_function_ulps): Likewise.
53611         (print_max_error): Determine allowed ulps using
53612         find_function_ulps.
53613         (print_complex_max_error): Determine allowed ulps using
53614         find_complex_function_ulps.
53615         (check_float_internal): Determine max ulps using find_test_ulps.
53616         (check_float): Do not take max_ulp parameter.  Update call to
53617         check_float_internal.
53618         (check_complex): Likewise.
53619         (check_int): Do not take max_ulp parameter.
53620         (check_long): Likewise.
53621         (check_bool): Likewise.
53622         (check_longlong): Likewise.
53623         (struct test_f_f_data): Remove max_ulp field.
53624         (struct test_ff_f_data): Likewise.
53625         (struct test_ff_f_data_nexttoward): Likewise.
53626         (struct test_fi_f_data): Likewise.
53627         (struct test_fl_f_data): Likewise.
53628         (struct test_if_f_data): Likewise.
53629         (struct test_fff_f_data): Likewise.
53630         (struct test_c_f_data): Likewise.
53631         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
53632         (struct test_fF_f1_data): Likewise.
53633         (struct test_ffI_f1_data): Likewise.
53634         (struct test_c_c_data): Remove max_ulp field.
53635         (struct test_cc_c_data): Likewise.
53636         (struct test_f_i_data): Likewise.
53637         (struct test_ff_i_data): Likewise.
53638         (struct test_f_l_data): Likewise.
53639         (struct test_f_L_data): Likewise.
53640         (struct test_sincos_data): Likewise.
53641         (RUN_TEST_f_f): Do not handle ulps.
53642         (RUN_TEST_LOOP_f_f): Likewise.
53643         (RUN_TEST_2_f): Likewise.
53644         (RUN_TEST_LOOP_2_f): Likewise.
53645         (RUN_TEST_fff_f): Likewise.
53646         (RUN_TEST_LOOP_fff_f): Likewise.
53647         (RUN_TEST_c_f): Likewise.
53648         (RUN_TEST_LOOP_c_f): Likewise.
53649         (RUN_TEST_f_f1): Likewise.
53650         (RUN_TEST_LOOP_f_f1): Likewise.
53651         (RUN_TEST_fF_f1): Likewise.
53652         (RUN_TEST_LOOP_fF_f1): Likewise.
53653         (RUN_TEST_fI_f1): Likewise.
53654         (RUN_TEST_LOOP_fI_f1): Likewise.
53655         (RUN_TEST_ffI_f1): Likewise.
53656         (RUN_TEST_LOOP_ffI_f1): Likewise.
53657         (RUN_TEST_c_c): Likewise.
53658         (RUN_TEST_LOOP_c_c): Likewise.
53659         (RUN_TEST_cc_c): Likewise.
53660         (RUN_TEST_LOOP_cc_c): Likewise.
53661         (RUN_TEST_f_i): Likewise.
53662         (RUN_TEST_LOOP_f_i): Likewise.
53663         (RUN_TEST_f_i_tg): Likewise.
53664         (RUN_TEST_LOOP_f_i_tg): Likewise.
53665         (RUN_TEST_ff_i_tg): Likewise.
53666         (RUN_TEST_LOOP_ff_i_tg): Likewise.
53667         (RUN_TEST_f_b): Likewise.
53668         (RUN_TEST_LOOP_f_b): Likewise.
53669         (RUN_TEST_f_b_tg): Likewise.
53670         (RUN_TEST_LOOP_f_b_tg): Likewise.
53671         (RUN_TEST_f_l): Likewise.
53672         (RUN_TEST_LOOP_f_l): Likewise.
53673         (RUN_TEST_f_L): Likewise.
53674         (RUN_TEST_LOOP_f_L): Likewise.
53675         (RUN_TEST_sincos): Likewise.
53676         (RUN_TEST_LOOP_sincos): Likewise.
53678 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
53680         [BZ #15480]
53681         [BZ #15485]
53682         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
53683         main case of finite arguments, set rounding mode to FE_TONEAREST
53684         and discard exceptions.
53685         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
53686         exceptions.
53687         (remainder_tonearest_test_data): New variable.
53688         (remainder_test_tonearest): New function.
53689         (remainder_towardzero_test_data): New variable.
53690         (remainder_test_towardzero): New function.
53691         (remainder_downward_test_data): New variable.
53692         (remainder_test_downward): New function.
53693         (remainder_upward_test_data): New variable.
53694         (remainder_test_upward): New function.
53695         (main): Call the new test functions.
53697         * math/libm-test.inc (struct test_f_f1_data): Remove field
53698         extra_init.
53699         (struct test_fF_f1_data): Likewise.
53700         (struct test_ffI_f1_data): Likewise.
53701         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
53702         based on value of EXTRA_EXPECTED.
53703         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
53704         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
53705         EXTRA_VAR based on value of EXTRA_EXPECTED.
53706         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
53707         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
53708         EXTRA_VAR based on value of EXTRA_EXPECTED.
53709         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
53710         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
53711         EXTRA_VAR based on value of EXTRA_EXPECTED.
53712         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
53713         * math/gen-libm-test.pl (parse_args): Don't output initializers
53714         for extra output values.
53716         * math/libm-test.inc (check_int): Expect result to be exactly
53717         equal to expected value and do not handle ulps.
53718         (check_long): Likewise.
53719         (check_longlong): Likewise.
53721         * math/libm-test.inc (ceil_test_data): Test for "inexact"
53722         exceptions.
53723         (cimag_test_data): Likewise.
53724         (conj_test_data): Likewise.
53725         (copysign_test_data): Likewise.
53726         (cproj_test_data): Likewise.
53727         (creal_test_data): Likewise.
53728         (fabs_test_data): Likewise.
53729         (fdim_test_data): Likewise.
53730         (finite_test_data): Likewise.
53731         (floor_test_data): Likewise.
53732         (fmax_test_data): Likewise.
53733         (fmin_test_data): Likewise.
53734         (fmod_test_data): Likewise.
53735         (fpclassify_test_data): Likewise.
53736         (frexp_test_data): Likewise.
53737         (ilogb_test_data): Likewise.
53738         (isfinite_test_data): Likewise.
53739         (isgreater_test_data): Likewise.
53740         (isgreaterequal_test_data): Likewise.
53741         (isinf_test_data): Likewise.
53742         (isless_test_data): Likewise.
53743         (islessequal_test_data): Likewise.
53744         (islessgreater_test_data): Likewise.
53745         (isnan_test_data): Likewise.
53746         (isnormal_test_data): Likewise.
53747         (issignaling_test_data): Likewise.
53748         (isunordered_test_data): Likewise.
53749         (ldexp_test_data): Likewise.
53750         (lrint_test_data): Likewise.
53751         (lrint_test_data) [TEST_FLOAT]: Disable one test.
53752         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
53753         (lrint_tonearest_test_data): Test for "inexact" exceptions.
53754         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
53755         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
53756         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
53757         test input.
53758         (lrint_towardzero_test_data): Test for "inexact" exceptions.
53759         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
53760         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
53761         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
53762         that test input.
53763         (lrint_downward_test_data): Test for "inexact" exceptions.
53764         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
53765         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
53766         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
53767         test input.
53768         (lrint_upward_test_data): Test for "inexact" exceptions.
53769         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
53770         test input.
53771         (llrint_test_data): Test for "inexact" exceptions.
53772         (llrint_test_data) [TEST_FLOAT]: Disable one test.
53773         (llrint_tonearest_test_data): Test for "inexact" exceptions.
53774         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
53775         (llrint_towardzero_test_data): Test for "inexact" exceptions.
53776         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
53777         (llrint_downward_test_data): Test for "inexact" exceptions.
53778         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
53779         (llrint_upward_test_data): Test for "inexact" exceptions.
53780         (logb_test_data): Likewise.
53781         (logb_downward_test_data): Likewise.
53782         (nextafter_test_data): Likewise.
53783         (nexttoward_test_data): Likewise.
53784         (remainder_test_data): Likewise.
53785         (remquo_test_data): Likewise.
53786         (scalbn_test_data): Likewise.
53787         (scalbln_test_data): Likewise.
53788         (signbit_test_data): Likewise.
53789         (sqrt_test_data): Likewise.
53790         (significand_test_data): Likewise.
53792 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
53794         [BZ #15424]
53795         * benchtests/bench-modf.c (struct args): Mark arg0 as
53796         volatile.
53797         * scripts/bench.pl: Mark members of struct args as volatile.
53799 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53801         [BZ # 15497]
53802         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
53803         negative infinity on POWER6 or lower.
53804         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
53806 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
53808         [BZ #15442]
53809         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
53810         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
53811         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
53812         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
53813         (_FP_SETQNAN): New macro.
53814         (_FP_SETQNAN_SEMIRAW): Likewise.
53815         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
53816         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
53817         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
53818         (FP_EXTEND): Use _FP_FRAC_SNANP.
53819         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
53820         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
53821         into account.
53822         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
53823         New macro.
53824         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
53825         Likewise.
53827 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
53829         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
53830         with DIVIDE_BY_ZERO_EXCEPTION.
53831         (gamma_test_data): Likewise.
53832         (lgamma_test_data): Likewise.
53833         (log_test_data): Likewise.
53834         (log10_test_data): Likewise.
53835         (log2_test_data): Likewise.
53836         (tgamma_test_data): Likewise.
53838         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
53839         (acos_test_tonearest): Likewise.
53840         (acos_test_towardzero): Likewise.
53841         (acos_test_downward): Likewise.
53842         (acos_test_upward): Likewise.
53843         (acosh_test): Likewise.
53844         (asin_test): Likewise.
53845         (asin_test_tonearest): Likewise.
53846         (asin_test_towardzero): Likewise.
53847         (asin_test_downward): Likewise.
53848         (asin_test_upward): Likewise.
53849         (asinh_test): Likewise.
53850         (atan_test): Likewise.
53851         (atanh_test): Likewise.
53852         (atan2_test): Likewise.
53853         (cabs_test): Likewise.
53854         (cacos_test): Likewise.
53855         (cacosh_test): Likewise.
53856         (casin_test): Likewise.
53857         (casinh_test): Likewise.
53858         (catan_test): Likewise.
53859         (catanh_test): Likewise.
53860         (cbrt_test): Likewise.
53861         (ccos_test): Likewise.
53862         (ccosh_test): Likewise.
53863         (cexp_test): Likewise.
53864         (clog_test): Likewise.
53865         (clog10_test): Likewise.
53866         (cos_test): Likewise.
53867         (cos_test_tonearest): Likewise.
53868         (cos_test_towardzero): Likewise.
53869         (cos_test_downward): Likewise.
53870         (cos_test_upward): Likewise.
53871         (cosh_test): Likewise.
53872         (cosh_test_tonearest): Likewise.
53873         (cosh_test_towardzero): Likewise.
53874         (cosh_test_downward): Likewise.
53875         (cosh_test_upward): Likewise.
53876         (cpow_test): Likewise.
53877         (csin_test): Likewise.
53878         (csinh_test): Likewise.
53879         (csqrt_test): Likewise.
53880         (ctan_test): Likewise.
53881         (ctan_test_tonearest): Likewise.
53882         (ctan_test_towardzero): Likewise.
53883         (ctan_test_downward): Likewise.
53884         (ctan_test_upward): Likewise.
53885         (ctanh_test): Likewise.
53886         (ctanh_test_tonearest): Likewise.
53887         (ctanh_test_towardzero): Likewise.
53888         (ctanh_test_downward): Likewise.
53889         (ctanh_test_upward): Likewise.
53890         (erf_test): Likewise.
53891         (erfc_test): Likewise.
53892         (exp_test): Likewise.
53893         (exp_test_tonearest): Likewise.
53894         (exp_test_towardzero): Likewise.
53895         (exp_test_downward): Likewise.
53896         (exp_test_upward): Likewise.
53897         (exp10_test): Likewise.
53898         (exp2_test): Likewise.
53899         (expm1_test): Likewise.
53900         (fmod_test): Likewise.
53901         (gamma_test): Likewise.
53902         (hypot_test): Likewise.
53903         (j0_test): Likewise.
53904         (j1_test): Likewise.
53905         (jn_test): Likewise.
53906         (lgamma_test): Likewise.
53907         (log_test): Likewise.
53908         (log10_test): Likewise.
53909         (log1p_test): Likewise.
53910         (log2_test): Likewise.
53911         (logb_test_downward): Likewise.
53912         (pow_test): Likewise.
53913         (pow_test_tonearest): Likewise.
53914         (pow_test_towardzero): Likewise.
53915         (pow_test_downward): Likewise.
53916         (pow_test_upward): Likewise.
53917         (remainder_test): Likewise.
53918         (remquo_test): Likewise.
53919         (sin_test): Likewise.
53920         (sin_test_tonearest): Likewise.
53921         (sin_test_towardzero): Likewise.
53922         (sin_test_downward): Likewise.
53923         (sin_test_upward): Likewise.
53924         (sincos_test): Likewise.
53925         (sinh_test): Likewise.
53926         (sinh_test_tonearest): Likewise.
53927         (sinh_test_towardzero): Likewise.
53928         (sinh_test_downward): Likewise.
53929         (sinh_test_upward): Likewise.
53930         (sqrt_test): Likewise.
53931         (tan_test): Likewise.
53932         (tan_test_tonearest): Likewise.
53933         (tan_test_towardzero): Likewise.
53934         (tan_test_downward): Likewise.
53935         (tan_test_upward): Likewise.
53936         (tanh_test): Likewise.
53937         (tgamma_test): Likewise.
53938         (y0_test): Likewise.
53939         (y1_test): Likewise.
53940         (yn_test): Likewise.
53942         * math/gen-libm-test.pl (adjust_arg): Remove function.
53943         (special_function): Remove argument $in_func.  Only handle
53944         generating output for tables of tests, not inside functions.
53945         (parse_args): Likewise.
53946         (generate_testfile): Remove variable $in_func.  Update call to
53947         parse_args.
53948         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
53949         (MINUS_ZERO_INIT): Rename macro to minus_zero.
53950         (PLUS_INFTY_INIT): Rename macro to plus_infty.
53951         (MINUS_INFTY_INIT): Rename macro to minus_infty.
53952         (QNAN_VALUE_INIT): Rename macro to qnan_value.
53953         (MAX_VALUE_INIT): Rename macro to max_value.
53954         (MIN_VALUE_INIT): Rename macro to min_value.
53955         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
53956         (plus_zero): Remove variable.
53957         (minus_zero): Likewise.
53958         (plus_infty): Likewise.
53959         (minus_infty): Likewise.
53960         (qnan_value): Likewise.
53961         (max_value): Likewise.
53962         (min_value): Likewise.
53963         (min_subnorm_value): Likewise.
53965 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
53967         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
53968         uint64_t or uint32_t usage.
53969         * crypt/sha256-block.c: Likewise.
53970         * crypt/sha256-crypt.c: Likewise.
53971         * crypt/sha256.c: Likewise.
53972         * crypt/sha512-block.c: Likewise.
53973         * crypt/sha512-crypt.c: Likewise.
53974         * crypt/sha512.c: Likewise.
53975         * debug/backtrace-tst.c: Likewise.
53976         * debug/pcprofiledump.c: Likewise.
53977         * elf/cache.c: Likewise.
53978         * elf/dl-cache.c: Likewise.
53979         * elf/dl-misc.c: Likewise.
53980         * elf/dl-profile.c: Likewise.
53981         * elf/dl-support.c: Likewise.
53982         * elf/ldconfig.c: Likewise.
53983         * elf/sprof.c: Likewise.
53984         * iconv/dummy-repertoire.c: Likewise.
53985         * iconv/iconv_charmap.c: Likewise.
53986         * iconv/skeleton.c: Likewise.
53987         * iconvdata/8bit-generic.c: Likewise.
53988         * iconvdata/cp737.h: Likewise.
53989         * iconvdata/cp775.h: Likewise.
53990         * iconvdata/ibm1008.h: Likewise.
53991         * iconvdata/ibm1025.h: Likewise.
53992         * iconvdata/ibm1046.h: Likewise.
53993         * iconvdata/ibm1097.h: Likewise.
53994         * iconvdata/ibm1112.h: Likewise.
53995         * iconvdata/ibm1122.h: Likewise.
53996         * iconvdata/ibm1123.h: Likewise.
53997         * iconvdata/ibm1124.h: Likewise.
53998         * iconvdata/ibm1129.h: Likewise.
53999         * iconvdata/ibm1130.h: Likewise.
54000         * iconvdata/ibm1132.h: Likewise.
54001         * iconvdata/ibm1133.h: Likewise.
54002         * iconvdata/ibm1137.h: Likewise.
54003         * iconvdata/ibm1140.h: Likewise.
54004         * iconvdata/ibm1141.h: Likewise.
54005         * iconvdata/ibm1142.h: Likewise.
54006         * iconvdata/ibm1143.h: Likewise.
54007         * iconvdata/ibm1144.h: Likewise.
54008         * iconvdata/ibm1145.h: Likewise.
54009         * iconvdata/ibm1146.h: Likewise.
54010         * iconvdata/ibm1147.h: Likewise.
54011         * iconvdata/ibm1148.h: Likewise.
54012         * iconvdata/ibm1149.h: Likewise.
54013         * iconvdata/ibm1153.h: Likewise.
54014         * iconvdata/ibm1154.h: Likewise.
54015         * iconvdata/ibm1155.h: Likewise.
54016         * iconvdata/ibm1156.h: Likewise.
54017         * iconvdata/ibm1157.h: Likewise.
54018         * iconvdata/ibm1158.h: Likewise.
54019         * iconvdata/ibm1160.h: Likewise.
54020         * iconvdata/ibm1161.h: Likewise.
54021         * iconvdata/ibm1162.h: Likewise.
54022         * iconvdata/ibm1163.h: Likewise.
54023         * iconvdata/ibm1164.h: Likewise.
54024         * iconvdata/ibm1166.h: Likewise.
54025         * iconvdata/ibm1167.h: Likewise.
54026         * iconvdata/ibm12712.h: Likewise.
54027         * iconvdata/ibm1390.h: Likewise.
54028         * iconvdata/ibm1399.h: Likewise.
54029         * iconvdata/ibm16804.h: Likewise.
54030         * iconvdata/ibm4517.h: Likewise.
54031         * iconvdata/ibm4899.h: Likewise.
54032         * iconvdata/ibm4909.h: Likewise.
54033         * iconvdata/ibm4971.h: Likewise.
54034         * iconvdata/ibm5347.h: Likewise.
54035         * iconvdata/ibm803.h: Likewise.
54036         * iconvdata/ibm856.h: Likewise.
54037         * iconvdata/ibm901.h: Likewise.
54038         * iconvdata/ibm902.h: Likewise.
54039         * iconvdata/ibm9030.h: Likewise.
54040         * iconvdata/ibm9066.h: Likewise.
54041         * iconvdata/ibm921.h: Likewise.
54042         * iconvdata/ibm922.h: Likewise.
54043         * iconvdata/ibm9448.h: Likewise.
54044         * iconvdata/isiri-3342.h: Likewise.
54045         * iconvdata/jis0201.h: Likewise.
54046         * include/link.h: Likewise.
54047         * include/netdb.h: Likewise.
54048         * inet/check_native.c: Likewise.
54049         * inet/check_pf.c: Likewise.
54050         * inet/getipv4sourcefilter.c: Likewise.
54051         * inet/getnameinfo.c: Likewise.
54052         * inet/getsourcefilter.c: Likewise.
54053         * inet/htonl.c: Likewise.
54054         * inet/setipv4sourcefilter.c: Likewise.
54055         * inet/setsourcefilter.c: Likewise.
54056         * inet/test-inet6_opt.c: Likewise.
54057         * inet/tst-network.c: Likewise.
54058         * locale/C-collate.c: Likewise.
54059         * locale/C-ctype.c: Likewise.
54060         * locale/C-time.c: Likewise.
54061         * locale/C-translit.h: Likewise.
54062         * locale/loadarchive.c: Likewise.
54063         * locale/programs/3level.h: Likewise.
54064         * locale/programs/charmap.c: Likewise.
54065         * locale/programs/charmap.h: Likewise.
54066         * locale/programs/ld-address.c: Likewise.
54067         * locale/programs/ld-collate.c: Likewise.
54068         * locale/programs/ld-ctype.c: Likewise.
54069         * locale/programs/ld-identification.c: Likewise.
54070         * locale/programs/ld-measurement.c: Likewise.
54071         * locale/programs/ld-messages.c: Likewise.
54072         * locale/programs/ld-monetary.c: Likewise.
54073         * locale/programs/ld-name.c: Likewise.
54074         * locale/programs/ld-numeric.c: Likewise.
54075         * locale/programs/ld-paper.c: Likewise.
54076         * locale/programs/ld-telephone.c: Likewise.
54077         * locale/programs/ld-time.c: Likewise.
54078         * locale/programs/linereader.c: Likewise.
54079         * locale/programs/locale.c: Likewise.
54080         * locale/programs/locarchive.c: Likewise.
54081         * locale/programs/locfile.h: Likewise.
54082         * locale/programs/repertoire.c: Likewise.
54083         * locale/programs/simple-hash.c: Likewise.
54084         * locale/programs/simple-hash.h: Likewise.
54085         * malloc/memusage.c: Likewise.
54086         * malloc/memusagestat.c: Likewise.
54087         * nis/nis_defaults.c: Likewise.
54088         * nis/nis_hash.c: Likewise.
54089         * nis/nis_print.c: Likewise.
54090         * nis/nis_xdr.c: Likewise.
54091         * nscd/connections.c: Likewise.
54092         * nscd/hstcache.c: Likewise.
54093         * nscd/nscd_gethst_r.c: Likewise.
54094         * nscd/nscd_getserv_r.c: Likewise.
54095         * nscd/nscd_helper.c: Likewise.
54096         * nscd/servicescache.c: Likewise.
54097         * nss/makedb.c: Likewise.
54098         * nss/nss_db/db-XXX.c: Likewise.
54099         * nss/nss_db/db-initgroups.c: Likewise.
54100         * nss/nss_db/db-netgrp.c: Likewise.
54101         * nss/nss_files/files-network.c: Likewise.
54102         * nss/nss_files/files-parse.c: Likewise.
54103         * posix/bug-regex5.c: Likewise.
54104         * posix/fnmatch_loop.c: Likewise.
54105         * posix/regcomp.c: Likewise.
54106         * posix/regexec.c: Likewise.
54107         * posix/tst-rfc3484-2.c: Likewise.
54108         * posix/tst-rfc3484-3.c: Likewise.
54109         * posix/tst-rfc3484.c: Likewise.
54110         * resolv/nss_dns/dns-canon.c: Likewise.
54111         * resolv/nss_dns/dns-network.c: Likewise.
54112         * resolv/res_init.c: Likewise.
54113         * resolv/res_mkquery.c: Likewise.
54114         * resolv/tst-aton.c: Likewise.
54115         * stdlib/cxa_atexit.c: Likewise.
54116         * stdlib/cxa_finalize.c: Likewise.
54117         * stdlib/gen-fpioconst.c: Likewise.
54118         * stdlib/strtol_l.c: Likewise.
54119         * string/tst-endian.c: Likewise.
54120         * sunrpc/auth_des.c: Likewise.
54121         * sunrpc/clnt_udp.c: Likewise.
54122         * sunrpc/rtime.c: Likewise.
54123         * sunrpc/svcauth_des.c: Likewise.
54124         * sunrpc/xdr.c: Likewise.
54125         * sunrpc/xdr_intXX_t.c: Likewise.
54126         * sunrpc/xdr_rec.c: Likewise.
54127         * sysdeps/generic/ldconfig.h: Likewise.
54128         * sysdeps/generic/ldsodefs.h: Likewise.
54129         * sysdeps/generic/memusage.h: Likewise.
54130         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
54131         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
54132         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
54133         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
54134         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54135         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54136         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
54137         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
54138         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
54139         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
54140         * sysdeps/posix/getaddrinfo.c: Likewise.
54141         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
54142         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
54143         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
54144         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
54145         * sysdeps/powerpc/test-gettimebase.c: Likewise.
54146         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
54147         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
54148         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
54149         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
54150         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
54151         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
54152         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
54153         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
54154         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
54155         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
54156         * sysdeps/x86_64/dl-tls.h: Likewise.
54157         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
54158         * time/alt_digit.c: Likewise.
54159         * time/era.c: Likewise.
54160         * wcsmbs/tst-c16c32-1.c: Likewise.
54162 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
54164         * math/libm-test.inc (struct test_sincos_data): New type.
54165         (RUN_TEST_LOOP_sincos): New macro.
54166         (sincos_test_data): New variable.
54167         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
54169 2013-05-16  Richard Henderson  <rth@redhat.com>
54171         * math/atest-exp2.c (LIMB64): New macro.
54172         (CONSTSZ): New macro.
54173         (mp_exp1, mp_exp_m1, mp_log2): New variables.
54174         (hexdig): Move ...
54175         (print_mpn_fp): ... to function scope.
54176         (read_mpn_hex): Remove.
54177         (get_log2): Remove.
54178         (exp2_mpn): Use mp_log2.
54179         (main): Use mp_exp1.
54181 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
54183         * math/libm-test.inc: Remove comment about not testing "inexact"
54184         exceptions.
54185         (INEXACT_EXCEPTION): New macro.
54186         (NO_INEXACT_EXCEPTION): Likewise.
54187         (INVALID_EXCEPTION_OK): Update value.
54188         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
54189         (OVERFLOW_EXCEPTION_OK): Likewise.
54190         (UNDERFLOW_EXCEPTION_OK): Likewise.
54191         (IGNORE_ZERO_INF_SIGN): Likewise.
54192         (ERRNO_UNCHANGED): Likewise.
54193         (ERRNO_EDOM): Likewise.
54194         (ERRNO_ERANGE): Likewise.
54195         (test_exceptions): Handle testing "inexact" exceptions.
54196         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
54197         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
54198         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
54199         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
54200         INEXACT_EXCEPTION.
54201         (rint_towardzero_test_data): Likewise.
54202         (rint_downward_test_data): Likewise.
54203         (rint_upward_test_data): Likewise.
54205         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
54206         with OVERFLOW_EXCEPTION.
54207         (exp10_test_data): Likewise.
54208         (exp2_test_data): Likewise.
54209         (expm1_test_data): Likewise.
54210         (lgamma_test_data): Likewise.
54211         (pow_test_data): Likewise.
54212         (tgamma_test_data): Likewise.
54213         (yn_test_data): Remove duplicate test of overflow.
54215         * math/libm-test.inc (struct test_cc_c_data): New type.
54216         (RUN_TEST_LOOP_cc_c): New macro.
54217         (cpow_test_data): New variable.
54218         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
54220         * math/libm-test.inc (struct test_f_L_data): New type.
54221         (RUN_TEST_LOOP_f_L): New macro.
54222         (llrint_test_data): New variable.
54223         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
54224         (llrint_tonearest_test_data): New variable.
54225         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
54226         (llrint_towardzero_test_data): New variable.
54227         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
54228         (llrint_downward_test_data): New variable.
54229         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
54230         (llrint_upward_test_data): New variable.
54231         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
54232         (llround_test_data): New variable.
54233         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
54235 2013-05-13  Peter Collingbourne  <pcc@google.com>
54237         * math/atest-exp2.c (get_log2): Remove const attribute.
54239 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
54241         * math/libm-test.inc (struct test_f_l_data): New type.
54242         (RUN_TEST_LOOP_f_l): New macro.
54243         (lrint_test_data): New variable.
54244         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
54245         (lrint_tonearest_test_data): New variable.
54246         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
54247         (lrint_towardzero_test_data): New variable.
54248         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
54249         (lrint_downward_test_data): New variable.
54250         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
54251         (lrint_upward_test_data): New variable.
54252         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
54253         (lround_test_data): New variable.
54254         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
54256 2013-05-15  Peter Collingbourne  <pcc@google.com>
54258         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
54259         (EXTRACT_WORDS64) Use where appropriate.
54260         (INSERT_WORDS64) Likewise.
54262         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
54263         constraints with x constraints.
54264         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
54266         * malloc/obstack.c (_obstack_compat): Add initializer.
54268 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
54270         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
54271         si_trapno and add si_addr_lsb to _sifields.sigfault.
54272         (si_trapno): Remove macro.
54273         (si_addr_lsb): Define new macro.
54274         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
54276 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
54278         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
54279         instead of TEST_f_l.
54280         (llrint_test_tonearest): Likewise.
54281         (llrint_test_towardzero): Likewise.
54282         (llrint_test_downward): Likewise.
54283         (llrint_test_upward): Likewise.
54284         (llround_test): Likewise.
54286         * math/libm-test.inc (struct test_f_i_data): Add comment.
54287         (RUN_TEST_LOOP_f_b): New macro.
54288         (RUN_TEST_LOOP_f_b_tg): Likewise.
54289         (finite_test_data): New variable.
54290         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
54291         (isfinite_test_data): New variable.
54292         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54293         (isinf_test_data): New variable.
54294         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54295         (isnan_test_data): New variable.
54296         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54297         (isnormal_test_data): New variable.
54298         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54299         (issignaling_test_data): New variable.
54300         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54301         (signbit_test_data): New variable.
54302         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54304         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
54305         with INVALID_EXCEPTION.
54306         (acosh_test_data): Likewise.
54307         (asin_test_data): Likewise.
54308         (atanh_test_data): Likewise.
54309         (fmod_test_data): Likewise.
54310         (log_test_data): Likewise.
54311         (log10_test_data): Likewise.
54312         (log2_test_data): Likewise.
54313         (pow_test_data): Likewise.
54314         (sqrt_test_data): Likewise.
54315         (y0_test_data): Likewise.
54316         (y1_test_data): Likewise.
54317         (yn_test_data): Likewise.
54319         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
54320         function contents.
54322         * math/libm-test.inc (struct test_ff_i_data): New type.
54323         (RUN_TEST_LOOP_ff_i_tg): New macro.
54324         (isgreater_test_data): New variable.
54325         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54326         (isgreaterequal_test_data): New variable.
54327         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54328         (isless_test_data): New variable.
54329         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54330         (islessequal_test_data): New variable.
54331         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54332         (islessgreater_test_data): New variable.
54333         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54334         (isunordered_test_data): New variable.
54335         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54337 2013-05-14  David S. Miller  <davem@davemloft.net>
54339         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54341 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
54343         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
54345         * math/libm-test.inc (struct test_fF_f1_data): Change type of
54346         extra_test to int.
54347         (struct test_f_i_data): Change type of max_ulp to int.
54349         * math/libm-test.inc (test_ffI_f1_data): New type.
54350         (RUN_TEST_LOOP_ffI_f1): New macro.
54351         (remquo_test_data): New variable.
54352         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
54354         * setjmp/tst-setjmp-fp.c: New file.
54355         * setjmp/Makefile (tests): Add tst-setjmp-fp.
54356         (link-libm): New variable.
54357         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
54359         * math/libm-test.inc (struct test_f_i_data): New type.
54360         (RUN_TEST_LOOP_f_i): New macro.
54361         (RUN_TEST_LOOP_f_i_tg): Likewise.
54362         (fpclassify_test_data): New variable.
54363         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
54364         (ilogb_test_data): New variable.
54365         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
54367         * math/libm-test.inc (scalbln_test): Correct function name in END
54368         call.
54370         * math/libm-test.inc (struct test_f_f1_data): Add comment.
54371         (RUN_TEST_LOOP_fI_f1): New macro.
54372         (frexp_test_data): New variable.
54373         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
54375         * math/libm-test.inc (struct test_fF_f1_data): New type.
54376         (RUN_TEST_LOOP_fF_f1): New macro.
54377         (modf_test_data): New variable.
54378         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
54380         * math/libm-test.inc (struct test_f_f1_data): New type.
54381         (RUN_TEST_LOOP_f_f1): New macro.
54382         (gamma_test_data): New variable.
54383         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
54384         (lgamma_test_data): New variable.
54385         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
54387 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
54389         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
54390         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
54391         (main): Comment "tls" pseudo-hwcap.
54393 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
54395         * math/libm-test.inc (struct test_fl_f_data): New type.
54396         (RUN_TEST_LOOP_fl_f): New variable.
54397         (scalbln_test_data): New variable.
54398         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
54400         * math/libm-test.inc (struct test_fi_f_data): New type.
54401         (RUN_TEST_LOOP_fi_f): New macro.
54402         (ldexp_test_data): New variable.
54403         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
54404         (scalbn_test_data): New variable.
54405         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
54407         * math/libm-test.inc (struct test_c_f_data): New type.
54408         (RUN_TEST_LOOP_c_f): New macro.
54409         (cabs_test_data): New variable.
54410         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
54411         (carg_test_data): New variable.
54412         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
54413         (cimag_test_data): New variable.
54414         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
54415         (creal_test_data): New variable.
54416         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
54418         * math/libm-test.inc (struct test_if_f_data): New type.
54419         (RUN_TEST_LOOP_if_f): New macro.
54420         (jn_test_data): New variable.
54421         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
54422         (yn_test_data): New variable.
54423         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
54425         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
54427 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54429         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
54430         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
54432 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
54434         * benchtests/Makefile (CPPFLAGS-nonlib): Add
54435         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
54436         (bench-deps): Add bench-timing.h.
54437         * benchtests-bench-skeleton.c: Include bench-timing.h.
54438         (main): Use TIMING_* macros instead of clock_gettime.
54439         * benchtests/bench-timing.h: New file.
54441         [BZ #14582]
54442         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
54443         Renamed from _LIB_VERSION.
54444         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
54446 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
54448         * math/libm-test.inc (struct test_fff_f_data): New type.
54449         (RUN_TEST_LOOP_fff_f): New macro.
54450         (fma_test_data): New variable.
54451         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
54452         (fma_towardzero_test_data): New variable.
54453         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
54454         (fma_downward_test_data): New variable.
54455         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
54456         (fma_upward_test_data): New variable.
54457         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
54459         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
54460         (struct test_c_c_data): New type.
54461         (RUN_TEST_LOOP_c_c): New macro.
54462         (cacos_test_data): New variable.
54463         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
54464         (cacosh_test_data): New variable.
54465         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
54466         (casin_test_data): New variable.
54467         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
54468         (casinh_test_data): New variable.
54469         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
54470         (catan_test_data): New variable.
54471         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
54472         (catanh_test_data): New variable.
54473         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
54474         (ccos_test_data): New variable.
54475         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
54476         (ccosh_test_data): New variable.
54477         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
54478         (cexp_test_data): New variable.
54479         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
54480         (clog_test_data): New variable.
54481         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
54482         (clog10_test_data): New variable.
54483         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
54484         (conj_test_data): New variable.
54485         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
54486         (cproj_test_data): New variable.
54487         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
54488         (csin_test_data): New variable.
54489         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
54490         (csinh_test_data): New variable.
54491         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
54492         (csqrt_test_data): New variable.
54493         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
54494         (ctan_test_data): New variable.
54495         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
54496         (ctan_tonearest_test_data): New variable.
54497         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
54498         (ctan_towardzero_test_data): New variable.
54499         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
54500         (ctan_downward_test_data): New variable.
54501         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
54502         (ctan_upward_test_data): New variable.
54503         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
54504         (ctanh_test_data): New variable.
54505         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
54506         (ctanh_tonearest_test_data): New variable.
54507         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
54508         (ctanh_towardzero_test_data): New variable.
54509         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
54510         (ctanh_downward_test_data): New variable.
54511         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
54512         (ctanh_upward_test_data): New variable.
54513         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
54514         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
54515         of BUILD_COMPLEX.
54517         * math/libm-test.inc (struct test_ff_f_data): New type.
54518         (struct test_ff_f_data_nexttoward): Likewise.
54519         (RUN_TEST_LOOP_2_f): New macro.
54520         (RUN_TEST_LOOP_ff_f): Likewise.
54521         (atan2_test_data): New variable.
54522         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
54523         (copysign_test_data): New variable.
54524         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
54525         (fdim_test_data): New variable.
54526         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
54527         (fmax_test_data): New variable.
54528         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
54529         (fmin_test_data): New variable.
54530         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
54531         (fmod_test_data): New variable.
54532         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
54533         (hypot_test_data): New variable.
54534         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
54535         (nextafter_test_data): New variable.
54536         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
54537         (nexttoward_test_data): New variable.
54538         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
54539         (pow_test_data): New variable.
54540         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
54541         (pow_tonearest_test_data): New variable.
54542         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
54543         (pow_towardzero_test_data): New variable.
54544         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
54545         (pow_downward_test_data): New variable.
54546         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
54547         (pow_upward_test_data): New variable.
54548         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
54549         (remainder_test_data): New variable.
54550         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
54551         (scalb_test_data): New variable.
54552         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
54553         * sysdeps/i386/fpu/libm-test-ulps: Update.
54555 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
54557         * math/libm-test.inc (fma_test): Use max_value instead of local
54558         variable fltmax.
54559         (nextafter_test): Likewise.
54561         * math/libm-test.inc (acos_towardzero_test_data): New variable.
54562         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54563         (acos_downward_test_data): New variable.
54564         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54565         (acos_upward_test_data): New variable.
54566         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54567         (acosh_test_data): New variable.
54568         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
54569         (asin_test_data): New variable.
54570         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
54571         (asin_tonearest_test_data): New variable.
54572         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54573         (asin_towardzero_test_data): New variable.
54574         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54575         (asin_downward_test_data): New variable.
54576         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54577         (asin_upward_test_data): New variable.
54578         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54579         (asinh_test_data): New variable.
54580         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
54581         (atan_test_data): New variable.
54582         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
54583         (atanh_test_data): New variable.
54584         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
54585         (cbrt_test_data): New variable.
54586         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
54587         (ceil_test_data): New variable.
54588         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
54589         (cos_test_data): New variable.
54590         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
54591         (cos_tonearest_test_data): New variable.
54592         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54593         (cos_towardzero_test_data): New variable.
54594         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54595         (cos_downward_test_data): New variable.
54596         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54597         (cos_upward_test_data): New variable.
54598         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54599         (cosh_test_data): New variable.
54600         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
54601         (cosh_tonearest_test_data): New variable.
54602         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54603         (cosh_towardzero_test_data): New variable.
54604         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54605         (cosh_downward_test_data): New variable.
54606         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54607         (cosh_upward_test_data): New variable.
54608         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54609         (erf_test_data): New variable.
54610         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
54611         (erfc_test_data): New variable.
54612         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
54613         (exp_test_data): New variable.
54614         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
54615         (exp_tonearest_test_data): New variable.
54616         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54617         (exp_towardzero_test_data): New variable.
54618         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54619         (exp_downward_test_data): New variable.
54620         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54621         (exp_upward_test_data): New variable.
54622         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54623         (exp10_test_data): New variable.
54624         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
54625         (exp2_test_data): New variable.
54626         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
54627         (expm1_test_data): New variable.
54628         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
54629         (fabs_test_data): New variable.
54630         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
54631         (floor_test_data): New variable.
54632         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
54633         (j0_test_data): New variable.
54634         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
54635         (j1_test_data): New variable.
54636         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
54637         (log_test_data): New variable.
54638         (log_test): Run tests with RUN_TEST_LOOP_f_f.
54639         (log10_test_data): New variable.
54640         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
54641         (log1p_test_data): New variable.
54642         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
54643         (log2_test_data): New variable.
54644         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
54645         (logb_test_data): New variable.
54646         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
54647         (logb_downward_test_data): New variable.
54648         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54649         (nearbyint_test_data): New variable.
54650         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
54651         (rint_test_data): New variable.
54652         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
54653         (rint_tonearest_test_data): New variable.
54654         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54655         (rint_towardzero_test_data): New variable.
54656         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54657         (rint_downward_test_data): New variable.
54658         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54659         (rint_upward_test_data): New variable.
54660         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54661         (round_test_data): New variable.
54662         (round_test): Run tests with RUN_TEST_LOOP_f_f.
54663         (sin_test_data): New variable.
54664         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
54665         (sin_tonearest_test_data): New variable.
54666         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54667         (sin_towardzero_test_data): New variable.
54668         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54669         (sin_downward_test_data): New variable.
54670         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54671         (sin_upward_test_data): New variable.
54672         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54673         (sinh_test_data): New variable.
54674         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
54675         (sinh_tonearest_test_data): New variable.
54676         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54677         (sinh_towardzero_test_data): New variable.
54678         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54679         (sinh_downward_test_data): New variable.
54680         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54681         (sinh_upward_test_data): New variable.
54682         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54683         (sqrt_test_data): New variable.
54684         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
54685         (tan_test_data): New variable.
54686         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
54687         (tan_tonearest_test_data): New variable.
54688         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54689         (tan_towardzero_test_data): New variable.
54690         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54691         (tan_downward_test_data): New variable.
54692         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54693         (tan_upward_test_data): New variable.
54694         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54695         (tanh_test_data): New variable.
54696         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
54697         (tgamma_test_data): New variable.
54698         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
54699         (trunc_test_data): New variable.
54700         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
54701         (y0_test_data): New variable.
54702         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
54703         (y1_test_data): New variable.
54704         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
54705         (significand_test_data): New variable.
54706         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
54708 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
54710         [BZ #12387]
54711         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
54713 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
54715         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
54717 2013-05-10  Andreas Jaeger  <aj@suse.de>
54719         [BZ #15448]
54720         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
54721         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
54723 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
54725         * math/gen-libm-test.pl (adjust_arg): New function.
54726         (special_functions): Handle generating output in both functions
54727         and arrays.
54728         (parse_args): Likewise.
54729         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
54730         $in_func argument to parse_args.
54731         * math/libm-test.inc (struct test_f_f_data): New type.
54732         (IF_ROUND_INIT_): New macro.
54733         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
54734         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
54735         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
54736         (IF_ROUND_INIT_FE_UPWARD): Likewise.
54737         (ROUND_RESTORE_): Likewise.
54738         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
54739         (ROUND_RESTORE_FE_TONEAREST): Likewise.
54740         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
54741         (ROUND_RESTORE_FE_UPWARD): Likewise.
54742         (RUN_TEST_LOOP_f_f): New macro.
54743         (acos_test_data): New variable.
54744         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
54745         (acos_tonearest_test_data): New variable.
54746         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54748 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
54750         * benchtests/bench-skeleton.c (startup): Fix coding style.
54752 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
54754         [BZ #6809]
54755         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
54756         negative infinity argument.
54757         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
54758         negative infinity argument.
54759         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
54760         negative infinity argument.
54761         * math/libm-test.inc (tgamma_test): Expect errno to be set for
54762         domain errors.
54764 2013-05-10  Florian Weimer  <fweimer@redhat.com>
54766         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
54767         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
54768         * iconv/iconv_prog.c (main): Likewise.
54769         * locale/programs/charmap-dir.c (charmap_readdir)
54770         (fopen_uncompressed): Likewise.
54771         * locale/programs/locfile.c (siblings_uncached)
54772         (write_locale_data): Use lstat64 instead of lstat.
54773         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
54774         stat.
54776 2013-05-10  Andreas Jaeger  <aj@suse.de>
54778         [BZ #15395]
54779         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
54780         localization.
54781         Include <locale.h>.
54783 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
54785         * elf/dl-close.c (_dl_close_worker): Add comments.
54787 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
54789         [BZ #15359]
54790         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
54791         high part of pi/2.
54792         (__ieee754_rem_pio2l): Update comments.
54794         [BZ #15429]
54795         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
54796         high part of pi/2.
54797         (__ieee754_rem_pio2l): Update comments.
54799         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
54800         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
54802         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
54803         M_PI_4l.
54805         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
54806         (M_PI_34_LOG10El): Likewise.
54807         (M_PI2_LOG10El): Likewise.
54808         (M_PI4_LOG10El): Likewise.
54809         (M_PI_LOG10El): Likewise.
54811 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54813         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54815 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
54817         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
54818         (MINUS_ZERO_INIT): Likewise.
54819         (PLUS_INFTY_INIT): Likewise.
54820         (MINUS_INFTY_INIT): Likewise.
54821         (QNAN_VALUE_INIT): Likewise.
54822         (MAX_VALUE_INIT): Likewise.
54823         (MIN_VALUE_INIT): Likewise.
54824         (MIN_SUBNORM_VALUE_INIT): Likewise.
54825         (plus_zero): Initialize with PLUS_ZERO_INIT.
54826         (minus_zero): Initialize with MINUS_ZERO_INIT.
54827         (plus_infty): Initialize with PLUS_INFTY_INIT.
54828         (minus_infty): Initialize with MINUS_INFTY_INIT.
54829         (qnan_value): Initialize with QNAN_VALUE_INIT.
54830         (max_value): Initialize with MAX_VALUE_INIT.
54831         (min_value): Initialize with MIN_VALUE_INIT.
54832         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
54834         * math/libm-test.inc (RUN_TEST_if_f): New macro.
54835         (jn_test): Use TEST_if_f instead of TEST_ff_f.
54836         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
54837         (yn_test): Use TEST_if_f instead of TEST_ff_f.
54839         * math/libm-test.inc (RUN_TEST_f_f): New macro.
54840         (RUN_TEST_2_f): Likewise.
54841         (RUN_TEST_ff_f): Likewise.
54842         (RUN_TEST_fi_f): Likewise.
54843         (RUN_TEST_fl_f): Likewise.
54844         (RUN_TEST_fff_f): Likewise.
54845         (RUN_TEST_c_f): Likewise.
54846         (RUN_TEST_f_f1): Likewise.
54847         (RUN_TEST_fF_f1): Likewise.
54848         (RUN_TEST_fI_f1): Likewise.
54849         (RUN_TEST_ffI_f1): Likewise.
54850         (RUN_TEST_c_c): Likewise.
54851         (RUN_TEST_cc_c): Likewise.
54852         (RUN_TEST_f_i): Likewise.
54853         (RUN_TEST_f_i_tg): Likewise.
54854         (RUN_TEST_ff_i_tg): Likewise.
54855         (RUN_TEST_f_b): Likewise.
54856         (RUN_TEST_f_b_tg): Likewise.
54857         (RUN_TEST_f_l): Likewise.
54858         (RUN_TEST_f_L): Likewise.
54859         (RUN_TEST_sincos): Likewise.
54860         * math/gen-libm-test.pl (new_test): Take new argument to indicate
54861         whether to show exceptions.  Do not include ");\n" in return
54862         value.
54863         (special_functions): Output call to RUN_TEST_sincos instead of
54864         check_float calls.  Update calls to new_test.
54865         (parse_args): Output call to single RUN_TEST_* macro instead of
54866         check_* calls and other assignments.  Update calls to new_test.
54868         [BZ #2546]
54869         [BZ #2560]
54870         [BZ #5159]
54871         [BZ #15426]
54872         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
54873         input to result for tgamma overflow.
54874         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
54875         (gamma_coeff): New variable.
54876         (NCOEFF): New macro.
54877         (gamma_positive): New function.
54878         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
54879         underflow here.  Use gamma_positive instead of exp (lgamma) for
54880         other arguments.
54881         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
54882         (gamma_coeff): New variable.
54883         (NCOEFF): New macro.
54884         (gammaf_positive): New function.
54885         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
54886         underflow here.  Use gamma_positive instead of exp (lgamma) for
54887         other arguments.
54888         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
54889         (gamma_coeff): New variable.
54890         (NCOEFF): New macro.
54891         (gammal_positive): New function.
54892         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
54893         underflow here.  Use gamma_positive instead of exp (lgamma) for
54894         other arguments.
54895         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
54896         (gamma_coeff): New variable.
54897         (NCOEFF): New macro.
54898         (gammal_positive): New function.
54899         (__ieee754_gammal_r): Handle positive infinity, overflow and
54900         underflow here.  Handle NaN the same as positive infinity.  Remove
54901         check x < 0xffffffff for negative integers.  Use gamma_positive
54902         instead of exp (lgamma) for other arguments.
54903         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
54904         (gamma_coeff): New variable.
54905         (NCOEFF): New macro.
54906         (gammal_positive): New function.
54907         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
54908         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
54909         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
54910         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
54911         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
54912         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
54913         * sysdeps/generic/math_private.h (__gamma_productf): New
54914         prototype.
54915         (__gamma_product): Likewise.
54916         (__gamma_productl): Likewise.
54917         * math/Makefile (libm-calls): Add gamma_product.
54918         * math/libm-test.inc (tgamma_test): Add more tests.
54919         * sysdeps/i386/fpu/libm-test-ulps: Update.
54920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54922 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
54924         * benchtests/bench-skeleton.c (main): Preheat CPU.
54926 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
54928         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
54930 2013-05-07  Roland McGrath  <roland@hack.frob.com>
54932         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
54933         and _dl_skip_args_internal.
54935 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
54937         * manual/message.texi (Message Translation): Talk about users.
54938         Message to key mapping impacts design.
54940 2013-05-06  Roland McGrath  <roland@hack.frob.com>
54942         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
54944         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
54946         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
54947         * sysdeps/wordsize-64/glob64.c: ... here.
54949         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
54950         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
54951         New macros.
54953         * debug/getlogin_r_chk.c: Moved to ...
54954         * login/getlogin_r_chk.c: ... here.
54955         * debug/Makefile (routines): Move getlogin_r_chk to ...
54956         * login/Makefile (routines): ... here.
54957         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
54958         * login/Versions (libc: GLIBC_2.4): ... here.
54960         * io/poll.c (__poll): Renamed from poll.
54961         Add libc_hidden_def.
54962         (poll): Define as weak alias.
54964         * debug/ptsname_r_chk.c: Moved to ...
54965         * login/ptsname_r_chk.c: ... here.
54966         * debug/Makefile (routines): Move ptsname_r_chk to ...
54967         * login/Makefile (routines): ... here.
54968         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
54969         * login/Versions (libc: GLIBC_2.4): ... here.
54971         * posix/getlogin.c: Moved to ...
54972         * login/getlogin.c: ... here.
54973         * posix/getlogin_r.c: Moved to ...
54974         * login/getlogin_r.c: ... here.
54975         * posix/getlogin_r.c: Moved to ...
54976         * login/getlogin_r.c: ... here.
54977         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
54978         * login/Makefile (routines): ... here.
54979         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
54980         * login/Versions (libc: GLIBC_2.0): ... here.
54982         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
54983         (setrlimit): Define as weak alias.
54985         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
54986         Call __ names for open, ftruncate, and close.
54987         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
54988         (truncate): Define as weak alias.
54990 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
54992         * math/gen-libm-test.pl (parse_args): Initialize x before each
54993         test of frexp, modf and remquo.
54995         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
54996         test signgam value.
54998 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55000         [BZ #15418]
55001         [BZ #15419]
55002         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
55003         internal tests.
55004         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55006 2013-05-06  Roland McGrath  <roland@hack.frob.com>
55008         * elf/dl-writev.h: New file.
55009         * elf/dl-misc.c: Include it.
55010         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
55011         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
55013 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
55015         * math/libm-test.inc (noXFails): Remove variable.
55016         (noXPasses): Likewise.
55017         (BUILD_COMPLEX_INT): Remove macro.
55018         (print_screen): Remove xfail argument.
55019         (print_screen_max_error): Likewise.
55020         (update_stats): Likewise.
55021         (print_max_error): Likewise.  Update calls to other affected
55022         functions.
55023         (print_complex_max_error): Likewise.
55024         (test_single_exception): Update calls to print_screen.
55025         (test_single_errno): Likewise.
55026         (check_float_internal): Remove xfail argument.  Update calls to
55027         other affected functions.
55028         (check_float): Likewise.
55029         (check_complex): Likewise.
55030         (check_int): Likewise.
55031         (check_long): Likewise.
55032         (check_bool): Likewise.
55033         (check_longlong): Likewise.
55034         (main): Don't print noXFails and noXPasses.
55035         * math/gen-libm-test.pl (top level): Don't mention expected
55036         failure handling in comment.
55037         (new_test): Don't handle expected failures.
55038         (parse_args): Don't mention expected failure handling in comment.
55039         (generate_testfile): Don't handle expected failures.
55040         (parse_ulps): Likewise.
55041         (print_ulps_file): Likewise.
55042         (get_failure): Remove function.
55043         (output_test): Don't handle expected failures.
55044         * make/README.libm-test: Don't mention expected failure handling.
55046         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
55047         (minus_zero): Likewise.
55048         (plus_infty): Likewise.
55049         (minus_infty): Likewise.
55050         (qnan_value): Likewise.
55051         (max_value): Likewise.
55052         (min_value): Likewise.
55053         (min_subnorm_value): Likewise.
55054         (initialize): Do not initialize those variables dynamically.
55056 2013-05-03  Roland McGrath  <roland@hack.frob.com>
55058         * io/open.c (__open_2): Moved to ...
55059         * io/open_2.c: ... this new file.
55060         * io/open64.c (__open64_2): Moved to ...
55061         * io/open64_2.c: ... this new file.
55062         * io/openat.c (__openat_2): Moved to ...
55063         * io/openat_2.c: ... this new file.
55064         * io/openat64.c (__openat64_2): Moved to ...
55065         * io/openat64_2.c: ... this new file.
55066         * io/Makefile (routines): Add them.
55067         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
55068         * sysdeps/unix/sysv/linux/open_2.c: File removed.
55069         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
55070         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
55071         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
55072         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
55073         (__openat64): Add hidden_ver.
55074         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
55075         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
55077         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
55078         Separately conditionalize setting of GLRO(dl_sysinfo) so
55079         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
55080         as well, but the actual setting is only under [NEED_DL_SYSINFO].
55082 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55084         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
55085         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
55086         definition.
55087         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
55088         * sysdeps/unix/sysv/linux/powerpc/init-first.c
55089         (_libc_vdso_platform_setup): Add __vdso_time initialization.
55090         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
55091         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
55093 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
55095         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
55096         test signgam value.
55098         * math/libm-test.inc (hypot_test): Do not use
55099         IGNORE_ZERO_INF_SIGN.
55101 2013-05-03  Andreas Jaeger  <aj@suse.de>
55103         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
55104         Linux 3.9.
55105         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
55106         (PF_MAX): Adjust for VSOCK change.
55108 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55110         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55112 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
55114         [BZ #15264]
55115         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
55116         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
55117         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
55119 2013-05-02  David S. Miller  <davem@davemloft.net>
55121         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55123 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
55125         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
55127 2013-05-01  Roland McGrath  <roland@hack.frob.com>
55129         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
55131 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
55133         [BZ #14952]
55134         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
55135         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
55136         Use __attribute__ ((__gnu_inline__)).
55137         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
55138         Don't use __attribute__ ((__gnu_inline__)).
55140 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
55142         [BZ #15423]
55143         * math/s_catan.c (__catan): Handle small real or imaginary part of
55144         input specially to avoid spurious underflow.
55145         * math/s_catanf.c (__catanf): Likewise.
55146         * math/s_catanh.c (__catanh): Likewise.
55147         * math/s_catanhf.c (__catanhf): Likewise.
55148         * math/s_catanhl.c (__catanhl): Likewise.
55149         * math/s_catanl.c (__catanl): Likewise.
55150         * math/libm-test.inc (catan_test): Add more tests.
55151         (catanh_test): Likewise.
55152         * sysdeps/i386/fpu/libm-test-ulps: Update.
55153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55155 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55157         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55159 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
55161         [BZ #15416]
55162         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
55163         accurately for denominator in atan2.
55164         * math/s_catanf.c (__catanf): Likewise.
55165         * math/s_catanh.c (__catanh): Likewise.
55166         * math/s_catanhf.c (__catanhf): Likewise.
55167         * math/s_catanhl.c (__catanhl): Likewise.
55168         * math/s_catanl.c (__catanl): Likewise.
55169         * math/libm-test.inc (catan_test): Add more tests.
55170         (catanh_test): Likewise.
55171         * sysdeps/i386/fpu/libm-test-ulps: Update.
55172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55174 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
55176         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
55178         * benchtests/Makefile (bench): Remove slow benchmarks.
55179         * benchtests/atan-inputs: Add slow benchmark inputs.
55180         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
55181         (BENCH_FUNC): Accept variant offset.
55182         (VARIANT): Define.
55183         * benchtests/bench-skeleton.c (main): Run benchmark for each
55184         variant.
55185         * benchtests/cos-inputs: Add slow benchmark inputs.
55186         * benchtests/exp-inputs: Likewise.
55187         * benchtests/pow-inputs: Likewise.
55188         * benchtests/sin-inputs: Likewise.
55189         * benchtests/slowatan-inputs: Remove.
55190         * benchtests/slowatan.c: Remove.
55191         * benchtests/slowcos-inputs: Remove.
55192         * benchtests/slowcos.c: Remove.
55193         * benchtests/slowexp-inputs: Remove.
55194         * benchtests/slowexp.c: Remove.
55195         * benchtests/slowpow-inputs: Remove.
55196         * benchtests/slowpow.c: Remove.
55197         * benchtests/slowsin-inputs: Remove.
55198         * benchtests/slowsin.c: Remove.
55199         * benchtests/slowtan-inputs: Remove.
55200         * benchtests/slowtan.c: Remove.
55201         * benchtests/tan-inputs: Add slow benchmark inputs.
55202         * scripts/bench.pl: Parse comments and directives.
55204         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
55205         in CPPFLAGS.
55206         ($(objpfx)bench-%.c): Remove *-ITER.
55207         * benchtests/bench-modf.c: Remove definition of ITER.
55208         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
55209         (main): Loop for DURATION seconds instead of fixed number of
55210         iterations.
55211         * scripts/bench.pl: Don't expect iterations in parameters.
55213 2013-04-29  Roland McGrath  <roland@hack.frob.com>
55215         * io/fchdir.c (__fchdir): Renamed from fchdir.
55216         (fchdir): Define as weak alias.
55218 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
55220         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
55221         (ERRNO_EDOM): Likewise.
55222         (ERRNO_ERANGE): Likewise.
55223         (noErrnoTests): New variable.
55224         (init_max_error): Set errno to 0.
55225         (test_single_errno): New function.
55226         (test_errno): Likewise.
55227         (check_float_internal): Call test_errno.  Set errno to 0.
55228         (check_complex): Refer to errno tests in comment.
55229         (check_int): Call test_errno.  Set errno to 0.
55230         (check_long): Likewise.
55231         (check_bool): Likewise.
55232         (check_longlong): Likewise.
55233         (cos_test): Use ERRNO_* flags for errno tests instead of
55234         check_int.
55235         (expm1_test): Likewise.
55236         (fmod_test): Likewise.
55237         (ilogb_test): Likewise.
55238         (lgamma_test): Likewise.
55239         (pow_test): Likewise.
55240         (remainder_test): Likewise.
55241         (sin_test): Likewise.
55242         (tan_test): Likewise.
55243         (yn_test): Likewise.
55244         (initialize): Set errno to 0.
55245         (main): Print number of errno tests.
55246         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
55248 2013-04-29  Andreas Jaeger  <aj@suse.de>
55250         [BZ #15084]
55251         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
55252         and RES_USEVC.
55254         [BZ #15085]
55255         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
55256         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
55257         unimplemented.
55259         [BZ #15380]
55260         * stdlib/random.c (__initstate): Return NULL if
55261         __initstate fails.
55263         [BZ #15086]
55264         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
55265         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
55266         RES_SNGLKUPREOP.
55268 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55270         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55272 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
55274         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
55275         of individual tests.
55276         (casin_test): Likewise.
55277         (casinh_test): Likewise.
55279 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
55281         [BZ #15409]
55282         * math/s_catan.c (__catan): Handle arguments with large real or
55283         imaginary part separately without squaring.
55284         * math/s_catanf.c (__catanf): Likewise.
55285         * math/s_catanh.c (__catanh): Likewise.
55286         * math/s_catanhf.c (__catanhf): Likewise.
55287         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
55288         and redefine.
55289         (__catanhl): Handle arguments with large real or imaginary part
55290         separately without squaring.
55291         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
55292         and redefine.
55293         (__catanl): Handle arguments with large real or imaginary part
55294         separately without squaring.
55295         * math/libm-test.inc (catan_test): Add more tests.
55296         (catanh_test): Likewise.
55297         * sysdeps/i386/fpu/libm-test-ulps: Update.
55298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55300 2013-04-27  Andreas Jaeger  <aj@suse.de>
55302         [BZ #15007]
55303         * stdlib/stdlib.h: Update guards for qecvt.
55304         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
55305         <stdlib.h>.
55307 2013-04-27  Allan McRae  <allan@archlinux.org>
55309         * sysdeps/i386/fpu/libm-test-ulps: Update.
55311 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
55313         [BZ #15406]
55314         * math/s_catan.c: Include <float.h>.
55315         (__catan): Ensure underflow exception occurs for underflowed
55316         result.
55317         * math/s_catanf.c: Include <float.h>.
55318         (__catanf): Ensure underflow exception occurs for underflowed
55319         result.
55320         * math/s_catanh.c: Include <float.h>.
55321         (__catanh): Ensure underflow exception occurs for underflowed
55322         result.
55323         * math/s_catanhf.c: Include <float.h>.
55324         (__catanhf): Ensure underflow exception occurs for underflowed
55325         result.
55326         * math/s_catanhl.c: Include <float.h>.
55327         (__catanhl): Ensure underflow exception occurs for underflowed
55328         result.
55329         * math/s_catanl.c: Include <float.h>.
55330         (__catanl): Ensure underflow exception occurs for underflowed
55331         result.
55332         * math/libm-test.inc (catan_test): Add more tests.
55333         (catanh_test): Likewise.
55335         [BZ #15405]
55336         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
55337         underflowed result.
55338         * math/s_ccoshf.c (__ccoshf): Likewise.
55339         * math/s_ccoshl.c (__ccoshl): Likewise.
55340         * math/s_csin.c (__csin): Likewise.
55341         * math/s_csinf.c (__csinf): Likewise.
55342         * math/s_csinh.c (__csinh): Likewise.
55343         * math/s_csinhf.c (__csinhf): Likewise.
55344         * math/s_csinhl.c (__csinhl): Likewise.
55345         * math/s_csinl.c (__csinl): Likewise.
55346         * math/libm-test.inc (ccos_test): Add more tests.
55347         (ccosh_test): Likewise.
55348         (csin_test): Likewise.
55349         (csinh_test): Likewise.
55351 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55353         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
55354         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
55355         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
55356         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
55357         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
55358         powerpc/power5+/fpu folders.
55359         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
55362 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
55364         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55366 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
55368         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
55369         additions to variable.
55370         [$(config-machine) = x86_64] (modules-names): Likewise.
55371         ($(objpfx)tst-audit3): Remove dependency.
55372         ($(objpfx)tst-audit3.out): Likewise.
55373         ($(objpfx)tst-audit4): Likewise.
55374         ($(objpfx)tst-audit4.out): Likewise.
55375         ($(objpfx)tst-audit5): Likewise.
55376         ($(objpfx)tst-audit5.out): Likewise.
55377         ($(objpfx)tst-audit6): Likewise.
55378         ($(objpfx)tst-audit6.out): Likewise.
55379         ($(objpfx)tst-audit7): Likewise.
55380         ($(objpfx)tst-audit7.out): Likewise.
55381         (tst-audit3-ENV): Remove variable.
55382         (tst-audit4-ENV): Likewise.
55383         (tst-audit5-ENV): Likewise.
55384         (tst-audit6-ENV): Likewise.
55385         (tst-audit7-ENV): Likewise.
55386         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
55387         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
55388         addition to variable.
55389         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
55390         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
55391         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
55392         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
55393         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
55394         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
55395         tst-audit3, tst-audit4 and tst-audit5.
55396         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
55397         tst-audit6 and tst-audit7.
55398         [$(subdir) = elf] (modules-names): Add audit modules for those
55399         tests.
55400         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
55401         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
55402         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
55403         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
55404         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
55405         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
55406         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
55407         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
55408         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
55409         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
55410         [$(subdir) = elf] (tst-audit3-ENV): New variable.
55411         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
55412         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
55413         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
55414         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
55415         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
55416         Likewise.
55417         [$(subdir) = elf && $(config-cflags-avx) = yes]
55418         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
55419         [$(subdir) = elf && $(config-cflags-avx) = yes]
55420         (CFLAGS-tst-auditmod4a.c): Likewise.
55421         [$(subdir) = elf && $(config-cflags-avx) = yes]
55422         (CFLAGS-tst-auditmod4b.c): Likewise.
55423         [$(subdir) = elf && $(config-cflags-avx) = yes]
55424         (CFLAGS-tst-auditmod6b.c): Likewise.
55425         [$(subdir) = elf && $(config-cflags-avx) = yes]
55426         (CFLAGS-tst-auditmod6c.c): Likewise.
55427         [$(subdir) = elf && $(config-cflags-avx) = yes]
55428         (CFLAGS-tst-auditmod7b.c): Likewise.
55429         * elf/tst-audit3.c: Move to ...
55430         * sysdeps/x86_64/tst-audit3.c: ... here.
55431         * elf/tst-audit4.c: Move to ...
55432         * sysdeps/x86_64/tst-audit4.c: ... here.
55433         * elf/tst-audit5.c: Move to ...
55434         * sysdeps/x86_64/tst-audit5.c: ... here.
55435         * elf/tst-audit6.c: Move to ...
55436         * sysdeps/x86_64/tst-audit6.c: ... here.
55437         * elf/tst-audit7.c: Move to ...
55438         * sysdeps/x86_64/tst-audit7.c: ... here.
55439         * elf/tst-auditmod3a.c: Move to ...
55440         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
55441         * elf/tst-auditmod3b.c: Move to ...
55442         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
55443         * elf/tst-auditmod4a.c: Move to ...
55444         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
55445         * elf/tst-auditmod4b.c: Move to ...
55446         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
55447         * elf/tst-auditmod5a.c: Move to ...
55448         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
55449         * elf/tst-auditmod5b.c: Move to ...
55450         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
55451         * elf/tst-auditmod6a.c: Move to ...
55452         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
55453         * elf/tst-auditmod6b.c: Move to ...
55454         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
55455         * elf/tst-auditmod6c.c: Move to ...
55456         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
55457         * elf/tst-auditmod7a.c: Move to ...
55458         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
55459         * elf/tst-auditmod7b.c: Move to ...
55460         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
55462 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
55464         [BZ #15366]
55465         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
55466         define unconditionally.
55467         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
55468         define unconditionally.
55469         (INT8_C, INT16_C, etc.): Likewise.
55471 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
55473         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
55474         __ehdr_start with hidden visibility.
55476         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
55478 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
55480         * math/libm-test.inc (cos_test): Use accurate hex constants.
55481         (sincost_test): Likewise.
55483 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
55485         * math/libm-test.inc (catan_test): Add more tests.
55486         (catanh_test): Likewise.
55488         * math/s_catanf.c (__catanf): Use suffixed floating-point
55489         constants.
55490         * math/s_catanhf.c (__catanhf): Likewise.
55491         * math/s_catanhl.c (__catanhl): Likewise.
55492         * math/s_catanl.c (__catanl): Likewise.
55494         [BZ #15394]
55495         * math/s_catan.c (__catan): Calculate imaginary part of result
55496         with log1p not log unless computing log of number close to 0.
55497         * math/s_catanf.c (__catanf): Likewise.
55498         * math/s_catanl.c (__catanl): Likewise.
55499         * math/s_catanh.c (__catanh): Calculate real part of result with
55500         log1p not log unless computing log of number close to 0.
55501         * math/s_catanhf.c (__catanhf): Likewise.
55502         * math/s_catanhl.c (__catanhl): Likewise.
55503         * math/libm-test.inc (catan_test): Add more tests.
55504         (catanh_test): Likewise.
55505         * sysdeps/i386/fpu/libm-test-ulps: Update.
55506         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55508 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
55510         * benchtests/Makefile: Mention files in which fast and slow
55511         paths of math functions are implemented.
55513 2013-04-23  Roland McGrath  <roland@hack.frob.com>
55515         * sysdeps/posix/timespec_get.c: New file.
55517 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55519         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
55520         POWER.
55521         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
55522         for POWER.
55523         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
55524         powerpc/power5/fpu folders.
55525         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
55526         * benchtests/Makefile: Add modf testcase.
55527         * benchtests/bench-modf.c: New file: Benchmark test for mo
55529 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
55531         [BZ #14888]
55532         * time/Makefile (tests): Add tst-strptime-whitespace.
55533         * time/strptime_l.c (get_number): Use ISSPACE.
55534         (__strptime_internal): Likewise.
55535         * time/tst-strptime-whitespace.c: New test case.
55537 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
55539         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
55540         member.
55541         (_nss_files_init): Set it here.
55543 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
55545         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
55546         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
55547         unsigned.
55549 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
55551         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
55553 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
55555         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
55556         size just once.
55558 2013-04-21  David S. Miller  <davem@davemloft.net>
55560         * po/ru.po: Update Russion translation from translation project.
55562 2013-04-17  Adam Conrad  <adconrad@0c3.net>
55564         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
55565         and setfsgid.
55567 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
55569         * configure.in: Remove i386 configure warning. Remove i386 case.
55570         * configure: Regenerate.
55571         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
55572         Add example to error message.
55573         * sysdeps/i386/configure: Regenerate.
55575 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
55577         * benchtests/Makefile (bench): Add cos, tan, slowcos and
55578         slowtan.
55579         * benchtests/cos-inputs: New file.
55580         * benchtests/slowcos-inputs: New file.
55581         * benchtests/slowcos.c: New file.
55582         * benchtests/slowtan-inputs: New file.
55583         * benchtests/slowtan.c: New file.
55584         * benchtests/tan-inputs: New file.
55586 2013-04-16  Roland McGrath  <roland@hack.frob.com>
55588         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
55589         considered kosher.
55591 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55593         * benchtests/Makefile: Include cppflags-iterator.mk to add
55594         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
55596         * Makefile.in (bench-clean): New target.
55597         * benchtests/Makefile (bench-clean): Likewise.
55599 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
55601         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
55603 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
55605         * stdio-common/tstdiomisc.c: Fix coding-style violation.
55607 2013-04-15  Andreas Schwab  <schwab@suse.de>
55609         * nscd/grpcache.c (cache_addgr): Properly check for short write.
55610         * nscd/initgrcache.c (addinitgroupsX): Likewise.
55611         * nscd/pwdcache.c (cache_addpw): Likewise.
55612         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
55613         more than recsize.
55615 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55617         * benchtests/Makefile (bench): Write all output to
55618         bench-out.tmp together.
55620 2013-04-15  Andreas Schwab  <schwab@suse.de>
55622         * nscd/nscd.c (main): Don't fork again after closing files.
55624 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55626         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
55628         * benchtests/Rules (bench-deps): Collect dependencies into a
55629         single variable.  Add Makefile to dependencies.
55630         ($(objpfx)bench-%.c): Depend on bench-deps.
55632 2013-04-12  Roland McGrath  <roland@hack.frob.com>
55633             Xavier Roche  <roche+kml2@exalead.com>
55635         [BZ #15361]
55636         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
55637         just that it's a file descriptor.
55638         * manual/llio.texi (Synchronizing AIO Operations): Update description
55639         for EBADF error from aio_fsync.
55641 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
55643         * Rules (bench): Move target definition...
55644         * benchtests/Makefile: ... here.
55646 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
55648         * math/libm-test.inc (cos_test): Fix PI/2 test.
55649         (sincos_test): Likewise.
55650         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
55651         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
55653 2013-04-11  Andreas Schwab  <schwab@suse.de>
55655         [BZ #13988]
55656         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
55657         accept exponent character only when digits were seen.
55658         * stdio-common/Makefile (tests): Add bug26.
55659         * stdio-common/bug26.c: New file.
55661         [BZ #14293]
55662         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
55663         non-freeable.
55665 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
55667         * Makeconfig (rtld-prefix): Define built linker prefix.
55668         * Rules (run-bench): Use it.
55669         * math/Makefile (run-regen-ulps): Likewise.
55671         * Rules (bench): Remove eval.
55673 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
55674             Roland McGrath  <roland@hack.frob.com>
55675             Ondrej Bilka  <neleai@seznam.cz>
55677         [BZ #15346]
55678         * time/getdate.c: Include ctype.h and alloca.h.
55679         (__getdate_r): Trim leading and trailing spaces of input.
55680         * time/tst-getdate.c (tests): Add tests with leading and
55681         trailing spaces.
55683 2013-04-08  Roland McGrath  <roland@hack.frob.com>
55685         [BZ #14280]
55686         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
55687         when computing value.
55689 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
55691         * math/README.libm-test (How can I generate "libm-test-ulps"?):
55692         Use testrun.sh to run libm tests.
55694         [BZ #15309]
55695         * elf/dl-open.c (dl_open_worker): memset all of seen array.
55697 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
55699         [BZ #15264]
55700         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
55702 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
55704         * Makefile.in (regen-ulps): New target.
55705         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
55706         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
55707         [ifneq (no,$(PERL)] (regen-ulps): New target.
55708         [ifeq (no,$(PERL)] (regen-ulps): New target.
55709         * math/libm-test.inc (ulps_file_name): Define.
55710         (output_dir): New variable.
55711         (options): Add "output-dir" option.
55712         (parse_opt): Handle 'o' case.
55713         (main): If output_dir is non-NULL use it as a prefix
55714         otherwise use "".
55715         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
55717 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
55719         [BZ #10060, #10062]
55720         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
55721         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
55722         fail configure if __sync_val_compare_and_swap is not inlined.
55723         * sysdeps/i386/configure: Regenerate.
55724         * configure.in: Build for i686 when configured for i386.
55725         * configure: Regenerate.
55726         * README: Remove i386 reference.
55728 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
55730         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
55731         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55733 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
55735         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
55736         (lmsnanval): New variables.
55737         (F): Add conversion tests.
55738         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
55739         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
55741         * stdio-common/tstdiomisc.c (F): Properly collect individual
55742         tests' results.
55744         [BZ #14686, #15336]
55745         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
55746         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
55747         Instead, use input NaN values or generate a qNaN by arithmetic
55748         operation.  Also fix bugs to comply with the standard.
55749         * math/libm-test.inc (remainder_test): Add more tests.
55751         [BZ #15335, #15342]
55752         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
55753         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
55754         input NaN values or generate a qNaN by arithmetic operation.
55756         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
55757         unreachable code.
55759         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
55760         definitions.
55762 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
55764         [BZ #14478]
55765         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
55766         underflowed result.
55767         * math/s_cexpf.c (__cexpf): Likewise.
55768         * math/s_cexpl.c (__cexpl): Likewise.
55769         * math/libm-test.inc (cexp_test): Add more tests.
55771 2013-04-03  Andreas Schwab  <schwab@suse.de>
55773         [BZ #15330]
55774         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
55775         order arrays from heap if bigger than alloca cutoff.
55777 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
55779         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
55780         (SNAN_TESTS_double): Refer to GCC PR56831.
55781         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
55782         GCC PR56828.
55784 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
55786         * Rules (bench): Move bench.out after the run is complete.
55788         * Rules (bench): Echo currently running benchmark.
55790         * benchtests/Makefile (bench): Add atan and slowatan.
55791         * benchtests/atan-inputs: New file.
55792         * benchtests/slowatan-inputs: New file.
55793         * benchtests/slowatan.c: New file.
55795         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
55796         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
55797         its value.
55799         [BZ #15305]
55800         * sysdeps/unix/sysv/linux/kernel-features.h
55801         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
55802         __ASSUME_XFS_RESTRICTED_CHOWN.
55803         * sysdeps/unix/sysv/linux/pathconf.c
55804         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
55805         Save and restore errno.
55807 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
55809         [BZ #15327]
55810         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
55811         arguments using __kernel_casinh.
55812         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
55813         arguments using __kernel_casinhf.
55814         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
55815         arguments using __kernel_casinhl.
55816         * math/libm-test.inc (cacosh_test): Add more tests.
55817         * sysdeps/i386/fpu/libm-test-ulps: Update.
55818         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55820 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
55822         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
55823         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
55825         * bench/Makefile (bench): Add sin and slowsin.
55826         * benchtests/sin-inputs: New file.
55827         * benchtests/slowsin-inputs: New file.
55828         * benchtests/slowsin.c: New file.
55830         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
55831         (bench): Add slowexp and slowpow.
55832         (exp-ITER): Increase iterations.
55833         (pow-ITER): Likewise.
55834         * benchtests/exp-inputs: Change input.
55835         * benchtests/pow-inputs: Likewise.
55836         * benchtests/slowexp-inputs: New file.
55837         * benchtests/slowexp.c: New file.
55838         * benchtests/slowpow-inputs: New file.
55839         * benchtests/slowpow.c: New file.
55841 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55843         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
55844         instructions.
55845         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
55846         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
55847         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
55848         * benchtests/Makefile: Add rint benchtest.
55849         * benchtests/rint-inputs: Input for rint benchtest.
55851 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
55853         * Versions.def (libm): Add GLIBC_2.18.
55854         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
55855         hidden libm prototypes.
55856         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
55857         * math/Makefile (libm-calls): Add s_issignaling.
55858         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
55859         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
55860         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
55861         declaration.
55862         * math/math.h [__USE_GNU] (issignaling): New macro.
55863         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
55864         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
55865         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
55866         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
55867         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
55868         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
55869         * manual/arith.texi (issignaling): New section.
55870         * manual/libm-err-tab.pl (@all_functions): Update comment.
55871         * math/gen-libm-test.pl (parse_args): Apply special handling for
55872         issignaling.
55873         * math/libm-test.inc (print_float, issignaling_test): New
55874         functions.
55875         (check_float_internal): Add issignaling checks.
55876         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
55877         default definition.
55878         * sysdeps/powerpc/math-tests.h: New file.
55879         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
55880         tests.
55881         * math/test-snan.c (TEST_FUNC): Likewise.
55883 2013-03-30  David S. Miller  <davem@davemloft.net>
55885         * po/de.po: Update from translation team.
55887 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
55889         [BZ #10357]
55890         * math/k_casinh.c (__kernel_casinh): Handle arguments with
55891         imaginary part less than 1.0 and real part less than 0.5
55892         specially.
55893         * math/k_casinhf.c (__kernel_casinhf): Likewise.
55894         * math/k_casinhl.c (__kernel_casinhl): Likewise.
55895         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
55896         (cacos_test): Add more tests.
55897         (casin_test): Likewise.
55898         (casinh_test): Likewise.
55899         * sysdeps/i386/fpu/libm-test-ulps: Update.
55900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55902 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
55904         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
55905         ONE with its value.
55907         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
55908         (__pow_mp): Replace ONE and MONE with their values.
55909         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
55910         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
55911         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
55912         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
55913         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
55914         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
55916         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
55918         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
55919         (__pow_mp): Replace ZERO and MZERO with their values.
55920         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
55921         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
55922         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
55923         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
55924         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
55925         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
55926         (__sqr): Likewise.
55928         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
55930         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
55932 2013-03-28  Roland McGrath  <roland@hack.frob.com>
55934         * include/stdlib.h [!SHARED] (__call_tls_dtors):
55935         Declare with __attribute__ ((weak)).
55936         * stdlib/exit.c (__libc_atexit) [!SHARED]:
55937         Call __call_tls_dtors only if it's not NULL.
55939 2013-03-28  Roland McGrath  <roland@hack.frob.com>
55941         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
55942         didn't do it already, then set _dl_phdr and _dl_phnum based on the
55943         magic __ehdr_start linker symbol if it's defined.
55944         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
55945         them up here if it was already done.
55947         * elf/dl-support.c (_dl_phdr): Make pointer to const.
55948         (_dl_aux_init): Use const in cast when setting it.
55949         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
55950         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
55951         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
55953         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
55954         Declare them here.
55955         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
55956         * csu/libc-tls.c: Nor here.
55957         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
55959         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
55960         (__libc_message): Never call vsyslog.
55962 2013-03-28  Alan Modra  <amodra@gmail.com>
55964         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
55965         Define as empty.
55966         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
55967         Likewise.
55969 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55971         [BZ #15214]
55972         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
55973         underflow.
55974         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55976 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55978         [BZ #15304]
55979         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
55980         Don't add gid passed as argument.
55982         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
55984 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
55986         [BZ #15307]
55987         * math/k_casinh.c (__kernel_casinh): Handle arguments with
55988         imaginary part between 1.0 and 1.5 and real part less than 0.5
55989         specially.
55990         * math/k_casinhf.c (__kernel_casinhf): Likewise.
55991         * math/k_casinhl.c (__kernel_casinhl): Likewise.
55992         * math/libm-test.inc (cacos_test): Add more tests.
55993         (casin_test): Likewise.
55994         (casinh_test): Likewise.
55995         * sysdeps/i386/fpu/libm-test-ulps: Update.
55996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55998 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
56000         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
56001         constants.
56002         (norm): Likewise.
56003         (denorm): Likewise.
56004         (__dbl_mp): Likewise.
56005         (add_magnitudes): Likewise.
56006         (sub_magnitudes): Likewise.
56007         (__add): Likewise.
56008         (__sub): Likewise.
56009         (__mul): Likewise.
56010         (__sqr): Likewise.
56011         (__inv): Likewise.
56012         (__dvd): Likewise.
56014         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
56015         commented code.
56016         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
56017         (__dubcos): Likewise.
56018         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
56019         (__ieee754_acos): Likewise.
56020         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
56021         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
56022         (__exp1): Likewise.
56023         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
56024         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
56025         (log1): Likewise.
56026         (my_log2): Likewise.
56027         (checkint): Likewise.
56028         * sysdeps/ieee754/dbl-64/e_remainder.c
56029         (__ieee754_remainder): Likewise.
56030         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
56031         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
56032         (bsloww): Likewise.
56033         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
56035         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
56036         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
56037         MANTISSA_STORE_T to store computations on mantissa.  Use
56038         macros for rounding and division.
56039         (denorm): Likewise.
56040         (__dbl_mp): Likewise.
56041         (add_magnitudes): Likewise.
56042         (sub_magnitudes): Likewise.
56043         (__mul): Likewise.
56044         (__sqr): Likewise.
56045         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
56046         powers of two in terms of TWOPOW macro.
56047         (mp_no): Make type of mantissa as MANTISSA_T.
56048         [!RADIXI]: Define RADIXI.
56049         [!TWO52]: Define TWO52.
56050         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
56052 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56054         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
56055         llroundl symbol when building for PPC32.
56057 2013-03-24  Mark H Weaver  <mhw@netris.org>
56059         * manual/arith.texi (Normalization Functions): Fix prototypes for
56060         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
56062 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56064         [BZ #13889]
56065         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
56066         high value to check if expl overflow.
56067         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
56068         to check for underflow and overflow.
56069         * math/libm-test.inc: Add exp test.
56071 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
56073         [BZ #11120]
56074         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
56075         with NOT_IN_libc.
56077 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56079         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
56080         symbol.
56082 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
56084         * math/gen-libm-test.pl (parse_args, special_functions): Properly
56085         wrap blocks consisting of several statements.
56087         * sysdeps/generic/math-tests.h: New file.
56088         * sysdeps/i386/fpu/math-tests.h: Likewise.
56089         * math/test-snan.c: Include it.
56090         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
56092 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
56094         [BZ #15285]
56095         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
56096         (__ieee754_j0l): Do not improve calculations using cos of twice
56097         input for inputs above LDBL_MAX / 2.0L.
56098         (__ieee754_y0l): Likewise.
56099         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
56100         (__ieee754_j1l): Do not improve calculations using cos of twice
56101         input for inputs above LDBL_MAX / 2.0L.
56102         (__ieee754_y1l): Likewise.
56103         * math/libm-test.inc (j0_test): Add another test.
56104         (j1_test): Likewise.
56105         (y0_test): Likewise.
56106         (y1_test): Likewise.
56107         * sysdeps/i386/fpu/libm-test-ulps: Update.
56109 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
56111         * Rules ($(objpfx)bench-%.c): Include code from a C source
56112         file.
56114 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
56116         [BZ #15287]
56117         * math/k_casinh.c (__kernel_casinh): Handle arguments with
56118         imaginary part 1.0 and real part less than 0.5 specially.
56119         * math/k_casinhf.c (__kernel_casinhf): Likewise.
56120         * math/k_casinhl.c (__kernel_casinhl): Likewise.
56121         * math/libm-test.inc (cacos_test): Add more tests.
56122         (casin_test): Likewise.
56123         (casinh_test): Likewise.
56124         * sysdeps/i386/fpu/libm-test-ulps: Update.
56125         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56127 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
56129         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
56130         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
56132 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
56134         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
56135         * config.make.in (config-cflags-sse4): Remove variable.
56136         (config-cflags-avx): Likewise.
56137         (config-cflags-sse2avx): Likewise.
56138         (config-cflags-novzeroupper): Likewise.
56139         (config-asflags-i686): Likewise.
56140         (have-mfma4): Likewise.
56141         (have-as-vis3): Likewise.
56142         (MIG): Likewise.
56143         * configure.in (MIG): Do not AC_SUBST.
56144         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
56145         (libc_cv_cc_sse4): Do not AC_SUBST.
56146         (libc_cv_cc_avx): Likewise.
56147         (libc_cv_cc_sse2avx): Likewise.
56148         (libc_cv_cc_novzeroupper): Likewise.
56149         (libc_cv_cc_fma4): Likewise.
56150         (libc_cv_as_i686): Likewise.
56151         (libc_cv_sparc_as_vis3): Likewise.
56152         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
56153         LIBC_CONFIG_VAR.
56154         (config-asflags-i686): Likewise.
56155         (config-cflags-avx): Likewise.
56156         (config-cflags-sse2avx): Likewise.
56157         (have-mfma4): Likewise.
56158         (config-cflags-novzeroupper): Likewise.
56159         * sysdeps/mach/configure.in (MIG): Likewise.
56160         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
56161         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
56162         LIBC_CONFIG_VAR.
56163         (config-cflags-avx): Likewise.
56164         (config-cflags-sse2avx): Likewise.
56165         (have-mfma4): Likewise.
56166         (config-cflags-novzeroupper): Likewise.
56167         * configure: Regenerated.
56168         * sysdeps/i386/configure: Likewise.
56169         * sysdeps/mach/configure: Likewise.
56170         * sysdeps/sparc/configure: Likewise.
56171         * sysdeps/x86_64/configure: Likewise.
56173 2013-03-20  Roland McGrath  <roland@hack.frob.com>
56175         [BZ #14812]
56176         * locale/programs/localedef.c (options): Put N_ translation marker
56177         on argument names, not just descriptions.
56179 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56181         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
56183 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
56185         [BZ #14176]
56186         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
56188 2013-03-19  Roland McGrath  <roland@hack.frob.com>
56190         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
56191         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
56192         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
56193         [!BEFORE_ABORT] (before_abort): New function.
56194         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
56195         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
56196         (writev_for_fatal): New function.
56197         (WRITEV_FOR_FATAL): New macro; call that.
56198         (backtrace_and_maps): New function.
56199         (BEFORE_ABORT): New macro; call that.
56200         (struct str_list): Type removed.
56201         (__libc_message, __libc_fatal): Functions removed.
56202         Include <sysdeps/posix/libc_fatal.c> instead.
56204 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
56206         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
56207         constants.
56208         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
56209         double constants.
56211 2013-03-19  Andreas Schwab  <schwab@suse.de>
56213         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
56214         * sysdeps/gnu/configure: Regenerate.
56216         * configure.in: Substitute libc_cv_rtlddir.
56217         * configure: Regenerate.
56218         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
56219         * Makeconfig (rtlddir, inst_rtlddir): New variables.
56220         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
56221         * elf/Makefile (install-others, CFLAGS-interp.c)
56222         (ldso_install, common-ldd-rewrite): Likewise.
56223         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
56224         $(inst_slibdir)/$(rtld-installed-name).
56225         * scripts/rellns-sh: Add -p option.
56226         * Makerules (make-shlib-link): Use rellns-sh to get relative name
56227         for source.
56229 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
56231         * manual/nptl.texi: Renamed to ...
56232         * manual/threads.texi: ... this.
56233         * manual/Makefile (chapters): Update.
56235 2013-03-18  Roland McGrath  <roland@hack.frob.com>
56237         [BZ #14812]
56238         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
56239         on argument names, not just descriptions.
56240         * malloc/memusagestat.c (options): Likewise.
56241         * nss/getent.c (options): Likewise.
56243 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
56245         [BZ #14812]
56246         * iconv/iconv_prog.c (options): Put N_ translation marker
56247         on argument names, not just descriptions.
56248         * iconv/iconvconfig.c (options): Likewise.
56250 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
56252         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
56253         implementation which is faster on all x86_64 architectures.
56254         Tested on AMD, Intel Nehalem, SNB, IVB.
56255         * sysdeps/x86_64/strnlen.S: Likewise.
56257         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
56258         Remove all multiarch strlen and strnlen versions.
56259         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
56260         Remove strlen and strnlen related parts.
56262         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
56263         Inline strlen part.
56264         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
56266         * sysdeps/x86_64/multiarch/strlen.S: Remove.
56267         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
56268         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
56269         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
56270         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
56271         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
56273 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
56275         * manual/memory.texi (Malloc Tunable Parameters):
56276         Sort parameters alphabetically. Add comments for missing entries.
56278 2013-03-17  David S. Miller  <davem@davemloft.net>
56280         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56282 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
56284         [BZ #15283]
56285         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
56286         for arguments at most half maximum finite value.
56287         * math/libm-test.inc (j0_test): Add more tests.
56288         (j1_test): Likewise.
56289         (y0_test): Likewise.
56290         (y1_test): Likewise.
56291         * sysdeps/i386/fpu/libm-test-ulps: Update.
56292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56294         [BZ #14155]
56295         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
56296         1 / x and functions P and Q for arguments above 0x1p256L.
56297         (__ieee754_y0l): Likewise.
56298         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
56299         (__ieee754_y1l): Likewise.
56300         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
56301         (j1_test): Likewise.
56302         (y0_test): Likewise.
56303         (y1_test): Likewise.
56305 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
56307         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
56308         variable.
56310 2013-03-15  Roland McGrath  <roland@hack.frob.com>
56312         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
56313         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
56314         zero since it's initialized to EXEC_PAGESIZE.
56316         * sysdeps/unix/sysv/linux/ldsodefs.h
56317         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
56318         * sysdeps/generic/ldsodefs.h: ... here.
56320 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
56322         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
56324         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
56325         math/test-snan.c.
56326         * math/test-snan.c: Renamed from
56327         sysdeps/powerpc/fpu/test-powerpc-snan.c.
56328         * math/Makefile (tests): Add test-snan.
56329         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
56330         test-powerpc-snan.
56332         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
56333         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
56334         functions.
56335         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
56336         __builtin_nan family of functions.
56337         * math/libm-test.inc (initialize): Initialize qnan_value with
56338         __builtin_nan family of functions.
56339         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
56340         Remove variables.
56341         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
56342         Remove functions.
56343         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
56344         storage class.  Initialize qNaN_var and sNaN_var with
56345         __builtin_nan and __builtin_nans families of functions,
56346         respectively.
56348         * math/libm-test.inc (acosh_test): Also test with qNaN input.
56349         (sqrt_test): Remove duplicate test with qNaN input.
56350         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
56351         (round_test, signbit_test, significand_test): Note missing +/-Inf
56352         as well as qNaN tests.
56354         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
56355         qNaN_var.  Fix a few strings, too.
56356         * math/libm-test.inc (nan_value): Rename to qnan_value.
56357         * math/gen-libm-test.pl (%beautify): Adjust to that.
56358         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
56359         * math/test-misc.c (main): Likewise.
56360         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
56361         to __qnan_bytes, and __qnan_union, respectively.
56362         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
56363         Likewise.
56364         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
56365         and lqnanval, respectively.
56366         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
56367         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
56368         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
56369         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
56371         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
56372         * math/test-misc.c (main) [__x86_64__]: Enable test for long
56373         doubles.
56375         * math/test-misc.c (main): Fix copy'n'pastos.
56376         * misc/tst-efgcvt.c (special): Likewise.
56378         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
56379         Remove declarations.
56381 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
56383         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
56384         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
56385         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
56386         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
56388 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56390         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
56391         macro to return vdso values correctly in IFUNC implementations.
56392         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
56393         Optimization by using IFUNC.
56395 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
56396             Richard Henderson  <rth@redhat.com>
56397             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56399         * Makefile.in (bench): New target.
56400         * NEWS: Mention the benchmark framework.
56401         * Rules (bench): Likewise.
56402         (binaries-bench): Generate binaries for functions to
56403         benchmark.
56404         * benchtests/Makefile: New makefile for benchmark tests.
56405         * benchtests/bench-skeleton.c: New skeleton file for benchmark
56406         programs.
56407         * benchtests/exp-inputs: New input file for EXP function.
56408         * benchtests/pow-inputs: New input file for POW function.
56409         * scripts/bench.pl: New script to generate source files for
56410         benchmark programs.
56412 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
56414         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
56415         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
56416         computations on mantissa.  Use macros for rounding and
56417         division.
56418         (denorm): Likewise.
56419         (__dbl_mp): Likewise.
56420         (add_magnitudes): Likewise.
56421         (sub_magnitudes): Likewise.
56422         (__mul): Likewise.
56423         (__sqr): Likewise.
56424         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
56425         powers of two in terms of TWOPOW macro.
56426         (mp_no): Make type of mantissa as MANTISSA_T.
56427         [!RADIXI]: Define RADIXI.
56428         [!TWO52]: Define TWO52.
56429         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
56431         * manual/nptl.texi (cindex): Modify threads to pthreads.
56433 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
56435         * sysdeps/x86_64/preconfigure: Regenerated.
56437 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
56439         [BZ #14155]
56440         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
56441         0x1p28 and above.
56442         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
56443         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
56444         0x1p28 and above.
56445         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
56446         * math/libm-test.inc (j0_test): Do not allow one spurious
56447         underflow exception.
56448         (y1_test): Likewise.
56450 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
56452         * manual/Makefile (chapters): Add nptl.
56453         * manual/debug.texi (Debugging Support): Add link to Threads
56454         chapter.
56455         * manual/nptl.texi: New file.
56457         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
56459 2013-03-14  Petr Baudis  <pasky@ucw.cz>
56461         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
56462         for non-NULL pointer before the memory validity test. Pointed
56463         out by Holger Brunck <holger.brunck@keymile.com>.
56465 2013-03-13  Andreas Schwab  <schwab@suse.de>
56467         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
56468         instead of .os.
56470 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
56472         * timezone/zic.c: Update from tzcode 2013b.
56474 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
56476         * manual/install.texi (Configuring and compiling):
56477         Mention i686 and i586.
56478         * INSTALL: Regenerate.
56480 2013-03-12  Roland McGrath  <roland@hack.frob.com>
56482         * sysdeps/init_array/elf-init.c: New file.
56483         * csu/elf-init.c
56484         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
56485         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
56487         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
56488         __gmon_start__ as global, but as static with a .preinit_array pointer.
56489         * sysdeps/init_array/gmon-start.c: New file.  Use that.
56490         * sysdeps/init_array/crti.S: New file, empty except for comments.
56491         * sysdeps/init_array/crtn.S: Likewise.
56493 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
56495         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
56496         definining bcopy.
56497         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56498         Remove Prefer_SSE_for_memop.
56499         * sysdeps/x86_64/multiarch/init-arch.h: Remove
56500         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
56501         HAS_PREFER_SSE_FOR_MEMOP.
56502         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
56503         memset-x86-64.
56504         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
56505         Remove bzero, memset ifunc support.
56506         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
56507         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
56508         * sysdeps/x86_64/multiarch/memset.S: Likewise.
56509         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
56511 2013-03-11  Andreas Schwab  <schwab@suse.de>
56513         [BZ #15234]
56514         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
56515         by SHLIB_COMPAT.
56516         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
56517         (GLIBC_2.16): Remove pthread_atfork.
56519 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
56521         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
56522         (ptestcases.h): Likewise.
56524 2013-03-08  Roland McGrath  <roland@hack.frob.com>
56526         * Makeconfig ($(common-objpfx)config.status): Depend on
56527         sysdeps/*/preconfigure{,.in} too.
56529 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
56531         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
56532         (__free_hook): Use void * instead of __malloc_ptr_t.
56533         (__malloc_hook): Likewise.
56534         (__realloc_hook): Likewise.
56535         (__memalign_hook): Likewise.
56536         (__after_morecore_hook): Likewise.
56537         * malloc/arena.c (save_malloc_hook): Likewise.
56538         (save_free_hook): Likewise.
56539         * malloc/hooks.c (malloc_hook_ini): Likewise.
56540         (realloc_hook_ini): Likewise.
56541         (memalign_hook_ini): Likewise.
56542         * malloc/malloc.c (malloc_hook_ini): Likewise.
56543         (realloc_hook_ini): Likewise.
56544         (memalign_hook_ini): Likewise.
56545         (__free_hook): Likewise.
56546         (__malloc_hook): Likewise.
56547         (__realloc_hook): Likewise.
56548         (__memalign_hook): Likewise.
56549         (__libc_malloc): Likewise.
56550         (__libc_free): Likewise.
56551         (__libc_realloc): Likewise.
56552         (__libc_memalign): Likewise.
56553         (__libc_valloc): Likewise.
56554         (__libc_pvalloc): Likewise.
56555         (__libc_calloc): Likewise.
56556         (__posix_memalign): Likewise.
56557         * malloc/morecore.c (__sbrk): Likewise.
56558         (__default_morecore): Likewise.
56560         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
56562         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
56563         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
56564         __malloc_ptrdiff_t.
56566         * malloc/malloc.h (__malloc_size_t): Remove macro.
56567         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
56568         __malloc_size_t.
56569         (old_memalign_hook): Likewise.
56570         (old_realloc_hook): Likewise.
56571         (struct hdr): Likewise.
56572         (flood): Likewise.
56573         (mallochook): Likewise.
56574         (memalignhook): Likewise.
56575         (reallochook): Likewise.
56576         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
56577         (tr_old_realloc_hook): Likewise.
56578         (tr_old_memalign_hook): Likewise.
56579         (tr_mallochook): Likewise.
56580         (tr_reallochook): Likewise.
56581         (tr_memalignhook): Likewise.
56583 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56585         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
56586         default_ldbl_pack and using as default implementation.
56587         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
56588         implementation.
56589         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
56590         redundant definition.
56591         (ldbl_insert_mantissa): Likewise.
56592         (ldbl_canonicalize): Likewise.
56593         (ldbl_nearbyint): Likewise.
56594         (ldbl_pack): Rename to ldbl_pack_ppc.
56595         (ldbl_unpack): Rename to ldbl_unpack_ppc.
56596         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
56597         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
56599 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
56601         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
56602         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
56603         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
56604         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
56605         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
56606         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
56607         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
56608         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
56610 2013-03-07  Andreas Jaeger  <aj@suse.de>
56612         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56613         bits/mman-linux.h.
56615 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
56617         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
56618         Include mpa.h and declare __MPEXP.
56619         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
56620         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
56621         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
56622         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
56623         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
56624         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
56625         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
56627         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
56628         (__slowpow): Use long double EXPL and LOGL functions to
56629         compute POW.
56630         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
56631         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
56632         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
56633         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
56634         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
56635         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
56637         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
56638         intermediate variable to calculate exponent.
56639         (__sqr): Likewise.
56640         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
56641         Likewise.
56642         (__sqr): Likewise.
56644         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
56645         [!NO__SQR]: Define __sqr.
56646         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
56647         and NO__SQR.  Remove all code except __mul and __sqr.  Include
56648         sysdeps/ieee754/dbl-64/mpa.c.
56649         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56651         [BZ #12723]
56652         * posix/Makefile (tests): Add tst-pathconf.
56653         * posix/tst-pathconf.c: New test case.
56654         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
56655         _PC_PIPE_BUF.
56656         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
56658 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
56660         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
56662 2013-03-06  Andreas Jaeger  <aj@suse.de>
56664         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
56665         definition via __MAP_ANONYMOUS.
56667         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
56668         it's not part of Linux headers.
56670         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
56671         (MAP_HUGE_MASK): Define.
56673         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
56674         Define.
56675         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
56676         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
56677         Define.
56678         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
56679         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
56680         Define.
56681         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
56682         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
56683         Define.
56684         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
56686         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
56687         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
56688         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
56689         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
56690         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
56691         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
56693         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
56694         Handle f2fs.
56696         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56697         Handle f2fs and efivarfs.
56699         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
56700         f2fs.
56702         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
56703         (EFIVARFS_MAGIC): Add.
56704         (F2FS_LINK_MAX): Add.
56706 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
56708         * stdio-common/vfprintf.c: Replace __builtin_expect with
56709         __glibc_unlikely.
56711 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
56713         [BZ #13550]
56714         * sysdeps/generic/bp-sym.h: Remove file.
56715         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
56716         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
56717         <bp-sym.h> and <bp-asm.h>.
56718         (__longjmp): Don't use BP_SYM.
56719         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
56720         and <bp-asm.h>.
56721         (memcpy): Don't use BP_SYM.
56722         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
56723         <bp-sym.h> and <bp-asm.h>.
56724         (memcpy): Don't use BP_SYM.
56725         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
56726         <bp-asm.h>.
56727         (memcpy): Don't use BP_SYM.
56728         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
56729         <bp-asm.h>.
56730         (memset): Don't use BP_SYM.
56731         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
56732         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
56733         (__bzero): Don't use BP_SYM.
56734         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
56735         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
56736         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
56737         <bp-sym.h> and <bp-asm.h>.
56738         (memcmp): Don't use BP_SYM.  Remove comment about bounded
56739         pointers.
56740         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
56741         <bp-sym.h> and <bp-asm.h>.
56742         (memcpy): Don't use BP_SYM.
56743         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
56744         <bp-sym.h> and <bp-asm.h>.
56745         (memset): Don't use BP_SYM.
56746         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
56747         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
56748         (__bzero): Don't use BP_SYM.
56749         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
56750         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
56751         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
56752         <bp-sym.h> and <bp-asm.h>.
56753         (strncmp): Don't use BP_SYM.  Remove comment about bounded
56754         pointers.
56755         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
56756         <bp-sym.h> and <bp-asm.h>.
56757         (memcpy): Don't use BP_SYM.
56758         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
56759         <bp-sym.h> and <bp-asm.h>.
56760         (memset): Don't use BP_SYM.
56761         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
56762         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
56763         (__bzero): Don't use BP_SYM.
56764         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
56765         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
56766         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
56767         <bp-sym.h> and <bp-asm.h>.
56768         (__memchr): Don't use BP_SYM.
56769         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
56770         <bp-sym.h> and <bp-asm.h>.
56771         (memcmp): Don't use BP_SYM.  Remove comment about bounded
56772         pointers.
56773         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
56774         <bp-sym.h> and <bp-asm.h>.
56775         (memcpy): Don't use BP_SYM.
56776         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
56777         <bp-sym.h> and <bp-asm.h>.
56778         (__mempcpy): Don't use BP_SYM.
56779         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
56780         <bp-sym.h> and <bp-asm.h>.
56781         (__memrchr): Don't use BP_SYM.
56782         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
56783         <bp-sym.h> and <bp-asm.h>.
56784         (memset): Don't use BP_SYM.
56785         (__bzero): Likewise.
56786         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
56787         <bp-sym.h> and <bp-asm.h>.
56788         (__rawmemchr): Don't use BP_SYM.
56789         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
56790         <bp-sym.h> and <bp-asm.h>.
56791         (__STRCMP): Don't use BP_SYM.
56792         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
56793         <bp-sym.h> and <bp-asm.h>.
56794         (strchr): Don't use BP_SYM.
56795         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
56796         <bp-sym.h> and <bp-asm.h>.
56797         (__strchrnul): Don't use BP_SYM.
56798         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
56799         <bp-sym.h> and <bp-asm.h>.
56800         (strlen): Don't use BP_SYM.
56801         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
56802         <bp-sym.h> and <bp-asm.h>.
56803         (strncmp): Don't use BP_SYM.  Remove comment about bounded
56804         pointers.
56805         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
56806         <bp-sym.h> and <bp-asm.h>.
56807         (__strnlen): Don't use BP_SYM.
56808         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
56809         <bp-sym.h> and <bp-asm.h>.
56810         (__GI__setjmp): Don't use BP_SYM.
56811         (_setjmp): Likewise.
56812         (__sigsetjmp): Likewise.
56813         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
56814         (L(start_addresses)): Don't use BP_SYM.
56815         (_start): Likewise.
56816         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
56817         <bp-asm.h>.
56818         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
56819         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
56820         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
56821         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
56822         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
56823         <bp-asm.h>.
56824         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
56825         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
56826         about bounded pointers.
56827         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
56828         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
56829         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
56830         <bp-asm.h>.
56831         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
56832         about bounded pointers.  Remove GKM FIXME comments.
56833         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
56834         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
56835         <bp-asm.h>.
56836         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
56837         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
56838         Remove GKM FIXME comments.
56839         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
56840         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
56841         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
56842         <bp-asm.h>.
56843         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
56844         about bounded pointers.  Remove GKM FIXME comment.
56845         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
56846         and <bp-asm.h>.
56847         (strncmp): Don't use BP_SYM.  Remove comment about bounded
56848         pointers.
56849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
56850         <bp-sym.h> and <bp-asm.h>.
56851         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
56852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
56853         <bp-sym.h> and <bp-asm.h>.
56854         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
56855         comment.
56857 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
56859         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
56860         call free(NULL).
56862 2013-03-05  David S. Miller  <davem@davemloft.net>
56864         * po/es.po: Update from translation team.
56866 2013-03-05  Andreas Jaeger  <aj@suse.de>
56868         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
56869         <bits/mman-linux.h>.
56870         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
56871         is fine.
56872         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
56873         <bits/mman-linux.h> to end of file.
56874         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
56875         is fine.
56876         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
56877         <bits/mman-linux.h> to end of file.
56878         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
56879         is fine.
56880         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
56881         <bits/mman-linux.h> to end of file.
56883         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
56884         (MCL_CURRENT, MCL_FUTURE): Define here.
56886 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56888         [BZ #15232]
56889         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
56890         attribute_hidden.
56891         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
56893 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56895         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
56896         fourth parameter needed for rt_sigprocmask syscall.
56897         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
56898         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
56899         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
56900         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
56901         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
56902         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
56904 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
56906         [BZ #13550]
56907         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
56908         comment about bounded pointers.
56909         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
56910         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
56912 2013-03-04  Andreas Jaeger  <aj@suse.de>
56914         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
56915         common definitions.
56917         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
56918         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
56919         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
56920         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
56921         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
56922         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
56924 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56926         [BZ #15055]
56927         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
56928         __ieee754_sqrl instead of __sqrl.
56930 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
56932         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
56933         * sysdeps/powerpc/fpu_control.h: ... here.
56934         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
56935         * sysdeps/powerpc/bits/fenvinline.h: ... here.
56936         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
56937         * sysdeps/powerpc/bits/mathinline.h: ... here.
56939 2013-03-01  Roland McGrath  <roland@hack.frob.com>
56941         * elf/dl-hwcaps.c (_dl_important_hwcaps):
56942         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
56943         to just [NEED_DL_SYSINFO_DSO].
56944         * elf/dl-support.c: Likewise.
56945         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
56946         * elf/rtld.c (dl_main): Likewise.
56947         * elf/setup-vdso.h (setup_vdso): Likewise.
56948         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
56949         * sysdeps/unix/sysv/linux/dl-sysdep.c
56950         (_dl_discover_osversion): Likewise.
56952 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
56954         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
56955         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
56957 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
56959         * NEWS: Mention libm performance improvements and non-x86 PI
56960         futex support.
56962         * csu/libc-start.c (__pthread_initialize_minimal): Change
56963         function arguments.
56964         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
56966 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
56968         [BZ #13550]
56969         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
56970         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
56971         <bp-sym.h> and <bp-asm.h>.
56972         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
56973         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
56974         and <bp-asm.h>.
56975         (memcpy): Don't use BP_SYM.
56976         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
56977         <bp-asm.h>.
56978         (__mpn_add_n): Don't use BP_SYM.
56979         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
56980         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
56981         and <bp-asm.h>.
56982         (__mpn_addmul_1): Don't use BP_SYM.
56983         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56984         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
56985         <bp-sym.h>.
56986         (_setjmp): Don't use BP_SYM.
56987         (__novmx_setjmp): Likewise.
56988         (__GI__setjmp): Likewise.
56989         (__vmx_setjmp): Likewise.
56990         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
56991         <bp-sym.h>.
56992         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
56993         (__bzero): Don't use BP_SYM.
56994         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
56995         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
56996         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
56997         <bp-sym.h> and <bp-asm.h>.
56998         (memcpy): Don't use BP_SYM.
56999         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
57000         <bp-sym.h> and <bp-asm.h>.
57001         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
57002         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
57003         <bp-sym.h> and <bp-asm.h>.
57004         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
57005         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
57006         <bp-asm.h>.
57007         (__mpn_lshift): Don't use BP_SYM.
57008         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57009         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
57010         <bp-asm.h>.
57011         (memset): Don't use BP_SYM.
57012         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
57013         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
57014         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
57015         <bp-asm.h>.
57016         (__mpn_mul_1): Don't use BP_SYM.
57017         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57018         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
57019         <bp-sym.h> and <bp-asm.h>.
57020         (memcmp): Don't use BP_SYM.
57021         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
57022         <bp-sym.h> and <bp-asm.h>.
57023         (memcpy): Don't use BP_SYM.
57024         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
57025         <bp-sym.h> and <bp-asm.h>.
57026         (memset): Don't use BP_SYM.
57027         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
57028         <bp-sym.h> and <bp-asm.h>.
57029         (strncmp): Don't use BP_SYM.
57030         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
57031         <bp-sym.h> and <bp-asm.h>.
57032         (memcpy): Don't use BP_SYM.
57033         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
57034         <bp-sym.h> and <bp-asm.h>.
57035         (memset): Don't use BP_SYM.
57036         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
57037         <bp-sym.h> and <bp-asm.h>.
57038         (__memchr): Don't use BP_SYM.
57039         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
57040         <bp-sym.h> and <bp-asm.h>.
57041         (memcmp): Don't use BP_SYM.
57042         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
57043         <bp-sym.h> and <bp-asm.h>.
57044         (memcpy): Don't use BP_SYM.
57045         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
57046         <bp-sym.h> and <bp-asm.h>.
57047         (__mempcpy): Don't use BP_SYM.
57048         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
57049         <bp-sym.h> and <bp-asm.h>.
57050         (__memrchr): Don't use BP_SYM.
57051         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
57052         <bp-sym.h> and <bp-asm.h>.
57053         (memset): Don't use BP_SYM.
57054         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
57055         <bp-sym.h> and <bp-asm.h>.
57056         (__rawmemchr): Don't use BP_SYM.
57057         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
57058         <bp-sym.h> and <bp-asm.h>.
57059         (__STRCMP): Don't use BP_SYM.
57060         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
57061         <bp-sym.h> and <bp-asm.h>.
57062         (strchr): Don't use BP_SYM.
57063         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
57064         <bp-sym.h> and <bp-asm.h>.
57065         (__strchrnul): Don't use BP_SYM.
57066         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
57067         <bp-sym.h> and <bp-asm.h>.
57068         (strlen): Don't use BP_SYM.
57069         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
57070         <bp-sym.h> and <bp-asm.h>.
57071         (strncmp): Don't use BP_SYM.
57072         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
57073         <bp-sym.h> and <bp-asm.h>.
57074         (__strnlen): Don't use BP_SYM.
57075         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
57076         <bp-asm.h>.
57077         (__mpn_rshift): Don't use BP_SYM.
57078         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57079         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
57080         <bp-sym.h> and <bp-asm.h>.
57081         (__sigsetjmp): Don't use BP_SYM.
57082         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
57083         (L(start_addresses)): Don't use BP_SYM.
57084         (_start): Likewise.
57085         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
57086         <bp-asm.h>.
57087         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
57088         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
57089         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
57090         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
57091         <bp-asm.h>.
57092         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
57093         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
57094         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
57095         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
57096         <bp-asm.h>.
57097         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
57098         comments.
57099         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
57100         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
57101         <bp-asm.h>.
57102         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
57103         FIXME comments.
57104         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
57105         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
57106         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
57107         <bp-asm.h>.
57108         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
57109         comment.
57110         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
57111         and <bp-asm.h>.
57112         (strncmp): Don't use BP_SYM,
57113         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
57114         <bp-asm.h>.
57115         (__mpn_sub_n): Don't use BP_SYM.
57116         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57117         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
57118         and <bp-asm.h>.
57119         (__mpn_submul_1): Don't use BP_SYM.
57120         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
57122         <bp-sym.h> and <bp-asm.h>.
57123         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
57124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
57125         <bp-sym.h> and <bp-asm.h>.
57126         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
57127         comment.
57129 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57131         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
57132         Use ZK to minimize writes to Z.
57133         (sub_magnitudes): Simplify code a bit.
57134         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
57135         Use ZK to minimize writes to Z.
57136         (sub_magnitudes): Simplify code a bit.
57138 2013-02-27  Roland McGrath  <roland@hack.frob.com>
57140         * csu/gmon-start.c: Add special exception to license text.
57142 2013-02-27  Richard Henderson  <rth@redhat.com>
57144         * scripts/config.guess: Update from config.git.
57145         * scripts/config.sub: Likewise.
57147 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
57149         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
57151         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
57153         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
57155         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
57157         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
57159 2013-02-26  Roland McGrath  <roland@hack.frob.com>
57161         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
57162         [$(build-shared = yes].
57164 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
57166         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
57167         (__mul): Reduce iterations for calculating mantissa.
57169         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
57170         MPTWO.
57171         (__mpranred): Likewise.
57173         [BZ #15160]
57174         * malloc/memusagestat.c (main): Draw graphs for heap and stack
57175         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
57177 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
57179         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
57180         Define __attribute__.
57182 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
57184         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
57185         unused.
57186         * posix/regex_internal.h (__attribute): Remove.
57187         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
57188         (re_string_context_at): Likewise.
57189         (bitset_not): Use __attribute__ and mark function as possibly
57190         unused.
57191         (bitset_merge): Likewise.
57192         (bitset_mask): Likewise.
57193         (re_string_char_size_at): Likewise.
57194         (re_string_wchar_at): Likewise.
57195         (re_string_elem_size_at): Likewise.
57197 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
57199         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
57200         code.
57201         (cc32): Likewise.
57203         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
57204         (__acr): Likewise.
57205         (__cpy): Likewise.
57206         (norm): Likewise.
57207         (denorm): Likewise.
57208         (__dbl_mp): Likewise.
57209         (add_magnitudes): Likewise.
57210         (sub_magnitudes): Likewise.
57211         (__mul): Likewise.
57212         (__inv): Likewise.
57214         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
57215         style.
57217         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
57218         style.
57220         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
57221         code.
57223         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
57224         up changes with default code.
57225         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
57226         Likewise.
57228 2013-02-24  Allan McRae  <allan@archlinux.org>
57230         * manual/socket.texi (The Internet Namespace): Order menu items
57231         to match that in the file.
57233         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
57234         node listing of the info page menu.
57236 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
57238         [BZ #13550]
57239         * sysdeps/i386/bp-asm.h: Remove file.
57240         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
57241         (PARMS): Do not use macros from bp-asm.h.
57242         (S1): Likewise.
57243         (S2): Likewise.
57244         (SIZE): Likewise.
57245         (__mpn_add_n): Do not use BP_SYM
57246         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
57247         "bp-asm.h".
57248         (PARMS): Do not use macros from bp-asm.h.
57249         (S1): Likewise.
57250         (SIZE): Likewise.
57251         (__mpn_addmul_1): Do not use BP_SYM
57252         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
57253         "bp-asm.h".
57254         (PARMS): Do not use macros from bp-asm.h.
57255         (SIGMSK): Likewise.
57256         (_setjmp): Likewise.  Do not use BP_SYM.
57257         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
57258         "bp-asm.h".
57259         (PARMS): Do not use macros from bp-asm.h.
57260         (SIGMSK): Likewise.
57261         (setjmp): Likewise.  Do not use BP_SYM.
57262         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
57263         "bp-asm.h".
57264         (PARMS): Do not use macros from bp-asm.h.
57265         (__frexp): Do not use BP_SYM.
57266         (frexp): Likewise.
57267         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
57268         "bp-asm.h".
57269         (PARMS): Do not use macros from bp-asm.h.
57270         (__frexpf): Do not use BP_SYM.
57271         (frexpf): Likewise.
57272         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
57273         "bp-asm.h".
57274         (PARMS): Do not use macros from bp-asm.h.
57275         (__frexpl): Do not use BP_SYM.
57276         (frexpl): Likewise.
57277         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
57278         "bp-asm.h".
57279         (PARMS): Do not use macros from bp-asm.h.
57280         (__remquo): Do not use BP_SYM.
57281         (remquo): Likewise.
57282         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
57283         "bp-asm.h".
57284         (PARMS): Do not use macros from bp-asm.h.
57285         (__remquof): Do not use BP_SYM.
57286         (remquof): Likewise.
57287         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
57288         "bp-asm.h".
57289         (PARMS): Do not use macros from bp-asm.h.
57290         (__remquol): Do not use BP_SYM.
57291         (remquol): Likewise.
57292         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
57293         "bp-asm.h".
57294         (PARMS): Do not use macros from bp-asm.h.
57295         (DEST): Likewise.
57296         (SRC): Likewise.
57297         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
57298         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
57299         "bp-asm.h".
57300         (PARMS): Do not use macros from bp-asm.h.
57301         (strlen): Do not use BP_SYM.
57302         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
57303         "bp-asm.h".
57304         (PARMS): Do not use macros from bp-asm.h.
57305         (S1): Likewise.
57306         (S2): Likewise.
57307         (SIZE): Likewise.
57308         (__mpn_add_n): Do not use BP_SYM.
57309         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
57310         "bp-asm.h".
57311         (PARMS): Do not use macros from bp-asm.h.
57312         (S1): Likewise.
57313         (SIZE): Likewise.
57314         (__mpn_addmul_1): Do not use BP_SYM.
57315         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
57316         weak_alias.
57317         (bzero): Likewise.
57318         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
57319         "bp-asm.h".
57320         (PARMS): Do not use macros from bp-asm.h.
57321         (S): Likewise.
57322         (SIZE): Likewise.
57323         (__mpn_lshift): Do not use BP_SYM.
57324         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
57325         "bp-asm.h".
57326         (PARMS): Do not use macros from bp-asm.h.
57327         (DEST): Likewise.
57328         (SRC): Likewise.
57329         (LEN): Likewise.
57330         (memcpy): Likewise.  Do not use BP_SYM.
57331         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
57332         libc_hidden_def and weak_alias.
57333         (mempcpy): Do not use BP_SYM in weak_alias.
57334         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
57335         "bp-asm.h".
57336         (PARMS): Do not use macros from bp-asm.h.
57337         (DEST): Likewise.
57338         (LEN): Likewise.
57339         [!BZERO_P] (CHR): Likewise.
57340         (memset): Likewise.  Do not use BP_SYM.
57341         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
57342         "bp-asm.h".
57343         (PARMS): Do not use macros from bp-asm.h.
57344         (S1): Likewise.
57345         (SIZE): Likewise.
57346         (__mpn_mul_1): Do not use BP_SYM.
57347         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
57348         "bp-asm.h".
57349         (PARMS): Do not use macros from bp-asm.h.
57350         (S): Likewise.
57351         (SIZE): Likewise.
57352         (__mpn_rshift): Do not use BP_SYM.
57353         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
57354         "bp-asm.h".
57355         (PARMS): Do not use macros from bp-asm.h.
57356         (STR): Likewise.
57357         (CHR): Likewise.
57358         (strchr): Likewise.  Do not use BP_SYM.
57359         (index): Do not use BP_SYM in weak_alias.
57360         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
57361         "bp-asm.h".
57362         (PARMS): Do not use macros from bp-asm.h.
57363         (DEST): Likewise.
57364         (SRC): Likewise.
57365         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
57366         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
57367         "bp-asm.h".
57368         (PARMS): Do not use macros from bp-asm.h.
57369         (strlen): Do not use BP_SYM.
57370         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
57371         "bp-asm.h".
57372         (PARMS): Do not use macros from bp-asm.h.
57373         (S1): Likewise.
57374         (S2): Likewise.
57375         (SIZE): Likewise.
57376         (__mpn_sub_n): Do not use BP_SYM.
57377         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
57378         "bp-asm.h".
57379         (PARMS): Do not use macros from bp-asm.h.
57380         (S1): Likewise.
57381         (SIZE): Likewise.
57382         (__mpn_submul_1): Do not use BP_SYM.
57383         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
57384         "bp-asm.h".
57385         (PARMS): Do not use macros from bp-asm.h.
57386         (S1): Likewise.
57387         (S2): Likewise.
57388         (SIZE): Likewise.
57389         (__mpn_add_n): Do not use BP_SYM.
57390         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
57391         weak_alias.
57392         (bzero): Likewise.
57393         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
57394         "bp-asm.h".
57395         (PARMS): Do not use macros from bp-asm.h.
57396         (BLK2): Likewise.
57397         (LEN): Likewise.
57398         (memcmp): Do not use BP_SYM.
57399         (bcmp): Do not use BP_SYM in weak_alias.
57400         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
57401         "bp-asm.h".
57402         (PARMS): Do not use macros from bp-asm.h.
57403         (DEST): Likewise.
57404         (SRC): Likewise.
57405         (LEN): Likewise.
57406         (memcpy): Likewise.  Do not use BP_SYM.
57407         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
57408         "bp-asm.h".
57409         (PARMS): Do not use macros from bp-asm.h.
57410         (DEST): Likewise.
57411         (SRC): Likewise.
57412         (LEN): Likewise.
57413         (memmove): Likewise.  Do not use BP_SYM.
57414         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
57415         "bp-asm.h".
57416         (PARMS): Do not use macros from bp-asm.h.
57417         (DEST): Likewise.
57418         (SRC): Likewise.
57419         (LEN): Likewise.
57420         (__mempcpy): Likewise.  Do not use BP_SYM.
57421         (mempcpy): Do not use BP_SYM in weak_alias.
57422         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
57423         "bp-asm.h".
57424         (PARMS): Do not use macros from bp-asm.h.
57425         (DEST): Likewise.
57426         (LEN): Likewise.
57427         [!BZERO_P] (CHR): Likewise.
57428         (memset): Likewise.  Do not use BP_SYM.
57429         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
57430         "bp-asm.h".
57431         (PARMS): Do not use macros from bp-asm.h.
57432         (STR2): Likewise.
57433         (strcmp): Do not use BP_SYM.
57434         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
57435         "bp-asm.h".
57436         (PARMS): Do not use macros from bp-asm.h.
57437         (STR): Likewise.
57438         (DELIM): Likewise.
57439         [USE_AS_STRTOK_R] (SAVE): Likewise.
57440         (FUNCTION): Likewise.  Do not use BP_SYM.
57441         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
57442         aliases.
57443         (strtok_r): Likewise.
57444         (__GI___strtok_r): Likewise.
57445         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
57446         (PARMS): Do not use macros from bp-asm.h.
57447         (S): Likewise.
57448         (SIZE): Likewise.
57449         (__mpn_lshift): Do not use BP_SYM.
57450         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
57451         (PARMS): Do not use macros from bp-asm.h.
57452         (STR): Likewise.
57453         (CHR): Likewise.
57454         (__memchr): Do not use BP_SYM.
57455         (memchr): Do not use BP_SYM in weak_alias.
57456         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
57457         (PARMS): Do not use macros from bp-asm.h.
57458         (BLK2): Likewise.
57459         (LEN): Likewise.
57460         (memcmp): Do not use BP_SYM.
57461         (bcmp): Do not use BP_SYM in weak_alias.
57462         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
57463         (PARMS): Do not use macros from bp-asm.h.
57464         (S1): Likewise.
57465         (SIZE): Likewise.
57466         (__mpn_mul_1): Do not use BP_SYM.
57467         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
57468         "bp-asm.h".
57469         (PARMS): Do not use macros from bp-asm.h.
57470         (STR): Likewise.
57471         (CHR): Likewise.
57472         (__rawmemchr): Do not use BP_SYM.
57473         (rawmemchr): Do not use BP_SYM in weak_alias.
57474         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
57475         (PARMS): Do not use macros from bp-asm.h.
57476         (S): Likewise.
57477         (SIZE): Likewise.
57478         (__mpn_rshift): Do not use BP_SYM.
57479         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
57480         (PARMS): Do not use macros from bp-asm.h.
57481         (SIGMSK): Likewise.
57482         (__sigsetjmp): Likewise.  Do not use BP_SYM.
57483         * sysdeps/i386/start.S: Do not include "bp-sym.h".
57484         (_start): Do not use BP_SYM.
57485         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
57486         (PARMS): Do not use macros from bp-asm.h.
57487         (DEST): Likewise.
57488         (SRC): Likewise.
57489         (__stpcpy): Likewise.  Do not use BP_SYM.
57490         (stpcpy): Do not use BP_SYM in weak_alias.
57491         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
57492         "bp-asm.h".
57493         (PARMS): Do not use macros from bp-asm.h.
57494         (DEST): Likewise.
57495         (SRC): Likewise.
57496         (LEN): Likewise.
57497         (__stpncpy): Likewise.  Do not use BP_SYM.
57498         (stpncpy): Do not use BP_SYM in weak_alias.
57499         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
57500         (PARMS): Do not use macros from bp-asm.h.
57501         (STR): Likewise.
57502         (CHR): Likewise.
57503         (strchr): Likewise.  Do not use BP_SYM.
57504         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
57505         "bp-asm.h".
57506         (PARMS): Do not use macros from bp-asm.h.
57507         (STR): Likewise.
57508         (CHR): Likewise.
57509         (__strchrnul): Likewise.  Do not use BP_SYM.
57510         (strchrnul): Do not use BP_SYM in weak_alias.
57511         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
57512         "bp-asm.h".
57513         (PARMS): Do not use macros from bp-asm.h.
57514         (STOP): Likewise.
57515         (strcspn): Do not use BP_SYM.
57516         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
57517         "bp-asm.h".
57518         (PARMS): Do not use macros from bp-asm.h.
57519         (STR): Likewise.
57520         (STOP): Likewise.
57521         (strpbrk): Likewise.  Do not use BP_SYM.
57522         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
57523         "bp-asm.h".
57524         (PARMS): Do not use macros from bp-asm.h.
57525         (STR): Likewise.
57526         (CHR): Likewise.
57527         (strrchr): Likewise.  Do not use BP_SYM.
57528         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
57529         (PARMS): Do not use macros from bp-asm.h.
57530         (SKIP): Likewise.
57531         (strspn): Do not use BP_SYM.
57532         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
57533         (PARMS): Do not use macros from bp-asm.h.
57534         (STR): Likewise.
57535         (DELIM): Likewise.
57536         (SAVE): Likewise.
57537         (FUNCTION): Likewise.  Do not use BP_SYM.
57538         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
57539         aliases.
57540         (strtok_r): Likewise.
57541         (__GI___strtok_r): Likewise.
57542         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
57543         (PARMS): Do not use macros from bp-asm.h.
57544         (S1): Likewise.
57545         (S2): Likewise.
57546         (SIZE): Likewise.
57547         (__mpn_sub_n): Do not use BP_SYM.
57548         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
57549         "bp-asm.h".
57550         (PARMS): Do not use macros from bp-asm.h.
57551         (S1): Likewise.
57552         (SIZE): Likewise.
57553         (__mpn_submul_1): Do not use BP_SYM.
57554         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
57555         <bp-sym.h>.
57556         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
57557         and <bp-asm.h>.
57558         (PARMS): Do not use macros from bp-asm.h.
57559         (FLAGS): Likewise.
57560         (PTID): Likewise.
57561         (TLS): Likewise.
57562         (CTID): Likewise.
57563         (__clone): Do not use BP_SYM.
57564         (clone): Do not use BP_SYM in weak_alias.
57565         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
57566         and <bp-asm.h>.
57567         (PARMS): Do not use macros from bp-asm.h.
57568         (LEN): Likewise.
57569         (__mmap64): Do not use BP_SYM.
57570         (mmap64): Do not use BP_SYM in weak_alias.
57571         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
57572         <bp-sym.h> and <bp-asm.h>.
57573         (PARMS): Do not use macros from bp-asm.h.
57574         (__posix_fadvise64_l64): Do not use BP_SYM.
57575         * sysdeps/unix/sysv/linux/i386/semtimedop.S
57576         (PARMS): Do not use macros from bp-asm.h.
57577         (NSOPS): Likewise.
57578         (semtimedop): Do not use BP_SYM.
57579         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
57580         and <bp-asm.h>.
57582 2013-02-21  Allan McRae  <allan@archlinux.org>
57584         * manual/message.texi (Charset conversion in gettext):
57585         Move @end statement to beginning of line.
57587 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57589         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
57590         static.
57591         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
57592         Likewise.
57594         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
57595         (denorm): Likewise.
57596         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
57597         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
57599 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57601         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
57602         tail-call to the resolved function if pltexit isn't needed.
57604 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57606         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
57607         or Y being zero as being unlikely.
57608         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
57609         Likewise.
57611 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
57613         * manual/nss.texi (System Databases and Name Service Switch):
57614         Remove frobnicate @pxref.
57616 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
57618         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
57619         __attribute__ ((unused)) to __attribute__ ((__unused__)).
57621 2013-02-20  Petr Machata  <pmachata@redhat.com>
57623         * elf/elf.h (R_ARM_TARGET1): New macro.
57624         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
57625         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
57626         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
57627         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
57628         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
57629         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
57630         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
57631         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
57632         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
57633         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
57634         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
57635         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
57636         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
57637         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
57638         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
57639         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
57640         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
57641         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
57642         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
57643         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
57644         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
57645         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
57646         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
57647         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
57648         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
57649         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
57650         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
57651         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
57652         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
57653         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
57654         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
57655         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
57656         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
57657         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
57658         (R_ARM_THM_GOT_BREL12): Likewise.
57659         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
57660         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
57661         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
57662         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
57663         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
57664         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
57665         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
57666         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
57667         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
57669 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
57671         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
57672         __attribute_used__ to __attribute__ ((unused)).
57674 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
57676         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
57677         powerpc mpa.c.
57678         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
57679         comment formatting.
57680         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
57682 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
57684         [BZ #13550]
57685         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
57686         Remove macro.
57687         (ENTER): Remove both macro definitions.
57688         (LEAVE): Likewise.
57689         (CHECK_BOUNDS_LOW): Likewise.
57690         (CHECK_BOUNDS_HIGH): Likewise.
57691         (CHECK_BOUNDS_BOTH): Likewise.
57692         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
57693         (RETURN_BOUNDED_POINTER): Likewise.
57694         (RETURN_NULL_BOUNDED_POINTER): Likewise.
57695         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
57696         (POP_ERRNO_LOCATION_RETURN): Likewise.
57697         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
57698         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57699         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
57700         macros.
57701         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57702         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
57703         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
57704         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
57705         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
57706         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
57707         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
57708         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
57709         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
57710         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
57711         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
57712         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
57713         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57714         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
57715         removed macros.
57716         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57717         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
57718         macros.
57719         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57720         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
57721         * sysdeps/i386/i586/memset.S (memset): Likewise.
57722         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
57723         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57724         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
57725         macros.
57726         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57727         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
57728         Change uses of L(2) to L(out).
57729         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
57730         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
57731         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
57732         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57733         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
57734         removed macros.
57735         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57736         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
57737         macros.
57738         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57739         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
57740         (RETURN): Do not use macro LEAVE.
57741         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
57742         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
57743         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
57744         * sysdeps/i386/i686/memset.S (memset): Likewise.
57745         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
57746         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
57747         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
57748         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
57749         Likewise.
57750         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
57751         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
57752         L(1_2) and L(1_3) into L(1).
57753         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
57754         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
57755         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57756         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
57757         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
57758         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
57759         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
57760         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57761         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
57762         macros.
57763         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
57764         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57765         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
57766         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
57767         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
57768         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
57769         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
57770         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
57771         * sysdeps/i386/strcspn.S (strcspn): Likewise.
57772         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
57773         * sysdeps/i386/strrchr.S (strrchr): Likewise.
57774         * sysdeps/i386/strspn.S (strspn): Likewise.
57775         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
57776         conditional code.
57777         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
57778         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
57779         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
57780         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
57781         L(1_3) into L(1_1).
57782         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
57783         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57784         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
57785         macros.
57786         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57788 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
57790         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
57791         macro.
57793 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
57795         * math/atest-exp.c (exp_mpn): Remove ROUND.
57796         * math/atest-exp2.c (exp_mpn): Likewise.
57797         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
57799         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
57800         * stdlib/tst-tls-atexit-lib.c: Likewise.
57801         * stdlib/tst-tls-atexit.c: Likewise.
57803 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
57805         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
57806         and __attribute_alloc_size__.
57808 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
57810         * include/programs/xmalloc.h: Change __attribute_alloc_size to
57811         __attribute_alloc_size__.
57812         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
57813         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
57815 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
57817         * include/programs/xmalloc.h: New file.
57818         * catgets/gencat.c: Include it.
57819         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
57820         * elf/pldd.c: Likewise.
57821         * iconv/iconv_charmap.c: Likewise.
57822         * iconv/iconvconfig.c: Likewise.
57823         * iconv/strtab.c: Likewise.
57824         * locale/programs/locale.c: Likewise.
57825         * locale/programs/localedef.h: Likewise.
57826         * locale/programs/simple-hash.c: Likewise.
57827         * nscd/nscd.h: Likewise.
57828         * nss/makedb.c: Likewise.
57829         * sysdeps/generic/ldconfig.h: Likewise.
57831 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
57833         * Versions.def: Add GLIBC_2.18.
57834         * include/link.h (struct link_map): New member l_tls_dtor_count.
57835         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
57836         (__call_tls_dtors): Likewise.
57837         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
57838         __cxa_thread_atexit_impl.
57839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57840         Likewise.
57841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57842         Likewise.
57843         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
57844         Likewise.
57845         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
57846         Likewise.
57847         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
57848         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
57849         Likewise.
57850         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
57851         Likewise.
57852         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
57853         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
57854         Likewise.
57855         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
57856         (tests): Add test case tst-tls-atexit.
57857         (modules-names): Add shared library for tst-tls-atexit.
57858         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
57859         (GLIBC_PRIVATE): Add __call_tls_dtors.
57860         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
57861         for libstdc++.
57862         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
57863         * stdlib/tst-tls-atexit.c: New test case.
57864         * stdlib/tst-tls-atexit-lib.c: New test case.
57866         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
57868         * elf/Versions (ld): Add _dl_find_dso_for_object.
57869         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
57870         * elf/dl-open.c (_dl_find_dso_for_object): New function.
57871         (dl_open_worker): Use _dl_find_dso_for_object.
57872         * elf/dl-sym.c (do_sym): Likewise.
57873         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
57875 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57877         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
57878         Syntactic changes only.
57879         (_dl_runtime_profile): Do a tail-call to the resolved function.
57881 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
57883         [BZ #13550]
57884         * sysdeps/x86_64/bp-asm.h: Remove file.
57885         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
57886         <bp-sym.h> and <bp-asm.h>.
57887         (__clone): Do not use BP_SYM.
57888         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
57889         <bp-sym.h> and <bp-asm.h>.
57890         * sysdeps/unix/x86_64/sysdep.S: Likewise.
57891         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
57892         "bp-asm.h".
57893         (_setjmp): Do not use BP_SYM.
57894         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
57895         "bp-asm.h".
57896         (setjmp): Do not use BP_SYM.
57897         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
57898         libc_hidden_def.
57899         (mempcpy): Do not use BP_SYM in weak_alias.
57900         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
57901         "bp-asm.h".
57902         (strchr): Do not use BP_SYM.
57903         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
57904         "bp-asm.h".
57905         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
57906         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
57907         (_start): Do not use BP_SYM.
57908         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
57909         "bp-asm.h".
57910         (strcat): Do not use BP_SYM.
57911         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
57912         "bp-asm.h".
57913         (STRCMP): Do not use BP_SYM.
57914         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
57915         "bp-asm.h".
57916         (STRCPY): Do not use BP_SYM.
57917         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
57918         "bp-asm.h".
57919         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
57920         "bp-asm.h".
57921         (FUNCTION): Do not use BP_SYM.
57922         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
57923         weak_alias.
57924         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
57926 2013-02-17  Andreas Jaeger  <aj@suse.de>
57928         * time/Versions: Sort entries.
57929         * string/Versions: Likewise.
57930         * resolv/Versions: Likewise.
57931         * posix/Versions: Likewise.
57932         * iconv/Versions: Likewise.
57933         * elf/Versions: Likewise.
57934         * wcsmbs/Versions: Likewise.
57936 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
57938         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
57939         loop termination condition.
57941         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
57942         variable to calculate EZ.
57943         (__sqr): Likewise.
57945         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
57946         the lower precision input.
57948 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
57950         [BZ #13550]
57951         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
57952         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
57953         (run-via-rtld-prefix): Do not handle %-bp tests.
57954         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
57955         (all-object-suffixes): Remove .ob.
57956         (bppfx): Remove variable.
57957         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
57958         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
57959         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
57960         [$(build-bounded) = yes] (libtype.ob): Likewise.
57961         * Makerules (elide-routines.ob): Remove variable.
57962         (do-tests-clean): Do not handle *-bp.out.
57963         (common-mostlyclean): Do not handle *-bp and *-bp.out.
57964         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
57965         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
57966         (tests): Do not include $(tests-bp.out).
57967         (xtests): Do not include $(xtests-bp.out).
57968         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
57969         [$(build-bounded) = yes] ($(addprefix
57970         $(objpfx),$(binaries-bounded))): Remove rule.
57971         ($(objpfx)%-bp.out): Remove rule.
57972         * config.make.in (build-bounded): Remove variable.
57973         * crypt/Makefile [$(build-bounded) = yes]
57974         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
57975         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
57976         append to variable.
57977         [$(build-bounded) = yes] (install-lib): Likewise.
57978         [$(build-bounded) = yes] (generated): Likewise.
57979         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
57980         Remove rule.
57981         * intl/Makefile [$(build-bounded) = yes]
57982         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
57983         * math/Makefile [$(build-bounded) = yes]
57984         ($(tests:%=$(objpfx)%-bp): Likewise.
57985         * misc/Makefile [$(build-bounded) = yes]
57986         ($(objpfx)tst-tsearch-bp): Likewise.
57987         * nptl/Makeconfig (bounded-thread-library): Remove variable.
57988         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
57989         Remove dependency.
57990         * string/Makefile (o-objects.ob): Remove variable.
57991         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
57992         (CFLAGS-.ob): Remove variable.
57993         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
57994         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
57995         both definitions of variable.
57996         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
57997         (ASFLAGS-.ob): Remove variable.
57999 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
58001         [BZ #13550]
58002         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
58003         Remove __BOUNDED_POINTERS__ from condition.
58004         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
58005         * string/bits/string2.h [!__NO_STRING_INLINES &&
58006         !__BOUNDED_POINTERS__]: Likewise.
58007         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
58008         Likewise.
58009         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
58010         Remove conditional code.
58011         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
58012         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
58013         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
58014         condition.
58016         [BZ #13550]
58017         * csu/libc-start.c: Do not include <bp-sym.h>.
58018         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
58019         * elf/dl-open.c: Do not include <bp-sym.h>.
58020         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
58021         * math/fegetenv.c: Do not include <bp-sym.h>.
58022         (fegetenv): Do not use BP_SYM in versioned symbols.
58023         * nptl/sysdeps/pthread/bits/libc-lockP.h
58024         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
58025         <bp-sym.h>.
58026         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58027         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
58028         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58029         (__pthread_mutex_destroy): Likewise.
58030         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58031         (__pthread_mutex_lock): Likewise.
58032         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58033         (__pthread_mutex_trylock): Likewise.
58034         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58035         (__pthread_mutex_unlock): Likewise.
58036         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58037         (__pthread_mutexattr_init): Likewise.
58038         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58039         (__pthread_mutexattr_destroy): Likewise.
58040         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58041         (__pthread_mutexattr_settype): Likewise.
58042         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58043         (__pthread_rwlock_init): Likewise.
58044         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58045         (__pthread_rwlock_destroy): Likewise.
58046         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58047         (__pthread_rwlock_rdlock): Likewise.
58048         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58049         (__pthread_rwlock_tryrdlock): Likewise.
58050         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58051         (__pthread_rwlock_wrlock): Likewise.
58052         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58053         (__pthread_rwlock_trywrlock): Likewise.
58054         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58055         (__pthread_rwlock_unlock): Likewise.
58056         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58057         (__pthread_key_create): Likewise.
58058         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58059         (__pthread_setspecific): Likewise.
58060         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58061         (__pthread_getspecific): Likewise.
58062         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
58063         Likewise.
58064         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58065         (_pthread_cleanup_push_defer): Likewise.
58066         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58067         (_pthread_cleanup_pop_restore): Likewise.
58068         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
58069         (pthread_setcancelstate): Likewise.
58070         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
58071         <bp-sym.h>.
58072         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
58073         (memchr): Do not use BP_SYM in weak_alias.
58074         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
58075         (fegetenv): Do not use BP_SYM in versioned symbols.
58076         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
58077         (fesetenv): Do not use BP_SYM in versioned symbols.
58078         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
58079         (feupdateenv): Do not use BP_SYM in versioned symbols.
58080         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
58081         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
58082         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
58083         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
58084         (open64): Do not use BP_SYM in weak_alias.
58085         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
58086         (fegetenv): Do not use BP_SYM in versioned symbols.
58087         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
58088         (fesetenv): Do not use BP_SYM in versioned symbols.
58089         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
58090         (feupdateenv): Do not use BP_SYM in versioned symbols.
58091         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
58092         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
58093         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
58094         (feraiseexcept): Do not use BP_SYM in versioned symbols.
58095         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
58096         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
58097         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
58098         <bp-sym.h>.
58099         (__libc_start_main): Do not use BP_SYM.
58101 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
58103         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
58104         redundant return line.
58105         (norm): Likewise.
58106         (denorm): Likewise.
58107         (dbl_mp): Likewise.
58108         (sub_magnitudes): Likewise.
58109         (__add): Likewise.
58110         (__sub): Likewise.
58111         (__mul): Likewise.
58112         (__inv): Likewise.
58113         (__dvd): Likewise.
58114         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
58115         (norm): Likewise.
58116         (denorm): Likewise.
58117         (dbl_mp): Likewise.
58118         (sub_magnitudes): Likewise.
58119         (__add): Likewise.
58120         (__sub): Likewise.
58121         (__mul): Likewise.
58122         (__inv): Likewise.
58123         (__dvd): Likewise.
58125         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
58126         instead of __mul.
58127         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
58128         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
58129         (cc32): Likewise.
58131         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
58132         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
58133         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
58134         of __mul for squares.
58135         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
58136         function
58137         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
58138         Likewise.
58139         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
58140         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
58142 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
58144         [BZ #13550]
58145         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
58146         code.
58147         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
58148         prototype or function definition.  Rename ubp_* variables and
58149         parameters.  Remove argv definitions conditional on
58150         [__BOUNDED_POINTERS__].
58151         * debug/backtrace.c (__backtrace): Do not use __unbounded.
58152         * elf/dl-runtime.c (_dl_fixup): Likewise.
58153         * include/set-hooks.h (RUN_HOOK): Likewise.
58154         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
58155         definition.
58156         * string/strcpy.c (strcpy): Do not use __unbounded.
58157         * sysdeps/generic/frame.h (struct layout): Likewise.
58158         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
58159         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
58160         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
58161         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
58162         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
58163         (__backtrace): Likewise.
58164         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
58165         use __ptrvalue.
58166         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
58167         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
58168         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
58169         Likewise.
58170         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
58171         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
58172         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
58173         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
58174         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
58175         Do not use __unbounded.
58176         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
58177         Rename __unboundedrlimits parameter to rlimits in prototype.
58178         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
58179         Do not use __unbounded.
58180         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
58181         not use __ptrvalue.
58182         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
58183         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
58184         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
58185         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
58186         __ptrvalue or __unbounded.
58187         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
58188         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
58189         use __unbounded.
58190         (__new_msgctl): Do not use __ptrvalue.
58191         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
58192         __unbounded.
58193         (__libc_msgrcv): Do not use __ptrvalue.
58194         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
58195         startup_info): Do not use __unbounded.
58196         (__libc_start_main): Likewise.  Rename ubp_* variables and
58197         parameters.  Remove argv definitions conditional on
58198         [__BOUNDED_POINTERS__].
58199         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
58200         __ptrvalue.
58201         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
58202         use __unbounded.
58203         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
58204         or __ptrvalue.
58205         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
58206         use __unbounded.
58207         (__new_shmctl): Do not use __ptrvalue.
58208         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
58209         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
58210         Likewise.
58211         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
58212         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
58213         (__libc_sigaction): Likewise.
58214         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
58215         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
58216         Likewise.
58217         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
58219 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
58221         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
58223         * string/mempcpy.c: Implement by calling memcpy.
58225 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
58227         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
58229         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
58230         evaluation.
58232         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
58233         values in the mantissa.
58235         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
58236         minimize writes to Z.
58237         (sub_magnitudes): Simplify code a bit.
58239 2013-02-12  Roland McGrath  <roland@hack.frob.com>
58241         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
58242         from the message.  The linker prefixes all warnings with that already.
58244 2013-02-12  Andreas Schwab  <schwab@suse.de>
58246         [BZ #15078]
58247         * posix/regexec.c (extend_buffers): Add parameter min_len.
58248         (check_matching): Pass minimum needed length.
58249         (clean_state_log_if_needed): Likewise.
58250         (get_subexp): Likewise.
58251         * posix/Makefile (tests): Add bug-regex34.
58252         (bug-regex34-ENV): Define.
58253         * posix/bug-regex34.c: New file.
58255         [BZ #11561]
58256         * posix/regcomp.c (parse_bracket_exp): When looking up collating
58257         elements compare against the byte sequence of it, not its name.
58258         * posix/Makefile (tests): Add bug-regex35.
58259         (bug-regex35-ENV): Define.
58260         * posix/bug-regex35.c: New file.
58262 2013-02-11  Tom de Vries  <tom@codesourcery.com>
58264         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
58265         comment.
58266         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
58267         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
58268         (CHECK_EOL): Add undef.
58270 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
58272         * bits/stdlib-bsearch.h: New file.
58273         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
58274         * stdlib/stdlib.h: Likewise.
58276 2013-02-11  Roland McGrath  <roland@hack.frob.com>
58278         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
58279         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
58280         declaration.
58281         * manual/search.texi (Array Search Function): Add missing const in
58282         lfind prototype.
58283         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
58284         declaration to use rlim_t.
58285         (Basic Scheduling Functions): Remove erroneous const from
58286         sched_getparam prototype.  Remove erroneous * from
58287         sched_get_priority_max and sched_get_priority_min prototypes.
58288         (Resource Usage): Fix summary @comment on vtimes to refer to
58289         sys/vtimes.h rather than vtimes.h.
58290         Add missing *s in vtimes prototype.
58291         (Limits on Resources): Fix ulimit prototype to return long int.
58292         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
58293         prototypes to use long int rather than double.
58294         (BSD Random): Fix initstate and setstate to use char *, not void *.
58295         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
58296         prototype to make second argument 'struct aiocb64 *const[]'.
58297         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
58298         (Status of AIO Operations): Remove erroneous const in aio_return and
58299         aio_return64 prototypes.
58300         (Synchronizing I/O): Fix sync prototype to return void.
58301         * manual/startup.texi (Suboptions): Remove an erroneous const in
58302         getsubopt prototype.
58303         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
58304         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
58305         use size_t rather than int.
58306         (Scanning All Users): Likewise for getpwent_r.
58307         (Setting Groups): Add missing const to setgroups prototype.
58308         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
58309         * manual/socket.texi (Host Names): Fix gethostbyaddr and
58310         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
58311         'const void *' rather than 'const char *'.
58312         (Host Address Functions): Likewise for inet_ntop.
58313         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
58314         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
58315         ssize_t for return value.
58316         (Sending Data): Likewise for send, sendto, sendmsg.
58317         (Socket Option Functions): Add a missing const in setsockopt prototype.
58318         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
58319         use wchar_t for the argument.
58320         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
58321         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
58322         take no arguments.
58323         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
58324         double/float/long double for second argument.
58325         Fix return types of significand, significandf, significandl.
58326         * manual/filesys.texi (Setting Permissions): Use mode_t for second
58327         argument in fchmod prototype.
58328         (File Owner): Use uid_t and gid_t in fchown prototype.
58329         (File Times): Add const to utimes, futimes, and lutimes prototypes.
58330         (Making Special Files): Use mode_t and dev_t in mknod prototype.
58331         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
58332         use 'const struct dirent **' as argument types to CMP function pointer
58333         argument.
58334         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
58335         (File Times): Fix summary magic @comment for struct utimbuf and utime
58336         to refer to utime.h, not time.h.
58337         * manual/string.texi (Argz Functions): Add missing const in
58338         argz_extract and argz_next prototypes.
58339         (Finding Tokens in a String): Likewise for basename.
58340         (String/Array Comparison): Fix typo in wcscasecmp prototype.
58341         (Copying and Concatenation): Fix typo in wmemmove prototype.
58342         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
58343         (Signal Stack): Remove erroneous const in sigstack prototype.
58344         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
58345         prototype.
58346         (Simple Calendar Time): Likewise for stime.
58347         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
58348         prototype.
58349         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
58350         say sys/sysctl.h instead.
58351         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
58352         and vsyslog prototypes.
58354 2013-02-11  Tom de Vries  <tom@codesourcery.com>
58356         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
58357         Remove.
58359 2013-02-11  Roland McGrath  <roland@hack.frob.com>
58361         * misc/sys/mman.h: Fix typo in mremap comment.
58363 2013-02-08  Roland McGrath  <roland@hack.frob.com>
58365         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
58366         the '\0' terminator.
58368 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
58370         [BZ #13550]
58371         * debug/segfault.c: Don't include <bp-checks.h>.
58372         * sysdeps/generic/bp-checks.h: Remove file.
58373         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
58374         (__GETDENTS): Don't use CHECK_N.
58375         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
58376         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
58377         (__getgroups): Don't use CHECK_N.
58378         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
58379         (setgroups): Don't use CHECK_N.
58380         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
58381         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
58382         (__libc_msgrcv): Don't use CHECK_N.
58383         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
58384         (__libc_msgsnd): Don't use CHECK_N.
58385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
58386         <bp-checks.h>.
58387         (__libc_pread): Don't use CHECK_N.
58388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
58389         include <bp-checks.h>.
58390         (__libc_pread64): Don't use CHECK_N.
58391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
58392         include <bp-checks.h>.
58393         (__libc_pwrite): Don't use CHECK_N.
58394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
58395         include <bp-checks.h>.
58396         (__libc_pwrite64): Don't use CHECK_N.
58397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
58398         <bp-checks.h>.
58399         (__libc_pread): Don't use CHECK_N.
58400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
58401         include <bp-checks.h>.
58402         (__libc_pread64): Don't use CHECK_N.
58403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
58404         include <bp-checks.h>.
58405         (__libc_pwrite): Don't use CHECK_N.
58406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
58407         include <bp-checks.h>.
58408         (__libc_pwrite64): Don't use CHECK_N.
58409         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
58410         (do_pread): Don't use CHECK_N.
58411         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
58412         (do_pread64): Don't use CHECK_N.
58413         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
58414         (do_pwrite): Don't use CHECK_N.
58415         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
58416         (do_pwrite64): Don't use CHECK_N.
58417         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
58418         (__libc_readv): Don't use CHECK_N.
58419         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
58420         (semop): Don't use CHECK_N.
58421         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
58422         <bp-checks.h>.
58423         (semtimedop): Don't use CHECK_N.
58424         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
58425         (__libc_pread): Don't use CHECK_N.
58426         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
58427         <bp-checks.h>.
58428         (__libc_pread64): Don't use CHECK_N.
58429         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
58430         <bp-checks.h>.
58431         (__libc_pwrite): Don't use CHECK_N.
58432         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
58433         <bp-checks.h>.
58434         (__libc_pwrite64): Don't use CHECK_N.
58435         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
58436         <bp-checks.h>.
58437         (__libc_msgrcv): Don't use CHECK_N.
58438         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
58439         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
58440         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
58441         (__libc_writev): Don't use CHECK_N.
58443 2013-02-08  Roland McGrath  <roland@hack.frob.com>
58445         * string/strcpy.c: Removed unused variable.
58447         * Makeconfig (+sysdep-includes): Define with := rather than =.
58448         Use an existing include/ subdir of each sysdeps dir before it.
58450 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
58452         * nscd/connection.c (register_traced_file): Comment function.
58453         [HAVE_INOTIFY] (union __inev): Define.
58454         [HAVE_INOTIFY] (inotify_check_files): New function.
58455         [HAVE_INOTIFY] (clear_db_cache): Likewise.
58456         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
58457         clear_db_cache.
58458         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
58460 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
58462         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
58463         loaded if not already and that a failure is permanent.
58465 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
58467         [BZ #15006]
58468         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
58469         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
58471 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
58473         [BZ #13550]
58474         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
58475         (CHECK_1_NULL_OK): Likewise.
58476         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
58477         (__fxstat): Do not use CHECK_1.
58478         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
58479         <bp-checks.h>.
58480         (___fxstat64): Do not use CHECK_1.
58481         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
58482         <bp-checks.h>.
58483         (__fxstatat): Do not use CHECK_1.
58484         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
58485         <bp-checks.h>.
58486         (__fxstatat64): Do not use CHECK_1.
58487         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
58488         <bp-checks.h>.
58489         (__fxstat): Do not use CHECK_1.
58490         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
58491         <bp-checks.h>.
58492         (__fxstatat): Do not use CHECK_1.
58493         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
58494         <bp-checks.h>.
58495         (__getresgid): Do not use CHECK_1.
58496         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
58497         <bp-checks.h>.
58498         (__getresuid): Do not use CHECK_1.
58499         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
58500         <bp-checks.h>.
58501         (__lxstat): Do not use CHECK_1.
58502         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
58503         <bp-checks.h>.
58504         (__old_msgctl): Do not use CHECK_1.
58505         (__new_msgctl): Likewise.
58506         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
58507         <bp-checks.h>.
58508         (__new_setrlimit): Do not use CHECK_1.
58509         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
58510         <bp-checks.h>.
58511         (__old_shmctl): Do not use CHECK_1.
58512         (__new_shmctl): Likewise.
58513         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
58514         <bp-checks.h>.
58515         (__xstat): Do not use CHECK_1.
58516         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
58517         (__lxstat): Do not use CHECK_1.
58518         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
58519         <bp-checks.h>.
58520         (___lxstat64): Do not use CHECK_1.
58521         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
58522         (__old_msgctl): Do not use CHECK_1.
58523         (__new_msgctl): Likewise.
58524         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
58525         <bp-checks.h>.
58526         (__gettimeofday): Do not use CHECK_1.
58527         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
58528         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
58529         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
58530         <bp-checks.h>.
58531         (__gettimeofday): Do not use CHECK_1.
58532         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
58533         (__old_shmctl): Do not use CHECK_1_NULL_OK.
58534         (__new_shmctl): Do not use CHECK_1.
58535         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
58536         <bp-checks.h>.
58537         (do_sigtimedwait): Do not use CHECK_1.
58538         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
58539         <bp-checks.h>.
58540         (do_sigwaitinfo): Do not use CHECK_1.
58541         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
58542         <bp-checks.h>.
58543         (msgctl): Do not use CHECK_1.
58544         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
58545         <bp-checks.h>.
58546         (shmctl): Do not use CHECK_1.
58547         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
58548         (ustat): Do not use CHECK_1.
58549         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
58550         <bp-checks.h>.
58551         (__fxstat): Do not use CHECK_1.
58552         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
58553         <bp-checks.h>.
58554         (__fxstatat): Do not use CHECK_1.
58555         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
58556         <bp-checks.h>.
58557         (__lxstat): Do not use CHECK_1.
58558         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
58559         <bp-checks.h>.
58560         (__xstat): Do not use CHECK_1.
58561         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
58562         (__xstat): Do not use CHECK_1.
58563         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
58564         (___xstat64): Do not use CHECK_1.
58566         [BZ #13550]
58567         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
58568         definitions.
58569         (CHECK_BOUNDS_HIGH): Likewise.
58570         * string/strcpy.c: Do not include <bp-checks.h>.
58571         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
58573 2013-02-07  Roland McGrath  <roland@hack.frob.com>
58575         * nscd/nscd-client.h (__nscd_drop_map_ref):
58576         Add __attribute__ ((unused)).
58577         * nis/nss-nisplus.h (niserr2nss): Likewise.
58579         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
58580         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
58582         * csu/libc-tls.c (init_static_tls, init_slotinfo):
58583         Remove inline keyword.
58584         * include/rounding-mode.h (round_away): Likewise.
58585         * libio/wfileops.c (adjust_wide_data): Likewise.
58586         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
58587         (__m128i_strloadu_tolower): Likewise.
58588         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
58589         (__m128i_strloadu_tolower): Likewise.
58590         * time/mktime.c (ydhms_diff): Likewise.
58591         * locale/elem-hash.h (elem_hash): Likewise.
58592         * locale/setlocale.c (setdata): Likewise.
58593         * posix/regex_internal.h (re_string_char_size_at): Likewise.
58594         (re_string_wchar_at): Likewise.
58595         (bitset_not, bitset_merge, bitset_mask): Likewise.
58596         [!(__GNUC__ > 3)] (inline): Remove macro.
58597         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
58598         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
58599         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
58600         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
58601         * string/memcmp.c (memcmp_bytes): Likewise.
58602         * locale/programs/locarchive.c (compute_hashval): Likewise.
58603         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
58604         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
58605         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
58606         * nss/getent.c (print_rpc, print_protocols): Likewise.
58607         (print_passwd, print_group, print_aliases): Likewise.
58608         * nis/nss-nisplus.h (niserr2nss): Likewise.
58609         * nscd/connections.c (restart_p): Likewise.
58610         Change return type to bool.
58612 2013-02-05  Roland McGrath  <roland@hack.frob.com>
58614         * Makeconfig (all-Depend-files): Add existing
58615         $(sorted-subdirs:=/Depend) files.
58616         (all-subdirs): Remove nss.
58617         * sysdeps/unix/inet/Subdirs: Add it here instead.
58618         * hesiod/Depend: New file.
58620         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
58621         instead of calling alloca.
58623         * io/lseek.c (__lseek): Rename to __libc_lseek.
58624         Define __lseek as an alias.
58626         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
58628 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
58630         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
58631         else clause and remove check for non-standard endianness.
58633 2013-02-04  David S. Miller  <davem@davemloft.net>
58635         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58637 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
58639         [BZ #13550]
58640         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
58641         (__ubp_memchr): Remove prototype.
58642         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
58643         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
58644         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
58645         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
58646         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
58647         Remove alias.
58648         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
58649         (__ubp_memchr): Likewise.
58650         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
58651         (__ubp_memchr): Likewise.
58652         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
58653         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
58654         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
58655         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
58656         CHECK_STRING.
58657         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
58658         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
58659         (__getcwd): Do not use CHECK_STRING.
58660         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
58661         <bp-checks.h>.
58662         (__real_chown): Do not use CHECK_STRING.
58663         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
58664         <bp-checks.h>.
58665         (fchownat): Do not use CHECK_STRING.
58666         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
58667         CHECK_STRING.
58668         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
58669         <bp-checks.h>.
58670         (__lchown): Do not use CHECK_STRING.
58671         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
58672         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
58673         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
58674         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
58675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
58676         include <bp-checks.h>.
58677         (truncate64): Do not use CHECK_STRING.
58678         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
58679         <bp-checks.h>.
58680         (__real_chown): Do not use CHECK_STRING.
58681         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
58682         <bp-checks.h>.
58683         (__lchown): Do not use CHECK_STRING.
58684         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
58685         <bp-checks.h>.
58686         (__chown): Do not use CHECK_STRING.
58687         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
58688         <bp-checks.h>.
58689         (truncate64): Do not use CHECK_STRING.
58690         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
58691         Likewise.
58692         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
58693         (__xmknod): Do not use CHECK_STRING.
58694         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
58695         <bp-checks.h>.
58696         (__xmknodat): Do not use CHECK_STRING.
58697         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
58698         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
58700 2013-02-04  Andreas Schwab  <schwab@suse.de>
58702         [BZ #14142]
58703         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
58704         * include/netdb.h: Likewise for h_errno.
58705         * elf/tst-stackguard1.c: Include <tls.h>.
58707 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
58709         * elf/link.h (struct link_map): Extend the l_addr comment.
58710         * include/link.h (struct link_map): Likewise.
58712 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
58714         [BZ #13550]
58715         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
58716         (BOUNDED_1): Remove macro.
58717         * debug/backtrace.c: Don't include <bp-checks.h>.
58718         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
58719         (__backtrace): Likewise.
58720         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
58721         <bp-checks.h>.
58722         (__backtrace): Don't use BOUNDED_1.
58723         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
58724         <bp-checks.h>.
58725         (__backtrace): Don't use BOUNDED_1.
58726         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
58727         (__backtrace): Don't use BOUNDED_1.
58728         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
58729         (shmat): Don't use BOUNDED_N.
58731 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
58733         [BZ #13550]
58734         * sysdeps/generic/bp-start.h: Remove file.
58735         * csu/libc-start.c: Don't include <bp-start.h>.
58736         (LIBC_START_MAIN): Set up __environ directly instead of using
58737         INIT_ARGV_and_ENVIRON.
58738         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
58739         <bp-start.h>.
58741         [BZ #13550]
58742         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
58743         definitions.
58744         (CHECK_FCNTL): Likewise.
58745         (CHECK_N_PAGES): Likewise.
58747         [BZ #13550]
58748         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
58749         definitions.
58750         (CHECK_SIGSET_NULL_OK): Likewise.
58751         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
58752         <bp-checks.h>.
58753         (sigpending): Don't use CHECK_SIGSET.
58754         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
58755         <bp-checks.h>.
58756         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
58757         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
58758         <bp-checks.h>.
58759         (do_sigsuspend): Don't use CHECK_SIGSET.
58760         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
58761         use CHECK_SIGSET.
58762         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
58763         (do_sigwait): Don't use CHECK_SIGSET.
58764         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
58765         use CHECK_SIGSET.
58766         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
58767         include <bp-checks.h>.
58768         (sigpending): Don't use CHECK_SIGSET.
58769         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
58770         include <bp-checks.h>.
58771         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
58772         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
58773         <bp-checks.h>.
58774         (sigpending): Don't use CHECK_SIGSET.
58775         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
58776         <bp-checks.h>.
58777         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
58779         [BZ #13550]
58780         * sysdeps/generic/bp-semctl.h: Remove file.
58781         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
58782         <bp-checks.h> and <bp-semctl.h>.
58783         (__old_semctl): Don't use CHECK_SEMCTL.
58784         (__new_semctl): Likewise.
58785         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
58786         and <bp-semctl.h>.
58787         (__old_semctl): Don't use CHECK_SEMCTL.
58788         (__new_semctl): Likewise.
58789         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
58790         <bp-checks.h> and <bp-semctl.h>.
58791         (__old_semctl): Don't use CHECK_SEMCTL.
58792         (__new_semctl): Likewise.
58793         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
58794         <bp-checks.h> and <bp-semctl.h>.
58795         (semctl): Don't use CHECK_SEMCTL.
58797         [BZ #13550]
58798         * Makerules (elide-bp-thunks): Remove variable.
58799         (elide-routines.oS): Don't use $(elide-bp-thunks).
58800         (elide-routines.os): Likewise.
58801         (elide-routines.o): Likewise.
58802         (elide-routines.op): Likewise.
58803         (elide-routines.og): Likewise.
58804         (objects): Don't use $(bp-thunks).
58805         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
58806         include.
58807         (common-generated): Do not add s-proto-bp.d.
58808         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
58809         (int): Likewise.
58810         (typ): Likewise.
58811         Do not generate makefile rules for bounded-pointer thunks.
58812         * sysdeps/generic/bp-thunks.h: Remove file.
58813         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
58814         * sysdeps/unix/s-proto-bp.S: Likewise.
58816         [BZ #15062]
58817         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
58818         parts of result separately when argument is not close to line from
58819         -i to i and one part of argument is small.
58820         * math/k_casinhf.c (__kernel_casinhf): Likewise.
58821         * math/k_casinhl.c (__kernel_casinhl): Likewise.
58822         * math/libm-test.inc (cacos_test): Add more tests.
58823         (casin_test): Likewise.
58824         (casinh_test): Likewise.
58825         * sysdeps/i386/fpu/libm-test-ulps: Update.
58826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58828 2013-01-31  David S. Miller  <davem@davemloft.net>
58830         * po/de.po: Update from translation team.
58832 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
58834         * time/tzfile.c: Include stdint.h for SIZE_MAX.
58836 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
58838         * configure.in (_AC_PROG_CC_C89): New definition.
58839         * configure: Regenerate.
58841         * configure.in (AC_PROG_CPP): New definition.
58842         * configure: Regenerate.
58844 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
58846         * debug/tst-backtrace.h: New file.
58847         * debug/tst-backtrace2.c: Include tst-backtrace.h.
58848         (ret): Remove variable.
58849         (x): Likewise.
58850         (FAIL): Remove macro.
58851         (NO_INLINE): Likewise.
58852         (fn1): Use match function instead of strstr.
58853         * debug/tst-backtrace3.c: Include tst-backtrace.h.
58854         (ret): Remove variable.
58855         (x): Likewise.
58856         (FAIL): Remove macro.
58857         (NO_INLINE): Likewise.
58858         (fn): Use match function instead of strstr.
58859         * debug/tst-backtrace4.c: Include tst-backtrace.h.
58860         (ret): Remove variable.
58861         (x): Likewise.
58862         (FAIL): Remove macro.
58863         (NO_INLINE): Likewise.
58864         (handle_signal): Use match function instead of strstr.
58865         * debug/tst-backtrace5.c: Include tst-backtrace.h.
58866         (ret): Remove variable.
58867         (x): Likewise.
58868         (FAIL): Remove macro.
58869         (NO_INLINE): Likewise.
58870         (handle_signal): Use match function instead of strstr.
58872 2013-01-23  Roland McGrath  <roland@hack.frob.com>
58874         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
58876 2013-01-23  David S. Miller  <davem@davemloft.net>
58878         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
58879         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
58880         argument of CAS if possible.
58881         * sysdeps/sparc/sparc64/bits/atomic.h
58882         (__arch_compare_and_exchange_val_32_acq): Likewise.
58883         (__arch_compare_and_exchange_val_64_acq): Likewise.
58885 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
58887         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
58888         * sysdeps/posix/ulimit.c: ... this.
58889         Include <limits.h>.
58890         * sysdeps/unix/bsd/ulimit.c: Remove file.
58892 2013-01-23  Adam Conrad  <adconrad@0c3.net>
58894         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
58895         (LDFLAGS-tst-array5): Likewise.
58897 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
58899         [BZ #15036]
58900         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
58901         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
58902         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
58903         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
58905 2013-01-21  David S. Miller  <davem@davemloft.net>
58907         * sysdeps/sparc/backtrace.c: New file.
58908         * sysdeps/sparc/sparc32/backtrace.h: New file.
58909         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
58910         * sysdeps/sparc/sparc64/backtrace.h: New file.
58911         * sysdeps/sparc/sparc64/backtrace.c: Delete.
58912         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
58913         -funwind-tables.
58915 2013-01-21  Andreas Schwab  <schwab@suse.de>
58917         [BZ #15020]
58918         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
58919         closed its stdout.
58921 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
58923         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
58924         "mpa2.h".
58925         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
58927 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
58928             Mark Mitchell  <mark@codesourcery.com>
58929             Tom de Vries  <tom@codesourcery.com>
58930             Paul Pluzhnikov  <ppluzhnikov@google.com>
58932         * debug/tst-backtrace2.c: New file.
58933         * debug/tst-backtrace3.c: Likewise.
58934         * debug/tst-backtrace4.c: Likewise.
58935         * debug/tst-backtrace5.c: Likewise.
58936         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
58937         (CFLAGS-tst-backtrace3.c): Likewise.
58938         (CFLAGS-tst-backtrace4.c): Likewise.
58939         (CFLAGS-tst-backtrace5.c): Likewise.
58940         (LDFLAGS-tst-backtrace2): Likewise.
58941         (LDFLAGS-tst-backtrace3): Likewise.
58942         (LDFLAGS-tst-backtrace4): Likewise.
58943         (LDFLAGS-tst-backtrace5): Likewise.
58944         (tests): Add new tests tst-backtrace2, tst-backtrace3,
58945         tst-backtrace4 and tst-backtrace5.
58947 2013-01-18  Anton Blanchard  <anton@samba.org>
58948             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58950         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
58951         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
58952         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
58953         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
58954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
58955         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
58956         "+r" and remove output regs list as redundant.  Add explicit inline
58957         asm to specify register of return val to work around compiler codegen
58958         bug.  Remove (int) cast on return value.  Add return type parameter to
58959         use in macro so that this macro does not truncate return value for
58960         64-bit values.
58961         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
58962         pass to INTERNAL_VSYSCALL_NCS.
58963         (INLINE_VSYSCALL): Add 'long int' as return type to
58964         INTERNAL_VSYSCALL_NCS macro invocation.
58965         (INTERNAL_VSYSCALL): Add 'long int' as return type to
58966         INTERNAL_VSYSCALL_NCS macro invocation.
58967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
58969 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
58971         [BZ #14496]
58972         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
58973         Fix application of SIMD FP exception mask.
58975         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
58976         mp_no from a power of two.
58977         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
58978         __mpexp_twomm1.  Use __pow_mp.
58980         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
58981         multiplication.
58983 2013-01-17  David S. Miller  <davem@davemloft.net>
58985         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58987 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
58989         [BZ #15023]
58990         * include/complex.h: Condition contents on [!_COMPLEX_H].
58991         (__kernel_casinhf): New prototype.
58992         (__kernel_casinh): Likewise.
58993         (__kernel_casinhl): Likewise.
58994         * math/Makefile (libm_calls): Add k_casinh.
58995         * math/k_casinh.c: New file.
58996         * math/k_casinhf.c: Likewise.
58997         * math/k_casinhl.c: Likewise.
58998         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
58999         finite nonzero arguments.
59000         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
59001         finite nonzero arguments.
59002         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
59003         finite nonzero arguments.
59004         * math/s_casinh.c: Do not include <float.h>.
59005         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
59006         * math/s_casinhf.c: Do not include <float.h>.
59007         (__casinhf): Move code for finite nonzero arguments to
59008         k_casinhf.c.
59009         * math/s_casinhl.c: Do not include <float.h>.
59010         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
59011         redefine.
59012         (__casinhl): Move code for finite nonzero arguments to
59013         k_casinhl.c.
59014         * math/libm-test.inc (cacos_test): Add more tests.
59015         * sysdeps/i386/fpu/libm-test-ulps: Update.
59016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59018 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
59020         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
59021         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
59022         [!HAVE_MREMAP]: Remove [defined linux] case.
59023         * malloc/arena.c: Do not include <malloc-sysdep.h>.
59025 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
59027         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
59029 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
59031         * elf/elf.h (R_386_SIZE32): New relocation.
59032         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
59033         R_386_SIZE32.
59034         (elf_machine_rela): Likewise.
59035         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
59036         R_X86_64_SIZE64 and R_X86_64_SIZE32.
59038 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
59040         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
59041         (FP_FAST_FMA): Do not define.
59042         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
59043         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
59044         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
59045         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
59046         !_SOFT_FLOAT]: Likewise.
59047         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
59048         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
59049         value.
59050         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
59051         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
59052         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
59053         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
59054         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
59055         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
59056         file.
59058 2013-01-16  Andreas Schwab  <schwab@suse.de>
59060         [BZ #14327]
59061         * include/stdlib.h (__mktemp): Add declaration.
59062         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
59063         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
59065 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
59067         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
59068         definitions.
59069         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
59070         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
59071         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
59072         definitions here.
59073         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
59074         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
59075         definitions.
59076         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
59077         and ONE.
59078         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
59079         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
59080         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
59081         definitions.
59082         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
59083         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
59084         definitions.
59085         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
59087         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
59089 2013-01-15  David S. Miller  <davem@davemloft.net>
59091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
59092         trunc{,f} to libm-sysdep_routes.
59093         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
59094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
59095         file.
59096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
59097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
59098         file.
59099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
59100         file.
59101         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
59102         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
59103         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
59104         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
59105         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
59106         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
59107         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
59108         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
59110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
59111         nearbyint{,f} to libm-sysdep_routes.
59112         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
59113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
59114         New file.
59115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
59116         file.
59117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
59118         New file.
59119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
59120         file.
59121         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
59122         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
59123         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
59124         file.
59125         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
59126         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
59127         file.
59128         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
59129         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
59130         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
59132         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
59133         libc_feholdexcept and libc_fesetenv.
59135 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
59137         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
59139 2013-01-14  David S. Miller  <davem@davemloft.net>
59141         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
59142         (SPARC_ASM_VIS2_IFUNC): Likewise.
59143         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
59144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
59145         use of 'siam' instruction.
59146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
59147         Likewise.
59148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
59149         Likewise.
59150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
59151         Likewise.
59152         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
59153         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
59154         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
59155         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
59156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
59157         file.
59158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
59159         file.
59160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
59161         file.
59162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
59163         file.
59164         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
59165         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
59166         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
59167         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
59168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
59169         new VIS2 routines.
59170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
59171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
59172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
59173         Likewise.
59174         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
59175         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
59176         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
59177         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
59178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
59179         routines to libm-sysdep_routines.
59180         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
59182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
59183         fdim/fdimf to libm-sysdep_routines.
59184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
59185         file.
59186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
59187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
59188         file.
59189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
59190         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
59191         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
59192         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
59193         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
59194         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
59195         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
59197 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
59199         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
59200         to optimize copies.
59202         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
59203         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
59204         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
59206         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
59207         local variable MPTWO.
59208         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
59209         Likewise.
59211 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
59213         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
59214         GLOB_NOESCAPE.
59216 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
59218         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
59220 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
59222         * manual/pattern.texi (glob_t): Document gl_flags.
59223         (glob64_t): Likewise.
59225 2013-01-11  David S. Miller  <davem@davemloft.net>
59227         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
59228         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
59229         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
59230         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
59231         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
59232         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
59233         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
59234         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
59235         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
59236         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
59237         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
59238         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
59239         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
59241         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
59242         sparc V9 rather than using V8 code.
59243         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
59244         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
59246         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
59247         Move to...
59248         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
59249         Here.
59251 2013-01-11  Roland McGrath  <roland@hack.frob.com>
59253         [BZ #14941]
59254         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
59255         not in the main loop.
59256         * configure: Regenerated.
59258 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
59260         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
59261         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
59262         to just #else.
59263         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
59264         [!__GLIBC_HAVE_LONG_LONG] case.
59265         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
59266         condition to just #else.
59267         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
59268         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
59269         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
59270         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
59271         unconditional.
59272         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
59273         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
59274         #elif condition to just #else.
59275         * sysdeps/unix/sysv/linux/sys/sysmacros.h
59276         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
59277         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
59278         #elif condition to just #else.
59280 2013-01-11  Steve Ellcey  <sellcey@mips.com>
59282         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
59283         (EF_MIPS_ARCH_64): Fix value.
59284         (EF_MIPS_ARCH_32R2): New.
59285         (EF_MIPS_ARCH_64R2): New.
59287 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
59289         * Makeconfig (+link-pie-before-libc): New.
59290         (+link-pie-after-libc): Likewise.
59291         (+link-pie-tests): Likewise.
59292         (+link-pie): Rewritten.
59293         (link-before-libc): Remove $(config-LDFLAGS).
59294         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
59295         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
59296         (config-LDFLAGS): Renamed to ...
59297         (rtld-LDFLAGS): This.
59298         (rtld-tests-LDFLAGS): New macro.
59299         (link-libc-rpath-link): Likewise.
59300         (link-libc-tests-rpath-link): Likewise.
59301         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
59302         (link-libc): Prepand $(link-libc-rpath-link).
59303         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
59304         (test-program-prefix): New macro.
59305         (test-via-rtld-prefix): Likewise.
59306         (test-program-cmd): Likewise.
59307         (host-test-program-cmd): Likewise.
59308         * Makefile ($(common-objpfx)testrun.sh): Replace
59309         $(run-program-prefix) with $(test-program-prefix).
59310         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
59311         $(rtld-LDFLAGS).
59312         ($(common-objpfx)shlib.lds): Likewise.
59313         (build-module-helper): Likewise.
59314         ($(common-objpfx)format.lds): Likewise.
59315         * Rules (binaries-pie-tests): New.
59316         (binaries-pie-notests): Likewise.
59317         (binaries-pie): Rewritten.
59318         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
59319         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
59320         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
59321         (make-test-out): Replace $(host-built-program-cmd) with
59322         $(host-test-program-cmd).
59323         * config.make.in (build-hardcoded-path-in-tests): New variable.
59324         * configure.in (--enable-hardcoded-path-in-tests): New configure
59325         option.
59326         (hardcoded_path_in_tests): New AC_SUBST.
59327         * configure: Regenerated.
59328         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
59329         $(built-program-cmd) with $(test-program-cmd).
59330         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
59331         (test_program_cmd): This.
59332         * elf/Makefile ($(objpfx)order.out): Run test with
59333         $(test-program-prefix).
59334         ($(objpfx)order2.out): Likewise.
59335         ($(objpfx)tst-initorder.out): Likewise.
59336         ($(objpfx)tst-initorder2.out): Likewise.
59337         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
59338         $(test-program-cmd).
59339         ($(objpfx)tst-array1-static.out): Likewise.
59340         ($(objpfx)tst-array2.out): Likewise.
59341         ($(objpfx)tst-array3.out): Likewise.
59342         ($(objpfx)tst-array4.out): Likewise.
59343         ($(objpfx)tst-array5.out): Likewise.
59344         ($(objpfx)tst-array5-static.out): Likewise.
59345         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
59346         $(test-program-cmd).
59347         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
59348         $(run-program-prefix) with $(test-program-prefix).
59349         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
59350         (test_program_prefix): This.
59351         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
59352         $(run-program-prefix) with $(test-program-prefix).
59353         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
59354         (test_program_prefix): This.
59355         * iconvdata/tst-tables.sh: Likewise.
59356         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
59357         $(run-program-prefix) with $(test-program-prefix).
59358         ($(objpfx)tst-translit.out): Likewise.
59359         ($(objpfx)tst-gettext2.out): Likewise.
59360         ($(objpfx)tst-gettext4.out): Likewise.
59361         ($(objpfx)tst-gettext6.out): Likewise.
59362         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
59363         (test_program_prefix): This.
59364         * intl/tst-gettext2.sh: Likewise.
59365         * intl/tst-gettext4.sh  Likewise.
59366         * intl/tst-gettext6.sh: Likewise.
59367         * intl/tst-translit.sh: Likewise.
59368         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
59369         with $(test-program-cmd).
59370         * libio/Makefile ($(objpfx)test-freopen.out): Replace
59371         $(run-program-prefix) with $(test-program-prefix).
59372         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
59373         (test_program_prefix): This.
59374         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
59375         $(run-program-prefix) with $(test-program-prefix).
59376         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
59377         (test_program_prefix): This.
59378         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
59379         * posix/Makefile ($(objpfx)globtest.out): Replace
59380         $(run-via-rtld-prefix) and $(test-wrapper) with
59381         $(test-program-prefix) and $(test-via-rtld-prefix).
59382         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
59383         $(test-program-prefix).
59384         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
59385         $(host-test-program-cmd).
59386         (tst-spawn-ARGS): Likewise.
59387         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
59388         $(test-program-prefix).
59389         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
59390         (test_via_rtld_prefix): This.
59391         (test_wrapper): Renamed to ...
59392         (test_program_prefix): This.
59393         (run_program_prefix): Replaced by test_program_prefix.
59394         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
59395         (test_program_prefix): This.
59396         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
59397         with $(host-test-program-cmd).
59398         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
59399         $(run-program-prefix) with $(test-program-prefix).
59400         ($(objpfx)tst-printf.out): Likewise.
59401         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
59402         $(test-program-cmd).
59403         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
59404         (test_program_prefix): This.
59405         * stdio-common/tst-unbputc.sh: Likewise.
59406         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
59407         $(run-program-prefix) with $(test-program-prefix).
59408         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
59409         (test_program_prefix): This.
59410         * string/Makefile ($(objpfx)tst-svc.out):  Replace
59411         $(built-program-cmd) with $(test-program-cmd).
59413 2013-01-11  Andreas Jaeger  <aj@suse.de>
59415         [BZ #15003]
59416         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
59417         value. Sync with Linux 3.7.
59419 2013-01-10  David S. Miller  <davem@davemloft.net>
59421         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
59422         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
59423         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
59425 2013-01-10  Roland McGrath  <roland@hack.frob.com>
59427         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
59428         never set.
59429         * configure: Regenerated.
59431 2013-01-10  David S. Miller  <davem@davemloft.net>
59433         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
59434         sparc V9 rather than using V8 code.
59435         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
59436         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
59438 2013-01-10  Roland McGrath  <roland@hack.frob.com>
59440         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
59441         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
59442         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
59443         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
59444         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
59445         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
59446         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
59447         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
59448         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
59449         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
59450         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
59451         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
59452         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
59453         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
59454         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
59455         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
59456         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
59457         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
59458         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
59459         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
59460         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
59461         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
59462         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
59463         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
59464         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
59465         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
59466         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
59468 2013-01-10  David S. Miller  <davem@davemloft.net>
59470         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59472 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
59474         * posix/Makefile (tests-static): New variable.
59475         (tests): Add $(tests-static).
59476         (tst-exec-static-ARGS): New variable.
59477         (tst-spawn-static-ARGS): Likewise.
59478         * posix/tst-exec-static.c: New file.
59479         * posix/tst-spawn-static.c: Likewise.
59480         * posix/tst-exec.c: Support run directly.
59481         * posix/tst-spawn.c: Likewise.
59483 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
59485         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
59486         long.
59487         * math/bits/mathcalls.h (llrint): Likewise.
59488         (llround): Likewise.
59489         * stdlib/stdlib.h (struct drand48_data): Likewise.
59490         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
59491         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
59492         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
59493         Likewise.
59494         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
59495         Likewise.
59496         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
59497         (elf_greg_t): Likewise.
59498         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
59499         (__jmp_buf): Likewise.
59500         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
59501         definitions.
59502         (llrint): Likewise, for all definitions.
59503         (llrintl): Likewise.
59505         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
59506         Remove [__GNUC__] condition.
59507         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
59508         condition to just [__USE_ISOC99].
59509         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
59511 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
59513         [BZ #14200]
59514         * sysdeps/unix/sysv/linux/x86/bits/environments.h
59515         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
59516         defined.
59517         (_POSIX_V6_ILP32_OFF32): Likewise.
59518         (_XBS5_ILP32_OFF32): Likewise.
59519         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
59520         (__ILP32_OFFBIG_LDFLAGS): Likewise.
59522 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
59524         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
59526         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
59527         doubles __mpexp_twomm1.  Adjust usage.
59528         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
59529         Remove.
59531 2013-01-10  Andreas Schwab  <schwab@suse.de>
59533         [BZ #14964]
59534         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
59535         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
59537 2013-01-09  David S. Miller  <davem@davemloft.net>
59539         [BZ #15003]
59540         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
59541         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
59542         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
59543         (TCP_FASTOPEN): Define.
59544         (tcp_repair_opt): New structure.
59545         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
59546         enum values.
59547         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
59548         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
59549         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
59550         (tcp_cookie_transactions): New structure.
59552 2013-01-09  Anton Blanchard  <anton@samba.org>
59554         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
59555         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
59556         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
59557         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
59559 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
59561         * include/features.h (__USE_ANSI): Remove.
59563 2013-01-09  Roland McGrath  <roland@hack.frob.com>
59565         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
59567         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
59569 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
59571         * sysdeps/s390/fpu/libm-test-ulps: Update.
59573         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59575         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
59576         (__acr): Likewise.
59577         (__cpy): Likewise.
59578         (norm): Likewise.
59579         (denorm): Likewise.
59580         (__mp_dbl): Likewise.
59581         (__dbl_mp): Likewise.
59582         (add_magnitudes): Likewise.
59583         (sub_magnitudes): Likewise.
59584         (__add): Likewise.
59585         (__sub): Likewise.
59586         (__mul): Likewise.
59587         (__inv): Likewise.
59588         (__dvd): Likewise.
59589         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
59590         (__acr): Likewise.
59591         (__cpy): Likewise.
59592         (norm): Likewise.
59593         (denorm): Likewise.
59594         (__mp_dbl): Likewise.
59595         (__dbl_mp): Likewise.
59596         (add_magnitudes): Likewise.
59597         (sub_magnitudes): Likewise.
59598         (__add): Likewise.
59599         (__sub): Likewise.
59600         (__mul): Likewise.
59601         (__inv): Likewise.
59602         (__dvd): Likewise.
59603         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
59604         (__acr): Likewise.
59605         (__cpy): Likewise.
59606         (norm): Likewise.
59607         (denorm): Likewise.
59608         (__mp_dbl): Likewise.
59609         (__dbl_mp): Likewise.
59610         (add_magnitudes): Likewise.
59611         (sub_magnitudes): Likewise.
59612         (__add): Likewise.
59613         (__sub): Likewise.
59614         (__mul): Likewise.
59615         (__inv): Likewise.
59616         (__dvd): Likewise.
59618 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
59620         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
59621         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
59622         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
59623         2 && __USE_EXTERN_INLINES]: Likewise.
59625 2013-01-08  Andreas Jaeger  <aj@suse.de>
59627         [BZ# 14985]
59628         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
59629         Remove.
59630         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
59631         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
59633 2013-01-07  Anton Blanchard  <anton@samba.org>
59635         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
59636         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
59637         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
59638         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
59639         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
59640         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
59641         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
59642         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
59643         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
59644         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
59645         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
59646         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
59647         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
59648         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
59649         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
59650         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
59651         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
59652         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
59653         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
59654         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
59655         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
59656         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
59657         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
59658         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
59659         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
59660         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
59661         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
59662         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
59663         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
59664         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
59665         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
59666         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
59667         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
59668         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
59669         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
59670         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
59671         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
59672         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
59673         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
59674         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
59675         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
59676         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59677         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
59679 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
59681         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
59682         (__MALLOC_PMT): Likewise.
59683         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
59684         [__GNUC__], only on [_LIBC].
59685         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
59686         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
59687         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
59688         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
59689         forward declaration.
59690         (realloc_hook_ini): Likewise.
59691         (memalign_hook_ini): Likewise.
59692         (__libc_memalign): Do not use __MALLOC_PMT in variable
59693         declaration.
59694         (__libc_valloc): Likewise.
59695         (__libc_pvalloc): Likewise.
59696         (__libc_calloc): Likewise.
59697         (__posix_memalign): Likewise.
59699         [BZ #14996]
59700         * math/s_casinh.c: Include <float.h>.
59701         (__casinh): Do not do computation with squaring and square root
59702         for large arguments.
59703         * math/s_casinhf.c: Include <float.h>.
59704         (__casinhf): Do not do computation with squaring and square root
59705         for large arguments.
59706         * math/s_casinhl.c: Include <float.h>.
59707         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
59708         (__casinhl): Do not do computation with squaring and square root
59709         for large arguments.
59710         * math/libm-test.inc (casin_test): Add more tests.
59711         (casinh_test): Likewise.
59712         * sysdeps/i386/fpu/libm-test-ulps: Update.
59713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59715 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
59717         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
59718         (__x86_64_raw_data_cache_size): Likewise.
59719         (__x86_64_data_cache_size_half): Likewise.
59720         (__x86_64_raw_data_cache_size_half): Likewise.
59721         (__x86_64_shared_cache_size): Likewise.
59722         (__x86_64_raw_shared_cache_size): Likewise.
59723         (__x86_64_shared_cache_size_half): Likewise.
59724         (__x86_64_raw_shared_cache_size_half): Likewise.
59725         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
59726         to ...
59727         (__x86_data_cache_size): This.
59728         (__x86_64_raw_data_cache_size): Renamed to ...
59729         (__x86_raw_data_cache_size): This.
59730         (__x86_64_data_cache_size_half): Renamed to ...
59731         (__x86_data_cache_size_half): This.
59732         (__x86_64_raw_data_cache_size_half): Renamed to ...
59733         (__x86_raw_data_cache_size_half): This.
59734         (__x86_64_shared_cache_size): Renamed to ...
59735         (__x86_shared_cache_size): This.
59736         (__x86_64_raw_shared_cache_size): Renamed to ...
59737         (__x86_raw_shared_cache_size): This.
59738         (__x86_64_shared_cache_size_half): Renamed to ...
59739         (__x86_shared_cache_size_half): This.
59740         (__x86_64_raw_shared_cache_size_half): Renamed to ...
59741         (__x86_raw_shared_cache_size_half): This.
59742         * sysdeps/x86_64/memcpy.S: Updated.
59743         * sysdeps/x86_64/memset.S: Likewise.
59744         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
59745         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
59746         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
59748 2013-01-04  David S. Miller  <davem@davemloft.net>
59750         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59752 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
59754         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
59755         1 to avoid redefinition warning.
59756         (__USE_GNU): Don't define.
59757         (init_signaling_nan): Protoize.
59759         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59761 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
59763         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
59764         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
59765         (__cpymn): Likewise.
59766         (norm): Remove commented code.
59767         (denorm): Likewise.
59768         (__mp_dbl): Likewise.
59769         (__inv): Likewise.
59770         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
59771         (__cpymn): Likewise.
59772         (norm): Remove commented code.
59773         (denorm): Likewise.
59774         (__mp_dbl): Likewise.
59775         (__inv): Likewise.
59777         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
59778         mp_no value for 1.0 and 2.0.
59779         (norm): Use RADIXI instead of radixi.d.
59780         (denorm): Likewise.
59781         (__mul): Use 0.0 instead of zero.d.
59782         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
59783         mp_no value for 1.0 and 2.0.
59784         (norm): Use RADIXI instead of radixi.d.
59785         (denorm): Likewise.
59786         (__mul): Use 0.0 instead of zero.d.
59788 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
59790         [BZ #14994]
59791         * math/s_casinh.c (__casinh): Reduce finite argument to first
59792         quadrant then set signs of results at the end.
59793         * math/s_casinhf.c (__casinhf): Likewise.
59794         * math/s_casinhl.c (__casinhl): Likewise.
59795         * math/libm-test.inc (casin_test): Add more tests.
59796         (casinh_test): Likewise.
59797         * sysdeps/i386/fpu/libm-test-ulps: Update.
59798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59800 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
59802         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
59804         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
59806         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
59807         declarations.
59808         (denorm): Likewise.
59809         (__mp_dbl): Likewise.
59810         (__inv): Likewise.
59812         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
59813         and adjust the header comment.
59815         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
59816         variable name from declaration.
59818 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
59820         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59821         Initialize COMMON_CPUID_INDEX_7 element.
59822         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
59823         (CPUID_RTM): Likewise.
59824         (HAS_RTM): Likewise.
59825         (COMMON_CPUID_INDEX_7): New enum.
59827 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
59829         [BZ #14981]
59830         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
59831         size is zero, record memory as freed.
59833 2013-01-03  Andreas Jaeger  <aj@suse.de>
59835         * po/ia.po: Add new Interlingua translation.
59837 2012-01-03  Allan McRae  <allan@archlinux.org>
59839         * locale/programs/localedef.c: Fix description of '--posix' flag.
59841 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
59843         * NEWS: Update dates in second copyright notice.
59844         * README: Update copyright dates in example.
59845         * manual/libc.texinfo: Update copyright dates.
59846         * scripts/test-installation.pl: Update copyright date in --version
59847         output.
59849         * hurd/ctty-input.c: Fix copyright notice formatting.
59850         * hurd/ctty-output.c: Likewise.
59851         * hurd/dtable.c: Likewise.
59852         * hurd/hurd-raise.c: Likewise.
59853         * hurd/hurdprio.c: Likewise.
59854         * hurd/msgportdemux.c: Likewise.
59855         * misc/sys/file.h: Likewise.
59856         * misc/sys/ioctl.h: Likewise.
59857         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
59858         * sysdeps/mach/hurd/chdir.c: Likewise.
59859         * sysdeps/mach/hurd/fchdir.c: Likewise.
59860         * sysdeps/mach/hurd/rename.c: Likewise.
59861         * sysdeps/mach/hurd/rmdir.c: Likewise.
59862         * sysdeps/mach/hurd/seekdir.c: Likewise.
59863         * sysdeps/mach/hurd/setsid.c: Likewise.
59864         * sysdeps/posix/wait3.c: Likewise.
59866         * All files with FSF copyright notices: Update copyright dates
59867         using scripts/update-copyrights.
59868         * intl/plural.c: Regenerated.
59869         * locale/programs/charmap-kw.h: Likewise.
59870         * locale/programs/locfile-kw.h: Likewise.
59872 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
59874         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
59875         four values.
59877         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
59878         calculation loop and add branch prediction.
59880         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
59881         check access beyond bounds of m1np.
59883         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
59884         MPTWO.
59885         (__inv): Remove local variable MPTWO to use the global
59886         constant.
59887         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
59888         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
59889         variable MPTWO.
59890         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
59891         MP3HALFS static const.
59893 2013-01-01  David S. Miller  <davem@davemloft.net>
59895         * po/ca.po: Update from translation team.
59897 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
59899         * scripts/update-copyrights: New file.
59900         * Makeconfig: Reformat copyright notice.
59901         * ctype/ctype.h: Likewise.
59902         * debug/swprintf_chk.c: Likewise.
59903         * elf/dl-cache.c: Likewise.
59904         * elf/dl-debug.c: Likewise.
59905         * elf/dl-object.c: Likewise.
59906         * grp/initgroups.c: Likewise.
59907         * hurd/Makefile: Likewise.
59908         * hurd/hurd/signal.h: Likewise.
59909         * hurd/hurdfault.c: Likewise.
59910         * hurd/hurdioctl.c: Likewise.
59911         * hurd/hurdlookup.c: Likewise.
59912         * hurd/intr-msg.c: Likewise.
59913         * iconv/gconv_open.c: Likewise.
59914         * libio/swprintf.c: Likewise.
59915         * locale/lc-ctype.c: Likewise.
59916         * locale/nl_langinfo.c: Likewise.
59917         * mach/Machrules: Likewise.
59918         * mach/Makefile: Likewise.
59919         * malloc/obstack.h: Likewise.
59920         * manual/Makefile: Likewise.
59921         * manual/tsort.awk: Likewise.
59922         * misc/bits/stab.def: Likewise.
59923         * nis/nis_print_group_entry.c: Likewise.
59924         * nis/nis_table.c: Likewise.
59925         * nis/nss_compat/compat-pwd.c: Likewise.
59926         * nis/nss_compat/compat-spwd.c: Likewise.
59927         * po/Makefile: Likewise.
59928         * posix/fnmatch.c: Likewise.
59929         * posix/regex.h: Likewise.
59930         * resolv/Makefile: Likewise.
59931         * resolv/nss_dns/dns-network.c: Likewise.
59932         * resolv/res_hconf.c: Likewise.
59933         * scripts/gen-sorted.awk: Likewise.
59934         * soft-fp/soft-fp.h: Likewise.
59935         * stdio-common/printf.h: Likewise.
59936         * stdlib/monetary.h: Likewise.
59937         * stdlib/random.c: Likewise.
59938         * stdlib/random_r.c: Likewise.
59939         * sysdeps/generic/Makefile: Likewise.
59940         * sysdeps/gnu/Makefile: Likewise.
59941         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
59942         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59943         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
59944         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59945         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59946         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59947         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59948         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
59949         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
59950         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59951         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
59952         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
59953         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
59954         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
59955         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
59956         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
59957         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
59958         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59959         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
59960         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59961         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
59962         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
59963         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
59964         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
59965         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
59966         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
59967         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
59968         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
59969         * sysdeps/mach/hurd/errnos.awk: Likewise.
59970         * sysdeps/mach/hurd/fork.c: Likewise.
59971         * sysdeps/mach/hurd/getcwd.c: Likewise.
59972         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
59973         * sysdeps/mach/hurd/mmap.c: Likewise.
59974         * sysdeps/mach/hurd/utimes.c: Likewise.
59975         * sysdeps/mach/hurd/xmknod.c: Likewise.
59976         * sysdeps/posix/profil.c: Likewise.
59977         * sysdeps/posix/readdir_r.c: Likewise.
59978         * sysdeps/powerpc/bits/mathdef.h: Likewise.
59979         * sysdeps/powerpc/bits/setjmp.h: Likewise.
59980         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
59981         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
59982         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
59983         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
59984         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
59985         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
59986         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
59987         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
59988         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
59989         * sysdeps/pthread/lio_listio.c: Likewise.
59990         * sysdeps/sparc/dl-procinfo.h: Likewise.
59991         * sysdeps/unix/i386/sysdep.S: Likewise.
59992         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
59993         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
59994         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
59995         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
59996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
59997         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
59998         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
59999         * sysdeps/unix/sysv/linux/speed.c: Likewise.
60000         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
60001         * sysdeps/wordsize-32/divdi3.c: Likewise.
60002         * time/sys/time.h: Likewise.
60003         * wcsmbs/Makefile: Likewise.
60005 2013-01-01  David S. Miller  <davem@davemloft.net>
60007         * po/fr.po: Update from translation team.
60009         * catgets/gencat.c: Update copyright year.
60010         * csu/version.c: Likewise.
60011         * debug/catchsegv.sh: Likewise.
60012         * debug/pcprofiledump.c: Likewise.
60013         * debug/xtrace.sh: Likewise.
60014         * elf/ldconfig.c: Likewise.
60015         * elf/ldd.bash.in: Likewise.
60016         * elf/pldd.c: Likewise.
60017         * elf/sotruss.ksh: Likewise.
60018         * elf/sprof.c: Likewise.
60019         * iconv/iconv_prog.c: Likewise.
60020         * iconv/iconvconfig.c: Likewise.
60021         * locale/programs/locale.c: Likewise.
60022         * locale/programs/localedef.c: Likewise.
60023         * login/programs/pt_chown.c: Likewise.
60024         * malloc/memusage.sh: Likewise.
60025         * malloc/memusagestat.c: Likewise.
60026         * malloc/mtrace.pl: Likewise.
60027         * nscd/nscd.c: Likewise.
60028         * nss/getent.c: Likewise.
60029         * nss/makedb.c: Likewise.
60030         * posix/getconf.c: Likewise.
60032 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
60034         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
60035         numbers.
60037 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
60039         * math/bits/mathcalls.h (modf): Use __nonnull.
60041 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
60043         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
60044         (split): Use macro CN instead of the bare value.
60045         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
60046         could be used.
60047         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
60048         instead of the bare value.
60049         (power1): Likewise.
60051 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60053         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
60054         __ATAN_TWOM.
60055         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
60057         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
60058         their values.
60059         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
60060         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
60061         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
60062         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
60064 2012-12-28  Andreas Jaeger  <aj@suse.de>
60066         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
60067         values are from Linux 3.7.
60069         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
60070         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
60072 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60074         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
60075         TRUE case.
60077         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
60078         (norm): Likewise.
60079         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
60080         variables with preprocessor constants.
60081         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
60082         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
60083         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
60085 2012-12-27  Bruno Haible  <bruno@clisp.org>
60087         [BZ #14317]
60088         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
60089         only if needed.
60091 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
60093         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
60094         and use variable directly.
60095         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
60097         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
60098         MPONE.
60099         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
60100         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
60101         variable MPONE.
60102         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
60103         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
60104         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
60105         include directive.  Remove local variable MPONE.
60106         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
60107         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
60108         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
60110 2012-12-25  David S. Miller  <davem@davemloft.net>
60112         * version.h (RELEASE): Set to "development".
60113         (VERSION): Set to "2.17.90".
60114         * NEWS: Add 2.18 section.
60116 2012-12-21  David S. Miller  <davem@davemloft.net>
60118         * po/hr.po: Update from translation team.
60120 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60122         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
60124 2012-12-19  Steve Ellcey  <sellcey@mips.com>
60126         * NEWS:  Mention new memcpy for MIPS.
60128 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60130         * manual/contrib.texi (Contributors): Spelling correction.
60132 2012-12-15  David S. Miller  <davem@davemloft.net>
60134         * po/ru.po: Update from translation team.
60136 2012-12-13  David S. Miller  <davem@davemloft.net>
60138         * NEWS: Mention IFUNC testsuite enhancements.
60140         * po/pl.po: Update from translation team.
60141         * po/bg.po: Likewise.
60143         * manual/contrib.texi (Contributors): Update entries for Hongjiu
60144         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
60146 2012-12-11  David S. Miller  <davem@davemloft.net>
60148         * po/sv.po: Update from translation team.
60150         * po/vi.po: Update from translation team.
60152         * po/cs.po: Update from translation team.
60154         * po/de.po: Update from translation team.
60155         * po/eo.po: Likewise.
60156         * po/nl.po: Likewise.
60158 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
60160         [BZ #14246]
60161         * manual/argp.texi (Argp Helper Functions): Move node to follow
60162         Argp Parsing State.
60164         [BZ #14872]
60165         * manual/conf.texi (Limits on File System Capacity): Mention if
60166         terminating null is included in the max size.
60168 2012-12-10  Andreas Jaeger  <aj@suse.de>
60170         * po/cs.po: Update from translation team.
60172 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
60174         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
60175         void pointer and cast to uintptr_t.
60176         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
60177         path.
60178         * sysdeps/s390/s390-64/memcpy.S: Likewise.
60179         * sysdeps/s390/s390-64/memset.S: Likewise.
60181 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
60183         [BZ #14833]
60184         * menual/message.texi (Message Translation): Fix typos.
60185         (Helper programs for gettext): Likewise.
60187 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
60189         [BZ #14898]
60190         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
60191         Change to -1.
60193 2012-12-07  David S. Miller  <davem@davemloft.net>
60195         * po/libc.pot: Update.
60197 2012-12-07  Richard Henderson  <rth@redhat.com>
60199         [BZ #10114]
60200         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
60201         normal/normal case to before the switch.
60202         (_FP_DIV): Likewise.
60204 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
60205             Mike Frysinger  <vapier@gentoo.org>
60207         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
60208         check for __NR_fadvise64_64.
60210 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
60212         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
60213         0, not just to plain "0" as a statement.
60214         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
60215         with cw.
60217 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
60219         * NEWS: Use sourceware.org in Bugzilla URL.
60221 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
60223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
60224         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
60226         * stdio-common/tst-put-error.c (do_test): Add newline to the
60227         padded test to ensure flush.
60229 2012-12-05  Jeff Law  <law@redhat.com>
60231         * sunrpc/etc.rpc (fedfs_admin): Add entry.
60233 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
60235         * README: Don't refer to ports add-on as distributed separately.
60236         Mention AArch64 in list of systems supported in the ports add-on.
60238         * LICENSES: Add more non-FSF copyright and license notices.
60240         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
60241         ((unused)).
60243         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
60245         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
60246         10000 as width of padded output.
60248 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
60250         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
60252         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
60253         variable LX with __attribute__ ((unused)).
60254         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
60255         Likewise.
60256         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
60257         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
60258         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
60259         with __attribute__ ((unused)).
60261 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
60263         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
60265 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
60267         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
60268         (CFLAGS-nldbl-acos.c): New variable.
60269         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
60270         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
60271         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
60272         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
60273         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
60274         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
60275         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
60276         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
60277         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
60278         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
60279         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
60280         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
60281         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
60282         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
60283         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
60284         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
60285         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
60286         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
60287         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
60288         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
60289         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
60290         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
60291         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
60292         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
60293         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
60294         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
60295         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
60296         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
60297         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
60298         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
60299         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
60300         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
60301         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
60302         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
60303         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
60304         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
60305         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
60306         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
60307         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
60308         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
60309         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
60310         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
60311         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
60312         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
60313         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
60314         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
60315         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
60316         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
60317         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
60318         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
60319         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
60320         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
60321         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
60322         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
60323         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
60324         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
60325         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
60326         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
60327         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
60328         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
60329         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
60330         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
60331         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
60332         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
60333         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
60334         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
60335         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
60336         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
60337         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
60338         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
60339         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
60340         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
60341         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
60342         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
60343         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
60344         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
60345         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
60346         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
60347         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
60348         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
60349         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
60350         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
60351         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
60352         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
60353         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
60354         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
60355         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
60356         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
60357         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
60358         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
60359         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
60360         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
60361         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
60362         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
60363         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
60364         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
60365         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
60367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
60368         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
60370         [BZ #14914]
60371         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
60372         whole low double instead of just low 47 bits when splitting values
60373         into two parts.
60375 2012-12-03  Allan McRae  <allan@archlinux.org>
60377         * manual/stdio.texi (Predefined Printf Handlers): Remove
60378         @hsep and @vsep usage.
60380 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
60382         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
60383         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
60385 2012-12-03  Jeff Law  <law@redhat.com>
60387         * time/sys/time.h (settimeofday): Do not mark TV argument
60388         as __nonnull.
60390 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
60392         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
60393         when currently writing and seek to current position when not.
60394         * libio/Makefile (tests): Remove bug-fclose1.
60395         * libio/bug-fclose1.c: Delete.
60397 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
60399         * manual/arith.texi (feenableexcept): Fix typo.
60400         (fedisableexcept): Likewise.
60402 2012-11-30  Roland McGrath  <roland@hack.frob.com>
60404         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
60405         second, differently-typed declaration, rather than a cast.
60407 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
60409         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
60410         * include/rpc/svc.h: ... here.
60412 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
60414         [BZ #13013]
60415         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
60416         depending n and resplen2 to catch cases where answer
60417         equals answerp2.
60419 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
60421         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
60422         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
60424 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
60426         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
60428 2012-11-29  Roland McGrath  <roland@hack.frob.com>
60430         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
60432 2012-11-28  Jeff Law  <law@redhat.com>
60434         [BZ #13761]
60435         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
60436         dataset_temporary.  Track alloca usage into alloca_used.
60437         If dataset is large allocate and release it via malloc/free.
60439 2012-06-04  Florian Weimer  <fweimer@redhat.com>
60441         [BZ #14197]
60442         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
60444 2012-11-28  David S. Miller  <davem@davemloft.net>
60446         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60448 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
60450         [BZ #14803]
60451         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
60452         of pi/2 rounded to nearest to 64 bits.
60453         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
60454         nearest to 64 bits.
60455         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
60456         bits.
60458 2012-11-28  Jeff Law <law@redhat.com>
60459             Martin Osvald <mosvald@redhat.com>
60461         [BZ #14889]
60462         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
60463         * sunrpc/svc.c: Include time.h.
60464         (__svc_accept_failed): New function.
60465         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
60466         any reason other than EINTR, call __svc_accept_failed.
60467         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
60468         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
60470 2012-11-28  Andreas Schwab  <schwab@suse.de>
60472         * scripts/abilist.awk: Also handle indirect functions in .opd
60473         section.
60475 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
60477         [BZ #13881]
60478         * sysdeps/x86/fpu/powl_helper.c: New file.
60479         * sysdeps/x86/fpu/Makefile: Likewise.
60480         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
60481         (p3): New object.
60482         (__ieee754_powl): Use __powl_helper for finite arguments except
60483         integer exponents below 8.
60484         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
60485         (p3): New object.
60486         (__ieee754_powl): Use __powl_helper for finite arguments except
60487         integer exponents below 8.
60488         * math/libm-test.inc (pow_test): Add more tests and enable some
60489         previously disabled tests.
60490         * sysdeps/i386/fpu/libm-test-ulps: Update.
60491         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60493 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60494             Carlos O'Donell  <carlos_odonell@mentor.com>
60496         * nss/makedb.c (is_prime): Assert that input is odd and greater
60497         than 4.  Note that fact in a comment too.
60498         (next_prime): Add 4 to input.
60500 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
60502         [BZ #11741]
60503         * libio/Makefile (tests): Add test case tst-fwrite-error.
60504         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
60505         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
60506         * libio/tst-fwrite-error.c: New test case.
60508 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
60510         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
60511         before casting to void *.
60512         * include/libc-internal.h (__pointer_type): New macro.
60513         (__integer_if_pointer_type_sub): Likewise.
60514         (__integer_if_pointer_type): Likewise.
60515         (cast_to_integer): Likewise.
60516         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
60517         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
60518         before casting to atomic64_t.
60519         (atomic_exchange_acq): Likewise.
60520         (__arch_exchange_and_add_body): Likewise.
60521         (__arch_add_body): Likewise.
60522         (atomic_add_negative): Likewise.
60523         (atomic_add_zero): Likewise.
60525 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
60527         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
60528         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
60529         (add_fdes): Likewise.
60530         (linear_search_fdes): Likewise.
60531         (binary_search_unencoded_fdes): Likewise.
60533 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
60535         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
60537 2012-11-24  Adam Conrad  <adconrad@0c3.net>
60539         * configure.in: Autodetect C++ header directories.
60540         * configure: Regenerated.
60542 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
60544         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
60546 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
60548         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60550 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
60552         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
60553         LDBL_MANT_DIG == 106]: Disable some tests.
60554         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
60555         Likewise.
60556         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
60557         Likewise.
60559         [BZ #14871]
60560         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
60561         input for small inputs.  Return +/- pi/2 for large inputs.
60562         * math/libm-test.inc (atan_test): Add more tests.
60564         * sysdeps/generic/unwind-dw2-fde-glibc.c
60565         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
60566         __attribute__ ((unused)).
60568         [BZ #14645]
60569         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
60570         x * y if x and y are nonzero and z is zero.
60572         [BZ #14811]
60573         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
60574         nonzero exponents with absolute value below 0x1p-117 to +/-
60575         0x1p-117.
60577         [BZ #14869]
60578         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
60579         up arguments below 2**-450, not just those below 2**-500.
60580         * math/libm-test.inc (hypot_test): Add another test.
60582         [BZ #14868]
60583         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
60584         Return a+b for ratio over 2**120, not 2**60.
60585         * math/libm-test.inc (hypot_test): Add another test.
60587         * math/libm-test.inc (clog_test): Use
60588         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
60589         (clog10_test): Likewise.
60591         [BZ #6778]
60592         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
60594 2012-11-22  Andreas Schwab  <schwab@suse.de>
60596         * sysdeps/i386/fpu/libm-test-ulps: Update.
60598 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
60600         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
60601         printf output with newline.
60603 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
60605         [BZ #14865]
60606         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
60607         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
60608         -z nodlopen, -z initfirst and -z execstack support.
60609         * configure: Regenerated.
60611         * elf/elf.h (DF_1_NODIRECT): New macro.
60612         (DF_1_IGNMULDEF): Likewise.
60613         (DF_1_NOKSYMS): Likewise.
60614         (DF_1_NOHDR): Likewise.
60615         (DF_1_EDITED): Likewise.
60616         (DF_1_NORELOC): Likewise.
60617         (DF_1_SYMINTPOSE): Likewise.
60618         (DF_1_GLOBAUDIT): Likewise.
60619         (DF_1_SINGLETON): Likewise.
60620         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
60621         DT_1_SUPPORTED_MASK bits.
60622         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
60624 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
60626         * sysdeps/unix/make-syscalls.sh: Document prefixes.
60628 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
60630         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
60631         macro.
60633         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
60634         (sendmmsg): Move declarations...
60635         * socket/sys/socket.h: ... here.
60636         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
60637         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
60638         include it from...
60639         * socket/recvmmsg.c: ... this new file.
60640         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
60641         (sendmmsg): Rename to __sendmmsg, create weak alias and make
60642         definition of __sendmmsg hidden.
60643         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
60644         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
60645         Move ENOSYS stub into and include it from...
60646         * socket/sendmmsg.c: ... this new file.
60647         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
60648         (sysdep_routines): Move recvmmsg and sendmmsg...
60649         * socket/Makefile (routines): ... here.
60650         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
60651         (GLIBC_PRIVATE): Add __sendmmsg.
60652         * include/sys/socket.h (__sendmmsg): Add declarations.
60653         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
60654         sendmmsg.
60656 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
60658         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
60659         variable I1 with __attribute__ ((unused)).
60660         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
60662 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
60664         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
60665         DUMMY variables with __attribute__ ((unused)).
60667         * bits/byteswap.h: Include <bits/types.h>.
60668         (__bswap_64): Use __uint64_t instead of unsigned long long int.
60670 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
60672         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
60673         string_t.  Do not manually set errno.
60674         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
60675         length with __strnlen.  Make sure to both set errno and return it on
60676         failure.
60678 2012-11-19  David S. Miller  <davem@davemloft.net>
60680         With help from Joseph Myers.
60681         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
60682         very large arguments properly.
60683         * math/libm-test.inc (atan_test): New tests.
60684         (atan2_test): New tests.
60685         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60686         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60688 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
60690         [BZ #14856]
60691         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
60692         Define to 3.
60694         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
60695         [POSIX] (EADDRNOTAVAIL): Likewise.
60696         [POSIX] (EAFNOSUPPORT): Likewise.
60697         [POSIX] (EALREADY): Likewise.
60698         [POSIX] (ECONNABORTED): Likewise.
60699         [POSIX] (ECONNREFUSED): Likewise.
60700         [POSIX] (ECONNRESET): Likewise.
60701         [POSIX] (EDESTADDRREQ): Likewise.
60702         [POSIX] (EDQUOT): Likewise.
60703         [POSIX] (EHOSTUNREACH): Likewise.
60704         [POSIX] (EIDRM): Likewise.
60705         [POSIX] (EISCONN): Likewise.
60706         [POSIX] (ELOOP): Likewise.
60707         [POSIX] (EMULTIHOP): Likewise.
60708         [POSIX] (ENETDOWN): Likewise.
60709         [POSIX] (ENETUNREACH): Likewise.
60710         [POSIX] (ENOBUFS): Likewise.
60711         [POSIX] (ENODATA): Likewise.
60712         [POSIX] (ENOLINK): Likewise.
60713         [POSIX] (ENOMSG): Likewise.
60714         [POSIX] (ENOPROTOOPT): Likewise.
60715         [POSIX] (ENOSR): Likewise.
60716         [POSIX] (ENOSTR): Likewise.
60717         [POSIX] (ENOTCONN): Likewise.
60718         [POSIX] (ENOTSOCK): Likewise.
60719         [POSIX] (EOPNOTSUPP): Likewise.
60720         [POSIX] (EOVERFLOW): Likewise.
60721         [POSIX] (EPROTO): Likewise.
60722         [POSIX] (EPROTONOSUPPORT): Likewise.
60723         [POSIX] (EPROTOTYPE): Likewise.
60724         [POSIX] (ESTALE): Likewise.
60725         [POSIX] (ETIME): Likewise.
60726         [POSIX] (ETXTBSY): Likewise.
60727         [POSIX] (EWOULDBLOCK): Likewise.
60728         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
60729         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
60730         [POSIX] (SEEK_CUR): Likewise.
60731         [POSIX] (SEEK_END): Likewise.
60732         [POSIX || UNIX98] (mode_t): Do not require.
60733         [POSIX] (off_t): Likewise.
60734         [POSIX] (pid_t): Likewise.
60735         [POSIX] (sys/stat.h): Do not allow header.
60736         [POSIX] (unistd.h): Likewise.
60737         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
60738         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
60739         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
60740         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
60741         require.
60742         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
60743         sigevent): Specify elements.
60744         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
60745         entry.
60746         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
60747         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
60749         * conform/data/cpio.h-data [POSIX]: Disable whole file.
60750         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
60751         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
60752         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
60753         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
60754         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
60755         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
60756         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
60757         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
60758         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
60759         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
60760         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
60761         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
60762         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
60763         Likewise.
60764         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
60765         Likewise.
60766         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
60767         Likewise.
60768         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
60769         Likewise.
60770         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
60771         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
60772         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
60773         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
60774         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
60775         Specify lower bound on value.
60776         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
60777         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
60778         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
60779         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
60780         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
60781         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
60782         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
60783         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
60784         value.
60785         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
60786         as optional.
60787         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
60788         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
60789         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
60790         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
60791         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
60792         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
60793         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
60794         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
60795         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
60796         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
60797         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
60798         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
60799         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
60800         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
60801         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
60802         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
60803         entry.
60804         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
60805         optional.
60806         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
60807         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
60808         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
60809         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
60810         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
60811         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
60812         Likewise.
60813         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
60814         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
60815         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
60816         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
60817         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
60818         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
60819         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
60820         as optional.
60821         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
60822         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
60823         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
60824         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
60825         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
60826         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
60827         specify as optional.
60828         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
60829         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
60830         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
60831         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
60832         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
60833         [XPG3] (NL_LANGMAX): Likewise.
60834         [POSIX || XPG3] (NL_MSGMAX): Likewise.
60835         [POSIX || XPG3] (NL_NMAX): Likewise.
60836         [POSIX || XPG3] (NL_SETMAX): Likewise.
60837         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
60838         [XPG3] (NZERO): Likewise.
60839         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
60840         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
60841         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
60842         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
60843         (REG_ERANGE): Expect.
60844         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
60845         optional-constant.
60846         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
60847         Use (void) in prototype.
60848         [POSIX] (*_t): Allow.
60849         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
60850         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
60851         (WRDE_BADVAL): Expect.
60853         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
60854         expect.
60855         [XPG3 || XPG4] (O_RSYNC): Likewise.
60856         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
60857         Likewise.
60858         [XPG3 || XPG4] (pthread_sigmask): Likewise.
60859         [XPG3 || XPG4] (sigqueue): Likewise.
60860         [XPG3 || XPG4] (sigtimedwait): Likewise.
60861         [XPG3 || XPG4] (sigwaitinfo): Likewise.
60862         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
60863         [XPG3 || XPG4] (vsnprintf): Likewise.
60864         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
60865         Likewise.
60866         [XPG3 || XPG4] (blksize_t): Likewise.
60867         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
60868         Likewise.
60869         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
60870         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
60871         [XPG3 || XPG4] (struct itimerspec): Likewise.
60872         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
60873         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
60874         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
60875         [XPG3 || XPG4] (clockid_t): Likewise.
60876         [XPG3 || XPG4] (timer_t): Likewise.
60877         [XPG3 || XPG4] (clock_getres): Likewise.
60878         [XPG3 || XPG4] (clock_gettime): Likewise.
60879         [XPG3 || XPG4] (clock_settime): Likewise.
60880         [XPG3 || XPG4] (nanosleep): Likewise.
60881         [XPG3 || XPG4] (timer_create): Likewise.
60882         [XPG3 || XPG4] (timer_delete): Likewise.
60883         [XPG3 || XPG4] (timer_gettime): Likewise.
60884         [XPG3 || XPG4] (timer_getoverrun): Likewise.
60885         [XPG3 || XPG4] (timer_settime): Likewise.
60886         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
60887         [XPG3 || XPG4] (getlogin_r): Likewise.
60888         [XPG3 || XPG4] (pread): Likewise.
60889         [XPG3 || XPG4] (pthread_atfork): Likewise.
60890         [XPG3 || XPG4] (pwrite): Likewise.
60892         [BZ #14835]
60893         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
60894         <bits/siginfo.h>.
60896 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
60898         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
60899         finalizing MALLSTREAM.
60901         * sysdeps/mach/hurd/syncfs.c: New file.
60903 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
60905         [BZ #14719]
60906         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
60907         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
60908         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
60909         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
60910         (_nss_dns_gethostbyname4_r): Likewise.
60911         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
60912         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
60914 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
60916         [BZ #13763]
60917         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
60919 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
60921         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
60922         * elf/cache.c (print_entry): Print ",AArch64" for
60923         FLAG_AARCH64_LIB64
60925         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
60926         * elf/cache.c (print_entry): Print ",hard-float" for
60927         FLAG_ARM_LIBHF.
60929 2012-11-18  David S. Miller  <davem@davemloft.net>
60931         With help from Joseph Myers.
60932         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
60933         cutoff to 2**-13.
60934         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
60935         cutoff to 2**-25.
60936         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
60937         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
60938         small.
60939         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
60940         * math/libm-test.inc (y0_test): New tests.
60941         (y1_test): New tests.
60942         * sysdeps/i386/fpu/libm-test-ulps: Update.
60943         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60944         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60946 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
60948         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
60949         64-bit targets.
60950         * configure: Regenerated.
60952 2012-11-17  David S. Miller  <davem@davemloft.net>
60954         [BZ #14811]
60955         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
60956         nonzero exponents with absolute value below 0x1p-128 to +/-
60957         0x1p-128.
60959 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
60961         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
60963         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
60965         * posix/getconf-speclist.c: New file.
60966         * posix/posix-envs.def: Likewise.
60967         * posix/confstr.c (START_ENV_GROUP): New macro.
60968         (END_ENV_GROUP): Likewise.
60969         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
60970         (KNOWN_PRESENT_ENV_STRING): Likewise.
60971         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
60972         (UNKNOWN_ENVIRONMENT): Likewise.
60973         (confstr): Include posix-envs.def instead of handling
60974         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
60975         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
60976         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
60977         (END_ENV_GROUP): Likewise.
60978         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
60979         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
60980         (UNKNOWN_ENVIRONMENT): Likewise.
60981         (__sysconf): Include posix-envs.def instead of handling associated
60982         cases directly here.
60983         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
60984         preprocessing getconf-speclist.c rather than running getconf or
60985         generating empty file.
60987 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
60989         * scripts/check-local-headers.sh: Ignore 'mach' headers.
60991 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
60993         [BZ #14672]
60994         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
60996 2012-11-16  David S. Miller  <davem@davemloft.net>
60998         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
60999         smaller than LDBL_EPSILON/2.0L, just return xm1.
61001 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
61003         * elf/tst-array1.c (init): Set constructor priority to 1000.
61004         (fini): Set destructor priority to 1000.
61005         * elf/tst-array2dep.c: Likewise.
61007 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
61009         [BZ #11741]
61010         * libio/fileops.c (_IO_new_file_write): Correctly return error.
61011         (_IO_new_file_xsputn): Also return EOF if none of the input
61012         data was written when overflow failed.
61013         * libio/iopadn.c (_IO_padn): Likewise.
61014         * libio/iowpadn.c (_IO_wpadn): Likewise.
61015         * stdio-common/tst-put-error.c: Add copyright notice.
61016         (do_test): Add case for printing padded string.
61017         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
61018         _IO_padn returned error.
61019         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
61020         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
61021         return EOF.
61023 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
61025         * libio/libioP.h: Add comment note that the references to C++
61026         bits are now obsolete.
61028 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61030         * math/libm-test.inc (check_complex): Use asprintf.
61032 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
61034         * debug/pcprofiledump.c (print_version): Update copyright year.
61035         * malloc/memusagestat.c (print_version): Likewise.
61037 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
61039         [BZ #14831]
61040         * elf/Makefile (tests): Add tst-audit8.
61041         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
61042         ($(objpfx)tst-audit8.out): New target.
61043         (tst-audit8-ENV): New variable.
61044         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
61045         audit if l_reloc_result is NULL.
61046         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
61047         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
61048         * elf/tst-audit8.c: New file.
61050 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61052         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
61053         * misc/Makefile (CFLAGS-select.c): Define.
61054         * posix/Makefile (CFLAGS-pause.c): Define.
61056 2012-11-13  David S. Miller  <davem@davemloft.net>
61058         * crypt/Makefile: Move test targets after toplevel Rules
61059         inclusion.  Grab any necessary sysdep routines when linking.
61060         * crypt/md5.c (md5_process_block): Remove define, we will always
61061         name it __md5_process_block.
61062         (md5_finish_ctx): Update md5_process_block call.
61063         (md5_stream): Likewise.
61064         (md5_process_bytes): Likewise.
61065         (md5_process_block): Rename to __md5_process_block and move to ...
61066         * crypt/md5-block.c: ... here.
61067         * crypt/sha256.c (sha256_process_block): Move to ...
61068         * crypt/sha256-block.c: ... here.
61069         * crypt/sha512.c (sha512_process_block): Move to ...
61070         * crypt/sha512-block.c: ... here.
61071         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
61072         path.
61073         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
61074         * sysdeps/sparc/sparc64/multiarch/Makefile
61075         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
61076         crypt subdir.
61077         (localedef-aux): Add md5 crypto assembler when in locale subdir.
61078         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
61079         multiarch changes.
61080         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
61081         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
61082         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
61083         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
61084         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
61085         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
61086         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
61087         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
61088         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
61089         file.
61090         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
61091         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
61092         file.
61093         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
61095 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
61097         * timezone/tzselect.ksh: Update from tzcode git revision
61098         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
61099         * timezone/zdump.c: Likewise.
61100         * timezone/zic.c: Likewise.
61101         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
61102         in TZVERSION setting, not $(PKGVERSION).
61103         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
61104         REPORT_BUGS_TO settings.
61106         [BZ #14838]
61107         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
61108         macro.
61110 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61112         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
61113         detection to immediately after _FP_ROUND().
61114         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
61115         bits are 0.
61117 2012-11-11  David S. Miller  <davem@davemloft.net>
61119         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
61120         inttypes.h
61121         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
61122         __close rather than their public counterparts.
61124 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
61126         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
61127         file.
61128         [UNIX98] (sem_timedwait): Do not expect.
61129         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
61130         [XPG4 || UNIX98] (sockatmark): Do not expect.
61131         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
61132         (clock_getcpuclockid): Do not expect.
61133         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
61134         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
61135         Do not expect.
61136         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
61137         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
61138         [UNIX98] (vwscanf): Likewise.
61139         [UNIX98] (vswscanf): Likewise.
61141 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
61143         * timezone/version.h: Remove file.
61144         * timezone/README: Do not refer to version.h.
61145         * timezone/Makefile ($(objpfx)zic.o): New dependency on
61146         $(objpfx)version.h.
61147         ($(objpfx)zdump.o): Likewise.
61148         ($(objpfx)version.h): New target.
61150         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
61151         2012i.
61152         * timezone/README: Don't mention modification to tzselect.ksh.
61153         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
61154         work on unmodified tzselect.ksh.  Substitute version numbers in
61155         tzselect.ksh.
61157         * Makefile (format-me): Remove.
61158         (INSTALL): Adjust indentation.  Use commands directly instead of
61159         using $(format-me).
61161         * aclocal.m4 (ACX_PKGVERSION): New macro.
61162         (ACX_BUGURL): Likewise.
61163         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
61164         (PKGVERSION): New AC_DEFINE_UNQUOTED.
61165         (REPORT_BUGS_TO): Likewise.
61166         * configure: Regenerated.
61167         * config.h.in (PKGVERSION): New macro.
61168         (REPORT_BUGS_TO): Likewise.
61169         * config.make.in (PKGVERSION): New variable.
61170         (PKGVERSION_TEXI): Likewise.
61171         (REPORT_BUGS_TO): Likewise.
61172         (REPORT_BUGS_TEXI): Likewise.
61173         * Makefile (format-me): Use -I$(common-objpfx)manual.
61174         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
61175         ($(common-objpfx)manual/%): New target.
61176         (manual/%): Remove target.
61177         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
61178         (print_version): Use PKGVERSION.
61179         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
61180         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
61181         and REPORT_BUGS_TO.
61182         ($(objpfx)xtrace): Likewise.
61183         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
61184         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
61185         (print_version): Use PKGVERSION.
61186         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
61187         (do_version): Use PKGVERSION.
61188         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
61189         REPORT_BUGS_TO.
61190         (common-ldd-rewrite): Likewise.
61191         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
61192         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
61193         (print_version): Use PKGVERSION.
61194         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
61195         * elf/pldd.c (argp_program_bug_address): Remove variable.
61196         (more_help): New function.
61197         (argp): Use more_help.
61198         (print_version): Use PKGVERSION.
61199         * elf/sln.c (main): Use PKGVERSION.
61200         (usage): Use REPORT_BUGS_TO.
61201         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
61202         (top level): Use PKGVERSION.
61203         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
61204         (print_version): Use PKGVERSION.
61205         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
61206         (print_version): Use PKGVERSION.
61207         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
61208         (print_version): Use PKGVERSION.
61209         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
61210         (print_version): Use PKGVERSION.
61211         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
61212         (print_version): Use PKGVERSION.
61213         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
61214         (print_version): Use PKGVERSION.
61215         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
61216         and BUGURL.
61217         ($(objpfx)memusage): Likewise.
61218         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
61219         (do_version): Use PKGVERSION.
61220         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
61221         (print_version): Use PKGVERSION.
61222         * malloc/mtrace.pl ($PACKAGE): Remove variable.
61223         ($PKGVERSION): New variable.
61224         ($REPORT_BUGS_TO): Likewise.
61225         (usage): Use $REPORT_BUGS_TO.
61226         (top level): Use $PKGVERSION.
61227         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
61228         ($(objpfx)pkgvers.texi): New rule.
61229         ($(objpfx)stamp-pkgvers): Likewise.
61230         * manual/install.texi: Include pkgvers.texi.
61231         (--with-pkgversion): Document new configure option.
61232         (--with-bugurl): Likewise.
61233         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
61234         than necessarily for this particular distribution.  Use
61235         REPORT_BUGS_TO for where to report bugs.
61236         * INSTALL: Regenerated.
61237         * manual/libc.texinfo: Include pkgvers.texi.
61238         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
61239         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
61240         (print_version): Use PKGVERSION.
61241         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
61242         (print_version): Use PKGVERSION.
61243         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
61244         (print_version): Use PKGVERSION.
61245         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
61246         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
61247         macro.
61248         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
61249         (print_version): Use PKGVERSION.
61250         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
61251         (print_version): Use PKGVERSION.
61252         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
61253         and PKGVERSION.
61255         * timezone/checktab.awk: Update from tzcode 2012i.
61256         * timezone/ialloc.c: Likewise.
61257         * timezone/private.h: Likewise.
61258         * timezone/scheck.c: Likewise.
61259         * timezone/tzfile.h: Likewise.
61260         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
61261         (TZVERSION): Hardcode tzcode version number.
61262         * timezone/zdump.c: Update from tzcode 2012i.
61263         * timezone/zic.c: Likewise.
61264         * timezone/version.h: New file.
61265         * timezone/README: Describe version.h.  Update upstream location.
61267         [BZ #14824]
61268         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
61269         (mktemp): Enable declaration.
61270         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
61271         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
61272         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
61273         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
61274         Likewise.
61275         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
61276         Likewise.
61277         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
61278         Likewise.
61279         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
61280         Likewise.
61281         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
61282         Likewise.
61283         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
61284         Likewise.
61286         [BZ #14821]
61287         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
61288         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
61289         for copies of such integer values.
61290         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
61291         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
61293 2012-11-09  Andreas Jaeger  <aj@suse.de>
61295         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
61296         definitions and declarations that are provided by
61297         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
61299 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61301         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
61302         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
61303         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
61304         definition.
61306 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61308         * elf/elf.h: Update comment before AArch64 relocations.
61310 2012-11-07  David S. Miller  <davem@davemloft.net>
61312         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
61313         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
61314         (__start_context): Declare.
61315         (__makecontext_ret): Delete.
61316         (__makecontext): Hook up __start_context instead of
61317         __makecontext_ret.
61318         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
61319         (sysdep_routines): Add __start_context when in stdlib.
61321 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
61323         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
61324         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
61325         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
61326         hardcoded "nm".
61327         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
61328         (READELF): New variable.  Use it instead of hardcoded "readelf".
61330 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
61332         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
61333         * sysdeps/x86/Makefile: Here.
61334         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
61335         * sysdeps/x86/tst-xmmymm.sh: This.
61337 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
61339         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
61340         expectations.
61341         [UNIX98] (pthread_barrier_t): Do not expect.
61342         [UNIX98] (pthread_barrierattr_t): Likewise.
61343         [UNIX98] (pthread_spinlock_t): Likewise.
61344         [UNIX98] (pthread_barrier_destroy): Likewise.
61345         [UNIX98] (pthread_barrier_init): Likewise.
61346         [UNIX98] (pthread_barrier_wait): Likewise.
61347         [UNIX98] (pthread_barrierattr_destroy): Likewise.
61348         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
61349         [UNIX98] (pthread_barrierattr_init): Likewise.
61350         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
61351         [UNIX98] (pthread_getcpuclockid): Likewise.
61352         [UNIX98] (pthread_mutex_timedlock): Likewise.
61353         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
61354         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
61355         [UNIX98] (pthread_sigmask): Likewise.
61356         [UNIX98] (pthread_spin_destroy): Likewise.
61357         [UNIX98] (pthread_spin_init): Likewise.
61358         [UNIX98] (pthread_spin_lock): Likewise.
61359         [UNIX98] (pthread_spin_trylock): Likewise.
61360         [UNIX98] (pthread_spin_unlock): Likewise.
61361         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
61362         Do not expect.
61363         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
61364         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
61365         [XPG3 || XPG4] (pthread_cond_t): Likewise.
61366         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
61367         [XPG3 || XPG4] (pthread_key_t): Likewise.
61368         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
61369         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
61370         [XPG3 || XPG4] (pthread_once_t): Likewise.
61371         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
61372         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
61373         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
61374         [XPG3 || XPG4] (pthread_t): Likewise.
61376         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
61377         not expect.
61378         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
61380         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
61381         Change function return type to int.
61383         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
61384         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
61385         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
61386         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
61387         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
61388         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
61389         [!POSIX] (posix_madvise): Likewise.
61390         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
61391         && !UNIX98].
61392         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
61393         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
61394         (mode_t): Likewise.
61395         (posix_mem_offset): Likewise.
61396         (posix_typed_mem_get_info): Likewise.
61397         (posix_typed_mem_open): Likewise.
61399         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
61400         Change condition to [XOPEN2K8].
61402         * conform/conformtest.pl: Preprocess allow-header data with -x c
61403         instead of from stdin.
61404         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
61405         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
61406         [C99-based standards] (cerfc): Likewise.
61407         [C99-based standards] (cexp2): Likewise.
61408         [C99-based standards] (cexpm1): Likewise.
61409         [C99-based standards] (clog10): Likewise.
61410         [C99-based standards] (clog1p): Likewise.
61411         [C99-based standards] (clog2): Likewise.
61412         [C99-based standards] (clgamma): Likewise.
61413         [C99-based standards] (ctgamma): Likewise.
61414         [C99-based standards] (cerff): Likewise.
61415         [C99-based standards] (cerfcf): Likewise.
61416         [C99-based standards] (cexp2f): Likewise.
61417         [C99-based standards] (cexpm1f): Likewise.
61418         [C99-based standards] (clog10f): Likewise.
61419         [C99-based standards] (clog1pf): Likewise.
61420         [C99-based standards] (clog2f): Likewise.
61421         [C99-based standards] (clgammaf): Likewise.
61422         [C99-based standards] (ctgammaf): Likewise.
61423         [C99-based standards] (cerfl): Likewise.
61424         [C99-based standards] (cerfcl): Likewise.
61425         [C99-based standards] (cexp2l): Likewise.
61426         [C99-based standards] (cexpm1l): Likewise.
61427         [C99-based standards] (clog10l): Likewise.
61428         [C99-based standards] (clog1pl): Likewise.
61429         [C99-based standards] (clog2l): Likewise.
61430         [C99-based standards] (clgammal): Likewise.
61431         [C99-based standards] (ctgammal): Likewise.
61432         * conform/data/inttypes.h-data [C99-based standards]: Include
61433         stdint.h-data.  Remove all expectations for stdint.h contents.
61434         [C99-based standards] (PRI*): Do not allow.
61435         [C99-based standards] (SCN*): Likewise.
61436         [C99-based standards] (*_t): Likewise.
61437         [C99-based-standards] (PRId8): Expect macro.
61438         [C99-based-standards] (PRIi8): Likewise.
61439         [C99-based-standards] (PRIo8): Likewise.
61440         [C99-based-standards] (PRIu8): Likewise.
61441         [C99-based-standards] (PRIx8): Likewise.
61442         [C99-based-standards] (PRIX8): Likewise.
61443         [C99-based-standards] (SCNd8): Likewise.
61444         [C99-based-standards] (SCNi8): Likewise.
61445         [C99-based-standards] (SCNo8): Likewise.
61446         [C99-based-standards] (SCNu8): Likewise.
61447         [C99-based-standards] (SCNx8): Likewise.
61448         [C99-based-standards] (PRIdLEAST8): Likewise.
61449         [C99-based-standards] (PRIiLEAST8): Likewise.
61450         [C99-based-standards] (PRIoLEAST8): Likewise.
61451         [C99-based-standards] (PRIuLEAST8): Likewise.
61452         [C99-based-standards] (PRIxLEAST8): Likewise.
61453         [C99-based-standards] (PRIXLEAST8): Likewise.
61454         [C99-based-standards] (SCNdLEAST8): Likewise.
61455         [C99-based-standards] (SCNiLEAST8): Likewise.
61456         [C99-based-standards] (SCNoLEAST8): Likewise.
61457         [C99-based-standards] (SCNuLEAST8): Likewise.
61458         [C99-based-standards] (SCNxLEAST8): Likewise.
61459         [C99-based-standards] (PRIdFAST8): Likewise.
61460         [C99-based-standards] (PRIiFAST8): Likewise.
61461         [C99-based-standards] (PRIoFAST8): Likewise.
61462         [C99-based-standards] (PRIuFAST8): Likewise.
61463         [C99-based-standards] (PRIxFAST8): Likewise.
61464         [C99-based-standards] (PRIXFAST8): Likewise.
61465         [C99-based-standards] (SCNdFAST8): Likewise.
61466         [C99-based-standards] (SCNiFAST8): Likewise.
61467         [C99-based-standards] (SCNoFAST8): Likewise.
61468         [C99-based-standards] (SCNuFAST8): Likewise.
61469         [C99-based-standards] (SCNxFAST8): Likewise.
61470         [C99-based-standards] (PRId16): Likewise.
61471         [C99-based-standards] (PRIi16): Likewise.
61472         [C99-based-standards] (PRIo16): Likewise.
61473         [C99-based-standards] (PRIu16): Likewise.
61474         [C99-based-standards] (PRIx16): Likewise.
61475         [C99-based-standards] (PRIX16): Likewise.
61476         [C99-based-standards] (SCNd16): Likewise.
61477         [C99-based-standards] (SCNi16): Likewise.
61478         [C99-based-standards] (SCNo16): Likewise.
61479         [C99-based-standards] (SCNu16): Likewise.
61480         [C99-based-standards] (SCNx16): Likewise.
61481         [C99-based-standards] (PRIdLEAST16): Likewise.
61482         [C99-based-standards] (PRIiLEAST16): Likewise.
61483         [C99-based-standards] (PRIoLEAST16): Likewise.
61484         [C99-based-standards] (PRIuLEAST16): Likewise.
61485         [C99-based-standards] (PRIxLEAST16): Likewise.
61486         [C99-based-standards] (PRIXLEAST16): Likewise.
61487         [C99-based-standards] (SCNdLEAST16): Likewise.
61488         [C99-based-standards] (SCNiLEAST16): Likewise.
61489         [C99-based-standards] (SCNoLEAST16): Likewise.
61490         [C99-based-standards] (SCNuLEAST16): Likewise.
61491         [C99-based-standards] (SCNxLEAST16): Likewise.
61492         [C99-based-standards] (PRIdFAST16): Likewise.
61493         [C99-based-standards] (PRIiFAST16): Likewise.
61494         [C99-based-standards] (PRIoFAST16): Likewise.
61495         [C99-based-standards] (PRIuFAST16): Likewise.
61496         [C99-based-standards] (PRIxFAST16): Likewise.
61497         [C99-based-standards] (PRIXFAST16): Likewise.
61498         [C99-based-standards] (SCNdFAST16): Likewise.
61499         [C99-based-standards] (SCNiFAST16): Likewise.
61500         [C99-based-standards] (SCNoFAST16): Likewise.
61501         [C99-based-standards] (SCNuFAST16): Likewise.
61502         [C99-based-standards] (SCNxFAST16): Likewise.
61503         [C99-based-standards] (PRId32): Likewise.
61504         [C99-based-standards] (PRIi32): Likewise.
61505         [C99-based-standards] (PRIo32): Likewise.
61506         [C99-based-standards] (PRIu32): Likewise.
61507         [C99-based-standards] (PRIx32): Likewise.
61508         [C99-based-standards] (PRIX32): Likewise.
61509         [C99-based-standards] (SCNd32): Likewise.
61510         [C99-based-standards] (SCNi32): Likewise.
61511         [C99-based-standards] (SCNo32): Likewise.
61512         [C99-based-standards] (SCNu32): Likewise.
61513         [C99-based-standards] (SCNx32): Likewise.
61514         [C99-based-standards] (PRIdLEAST32): Likewise.
61515         [C99-based-standards] (PRIiLEAST32): Likewise.
61516         [C99-based-standards] (PRIoLEAST32): Likewise.
61517         [C99-based-standards] (PRIuLEAST32): Likewise.
61518         [C99-based-standards] (PRIxLEAST32): Likewise.
61519         [C99-based-standards] (PRIXLEAST32): Likewise.
61520         [C99-based-standards] (SCNdLEAST32): Likewise.
61521         [C99-based-standards] (SCNiLEAST32): Likewise.
61522         [C99-based-standards] (SCNoLEAST32): Likewise.
61523         [C99-based-standards] (SCNuLEAST32): Likewise.
61524         [C99-based-standards] (SCNxLEAST32): Likewise.
61525         [C99-based-standards] (PRIdFAST32): Likewise.
61526         [C99-based-standards] (PRIiFAST32): Likewise.
61527         [C99-based-standards] (PRIoFAST32): Likewise.
61528         [C99-based-standards] (PRIuFAST32): Likewise.
61529         [C99-based-standards] (PRIxFAST32): Likewise.
61530         [C99-based-standards] (PRIXFAST32): Likewise.
61531         [C99-based-standards] (SCNdFAST32): Likewise.
61532         [C99-based-standards] (SCNiFAST32): Likewise.
61533         [C99-based-standards] (SCNoFAST32): Likewise.
61534         [C99-based-standards] (SCNuFAST32): Likewise.
61535         [C99-based-standards] (SCNxFAST32): Likewise.
61536         [C99-based-standards] (PRId64): Likewise.
61537         [C99-based-standards] (PRIi64): Likewise.
61538         [C99-based-standards] (PRIo64): Likewise.
61539         [C99-based-standards] (PRIu64): Likewise.
61540         [C99-based-standards] (PRIx64): Likewise.
61541         [C99-based-standards] (PRIX64): Likewise.
61542         [C99-based-standards] (SCNd64): Likewise.
61543         [C99-based-standards] (SCNi64): Likewise.
61544         [C99-based-standards] (SCNo64): Likewise.
61545         [C99-based-standards] (SCNu64): Likewise.
61546         [C99-based-standards] (SCNx64): Likewise.
61547         [C99-based-standards] (PRIdLEAST64): Likewise.
61548         [C99-based-standards] (PRIiLEAST64): Likewise.
61549         [C99-based-standards] (PRIoLEAST64): Likewise.
61550         [C99-based-standards] (PRIuLEAST64): Likewise.
61551         [C99-based-standards] (PRIxLEAST64): Likewise.
61552         [C99-based-standards] (PRIXLEAST64): Likewise.
61553         [C99-based-standards] (SCNdLEAST64): Likewise.
61554         [C99-based-standards] (SCNiLEAST64): Likewise.
61555         [C99-based-standards] (SCNoLEAST64): Likewise.
61556         [C99-based-standards] (SCNuLEAST64): Likewise.
61557         [C99-based-standards] (SCNxLEAST64): Likewise.
61558         [C99-based-standards] (PRIdFAST64): Likewise.
61559         [C99-based-standards] (PRIiFAST64): Likewise.
61560         [C99-based-standards] (PRIoFAST64): Likewise.
61561         [C99-based-standards] (PRIuFAST64): Likewise.
61562         [C99-based-standards] (PRIxFAST64): Likewise.
61563         [C99-based-standards] (PRIXFAST64): Likewise.
61564         [C99-based-standards] (SCNdFAST64): Likewise.
61565         [C99-based-standards] (SCNiFAST64): Likewise.
61566         [C99-based-standards] (SCNoFAST64): Likewise.
61567         [C99-based-standards] (SCNuFAST64): Likewise.
61568         [C99-based-standards] (SCNxFAST64): Likewise.
61569         [C99-based-standards] (PRIdMAX): Likewise.
61570         [C99-based-standards] (PRIiMAX): Likewise.
61571         [C99-based-standards] (PRIoMAX): Likewise.
61572         [C99-based-standards] (PRIuMAX): Likewise.
61573         [C99-based-standards] (PRIxMAX): Likewise.
61574         [C99-based-standards] (PRIXMAX): Likewise.
61575         [C99-based-standards] (SCNdMAX): Likewise.
61576         [C99-based-standards] (SCNiMAX): Likewise.
61577         [C99-based-standards] (SCNoMAX): Likewise.
61578         [C99-based-standards] (SCNuMAX): Likewise.
61579         [C99-based-standards] (SCNxMAX): Likewise.
61580         [C99-based-standards] (PRIdPTR): Likewise.
61581         [C99-based-standards] (PRIiPTR): Likewise.
61582         [C99-based-standards] (PRIoPTR): Likewise.
61583         [C99-based-standards] (PRIuPTR): Likewise.
61584         [C99-based-standards] (PRIxPTR): Likewise.
61585         [C99-based-standards] (PRIXPTR): Likewise.
61586         [C99-based-standards] (SCNdPTR): Likewise.
61587         [C99-based-standards] (SCNiPTR): Likewise.
61588         [C99-based-standards] (SCNoPTR): Likewise.
61589         [C99-based-standards] (SCNuPTR): Likewise.
61590         [C99-based-standards] (SCNxPTR): Likewise.
61591         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
61592         allow.
61593         * conform/data/stdint.h-data: Update comments to clarify
61594         requirements.
61595         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
61596         type.
61597         [C99-based standards] (INT8_MAX): Likewise.
61598         [C99-based standards] (INT16_MIN): Likewise.
61599         [C99-based standards] (INT16_MAX): Likewise.
61600         [C99-based standards] (INT32_MIN): Likewise.
61601         [C99-based standards] (INT32_MAX): Likewise.
61602         [C99-based standards] (INT64_MIN): Likewise.
61603         [C99-based standards] (INT64_MAX): Likewise.
61604         [C99-based standards] (UINT8_MAX): Likewise.
61605         [C99-based standards] (UINT16_MAX): Likewise.
61606         [C99-based standards] (UINT32_MAX): Likewise.
61607         [C99-based standards] (UINT64_MAX): Likewise.
61608         [C99-based standards] (INT_LEAST8_MIN): Likewise.
61609         [C99-based standards] (INT_LEAST8_MAX): Likewise.
61610         [C99-based standards] (INT_LEAST16_MIN): Likewise.
61611         [C99-based standards] (INT_LEAST16_MAX): Likewise.
61612         [C99-based standards] (INT_LEAST32_MIN): Likewise.
61613         [C99-based standards] (INT_LEAST32_MAX): Likewise.
61614         [C99-based standards] (INT_LEAST64_MIN): Likewise.
61615         [C99-based standards] (INT_LEAST64_MAX): Likewise.
61616         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
61617         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
61618         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
61619         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
61620         [C99-based standards] (INT_FAST8_MIN): Likewise.
61621         [C99-based standards] (INT_FAST8_MAX): Likewise.
61622         [C99-based standards] (INT_FAST16_MIN): Likewise.
61623         [C99-based standards] (INT_FAST16_MAX): Likewise.
61624         [C99-based standards] (INT_FAST32_MIN): Likewise.
61625         [C99-based standards] (INT_FAST32_MAX): Likewise.
61626         [C99-based standards] (INT_FAST64_MIN): Likewise.
61627         [C99-based standards] (INT_FAST64_MAX): Likewise.
61628         [C99-based standards] (UINT_FAST8_MAX): Likewise.
61629         [C99-based standards] (UINT_FAST16_MAX): Likewise.
61630         [C99-based standards] (UINT_FAST32_MAX): Likewise.
61631         [C99-based standards] (UINT_FAST64_MAX): Likewise.
61632         [C99-based standards] (INTPTR_MIN): Likewise.
61633         [C99-based standards] (INTPTR_MAX): Likewise.
61634         [C99-based standards] (UINTPTR_MAX): Likewise.
61635         [C99-based standards] (INTMAX_MIN): Likewise.
61636         [C99-based standards] (INTMAX_MAX): Likewise.
61637         [C99-based standards] (UINTMAX_MAX): Likewise.
61638         [C99-based standards] (PTRDIFF_MIN): Likewise.
61639         [C99-based standards] (PTRDIFF_MAX): Likewise.
61640         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
61641         [C99-based standards] (SIZE_MAX): Likewise.
61642         [C99-based standards] (WCHAR_MAX): Likewise.
61643         [C99-based standards] (WINT_MAX): Likewise.
61644         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
61645         constraint on value.
61646         [C99-based standards] (WCHAR_MIN): Likewise.
61647         [C99-based standards] (WINT_MIN): Likewise.
61648         [C99-based standards] (*_t): Allow.
61649         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
61650         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
61651         Include math.h-data and complex.h-data.  Remove all expectations
61652         of math.h and complex.h contents.
61653         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
61654         at end of line.
61655         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
61656         (struct tm): Expect tag.
61657         [C99-based-standards] (wcstof): Expect function.
61658         [C99-based-standards] (wcstold): Likewise.
61659         [C99-based-standards] (wcstoll): Likewise.
61660         [C99-based-standards] (wcstoull): Likewise.
61661         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
61662         macro-int-constant.  Specify type.
61663         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
61664         constraint on value.
61665         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
61666         Specify type.
61667         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
61668         Specify value.
61669         [ISO C standards]: Do not allow headers.
61670         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
61671         wcs[abcdefghijklmnopqrstuvwxyz]*.
61672         [ISO C standards] (*_t): Do not allow.
61673         * conform/data/wctype.h-data [C99-based standards] (iswblank):
61674         Expect function.
61675         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
61676         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
61677         Specify type.
61678         [ISO C standards]: Do not allow headers.
61679         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
61680         is[abcdefghijklmnopqrstuvwxyz]*.
61681         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
61682         to[abcdefghijklmnopqrstuvwxyz]*.
61683         [ISO C standards] (*_t): Do not allow.
61684         * conform/data/stdalign.h-data: New file.
61685         * conform/data/stdbool.h-data: Likewise.
61686         * conform/data/stdnoreturn.h-data: Likewise.
61688 2012-11-07  Roland McGrath  <roland@hack.frob.com>
61690         [BZ #14815]
61691         * manual/filesys.texi (Directory Entries): Typo fix.
61692         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
61694 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61696         * elf/elf.h (EM_AARCH64): New macro.
61697         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
61698         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
61699         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
61700         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
61701         (R_AARCH64_TLSDESC): Likewise.
61702         (NT_ARM_TLS): Likewise.
61703         (NT_ARM_HW_BREAK): Likewise.
61704         (NT_ARM_HW_WATCH): Likewise.
61706 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
61708         [BZ #14811]
61709         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
61710         (__ieee754_powl): Saturate nonzero exponents with absolute value
61711         below 0x1p-79 to +/- 0x1p-79.
61712         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
61713         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
61714         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
61715         nonzero exponents with absolute value below 0x1p-32 to +/-
61716         0x1p-32.
61717         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
61718         (__ieee754_powl): Saturate nonzero exponents with absolute value
61719         below 0x1p-79 to +/- 0x1p-79.
61720         * math/libm-test.inc (pow_test): Add more tests.
61722 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61724         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
61725         _dl_s390_cap_flags with kernel. Increase string length.
61726         (_dl_s390_platforms): Add z196 and zEC12.
61728 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
61730         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
61731         Change XOPEN21K to XOPEN2K.
61733 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
61735         * string/memmove.c: Use memcpy when possible.
61737 2012-11-06  Andreas Jaeger  <aj@suse.de>
61739         * po/eo.po: Update from translation team.
61741 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
61743         [BZ #14793]
61744         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
61745         exponent and small x and y exponents, scale x or y up.  Increase
61746         by 2 the exponent used in scaling up.
61747         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61748         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61749         * math/libm-test.inc (fma_test): Add more tests.
61750         (fma_test_towardzero): Likewise.
61751         (fma_test_downward): Likewise.
61752         (fma_test_upward): Likewise.
61754 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
61756         [BZ #14805]
61757         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
61758         fenv_t *.
61760         [BZ #14801]
61761         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
61762         namespace for names of struct fields.
61763         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
61764         fenv_t fields.
61765         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
61766         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
61768 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61770         [BZ #3665]
61771         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
61773 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
61775         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
61776         PTR_DEMANGLE.
61778         [BZ #5246]
61779         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
61780         PTR_DEMANGLE.
61782 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
61784         [BZ #14797]
61785         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
61786         definitely overflow as x * y not x * y + z.
61787         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61788         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61789         * math/libm-test.inc (fma_test): Add more tests.
61790         (fma_test_towardzero): Likewise.
61791         (fma_test_downward): Likewise.
61792         (fma_test_upward): Likewise.
61794 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
61796         [BZ #157]
61798         * include/stub-tag.h: Remove file.
61799         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
61800         '#include' of it.
61801         * manual/maint.texi (Porting): Don't reference it.
61802         * Makerules ($(objpfx)stubs): Likewise.
61803         * dirent/closedir.c: Don't include <stub-tag.h>.
61804         * dirent/dirfd.c: Likewise.
61805         * dirent/fdopendir.c: Likewise.
61806         * dirent/getdents.c: Likewise.
61807         * dirent/getdents64.c: Likewise.
61808         * dirent/opendir.c: Likewise.
61809         * dirent/readdir.c: Likewise.
61810         * dirent/readdir64.c: Likewise.
61811         * dirent/readdir64_r.c: Likewise.
61812         * dirent/readdir_r.c: Likewise.
61813         * dirent/rewinddir.c: Likewise.
61814         * dirent/seekdir.c: Likewise.
61815         * dirent/telldir.c: Likewise.
61816         * gmon/profil.c: Likewise.
61817         * grp/setgroups.c: Likewise.
61818         * inet/if_index.c: Likewise.
61819         * io/access.c: Likewise.
61820         * io/chdir.c: Likewise.
61821         * io/chmod.c: Likewise.
61822         * io/chown.c: Likewise.
61823         * io/close.c: Likewise.
61824         * io/dup.c: Likewise.
61825         * io/dup2.c: Likewise.
61826         * io/dup3.c: Likewise.
61827         * io/euidaccess.c: Likewise.
61828         * io/faccessat.c: Likewise.
61829         * io/fchdir.c: Likewise.
61830         * io/fchmod.c: Likewise.
61831         * io/fchmodat.c: Likewise.
61832         * io/fchown.c: Likewise.
61833         * io/fchownat.c: Likewise.
61834         * io/fcntl.c: Likewise.
61835         * io/flock.c: Likewise.
61836         * io/fstatfs.c: Likewise.
61837         * io/fstatfs64.c: Likewise.
61838         * io/fstatvfs.c: Likewise.
61839         * io/fstatvfs64.c: Likewise.
61840         * io/futimens.c: Likewise.
61841         * io/fxstat.c: Likewise.
61842         * io/fxstat64.c: Likewise.
61843         * io/fxstatat.c: Likewise.
61844         * io/fxstatat64.c: Likewise.
61845         * io/getcwd.c: Likewise.
61846         * io/isatty.c: Likewise.
61847         * io/lchmod.c: Likewise.
61848         * io/lchown.c: Likewise.
61849         * io/link.c: Likewise.
61850         * io/linkat.c: Likewise.
61851         * io/lseek.c: Likewise.
61852         * io/lseek64.c: Likewise.
61853         * io/lxstat64.c: Likewise.
61854         * io/mkdir.c: Likewise.
61855         * io/mkdirat.c: Likewise.
61856         * io/mkfifo.c: Likewise.
61857         * io/mkfifoat.c: Likewise.
61858         * io/open.c: Likewise.
61859         * io/open64.c: Likewise.
61860         * io/openat.c: Likewise.
61861         * io/openat64.c: Likewise.
61862         * io/pipe.c: Likewise.
61863         * io/pipe2.c: Likewise.
61864         * io/poll.c: Likewise.
61865         * io/posix_fadvise.c: Likewise.
61866         * io/posix_fadvise64.c: Likewise.
61867         * io/posix_fallocate.c: Likewise.
61868         * io/posix_fallocate64.c: Likewise.
61869         * io/read.c: Likewise.
61870         * io/readlink.c: Likewise.
61871         * io/readlinkat.c: Likewise.
61872         * io/rmdir.c: Likewise.
61873         * io/sendfile.c: Likewise.
61874         * io/sendfile64.c: Likewise.
61875         * io/statfs.c: Likewise.
61876         * io/statfs64.c: Likewise.
61877         * io/statvfs.c: Likewise.
61878         * io/statvfs64.c: Likewise.
61879         * io/symlink.c: Likewise.
61880         * io/symlinkat.c: Likewise.
61881         * io/ttyname.c: Likewise.
61882         * io/ttyname_r.c: Likewise.
61883         * io/umask.c: Likewise.
61884         * io/unlink.c: Likewise.
61885         * io/unlinkat.c: Likewise.
61886         * io/utime.c: Likewise.
61887         * io/utimensat.c: Likewise.
61888         * io/write.c: Likewise.
61889         * io/xmknod.c: Likewise.
61890         * io/xmknodat.c: Likewise.
61891         * io/xstat.c: Likewise.
61892         * io/xstat64.c: Likewise.
61893         * login/getpt.c: Likewise.
61894         * login/grantpt.c: Likewise.
61895         * login/unlockpt.c: Likewise.
61896         * math/e_acoshl.c: Likewise.
61897         * math/e_acosl.c: Likewise.
61898         * math/e_asinl.c: Likewise.
61899         * math/e_atan2l.c: Likewise.
61900         * math/e_atanhl.c: Likewise.
61901         * math/e_coshl.c: Likewise.
61902         * math/e_expl.c: Likewise.
61903         * math/e_fmodl.c: Likewise.
61904         * math/e_gammal_r.c: Likewise.
61905         * math/e_hypotl.c: Likewise.
61906         * math/e_j0l.c: Likewise.
61907         * math/e_j1l.c: Likewise.
61908         * math/e_jnl.c: Likewise.
61909         * math/e_lgammal_r.c: Likewise.
61910         * math/e_log10l.c: Likewise.
61911         * math/e_log2l.c: Likewise.
61912         * math/e_logl.c: Likewise.
61913         * math/e_powl.c: Likewise.
61914         * math/e_rem_pio2l.c: Likewise.
61915         * math/e_sinhl.c: Likewise.
61916         * math/e_sqrtl.c: Likewise.
61917         * math/fclrexcpt.c: Likewise.
61918         * math/fedisblxcpt.c: Likewise.
61919         * math/feenablxcpt.c: Likewise.
61920         * math/fegetenv.c: Likewise.
61921         * math/fegetexcept.c: Likewise.
61922         * math/fegetround.c: Likewise.
61923         * math/feholdexcpt.c: Likewise.
61924         * math/fesetenv.c: Likewise.
61925         * math/fesetround.c: Likewise.
61926         * math/feupdateenv.c: Likewise.
61927         * math/fgetexcptflg.c: Likewise.
61928         * math/fraiseexcpt.c: Likewise.
61929         * math/fsetexcptflg.c: Likewise.
61930         * math/ftestexcept.c: Likewise.
61931         * math/k_cosl.c: Likewise.
61932         * math/k_rem_pio2l.c: Likewise.
61933         * math/k_sinl.c: Likewise.
61934         * math/k_tanl.c: Likewise.
61935         * math/s_asinhl.c: Likewise.
61936         * math/s_atanl.c: Likewise.
61937         * math/s_cbrtl.c: Likewise.
61938         * math/s_erfl.c: Likewise.
61939         * math/s_expm1l.c: Likewise.
61940         * math/s_log1pl.c: Likewise.
61941         * math/s_tanhl.c: Likewise.
61942         * misc/acct.c: Likewise.
61943         * misc/brk.c: Likewise.
61944         * misc/chflags.c: Likewise.
61945         * misc/chroot.c: Likewise.
61946         * misc/fchflags.c: Likewise.
61947         * misc/fgetxattr.c: Likewise.
61948         * misc/flistxattr.c: Likewise.
61949         * misc/fremovexattr.c: Likewise.
61950         * misc/fsetxattr.c: Likewise.
61951         * misc/fsync.c: Likewise.
61952         * misc/ftruncate.c: Likewise.
61953         * misc/futimes.c: Likewise.
61954         * misc/futimesat.c: Likewise.
61955         * misc/getdomain.c: Likewise.
61956         * misc/getdtsz.c: Likewise.
61957         * misc/gethostid.c: Likewise.
61958         * misc/gethostname.c: Likewise.
61959         * misc/getloadavg.c: Likewise.
61960         * misc/getpagesize.c: Likewise.
61961         * misc/getsysstats.c: Likewise.
61962         * misc/getxattr.c: Likewise.
61963         * misc/gtty.c: Likewise.
61964         * misc/ioctl.c: Likewise.
61965         * misc/lgetxattr.c: Likewise.
61966         * misc/listxattr.c: Likewise.
61967         * misc/llistxattr.c: Likewise.
61968         * misc/lremovexattr.c: Likewise.
61969         * misc/lsetxattr.c: Likewise.
61970         * misc/lutimes.c: Likewise.
61971         * misc/madvise.c: Likewise.
61972         * misc/mincore.c: Likewise.
61973         * misc/mlock.c: Likewise.
61974         * misc/mlockall.c: Likewise.
61975         * misc/mmap.c: Likewise.
61976         * misc/mprotect.c: Likewise.
61977         * misc/msync.c: Likewise.
61978         * misc/munlock.c: Likewise.
61979         * misc/munlockall.c: Likewise.
61980         * misc/munmap.c: Likewise.
61981         * misc/preadv.c: Likewise.
61982         * misc/preadv64.c: Likewise.
61983         * misc/ptrace.c: Likewise.
61984         * misc/pwritev.c: Likewise.
61985         * misc/pwritev64.c: Likewise.
61986         * misc/readv.c: Likewise.
61987         * misc/reboot.c: Likewise.
61988         * misc/remap_file_pages.c: Likewise.
61989         * misc/removexattr.c: Likewise.
61990         * misc/revoke.c: Likewise.
61991         * misc/select.c: Likewise.
61992         * misc/setdomain.c: Likewise.
61993         * misc/setegid.c: Likewise.
61994         * misc/seteuid.c: Likewise.
61995         * misc/sethostid.c: Likewise.
61996         * misc/sethostname.c: Likewise.
61997         * misc/setregid.c: Likewise.
61998         * misc/setreuid.c: Likewise.
61999         * misc/setxattr.c: Likewise.
62000         * misc/sstk.c: Likewise.
62001         * misc/stty.c: Likewise.
62002         * misc/swapoff.c: Likewise.
62003         * misc/swapon.c: Likewise.
62004         * misc/sync.c: Likewise.
62005         * misc/syncfs.c: Likewise.
62006         * misc/syscall.c: Likewise.
62007         * misc/truncate.c: Likewise.
62008         * misc/ualarm.c: Likewise.
62009         * misc/usleep.c: Likewise.
62010         * misc/ustat.c: Likewise.
62011         * misc/utimes.c: Likewise.
62012         * misc/vhangup.c: Likewise.
62013         * misc/writev.c: Likewise.
62014         * posix/_exit.c: Likewise.
62015         * posix/alarm.c: Likewise.
62016         * posix/execve.c: Likewise.
62017         * posix/fexecve.c: Likewise.
62018         * posix/fork.c: Likewise.
62019         * posix/fpathconf.c: Likewise.
62020         * posix/getaddrinfo.c: Likewise.
62021         * posix/getegid.c: Likewise.
62022         * posix/geteuid.c: Likewise.
62023         * posix/getgid.c: Likewise.
62024         * posix/getgroups.c: Likewise.
62025         * posix/getlogin.c: Likewise.
62026         * posix/getlogin_r.c: Likewise.
62027         * posix/getpgid.c: Likewise.
62028         * posix/getpid.c: Likewise.
62029         * posix/getppid.c: Likewise.
62030         * posix/getresgid.c: Likewise.
62031         * posix/getresuid.c: Likewise.
62032         * posix/getsid.c: Likewise.
62033         * posix/getuid.c: Likewise.
62034         * posix/glob64.c: Likewise.
62035         * posix/nanosleep.c: Likewise.
62036         * posix/pathconf.c: Likewise.
62037         * posix/pause.c: Likewise.
62038         * posix/posix_madvise.c: Likewise.
62039         * posix/pread.c: Likewise.
62040         * posix/pread64.c: Likewise.
62041         * posix/pwrite.c: Likewise.
62042         * posix/pwrite64.c: Likewise.
62043         * posix/sched_getaffinity.c: Likewise.
62044         * posix/sched_getp.c: Likewise.
62045         * posix/sched_gets.c: Likewise.
62046         * posix/sched_primax.c: Likewise.
62047         * posix/sched_primin.c: Likewise.
62048         * posix/sched_rr_gi.c: Likewise.
62049         * posix/sched_setaffinity.c: Likewise.
62050         * posix/sched_setp.c: Likewise.
62051         * posix/sched_sets.c: Likewise.
62052         * posix/sched_yield.c: Likewise.
62053         * posix/setgid.c: Likewise.
62054         * posix/setlogin.c: Likewise.
62055         * posix/setpgid.c: Likewise.
62056         * posix/setresgid.c: Likewise.
62057         * posix/setresuid.c: Likewise.
62058         * posix/setsid.c: Likewise.
62059         * posix/setuid.c: Likewise.
62060         * posix/sleep.c: Likewise.
62061         * posix/spawni.c: Likewise.
62062         * posix/sysconf.c: Likewise.
62063         * posix/times.c: Likewise.
62064         * posix/wait.c: Likewise.
62065         * posix/wait3.c: Likewise.
62066         * posix/wait4.c: Likewise.
62067         * posix/waitpid.c: Likewise.
62068         * resolv/gai_sigqueue.c: Likewise.
62069         * resource/getpriority.c: Likewise.
62070         * resource/getrlimit.c: Likewise.
62071         * resource/getrusage.c: Likewise.
62072         * resource/nice.c: Likewise.
62073         * resource/setpriority.c: Likewise.
62074         * resource/setrlimit.c: Likewise.
62075         * resource/ulimit.c: Likewise.
62076         * rt/aio_cancel.c: Likewise.
62077         * rt/aio_fsync.c: Likewise.
62078         * rt/aio_read.c: Likewise.
62079         * rt/aio_sigqueue.c: Likewise.
62080         * rt/aio_suspend.c: Likewise.
62081         * rt/aio_write.c: Likewise.
62082         * rt/clock_getres.c: Likewise.
62083         * rt/clock_gettime.c: Likewise.
62084         * rt/clock_nanosleep.c: Likewise.
62085         * rt/clock_settime.c: Likewise.
62086         * rt/lio_listio.c: Likewise.
62087         * rt/mq_close.c: Likewise.
62088         * rt/mq_getattr.c: Likewise.
62089         * rt/mq_notify.c: Likewise.
62090         * rt/mq_open.c: Likewise.
62091         * rt/mq_receive.c: Likewise.
62092         * rt/mq_send.c: Likewise.
62093         * rt/mq_setattr.c: Likewise.
62094         * rt/mq_timedreceive.c: Likewise.
62095         * rt/mq_timedsend.c: Likewise.
62096         * rt/mq_unlink.c: Likewise.
62097         * rt/shm_open.c: Likewise.
62098         * rt/shm_unlink.c: Likewise.
62099         * rt/timer_create.c: Likewise.
62100         * rt/timer_delete.c: Likewise.
62101         * rt/timer_getoverr.c: Likewise.
62102         * rt/timer_gettime.c: Likewise.
62103         * rt/timer_settime.c: Likewise.
62104         * setjmp/__longjmp.c: Likewise.
62105         * setjmp/setjmp.c: Likewise.
62106         * signal/kill.c: Likewise.
62107         * signal/killpg.c: Likewise.
62108         * signal/raise.c: Likewise.
62109         * signal/sigaction.c: Likewise.
62110         * signal/sigaltstack.c: Likewise.
62111         * signal/sigblock.c: Likewise.
62112         * signal/sigignore.c: Likewise.
62113         * signal/sigintr.c: Likewise.
62114         * signal/signal.c: Likewise.
62115         * signal/sigpause.c: Likewise.
62116         * signal/sigpending.c: Likewise.
62117         * signal/sigqueue.c: Likewise.
62118         * signal/sigreturn.c: Likewise.
62119         * signal/sigset.c: Likewise.
62120         * signal/sigsetmask.c: Likewise.
62121         * signal/sigstack.c: Likewise.
62122         * signal/sigsuspend.c: Likewise.
62123         * signal/sigtimedwait.c: Likewise.
62124         * signal/sigvec.c: Likewise.
62125         * signal/sigwait.c: Likewise.
62126         * signal/sigwaitinfo.c: Likewise.
62127         * signal/sysv_signal.c: Likewise.
62128         * socket/accept.c: Likewise.
62129         * socket/accept4.c: Likewise.
62130         * socket/bind.c: Likewise.
62131         * socket/connect.c: Likewise.
62132         * socket/getpeername.c: Likewise.
62133         * socket/getsockname.c: Likewise.
62134         * socket/getsockopt.c: Likewise.
62135         * socket/isfdtype.c: Likewise.
62136         * socket/listen.c: Likewise.
62137         * socket/recv.c: Likewise.
62138         * socket/recvfrom.c: Likewise.
62139         * socket/recvmsg.c: Likewise.
62140         * socket/send.c: Likewise.
62141         * socket/sendmsg.c: Likewise.
62142         * socket/sendto.c: Likewise.
62143         * socket/setsockopt.c: Likewise.
62144         * socket/shutdown.c: Likewise.
62145         * socket/sockatmark.c: Likewise.
62146         * socket/socket.c: Likewise.
62147         * socket/socketpair.c: Likewise.
62148         * stdio-common/ctermid.c: Likewise.
62149         * stdio-common/cuserid.c: Likewise.
62150         * stdio-common/remove.c: Likewise.
62151         * stdio-common/rename.c: Likewise.
62152         * stdio-common/renameat.c: Likewise.
62153         * stdio-common/tempname.c: Likewise.
62154         * stdlib/getcontext.c: Likewise.
62155         * stdlib/makecontext.c: Likewise.
62156         * stdlib/setcontext.c: Likewise.
62157         * stdlib/swapcontext.c: Likewise.
62158         * stdlib/system.c: Likewise.
62159         * streams/fattach.c: Likewise.
62160         * streams/fdetach.c: Likewise.
62161         * streams/getmsg.c: Likewise.
62162         * streams/getpmsg.c: Likewise.
62163         * streams/putmsg.c: Likewise.
62164         * streams/putpmsg.c: Likewise.
62165         * sysdeps/unix/bsd/getpt.c: Likewise.
62166         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
62167         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
62168         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
62169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
62170         Likewise.
62171         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
62172         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
62173         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
62174         * sysvipc/msgctl.c: Likewise.
62175         * sysvipc/msgget.c: Likewise.
62176         * sysvipc/msgrcv.c: Likewise.
62177         * sysvipc/msgsnd.c: Likewise.
62178         * sysvipc/semctl.c: Likewise.
62179         * sysvipc/semget.c: Likewise.
62180         * sysvipc/semop.c: Likewise.
62181         * sysvipc/semtimedop.c: Likewise.
62182         * sysvipc/shmat.c: Likewise.
62183         * sysvipc/shmctl.c: Likewise.
62184         * sysvipc/shmdt.c: Likewise.
62185         * sysvipc/shmget.c: Likewise.
62186         * termios/tcdrain.c: Likewise.
62187         * termios/tcflow.c: Likewise.
62188         * termios/tcflush.c: Likewise.
62189         * termios/tcgetattr.c: Likewise.
62190         * termios/tcgetpgrp.c: Likewise.
62191         * termios/tcsendbrk.c: Likewise.
62192         * termios/tcsetattr.c: Likewise.
62193         * termios/tcsetpgrp.c: Likewise.
62194         * time/adjtime.c: Likewise.
62195         * time/clock.c: Likewise.
62196         * time/getitimer.c: Likewise.
62197         * time/gettimeofday.c: Likewise.
62198         * time/setitimer.c: Likewise.
62199         * time/settimeofday.c: Likewise.
62200         * time/stime.c: Likewise.
62201         * time/time.c: Likewise.
62203 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
62205         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
62206         /usr/old/bin.
62208         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
62209         instead of spaces.
62210         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
62212 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
62214         [BZ #14796]
62215         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
62216         FE_TONEAREST before applying Dekker multiplication and Knuth
62217         addition.  Clear inexact exceptions and check for exact zero
62218         results afterwards.
62219         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
62220         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
62221         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62222         * math/libm-test.inc (fma_test): Add more tests.
62223         (fma_test_towardzero): Likewise.
62224         (fma_test_downward): Likewise.
62225         (fma_test_upward): Likewise.
62226         * sysdeps/generic/math_private.h (default_libc_fesetround): New
62227         function.
62228         (libc_fesetround): New macro.
62229         (libc_fesetroundf): Likewise.
62230         (libc_fesetroundl): Likewise.
62231         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
62232         function.
62233         (libc_fesetround_387): Likewise.
62234         (libc_fesetroundf): New macro.
62235         (libc_fesetround): Likewise.
62236         (libc_fesetroundl): Likewise.
62237         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
62238         function.
62239         (libc_fesetroundf): New macro.
62240         (libc_fesetround): Likewise.
62241         (libc_fesetroundl): Likewise.
62242         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
62243         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
62244         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
62245         libm_hidden_ver.
62246         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
62247         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
62248         libm_hidden_def.
62249         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
62250         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
62251         libm_hidden_ver.
62252         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
62253         libm_hidden_def.
62255         [BZ #3439]
62256         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
62257         integer constant usable in #if and use that to give value to enum
62258         constant.
62259         (FE_DIVBYZERO): Likewise.
62260         (FE_UNDERFLOW): Likewise.
62261         (FE_OVERFLOW): Likewise.
62262         (FE_INVALID): Likewise.
62263         (FE_INVALID_SNAN): Likewise.
62264         (FE_INVALID_ISI): Likewise.
62265         (FE_INVALID_IDI): Likewise.
62266         (FE_INVALID_ZDZ): Likewise.
62267         (FE_INVALID_IMZ): Likewise.
62268         (FE_INVALID_COMPARE): Likewise.
62269         (FE_INVALID_SOFTWARE): Likewise.
62270         (FE_INVALID_SQRT): Likewise.
62271         (FE_INVALID_INTEGER_CONVERSION): Likewise.
62272         (FE_TONEAREST): Likewise.
62273         (FE_TOWARDZERO): Likewise.
62274         (FE_UPWARD): Likewise.
62275         (FE_DOWNWARD): Likewise.
62276         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
62277         (FE_DIVBYZERO): Likewise.
62278         (FE_OVERFLOW): Likewise.
62279         (FE_UNDERFLOW): Likewise.
62280         (FE_INEXACT): Likewise.
62281         (FE_TONEAREST): Likewise.
62282         (FE_DOWNWARD): Likewise.
62283         (FE_UPWARD): Likewise.
62284         (FE_TOWARDZERO): Likewise.
62285         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
62286         (FE_UNDERFLOW): Likewise.
62287         (FE_OVERFLOW): Likewise.
62288         (FE_DIVBYZERO): Likewise.
62289         (FE_INVALID): Likewise.
62290         (FE_TONEAREST): Likewise.
62291         (FE_TOWARDZERO): Likewise.
62292         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
62293         (FE_OVERFLOW): Likewise.
62294         (FE_UNDERFLOW): Likewise.
62295         (FE_DIVBYZERO): Likewise.
62296         (FE_INEXACT): Likewise.
62297         (FE_TONEAREST): Likewise.
62298         (FE_TOWARDZERO): Likewise.
62299         (FE_UPWARD): Likewise.
62300         (FE_DOWNWARD): Likewise.
62301         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
62302         (FE_DIVBYZERO): Likewise.
62303         (FE_OVERFLOW): Likewise.
62304         (FE_UNDERFLOW): Likewise.
62305         (FE_INEXACT): Likewise.
62306         (FE_TONEAREST): Likewise.
62307         (FE_DOWNWARD): Likewise.
62308         (FE_UPWARD): Likewise.
62309         (FE_TOWARDZERO): Likewise.
62311 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
62313         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
62315 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
62317         * scripts/cross-test-ssh.sh (command): Use newlines to separate
62318         commands.  Quote $PWD.
62319         (blacklist_exports): Don't use remove_newlines.  Replace "declare
62320         -x" by "export".
62321         (remove_newlines): Remove.
62323 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
62325         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
62326         * stdlib/stdlib.h (atof): Moved to ...
62327         * include/bits/stdlib-float.h: Here.  New file.
62328         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
62329         * stdlib/bits/stdlib-float.h: New file.
62330         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
62331         -mno-sse -mno-mmx.
62332         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
62333         <xmmintrin.h>.
62335 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
62337         * conform/conformtest.pl (@headers): Add fenv.h.
62338         * conform/data/fenv.h-data: New file.
62339         * include/fenv.h [_ISOMAC]: Disable all contents of file except
62340         include of <math/fenv.h>.
62342         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
62343         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
62344         && !UNIX98].  Enables tests for XOPEN2K8.
62345         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
62346         POSIX2008]: Likewise.
62348         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
62349         (struct rusage): Do not expect type or its members.
62351         [BZ #3439]
62352         * math/math.h (FP_NAN): Define macro to integer constant usable in
62353         #if and use that to give value to enum constant.
62354         (FP_INFINITE): Likewise.
62355         (FP_ZERO): Likewise.
62356         (FP_SUBNORMAL): Likewise.
62357         (FP_NORMAL): Likewise.
62359 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
62361         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
62362         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
62363         arguments.
62365 2012-11-02  Roland McGrath  <roland@hack.frob.com>
62367         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
62368         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
62369         autoconf-time if not.
62370         * configure.in: Remove AC_PREREQ.
62372 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62374         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
62375         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
62376         of the internal implementation.
62378 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
62380         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
62381         except include of <misc/sys/syslog.h>.
62383 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
62385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
62386         function returns with a NULL context exit with zero.
62388 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62390         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
62392 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
62394         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
62395         (run_program_cmd): This.
62396         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
62397         (tst_langinfo): New variable.  Use it.
62399 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
62401         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
62402         floating point opcodes.
62404 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
62406         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
62407         variable.
62409         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
62411         * sysdeps/mach/hurd/powerpc: Remove directory.
62412         * sysdeps/mach/powerpc: Likewise.
62414 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
62416         * scripts/check-local-headers.sh: Ignore c++ headers.
62418 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
62420         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
62421         __libc_cleanup_region_start argument.
62423 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
62425         [BZ #14784]
62426         [BZ #14785]
62427         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
62428         x * y using scaling, not as x * y + z.
62429         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
62430         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62431         * math/libm-test.inc (fma_test): Add more tests.
62432         (fma_test_towardzero): Likewise.
62433         (fma_test_downward): Likewise.
62434         (fma_test_upward): Likewise.
62436 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
62438         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
62440 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
62442         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
62443         New variable.
62445 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
62447         * rt/tst-shm.c (worker): Correct checking for mmap failure.
62449 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
62451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62452         Fix sort order.
62453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62454         Likewise.
62456 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62459         Fix the order of the list for glibc 2.17.
62460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62461         Likewise.
62463 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
62465         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62467 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
62469         [BZ #14610]
62470         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
62471         for low part of x being zero before using __atanl (y).
62472         * math/libm-test.inc (atan2_test): Add another test.
62474         * manual/install.texi (Configuring and compiling): Document
62475         general use of test-wrapper and test-wrapper-env.
62476         * INSTALL: Regenerated.
62478         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
62479         (__fma): Do not extract and scale down low bits on after-rounding
62480         systems when result rounded to normal precision would have normal
62481         exponent.
62482         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
62483         (__fmal): Do not extract and scale down low bits on after-rounding
62484         systems when result rounded to normal precision would have normal
62485         exponent.
62486         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
62487         (__fmal): Do not extract and scale down low bits on after-rounding
62488         systems when result rounded to normal precision would have normal
62489         exponent.
62490         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
62491         macro.
62492         (fma_test): Add more tests.
62493         (fma_test_towardzero): Likewise.
62494         (fma_test_downward): Likewise.
62495         (fma_test_upward): Likewise.
62497 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
62499         * sysdeps/i386/tininess.h: Renamed to ...
62500         * sysdeps/x86/tininess.h: This.
62501         * sysdeps/x86_64/tininess.h: Removed.
62503 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
62505         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
62506         input.  Use $(build-program-cmd).
62507         ($(objpfx)tst-array1-static.out): Likewise.
62508         ($(objpfx)tst-array2.out): Likewise.
62509         ($(objpfx)tst-array3.out): Likewise.
62510         ($(objpfx)tst-array4.out): Likewise.
62511         ($(objpfx)tst-array5.out): Likewise.
62512         ($(objpfx)tst-array5-static.out): Likewise.
62514 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
62516         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
62517         if defined.
62519         * nss/nsswitch.h (nss_interface_function): Provide new
62520         macro for use with NSS functions.
62521         * grp/initgroups.c: Use new macro.
62522         * nss/getXXbyYY.c: Likewise.
62523         * nss/getXXbyYY_r.c: Likewise.
62524         * nss/getXXent.c: Likewise.
62525         * nss/getXXent_r.c: Likewise.
62526         * sysdeps/posix/getaddrinfo.c: Likewise.
62528 2012-10-30  Andreas Jaeger  <aj@suse.de>
62530         * po/ru.po: Update Russion translation from translation project.
62532 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
62534         [BZ #14152]
62535         [BZ #14783]
62536         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
62537         result and shift together with sticky bit instead of replicating
62538         round-to-nearest rounding.
62539         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
62540         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62541         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
62542         missing underflow exceptions.
62543         (fma_test_towardzero): Add more tests.
62544         (fma_test_downward): Likewise.
62545         (fma_test_upward): Likewise.
62547         [BZ #14047]
62548         * sysdeps/generic/tininess.h: New file.
62549         * sysdeps/i386/tininess.h: Likewise.
62550         * sysdeps/sh/tininess.h: Likewise.
62551         * sysdeps/x86_64/tininess.h: Likewise.
62552         * stdlib/tst-strtod-underflow.c: Likewise.
62553         * stdlib/tst-tininess.c: Likewise.
62554         * stdlib/strtod_l.c: Include <tininess.h>.
62555         (round_and_return): Do not set errno for exact underflow cases.
62556         Force an underflow exception when setting errno for underflow.
62557         Determine underflow based on rounding to normal precision if
62558         TININESS_AFTER_ROUNDING.
62559         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
62560         ERANGE for exact underflow cases.
62561         * stdlib/Makefile (tests): Add tst-tininess and
62562         tst-strtod-underflow.
62563         ($(objpfx)tst-tininess): Use $(link-libm).
62564         ($(objpfx)tst-strtod-underflow): Likewise.
62566 2012-10-30  Andreas Jaeger  <aj@suse.de>
62568         [BZ#14767]
62569         * elf/Makefile (tests): Remove conditional for have-initfini-array
62570         since this is now always required and the variable does not exist
62571         anymore.
62572         (tests-static): Likewise.
62573         (modules-names): Likewise.
62575         * po/eo.po: Add Esperanto translation from translation project.
62577         * elf/tst-array1.c (fini_array): Make writeable so that it can be
62578         merged with constructor/destructor.
62579         (init_array): Likewise.
62580         * elf/tst-array2dep.c (fini_array): Likewise.
62581         (init_array): Likewise.
62583 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
62585         * manual/message.texi: Delete @cartouche tags.
62587 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
62589         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
62590         EOPNOTSUPP.
62591         * sysdeps/mach/hurd/fsync.c: Likewise.
62593         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
62594         [_POSIX_REALTIME_SIGNALS]: Change condition to
62595         [_POSIX_REALTIME_SIGNALS > 0].
62597 2012-10-27  Andreas Jaeger  <aj@suse.de>
62599         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
62600         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
62601         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
62602         [__WORDSIZE != 64]: Likewise.
62604 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
62606         *  iconvdata/tst-table.sh: Remove ${SHELL}.
62607         *  iconvdata/tst-tables.sh: Likewise.
62609 2012-10-25  David S. Miller  <davem@davemloft.net>
62611         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
62612         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
62613         of strtoull.
62615         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
62616         ifunc-impl-list.c
62617         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
62618         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
62619         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
62620         file.
62622 2012-10-25  Roland McGrath  <roland@hack.frob.com>
62624         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
62625         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
62626         __getdirentries.
62628 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
62629             Jim Blandy  <jimb@codesourcery.com>
62631         * scripts/cross-test-ssh.sh: New file.
62632         * manual/install.texi (Configuring and compiling): Document use of
62633         cross-test-ssh.sh.
62634         * INSTALL: Regenerated.
62636 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
62638         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
62639         EOPNOTSUPP.
62641 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
62643         * Makeconfig (run-program-prefix): Fix comment.
62645 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
62646             Jim Blandy  <jimb@codesourcery.com>
62648         * Makeconfig (test-wrapper): New variable,
62649         (test-wrapper-env): Likewise.
62650         [$(cross-compiling) = yes && $(test-wrapper) != ""]
62651         (run-built-tests): Define to yes.
62652         (run-program-prefix): Use $(test-wrapper).
62653         (built-program-cmd): Likewise.
62654         * Rules (make-test-out): Use $(test-wrapper-env) and
62655         $(host-built-program-cmd).
62656         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
62657         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
62658         tst-pathopt.sh.
62659         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
62660         $(test-wrapper-env) to tst-rtld-load-self.sh.
62661         ($(objpfx)order2.out): Use $(test-wrapper).
62662         ($(objpfx)tst-initorder.out): Likewise.
62663         ($(objpfx)tst-initorder2.out): Likewise.
62664         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
62665         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
62666         (test_wrapper_env): New variable.  Use it to run ld.so.
62667         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
62668         Use it to run ld.so.
62669         (test_wrapper_env): Likewise.
62670         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
62671         $(test-wrapper) to run-iconv-test.sh.
62672         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
62673         (ICONV): Use $test_wrapper.
62674         * posix/Makefile ($(objpfx)globtest.out): Pass
62675         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
62676         globtest.sh, not $(run-program-prefix).
62677         * posix/globtest.sh (run_via_rtld_prefix): New variable.
62678         (test_wrapper): Likewise.
62679         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
62680         set together with run_via_rtld_prefix.
62681         (run_program_prefix): Define in terms of test_wrapper and
62682         run_via_rtld_prefix.
62684 2012-10-24  Roland McGrath  <roland@hack.frob.com>
62686         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
62687         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
62688         Targets removed.
62690         [BZ #14743]
62691         * include/time.h: Remove librt_hidden_proto (clock_gettime).
62692         Declare __clock_getres, __clock_gettime, __clock_settime,
62693         __clock_nanosleep, and __clock_getcpuclockid.
62694         * rt/clock_gettime.c: Define __clock_gettime as an alias.
62695         Remove librt_hidden_def (clock_gettime).
62696         * sysdeps/unix/clock_gettime.c: Likewise.
62697         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
62698         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
62699         * rt/clock_getres.c: Define __clock_getres as an alias.
62700         * sysdeps/posix/clock_getres.c: Likewise.
62701         * rt/clock_settime.c: Define __clock_settime as an alias.
62702         * sysdeps/unix/clock_settime.c: Likewise.
62703         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
62704         * sysdeps/unix/clock_nanosleep.c: Likewise.
62705         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
62706         * rt/clock-compat.c: New file.
62707         * rt/Makefile (librt-routines): Add clock-compat and move
62708         $(clock-routines) to ...
62709         (routines): ... here, new variable.
62710         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
62711         Don't add get_clockfreq here.
62712         * rt/Versions (libc: GLIBC_2.17): New version set.
62713         Add clock_* symbols here.
62714         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
62715         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
62716         (GLIBC_2.17): Add clock_* symbols.
62717         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
62718         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
62719         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
62720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62721         Likewise.
62722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62723         Likewise.
62724         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
62725         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
62726         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
62727         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
62728         * NEWS: Mention the move.
62730         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
62731         Use __open, __read, __close rather than their public counterparts.
62732         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
62733         (__get_clockfreq_via_cpuinfo): Likewise.
62734         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
62735         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
62737         * config.h.in (HAVE_IFUNC): New #undef.
62738         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
62739         was successful.
62740         * configure: Regenerated.
62742 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
62744         * configure.in: Move READELF check to start of file.
62745         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
62746         libc_cv_asm_gnu_indirect_function in the process.
62747         * configure: Regenerated.
62749 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
62751         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
62752         send the output to /dev/null.
62753         (libc_cv_cc_with_libunwind): Likewise.
62754         (libc_cv_as_noexecstack): Likewise.
62755         * configure: Regenerate.
62757 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
62759         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
62761         * posix/globtest.sh (TMPDIR): Do not set.
62762         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
62763         (testout): Likewise.
62765 2012-10-24  Andreas Jaeger  <aj@suse.de>
62767         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
62768         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
62769         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
62770         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
62771         posix_fadvise64, posix_fallocate64.
62773         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
62774         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
62775         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
62776         Likewise.
62777         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
62778         Likewise.
62779         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
62781         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
62782         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
62783         <bits/fcntl-linux.h>.
62784         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
62786         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
62787         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
62788         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
62789         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
62790         [__WORDSIZE != 64]: Likewise.
62792 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
62794         * Makeconfig (run-built-tests): New variable.
62795         * Rules [$(cross-compiling) = yes]: Change condition to
62796         [$(run-built-tests) = no].
62797         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
62798         to [$(run-built-tests) = yes].
62799         * elf/Makefile [$(cross-compiling) = no]: Likewise.
62800         * grp/Makefile [$(cross-compiling) = no]: Likewise.
62801         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
62802         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
62803         * intl/Makefile [$(cross-compiling) = no]: Likewise.
62804         * io/Makefile [$(cross-compiling) = no]: Likewise.
62805         * libio/Makefile [$(cross-compiling) = no]: Likewise.
62806         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
62807         * misc/Makefile [$(cross-compiling) = no]: Likewise.
62808         * posix/Makefile [$(cross-compiling) = no]: Likewise.
62809         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
62810         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
62811         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
62812         * string/Makefile [$(cross-compiling) = no]: Likewise.
62814         * posix/Makefile ($(objpfx)globtest.out): Pass
62815         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
62816         $(rtld-installed-name).
62817         * posix/globtest.sh (elf_objpfx): Remove variable.
62818         (rtld_installed_name): Likewise.
62819         (library_path): Likewise.
62820         (run_program_prefix): New variable.  Use for running globtest
62821         binary.
62823 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
62824             Joseph Myers  <joseph@codesourcery.com>
62826         * Makeconfig (host-built-program-cmd): New variable.
62827         * elf/Makefile (tst-stackguard1-ARGS): Use
62828         $(host-built-program-cmd).
62829         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
62830         (tst-spawn-ARGS): Likewise.
62831         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
62833 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
62834             Jim Blandy  <jimb@codesourcery.com>
62836         * Makeconfig (run-via-rtld-prefix): New variable.
62837         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
62838         (built-program-cmd): Likewise.
62840 2012-10-22  Andreas Jaeger  <aj@suse.de>
62842         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
62843         __O_RSYNC if it exists, otherwise to O_SYNC.
62845 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
62846             Joseph Myers  <joseph@codesourcery.com>
62848         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
62849         /dev/null.
62850         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
62851         from /dev/null
62852         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
62853         /dev/null.
62855 2012-10-22  Andreas Jaeger  <aj@suse.de>
62857         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
62858         Define always.
62859         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
62861         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62862         bits/fcntl-linux.h.
62864         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
62865         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
62867         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
62868         to __O_LARGEFILE.
62869         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
62870         to __O_LARGEFILE.
62872 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
62873             Joseph Myers  <joseph@codesourcery.com>
62875         * config.make.in (NM): New variable.
62877 2012-10-21  Andreas Jaeger  <aj@suse.de>
62879         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
62880         definitions and declarations that are provided by
62881         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
62883 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
62885         [BZ #14683]
62886         * elf/Makefile (tests-static): Add tst-leaks1-static.
62887         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
62888         ($(objpfx)tst-leaks1-static): New rule.
62889         ($(objpfx)tst-leaks1-static-mem): Likewise.
62890         (tst-leaks1-static-ENV): New macro.
62891         * elf/dl-open.c (dl_open_worker): Check the main application
62892         only if SHARED is defined.
62893         * elf/tst-leaks1-static.c: New file.
62895 2012-10-20  Andreas Jaeger  <aj@suse.de>
62897         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
62898         generic values for Linux.
62899         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
62900         and declarations that are provided by <bits/fcntl-linux.h> and
62901         include <bits/fcntl-linux.h>.
62902         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62903         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62905 2012-10-20  Roland McGrath  <roland@hack.frob.com>
62907         * io/fcntl.h: Move include of <bits/types.h> to the top and
62908         include it unconditionally.
62910 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
62912         * wcsmbs/Makefile (tests-ifunc): New variable.
62913         (tests): Add $(tests-ifunc).
62914         * wcsmbs/test-wcschr-ifunc.c: New file.
62915         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
62916         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
62917         * wcsmbs/test-wcslen-ifunc.c: Likewise.
62918         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
62919         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
62921         * string/Makefile (tests-ifunc): New variable.
62922         (tests): Add $(tests-ifunc).
62923         * string/test-memccpy.c (TEST_NAME): New macro.
62924         * string/test-memchr.c (TEST_NAME): Likewise.
62925         * string/test-memcmp.c (TEST_NAME): Likewise.
62926         * string/test-memcpy.c (TEST_NAME): Likewise.
62927         * string/test-memmem.c (TEST_NAME): Likewise.
62928         * string/test-memmove.c (TEST_NAME): Likewise.
62929         * string/test-memset.c (TEST_NAME): Likewise.
62930         * string/test-rawmemchr.c (TEST_NAME): Likewise.
62931         * string/test-stpcpy.c (TEST_NAME): Likewise.
62932         * string/test-stpncpy.c (TEST_NAME): Likewise.
62933         * string/test-strcasecmp.c (TEST_NAME): Likewise.
62934         * string/test-strcasestr.c (TEST_NAME): Likewise.
62935         * string/test-strcat.c (TEST_NAME): Likewise.
62936         * string/test-strchr.c (TEST_NAME): Likewise.
62937         * string/test-strcmp.c(TEST_NAME): Likewise.
62938         * string/test-strcpy.c (TEST_NAME): Likewise.
62939         * string/test-strcspn.c (TEST_NAME): Likewise.
62940         * string/test-strlen.c (TEST_NAME): Likewise.
62941         * string/test-strncasecmp.c (TEST_NAME): Likewise.
62942         * string/test-strncmp.c (TEST_NAME): Likewise.
62943         * string/test-strncpy.c (TEST_NAME): Likewise.
62944         * string/test-strnlen.c (TEST_NAME): Likewise.
62945         * string/test-strpbrk.c (TEST_NAME): Likewise.
62946         * string/test-strrchr.c (TEST_NAME): Likewise.
62947         * string/test-strspn.c (TEST_NAME): Likewise.
62948         * string/test-strstr.c (TEST_NAME): Likewise.
62949         * string/test-bcopy-ifunc.c: New file.
62950         * string/test-bzero-ifunc.c: Likewise.
62951         * string/test-memccpy-ifunc.c: Likewise.
62952         * string/test-memchr-ifunc.c: Likewise.
62953         * string/test-memcmp-ifunc.c: Likewise.
62954         * string/test-memcpy-ifunc.c: Likewise.
62955         * string/test-memmem-ifunc.c: Likewise.
62956         * string/test-memmove-ifunc.c: Likewise.
62957         * string/test-mempcpy-ifunc.c: Likewise.
62958         * string/test-memset-ifunc.c: Likewise.
62959         * string/test-rawmemchr-ifunc.c: Likewise.
62960         * string/test-stpcpy-ifunc.c: Likewise.
62961         * string/test-stpncpy-ifunc.c: Likewise.
62962         * string/test-strcasecmp-ifunc.c: Likewise.
62963         * string/test-strcasestr-ifunc.c: Likewise.
62964         * string/test-strcat-ifunc.c: Likewise.
62965         * string/test-strchr-ifunc.c: Likewise.
62966         * string/test-strchrnul-ifunc.c: Likewise.
62967         * string/test-strcmp-ifunc.c: Likewise.
62968         * string/test-strcpy-ifunc.c: Likewise.
62969         * string/test-strcspn-ifunc.c: Likewise.
62970         * string/test-strlen-ifunc.c: Likewise.
62971         * string/test-strncasecmp-ifunc.c: Likewise.
62972         * string/test-strncat-ifunc.c: Likewise.
62973         * string/test-strncmp-ifunc.c: Likewise.
62974         * string/test-strncpy-ifunc.c: Likewise.
62975         * string/test-strnlen-ifunc.c: Likewise.
62976         * string/test-strpbrk-ifunc.c: Likewise.
62977         * string/test-strrchr-ifunc.c: Likewise.
62978         * string/test-strspn-ifunc.c: Likewise.
62979         * string/test-strstr-ifunc.c: Likewise.
62981         * debug/Makefile (tests-ifunc): New variable.
62982         (tests): Add $(tests-ifunc).
62983         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
62984         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
62985         * debug/test-stpcpy_chk-ifunc.c: New file.
62986         * debug/test-strcpy_chk-ifunc.c: Likewise.
62988 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
62990         [BZ #13601]
62991         * elf/dl-load.c (open_verify): Retry read if the entire ELF
62992         header is not read in.
62994 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
62996         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
62997         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
62998         directly.  Pass built executable to script as
62999         $(built-program-cmd).
63000         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
63001         $testprogram without using LD_LIBRARY_PATH and $ldso.
63003         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
63004         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
63005         $(rtld-installed-name).
63006         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
63007         (rtld_installed_name): Likewise.
63008         (library_path): Likewise.
63009         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
63010         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
63011         $(run-program-prefix) to tst-tables.sh.
63012         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
63013         it to run tst-table-from and tst-table-to.
63014         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
63015         Pass it to tst-table.sh.
63016         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
63017         $(run-program-prefix) to tst-gettext.sh.
63018         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
63019         tst-translit.sh.
63020         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
63021         tst-gettext2.sh.
63022         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
63023         to run tst-gettext.
63024         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
63025         to run tst-gettext2.
63026         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
63027         to run tst-translit.
63028         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
63029         $(run-program-prefix) to tst-mtrace.sh.
63030         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
63031         to run tst-mtrace.
63032         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
63033         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
63034         $(rtld-installed-name).
63035         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
63036         (rtld_installed_name): Likewise.
63037         (run_program_prefix): New variable.  Use it to run wordexp-test.
63039         * Makeconfig (ARCH): Remove all definitions.
63040         (machine): Likewise.
63041         [ARCH]: Remove conditional code.
63042         [!objdir]: Give error.
63043         [!objdir] (objpfx): Remove.
63044         [!objdir] (common-objpfx): Likewise.
63045         [!objdir] (common-objdir): Likewise.
63046         * configure.in (config_makefile): Remove.  Hardcode Makefile in
63047         AC_CONFIG_FILES call.
63048         * configure: Regenerated.
63050         [BZ #13888]
63051         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
63052         or TMPDIR.
63053         (testout): Likewise.
63055         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
63056         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
63057         $(rtld-installed-name).
63058         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
63059         (rtld_installed_name): Likwise.
63060         (runit): Remove function.
63061         (run_getconf): New variable,  Use it for running getconf binary.
63063 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
63065         [BZ #14716]
63066         * string/test-memmem.c (check_result): New function.
63067         (do_one_test): Use it.
63068         (check1): New function.
63069         (test_main): Use it.
63071 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
63073         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
63075 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
63077         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
63078         (_G_LSEEK64): Likewise.
63079         (_G_MMAP64): Likewise.
63080         (_G_FSTAT64): Likewise.
63081         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
63082         (_G_LSEEK64): Likewise.
63083         (_G_MMAP64): Likewise.
63084         (_G_FSTAT64): Likewise.
63085         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
63086         unconditional.  Call __mmap64 directly.
63087         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
63088         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
63089         __lseek64 directly.
63090         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
63091         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
63092         __mmap64 directly.
63093         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
63094         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
63095         __lseek64 directly.
63096         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
63097         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
63098         __lseek64 directly.
63099         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
63100         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
63101         __lseek64 directly.
63102         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
63103         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
63104         __fxstat64 directly.
63105         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
63106         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
63107         unconditional.
63108         (freopen64) [!_G_OPEN64]: Remove conditional code.
63109         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
63110         unconditional.
63111         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
63112         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
63113         unconditional.
63114         (ftello64) [!_G_LSEEK64]: Remove conditional code.
63115         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
63116         unconditional.
63117         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
63118         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
63119         unconditional.
63120         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
63121         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
63122         unconditional.
63123         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
63124         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
63125         unconditional.
63126         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
63127         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
63128         unconditional.
63129         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
63131 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
63133         [BZ #12140]
63134         * manual/memory.texi (Malloc Tunable Parameters): Add note
63135         about free list pointers overwriting some perturb bytes.
63136         Wording suggested by Roland McGrath.
63138 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
63140         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
63141         (lgamma_test): Likewise.
63142         (tgamma_test): Likewise.
63144 2012-10-16  Florian Weimer  <fweimer@redhat.com>
63146         [BZ #14700]
63147         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
63148         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
63150 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
63152         * NEWS: Mention BZ #14716.
63153         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
63154         when removing AVAILABLE1_USES_J macro.
63156 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
63158         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
63159         (__bswap_64): __uint64_t for unsigned 64-bit int.
63161 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
63163         * include/string.h (memmem): Declare libc hidden alias.
63164         * string/memmem.c (memmem): Define libc hidden alias.
63165         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
63166         __read, __close instead of open, read, close.
63168 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
63170         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
63171         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
63172         global and hidden.
63173         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
63174         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
63175         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
63176         Likewise.
63177         (__rawmemchr_sse2): Likewise.
63178         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
63179         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
63180         (__strchr_sse2): Likewise.
63181         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
63182         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
63183         (__strcasecmp_sse2): Likewise.
63184         (__strncasecmp_sse2): Likewise.
63185         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
63186         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
63187         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
63188         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
63189         (__strrchr_sse2): Likewise.
63190         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
63191         ifunc-impl-list.c.
63192         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
63193         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
63194         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
63195         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
63196         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
63197         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
63198         * sysdeps/x86_64/multiarch/memset.S: Likewise.
63199         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
63200         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
63201         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
63202         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
63203         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
63204         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
63205         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
63206         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
63207         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
63208         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
63209         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
63210         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
63211         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
63212         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
63213         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
63214         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
63215         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
63216         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
63217         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
63218         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
63219         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
63220         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
63221         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
63223         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
63224         global and hidden.
63225         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
63226         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
63227         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
63228         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
63229         Likewise.
63230         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
63231         Likewise.
63232         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
63233         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
63234         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
63235         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
63236         ifunc-impl-list.c.
63237         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
63238         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
63239         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
63240         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
63241         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
63242         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
63243         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
63244         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
63245         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
63246         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
63247         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
63248         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
63249         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
63250         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
63251         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
63252         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
63253         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
63254         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
63255         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
63256         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
63257         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
63258         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
63259         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
63260         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
63261         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
63262         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
63263         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
63264         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
63265         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
63266         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
63267         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
63268         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
63269         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
63270         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
63271         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
63272         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
63273         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
63274         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
63275         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
63276         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
63277         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
63279         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
63280         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
63281         * include/ifunc-impl-list.h: New file.
63282         * misc/ifunc-impl-list.c: Likewise.
63283         * misc/Makefile (routines): Add ifunc-impl-list.
63284         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
63285         * string/test-string.h: Include <ifunc-impl-list.h>.
63286         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
63287         TEST_NAME]: New variables.
63288         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
63289         are defined.
63290         (test_init): Call __libc_ifunc_impl_list to initialize
63291         func_list if TEST_IFUNC and TEST_NAME are defined.
63293         * string/Makefile (strop-tests): Add bcopy and bzero.
63294         * string/test-bcopy.c: New file.
63295         * string/test-bzero.c: Likewise.
63296         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
63297         defined.
63298         * string/test-memset.c: Support bzero test if TEST_BZERO is
63299         defined.
63300         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
63301         __libc_memmove.
63302         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
63303         __libc_memset.
63304         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
63305         of memset.
63307 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
63309         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
63310         * configure: Regenerated.
63312         * Makeconfig (+link-static-before-libc): Don't include
63313         $(link-static-libc).
63315         * libio/libio.h (_IO_pos_t): Remove.
63317 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
63319         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
63320         McGrath.
63322 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
63324         * crypt/crypt-entry.c: Include fips-private.h.
63325         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
63326         * crypt/md5c-test.c (main): Tolerate disabled MD5.
63327         * sysdeps/unix/sysv/linux/fips-private.h: New file.
63328         * sysdeps/generic/fips-private.h: New file, dummy fallback.
63330 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
63332         * crypt/crypt-private.h: Include stdbool.h.
63333         (_ufc_setup_salt_r): Return bool.
63334         * crypt/crypt-entry.c: Include errno.h.
63335         (__crypt_r): Return NULL with EINVAL for bad salt.
63336         * crypt/crypt_util.c (bad_for_salt): New.
63337         (_ufc_setup_salt_r): Check that salt is long enough and within
63338         the specified alphabet.
63339         * crypt/badsalttest.c: New file.
63340         * crypt/Makefile (tests): Add it.
63341         ($(objpfx)badsalttest): New.
63343 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
63345         * NEWS: Add entry for BZ #14602.
63347 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
63349         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
63350         type-generic.
63351         * math/libm-test.inc: Update comment listing what functions and
63352         macros are tested.
63353         (isgreater_test): New function.
63354         (isgreaterequal_test): Likewise.
63355         (isless_test): Likewise.
63356         (islessequal_test): Likewise.
63357         (islessgreater_test): Likewise.
63358         (isunordered_test): Likewise.
63359         (main): Call the new functions.
63361 2012-10-09  Roland McGrath  <roland@hack.frob.com>
63363         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
63364         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
63365         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
63366         * sysdeps/i386/configure: Regenerated.
63367         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
63368         * sysdeps/mach/configure: Regenerated.
63369         * sysdeps/mach/hurd/configure: Regenerated.
63370         * sysdeps/powerpc/configure: Regenerated.
63371         * sysdeps/powerpc/powerpc32/configure: Regenerated.
63372         * sysdeps/powerpc/powerpc64/configure: Regenerated.
63373         * sysdeps/s390/s390-32/configure: Regenerated.
63374         * sysdeps/s390/s390-64/configure: Regenerated.
63375         * sysdeps/sh/configure: Regenerated.
63376         * sysdeps/sparc/configure: Regenerated.
63377         * sysdeps/unix/sysv/linux/configure: Regenerated.
63378         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
63379         * sysdeps/x86_64/configure: Regenerated.
63381         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
63382         defined.  Don't check if MAP is NULL.
63384 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
63386         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
63387         (_G_stat64): Likewise.
63388         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
63389         (_G_stat64): Likewise.
63390         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
63391         instead of struct _G_stat64.
63392         * libio/fileops.c (mmap_remap_check): Likewise.
63393         (decide_maybe_mmap): Likewise.
63394         (_IO_new_file_seekoff): Likewise.
63395         (_IO_file_stat): Likewise.
63396         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
63397         _G_off64_t.
63398         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
63399         instead of struct _G_stat64.
63400         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
63402 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
63404         [BZ #14602]
63405         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
63406         Replace with ...
63407         (CHECK_EOL): New macro.
63408         (two_way_short_needle): Check beginning of haystack for EOL.  Use
63409         CHECK_EOL.
63410         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
63411         Replace with CHECK_EOL.
63412         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
63413         Replace with CHECK_EOL.
63415 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
63417         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
63418         type-generic.
63419         * math/libm-test.inc: Update comment listing what functions and
63420         macros are tested.
63421         (finite_test): New function.
63422         (isinf_test): Likewise.
63423         (isnan_test): Likewise.
63424         (fpclassify_test): Test subnormal input.
63425         (isfinite_test): Likewise.
63426         (isnormal_test): Likewise.
63427         (main): Call the new functions.
63429 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
63431         [BZ #14660]
63432         * Makerules (%.dynsym): Force C locale when running
63433         $(OBJDUMP) --dynamic-syms.
63435 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
63437         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
63438         <stdint.h>.
63440 2012-10-06  David S. Miller  <davem@davemloft.net>
63442         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
63443         upper 32-bits of the length value in %o2 since we use branch-on-register
63444         tests which consider the entire 64-bit register.
63446 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
63448         * string/test-strstr.c (check2): Add a test for page boundary.
63450 2012-10-05  David S. Miller  <davem@davemloft.net>
63452         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
63453         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
63454         file.
63455         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
63456         sysdep_routines.
63457         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
63458         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
63459         and bzero when HWCAP_SPARC_CRYPTO is present.
63461 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
63463         [BZ #14602]
63464         * string/test-strstr.c (check2): New function.
63465         (test_main): Call check2.
63467         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
63468         and bug-strchr1.
63469         * string/bug-strcasestr1.c (do_test): Moved to ...
63470         * string/test-strcasestr.c (check1): Here.  New function.
63471         (do_one_test): Break out result checking code into ...
63472         (check_result): This.  New function.
63473         (do_one_test): Call check_result.
63474         (test_main): Call check1.
63475         * string/bug-strchr1.c (do_test): Moved to ...
63476         * string/test-strchr.c (check1): Here.  New function.
63477         (do_one_test): Break out result checking code into ...
63478         (check_result): This.  New function.
63479         (do_one_test): Call check_result.
63480         (test_main): Call check1.
63481         * string/bug-strstr1.c (main): Moved to ...
63482         * string/test-strstr.c (check1): Here.  New function.
63483         (do_one_test): Break out result checking code into ...
63484         (check_result): This.  New function.
63485         (do_one_test): Call check_result.
63486         (test_main): Call check1.
63487         * string/bug-strcasestr1.c: Removed.
63488         * string/bug-strchr1.c: Likewise.
63489         * string/bug-strstr1.c: Likewise.
63491         * elf/Makefile (dl-routines): Add hwcaps.
63492         * elf/dl-support.c (_dl_important_hwcaps): Removed.
63493         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
63494         (_dl_important_hwcaps): Moved to ...
63495         * elf/dl-hwcaps.c: Here.  New file.
63496         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
63498         [BZ #14557]
63499         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
63500         if IS_IN_rtld isn't defined.
63502         * elf/dl-support.c (_dl_sysinfo_map): New.
63503         Include "get-dynamic-info.h" and "setup-vdso.h".
63504         (_dl_non_dynamic_init): Call setup_vdso.
63505         * elf/dynamic-link.h: Don't include <assert.h>.
63506         (elf_get_dynamic_info): Moved to ...
63507         * elf/get-dynamic-info.h: Here.  New file.
63508         * elf/dynamic-link.h: Include "get-dynamic-info.h".
63509         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
63510         * elf/setup-vdso.h: Here.  New file.
63511         * elf/rtld.c: Include "setup-vdso.h".
63512         (dl_main): Call setup_vdso.
63514 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
63516         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
63517         creal in comment listing functions tested.  List finite, isinf,
63518         isnan, isless, islessequal, isgreater, isgreaterequal,
63519         islessgreater, isunordered, lgamma_r and pow10 as functions and
63520         macros not tested.  Mention which functions not tested are aliases
63521         for other functions.  Fix typo.  Note that signs of NaNs are not
63522         tested.
63524         * scripts/config.guess: Update from config.git.
63525         * scripts/config.sub: Likewise.
63527 2012-10-04  Roland McGrath  <roland@hack.frob.com>
63529         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
63530         * misc/madvise.c (madvise): Renamed to __madvise.
63531         Make madvise a weak alias.
63532         * include/sys/mman.h: Declare __madvise.
63533         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
63534         * sysdeps/unix/syscalls.list
63535         (madvise): Make __madvise the strong name, and madvise a weak alias.
63536         * sysdeps/unix/sysv/linux/syscalls.list
63537         (madvise, mmap): Remove redundant entries.
63538         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
63539         * malloc/malloc.c (mtrim): Likewise.
63540         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
63542 2012-10-03  Roland McGrath  <roland@hack.frob.com>
63544         * sysdeps/mach/hurd/dl-cache.c: File removed.
63545         * config.h.in (USE_LDCONFIG): New #undef.
63546         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
63547         * configure: Regenerated.
63548         * elf/Makefile (dl-routines): Add dl-cache only under
63549         [$(use-ldconfig) = yes].
63550         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
63551         cache on [USE_LDCONFIG].
63552         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
63553         [USE_LDCONFIG].
63554         * elf/rtld.c (dl_main): Likewise.
63556 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
63558         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
63559         _SC_LEVEL4_CACHE_LINESIZE.
63561 2012-10-03  Roland McGrath  <roland@hack.frob.com>
63563         * sysdeps/unix/bsd/confstr.h: File removed.
63565 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
63567         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
63568         sys/sdt-config.h.
63570 2012-10-02  Roland McGrath  <roland@hack.frob.com>
63572         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
63573         Make 'mapoff' field ElfW(Off) rather than off_t.
63575 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
63577         * nscd/Makefile: Remove nscd-cflags and all its users.
63578         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
63579         (CFLAGS-nonlib): Add compiler flags for nscd modules.
63581         [BZ #10631]
63582         * malloc.c (malloc_printerr): Clarify error message.
63584 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
63586         [BZ #14648]
63587         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63588         Set bit_FMA_Usable if FMA is supported.
63589         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
63590         macro.
63591         (bit_FMA4_Usable): Updated.
63592         (index_FMA_Usable): New macro.
63593         (CPUID_FMA): Likewise.
63594         (HAS_FMA): Defined with bit_FMA_Usable.
63596 2012-10-01  Roland McGrath  <roland@hack.frob.com>
63598         * bits/types.h (__swblk_t): Type removed.
63599         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
63600         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
63601         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63602         (__SWBLK_T_TYPE): Likewise.
63603         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
63604         (__SWBLK_T_TYPE): Likewise.
63605         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63606         (__SWBLK_T_TYPE): Likewise.
63607         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63608         (__SWBLK_T_TYPE): Likewise.
63610 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
63611             Honza Horak <hhorak@redhat.com>
63613         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
63614         (xdr_mapname): Use YPMAXMAP as maxsize.
63615         (xdr_peername): Use YPMAXPEER as maxsize.
63616         (xdr_keydat): Use YPAXRECORD as maxsize.
63617         (xdr_valdat): Use YPMAXRECORD as maxsize.
63619 2012-10-01  Roland McGrath  <roland@hack.frob.com>
63621         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
63623         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
63624         * csu/init-first.c: ... here.
63625         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
63626         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
63627         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
63628         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
63629         * sysdeps/i386/init-first.c: File removed.
63630         * sysdeps/sh/init-first.c: File removed.
63632 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
63634         [BZ #14645]
63635         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
63636         if x * y might underflow to zero and z is zero.
63637         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
63638         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
63639         * math/libm-test.inc (min_subnorm_value): New variable.
63640         (fma_test): Add more tests.
63641         (fma_test_towardzero): Likewise.
63642         (fma_test_downward): Likewise.
63643         (fma_test_upward): Likewise.
63644         (initialize): Set min_subnorm_value.
63646 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
63648         [BZ #14638]
63649         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
63650         0 + 0.
63651         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
63652         mode for addition resulting in exact zero.
63653         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
63654         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
63655         exact 0 + 0.
63656         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
63657         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
63658         * math/libm-test.inc (fma_test): Add more tests.
63659         (fma_test_towardzero): New function.
63660         (fma_test_downward): Likewise.
63661         (fma_test_upward): Likewise.
63662         (main): Call the new functions.
63664 2012-09-28  David S. Miller  <davem@davemloft.net>
63666         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
63668 2012-09-28  Roland McGrath  <roland@hack.frob.com>
63670         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
63671         instead of SIGALRM.
63673         * sysdeps/gnu/_G_config.h: Moved to ...
63674         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
63675         * sysdeps/mach/hurd/_G_config.h: Moved to ...
63676         * sysdeps/generic/_G_config.h: ... here.
63678         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
63680         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
63682         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
63683         Conditionalize target on [libnss_test1.so-version].
63685         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
63687         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
63688         (elfobjdir): Move out of conditionals.
63690         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
63691         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
63692         (__nss_lookup_function): Conditionalize label remove_from_tree on
63693         [!DO_STATIC_NSS || SHARED], matching its only use.
63695 2012-09-28  David S. Miller  <davem@davemloft.net>
63697         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
63698         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
63699         file.
63700         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
63701         sysdep_routines.
63702         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
63703         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
63704         when HWCAP_SPARC_CRYPTO is present.
63706 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
63708         * io/tst-mknodat.c: Create a FIFO instead of a socket.
63710 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
63712         [BZ #6530]
63713         * stdio-common/vfprintf.c (process_string_arg): Revert
63714         2000-07-22 change.
63716 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
63718         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
63719         for testcase.
63720         * stdio-common/tst-sprintf.c: Include <locale.h>
63721         (main): Test sprintf's handling of incomplete multibyte
63722         characters.
63724 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
63726         * elf/dl-runtime.c (VERSYMIDX): Removed.
63727         * elf/dl-version.c (VERSYMIDX): Likewise.
63728         * elf/do-rel.h (VERSYMIDX): Likewise.
63729         (VALIDX): Likewise.
63730         * elf/dynamic-link.h (VERSYMIDX): Likewise.
63731         * elf/rtld.c (VALIDX): Likewise.
63732         (ADDRIDX): Likewise.
63733         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
63734         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
63735         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
63736         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
63737         (VALIDX): Likewise.
63738         (ADDRIDX): Likewise.
63740 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
63742         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
63744 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
63746         [BZ #11438]
63747         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
63748         to global scope.
63749         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
63750         addresses are in the same scope as 192.0.2/24.
63751         * posix/gai.conf: Document new scope table defaults.
63753 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63755         [BZ #5298]
63756         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
63757         for ftell.  Compute offsets from write pointers instead.
63758         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
63760 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63762         [BZ #14543]
63763         * libio/Makefile (tests): New test case tst-fseek.
63764         * libio/tst-fseek.c: New test case to verify that fseek/ftell
63765         combination works in wide mode.
63766         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
63767         state when the external buffer state changes.
63769 2012-09-27  David S. Miller  <davem@davemloft.net>
63771         [BZ #14376]
63772         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
63773         pass reloc->r_addend in as the 'high' argument to
63774         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
63776         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63778 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
63780         * rt/tst-aio2.c: Include <pthread.h>.
63781         * rt/tst-aio3.c: Likewise.
63783 2012-09-27  Steve Ellcey  <sellcey@mips.com>
63785         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
63787 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
63789         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
63790         contents on [SHARED].
63792 2012-09-26  Marek Polacek  <polacek@redhat.com>
63794         [BZ #14530]
63795         [BZ #13741]
63796         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
63797         for C++ and GCC <4.3 as well as for non GCC compilers.
63799 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
63801         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63803 2012-09-25  Roland McGrath  <roland@hack.frob.com>
63805         * Makefile.in (all, install): Declare with .PHONY.
63806         Reported by Michael Hope <michael.hope@linaro.org>.
63808 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63810         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
63811         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
63812         system header.
63813         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
63814         Likewise.
63815         (sydep_routines): Add the new and the internal functions.
63816         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
63817         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
63818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
63819         (GLIBC_2.17): Add the new function.
63820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
63821         (GLIBC_2.17): Likewise.
63822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
63823         (GLIBC_2.17): Likewise.
63824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
63825         (GLIBC_2.17): Likewise.
63826         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
63828 2012-09-25  Alan Modra  <amodra@gmail.com>
63830         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
63831         Add release barrier before setting once_control to say
63832         initialisation is done.  Add hints on lwarx.  Use macro in
63833         place of isync.
63834         (clear_once_control): Add release barrier.
63836 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
63838         [BZ #13629]
63839         * math/s_clog.c (__clog): Handle more values close to |z| = 1
63840         specially.
63841         * math/s_clog10.c (__clog10): Likewise.
63842         * math/s_clog10f.c (__clog10f): Likewise.
63843         * math/s_clog10l.c (__clog10l): Likewise.
63844         * math/s_clogf.c (__clogf): Likewise.
63845         * math/s_clogl.c (__clogl): Likewise.
63846         * math/Makefile (libm-calls): Add x2y2m1.
63847         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
63848         (__x2y2m1): Likewise.
63849         (__x2y2m1l): Likewise.
63850         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
63851         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
63852         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
63853         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
63854         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
63855         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
63856         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
63857         * sysdeps/i386/fpu/libm-test-ulps: Update.
63858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63860         [BZ #14621]
63861         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
63862         int as type of variable DEPTH.
63863         (glob): Use size_t instead of int as type of variables NEWCOUNT
63864         and OLD_PATHC.
63866 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63868         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
63869         Add s_sincosf-sse2.
63870         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
63871         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
63872         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
63873         macros for using routine as __sincosf_ia32.
63874         Use macro for function declaration and weak_alias.
63875         * sysdeps/i386/fpu/libm-test-ulps: Update.
63877         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
63878         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63880         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
63881         subnormal argument.
63882         * math/s_cexpf.c (__cexpf): Likewise.
63883         * math/s_csinf.c (__csinf): Likewise.
63884         * math/s_csinhf.c (__csinhf): Likewise.
63885         * math/s_ctanf.c (__ctanf): Likewise.
63886         * math/s_ctanhf.c (__ctanhf): Likewise.
63887         * math/s_ccosh.c (__ccoshf): Likewise.
63888         * math/s_cexp.c (__cexpl): Likewise.
63889         * math/s_csin.c (__csin): Likewise.
63890         * math/s_csinh.c (__csinh): Likewise.
63891         * math/s_ctan.c (__ctan): Likewise.
63892         * math/s_ctanh.c (ctanh): Likewise.
63893         * math/s_ccoshl.c (__ccoshl): Likewise.
63894         * math/s_cexpl.c (__cexpl): Likewise.
63895         * math/s_csinl.c (__csinl): Likewise.
63896         * math/s_csinhl.c (__csinhl): Likewise.
63897         * math/s_ctanl.c (__ctanl): Likewise.
63898         * math/s_ctanhl.c (__ctanhl): Likewise.
63900 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
63902         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
63903         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
63904         (_IO_off_t): Define to __off_t, not _G_off_t.
63905         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
63906         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
63907         (_IO_wint_t): Define to wint_t, not _G_wint_t.
63908         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
63909         type of __dummy and __dummy2 fields.
63910         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
63911         (_G_ssize_t): Likewise.
63912         (_G_off_t): Likewise.
63913         (_G_pid_t): Likewise.
63914         (_G_uid_t): Likewise.
63915         (_G_wchar_t): Likewise.
63916         (_G_wint_t): Likewise.
63917         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
63918         (_G_ssize_t): Likewise.
63919         (_G_off_t): Likewise.
63920         (_G_pid_t): Likewise.
63921         (_G_uid_t): Likewise.
63922         (_G_wchar_t): Likewise.
63923         (_G_wint_t): Likewise.
63924         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
63925         (_G_ssize_t): Likewise.
63926         (_G_off_t): Likewise.
63927         (_G_pid_t): Likewise.
63928         (_G_uid_t): Likewise.
63929         (_G_wchar_t): Likewise.
63930         (_G_wint_t): Likewise.
63932 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
63934         * malloc/arena.c: Include malloc-sysdep.h.
63935         (shrink_heap): Use check_may_shrink_heap to decide if madvise
63936         is sufficient to shrink the heap or an unmap is needed.
63937         * sysdeps/generic/malloc-sysdep.h: New file.  Define
63938         new function check_may_shrink_heap.
63939         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
63940         new function check_may_shrink_heap.
63942 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
63944         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
63945         comments.
63947 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
63949         * catgets/test-gencat.sh: Add "set -e".
63950         * elf/tst-pathopt.sh: Likewise.
63951         * grp/tst_fgetgrent.sh: Likewise.
63952         * iconvdata/run-iconv-test.sh: Likewise.
63953         * intl/tst-gettext.sh: Likewise.
63954         * intl/tst-gettext2.sh: Likewise.
63955         * intl/tst-gettext4.sh: Likewise.
63956         * intl/tst-gettext6.sh: Likewise.
63957         * intl/tst-translit.sh: Likewise.
63958         * io/ftwtest-sh: Likewise.
63959         * libio/test-freopen.sh: Likewise.
63960         * malloc/tst-mtrace.sh: Likewise.
63961         * posix/globtest.sh: Likewise.
63962         * posix/tst-getconf.sh: Likewise.
63963         * posix/wordexp-tst.sh: Likewise.
63964         * stdio-common/tst-printf.sh: Likewise.
63965         * stdio-common/tst-unbputc.sh: Likewise.
63966         * stdlib/tst-fmtmsg.sh: Likewise.
63967         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
63968         * catgets/Makefile: Do not specify -e option when running
63969         testsuite shell scripts.
63970         * elf/Makefile: Likewise.
63971         * grp/Makefile: Likewise.
63972         * iconvdata/Makefile: Likewise.
63973         * intl/Makefile: Likewise.
63974         * io/Makefile: Likewise.
63975         * libio/Makefile: Likewise.
63976         * malloc/Makefile: Likewise.
63977         * posix/Makefile: Likewise.
63978         * stdio-common/Makefile: Likewise.
63979         * stdlib/Makefile: Likewise.
63980         * sysdeps/x86_64/Makefile: Likewise.
63982         * io/ftwtest-sh: Add copyright header.
63983         * posix/globtest.sh: Likewise.
63984         * posix/tst-getconf.sh: Likewise.
63985         * posix/wordexp-tst.sh: Likewise.
63986         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
63988 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
63990         [BZ #13679]
63991         * Makeconfig (+link): Defined as $(+link-static) if
63992         $(build-shared) isn't yes.
63993         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
63994         isn't yes.
63995         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
63997         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
63999         [BZ #14562]
64000         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
64001         new chunk size with MALLOC_ALIGN_MASK.
64003 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
64005         [BZ #5044]
64006         * stdio-common/printf_fphex.c: Include <stdbool.h> and
64007         <rounding-mode.h>.
64008         (__printf_fphex): Determine rounding using get_rounding_mode and
64009         round_away.
64010         * stdio-common/tst-printf-round.c (struct hex_test): New
64011         structure.
64012         (hex_tests): New variable.
64013         (test_hex_in_one_mode): New function.
64014         (do_test): Also run tests for hex float output.
64016 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
64018         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
64019         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
64020         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
64021         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
64022         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
64023         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
64024         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
64025         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
64027 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
64029         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
64030         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
64031         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
64032         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
64034 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
64036         [BZ #14579]
64037         * elf/rtld.c (dl_main): Limit the check for self loading to normal
64038         mode only.
64039         * elf/tst-rtld-load-self.sh: New test.
64040         * elf/Makefile: Run it.
64042 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
64044         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
64045         (tst-writev-ENV): Remove.
64046         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
64048 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
64050         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
64052 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
64054         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
64055         unconditional.
64056         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
64057         Likewise.
64058         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
64059         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
64060         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
64061         Likewise.
64063 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
64065         [BZ #14587]
64066         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
64067         * config.make.in (have-cpp-asm-debuginfo): Removed.
64068         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
64069         * configure: Regenerated.
64071 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
64073         [BZ #5044]
64074         * stdio-common/printf_fp.c: Include <stdbool.h> and
64075         <rounding-mode.h>.
64076         (___printf_fp): Determine rounding using get_rounding_mode and
64077         round_away.
64078         * stdio-common/tst-printf-round.c: New file.
64079         * stdio-common/Makefile (tests): Add tst-printf-round.
64080         (link-libm): New variable.
64081         ($(objpfx)tst-printf-round): Depend in $(link-libm).
64083 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
64085         [BZ #14576]
64086         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
64087         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
64088         Likewise.
64089         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
64090         Likewise.
64092 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
64094         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
64095         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
64096         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
64097         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
64099 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
64101         [BZ #14518]
64102         * include/rounding-mode.h: New file.
64103         * sysdeps/generic/get-rounding-mode.h: Likewise.
64104         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
64105         * stdlib/strtod_l.c: Include <rounding-mode.h>.
64106         (MAX_VALUE): New macro.
64107         (MIN_VALUE): Likewise.
64108         (overflow_value): New function.
64109         (underflow_value): Likewise.
64110         (round_and_return): Use overflow_value and underflow_value to
64111         determine return values in overflow and underflow cases.  Use
64112         round_away to determine rounding depending on rounding mode.
64113         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
64114         determine return values in overflow and underflow cases.
64115         * stdlib/tst-strtod-round.c: Include <fenv.h>.
64116         (struct test_results): New structure.
64117         (struct test): Use struct test_results to store expected results
64118         for all rounding modes.
64119         (TEST): Include expected results for all rounding modes.
64120         (test_in_one_mode): New function.
64121         (do_test): Use test_in_one_mode to compute and check results.
64122         Check results for all rounding modes.
64123         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
64124         $(link-libm).
64126 2012-12-09  Allan McRae  <allan@archlinux.org>
64128         * sysdeps/i386/fpu/libm-test-ulps: Update
64130 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
64132         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
64133         (_G_int32_t): Likewise.
64134         (_G_uint16_t): Likewise.
64135         (_G_uint32_t): Likewise.
64136         (_G_HAVE_BOOL): Likewise.
64137         (_G_HAVE_ATEXIT): Likewise.
64138         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
64139         (_G_HAVE_IO_FILE_OPEN): Likewise.
64140         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
64141         (_G_int32_t): Likewise.
64142         (_G_uint16_t): Likewise.
64143         (_G_uint32_t): Likewise.
64144         (_G_HAVE_BOOL): Likewise.
64145         (_G_HAVE_ATEXIT): Likewise.
64146         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
64147         (_G_HAVE_IO_FILE_OPEN): Likewise.
64148         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
64149         (_G_int32_t): Likewise.
64150         (_G_uint16_t): Likewise.
64151         (_G_uint32_t): Likewise.
64152         (_G_HAVE_BOOL): Likewise.
64153         (_G_HAVE_ATEXIT): Likewise.
64154         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
64155         (_G_HAVE_IO_FILE_OPEN): Likewise.
64157 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
64159         * csu/libc-tls.c: Update copyright years.
64161 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
64163         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
64164         [!_G_USING_THUNKS]: Remove conditional code.
64165         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
64166         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
64168         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
64169         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
64170         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
64171         (_G_VTABLE_LABEL_PREFIX): Likewise.
64172         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
64173         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
64174         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
64175         (_G_VTABLE_LABEL_PREFIX): Likewise.
64176         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
64177         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
64178         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
64179         (_G_VTABLE_LABEL_PREFIX): Likewise.
64180         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
64182 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
64184         * libio/Makefile: Include ../Makeconfig before tests.
64185         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
64186         only if $(build-shared) is yes.
64188         * iconv/gconv_db.c: Update copyright years.
64190 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64192         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
64193         unwind info if defined PIC. Fix special cases description.
64194         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
64196         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
64197         DP_HI_MASK entry.
64198         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
64200 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
64202         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
64204         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
64205         is NULL.
64207         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
64208         (LDLIBS-tst-chk4): This.
64209         (LDFLAGS-tst-chk5): Renamed to ...
64210         (LDLIBS-tst-chk5): This.
64211         (LDFLAGS-tst-chk6): Renamed to ...
64212         (LDLIBS-tst-chk6): This.
64213         (LDFLAGS-tst-lfschk4): Renamed to ...
64214         (LDLIBS-tst-lfschk4): This.
64215         (LDFLAGS-tst-lfschk5): Renamed to ...
64216         (LDLIBS-tst-lfschk5): This.
64217         (LDFLAGS-tst-lfschk6): Renamed to ...
64218         (LDLIBS-tst-lfschk6): This.
64220         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
64221         on $(common-objpfx)soversions.mk.
64223 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
64225         [BZ #10014]
64226         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
64227         example host name.
64229 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
64231         * malloc/arena.c (arena_get_retry): New function that gets
64232         another arena for the caller to try its request on.
64233         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
64234         current arena cannot fulfill the request.
64235         (__libc_memalign): Likewise.
64236         (__libc_memalign): Likewise.
64237         (__libc_pvalloc): Likewise.
64238         (__libc_calloc): Likewise.
64240 2012-09-05  John Tobey  <john.tobey@gmail.com>
64242         [BZ #13542]
64243         * manual/arith.texi (Operations on Complex): Fix description
64244         of carg branch cut.
64246 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
64248         [BZ #10014]
64249         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
64250         host name.
64252         [BZ #10038]
64253         * manual/memory.texi (Memory): Make order of menu items match
64254         order of sections.
64256 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
64258         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
64259         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
64260         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
64262 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
64264         * csu/libc-tls.c (static_dtv): Renamed to ...
64265         (_dl_static_dtv): This.  Make it global.
64266         (_dl_initial_dtv): Removed.
64267         (__libc_setup_tls): Updated.
64268         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
64269         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
64270         DL_INITIAL_DTV.
64272 2012-09-06  Petr Machata  <pmachata@redhat.com>
64274         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
64275         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
64276         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
64277         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
64279 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
64281         [BZ #14545]
64282         * csu/libc-tls.c (_dl_initial_dtv): New variable.
64283         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
64284         freeing dtv[-1].
64286 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
64288         [BZ #14544]
64289         * Makeconfig (link-static-before-libc): Replace $(+prector)
64290         with $(+prectorT).
64291         (link-static-after-libc): Replace $(+postctor) with
64292         $(+postctorT).
64293         (link-bounded): Replace $(+prector)/$(+postctor) with
64294         $(+prectorT)/$(+postctorT).
64295         (+prectorT): New macro.
64296         (+postctorT): Likewise.
64298 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
64300         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
64301         (round_str): Handle values above the maximum for IBM long double
64302         as inexact.
64303         * stdlib/tst-strtod-round.c (tests): Regenerated.
64305 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64307         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
64308         assembler flag.
64309         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
64310         zarch_nohighgprs around the zarch optimized routines.
64311         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
64312         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
64313         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
64314         for zarch.
64316 2012-09-05  David S. Miller  <davem@davemloft.net>
64318         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64320         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
64321         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
64322         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
64323         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
64324         entries.
64326 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
64328         * malloc/arena.c: Fold copyright years.
64329         * malloc/mcheck.c, malloc/memusage.c: Likewise.
64331 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
64333         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
64335 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
64337         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
64339 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
64341         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
64342         change internal state upon failure.
64344 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
64346         * malloc/mcheck.c (mcheck_check_all): Fix typo.
64347         * malloc/memusage.c (mmap): Likewise.
64348         (mmap64, mremap): Likewise.  Adjust name in comment.
64350 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
64352         * libio/fileops.c: Fix typos in comments.
64353         * libio/oldfileops.c: Likewise.
64354         * libio/wfileops.c: Likewise.
64356 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
64358         [BZ #1349]
64359         * malloc/Makefile (tests): Add tst-malloc-usable test case.
64360         (tst-malloc-usable-ENV): Set environment for test case.
64361         * malloc/hooks.c (malloc_check_get_size): New function to get
64362         requested size.
64363         * malloc/malloc.c (musable): Use malloc_check_get_size.
64364         * malloc/tst-malloc-usable.c: New test case.
64366 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
64368         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
64370 2012-09-05  Allan McRae  <allan@archlinux.org>
64372         [BZ #13966]
64373         * configure.in (CXX_SYSINCLUDES): Use compiler output to
64374         determine header location.
64375         * configure: Regenerated.
64377 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
64379         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
64380         float format.
64381         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
64382         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
64383         format.
64384         (test): Regenerate.
64386 2012-09-04  David S. Miller  <davem@davemloft.net>
64388         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
64389         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
64390         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
64392 2012-09-04  Florian Weimer  <fweimer@redhat.com>
64394         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
64395         failures.
64397         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
64399 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
64401         [BZ #9914]
64402         * libio/iogetdelim.c: Include <limits.h>.
64403         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
64404         + len + 1 would overflow.
64406 2012-09-03  Andreas Jaeger  <aj@suse.de>
64408         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64409         * sysdeps/i386/fpu/libm-test-ulps: Update.
64411 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64413         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
64414         Add s_sinf-sse2, s_conf-sse2.
64416         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
64417         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
64418         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
64419         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
64421         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
64422         for using routine as __sinf_ia32.
64423         Use macro for function declaration and weak_alias.
64424         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
64425         for using routine as __cosf_ia32.
64426         Use macro for function declaration and weak_alias.
64428         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
64429         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
64431         * sysdeps/x86_64/fpu/s_sinf.S: New file.
64432         * sysdeps/x86_64/fpu/s_cosf.S: New file.
64433         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64435         * math/libm-test.inc (cos_test): Add more test cases.
64436         (sin_test): Likewise.
64437         (sincos_test): Likewise.
64439 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64441         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
64442         (IFUNC_RESOLVE): Make pointers to the specialized implementations
64443         hidden.
64444         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
64446 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
64448         [BZ #14538]
64449         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
64450         first element of the GOT.
64451         (elf_machine_load_address): Return the difference between
64452         the runtime address of _DYNAMIC and elf_machine_dynamic ().
64454 2012-09-01  Allan McRae  <allan@archlinux.org>
64456         [BZ #13412]
64457         * configure.in (AWK): Require gawk version 3.0 or later.
64458         * configure: Regenerated.
64460 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
64462         * sysdeps/unix/sysv/linux/kernel-features.h
64463         (__ASSUME_POSIX_CPU_TIMERS): Remove.
64464         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
64465         [__NR_clock_getres]: Make code unconditional.
64466         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
64467         (clock_getcpuclockid): Remove code left unreachable by removal of
64468         conditionals.
64469         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
64470         code unconditional.
64471         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
64472         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
64473         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
64474         Make code unconditional.
64475         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
64476         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
64477         * sysdeps/unix/sysv/linux/clock_settime.c
64478         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
64479         conditional code.
64480         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
64481         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
64483 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
64485         [BZ #14476]
64486         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
64487         scripts/test-installation.pl.
64489         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
64490         and $ld_so_version if it is set.
64492 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
64494         [BZ #14516]
64495         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
64496         failure if reading from procfs failed.
64497         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
64499 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
64501         * sysdeps/unix/sysv/linux/kernel-features.h
64502         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
64503         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
64504         Remove conditional code.
64505         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64506         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
64507         Remove conditional code.
64508         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64509         * sysdeps/unix/sysv/linux/i386/fxstat.c
64510         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
64511         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64512         * sysdeps/unix/sysv/linux/i386/fxstatat.c
64513         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
64514         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64515         * sysdeps/unix/sysv/linux/i386/lxstat.c
64516         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
64517         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64518         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
64519         Remove conditional code.
64520         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64521         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
64522         Remove conditional code.
64523         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64524         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
64525         <kernel-features.h>.
64526         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
64527         Remove.
64528         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
64529         Remove conditional code.
64530         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64531         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
64532         Remove conditional.
64534 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
64536         [BZ #5400]
64537         * NEWS: Add fixed bug number.
64539 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
64541         [BZ #14519]
64542         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
64543         underflowing exponent in case of negative sign.
64544         * stdlib/tst-strtod-round-data: Add more tests.
64545         * stdlib/tst-strtod-round.c (tests): Regenerated.
64547         [BZ #3479]
64548         * stdlib/strtod_l.c (NDIG): Remove.
64549         (HEXNDIG): Likewise.
64550         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
64551         smallest representable value.
64552         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
64553         lie within an exact representation of 1/2 ulp of the result.
64554         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
64555         unconditionally.
64556         (TENS_P9_IDX): Define unconditionally.
64557         (TENS_P9_SIZE): Likewise.
64558         (TENS_P10_IDX): Likewise.
64559         (TENS_P10_SIZE): Likewise.
64560         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
64561         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
64562         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
64563         entries for 10^2^13 and 10^2^14.
64564         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
64565         (TENS_P13_IDX): Define.
64566         (TENS_P13_SIZE): Likewise.
64567         (TENS_P14_IDX): Likewise.
64568         (TENS_P14_SIZE): Likewise.
64569         (_fpioconst_pow10): Change array size to
64570         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
64571         unconditional.
64572         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
64573         1024]: Add entries for 10^2^13 and 10^2^14.
64574         [LAST_POW10 > _LAST_POW10]: Remove #error.
64575         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
64576         (_fpioconst_pow10): Change array size to
64577         FPIOCONST_POW10_ARRAY_SIZE.
64578         * stdlib/gen-fpioconst.c: New file.
64579         * stdlib/gen-tst-strtod-round.c: Likewise.
64580         * stdlib/tst-strtod-round-data: Likewise.
64581         * stdlib/tst-strtod-round.c: Likewise.
64582         * stdlib/Makefile (tests): Add tst-strtod-round.
64584         [BZ #14459]
64585         * stdlib/strtod_l.c: Include <stdint.h>.
64586         (NDEBUG): Do not define.
64587         (round_and_return): Change EXPONENT parameter to type intmax_t.
64588         Rearrange calculations to avoid internal overflow possibilities.
64589         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
64590         Rearrange calculations to avoid internal overflow possibilities.
64591         Assert that number fits inside MPNSIZE limbs.
64592         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
64593         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
64594         calculations and add assertions to avoid internal overflow
64595         possibilities.  Add casts to avoid signed/unsigned operations.
64596         * stdlib/tst-strtod-overflow.c: New file.
64597         * stdlib/Makefile (tests): Add tst-strtod-overflow.
64599 2012-08-25  Marek Polacek  <polacek@redhat.com>
64601         * time/time.h: Fix some typos in comments.
64603 2012-08-23  Roland McGrath  <roland@hack.frob.com>
64605         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
64606         * posix/tst-rfc3484-2.c: Likewise.
64607         * posix/tst-rfc3484-3.c: Likewise.
64609 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
64611         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
64612         (EF_ARM_ABI_FLOAT_HARD): Likewise.
64614 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
64616         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
64617         #include of fxstatat64.c.
64619 2012-08-22  Roland McGrath  <roland@hack.frob.com>
64621         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
64622         * shadow/getspent_r.c: Likewise.
64623         * shadow/getspnam.c: Likewise.
64624         * shadow/getspnam_r.c: Likewise.
64625         * gshadow/getsgent.c: Likewise.
64626         * gshadow/getsgent_r.c: Likewise.
64627         * gshadow/getsgnam.c: Likewise.
64628         * gshadow/getsgnam_r.c: Likewise.
64629         * inet/getnetbyad.c: Likewise.
64630         * inet/getnetbyad_r.c: Likewise.
64631         * inet/getnetbynm.c: Likewise.
64632         * inet/getnetbynm_r.c: Likewise.
64633         * inet/getnetent.c: Likewise.
64634         * inet/getnetent_r.c: Likewise.
64635         * inet/getproto.c: Likewise.
64636         * inet/getproto_r.c: Likewise.
64637         * inet/getprtent.c: Likewise.
64638         * inet/getprtent_r.c: Likewise.
64639         * inet/getprtname.c: Likewise.
64640         * inet/getprtname_r.c: Likewise.
64641         * inet/getrpcbyname.c: Likewise.
64642         * inet/getrpcbyname_r.c: Likewise.
64643         * inet/getrpcbynumber.c: Likewise.
64644         * inet/getrpcbynumber_r.c: Likewise.
64645         * inet/getrpcent.c: Likewise.
64646         * inet/getrpcent_r.c: Likewise.
64647         * inet/getaliasent.c: Likewise.
64648         * inet/getaliasent_r.c: Likewise.
64649         * inet/getaliasname.c: Likewise.
64650         * inet/getaliasname_r.c: Likewise.
64651         * nscd/getgrgid_r.c: Likewise.
64652         * nscd/getgrnam_r.c: Likewise.
64653         * nscd/gethstbyad_r.c: Likewise.
64654         * nscd/gethstbynm3_r.c: Likewise.
64655         * nscd/getpwnam_r.c: Likewise.
64656         * nscd/getpwuid_r.c: Likewise.
64657         * nscd/getsrvbynm_r.c: Likewise.
64658         * nscd/getsrvbypt_r.c: Likewise.
64659         * nscd/gai.c: Likewise.
64661         * configure.in (build_nscd): New substituted variable, set
64662         by --disable-build-nscd and defaults to $use_nscd.
64663         * configure: Regenerated.
64664         * config.make.in (build-nscd): New substituted variable.
64665         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
64666         Change conditional to require [$(build-nscd) = yes] as well.
64667         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
64669         [BZ# 13696]
64670         * configure.in (use_nscd): New substituted variable, set by
64671         --disable-nscd.  If enabled, define USE_NSCD.
64672         * configure: Regenerated.
64673         * config.h.in: Add USE_NSCD.
64674         * config.make.in (use-nscd): New substituted variable.
64675         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
64676         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
64677         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
64678         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
64679         (CFLAGS-getgrnam_r.c): Likewise.
64680         (CFLAGS-initgroups.c): Likewise.
64681         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
64682         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
64683         Variables removed.
64684         * inet/getnetgrent_r.c
64685         (nscd_setnetgrent): New function, broken out of ...
64686         (setnetgrent): ... here.  Call it.
64687         (innetgr): Conditionalize nscd bits on [USE_NSCD].
64688         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
64689         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
64690         * nscd/Makefile (routines, aux): Move definitions after include of
64691         Makeconfig.  Conditionalize on [$(use-nscd) != no].
64692         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
64693         Conditionalize on [USE_NSCD].
64694         (is_nscd, nscd_init_cb): Likewise.
64695         (nss_load_library): Conditionalize init callback on [USE_NSCD].
64696         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
64697         * nss/nss_db/db-init.c: Likewise.
64698         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
64699         [USE_NSCD].
64700         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
64701         (make_request): Use it.
64702         (cache_valid_p): New function.
64703         (__check_pf): Use it.
64704         * NEWS: Add item for --disable-nscd.
64706 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
64708         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
64709         to support sed >= 4.2.1-20-ga9bf076.
64710         * configure: Regenerated.
64712 2012-08-22  Roland McGrath  <roland@hack.frob.com>
64714         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
64715         Conditionalize whole body on [IREL].
64717 2012-08-22  Jeff Law <law@redhat.com>
64719         [BZ #14505]
64720         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
64721         if the family is PF_UNSPEC.
64723 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
64725         * Makerules (lib-version): Rename from V.
64726         (install-lib-nosubdir): Change V to lib-version.
64728 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
64730         [BZ #14252]
64731         * powerpc32/power6/wcschr.c: New file.
64732         * powerpc32/power6/wcscpy.c: New file.
64733         * powerpc32/power6/wcsrchr.c: New file.
64734         * powerpc64/power6/wcschr.c: New file.
64735         * powerpc64/power6/wcscpy.c: New file.
64736         * powerpc64/power6/wcsrchr.c: New file.
64738 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
64740         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
64741         (two_way_short_needle): Use it.
64742         * string/strstr.c (AVAILABLE1_USES_J): Define.
64743         * string/strcasestr.c: Likewise.
64745         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
64746         array references.
64747         * string/strcasestr.c (TOLOWER): Make side-effect safe.
64749         [BZ #11607]
64750         * NEWS: Add an entry.
64751         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
64752         define their defaults.
64753         (two_way_short_needle): Detect end-of-string on-the-fly.
64754         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
64755         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
64756         * string/bug-strcasestr1.c: New test.
64757         * string/Makefile: Run it.
64759 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
64761         [BZ #11607]
64762         * string/str-two-way.h (two_way_short_needle): Optimize matching of
64763         the first character.
64765 2012-08-21  Roland McGrath  <roland@hack.frob.com>
64767         * csu/elf-init.c (__libc_csu_irel): Function removed.
64768         * csu/libc-start.c (apply_irel): New function.
64769         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
64771 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
64773         * sysdeps/unix/sysv/linux/kernel-features.h
64774         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
64775         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
64776         <kernel-features.h>.
64777         [__NR_fadvise64_64]: Make code unconditional.
64778         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
64779         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
64780         !__NR_fadvise64_64)]: Likewise.
64781         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
64782         !__NR_fadvise64_64))]: Likewise.
64783         [__NR_fadvise64]: Make code unconditional.
64784         [!__NR_fadvise64]: Remove conditional code.
64785         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
64786         <kernel-features.h>.
64787         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
64788         unconditional.
64789         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
64790         conditional code.
64791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
64792         not include <kernel-features.h>.
64793         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
64794         unconditional.
64795         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
64796         conditional code.
64797         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
64798         include <kernel-features.h>.
64799         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
64800         unconditional.
64801         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
64802         conditional code.
64804 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
64806         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
64807         slight instruction rearrangements per scrollpipe analysis.
64808         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
64810 2012-08-20  Roland McGrath  <roland@hack.frob.com>
64812         * manual/syslog.texi (syslog; vsyslog, closelog):
64813         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
64814         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
64816         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
64817         DSOCAPS to match condition on defining it.
64819 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
64821         * sysdeps/unix/sysv/linux/kernel-features.h
64822         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
64823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
64824         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
64825         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
64826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
64827         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
64828         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
64829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
64830         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
64831         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
64833         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
64834         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
64836         * sysdeps/unix/sysv/linux/kernel-features.h
64837         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
64838         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
64839         unconditional.
64840         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64841         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
64842         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
64843         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64844         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
64845         Make code unconditional.
64846         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64847         (__mmap64) [!__NR_mmap2]: Likewise.
64848         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
64849         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
64850         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64851         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
64852         [__NR_mmap2]: Make code unconditional.
64853         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64854         (__mmap64) [!__NR_mmap2]: Likewise.
64856 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64858         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
64860 2012-08-18  Andreas Jaeger  <aj@suse.de>
64862         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
64864 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
64866         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
64867         * include/unistd.h (__have_sock_cloexec): Likewise.
64868         (__have_pipe2): Likewise.
64869         (__have_dup3): Likewise.
64871 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
64873         [BZ #9685]
64874         * include/unistd.h (__have_pipe2): Change define into an extern int.
64875         (__have_dup3): Likewise.
64876         * socket/have_sock_cloexec.c: Include fcntl.h.
64877         (__have_pipe2): New variable.
64878         (__have_dup3): Likewise.
64880 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
64882         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
64884 2012-08-17  Marek Polacek  <polacek@redhat.com>
64886         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
64887         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
64889 2012-08-17  Roland McGrath  <roland@hack.frob.com>
64891         * configure.in: Add AC_SUBST for sysheaders.
64892         * configure: Regenerated.
64893         * config.make.in (sysheaders): New substituted variable.
64895         * sysdeps/unix/mkfifo.c: Moved ...
64896         * sysdeps/posix/mkfifo.c: ... here.
64897         * sysdeps/unix/mkfifoat.c: Moved ...
64898         * sysdeps/posix/mkfifoat.c: ... here.
64900         * sysdeps/unix/utime.c: Moved ...
64901         * sysdeps/posix/utime.c: ... here.
64903         * sysdeps/unix/time.c: Moved ...
64904         * sysdeps/posix/time.c: ... here.
64905         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
64906         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
64908         * sysdeps/unix/nice.c: Moved ...
64909         * sysdeps/posix/nice.c: ... here.
64911         * sysdeps/unix/alarm.c: Moved ...
64912         * sysdeps/posix/alarm.c: ... here.
64914         * intl/Makefile ($(codeset_mo)): Depend on the input file.
64916 2012-08-17  Jeff Law <law@redhat.com>
64918         * intl/Makefile (codeset_mo): New variable.
64919         ($(codeset_mo)): New target.
64920         (tst-codeset.out): Depend on that.  Remove explicit rule.
64921         (tst-gettext3.out, tst-gettext5.out): Likewise.
64922         (LOCPATH-ENV, tst-codeset-ENV): New variables.
64923         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
64924         * intl/tst-codeset.sh: Remove.
64925         * intl/tst-gettext3.sh: Likewise.
64926         * intl/tst-gettext5.sh: Likewise.
64928 2012-08-17  Roland McGrath  <roland@hack.frob.com>
64930         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
64931         * sysdeps/unix/syscalls.list: ... here.
64933         * sysdeps/posix/getaddrinfo.c
64934         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
64935         (gaiconf_init, gaiconf_reload): Use them.
64936         [!_STATBUF_ST_NSEC]
64937         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
64938         Define using time_t rather than struct timespec.
64940         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
64941         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
64942         Macros removed.
64943         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
64944         [!NO_THREADS].
64945         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
64946         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
64947         Likewise.
64949         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
64950         __libc_cleanup_push argument.
64952         * bits/param.h: New file.
64953         * misc/sys/param.h: New file.
64954         * include/sys/param.h: New file.
64955         * misc/Makefile (headers): Add bits/param.h.
64956         * sysdeps/generic/sys/param.h: File removed.
64957         * sysdeps/unix/sysv/linux/bits/param.h: New file.
64958         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
64959         * sysdeps/mach/hurd/bits/param.h: New file.
64960         * sysdeps/mach/hurd/sys/param.h: File removed.
64962         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
64963         last change.
64965         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
64966         [_IO_MTSAFE_IO].
64967         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
64968         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
64969         New macros.
64971         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
64972         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
64973         rather than -D_IO_MTSAFE_IO conditionally.
64974         * stdio-common/Makefile (CPPFLAGS): Likewise.
64975         * wcsmbs/Makefile (CPPFLAGS): Likewise.
64976         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
64977         Use $(libio-mtsafe).
64978         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
64979         of -D_IO_MTSAFE_IO.
64980         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
64981         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
64982         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
64983         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
64984         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
64985         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
64986         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
64987         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
64988         (CFLAGS-fread_u_chk.c): Likewise.
64989         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
64990         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
64991         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
64992         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
64993         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
64994         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
64995         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
64996         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
64997         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
64999         * libio/Makefile: Test [$(libc-reentrant) = yes]
65000         instead of [$(filter %REENTRANT, $(defines)) nonempty].
65002         * Makeconfig
65003         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
65004         * sysdeps/pthread/configure: File removed.
65005         * sysdeps/pthread/Makeconfig: New file.
65006         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
65007         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
65009 2012-08-16  Gary Benson  <gbenson@redhat.com>
65011         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
65012         unmapping the first object in a namespace.
65014 2012-08-16  Roland McGrath  <roland@hack.frob.com>
65016         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
65017         (__internal_setnetgrent): ... this.  Add internal_function to
65018         definition.  Add libc_hidden_def.
65019         (setnetgrent): Update caller.
65020         (internal_endnetgrent): Renamed to ...
65021         (__internal_endnetgrent): ... this.  Add internal_function to
65022         definition.  Add libc_hidden_def.
65023         (endnetgrent): Update caller.
65024         (internal_getnetgrent_r): Renamed to ...
65025         (__internal_getnetgrent_r): ... this.  Add internal_function to
65026         definition.  Add libc_hidden_def.
65027         (__getnetgrent_r): Update caller.
65028         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
65030 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
65032         * stdlib/longlong.h: Update from GCC.
65034 2012-08-16  Roland McGrath  <roland@hack.frob.com>
65036         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
65037         on _QL, which is set by umul_ppmm but never used.
65038         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
65039         variables, which are set by GMP macros but never used.
65040         * stdio-common/_itowa.c (_itowa): Likewise.
65041         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
65042         * stdlib/mod_1.c (mpn_mod_1): Likewise.
65044 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
65046         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
65047         struct La_sh_regs is not constant.
65048         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
65049         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
65050         and struct La_sparc64_regs are not constant.
65052 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
65054         * sysdeps/unix/sysv/linux/kernel-features.h
65055         (__ASSUME_POSIX_TIMERS): Remove.
65056         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
65057         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
65058         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
65059         Make code unconditional.
65060         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
65061         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
65062         Make code unconditional.
65063         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
65064         * sysdeps/unix/sysv/linux/clock_nanosleep.c
65065         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
65066         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
65067         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
65068         Make code unconditional.
65069         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
65070         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
65071         (__libc_missing_posix_timers): Remove.
65073 2012-08-15  Roland McGrath  <roland@hack.frob.com>
65075         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
65076         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
65078         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
65080         * elf/dl-sym.c: Include <stdlib.h>.
65082         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
65083         constants, which avoids warnings in 32-bit builds.
65085         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
65086         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
65088         * misc/lseek.c: File moved to ...
65089         * io/lseek.c: ... here.
65091         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
65093         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
65094         shifting LEN more than 31 bits at once.
65096 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65098         [BZ #14195]
65099         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
65100         segmentation fault for a case of two empty input strings.
65101         * string/test-strncasecmp.c (check1): Renamed to...
65102         (bz12205): ...this.
65103         (bz14195): Add new testcase for two empty input strings and N > 0.
65104         (test_main): Call new testcase, adapt for renamed function.
65106 2012-08-15  Andreas Jaeger  <aj@suse.de>
65108         [BZ #14090]
65109         * crypt/md5test2.c: New test, based on test supplied by Serge
65110         Belyshev <belyshev@depni.sinp.msu.ru>.
65111         * crypt/Makefile (xtests): Add md5test-giant..
65112         * crypt/Makefile ($(objpfx)md5test-giant): Add.
65114 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
65116         [BZ #14090]
65117         * crypt/md5.c (md5_process_block): Don't assume the buffer
65118         length is less than 2**32.
65119         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
65120         length is less than 2**64.
65122 2012-08-15  Roland McGrath  <roland@hack.frob.com>
65124         * string/str-two-way.h: Include <sys/param.h>.
65125         (MAX): Macro removed.
65127         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
65128         Move #define and #undef of memmove to just before and after
65129         including <string.h>.
65131         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
65132         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
65133         and after including <string.h>.  Move declarations of
65134         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
65135         to before #include "string/memmove.c".
65137         * include/dirent.h: Declare __getdirentries.
65139         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
65140         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
65142 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
65144         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
65145         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
65146         * sysdeps/i386/configure: Regenerated.
65147         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
65148         STABS_CURRENT_FILE, and STABS_FUN.
65149         (END): Remove call to STABS_FUN_END.
65150         (STABS_CURRENT_FILE1): Delete.
65151         (STABS_CURRENT_FILE): Likewise.
65152         (STABS_FUN): Likewise.
65153         (STABS_FUN_END): Likewise.
65154         (STABS_FUN2): Likewise.
65155         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
65156         * sysdeps/x86_64/configure: Regenerated.
65158 2012-08-14  Roland McGrath  <roland@hack.frob.com>
65160         * elf/dl-open.c: Include <atomic.h>.
65161         * elf/dl-lookup.c: Likewise.
65163 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
65165         * sysdeps/unix/sysv/linux/kernel-features.h
65166         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
65167         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
65168         unconditionally.
65169         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
65170         unconditionally.
65171         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
65172         condition on __ASSUME_CLONE_THREAD_FLAGS.
65174 2012-08-14  Andreas Jaeger  <aj@suse.de>
65176         * sysdeps/i386/fpu/libm-test-ulps: Update.
65178 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
65180         * include/atomic.h (atomic_exchange_and_add): Split into ...
65181         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
65182         New atomic macros.
65184 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
65186         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65188 2012-08-13  Jeff Law <law@redhat.com>
65190         * manual/stdio.texi (snprintf): Clarify handling of the trailing
65191         null byte in the output string.
65193 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
65195         * sysdeps/unix/sysv/linux/kernel-features.h
65196         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
65197         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
65198         (__ASSUME_ARG_MAX_STACK_BASED): Define.
65199         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
65200         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
65201         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
65202         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
65204 2012-08-09  Jeff Law <law@redhat.com>
65206         [BZ #13939]
65207         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
65208         When avoid_arena is set, don't retry in the that arena.  Pick the
65209         next one, whatever it might be.
65210         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
65211         (arena_lock): Pass in new parameter to arena_get2.
65212         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
65213         arena_get2.
65214         (__libc_malloc): Unify retrying after main arena failure with
65215         __libc_memalign version.
65216         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
65218 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
65220         [BZ #14166]
65221         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
65222         to __redirect_strstr.
65223         (__strstr_sse42): Use typeof __redirect_strstr.
65224         (__strstr_ia32): Likewise.
65225         (__libc_strstr): New prototype.
65226         (strstr): Renamed to ...
65227         (__libc_strstr): This.
65228         (strstr): New strong alias of __libc_strstr.
65229         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
65230         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
65231         __redirect_time.
65232         Include <time.h>.
65233         (__libc_time): New prototype.
65234         (time_ifunc): Replace time with __libc_time.
65235         (time): New strong alias and hidden definition of __libc_time.
65236         (__GI_time): Remove strong alias.
65237         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
65238         Include <stddef.h>.
65239         (memmove): Redefined to __redirect_memmove.
65240         (__memmove_sse2): Use typeof __redirect_memmove.
65241         (__memmove_ssse3): Likewise.
65242         (__memmove_ssse3_back): Likewise.
65243         (__libc_memmove): New prototype.
65244         (memmove): Renamed to ...
65245         (__libc_memmove): This.
65246         (memmove): New strong alias of __libc_memmove.
65248 2012-08-08  Mark Salter  <msalter@redhat.com>
65250         * elf/elf.h
65251         (R_MN10300_TLS_GD): Define.
65252         (R_MN10300_TLS_LD): Likewise.
65253         (R_MN10300_TLS_LDO): Likewise.
65254         (R_MN10300_TLS_GOTIE): Likewise.
65255         (R_MN10300_TLS_IE): Likewise.
65256         (R_MN10300_TLS_LE): Likewise.
65257         (R_MN10300_TLS_DTPMOD): Likewise.
65258         (R_MN10300_TLS_DTPOFF): Likewise.
65259         (R_MN10300_TLS_TPOFF): Likewise.
65260         (R_MN10300_SYM_DIFF): Likewise.
65261         (R_MN10300_ALIGN): Likewise.
65262         (R_MN10300_NUM): Update.
65264 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
65266         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
65267         Remove.
65269 2012-08-08  Roland McGrath  <roland@hack.frob.com>
65271         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
65273         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
65274         sysdeps/unix -> sysdeps/posix move.
65275         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
65277 2012-08-07      Allan McRae     <allan@archlinux.org>
65279         [BZ #14303]
65280         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
65281         (SUNOS_CPP): Likewise.
65282         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
65283         not found.
65284         (open_input): Call CPP using execvp.
65286 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
65288         * sysdeps/unix/sysv/linux/kernel-features.h
65289         (__ASSUME_PROT_GROWSUPDOWN): Remove.
65290         (__ASSUME_NO_CLONE_DETACHED): Likewise.
65291         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
65292         (__ASSUME_WAITID_SYSCALL): Likewise.
65293         * sysdeps/unix/sysv/linux/dl-execstack.c
65294         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
65295         code unconditional.
65296         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
65297         conditional code.
65298         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
65299         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
65300         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
65301         code.
65302         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
65303         unconditional.
65304         [__ASSUME_WAITID_SYSCALL]: Likewise.
65305         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
65307 2012-08-07  Roland McGrath  <roland@hack.frob.com>
65309         * sysdeps/unix/closedir.c: Renamed to ...
65310         * sysdeps/posix/closedir.c: ... here.
65311         * sysdeps/unix/dirfd.c: Renamed to ...
65312         * sysdeps/posix/dirfd.c: ... here.
65313         * sysdeps/unix/dirstream.h: Renamed to ...
65314         * sysdeps/posix/dirstream.h: ... here.
65315         * sysdeps/unix/fdopendir.c: Renamed to ...
65316         * sysdeps/posix/fdopendir.c: ... here.
65317         * sysdeps/unix/opendir.c: Renamed to ...
65318         * sysdeps/posix/opendir.c: ... here.
65319         * sysdeps/unix/readdir.c: Renamed to ...
65320         * sysdeps/posix/readdir.c: ... here.
65321         * sysdeps/unix/readdir_r.c: Renamed to ...
65322         * sysdeps/posix/readdir_r.c: ... here.
65323         * sysdeps/unix/rewinddir.c: Renamed to ...
65324         * sysdeps/posix/rewinddir.c: ... here.
65325         * sysdeps/unix/seekdir.c: Renamed to ...
65326         * sysdeps/posix/seekdir.c: ... here.
65327         * sysdeps/unix/telldir.c: Renamed to ...
65328         * sysdeps/posix/telldir.c: ... here.
65329         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
65330         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
65331         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
65332         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
65334         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
65335         * bits/fcntl.h: ... here.
65337         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
65338         not 0.
65339         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
65340         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
65341         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
65342         (struct flock): Move l_start, l_len to the beginning.
65343         Use __pid_t for l_pid.
65344         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
65345         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
65346         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
65347         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
65348         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
65349         [__USE_LARGEFILE64] (struct flock64): New type.
65350         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
65352         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
65353         * bits/dirent.h: ... here.
65355         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
65356         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
65358 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
65360         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
65361         Change from 2.6.0 to 2.6.16.
65362         * sysdeps/unix/sysv/linux/configure: Regenerated.
65363         * sysdeps/unix/sysv/linux/kernel-features.h
65364         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
65365         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
65366         version.
65367         (__ASSUME_UTIMES): Likewise.
65368         (__ASSUME_CLONE_STOPPED): Remove.
65369         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
65370         architectures, not kernel version.
65371         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
65372         (__ASSUME_NO_CLONE_DETACHED): Likewise.
65373         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
65374         (__ASSUME_WAITID_SYSCALL): Likewise.
65375         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
65376         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
65377         * README: State 2.6.16 as minimum Linux kernel version.  Do not
65378         refer to older versions.
65380 2012-08-06  Roland McGrath  <roland@hack.frob.com>
65382         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
65383         Define alphasort64 as an alias.
65384         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
65385         Define versionsort64 as an alias.
65386         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
65387         Define scandir64 as an alias.
65388         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
65389         Define scandirat64 as an alias.
65390         * dirent/alphasort64.c (alphasort64):
65391         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
65392         * dirent/versionsort64.c: Likewise.
65393         * dirent/scandir64.c: Likewise.
65394         * dirent/scandirat64.c: Likewise.
65395         * sysdeps/wordsize-64/alphasort.c: File removed.
65396         * sysdeps/wordsize-64/alphasort64.c: File removed.
65397         * sysdeps/wordsize-64/scandir.c: File removed.
65398         * sysdeps/wordsize-64/scandir64.c: File removed.
65399         * sysdeps/wordsize-64/scandirat.c: File removed.
65400         * sysdeps/wordsize-64/scandirat64.c: File removed.
65401         * sysdeps/wordsize-64/versionsort.c: File removed.
65402         * sysdeps/wordsize-64/versionsort64.c: File removed.
65403         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
65404         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
65405         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
65406         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
65407         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
65408         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
65409         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
65410         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
65412         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
65413         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
65414         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
65415         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65416         [defined __arch64__ || defined __sparcv9]
65417         (__INO_T_MATCHES_INO64_T): New macro.
65418         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
65419         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
65420         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
65421         * sysdeps/unix/sysv/linux/bits/dirent.h
65422         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
65423         (_DIRENT_MATCHES_DIRENT64): New macro.
65425         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
65426         Define lockf64 as an alias.
65427         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
65428         Define fseeko64 as an alias.
65429         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
65430         Define ftello64 as an alias.
65431         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
65432         Define _IO_fgetpos64 and fgetpos64 as aliases.
65433         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
65434         Define _IO_fsetpos64 and fsetpos64 as aliases.
65435         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
65436         Conditionalize body on this.
65437         * libio/fseeko64.c: Likewise.
65438         * libio/ftello64.c: Likewise.
65439         * libio/iofgetpos64.c: Likewise.
65440         * libio/iofsetpos64.c: Likewise.
65441         * sysdeps/wordsize-64/lockf.c: File removed.
65442         * sysdeps/wordsize-64/lockf64.c: File removed.
65443         * sysdeps/wordsize-64/fseeko.c: File removed.
65444         * sysdeps/wordsize-64/fseeko64.c: File removed.
65445         * sysdeps/wordsize-64/ftello.c: File removed.
65446         * sysdeps/wordsize-64/ftello64.c: File removed.
65447         * sysdeps/wordsize-64/iofgetpos.c: File removed.
65448         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
65449         * sysdeps/wordsize-64/iofsetpos.c: File removed.
65450         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
65451         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
65452         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
65453         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
65454         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
65455         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
65456         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
65457         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
65458         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
65459         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
65460         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
65462         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
65463         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
65464         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
65465         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65466         [defined __arch64__ || defined __sparcv9]
65467         (__OFF_T_MATCHES_OFF64_T): New macro.
65468         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
65469         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
65470         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65471         (__OFF_T_MATCHES_OFF64_T): New macro.
65473 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
65475         * stdlib/secure-getenv.c (__secure_getenv): Replace
65476         GLIBC_2_16 with GLIBC_2_17.
65478 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
65480         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
65481         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
65483 2012-08-03  David S. Miller  <davem@davemloft.net>
65485         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65487 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
65489         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
65490         Remove.
65491         (__ASSUME_CORRECT_SI_PID): Likewise.
65492         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
65493         (__ASSUME_TMPFS_NAME): Likewise.
65494         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
65495         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
65496         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
65497         (HAVE_AUX_SECURE): Make definition unconditional.
65498         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
65499         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
65501 2012-08-03  Roland McGrath  <roland@hack.frob.com>
65503         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
65504         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
65505         * sysdeps/mach/hurd/eloop-threshold.h: New file.
65506         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
65507         __eloop_threshold instead of SYMLOOP_MAX.
65509         * sysdeps/generic/eloop-threshold.h: New file.
65510         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
65511         of MAXSYMLINKS.
65512         * elf/chroot_canon.c (chroot_canon): Likewise.
65514 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
65516         [BZ #13717]
65517         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
65518         Change to 2.6.0 everywhere.
65519         * sysdeps/unix/sysv/linux/configure: Regenerated.
65520         * sysdeps/unix/sysv/linux/kernel-features.h
65521         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
65522         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
65523         kernel versions.
65524         (__ASSUME_POSIX_TIMERS): Define unconditionally.
65525         (__ASSUME_FUTEX_REQUEUE): Remove.
65526         (__ASSUME_STATFS64): Define unconditionally.
65527         (__ASSUME_AT_SECURE): Likewise.
65528         (__ASSUME_CORRECT_SI_PID): Likewise.
65529         (__ASSUME_TGKILL): Define without depending on kernel version for
65530         i386.
65531         (__ASSUME_UTIMES): Likewise.
65532         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
65533         kernel version.
65534         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
65535         (__ASSUME_TMPFS_NAME): Likewise.
65536         * README: Update reference to Linux kernel versions.
65538 2012-08-02  Marek Polacek  <polacek@redhat.com>
65540         [BZ# 14150]
65541         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
65542         libc_cv_asm_type_prefix with %.
65543         * configure: Regenerated.
65544         * include/libc-symbols.h: Remove comment about
65545         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
65546         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
65547         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
65548         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
65549         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
65550         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
65551         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
65552         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
65553         * elf/tst-unique2mod1.c: Likewise.
65554         * elf/tst-unique1mod2.c: Likewise.
65555         * elf/tst-unique1mod1.c: Likewise.
65556         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
65557         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
65558         Replace ASM_TYPE_DIRECTIVE with .type.
65559         * sysdeps/s390/s390-64/sysdep.h: Likewise.
65560         * sysdeps/i386/sysdep.h: Likewise.
65561         * sysdeps/x86_64/sysdep.h: Likewise.
65562         * sysdeps/sh/sysdep.h: Likewise.
65563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
65564         Do not define ASM_TYPE_DIRECTIVE.
65565         * sysdeps/powerpc/sysdep.h: Likewise.
65566         * sysdeps/powerpc/powerpc32/sysdep.h:
65567         Replace ASM_TYPE_DIRECTIVE with .type.
65568         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
65569         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
65570         * sysdeps/i386/fpu/e_powf.S: Likewise.
65571         * sysdeps/i386/fpu/e_expl.S: Likewise.
65572         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
65573         * sysdeps/i386/fpu/e_acosh.S: Likewise.
65574         * sysdeps/i386/fpu/e_pow.S: Likewise.
65575         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
65576         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
65577         * sysdeps/i386/fpu/s_expm1.S: Likewise.
65578         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
65579         * sysdeps/i386/fpu/e_log2.S: Likewise.
65580         * sysdeps/i386/fpu/e_log2l.S: Likewise.
65581         * sysdeps/i386/fpu/e_scalb.S: Likewise.
65582         * sysdeps/i386/fpu/e_powl.S: Likewise.
65583         * sysdeps/i386/fpu/e_log10f.S: Likewise.
65584         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
65585         * sysdeps/i386/fpu/e_logl.S: Likewise.
65586         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
65587         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
65588         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
65589         * sysdeps/i386/fpu/e_log2f.S: Likewise.
65590         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
65591         * sysdeps/i386/fpu/e_log.S: Likewise.
65592         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
65593         * sysdeps/i386/fpu/e_logf.S: Likewise.
65594         * sysdeps/i386/fpu/e_log10l.S: Likewise.
65595         * sysdeps/i386/fpu/e_atanh.S: Likewise.
65596         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
65597         * sysdeps/i386/fpu/e_log10.S: Likewise.
65598         * sysdeps/i386/fpu/s_frexp.S: Likewise.
65599         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
65600         * sysdeps/i386/fpu/s_asinh.S: Likewise.
65601         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
65602         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
65603         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
65604         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
65605         * sysdeps/i386/i686/strtok.S: Likewise.
65606         * sysdeps/i386/i386-mcount.S: Likewise.
65607         * sysdeps/i386/strtok.S: Likewise.
65608         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
65609         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
65610         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
65611         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
65612         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
65613         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
65614         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
65615         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
65616         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
65617         * sysdeps/x86_64/_mcount.S: Likewise.
65618         * sysdeps/x86_64/strtok.S: Likewise.
65619         * sysdeps/sh/_mcount.S: Likewise.
65621 2012-08-01  Roland McGrath  <roland@hack.frob.com>
65623         * libio/iofopen.c: Include <fcntl.h>.
65624         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
65625         (_IO_fopen64, fopen64): Define as aliases.
65626         * libio/iofopen64.c: Include <fcntl.h>.
65627         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
65628         Conditionalize body on this.
65629         * sysdeps/wordsize-64/iofopen.c: File removed.
65630         * sysdeps/wordsize-64/iofopen64.c: File removed.
65632 2012-08-01  Marek Polacek  <polacek@redhat.com>
65634         * libc/Makeconfig: Use elf in place of binfmt-subdir.
65635         Use dlfcn directly instead of a variable.
65636         (binfmt-subdir): Do not define.
65637         (dlfcn): Likewise.
65639 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
65641         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
65642         Remove all definitions.
65643         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
65644         <kernel-features.h>.
65645         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
65646         (miss_F_GETOWN_EX): Remove all definitions.
65647         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
65648         macro definition.
65649         [!__ASSUME_FCNTL64]: Remove conditional code.
65650         [__ASSUME_FCNTL64]: Make code unconditional.
65651         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
65652         <kernel-features.h>.
65653         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
65654         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
65655         (lockf64) [__NR_fcntl64]: Make code unconditional.
65656         (lockf64) [__ASSUME_FCNTL64]: Likewise.
65658         * sysdeps/unix/sysv/linux/kernel-features.h
65659         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
65660         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
65661         Make code unconditional.
65662         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
65663         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
65664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
65665         [__NR_vfork]: Make code unconditional.
65666         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
65667         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
65668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
65669         [__NR_vfork]: Make code unconditional.
65670         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
65671         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
65673 2012-08-01  Roland McGrath  <roland@hack.frob.com>
65675         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
65676         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
65678         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
65679         Define mkstemp64 as an alias.
65680         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
65681         Define mkstemps64 as an alias.
65682         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
65683         Define mkostemp64 as an alias.
65684         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
65685         Define mkostemps64 as an alias.
65686         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
65687         Conditionalize body on this.
65688         * misc/mkostemp64.c: Likewise.
65689         * misc/mkostemps64.c: Likewise.
65690         * misc/mkstemps64.c: Likewise.
65691         * sysdeps/wordsize-64/mkstemp64.c: File removed.
65692         * sysdeps/wordsize-64/mkostemp64.c: File removed.
65693         * sysdeps/wordsize-64/mkostemp.c: File removed.
65694         * sysdeps/wordsize-64/mkstemp.c: File removed.
65695         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
65696         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
65697         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
65698         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
65700         [BZ #14138]
65701         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
65702         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
65703         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
65704         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
65706         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
65707         compat_symbol macros from <shlib-compat.h> rather than the underlying
65708         default_symbol_version and symbol_version macros, so that DEFAULT
65709         lines in shlib-versions are respected.
65710         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
65712 2012-08-01  Florian Weimer  <fweimer@redhat.com>
65714         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
65715         Declare with warn_unused_result.
65716         (setgid, setregid, setegid, setresgid): Likewise.
65717         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
65718         Likewise.
65719         * WUR-REPORT: Remove set*id functions.
65721 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
65723         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
65725 2012-07-31  Roland McGrath  <roland@hack.frob.com>
65727         [BZ #10191]
65728         * include/sys/socket.h (__libc_accept, __libc_accept4):
65729         Add attribute_hidden.
65730         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
65732         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
65733         use of PTR_MANGLE.
65734         * inet/getnetgrent_r.c (setup): Likewise.
65736         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
65738 2012-07-31  David S. Miller  <davem@davemloft.net>
65740         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65742 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
65744         [BZ #13629]
65745         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
65746         value between 1.0 and 2.0 and smaller part has absolute value less
65747         than 1.0.
65748         * math/s_clog10.c (__clog10): Likewise.
65749         * math/s_clog10f.c (__clog10f): Likewise.
65750         * math/s_clog10l.c (__clog10l): Likewise.
65751         * math/s_clogf.c (__clogf): Likewise.
65752         * math/s_clogl.c (__clogl): Likewise.
65753         * math/libm-test.inc (clog_test): Add more tests.
65754         (clog10_test): Likewise.
65755         * sysdeps/i386/fpu/libm-test-ulps: Update.
65756         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65758 2012-07-31  Florian Weimer  <fweimer@redhat.com>
65760         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
65761         Exit with zero in case no suitable GID is found, and write a
65762         message to standard error.
65764 2012-07-30  Roland McGrath  <roland@hack.frob.com>
65766         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
65767         rather than to 1.
65768         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
65769         (MAXPATHLEN): Removed.
65770         (NOGROUP, NODEV): New macros.
65771         (setbit, clrbit, isset, isclr): New macros.
65772         (howmany, roundup, powerof2): New macros.
65773         (DEV_BSIZE): New macro.
65775         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
65776         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
65778         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
65779         definition on [!__NO_LONG_DOUBLE_MATH].
65781         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
65782         PTR_MANGLE and PTR_DEMANGLE.
65784         * socket/accept4.c (accept4): Rename to __libc_accept4.
65785         Define accept4 as a weak alias.
65787         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
65788         on [_DIRENT_HAVE_D_TYPE].
65789         * io/ftw.c (ftw_dir): Likewise.
65791         * io/xmknod.c (__xmknod): Don't check PATH for being null.
65793         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
65795         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
65796         Use the BSD numbers rather than the arbitrary ones we had.
65797         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
65798         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
65799         (SIGXCPU, SIGXFSZ): New macros.
65800         (_NSIG): Now 32.
65802         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
65803         initializer on [_LIBC_REENTRANT].
65805         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
65806         definitions inside [_POSIX_MAPPED_FILES].
65808         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
65810         * dirent/opendir.c: Include <fcntl.h>.
65812         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
65813         (__libc_getspecific): Likewise.
65814         (__libc_key_create): Likewise.
65816         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
65817         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
65818         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
65819         (tmpfile64): Define as alias.
65820         * sysdeps/wordsize-64/tmpfile.c: File removed.
65821         * sysdeps/wordsize-64/tmpfile64.c: File removed.
65822         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
65823         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
65825         * stdio-common/vfscanf.c: Include <stdbool.h>.
65826         * nss/makedb.c: Likewise.
65827         * stdio-common/_i18n_number.h: Likewise.
65828         * argp/argp-help.c: Likewise.
65829         * posix/wordexp.c: Likewise.
65830         * sysdeps/posix/spawni.c: Likewise.
65831         * nss/nss_files/files-initgroups.c: Likewise.
65832         * stdio-common/reg-modifier.c: Include <stdlib.h>.
65833         * nss/nss_files/files-initgroups.c: Likewise.
65834         * nss/nss_db/db-netgrp.c: Likewise.
65835         * nss/nss_db/db-initgroups.c: Likewise.
65836         * io/fchmodat.c: Include <sys/stat.h>.
65838         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
65839         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
65841         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
65842         [HAVE_MMAP].
65844         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
65845         Add multiple inclusion protection.
65847 2012-07-27  David S. Miller  <davem@davemloft.net>
65849         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65851 2012-07-27  Gary Benson  <gbenson@redhat.com>
65853         [BZ #14298]
65854         * elf/rtld.c: Include <stap-probe.h>.
65855         (dl_main): Added static probes "init_start" and "init_complete".
65856         * elf/dl-load.c: Include <stap-probe.h>.
65857         (lose): Take new parameter "nsid".
65858         Added static probe "map_failed".
65859         (_dl_map_object_from_fd): Pass namespace id to lose.
65860         Added static probe "map_start".
65861         (open_verify): Pass namespace id to lose.
65862         * elf/dl-open.c: Include <stap-probe.h>.
65863         (dl_open_worker) Added static probes "map_complete", "reloc_start"
65864         and "reloc_complete".
65865         * elf/dl-close.c: Include <stap-probe.h>.
65866         (_dl_close_worker): Added static probes "unmap_start" and
65867         "unmap_complete".
65868         * elf/rtld-debugger-interface.txt: New file documenting the above.
65870 2012-07-26  Roland McGrath  <roland@hack.frob.com>
65872         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
65873         rather than a string variable.
65874         * sunrpc/rpc_main.c (h_output): Likewise.
65875         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
65877 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
65879         * inet/check_native.c: New file.
65881 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
65883         [BZ #13629]
65884         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
65885         if larger part has absolute value 1.0.
65886         * math/s_clog10.c (__clog10): Likewise.
65887         * math/s_clog10f.c (__clog10f): Likewise.
65888         * math/s_clog10l.c (__clog10l): Likewise.
65889         * math/s_clogf.c (__clogf): Likewise.
65890         * math/s_clogl.c (__clogl): Likewise.
65891         * math/libm-test.inc (clog_test): Add more tests.
65892         (clog10_test): Likewise.
65893         * sysdeps/i386/fpu/libm-test-ulps: Update.
65894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65896         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
65897         (pltexit): Likewise.
65898         (La_regs): Likewise.
65899         (La_retval): Likewise.
65900         (int_retval): Likewise.
65901         Update #error for removed macros to refer only to definitions in
65902         tst-audit.h.
65903         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
65904         macro.
65905         (pltexit): Likewise.
65906         (La_regs): Likewise.
65907         (La_retval): Likewise.
65908         (int_retval): Likewise.
65909         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
65910         macro.
65911         (pltexit): Likewise.
65912         (La_regs): Likewise.
65913         (La_retval): Likewise.
65914         (int_retval): Likewise.
65915         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
65916         macro.
65917         (pltexit): Likewise.
65918         (La_regs): Likewise.
65919         (La_retval): Likewise.
65920         (int_retval): Likewise.
65921         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
65922         macro.
65923         (pltexit): Likewise.
65924         (La_regs): Likewise.
65925         (La_retval): Likewise.
65926         (int_retval): Likewise.
65927         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
65928         macro.
65929         (pltexit): Likewise.
65930         (La_regs): Likewise.
65931         (La_retval): Likewise.
65932         (int_retval): Likewise.
65933         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
65934         macro.
65935         (pltexit): Likewise.
65936         (La_regs): Likewise.
65937         (La_retval): Likewise.
65938         (int_retval): Likewise.
65939         * sysdeps/generic/tst-audit.h: Update comment to refer only to
65940         macro definitions in tst-audit.h.
65941         * sysdeps/i386/tst-audit.h: New file.
65942         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
65943         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
65944         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
65945         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
65946         * sysdeps/sh/tst-audit.h: Likewise.
65947         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
65948         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
65949         * sysdeps/x86_64/tst-audit.h: Likewise.
65951 2012-07-26  Andreas Jaeger  <aj@suse.de>
65953         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
65954         ptrace.
65956         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
65957         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
65958         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
65959         PTRACE_O_MASK.
65960         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
65961         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
65962         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
65964         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
65965         value.
65967         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
65968         _sigsys.
65969         (si_call_addr, si_syscall, si_arch): Define new macro.
65970         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
65971         _sigsys.
65972         (si_call_addr, si_syscall, si_arch): Define new marcro.
65973         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
65974         _sigsys.
65975         (si_call_addr, si_syscall, si_arch): Define new macro.
65976         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
65977         _sigsys.
65978         (si_call_addr, si_syscall, si_arch): Define new macro.
65980 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
65982         [BZ #13717]
65983         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
65984         Change to 2.4.21 where previously 2.4.1.
65985         * sysdeps/unix/sysv/linux/configure: Regenerated.
65986         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
65987         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
65988         Linux kernel version.
65989         (__ASSUME_STD_AUXV): Remove.
65990         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
65991         kernel version.
65992         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
65993         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
65994         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
65995         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
65996         (__ASSUME_NETLINK_SUPPORT): Likewise.
65997         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
65998         (__no_netlink_support): Remove conditional definition.
65999         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
66000         Remove.
66001         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
66002         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
66003         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
66004         (if_nameindex_ioctl): Remove.
66005         (if_nameindex_netlink): Do not handle __no_netlink_support.
66006         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
66007         code.
66008         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
66009         Remove conditional code.
66010         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
66011         code.
66012         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
66013         unconditional.
66014         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
66015         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
66016         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
66017         Remove.
66018         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
66019         [!__ASSUME_STD_AUXV]: Remove conditional code.
66020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
66021         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
66022         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
66023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
66024         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
66025         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
66026         code.
66027         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
66028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
66029         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
66030         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
66031         conditional code.
66032         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
66033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
66034         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
66035         code.
66036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
66037         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
66038         conditional code.
66039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
66040         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
66041         code unconditional.
66042         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66043         conditional code.
66044         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
66045         unconditional.
66046         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66047         conditional code.
66048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
66049         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
66050         unconditional.
66051         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66052         conditional code.
66053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
66054         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
66055         code unconditional.
66056         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66057         conditional code.
66058         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
66059         unconditional.
66060         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66061         conditional code.
66062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
66063         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
66064         code unconditional.
66065         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66066         conditional code.
66067         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
66068         unconditional.
66069         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
66070         conditional code.
66072 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
66074         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
66075         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
66076         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
66077         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
66078         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
66079         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
66080         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
66081         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
66082         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
66083         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
66084         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
66085         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
66086         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
66087         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
66088         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
66089         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
66090         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
66091         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
66092         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
66093         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
66094         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
66095         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
66096         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
66098 2012-07-25  Florian Weimer  <fweimer@redhat.com>
66100         * Versions.def: Add GLIBC_2.17.
66101         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
66102         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
66103         Introduce __libc_secure_getenv.
66104         * stdlib/Versions (2.17): Add secure_getenv
66105         (GLIBC_PRIVATE): Add __libc_secure_getenv.
66106         * stdlib/secure-getenv.c: Rename __secure_getenv to
66107         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
66108         symbol __secure_getenv for GLIBC_2.0.
66109         * stdlib/tst-secure-getenv.c: New.
66110         * stdlib/Makefile (tests): Add testcase.
66111         * manual/startup.texi (Environment Access): Document
66112         secure_getenv.
66113         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
66114         __libc_secure_getenv.
66115         * inet/ruserpass.c (ruserpass): Likewise.
66116         * malloc/mtrace.c (mtrace): Likewise.
66117         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
66118         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
66119         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
66120         * sysdeps/posix/tempname.c: Likewise.  Evaluate
66121         HAVE_SECURE_GETENV.
66122         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
66123         __secure_getenv to __libc_secure_getenv.
66124         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
66125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66126         Likewise.
66127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
66128         Likewise.
66129         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
66130         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
66131         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
66132         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
66133         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
66134         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
66135         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
66137 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
66139         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
66140         (struct La_i86_retval): Likewise.
66141         (struct La_x86_64_regs): Likewise.
66142         (struct La_x86_64_retval): Likewise.
66143         (struct La_x32_regs): Likewise.
66144         (struct La_x32_retval): Likewise.
66145         (struct La_ppc32_regs): Likewise.
66146         (struct La_ppc32_retval): Likewise.
66147         (struct La_ppc64_regs): Likewise.
66148         (struct La_ppc64_retval): Likewise.
66149         (struct La_sh_regs): Likewise.
66150         (struct La_sh_retval): Likewise.
66151         (struct La_s390_32_regs): Likewise.
66152         (struct La_s390_32_retval): Likewise.
66153         (struct La_s390_64_regs): Likewise.
66154         (struct La_s390_64_retval): Likewise.
66155         (struct La_sparc32_regs): Likewise.
66156         (struct La_sparc32_retval): Likewise.
66157         (struct La_sparc64_regs): Likewise.
66158         (struct La_sparc64_retval): Likewise.
66159         (struct audit_ifaces): Remove architecture-specific pltenter and
66160         pltexit members.
66161         * sysdeps/i386/ldsodefs.h: New file.
66162         * sysdeps/powerpc/ldsodefs.h: Likewise.
66163         * sysdeps/s390/ldsodefs.h: Likewise.
66164         * sysdeps/sh/ldsodefs.h: Likewise.
66165         * sysdeps/sparc/ldsodefs.h: Likewise.
66166         * sysdeps/x86_64/ldsodefs.h: Likewise.
66168 2012-07-25  Marek Polacek  <polacek@redhat.com>
66170         [BZ #6808]
66171         * math/libm-test.inc (yn_test): Add another test.
66172         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
66173         to ERANGE when the result is +-Inf.
66174         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
66175         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
66176         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
66177         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
66179 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
66181         * conform/data/time.h-data (NULL): Use macro-constant.  Require
66182         equal to 0.
66183         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
66184         clock_t.
66185         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
66187 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
66189         * configure.in <sysdeps resolving>: Correct printing
66190         Implies_before.
66191         * configure: Regenerate.
66193 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
66195         * math/w_ilogb.c: Include <limits.h>.
66196         * math/w_ilogbl.c: Likewise.
66198 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
66200         * manual/lang.texi (__va_copy): Document primarily as ISO C99
66201         va_copy.  Document allowing for unavailable va_copy only as
66202         pre-C99 compatibility.
66203         * manual/string.texi (Copying and Concatenation): Use va_copy
66204         instead of __va_copy in concat example.
66206 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
66208         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
66209         (__sendto): Use create_address_port.  Initialize APORT and deallocate
66210         it if not null.
66212         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
66213         with O_NOLINK passed to __file_name_lookup.
66215         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
66216         with O_NOLINK passed to __file_name_lookup.
66218         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
66219         negative N or less than NGIDS.
66221         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
66222         type to string_t.  Set ERANGE as errno and return it if NAME is not big
66223         enough.  Use memcpy instead of strncpy.
66225 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
66227         * elf/Makefile (check-data): Remove.
66228         (localplt.data): New vpath directive.
66229         ($(objpfx)check-localplt.out): Use localplt.data from vpath
66230         instead of $(check-data).
66231         * scripts/data/localplt-generic.data: Move to ...
66232         * sysdeps/generic/localplt.data: ... here.
66233         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
66234         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
66235         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
66236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
66237         ... here.
66238         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
66239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
66240         ... here.
66241         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
66242         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
66243         ... here.
66244         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
66245         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
66246         ... here.
66247         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
66248         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
66249         ... here.
66250         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
66251         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
66252         ... here.
66254 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66256         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
66257         PPC32 and PPC64 files.
66258         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
66259         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
66261 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66263         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
66264         __makecontext_ret to ...
66265         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
66266         ... here and call exit if uc_link is NULL.  New file.
66267         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
66268         __makecontext_ret.S.
66269         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
66270         __makecontext_ret to ...
66271         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
66272         ... here and call exit if uc_link is NULL.  New file.
66273         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
66274         __makecontext_ret.S.
66276 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66278         * elf/elf.h (R_390_IRELATIVE): New definition.
66279         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
66280         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
66281         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
66282         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
66283         (elf_machine_lazy_rel): Likewise.
66284         * sysdeps/s390/dl-irel.h: New file.
66285         * sysdeps/s390/s390-64/memcpy.S: New asm code.
66286         * sysdeps/s390/s390-64/memset.S: New asm code.
66287         * sysdeps/s390/s390-64/memcmp.S: New asm code.
66288         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
66289         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
66290         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
66291         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
66292         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
66293         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
66294         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
66295         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
66296         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
66297         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
66298         * sysdeps/s390/s390-32/memcpy.S: New asm code.
66299         * sysdeps/s390/s390-32/memset.S: New asm code.
66300         * sysdeps/s390/s390-32/memcmp.S: New asm code.
66302 2012-07-17  Marek Polacek  <polacek@redhat.com>
66304         [BZ #14349]
66305         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
66306         * sysdeps/s390/s390-64/configure.in: Likewise.
66307         * sysdeps/sparc/configure.in: Likewise.
66308         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
66309         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
66310         * sysdeps/i386/configure.in: Likewise.
66311         * sysdeps/x86_64/configure.in: Likewise.
66312         * sysdeps/sh/configure.in: Likewise.
66313         * sysdeps/s390/s390-32/configure: Regenerated.
66314         * sysdeps/s390/s390-64/configure: Likewise.
66315         * sysdeps/x86_64/configure: Likewise.
66316         * sysdeps/sh/configure: Likewise.
66317         * sysdeps/powerpc/powerpc64/configure: Likewise.
66318         * sysdeps/powerpc/powerpc32/configure: Likewise.
66319         * sysdeps/sparc/configure: Likwise.
66320         * sysdeps/i386/configure: Likewise.
66322         * elf/dl-open.c: Comment fixes.
66324 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
66326         * Makefile [CXX] (check-data): Remove.
66327         [CXX] (c++-types.data): New vpath directive.
66328         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
66329         vpath.  Do not allow for C++ type data being missing.
66330         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
66331         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
66332         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
66333         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
66334         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
66335         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
66336         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
66337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
66338         ... here.
66339         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
66340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
66341         ... here.
66342         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
66343         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
66344         ... here.
66345         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
66346         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
66347         ... here.
66348         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
66349         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
66350         ... here.
66351         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
66352         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
66353         ... here.
66354         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
66355         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
66356         ... here.
66357         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
66358         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
66360         * elf/tls-macros.h (TLS_LE): Move architecture-specific
66361         definitions to architecture-specific files.
66362         (TLS_IE): Likewise.
66363         (TLS_LD): Likewise.
66364         (TLS_GD): Likewise.
66365         * sysdeps/i386/tls-macros.h: New file.
66366         * sysdeps/powerpc/tls-macros.h: Likewise.
66367         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
66368         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
66369         * sysdeps/sh/tls-macros.h: Likewise.
66370         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
66371         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
66372         * sysdeps/x86_64/tls-macros.h: Likewise.
66374 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
66376         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
66377         zero value for regular exit case.
66379         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
66380         (__start_context): Preserve zero value for regular exit case.
66382 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
66383             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66385         * manual/setjmp.texi (setcontext): Clarify normal process
66386         termination when uc_link is the null pointer.
66387         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
66388         exit call.
66390 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
66392         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
66393         preprocessor.  Test for each exception mask separately.
66395 2012-07-16  Andreas Jaeger  <aj@suse.de>
66397         * po/ru.po: Update from translation team.
66399 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
66401         * conform/data/string.h-data (NULL): Use macro-constant.  Require
66402         equal to 0.
66403         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
66404         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
66405         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
66406         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
66407         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66409 2012-07-13  Andreas Jaeger  <aj@suse.de>
66411         * po/fr.po: Update from translation team.
66413 2012-07-12  Marek Polacek  <polacek@redhat.com>
66415         [BZ #14173]
66416         * math/libm-test.inc (yn_test): Add test for BZ #14173.
66417         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
66418         loop condition.
66420 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
66422         [BZ #13717]
66423         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
66424         Change to 2.4.1 where previously 2.4.0.
66425         * sysdeps/unix/sysv/linux/configure: Regenerated.
66426         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
66427         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
66428         version.
66429         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
66430         (__ASSUME_AT_CLKTCK): Remove.
66431         (__ASSUME_AT_PAGESIZE): Likewise.
66432         (__ASSUME_AT_XID): Likewise.
66433         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
66434         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
66435         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
66436         unconditionally.
66437         (HAVE_AUX_PAGESIZE): Likewise.
66438         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
66439         [__ASSUME_AT_CLKTCK]: Make code unconditional.
66440         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
66442 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
66444         [BZ #14307]
66445         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
66446         the temporary buffer used to invoke __gethostbyname2_r,
66447         __gethostbyaddr_r and gethostbyname4_r to make room for struct
66448         host_data / struct gaih_addrtuple.
66449         * resolv/nss_dns/dns-host.c (global scope): Move definition of
66450         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
66451         header file nss/nsswitch.h.
66452         * nss/nsswitch.h (global scope): Add definition of implementation
66453         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
66454         resolv/nss_dns/dns-host.c).
66456 2012-07-11  Andreas Jaeger  <aj@suse.de>
66458         * po/fr.po: Update from translation team.
66460         * po/sv.po: Update from translation team
66461         * po/fr.po: Another update from translation team.
66463 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66465         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
66466         for subnormals or multiply small sinh result by itself.
66467         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
66468         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66470 2012-07-11  David S. Miller  <davem@davemloft.net>
66472         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66474 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
66476         [BZ #14347]
66477         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
66478         (INTERNAL_MARK): Shift it here.
66480 2012-07-10  Marek Polacek  <polacek@redhat.com>
66482         [BZ #14151]
66483         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
66484         libc_cv_asm_global_directive with .globl.
66485         * configure: Regenerated.
66486         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
66487         with .globl.
66488         * sysdeps/i386/configure: Regenerated.
66489         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
66490         with .globl.
66491         * sysdeps/x86_64/configure: Regenerated.
66492         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
66493         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
66494         * elf/tst-unique2mod2.c: Likewise.
66495         * elf/tst-unique2mod1.c: Likewise.
66496         * elf/tst-unique1mod2.c: Likewise.
66497         * elf/tst-unique1mod1.c: Likewise.
66498         * sysdeps/s390/s390-32/sysdep.h: Likewise.
66499         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
66500         * sysdeps/s390/s390-64/sysdep.h: Likewise.
66501         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
66502         * sysdeps/mach/sysdep.h: Likewise.
66503         * sysdeps/i386/sysdep.h: Likewise.
66504         * sysdeps/i386/i386-mcount.S: Likewise.
66505         * sysdeps/x86_64/_mcount.S: Likewise.
66506         * sysdeps/x86_64/sysdep.h: Likewise.
66507         * sysdeps/sh/_mcount.S: Likewise.
66508         * sysdeps/sh/sysdep.h: Likewise.
66509         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
66510         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
66511         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
66512         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
66513         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
66514         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
66515         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
66516         * locale/localeinfo.h: Likewise.
66517         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
66518         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
66520 2012-07-09  Roland McGrath  <roland@hack.frob.com>
66522         [BZ #14336]
66523         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
66524         system".
66525         * manual/message.texi (The Uniforum approach): Likewise.
66526         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
66527         (glibc iconv Implementation): Likewise.
66529 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
66531         [BZ #14337]
66532         * math/s_clog.c (__clog): Avoid scaling a value down where that
66533         could result in underflow.
66534         * math/s_clog10.c (__clog10): Likewise.
66535         * math/s_clog10f.c (__clog10f): Likewise.
66536         * math/s_clog10l.c (__clog10l): Likewise.
66537         * math/s_clogf.c (__clogf): Likewise.
66538         * math/s_clogl.c (__clogl): Likewise.
66539         * math/libm-test.inc (clog_test): Add more tests.
66540         (clog10_test): Likewise.
66541         * sysdeps/i386/fpu/libm-test-ulps: Update.
66542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66544 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
66546         [BZ #14283]
66547         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
66548         by 7 not 8 to examine high bit of fractional part.
66550         [BZ #14042]
66551         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
66552         for call to __mcount_internal.
66553         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
66554         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
66555         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
66557 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
66559         [BZ #14154]
66560         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
66561         approximation for values within 0x1p-13f of an odd multiple of
66562         pi/4.
66563         * math/libm-test.inc (tan_test): Do not allow spurious underflow
66564         exception.  Add more tests.
66565         * sysdeps/i386/fpu/libm-test-ulps: Update.
66567         [BZ #6778]
66568         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
66569         inputs and return -1 for them.  Do not check for +Inf in case not
66570         reachable for +Inf.
66571         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
66572         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
66573         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
66574         and return -1 for them.  Do not check for +Inf in case not
66575         reachable for +Inf.
66576         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
66577         define.
66578         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
66579         and return -1 for them.  Do not check for +Inf in case not
66580         reachable for +Inf.
66581         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
66582         spurious underflow.
66583         * sysdeps/i386/fpu/libm-test-ulps: Update.
66584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66586 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
66588         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
66590 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
66592         [BZ #14157]
66593         [BZ #14331]
66594         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
66595         could result in spurious underflow.  Scale down values above
66596         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
66597         * math/s_csqrtf.c (__csqrtf): Likewise.
66598         * math/s_csqrtl.c (__csqrtl): Likewise.
66599         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
66600         spurious underflow.
66601         * sysdeps/i386/fpu/libm-test-ulps: Update.
66602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66604 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
66606         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
66607         xopen-msg.sed.
66608         * catgets/xopen-msg.awk: New file.
66609         * catgets/xopen-msg.sed: Removed.
66611         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
66612         po2text.sed.
66613         * intl/po2test.awk: New file.
66614         * intl/po2test.sed: Removed.
66616 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
66618         [BZ #14328]
66619         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
66620         or multiply small sinh result by itself.
66621         * math/s_ctanf.c (__ctanf): Likewise.
66622         * math/s_ctanh.c (__ctanh): Likewise.
66623         * math/s_ctanhf.c (__ctanhf): Likewise.
66624         * math/s_ctanhl.c (__ctanhl): Likewise.
66625         * math/s_ctanl.c (__ctanl): Likewise.
66626         * math/libm-test.inc (ctan_test_tonearest): New function.
66627         (ctan_test_towardzero): Likewise.
66628         (ctan_test_downward): Likewise.
66629         (ctan_test_upward): Likewise.
66630         (ctanh_test_tonearest): Likewise.
66631         (ctanh_test_towardzero): Likewise.
66632         (ctanh_test_downward): Likewise.
66633         (ctanh_test_upward): Likewise.
66634         (main): Call these new functions.
66635         * sysdeps/i386/fpu/libm-test-ulps: Update.
66636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66638 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
66640         * .gitignore: Delete /ports entry.
66642 2012-07-03  Andreas Jaeger  <aj@suse.de>
66644         * po/bg.po: Update from translation team.
66645         * po/cs.po: Likewise.
66646         * po/de.po: Likewise.
66647         * po/hr.po: Likewise.
66648         * po/nl.pl: Likewise.
66649         * po/pl.po: Likewise.
66650         * po/vi.po: Likewise.
66652 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
66654         * Makeconfig [!+link] (+link-before-libc): New variable.
66655         [!+link] (+link-after-libc): Likewise.
66656         [!+link] (+link-tests): Likewise.
66657         [!+link] (+link): Define in terms of $(+link-before-libc) and
66658         $(+link-after-libc).
66659         [!+link-static] (+link-static-before-libc): New variable.
66660         [!+link-static] (+link-static-after-libc): Likewise.
66661         [!+link-static] (+link-static-tests): Likewise.
66662         [!+link-static] (+link-static): Define in terms of
66663         $(+link-static-before-libc) and $(+link-static-after-libc).
66664         [build-shared] (link-libc-before-gnulib): New variable.
66665         [build-shared] (link-libc-tests): Likewise.
66666         [build-shared] (link-libc): Define in terms of
66667         $(link-libc-before-gnulib).
66668         [!build-shared] (link-libc-tests): New variable.
66669         (link-libc-static-tests): New variable.
66670         [!gnulib] (gnulib-arch): New variable.
66671         [!gnulib] (gnulib-tests): Likewise.
66672         [!gnulib] (static-gnulib-arch): Likewise.
66673         [!gnulib] (static-gnulib-tests): Likewise.
66674         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
66675         Define with "=" instead of ":=".
66676         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
66677         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
66678         * Rules (binaries-all-notests): New variable.
66679         (binaries-all-tests): Likewise.
66680         (binaries-static-notests): Likewise.
66681         (binaries-static-tests): Likewise.
66682         (binaries-all): Define using $(binaries-all-notests) and
66683         $(binaries-all-tests).
66684         (binaries-static): Define using $(binaries-static-notests) and
66685         $(binaries-static-tests).
66686         (binaries-shared-tests): New variable.
66687         (binaries-shared-notests): Likewise.
66688         (binaries-shared): Remove variable.
66689         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
66690         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
66691         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
66692         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
66693         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
66694         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
66695         * elf/Makefile (sln-modules): New variable.
66696         (extra-objs): Add $(sln-modules:=.o).
66697         (ldconfig-modules): Add static-stubs.
66698         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
66699         * elf/static-stubs.c: New file.
66701         [BZ #14283]
66702         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
66703         by 7 not 8 to examine high bit of fractional part.  Use volatile
66704         variables when splitting into final array of floats if
66705         __FLT_EVAL_METHOD__ != 0.
66706         * math/libm-test.inc (cos_test): Add another test.
66707         (sin_test): Likewise.
66708         * sysdeps/i386/fpu/libm-test-ulps: Update.
66710         [BZ #14273]
66711         * math/libm-test.inc (cosh_test): Add more tests.
66713         * version.h (RELEASE): Set to "development".
66714         (VERSION): Set to "2.16.90".
66716 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
66718         * NEWS: Update copyright. Remove last-updated date.
66719         Mention math library bug fixes and timezone data changes.
66720         * README: Mention GNU/Hurd, x32, and HPPA support status.
66722 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
66724         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
66726 2012-06-27  Andreas Jaeger  <aj@suse.de>
66728         * manual/contrib.texi (Contributors): Add Samuel Thibault.
66730 2012-06-25  Andreas Jaeger  <aj@suse.de>
66732         * sysdeps/s390/fpu/libm-test-ulps: Update.
66734 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
66735             Thomas Schwinge  <thomas@codesourcery.com>
66737         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
66738         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
66739         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
66740         fanotify_mark.
66742 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
66744         * sysdeps/mach/start.c: Remove file.
66745         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
66746         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
66747         * sysdeps/sh/init-first.c: Likewise.
66749         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
66750         registers for frame unwinding purposes, add CFI directives.
66751         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
66752         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
66753         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
66754         Likewise.
66756         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
66757         __fortify_fail returning.
66758         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
66760         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
66761         sysdeps/sh/____longjmp_chk.S.
66762         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
66763         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
66764         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
66765         (gen-as-const-headers): Append sigaltstack-offsets.sym.
66767         * sysdeps/sh/abort-instr.h: New file.
66768         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
66769         process in case exit returns.
66771         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
66772         initialize the GOT register before use.
66774         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
66775         calculation of ARGC > 4.
66777         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
66778         meaningful names to some local labels.
66780 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66781             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
66783         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
66784         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
66785         (__arch_compare_and_exchange_val_16_acq): Likewise.
66786         (__arch_compare_and_exchange_val_32_acq): Likewise.
66787         (atomic_exchange_and_add): Fix gUSA sequence.
66788         (atomic_add): Likewise.
66789         (atomic_add_negative): Likewise.
66790         (atomic_add_zero): Likewise.
66791         (atomic_bit_test_set): Likewise.
66793 2012-06-22  Andreas Schwab  <schwab@redhat.com>
66795         [BZ #13579]
66796         * include/link.h (struct link_map): Add l_free_initfini.
66797         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
66798         l_initfini.
66799         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
66800         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
66801         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
66802         set.
66804 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
66806         * configure.in: Use AC_LANG_SOURCE.
66807         * configure: Regenerate.
66809 2012-06-22  Roland McGrath  <roland@hack.frob.com>
66811         * configure.in (libc_cv_localstatedir): New substituted variable.
66812         * configure: Regenerated.
66813         * config.make.in (localstatedir): New variable, substituted from
66814         libc_cv_localstatedir.
66815         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
66816         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
66817         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
66818         * sysdeps/gnu/configure: Regenerated.
66820 2012-06-21  Jeff Law  <law@redhat.com>
66822         [BZ #14277]
66823         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
66824         free.  Simplify list management for _LIBC case.
66826 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
66828         [BZ #14273]
66829         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
66830         Clear sign bit of 64-bit integer value before comparing against
66831         overflow value.
66833         * sysdeps/mach/configure: Regenerated.
66835 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
66837         [BZ #14278]
66838         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
66840 2012-06-21  Jeff Law  <law@redhat.com>
66842         [BZ #13882]
66843         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
66844         uint16_t for elements in the "seen" array to avoid char overflows.
66845         * elf/dl-fini.c (_dl_sort_fini): Likewise.
66846         * elf/dl-open.c (dl_open_worker): Likewise.
66848 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
66850         * scripts/list-sources.sh: Scan PORTS for translations.
66851         * po/libc.pot: Regenerated.
66853 2012-06-21  Andreas Jaeger  <aj@suse.de>
66855         [BZ #12194]
66856         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
66857         warning.
66858         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
66859         * bits/byteswap-16.h (__bswap_16): Likewise.
66860         * bits/byteswap.h (__bswap_constant_16): Likewise.
66862 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
66864         [BZ #14117]
66865         * sysdeps/i386/fpu_control.h: Removed.
66866         * sysdeps/x86_64/fpu_control.h: Moved to ...
66867         * sysdeps/x86/fpu_control.h: Here.
66869         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
66870         (_FPU_SETCW): Likewise.
66872 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
66874         [BZ #14117]
66875         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
66876         * sysdeps/x86/fpu/bits/mathinline.h: This.
66877         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
66879         [BZ #14050]
66880         [BZ #14117]
66881         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
66882         functions if __x86_64__ is defined.
66884 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
66886         * string/endian.h: Add !__ASSEMBLER__ condition for including
66887         conversion interfaces.
66889 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
66891         [BZ #14241]
66892         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
66893         of ABS(x) in calculating zero to negative powers other than odd
66894         integers.
66895         * math/libm-test.inc (pow_test): Add more tests.
66897 2012-06-15  Andreas Jaeger  <aj@suse.de>
66899         * manual/contrib.texi (Contributors): Update entry of Liubov
66900         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
66901         Machado Filho.
66903 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
66905         * string/string.h: Add __wur to GNU version of strerror_r.
66907 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
66909         [BZ #14229]
66910         * string/Makefile (tests): Add tst-strtok_r.
66911         * string/tst-strtok_r.c: New file.
66912         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
66913         RAX_LP/RDX_LP on SAVE_PTR.
66915 2012-06-14  Roland McGrath  <roland@hack.frob.com>
66917         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
66919 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
66921         * libm_test.inc (csqrt_test): Allow more spurious underflow
66922         exceptions.
66923         (j0_test): Likewise.
66924         (j1_test): Likewise.
66925         (y0_test): Likewise.
66926         (y1_test): Likewise.
66928 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
66930         * po/Makefile (libc.pot): Use UTF-8 charset.
66932 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
66934         [BZ #14210]
66935         Suppress sign-conversion warning from FD_SET.
66936         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
66937         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
66938         not unsigned long int.
66939         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
66941 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
66943         [BZ #14050]
66944         [BZ #14117]
66945         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
66946         __extern_always_inline instead of __extern_inline.
66947         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
66948         (__signbit): Likewise.
66949         (__signbitl): Support C++ namespace.
66950         (lrintf): New inline function.
66951         (lrint): Likewise.
66952         (llrintf): Likewise.
66953         (llrint): Likewise.
66954         (fmaxf): Likewise.
66955         (fmax): Likewise.
66956         (fminf): Likewise.
66957         (fmin): Likewise.
66958         (rint): Likewise.
66959         (rintf): Likewise.
66960         (ceil): Likewise.
66961         (ceilf): Likewise.
66962         (floor): Likewise.
66963         (floorf): Likewise.
66964         (nearbyint): Likewise.
66965         (nearbyintf): Likewise.
66967 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
66969         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
66970         non-default versions.
66972 2012-06-11  Roland McGrath  <roland@hack.frob.com>
66974         [BZ #14218]
66975         * manual/argp.texi (Argp): Reword argp_parse description slightly.
66977 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
66979         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
66980         (FE_UPWARD, FE_DOWNWARD): Don't define.
66981         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
66982         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
66984         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
66985         reading it.
66986         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
66987         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
66989 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
66991         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
66992         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
66993         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
66994         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
66996 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
66998         [BZ #14117]
66999         * sysdeps/i386/fpu/bits/fenv.h: Removed.
67000         * sysdeps/i386/fpu/Implies: New file.
67001         * sysdeps/x86_64/fpu/Implies: Likewise.
67002         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
67003         * sysdeps/x86/fpu/bits/fenv.h: This.
67005         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
67006         __SSE_MATH__.
67008 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
67010         [BZ #14134]
67011         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
67012         character 0xffff that matches the last element of the
67013         conversion table.
67015 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67017         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
67018         fmodl commit.
67020 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67022         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
67023         values higher than 25.6283.
67025 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67027         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
67028         subnormal exponent extraction and add some __builtin_expect.
67029         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
67030         Fix for subnormal mantissa calculation.
67032 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
67034         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
67035         cpu2 is -1 and errno is not ENOSYS.
67037 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
67039         [BZ #14117]
67040         * sysdeps/i386/i486/bits/string.h: Renamed to ...
67041         * sysdeps/x86/bits/string.h: This.
67042         * sysdeps/x86_64/bits/string.h: Removed.
67044         * sysdeps/i386/i486/bits/string.h: Define inline functions only
67045         if not compiling for x86-64, but compiling for >= i486.
67047         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
67048         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
67050         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
67051         New macro from Linux kernel 3.4.0.
67052         (FP_XSTATE_MAGIC2): Likewise.
67053         (FP_XSTATE_MAGIC2_SIZE): Likewise.
67054         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
67055         (struct _fpx_sw_bytes): New struct.
67056         (struct _xsave_hdr): Likewise.
67057         (struct _ymmh_state): Likewise.
67058         (struct _xstate): Likewise.
67060         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
67061         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
67062         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
67063         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
67064         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
67065         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
67067         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
67068         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
67069         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
67070         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
67071         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
67072         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
67074 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
67076         [BZ #13743]
67077         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
67078         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
67079         (sysdep_headers): Include sys/platform/ppc.h.
67080         * sysdeps/powerpc/test-gettimebase.c: Test for
67081         __ppc_get_timebase() to catch future ISA opcode/insn changes.
67082         * manual/Makefile (appendices): Include platform.texi.
67083         * manual/contrib.texi (Contributors): Update @node pointers.
67084         * manual/maint.texi (Maintenance): Likewise.
67085         (Platform): New node.
67086         * manual/platform.texi: New file.  Document the new features.
67088 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
67089             Jakub Jelinek  <jakub@redhat.com>
67091         [BZ #14188]
67092         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
67093         where __builtin_expect is unavailable.
67095 2012-06-03  David S. Miller  <davem@davemloft.net>
67097         * stdlib/longlong.h: Updated from GCC.
67099 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
67101         [BZ #14042]
67102         * sysdeps/powerpc/powerpc32/mcount.c: New file.
67103         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
67104         __mcount_internal.
67105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
67106         (GLIBC_2.16): Likewise.
67108 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
67110         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
67112 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
67114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
67115         (default-abi): New variable.
67116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
67117         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
67118         variable.
67119         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
67120         Likewise.
67121         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
67122         Likewise.
67123         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
67124         Likewise.
67126         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
67127         definition.  Document in comment.
67129 2012-06-01  David S. Miller  <davem@davemloft.net>
67131         * stdlib/longlong.h: Updated from GCC.
67133 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
67135         [BZ #14117]
67136         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
67137         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
67138         sys/debugreg.h sys/io.h here.
67139         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
67140         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
67141         sys/io.h.
67142         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
67143         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
67144         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
67145         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
67146         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
67147         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
67149         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
67150         Define only if __x86_64__ is defined.
67152 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
67154         [BZ #14048]
67155         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
67156         Use int64_t for variable i.
67157         * math/libm-test.inc (fmod_test): Add more tests.
67159         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
67160         z computation is not scheduled after fetestexcept.
67161         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
67162         Use math_force_eval instead of asm to ensure calculation scheduled
67163         before exception test.
67164         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
67165         Ensure a1 + u.d computation is not scheduled after fetestexcept.
67167 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
67169         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
67170         computation is not scheduled after fetestexcept.
67172 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
67174         [BZ #14117]
67175         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
67176         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
67178 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67180         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
67181         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
67183 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
67185         [BZ #14117]
67186         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
67187         <bits/wordsize.h>.
67188         (__WCHAR_MIN): Support __WORDSIZE == 64.
67189         (__WCHAR_MAX): Likewise.
67191         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
67192         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
67194         [BZ #14183]
67195         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
67196         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
67198         [BZ #14117]
67199         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
67200         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
67202         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
67203         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
67205         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
67206         Defined to 1 if __x86_64__ isn't defined.
67207         (_STAT_VER_LINUX_OLD): New.
67208         (st_atime): Remove duplicate.
67209         (st_mtime): Likewise.
67210         (st_ctime): Likewise.
67212 2012-05-31  David S. Miller  <davem@davemloft.net>
67214         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
67215         entries.
67217 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
67219         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
67220         gen-libm-test.pl.
67222         [BZ #14132]
67223         * elf/dl-reloc.c: Include <_itoa.h>.
67224         (_dl_reloc_bad_type): Remove use of INTUSE.
67225         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
67226         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
67227         * stdio-common/psiginfo.c (psiginfo): Likewise.
67228         * stdio-common/psignal.c (psignal): Likewise.
67229         * string/strsignal.c (strsignal): Likewise.
67230         * include/signal.h (_sys_siglist): Declare hidden proto.
67231         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
67232         INTVARDEF with libc_hidden_data_def.
67233         * stdio-common/itoa-udigits.c: Likewise.
67234         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
67235         (_itoa_lower_digits_internal): Remove declaration.
67236         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
67237         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
67238         (_sys_sigabbrev_internal): Remove aliases.
67239         (_sys_siglist): Define hidden alias.
67241 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
67243         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67244         bits/sysctl.h.
67246 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
67248         [BZ #14117]
67249         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
67250         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
67252         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
67253         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
67254         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
67255         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
67256         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
67257         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
67259         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
67260         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
67261         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
67263         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
67264         with __addr.
67265         (insw): Likewise.
67266         (insl): Likewise.
67267         (outsb): Likewise.
67268         (outsw): Likewise.
67269         (outsl): Likewise.
67271         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
67272         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
67273         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
67275         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
67276         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
67277         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
67278         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
67279         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
67280         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
67282         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
67283         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
67285         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
67286         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
67288         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
67289         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
67290         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
67292         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
67293         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
67294         to ...
67295         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
67297         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
67298         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
67299         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
67301         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
67302         for x86-64.
67303         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
67305 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
67307         * math/math.h (M_El): Use two more decimal places.
67308         (M_LOG2El): Likewise.
67309         (M_LOG10El): Likewise.
67310         (M_LN2l): Likewise.
67311         (M_LN10l): Likewise.
67312         (M_PIl): Likewise.
67313         (M_PI_2l): Likewise.
67314         (M_PI_4l): Likewise.
67315         (M_1_PIl): Likewise.
67316         (M_2_PIl): Likewise.
67317         (M_2_SQRTPIl): Likewise.
67318         (M_SQRT2l): Likewise.
67319         (M_SQRT1_2l): Likewise.
67321 2012-05-31  David S. Miller  <davem@davemloft.net>
67323         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
67324         values between float registers.
67325         * sysdeps/sparc/sparc64/memset.S: Likewise.
67326         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
67328 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
67330         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
67331         -D_FORTIFY_SOURCE=1.
67332         (CPPFLAGS-tst-longjmp_chk.c): Define.
67333         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
67334         (CPPFLAGS-tst-longjmp_chk2.c): Define.
67335         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
67336         CFLAGS-tst-wchar-h.c.
67338 2012-05-31  Marek Polacek  <polacek@redhat.com>
67340         [BZ #14132]
67341         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
67342         __endmntent_internal): Remove declaration.
67343         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
67344         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
67345         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
67347 2012-05-30  David S. Miller  <davem@davemloft.net>
67349         * sysdeps/sparc/sparc32/soft-fp/q_util.c
67350         (___Q_simulate_exceptions): Use real FP ops rather than writing
67351         into the %fsr.
67352         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
67353         Likewise.
67355 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
67357         [BZ #14117]
67358         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
67359         * sysdeps/x86/bits/xtitypes.h: This.
67361         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
67362         * sysdeps/x86/bits/wordsize.h: This.
67364         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
67365         * sysdeps/x86/bits/huge_vall.h: This.
67367         * sysdeps/i386/bits/select.h: Removed.
67368         * sysdeps/x86_64/bits/select.h: Renamed to ...
67369         * sysdeps/x86/bits/select.h: This.
67371         * sysdeps/i386/bits/setjmp.h: Removed.
67372         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
67373         * sysdeps/x86/bits/setjmp.h: This.
67375         * sysdeps/i386/bits/mathdef.h: Removed.
67376         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
67377         * sysdeps/x86/bits/mathdef.h: This.
67379 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
67381         [BZ #14132]
67382         * include/sys/socket.h (__connect_internal)
67383         (__libc_sa_len_internal): Remove declaration.
67384         (__connect, __libc_sa_len): Declare hidden_proto.
67385         (SA_LEN): Remove use of INTUSE.
67386         * socket/connect.c: Add libc_hidden_def.
67387         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
67388         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
67389         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
67390         alias.
67391         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
67392         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
67393         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
67394         of adding _internal alias.
67396 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
67398         [BZ #14117]
67399         * sysdeps/i386/bits/link.h: Removed.
67400         * sysdeps/i386/bits/linkmap.h: Likewise.
67401         * sysdeps/x86_64/bits/link.h: Renamed to ...
67402         * sysdeps/x86/bits/link.h: This.
67403         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
67404         * sysdeps/x86/bits/linkmap.h: This.
67406         * sysdeps/i386/bits/endian.h: Removed.
67407         * sysdeps/x86_64/bits/endian.h: Renamed to ...
67408         * sysdeps/x86/bits/endian.h: This.
67410         * sysdeps/i386/bits/byteswap.h: Removed.
67411         * sysdeps/i386/bits/byteswap-16.h: Likewise.
67412         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
67413         * sysdeps/x86/bits/byteswap.h: This.
67414         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
67415         * sysdeps/x86/bits/byteswap-16.h: This.
67416         * sysdeps/i386/Implies: Add x86.
67417         * sysdeps/x86_64/Implies: Likewise.
67419 2012-05-30  David S. Miller  <davem@davemloft.net>
67421         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
67422         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
67423         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
67424         (FP_TRAPPING_EXCEPTIONS): Define.
67425         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
67426         (FP_TRAPPING_EXCEPTIONS): Define.
67427         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
67428         subnormals only when inexact has been signalled or underflow
67429         exceptions are enabled.
67430         (_FP_PACK_CANONICAL): Likewise.
67432 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
67434         [BZ #14183]
67435         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
67436         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
67438 2012-05-30  Richard Henderson  <rth@twiddle.net>
67440         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
67441         with #ifndef NOT_IN_libc.
67443         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
67444         marked to avoid plt entry.
67446 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
67448         [BZ #14112]
67449         * Makeconfig (default-abi): New macro.
67450         (abi-includes): Likewise.
67451         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
67452         $(abi-$(default-abi)-lib-soname) for soname if defined.
67453         ($(common-objpfx)gnu/lib-names.stmp): Generate from
67454         abi-variants.
67455         * Makefile (installed-stubs): Likewise.
67456         * include/stubs-biarch.h: Removed.
67457         * scripts/lib-names.awk: Only handle one library at a time.
67458         * scripts/soversions.awk: Remove WORDSIZE support.
67459         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
67460         entries.
67461         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
67462         Removed.
67463         (syscall-list-default-condition): Likewise.
67464         (syscall-list-default-condition): Likewise.
67465         (syscall-list-includes): Likewise.
67466         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
67467         syscall-list-* with abi-*.  Handle undefined abi-variants.
67468         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
67469         * sysdeps/unix/sysv/linux/i386/Implies: New file.
67470         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
67471         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
67472         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
67473         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
67474         Removed.
67475         (syscall-list-32-options): Likewise.
67476         (syscall-list-32-condition): Likewise.
67477         (syscall-list-64-options): Likewise.
67478         (syscall-list-64-condition): Likewise.
67479         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
67480         macro.
67481         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
67482         Renamed to ...
67483         (abi-*): This.
67484         (abi-64-ld-soname): New macro.
67485         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
67486         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
67487         Renamed to ...
67488         (abi-*): This.
67489         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
67490         * sysdeps/x86_64/x32/shlib-versions: Likewise.
67492 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
67494         * sysdeps/unix/sysv/linux/kernel-features.h
67495         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
67496         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
67497         include <kernel-features.h>.
67498         [!__NR_ftruncate64]: Remove conditional code.
67499         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67500         [__NR_ftruncate64]: Make code unconditional.
67501         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67502         * sysdeps/unix/sysv/linux/truncate64.c: Do not
67503         include <kernel-features.h>.
67504         [!__NR_ftruncate64]: Remove conditional code.
67505         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67506         [__NR_ftruncate64]: Make code unconditional.
67507         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
67509         include <kernel-features.h>.
67510         [!__NR_ftruncate64]: Remove conditional code.
67511         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67512         [__NR_ftruncate64]: Make code unconditional.
67513         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
67515         include <kernel-features.h>.
67516         [!__NR_ftruncate64]: Remove conditional code.
67517         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67518         [__NR_ftruncate64]: Make code unconditional.
67519         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67521         * configure.in (libc_cv_fpie): Weaken to a compile test using
67522         LIBC_TRY_CC_OPTION.
67523         * configure: Regenerated.
67525 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67527         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
67528         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
67529         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
67530         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
67531         Refreshed.
67532         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
67533         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
67534         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
67535         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
67536         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
67537         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
67538         Refreshed.
67540 2012-05-27  David S. Miller  <davem@davemloft.net>
67542         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
67543         (___Q_zero): New.
67544         (__Q_simulate_exceptions): Return void.  Change to simulate
67545         exceptions by writing into the %fsr.
67546         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
67547         (__Qp_handle_exceptions): Likewise.
67548         (numbers): Delete.
67549         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
67550         __Qp_handle_exceptions.
67551         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
67552         __Qp_handle_exceptions.
67553         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
67554         as unused and give dummy FP_RND_NEAREST initializer.
67555         (FP_INHIBIT_RESULTS): Define.
67556         (___Q_simulate_exceptions): Update declaration.
67557         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
67558         formatting.
67559         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
67560         as unused and give dummy FP_RND_NEAREST initializer.
67561         (__Qp_handle_exceptions): Update declaration.
67562         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
67563         formatting.
67565 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
67567         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
67568         the temporary FPU control word.
67569         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
67570         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
67571         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
67572         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
67573         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
67574         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
67575         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
67576         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
67577         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
67578         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
67579         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
67581 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
67583         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
67584         fields.
67586 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
67588         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
67589         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
67590         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
67591         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
67592         Likewise.
67593         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
67594         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
67595         Likewise.
67597 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
67599         * po/h.po: Update from translation team.
67601 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
67603         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
67605         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
67606         handling of denormals.
67607         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
67608         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
67609         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
67610         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
67611         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
67612         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
67613         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
67614         Likewise.
67616 2012-05-26  Marek Polacek  <polacek@redhat.com>
67618         [BZ #14152]
67619         * math/libm-test.inc (fma_test): Don't always expect underflow
67620         exception.
67622 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
67624         [BZ #12416]
67625         * elf/tst-execstack.c: Include stackinfo.h.
67626         (do_test): Adjust test case to ensure that pthread_getattr_np
67627         behaviour remains the same after marking stack executable.
67629 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
67631         * sysdeps/unix/sysv/linux/kernel-features.h
67632         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
67633         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
67634         kernel-features.h.
67635         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
67636         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
67637         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
67638         kernel-features.h.
67639         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
67640         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
67642 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
67644         * configure.in: Define the default includes to being none.
67645         * configure: Regenerated.
67647 2012-05-25  Roland McGrath  <roland@hack.frob.com>
67649         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
67650         * sysdeps/x86_64/setjmp.S: Likewise.
67651         * sysdeps/i386/bsd-setjmp.S: Likewise.
67652         * sysdeps/i386/bsd-_setjmp.S: Likewise.
67653         * sysdeps/i386/setjmp.S: Likewise.
67654         * sysdeps/i386/__longjmp.S: Likewise.
67655         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
67656         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
67658         * include/stap-probe.h: New file.
67659         * configure.in: Handle --enable-systemtap.
67660         * configure: Regenerated.
67661         * config.h.in (USE_STAP_PROBE): New #undef.
67662         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
67663         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
67664         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
67666 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
67668         [BZ #13717]
67669         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
67670         to 2.4.0 where earlier.
67671         * sysdeps/unix/sysv/linux/configure: Regenerated.
67672         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
67673         <kernel-features.h>.
67674         [__ASSUME_32BITUIDS]: Make code unconditional.
67675         [!__ASSUME_32BITUIDS]: Remove conditional code.
67676         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
67677         <kernel-features.h>.
67678         [__ASSUME_32BITUIDS]: Make code unconditional.
67679         [!__ASSUME_32BITUIDS]: Remove conditional code.
67680         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
67681         [__ASSUME_32BITUIDS]: Make code unconditional.
67682         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
67683         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
67684         <kernel-features.h>.
67685         [__ASSUME_32BITUIDS]: Make code unconditional.
67686         [!__ASSUME_32BITUIDS]: Remove conditional code.
67687         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
67688         <kernel-features.h>.
67689         [__ASSUME_32BITUIDS]: Make code unconditional.
67690         [!__ASSUME_32BITUIDS]: Remove conditional code.
67691         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
67692         <kernel-features.h>.
67693         [__ASSUME_32BITUIDS]: Make code unconditional.
67694         [!__ASSUME_32BITUIDS]: Remove conditional code.
67695         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
67696         <kernel-features.h>.
67697         [__ASSUME_32BITUIDS]: Make code unconditional.
67698         [!__ASSUME_32BITUIDS]: Remove conditional code.
67699         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
67700         <kernel-features.h>.
67701         [__ASSUME_32BITUIDS]: Make code unconditional.
67702         [!__ASSUME_32BITUIDS]: Remove conditional code.
67703         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
67704         <kernel-features.h>.
67705         [__ASSUME_32BITUIDS]: Make code unconditional.
67706         [!__ASSUME_32BITUIDS]: Remove conditional code.
67707         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
67708         <kernel-features.h>.
67709         [__ASSUME_32BITUIDS]: Make code unconditional.
67710         [!__ASSUME_32BITUIDS]: Remove conditional code.
67711         * sysdeps/unix/sysv/linux/i386/lchown.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/i386/msgctl.c: Do not include
67716         <kernel-features.h>.
67717         [__ASSUME_32BITUIDS]: Make code unconditional.
67718         [!__ASSUME_32BITUIDS]: Remove conditional code.
67719         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
67720         <kernel-features.h>.
67721         [__ASSUME_32BITUIDS]: Make code unconditional.
67722         [!__ASSUME_32BITUIDS]: Remove conditional code.
67723         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
67724         <kernel-features.h>.
67725         [__NR_setresgid] (__setresgid): Do not declare.
67726         [__ASSUME_32BITUIDS]: Make code unconditional.
67727         [!__ASSUME_32BITUIDS]: Remove conditional code.
67728         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
67729         <kernel-features.h>.
67730         [__NR_setresuid] (__setresuid): Do not declare.
67731         [__ASSUME_32BITUIDS]: Make code unconditional.
67732         [!__ASSUME_32BITUIDS]: Remove conditional code.
67733         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
67734         <kernel-features.h>.
67735         [__ASSUME_32BITUIDS]: Make code unconditional.
67736         [!__ASSUME_32BITUIDS]: Remove conditional code.
67737         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
67738         <kernel-features.h>.
67739         [__ASSUME_32BITUIDS]: Make code unconditional.
67740         [!__ASSUME_32BITUIDS]: Remove conditional code.
67741         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
67742         <kernel-features.h>.
67743         [__ASSUME_32BITUIDS]: Make code unconditional.
67744         [!__ASSUME_32BITUIDS]: Remove conditional code.
67745         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
67746         <kernel-features.h>.
67747         [__ASSUME_32BITUIDS]: Make code unconditional.
67748         [!__ASSUME_32BITUIDS]: Remove conditional code.
67749         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
67750         <kernel-features.h>.
67751         [__ASSUME_32BITUIDS]: Make code unconditional.
67752         [!__ASSUME_32BITUIDS]: Remove conditional code.
67753         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
67754         <kernel-features.h>.
67755         [__ASSUME_32BITUIDS]: Make code unconditional.
67756         [!__ASSUME_32BITUIDS]: Remove conditional code.
67757         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
67758         <kernel-features.h>.
67759         [__ASSUME_32BITUIDS]: Make code unconditional.
67760         [!__ASSUME_32BITUIDS]: Remove conditional code.
67761         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
67762         <kernel-features.h>.
67763         [__ASSUME_32BITUIDS]: Make code unconditional.
67764         [!__ASSUME_32BITUIDS]: Remove conditional code.
67765         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
67766         <kernel-features.h>.
67767         [__ASSUME_32BITUIDS]: Make code unconditional.
67768         [!__ASSUME_32BITUIDS]: Remove conditional code.
67769         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
67770         <kernel-features.h>.
67771         [__ASSUME_32BITUIDS]: Make code unconditional.
67772         [!__ASSUME_32BITUIDS]: Remove conditional code.
67773         * sysdeps/unix/sysv/linux/kernel-features.h
67774         (__ASSUME_SETRESUID_SYSCALL): Remove.
67775         (__ASSUME_SETRESGID_SYSCALL): Likewise.
67776         (__ASSUME_32BITUIDS): Likewise.
67777         (__ASSUME_LDT_WORKS): Likewise.
67778         (__ASSUME_O_DIRECTORY): Likewise.
67779         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
67780         architecture but not kernel version.
67781         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
67782         (__ASSUME_MMAP2_SYSCALL): Likewise.
67783         (__ASSUME_STAT64_SYSCALL): Likewise.
67784         (__ASSUME_IPC64): Likewise.
67785         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
67786         <kernel-features.h>.
67787         [__ASSUME_32BITUIDS]: Make code unconditional.
67788         [!__ASSUME_32BITUIDS]: Remove conditional code.
67789         * sysdeps/unix/sysv/linux/opendir.c: Do not include
67790         <kernel-features.h>.
67791         [__ASSUME_O_DIRECTORY]: Make code unconditional.
67792         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
67793         132096]: Remove conditional code.
67794         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
67795         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
67796         <kernel-features.h>.
67797         [__ASSUME_32BITUIDS]: Make code unconditional.
67798         [!__ASSUME_32BITUIDS]: Remove conditional code.
67799         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
67800         <kernel-features.h>.
67801         [__ASSUME_32BITUIDS]: Make code unconditional.
67802         [!__ASSUME_32BITUIDS]: Remove conditional code.
67803         * sysdeps/unix/sysv/linux/setegid.c: Do not include
67804         <kernel-features.h>.
67805         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
67806         unconditional.
67807         (__setresgid): Do not declare.
67808         [__ASSUME_32BITUIDS]: Make code unconditional.
67809         [!__ASSUME_32BITUIDS]: Remove conditional code.
67810         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
67811         <kernel-features.h>.
67812         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
67813         unconditional.
67814         (__setresuid): Do not declare.
67815         [__ASSUME_32BITUIDS]: Make code unconditional.
67816         [!__ASSUME_32BITUIDS]: Remove conditional code.
67817         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
67818         <kernel-features.h>.
67819         [__ASSUME_32BITUIDS]: Make code unconditional.
67820         [!__ASSUME_32BITUIDS]: Remove conditional code.
67821         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
67822         <kernel-features.h>.
67823         [__ASSUME_32BITUIDS]: Make code unconditional.
67824         [!__ASSUME_32BITUIDS]: Remove conditional code.
67826 2012-05-25  Richard Henderson  <rth@twiddle.net>
67828         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
67829         dl_hwcap to ifunc resolver.
67830         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
67831         elf_ifunc_invoke.
67832         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
67833         dl_hwcap to ifunc resolver.
67834         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
67836 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
67838         [BZ #14153]
67839         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
67840         for |x| <= 2**-26, not 2**-57.
67841         * math/libm-test.inc (acos_test): Do not allow spurious underflow
67842         exception.
67844 2012-05-24  Jeff Law  <law@redhat.com>
67846         * stdio-common/Makefile (tests): Add bug25.
67847         * stdio-common/bug25.c: New test.
67849 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
67851         [BZ #13576]
67852         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
67853         multiple of MALLOC_ALIGNMENT in size.
67854         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
67856 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
67858         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
67859         Require >= 256.
67860         (FILENAME_MAX): Use macro-int-constant.
67861         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
67862         (_IOFBF): Use macro-int-constant.
67863         (_IOLBF): Likewise.
67864         (_IONBF): Likewise.
67865         (SEEK_CUR): Likewise.
67866         (SEEK_END): Likewise.
67867         (SEEK_SET): Likewise.
67868         (TMP_MAX): Likewise.
67869         (EOF): Use macro-int-constant.  Require < 0.
67870         (NULL): Use macro-constant.  Require == 0.
67871         (stdin): Require type to be FILE *.
67872         (stdout): Likewise.
67873         (stderr): Likewise.
67874         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
67875         macro-int-constant.
67876         (EXIT_SUCCESS): Likewise.
67877         (NULL): Use macro-constant.  Require == 0.
67878         (RAND_MAX): Use macro-int-constant.
67879         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
67880         [C99-based standards] (strtof): Require function.
67881         [C99-based standards] (strtold): Likewise.
67882         [C99-based standards] (strtoll): Likewise.
67883         [C99-based standards] (strtoull): Likewise.
67884         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
67885         [ISO || ISO99 || ISO11] (limits.h): Likewise.
67886         [ISO || ISO99 || ISO11] (math.h): Likewise.
67887         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
67888         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
67889         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67891 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
67893         [BZ #14132]
67894         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
67895         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
67896         * intl/dgettext.c (DCGETTEXT): Likewise.
67897         * intl/gettext.c (DCGETTEXT): Likewise.
67898         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
67899         * posix/regex_internal.h (gettext): Likewise.
67900         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
67901         Remove declaration.
67902         * include/argz.h (__argz_count_internal)
67903         (__argz_stringify_internal): Remove declaration.
67904         (__argz_count, __argz_stringify): Declare hidden proto.
67905         * intl/dcgettext.c: Remove use of INTDEF.
67906         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
67907         * string/argz-stringify.c: Likewise.
67908         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
67909         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
67910         Declare hidden proto.
67911         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
67912         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
67913         Declare hidden proto.
67914         * include/stdio.h (__asprintf_internal): Don't declare.
67915         (__asprintf): Don't define as macro.  Declare hidden proto.
67916         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
67917         (__fsetlocking): Declare hidden proto.
67918         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
67919         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
67920         hidden proto.
67921         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
67922         (_IO_setlinebuf): Remove use of INTUSE.
67923         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
67924         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
67925         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
67926         Remove declaration.
67927         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
67928         (_IO_do_flush): Remove use of INTUSE.
67929         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
67930         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
67931         (_IO_adjust_column, _IO_least_wmarker)
67932         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
67933         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
67934         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
67935         (_IO_default_doallocate, _IO_wdefault_doallocate)
67936         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
67937         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
67938         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
67939         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
67940         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
67941         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
67942         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
67943         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
67944         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
67945         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
67946         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
67947         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
67948         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
67949         proto.
67950         (_IO_flush_all_internal, _IO_adjust_column_internal)
67951         (_IO_default_uflow_internal, _IO_default_finish_internal)
67952         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
67953         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
67954         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
67955         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
67956         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
67957         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
67958         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
67959         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
67960         (_IO_file_close_internal, _IO_file_close_it_internal)
67961         (_IO_file_underflow_internal, _IO_file_overflow_internal)
67962         (_IO_file_init_internal, _IO_file_attach_internal)
67963         (_IO_file_fopen_internal, _IO_file_read_internal)
67964         (_IO_file_sync_internal, _IO_file_seek_internal)
67965         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
67966         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
67967         (_IO_str_underflow_internal, _IO_str_overflow_internal)
67968         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
67969         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
67970         (_IO_list_all_internal, _IO_link_in_internal)
67971         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
67972         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
67973         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
67974         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
67975         (_IO_do_write_internal, _IO_padn_internal)
67976         (_IO_getline_info_internal, _IO_getline_internal)
67977         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
67978         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
67979         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
67980         (_IO_vfscanf_internal, _IO_vfprintf_internal)
67981         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
67982         (_IO_init_internal, _IO_un_link_internal): Don't declare.
67983         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
67984         with libc_hidden_ver, remove use of INTUSE.
67985         * libio/genops.c: Likewise.
67986         * libio/freopen.c: Likewise.
67987         * libio/freopen64.c: Likewise.
67988         * libio/iofclose.c: Likewise.
67989         * libio/iofdopen.c: Likewise.
67990         * libio/iofflush.c: Likewise.
67991         * libio/iofflush_u.c: Likewise.
67992         * libio/iofgets.c: Likewise.
67993         * libio/iofgets_u.c: Likewise.
67994         * libio/iofopen.c: Likewise.
67995         * libio/iofopncook.c: Likewise.
67996         * libio/iofread.c: Likewise.
67997         * libio/iofread_u.c: Likewise.
67998         * libio/ioftell.c: Likewise.
67999         * libio/iofwrite.c: Likewise.
68000         * libio/iogetline.c: Likewise.
68001         * libio/iogets.c: Likewise.
68002         * libio/iogetwline.c: Likewise.
68003         * libio/iopadn.c: Likewise.
68004         * libio/iopopen.c: Likewise.
68005         * libio/ioseekoff.c: Likewise.
68006         * libio/ioseekpos.c: Likewise.
68007         * libio/iosetbuffer.c: Likewise.
68008         * libio/iosetvbuf.c: Likewise.
68009         * libio/ioungetc.c: Likewise.
68010         * libio/ioungetwc.c: Likewise.
68011         * libio/iovdprintf.c: Likewise.
68012         * libio/iovsprintf.c: Likewise.
68013         * libio/iovsscanf.c: Likewise.
68014         * libio/memstream.c: Likewise.
68015         * libio/obprintf.c: Likewise.
68016         * libio/oldfileops.c: Likewise.
68017         * libio/oldiofclose.c: Likewise.
68018         * libio/oldiofdopen.c: Likewise.
68019         * libio/oldiofopen.c: Likewise.
68020         * libio/oldiopopen.c: Likewise.
68021         * libio/oldstdfiles.c: Likewise.
68022         * libio/putc.c: Likewise.
68023         * libio/setbuf.c: Likewise.
68024         * libio/setlinebuf.c: Likewise.
68025         * libio/stdfiles.c: Likewise.
68026         * libio/strops.c: Likewise.
68027         * libio/vasprintf.c: Likewise.
68028         * libio/vscanf.c: Likewise.
68029         * libio/vsnprintf.c: Likewise.
68030         * libio/vswprintf.c: Likewise.
68031         * libio/wfiledoalloc.c: Likewise.
68032         * libio/wfileops.c: Likewise.
68033         * libio/wgenops.c: Likewise.
68034         * libio/wmemstream.c: Likewise.
68035         * libio/wstrops.c: Likewise.
68036         * libio/__fpurge.c: Likewise.
68037         * libio/__fsetlocking.c: Likewise.
68038         * assert/assert.c: Likewise.
68039         * debug/fgets_chk.c: Likewise.
68040         * debug/fgets_u_chk.c: Likewise.
68041         * debug/fread_chk.c: Likewise.
68042         * debug/fread_u_chk.c: Likewise.
68043         * debug/gets_chk.c: Likewise.
68044         * debug/obprintf_chk.c: Likewise.
68045         * debug/vasprintf_chk.c: Likewise.
68046         * debug/vdprintf_chk.c: Likewise.
68047         * debug/vsnprintf_chk.c: Likewise.
68048         * debug/vsprintf_chk.c: Likewise.
68049         * malloc/mtrace.c: Likewise.
68050         * misc/error.c: Likewise.
68051         * misc/syslog.c: Likewise.
68052         * stdio-common/asprintf.c: Likewise.
68053         * stdio-common/fxprintf.c: Likewise.
68054         * stdio-common/getw.c: Likewise.
68055         * stdio-common/isoc99_fscanf.c: Likewise.
68056         * stdio-common/isoc99_scanf.c: Likewise.
68057         * stdio-common/isoc99_vfscanf.c: Likewise.
68058         * stdio-common/isoc99_vscanf.c: Likewise.
68059         * stdio-common/isoc99_vsscanf.c: Likewise.
68060         * stdio-common/printf-prs.c: Likewise.
68061         * stdio-common/printf_fp.c: Likewise.
68062         * stdio-common/printf_fphex.c: Likewise.
68063         * stdio-common/printf_size.c: Likewise.
68064         * stdio-common/putw.c: Likewise.
68065         * stdio-common/scanf.c: Likewise.
68066         * stdio-common/sprintf.c: Likewise.
68067         * stdio-common/tmpfile.c: Likewise.
68068         * stdio-common/vfprintf.c: Likewise.
68069         * stdio-common/vfscanf.c: Likewise.
68070         * stdlib/strfmon_l.c: Likewise.
68071         * sunrpc/openchild.c: Likewise.
68072         * sunrpc/xdr_stdio.c: Likewise.
68073         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
68074         * sysdeps/mach/hurd/tmpfile.c: Likewise.
68076 2012-05-24  Roland McGrath  <roland@hack.frob.com>
68078         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
68080         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
68081         in the third column, to generate for the shared library an IFUNC
68082         that uses _dl_vdso_vsym.
68083         * Makerules (COMPILE.c, compile-stdin.c): New variables.
68084         * Makeconfig (object-suffixes-noshared): New variable.
68086         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
68087         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
68088         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
68089         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
68091         [BZ #14132]
68092         * include/sys/time.h (__gettimeofday): Remove macro.
68093         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
68094         * time/gettimeofday.c (__gettimeofday): Remove #undef.
68095         Remove INTDEF.
68096         (__gettimeofday): Add libc_hidden_def.
68097         (gettimeofday): Add libc_hidden_weak.
68098         * sysdeps/mach/gettimeofday.c: Likewise.
68099         * sysdeps/posix/gettimeofday.c: Likewise.
68100         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
68101         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
68102         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
68103         (__gettimeofday_internal): Remove strong_alias.
68104         (__gettimeofday): Add libc_hidden_def.
68105         (gettimeofday): Add libc_hidden_weak.
68106         * sysdeps/unix/syscalls.list (gettimeofday):
68107         Remove __gettimeofday_internal alias.
68109 2012-05-24  Daniel Jacobowitz  <drow@false.org>
68110             H.J. Lu  <hongjiu.lu@intel.com>
68112         [BZ #12495]
68113         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
68114         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
68115         (largebin_index_32_big): New.
68116         (largebin_index): Use it for 16-byte alignment.
68117         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
68118         correction with front_misalign.
68120 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
68122         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
68123         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
68124         Likewise.
68125         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
68126         Likewise.
68127         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
68128         Likewise.
68129         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
68130         Likewise.
68131         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
68132         Likewise.
68133         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
68134         Likewise.
68135         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
68136         Likewise.
68137         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
68138         Likewise.
68139         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
68140         Likewise.
68141         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
68142         Likewise.
68143         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
68144         Likewise.
68145         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
68146         Likewise.
68148         * scripts/data/c++-types-x32-linux-gnu.data: New file.
68149         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
68151 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
68153         [BZ #10846]
68154         [BZ #14036]
68155         * math/libm-test.inc (exp_test): Add test from bug 14036.
68156         (pow_test): Add test from bug 10846.
68158         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
68159         and other flags.
68160         (special_function): Do not include flags in test name.
68161         (parse_args): Likewise.
68162         * sysdeps/i386/fpu/libm-test-ulps: Update.
68163         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
68164         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
68165         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
68166         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68168         * math/gen-libm-test.pl (%beautify): Add entries for underflow
68169         exceptions.
68170         * math/libm-test.inc ("Philosophy"): Update comment about
68171         exception testing.
68172         (UNDERFLOW_EXCEPTION): New macro.
68173         (UNDERFLOW_EXCEPTION_OK): Likewise.
68174         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
68175         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
68176         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
68177         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
68178         (INVALID_EXCEPTION_OK): Update value.
68179         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
68180         (OVERFLOW_EXCEPTION_OK): Likewise.
68181         (IGNORE_ZERO_INF_SIGN): Likewise.
68182         (test_exceptions): Handle underflow exceptions.
68183         (acos_test): Update for underflow exception expectations.
68184         (cexp_test): Likewise.
68185         (clog_test): Likewise.
68186         (clog10_test): Likewise.
68187         (csqrt_test): Likewise.
68188         (ctan_test): Likewise.
68189         (ctanh_test): Likewise.
68190         (exp_test): Likewise.
68191         (exp10_test): Likewise.
68192         (exp2_test): Likewise.
68193         (expm1_test): Likewise.
68194         (fma_test): Likewise.
68195         (j0_test): Likewise.
68196         (jn_test): Likewise.
68197         (nexttoward_test): Likewise.
68198         (pow_test): Likewise.
68199         (scalbn_test): Likewise.
68200         (scalbln_test): Likewise.
68201         (tan_test): Likewise.
68202         (y1_test): Likewise.
68203         * sysdeps/i386/fpu/libm-test-ulps: Update.
68204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68206 2012-05-23  David S. Miller  <davem@davemloft.net>
68208         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
68209         (__libc_sigaction): Remove unused local variables.
68211 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
68213         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
68215 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
68217         mktime: avoid signed integer overflow
68218         * time/mktime.c (__mktime_internal): Do not mishandle the case
68219         where diff == INT_MIN.
68221         mktime: simplify computation of average
68222         * time/mktime.c (ranged_convert): Use new time_t_avg function
68223         instead of rolling our own (probably-slower) code.
68225         mktime: do not assume signed right shift propagates sign bit
68226         * time/mktime.c (isdst_differ): New static function.
68227         (__mktime_internal): No need to normalize tm_isdst now.
68228         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
68229         tm_isdst values.
68231         mktime: merge another wrapv change from gnulib
68232         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
68233         from some compilers.
68235         mktime: remove incorrect attempt at unusual arithmetics
68236         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
68237         The code didn't really work on such machines anyway.
68238         (TYPE_MINIMUM): Assume two's complement.
68239         (twos_complement_arithmetic): Verify that long_int and time_t
68240         are two's complement (or unsigned, in the latter case).
68242         mktime: check signed shifts on long_int and time_t, too
68243         * time/mktime.c (SHR): Check that shifts work as desired
68244         on the types long_int and time_t too, as SHR is used on
68245         such types.
68247         mktime: do not assume 'long' is wide enough
68248         * time/mktime.c (verify): Move decl up.
68249         (long_int): New type.
68250         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
68251         to remove assumption in the code that 'long' is wide enough to
68252         store year values.  This assumption is not true on x32 and on
68253         some non-glibc platforms.
68255         mktime: merge wrapv change from gnulib
68256         * time/mktime.c (WRAPV): New macro.
68257         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
68258         (guess_time_tm, __mktime_internal): Do not assume that signed
68259         integer overflow wraps around; modern compilers generate code
68260         where this assumption is no longer valid.
68262 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
68264         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
68265         Replace "jmp L(pseudo_end)" with "ret".
68266         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
68267         Likewise.
68269 2012-05-23  Andreas Jaeger  <aj@suse.de>
68271         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
68272         * sysdeps/unix/sysv/linux/poll.c: Remove file.
68274 2012-05-23  Andreas Jaeger  <aj@suse.de>
68275             Maximilian Attems  <max@stro.at>
68277         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
68278         New macros.
68280 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
68282         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
68283         code so that pseudo_end is just ret and the stack pointer is
68284         correct also for static library in error case.
68286 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
68288         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
68289         move to syscalls.list.
68290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
68291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
68292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
68293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
68295         * manual/install.texi (Running make install): Do not mention Linux
68296         kernel version for which pt_chown is not needed.
68297         (Linux): Do not mention problems with nscd with 2.0 kernels.
68298         * INSTALL: Regenerated.
68300 2012-05-23  Andreas Jaeger  <aj@suse.de>
68302         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
68303         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
68304         macro.
68305         * sysdeps/unix/sysv/linux/s390/bits/mman.h
68306         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68307         * sysdeps/unix/sysv/linux/sh/bits/mman.h
68308         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68309         * sysdeps/unix/sysv/linux/i386/bits/mman.h
68310         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68311         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
68312         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68313         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
68314         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68315         * sysdeps/unix/sysv/linux/bits/in.h
68316         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
68318 2012-05-22  Roland McGrath  <roland@hack.frob.com>
68320         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
68321         (PREPARE_VERSION): Just use assert instead, it will be elided
68322         under [NDEBUG] anyway.
68324 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
68326         * sysdeps/unix/sysv/linux/Makefile: Include
68327         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
68328         (sysdep_routines): Remove sysctl.
68329         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
68330         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
68331         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
68332         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
68333         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
68335 2012-05-22  Andreas Jaeger  <aj@suse.de>
68337         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
68338         that pseudo_end is just ret and the stack pointer is correct also
68339         for static library in error case.
68341 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
68343         [BZ #14122]
68344         * nss/nsswitch.c (defconfig_entries): New variable.
68345         (__nss_database_lookup): Don't leak defconfig entries.
68346         (nss_parse_service_list): Don't leak on error paths.
68347         (free_database_entries): New function.
68348         (free_defconfig): New function.
68349         (free_mem): Move common code to free_database_entries.
68351 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
68353         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
68354         Add arch_prctl.
68355         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
68357         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
68358         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
68359         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
68360         New macro.
68361         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
68362         (INTERNAL_SYSCALL_TYPES): Likewise.
68363         (LOAD_ARGS_TYPES_[1-6]): Likewise.
68364         (LOAD_REGS_TYPES_[1-6]): Likewise.
68365         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
68366         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
68368 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68370         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
68371         copysignl for GLIBC_2_0.
68372         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
68373         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
68374         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
68375         logbl for GLIBC_2_0.
68376         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
68377         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
68379 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
68381         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
68382         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
68384         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
68385         Use "neg %eax".
68387         * time/mktime.c: Update copyright years.
68389 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
68391         mktime: merge comment-quoting-style change from gnulib
68392         * time/mktime.c: Quote 'like this' in comments.
68393         The GNU coding standards suggest that we no longer quote `like this',
68394         as "`" and "'" are typically rendered asymmetrically nowadays.
68395         The typical gnulib style is to quote 'like this' when quoting
68396         code, and "like this" when quoting English.
68398         * time/mktime.c (compile-command): Add "-I.".
68400         mktime: merge mktime-internal.h change from gnulib
68401         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
68403         mktime: merge time_r change from gnulib
68404         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
68406         mktime: merge DEBUG change from gnulib
68407         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
68408         case system <time.h> has a #define.
68410         mktime: merge <sys/types.h> change from gnulib
68411         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
68412         since <time.t> is now guaranteed to define time_t.
68414         mktime: merge HAVE_CONFIG_H change from gnulib
68415         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
68417 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
68419         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
68420         Use "neg %eax".
68422         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
68423         __rlim_t cast.
68424         (struct rusage): Use anonymous union to pad each field to
68425         __syscall_slong_t.
68427 2012-05-21  David S. Miller  <davem@davemloft.net>
68429         * Makefules (o-iterator): Remove .s cases.
68430         (compile-command.s): Delete.
68431         (COMPILE.s): Delete.
68432         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
68434 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
68436         * configure.in (libc_cv_predef_stack_protector): Only consider
68437         "foobar" and "__stack_chk_fail" lines in libc_undefs.
68438         * configure: Regenerated.
68440 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
68442         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
68443         New macro.  Use R*LP on int and pointer.
68444         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
68445         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
68446         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
68447         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
68449         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
68450         [__WORDSIZE_TIME64_COMPAT32] instead of
68451         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
68452         (struct utmp): Likewise.
68453         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
68454         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
68455         Renamed to ...
68456         (__WORDSIZE_TIME64_COMPAT32): This.
68457         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
68458         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
68459         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
68460         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
68461         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
68462         (__WORDSIZE_TIME64_COMPAT32): New macro.
68464 2012-05-21  Andreas Jaeger  <aj@suse.de>
68466         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
68467         only if [SHARED]. Add prototype for __wcschr_ia32.
68469 2012-05-21  Roland McGrath  <roland@hack.frob.com>
68471         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
68472         of %rbp unmolested in the jmp_buf while mangling the low bits.
68473         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
68474         unmolested high bits of %rbp while demangling the low bits.
68475         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
68477 2012-05-21  Andreas Jaeger  <aj@suse.de>
68479         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
68480         * sunrpc/svc_simple.c: Use it for registerrpc.
68481         * sunrpc/xcrypt.c: Use it for passwd2des.
68483         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
68485 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
68487         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
68488         Don't define if [__SYSCALL_WORDSIZE != 32].
68489         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
68490         New macro.
68492 2012-05-21  Bruno Haible  <bruno@clisp.org>
68493             Andreas Jaeger  <aj@suse.de>
68495         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
68496         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
68497         inptr and inend for must_buffer_ch.
68498         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
68499         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
68500         * stdio-common/Makefile (tests): Remove bug15.
68501         (bug15-ENV): Remove macro.
68502         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
68503         anymore.
68505 2012-05-19  Andreas Jaeger  <aj@suse.de>
68506             Roland McGrath  <roland@hack.frob.com>
68508         * manual/contrib.texi: Completely rewritten. It contains now an
68509         alphabetical list of contributors and their contributions.
68511 2012-05-21  Richard Henderson  <rth@twiddle.net>
68513         * misc/getauxval.c (__getauxval): Use unsigned long int.
68514         * misc/sys/auxv.h: Include <sys/cdefs.h>.
68515         (getauxval): Use unsigned long int.
68517 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
68519         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
68521 2012-05-21  Roland McGrath  <roland@hack.frob.com>
68523         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
68524         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
68525         __alignof__ (long double).
68527 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68529         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68531 2012-05-20  Richard Henderson  <rth@twiddle.net>
68533         * misc/getauxval.c: New file.
68534         * misc/sys/auxv.h: New file.
68535         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
68536         (routines): Add getauxval.
68537         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
68538         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
68539         * elf/dl-sysdep.c (_dl_auxv): Remove.
68540         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
68541         * elf/dl-support.c (_dl_auxv): New variable.
68542         (_dl_aux_init): Initialize it.
68543         * manual/startup.texi (Auxiliary Vector): New node.
68544         * sysdeps/generic/bits/hwcap.h: New file.
68545         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
68546         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
68547         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
68548         * sysdeps/sparc/sysdep.h: ... here.  Include it.
68549         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
68550         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
68551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68552         Update.
68553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
68554         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
68555         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
68556         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
68557         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
68558         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
68559         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
68560         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
68562 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68564         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68566 2012-05-19  David S. Miller  <davem@davemloft.net>
68568         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68570 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
68572         [BZ #14123]
68573         * math/s_ccosh.c: Include <float.h>
68574         (__ccosh): Avoid internal overflow calculating sinh and cosh
68575         values before multiplying by sin and cos values.
68576         * math/s_ccoshf.c: Likewise.
68577         * math/s_ccoshl.c: Likewise.
68578         * math/s_csin.c: Likewise.
68579         * math/s_csinf.c: Likewise.
68580         * math/s_csinl.c: Likewise.
68581         * math/s_csinh.c: Likewise.
68582         * math/s_csinhf.c: Likewise.
68583         * math/s_csinhl.c: Likewise.
68584         * math/libm-test.inc (ccos_test): Add more tests.
68585         (ccosh_test): Likewise.
68586         (csin_test): Likewise.
68587         (csinh_test): Likewise.
68588         * sysdeps/i386/fpu/libm-test-ulps: Update.
68589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68591 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
68593         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
68594         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
68596         * sysdeps/x86_64/x32/_itoa.h: Add comment.
68598 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
68600         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
68601         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
68602         * sysdeps/powerpc/soft-fp/Versions: Likewise.
68603         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
68604         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
68605         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
68606         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
68607         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
68608         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
68609         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
68610         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
68611         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
68612         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
68613         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
68614         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
68615         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
68616         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
68617         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
68618         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
68619         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
68620         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
68621         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
68622         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
68623         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
68624         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
68625         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
68626         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
68627         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
68628         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
68629         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
68630         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
68632 2012-05-18  Andreas Jaeger  <aj@suse.de>
68634         * csu/.gitignore: Delete.
68636 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
68638         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
68639         (timex): Use __syscall_slong_t.
68641 2012-05-18  Andreas Jaeger  <aj@suse.de>
68642             Carlos O'Donell  <carlos_odonell@mentor.com>
68644         * manual/install.texi (Configuring and compiling): Update
68645         description about files modified in the source directory.
68646         * INSTALL: Regenerated.
68648 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
68650         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
68651         value.  Use "or" to set return value to -1.
68652         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
68653         negate return value.
68655 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68657         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
68658         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
68659         failure if the compiler has Graphite support disabled.
68660         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
68661         Likewise.
68662         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
68663         (CFLAGS-memmove.c): Likewise.
68664         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
68665         Likewise.
68667 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
68669         * sysdeps/x86_64/x32/_itoa.h: New file.
68671         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
68672         getdents system call only if kernel and user dirents have the
68673         same d_ino and d_off.
68675         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
68676         LLONG_MAX != LONG_MAX.
68677         (_itoa_word): Use _ITOA_WORD_TYPE on value.
68678         (_fitoa_word): Likewise.
68680         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
68681         years.
68682         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
68683         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
68684         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
68686         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
68687         include <bits/wordsize.h>.  Check __x86_64__ instead of
68688         __WORDSIZE.
68689         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
68690         if __x86_64__ is defined.  Use anonymous union on fpstate.
68692         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
68693         anonymous union.
68695 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
68697         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
68698         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
68699         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
68700         Refer to _rtld_local_ro instead of _rtld_global_ro.
68701         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
68702         Likewise.
68703         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
68704         Likewise.
68705         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
68706         Likewise.
68707         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
68708         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
68709         of _rtld_global, and rtld_progname instead of _dl_argv[0].
68711         [BZ #10882]
68712         * sysdeps/powerpc/powerpc32/dl-machine.c
68713         (__elf_machine_runtime_setup) [PROF]: Don't reference
68714         _dl_prof_resolve.
68716 2012-05-18  Andreas Jaeger  <aj@suse.de>
68718         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
68719         function only available for GCCs before 3.4 since GCC 3.4
68720         introduced a builtin.
68721         (lrint): Likewise.
68722         (llrintf): Likewise.
68723         (llrint): Likewise.
68724         (fmaxf): Likewise.
68725         (fmax): Likewise.
68726         (fminf): Likewise.
68727         (fmin): Likewise.
68728         (rint): Likewise.
68729         (rintf): Likewise.
68730         (nearbyint): Likewise.
68731         (nearbyintf): Likewise.
68732         (ceil): Likewise.
68733         (ceilf): Likewise.
68734         (floor): Likewise.
68735         (floorf): Likewise.
68737 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
68739         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
68740         on both fields and cast pointer to __syscall_ulong_t.
68742         * bits/types.h (__fsword_t): New type.
68743         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
68744         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
68745         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68746         (__FSWORD_T_TYPE): Likewise.
68747         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
68748         (__FSWORD_T_TYPE): Likewise.
68749         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68750         (__FSWORD_T_TYPE): Likewise.
68751         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
68752         (__FSWORD_T_TYPE): Likewise.
68753         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
68754         __SWORD_TYPE with __fsword_t.
68755         (statfs64): Likewise.
68757 2012-05-17  David S. Miller  <davem@davemloft.net>
68759         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
68761 2012-05-17  Andreas Jaeger  <aj@suse.de>
68763         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
68764         warning.
68766 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
68768         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
68770 2012-05-17  Andreas Jaeger  <aj@suse.de>
68772         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
68773         when it is used.
68775 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
68777         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
68779 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
68781         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
68782         * sysdeps/x86_64/tst-mallocalign1.c: New file.
68784 2012-05-17  Andreas Jaeger  <aj@suse.de>
68785             Carlos O'Donell  <carlos_odonell@mentor.com>
68787         [BZ #14059]
68788         * sysdeps/x86_64/multiarch/init-arch.h
68789         (bit_YMM_Usable): Rename to...
68790         (bit_AVX_Usable): ... this.
68791         (bit_FMA4_Usable): New macro.
68792         (bit_XMM_state): New macro.
68793         (bit_YMM_state): New macro.
68794         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
68795         [__ASSEMBLER__] (index_AVX_Usable): ... this.
68796         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
68797         (CPUID_OSXSAVE): New macro.
68798         (CPUID_AVX): New macro.
68799         (CPUID_FMA4): New macro.
68800         (index_YMM_Usable): Rename to...
68801         (index_AVX_Usable): ... this.
68802         (HAS_AVX): Use HAS_ARCH_FEATURE.
68803         (HAS_FMA4): Likewise.
68804         (HAS_YMM_USABLE): Remove.
68805         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68806         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
68807         are present.
68808         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
68809         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
68810         * sysdeps/x86_64/multiarch/Makefile: Likewise.
68811         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
68812         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
68814 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
68816         * math/libm-test.c: Support platforms without multiple rounding modes.
68817         * math/bug-nextafter.c: Support platforms without FP exceptions.
68818         * math/bug-nexttoward.c: Likewise.
68819         * math/test-fenv.c: Likewise.
68820         * math/test-misc.c: Likewise.
68821         * stdlib/bug-getcontext.c: Likewise.
68823 2012-05-17  Andreas Jaeger  <aj@suse.de>
68825         * manual/examples/search.c (critter_cmp): Change signature to
68826         avoid warnings.
68827         * manual/string.texi (Collation Functions): Likewise.
68829 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68831         * bits/types.h: Fold copyright years.
68832         * bits/typesizes.h: Likewise.
68833         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
68834         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
68835         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
68836         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
68837         * time/time.h: Likewise.
68839 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
68841         [BZ #208]
68842         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
68843         in instead of returning them.  Return void.
68844         (__libc_mallinfo): Accumulate over all arenas.
68845         (__malloc_stats): Adjust for change in int_mallinfo interface.
68847 2012-05-16  Roland McGrath  <roland@hack.frob.com>
68849         [BZ #10375]
68850         * configure.in (NM): Add AC_CHECK_TOOL for it.
68851         (libc_extra_cflags): New substituted variable.
68852         Check for -fstack-protector being used implicitly.
68853         * configure: Regenerated.
68854         * config.make.in (config-extra-cflags): New variable,
68855         gets @libc_extra_cflags@.
68856         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
68858         [BZ #10375]
68859         * configure.in: Check for _FORTIFY_SOURCE being predefined.
68860         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
68861         * configure: Regenerated.
68862         * config.make.in (CPPUNDEFS): New substituted variable.
68863         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
68864         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
68865         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
68867 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68869         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
68870         (mq_attr): Use __syscall_slong_t.
68872 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68874         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
68875         Check __x86_64__ instead of __WORDSIZE.
68876         (_STAT_VER_LINUX): Likewise.
68877         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
68878         __syscall_ulong_t and __syscall_slong_t.
68879         (stat64): Likewise.
68881 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68883         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
68885 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68887         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
68889 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68891         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
68892         __syscall_ulong_t.
68894         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
68895         include <bits/wordsize.h>.  Check __x86_64__ instead of
68896         __WORDSIZE.
68897         (greg_t): Use "__extension__ long long int" if __x86_64__ is
68898         defined.
68899         (mcontext_t): Replace "unsigned long" with "unsigned long long".
68901         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
68902         include <bits/wordsize.h>.  Check __x86_64__ instead of
68903         __WORDSIZE.
68904         (user_regs_struct): Use "__extension__ unsigned long long"
68905         instead of "unsigned long" if __x86_64__ is defined.
68906         (user): Likewise.  Pad after pointer field if __ILP32__ is
68907         defined.
68909 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
68911         * configure.in (makeinfo): Require version 4.5 or later.  Allow
68912         versions 5 to 9.
68913         * configure: Regenerated.
68914         * manual/install.texi (texinfo): Increase version requirement to
68915         4.5 or later.
68916         * INSTALL: Regenerated.
68918         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
68920 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68922         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
68924         * sysdeps/x86_64/x32/ffs.c: New file.
68926         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
68927         __syscall_ulong_t.
68928         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
68929         defined.  Use __syscall_ulong_t.
68930         (shminfo): Use __syscall_ulong_t.
68931         (shm_info): Likewise.
68933         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
68934         __syscall_ulong_t.
68936         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
68937         <bits/wordsize.h>.
68938         (msgqnum_t): Use __syscall_ulong_t.
68939         (msglen_t): Likewise.
68940         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
68941         __syscall_ulong_t.
68943         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
68944         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
68946         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
68948         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
68949         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
68951         * sysvipc/sys/msg.h (msgbuf): Replace long int with
68952         __syscall_slong_t.
68954         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
68955         include <bits/wordsize.h>.  Check __x86_64__ instead of
68956         __WORDSIZE.
68958         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
68959         "unsigned long long int" if __x86_64__ is defined.
68960         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
68962         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
68963         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
68964         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
68966         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
68967         <stdint.h>.
68968         (GET_PC): Cast to uintptr_t first.
68969         (GET_FRAME): Likewise.
68970         (GET_STACK): Likewise.
68972         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
68973         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
68974         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
68975         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
68976         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
68977         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
68978         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
68979         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
68980         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
68981         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
68982         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
68983         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
68984         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
68985         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
68986         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
68987         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
68988         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
68989         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
68990         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
68991         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
68992         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
68993         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
68994         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
68995         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
68996         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
68997         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
68998         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
68999         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
69000         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
69002 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
69004         * Makerules (+depfiles): Also collect depfiles from .oS in
69005         $(extra-objs).
69006         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
69007         .oS, $(libnldbl-routines)).
69009         * Makerules (native-compile-mkdep-flags): Define.
69010         * sunrpc/Makefile (extra-objs): Add $(addprefix
69011         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
69012         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
69013         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
69014         calling $(make-target-directory).
69016 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69018         * bits/types.h (__snseconds_t): Removed.
69019         * time/time.h (struct timespec): Replace __snseconds_t with
69020         __syscall_slong_t.
69021         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
69022         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
69023         Likewise.
69024         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69025         (__SNSECONDS_T_TYPE): Likewise.
69026         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
69027         (__SNSECONDS_T_TYPE): Likewise.
69028         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69029         (__SNSECONDS_T_TYPE): Likewise.
69031 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69033         * sysdeps/mach/hurd/bits/typesizes.h
69034         (__SYSCALL_SLONG_TYPE): New macro.
69035         (__SYSCALL_ULONG_TYPE): Likewise.
69037 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69039         * bits/types.h (__syscall_slong_t): New type.
69040         (__syscall_ulong_t): Likewise.
69042         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
69043         (__SYSCALL_ULONG_TYPE): Likewise.
69044         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69045         (__SYSCALL_SLONG_TYPE): Likewise.
69046         (__SYSCALL_ULONG_TYPE): Likewise.
69047         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
69048         (__SYSCALL_SLONG_TYPE): Likewise.
69049         (__SYSCALL_ULONG_TYPE): Likewise.
69050         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69051         (__SYSCALL_SLONG_TYPE): Likewise.
69052         (__SYSCALL_ULONG_TYPE): Likewise.
69054 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69056         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
69057         Add sigaltstack-offsets.sym.
69058         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
69059         <sigaltstack-offsets.h>.
69060         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
69061         longjmp_msg pointer.
69062         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
69063         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
69064         signal stack.
69065         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
69067 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
69069         * elf/stackguard-macros.h: Remove file.
69070         * sysdeps/generic/stackguard-macros.h: New file.
69071         * sysdeps/i386/stackguard-macros.h: Likewise.
69072         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
69073         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
69074         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
69075         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
69076         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
69077         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
69078         * sysdeps/x86_64/stackguard-macros.h: Likewise.
69079         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
69080         <elf/stackguard-macros.h>.
69082         [BZ #14109]
69083         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
69084         __aligned__ in attribute.
69085         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
69086         (gregset_t): Likewise.
69088 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69090         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
69091         * sysdeps/x86_64/64/Implies-after: Here.  New file.
69092         * sysdeps/x86_64/x32/Implies-after: New file.
69094 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69096         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
69097         and access return value for _dl_profile_fixup.  Use R10_LP to
69098         load frame size.
69100 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69102         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
69104 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69106         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
69107         * sysdeps/x86_64/x32/sysdep.h: New file.
69109 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69111         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
69112         * sysdeps/x86_64/setjmp.S: Likewise.
69114 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69116         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
69117         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
69118         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
69119         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
69120         remove unused global constant.
69122 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
69124         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
69125         include of <not-cancel.h>.
69127 2012-05-15  Roland McGrath  <roland@hack.frob.com>
69129         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
69131 2012-05-15  Jeff Law  <law@redhat.com>
69132             Andreas Jaeger  <aj@suse.de>
69134         [BZ #13594]
69135         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
69136         out from...
69137         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
69138         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
69139         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
69140         code changing __hst_map_handle.map.
69142 2012-05-15  Roland McGrath  <roland@hack.frob.com>
69144         * configure.in (sysnames): Look for Implies-before and Implies-after
69145         files.
69146         * configure: Regenerated.
69148 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69150         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
69151         8-byte data alignment with LP_SIZE alignment.
69153 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69155         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
69156         into R10_LP.
69158 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69160         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
69162 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69164         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
69165         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
69166         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
69167         Likewise.
69168         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
69170 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69172         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
69173         (stackinfo_sub_sp): Likewise.
69175 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69177         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
69178         RAX_LP.
69180 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69182         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
69183         into R*_LP.
69185 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69187         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
69188         sizes into R*_LP.
69190 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69192         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
69194 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69196         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
69197         into R11_LP and load __x86_64_shared_cache_size_half into
69198         R8_LP.
69200 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
69202         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
69203         R8_LP.
69205 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69207         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
69208         logb for POWER7.
69209         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
69210         logbf for POWER7.
69211         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
69212         logbl for POWER7.
69213         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
69214         powerpc32/power7/fpu/s_logb.c via #include.
69215         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
69216         powerpc32/power7/fpu/s_logbf.c via #include.
69217         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
69218         powerpc32/power7/fpu/s_logbl.c via #include.
69220 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
69222         * README.libm: Remove file.
69224 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69226         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
69227         count for x32.  Use R*_LP and omit operand-size suffix.
69229 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69231         * shlib-versions: Move x86_64-.*-linux.* entries to ...
69232         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
69233         * sysdeps/x86_64/x32/shlib-versions: New file.
69235 2012-05-14  Roland McGrath  <roland@hack.frob.com>
69237         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
69238         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
69239         Use _dl_fatal_printf instead.
69241 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
69243         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
69244         set if not set by the user.  Do not allow for being unset.
69245         * sysdeps/unix/sysv/linux/configure: Regenerated.
69247 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69249         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
69250         the `q' suffix from lea and replace .quad with ASM_ADDR.
69252 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69254         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
69255         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
69256         instead of $17.
69257         (PTR_DEMANGLE): Likewise.
69259 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69261         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
69262         (LP_OP): Likewise.
69263         (ASM_ADDR): Likewise.
69264         (RAX_LP): Likewise.
69265         (RBP_LP): Likewise.
69266         (RBX_LP): Likewise.
69267         (RCX_LP): Likewise.
69268         (RDI_LP): Likewise.
69269         (RSI_LP): Likewise.
69270         (RSP_LP): Likewise.
69271         (R8_LP): Likewise.
69272         (R9_LP): Likewise.
69273         (R10_LP): Likewise.
69274         (R10_LP): Likewise.
69275         (R11_LP): Likewise.
69276         (R12_LP): Likewise.
69277         (R13_LP): Likewise.
69278         (R14_LP): Likewise.
69279         (R15_LP): Likewise.
69281 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69283         * sysdeps/x86_64/x32/dl-machine.h: New file.
69285 2012-05-14  Andreas Jaeger  <aj@suse.de>
69287         * manual/Makefile (subdir): Remove export of subdir.
69288         (all): Remove target.
69289         (.PHONY): Remove all from list.
69290         (mkinstalldirs): Remove.
69291         (.PHONY): Remove installdirs from list.
69292         ($(inst_infodir)/libc.info): Use make-target-directory.
69293         (installdirs): Remove.
69294         (subdir_%): Remove.
69295         (glibc-targets): Remove.
69296         (lib): Remove.
69297         (stubs): Remove.
69298         ($(objpfx)stubs ../po/manual.pot): Remove.
69299         ($(objpfx)stamp%): Remove.
69300         (make-target-directory): Remove.
69301         (subdir_install): Remove.
69302         (routines): Remove.
69303         (aux): Remove.
69304         (sources): Remove.
69305         (objects): Remove.
69306         (headers): Remove.
69308         [BZ #13750]
69309         * manual/.gitignore: Remove, it's not needed anymore.
69310         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
69311         all files in it.
69312         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
69313         directory.
69314         (texis): Renamed to $(objpfx)texis.
69315         (texis-path): New, contains path to generated files.
69316         (chapters.%): Use texis-path for complete path, add extra argument
69317         libc-texinfo.sh.
69318         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
69319         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
69320         (summary,texi, stamp-summary): Use complete path of
69321         files. Generate files in build dir.
69322         (dir-add.texi): Build in build dir.
69323         (libm-err.texi,stamp-libm-err): Likewise.
69324         (version.texi, stamp-version): Likewise.
69325         (.%c.texi): Likewise.
69326         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
69327         (mostlyclean): Remove target.
69328         (realclean): Remove target.
69329         (generated): Add new variable with contents from mostlyclean and
69330         realclean, remove entries duplicated in common-mostlyclean, add
69331         stamp-libm-err and stamp-version.
69332         (generated-dirs): Add libc directory.
69333         ($(inst_infodir)/libc.info): Install files from build dir.
69335         * manual/install.texi (Configuring and compiling): Adjust since
69336         the info files are not part of the tar ball anymore.
69338 2012-05-14  Andreas Jaeger  <aj@suse.de>
69340         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
69341         variable.
69343 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
69345         [BZ #13717]
69346         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
69347         to 2.2.0 where earlier.
69348         * sysdeps/unix/sysv/linux/configure: Regenerated.
69349         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
69350         Remove conditional code.
69351         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
69352         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
69353         Remove conditional code.
69354         [!__NR_lchown]: Likewise.
69355         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
69356         [__NR_lchown]: Likewise.
69357         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
69358         comment referencing __ASSUME_LCHOWN_SYSCALL.
69359         * sysdeps/unix/sysv/linux/i386/sigaction.c
69360         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69361         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69362         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
69363         Remove conditional code.
69364         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
69365         (__protocol_available): Remove #if 0 code.
69366         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
69367         conditional code.
69368         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
69369         * sysdeps/unix/sysv/linux/kernel-features.h
69370         (__ASSUME_GETCWD_SYSCALL): Don't define.
69371         (__ASSUME_REALTIME_SIGNALS): Likewise.
69372         (__ASSUME_PREAD_SYSCALL): Likewise.
69373         (__ASSUME_PWRITE_SYSCALL): Likewise.
69374         (__ASSUME_POLL_SYSCALL): Likewise.
69375         (__ASSUME_LCHOWN_SYSCALL): Likewise.
69376         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
69377         non-SPARC.
69378         (__ASSUME_SIOCGIFNAME): Don't define.
69379         (__ASSUME_MSG_NOSIGNAL): Likewise.
69380         (__ASSUME_SENDFILE): Define unconditionally.
69381         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
69382         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
69383         conditional code.
69384         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
69385         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
69386         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
69387         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
69388         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
69389         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
69390         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
69391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
69392         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
69393         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
69395         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
69396         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
69398         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69399         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
69401         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69402         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
69404         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
69405         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
69407         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
69408         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
69410         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69411         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
69413         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69414         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69415         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
69416         Remove conditional code.
69417         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69418         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
69419         Remove conditional code.
69420         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69421         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
69422         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
69423         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
69424         Remove conditional code.
69425         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69426         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
69427         Remove conditional code.
69428         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69429         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
69430         Remove conditional code.
69431         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69432         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
69433         Remove conditional code.
69434         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69435         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
69436         Remove conditional code.
69437         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69438         * sysdeps/unix/sysv/linux/sh/pwrite64.c
69439         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69440         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69441         * sysdeps/unix/sysv/linux/sigaction.c
69442         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69443         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69444         * sysdeps/unix/sysv/linux/sigpending.c
69445         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69446         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69447         * sysdeps/unix/sysv/linux/sigprocmask.c
69448         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69449         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69450         * sysdeps/unix/sysv/linux/sigsuspend.c
69451         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69452         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69453         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
69454         (__libc_missing_rt_sigs): Remove.
69455         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
69456         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
69457         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
69458         Remove conditional code.
69459         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
69460         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
69461         return 1.
69462         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
69463         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
69464         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
69465         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
69467 2012-05-14  Andreas Jaeger  <aj@suse.de>
69469         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
69470         it's not used in glibc.
69471         (__coshm1): Likewise.
69472         (__acosh1p): Likewise.
69473         (__sgn): Likewise.
69475         * manual/string.texi (Copying and Concatenation): Add missing
69476         variable in concat example.
69477         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
69479 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69481         [BZ #14103]
69482         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
69483         __builtin_clzl with __builtin_clzll.
69485 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69487         [BZ #14104]
69488         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
69489         libc_freeres_ptr.
69491 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69493         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
69494         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
69495         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
69496         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
69498 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
69500         * NEWS: Update ia64 info.
69502 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
69504         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
69505         used as bcopy.
69507 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
69509         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
69510         * sysdeps/unix/syscalls.list (dup3): Likewise.
69511         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
69512         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
69514 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
69516         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
69517         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
69519 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
69521         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
69522         thread pointer.
69523         (TLS_IE): Use mov/add instead of movq/addq to load thread
69524         pointer.
69525         (TLS_GD_PREFIX): New.
69526         (TLS_GD): Use it.
69528 2012-05-11  David S. Miller  <davem@davemloft.net>
69530         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
69531         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
69532         (_FPU_SETCW): Likewise.
69534 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
69536         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
69537         is 32-byte aligned.
69539 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
69541         [BZ #11837]
69542         * iconvdata/gb18030.c: Update tables.
69543         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
69544         characters specially.
69545         (BODY for TO_LOOP): Add encoding of missing ranges.
69547 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
69549         [BZ #13673]
69550         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
69551         * sysdeps/mach/hurd/dup3.c: Likewise.
69552         * sysdeps/mach/hurd/readlinkat.c: Likewise.
69553         * sysdeps/powerpc/memmove.c:: Likewise.
69555 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
69557         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
69558         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
69560 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
69562         * elf/elf.h (R_X86_64_RELATIVE64): New.
69563         (R_X86_64_NUM): Updated.
69564         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
69565         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
69566         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
69567         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
69568         tst-quad1pie tst-quad2pie
69569         (modules-names): Add tst-quadmod1 tst-quadmod2.
69570         ($(objpfx)tst-quad1): New dependency.
69571         ($(objpfx)tst-quad2): Likewise.
69572         ($(objpfx)tst-quad1pie): Likewise.
69573         ($(objpfx)tst-quad2pie): Likewise.
69574         * sysdeps/x86_64/tst-quad1.c: New file.
69575         * sysdeps/x86_64/tst-quad1pie.c: New file.
69576         * sysdeps/x86_64/tst-quad2.c: Likewise.
69577         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
69578         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
69579         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
69580         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
69581         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
69583 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69585         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
69586         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
69587         * streams/stropts.h (t_scalar_t): Define type.
69589         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
69590         (_PATH_PRESERVE): Set to "/var/lib".
69591         (_PATH_RWHODIR): Set to "/var/spool/rwho".
69593         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
69594         instead of int.
69596         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
69597         if __dir_mkfile succeeded.
69599         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
69600         checking for _hurd_dtablesize.  Unlock it right after having
69601         finished _hurd_dtable allocation.
69603 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69605         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
69606         * sysdeps/mach/hurd/configure: Regenerated.
69607         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
69608         special-casing to...
69609         * sysdeps/gnu/configure.in: ... this new file.
69610         * sysdeps/unix/sysv/linux/configure: Regenerated.
69611         * sysdeps/gnu/configure: New generated file.
69613         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
69614         for Linux: use nsec instead of usec, as well as:
69615         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
69616         members of type struct timespec.
69617         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
69618         New macros.
69619         (struct stat64): Likewise.
69620         (_STATBUF_ST_NSEC): New macro.
69621         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
69623         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
69624         __strtoul_internal rather than strtoul.
69626 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
69628         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
69629         and reject them.
69631 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69633         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
69634         which preserves existing values.
69635         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
69637 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
69639         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
69640         TIMEOUT values.  Return EINVAL for NFDS values either negative or
69641         greater than FD_SETSIZE.
69643 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69645         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
69646         allocated, call __vm_protect to finish enabling the existing space, and
69647         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
69648         allocate the remainder.
69650 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
69652         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
69653         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
69655 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69657         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
69658         sysdeps/mach/hurd/readlink.c.
69660         * posix/tst-sysconf.c (posix_options): Only use
69661         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
69662         _POSIX_SYNCHRONIZED_IO when they are defined
69663         * sysdeps/mach/hurd/bits/posix_opt.h:
69664         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
69665         (_XOPEN_REALTIME): Undefine macro.
69666         (_XOPEN_REALTIME_THREADS): Undefine macro.
69667         (_XOPEN_SHM): Undefine macro.
69668         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
69669         macro to -1.
69670         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
69671         macro to -1.
69672         (_POSIX_ASYNC_IO): Undefine macro.
69673         (_POSIX_PRIORITIZED_IO): Undefine macro.
69674         (_POSIX_SPIN_LOCKS): Define macro to -1.
69676         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
69677         SA_NODEFER, SA_RESETHAND.
69678         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
69679         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
69680         F_DUPFD_CLOEXEC.
69682 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69684         * elf/Makefile (pldd-modules): Define unconditionally.
69686 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69688         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
69690 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69692         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
69693         Return ENOENT when name is empty.
69694         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
69696 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69698         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
69700         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
69702 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69704         Fix mlock in all cases except non-readable pages.
69705         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
69706         instead of VM_PROT_ALL as parameter to __vm_wire function.
69708         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
69709         (__mkdir): When path is `/', just fail with EEXIST.
69710         * sysdeps/mach/hurd/mkdirat.c: Likewise.
69712 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69714         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
69715         <sys/uio.h> (for writev).
69716         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
69717         and <sys/param.h> (for MIN).
69719 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
69721         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
69722         REQUESTED_TIME.  Properly set the remaining time and return EINTR
69723         if interrupted.
69725 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69727         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
69728         Depend on against $(link-rpcuserlibs).
69730 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69732         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
69733         (__libc_stack_end): Do not use attribute_relro.
69734         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
69735         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
69736         to libthread-provided value.
69737         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
69738         attribute_relro.
69740 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69742         [BZ #3748]
69743         * bits/libc-lock.h (__libc_once_get): New macro.
69744         * sysdeps/mach/bits/libc-lock.h: Likewise.
69745         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
69746         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
69747         instead of using implementation details.
69749         * libio/fileops.c: Unconditionally include <kernel-features.h>.
69750         * libio/freopen.c: Likewise.
69751         * libio/freopen64.c: Likewise.
69752         * misc/syslog.c: Likewise.
69753         * nscd/connections.c: Likewise.
69754         * nscd/netgroupcache.c: Likewise.
69755         * sysdeps/posix/getcwd.c: Likewise.
69757 2012-05-10  Roland McGrath  <roland@hack.frob.com>
69759         * math/w_ilogbf.c: Add #include <limits.h>.
69761 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69763         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
69764         path instead of returning without unlocking.
69766         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
69767         immediate-write ioctls.
69768         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
69770 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69772         * sysdeps/mach/hurd/i386/init-first.c (init): Use
69773         __builtin_frame_address instead of making assumptions about the
69774         location of the return address relative to DATA.  Force early load of
69775         the return address.
69776         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
69777         __builtin_frame_address.
69779         dup3 for GNU Hurd.
69780         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
69781         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
69782         implement dup3 and do some further code clean-ups.
69783         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
69784         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
69786 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69788         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
69790         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
69791         HURD_CRITICAL_END around holding _hurd_dtable_lock.
69792         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
69793         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
69794         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
69795         d->port.lock.
69797         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
69798         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
69799         when handler == SIG_ERR, not when handler != SIG_ERR.
69801 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69803         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
69804         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
69805         definitions.
69807         accept4 for GNU Hurd.
69808         * include/sys/socket.h (__libc_accept4): New prototype.
69809         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
69810         to implement __libc_accept4.
69811         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
69812         __libc_accept4.
69813         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
69815         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
69816         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
69817         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
69818         signal-defines.sym.
69820 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69822         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
69824 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69826         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
69827         assertion on O_CLOEXEC flag.
69828         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
69829         * hurd/intern-fd.c: Likewise.
69830         * hurd/port2fd.c: Likewise.
69832 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69834         [BZ #3906]
69835         * bits/in.h (IPV6_PKTINFO): Define new macro.
69836         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
69838 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69840         [BZ #13954]
69841         [BZ #13955]
69842         [BZ #13956]
69843         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
69844         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
69845         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
69846         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
69847         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
69848         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
69849         * math/libm-test.inc (logb_test) : Additional logb tests.
69851 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
69852             Andreas Jaeger  <aj@suse.de>
69854         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
69855         * configure: Regenerated.
69856         * config.h.in (LINK_OBSOLETE_RPC): New macro.
69857         * config.make.in (link-obsolete-rpc): New substituted variable.
69858         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
69859         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
69860         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
69861         (shared-only-routines): Don't set it under [link-obsolete-rpc],
69862         so that libc.a contains the symbols.
69863         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
69864         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
69865         * sunrpc/auth_none.c: Likewise.
69866         * sunrpc/auth_unix.c: Likewise.
69867         * sunrpc/authdes_prot.c: Likewise.
69868         * sunrpc/authuxprot.c: Likewise.
69869         * sunrpc/clnt_gen.c: Likewise.
69870         * sunrpc/clnt_perr.c: Likewise.
69871         * sunrpc/clnt_raw.c: Likewise.
69872         * sunrpc/clnt_simp.c: Likewise.
69873         * sunrpc/clnt_tcp.c: Likewise.
69874         * sunrpc/clnt_udp.c: Likewise.
69875         * sunrpc/clnt_unix.c: Likewise.
69876         * sunrpc/des_crypt.c: Likewise.
69877         * sunrpc/des_soft.c: Likewise.
69878         * sunrpc/get_myaddr.c: Likewise.
69879         * sunrpc/key_call.c: Likewise.
69880         * sunrpc/key_prot.c: Likewise.
69881         * sunrpc/netname.c: Likewise.
69882         * sunrpc/pm_getmaps.c: Likewise.
69883         * sunrpc/pm_getport.c: Likewise.
69884         * sunrpc/pmap_clnt.c: Likewise.
69885         * sunrpc/pmap_prot.c: Likewise.
69886         * sunrpc/pmap_prot2.c: Likewise.
69887         * sunrpc/pmap_rmt.c: Likewise.
69888         * sunrpc/publickey.c: Likewise.
69889         * sunrpc/rpc_cmsg.c: Likewise.
69890         * sunrpc/rpc_common.c: Likewise.
69891         * sunrpc/rpc_dtable.c: Likewise.
69892         * sunrpc/rpc_prot.c: Likewise.
69893         * sunrpc/rpc_thread.c: Likewise.
69894         * sunrpc/rtime.c: Likewise.
69895         * sunrpc/svc.c: Likewise.
69896         * sunrpc/svc_auth.c: Likewise.
69897         * sunrpc/svc_raw.c: Likewise.
69898         * sunrpc/svc_run.c: Likewise.
69899         * sunrpc/svc_tcp.c: Likewise.
69900         * sunrpc/svc_udp.c: Likewise.
69901         * sunrpc/svc_unix.c: Likewise.
69902         * sunrpc/svcauth_des.c: Likewise.
69903         * sunrpc/xcrypt.c: Likewise.
69904         * sunrpc/xdr.c: Likewise.
69905         * sunrpc/xdr_array.c: Likewise.
69906         * sunrpc/xdr_float.c: Likewise.
69907         * sunrpc/xdr_intXX_t.c: Likewise.
69908         * sunrpc/xdr_mem.c: Likewise.
69909         * sunrpc/xdr_rec.c: Likewise.
69910         * sunrpc/xdr_ref.c: Likewise.
69911         * sunrpc/xdr_sizeof.c: Likewise.
69912         * sunrpc/xdr_stdio.c: Likewise.
69914 2012-05-10  Roland McGrath  <roland@hack.frob.com>
69916         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
69917         change.  Update copyright years.
69919 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
69921         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
69923 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
69924             Joseph Myers  <joseph@codesourcery.com>
69925             Paul Pluzhnikov  <ppluzhnikov@google.com>
69927         [BZ #14012]
69928         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
69929         requiring rpcgen.
69930         [cross-compiling] (extra-libs): Likewise.
69931         [cross-compiling] (extra-libs-others): Likewise.
69932         [cross-compiling] (librpcsvc-routines): Likewise.
69933         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
69934         [cross-compiling] (omit-deps): Likewise.
69935         (sunrpc-CPPFLAGS): New variable.
69936         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
69937         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
69938         (cross-rpcgen-objs): New variable.
69939         (extra-objs): Append $(cross-rpcgen-objs).
69940         ($(cross-rpcgen-objs)): New rule.
69941         ($(objpfx)cross-rpcgen): Likewise.
69942         (rpcgen-cmd): Define to use $(built-program-file).  Expand
69943         comment.
69944         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
69945         ($(objpfx)x%.stmp): Likewise.
69946         * sunrpc/proto.h [IS_IN_build] (_): Define.
69947         [IS_IN_build] (_libc_intl_domainname): Likewise.
69949 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
69951         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
69952         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
69953         and R_X86_64_TPOFF64.
69955 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
69957         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
69958         sysdeps/unix/sysv/syscalls.list.
69959         (stime): Likewise.
69960         (utime): Likewise.
69961         * sysdeps/unix/sysv/syscalls.list: Remove file.
69963 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
69965         [BZ #3440]
69966         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
69967         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
69968         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
69969         (__LC_IDENTIFICATION): Make these macros useful in #if
69970         expressions, as required by C99.
69972 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
69974         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
69975         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
69976         after this.
69978 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
69980         * stdlib/longlong.h: Updated from GCC.
69982 2012-05-09  Andreas Jaeger  <aj@suse.de>
69984         * nscd/nscd.c (run_modes): Make named enum, reorder so that
69985         default is first entry.
69986         (run_mode): Set type.
69987         (main): Remove informal message about syslog.
69988         (options): Fix typo.
69990         [BZ #14053]
69991         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
69992         to asm.
69993         (lrint): Likewise.
69994         (llrintf): Likewise.
69995         (llrint): Likewise.
69996         (rint): Likewise.
69997         (rintf): Likewise.
69998         (nearbyint): Likewise.
69999         (nearbyintf): Likewise.
70001 2012-05-09  Andreas Jaeger  <aj@suse.de>
70002             Pedro Alves  <palves@redhat.com>
70004         * nscd/nscd.c (run_mode): Use enum.
70005         (main): Cleanup coding style issue.
70007 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
70008             Andreas Jaeger  <aj@suse.de>
70010         * nscd/nscd.c (go_background): Replaced with...
70011         (run_mode): ... this.
70012         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
70013         (options): Add -F --foreground.
70014         (main): Implement it.
70015         (parse_opt): Parse it.
70017 2012-05-09  Andreas Jaeger  <aj@suse.de>
70019         [BZ #14083]
70020         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
70021         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
70022         -Wconversion warning.
70023         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
70024         Likewise.
70026 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
70028         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
70029         == 0.
70030         (LC_ALL): Use macro-int-constant.
70031         (LC_COLLATE): Likewise.
70032         (LC_CTYPE): Likewise.
70033         (LC_MESSAGES): Likewise.
70034         (LC_MONETARY): Likewise.
70035         (LC_NUMERIC): Likewise.
70036         (LC_TIME): Likewise.
70037         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
70038         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
70039         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70040         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
70041         Specify type.
70042         [C99-based standards] (float_t): Expect type.
70043         [C99-based standards] (double_t): Expect type.
70044         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
70045         type.
70046         [C99-based standards] (HUGE_VALL): Likewise.
70047         [C99-based standards] (INFINITY): Likewise.
70048         [C99-based standards] (NAN): Likewise.
70049         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
70050         [C99-based standards] (FP_NAN): Likewise.
70051         [C99-based standards] (FP_NORMAL): Likewise.
70052         [C99-based standards] (FP_SUBNORMAL): Likewise.
70053         [C99-based standards] (FP_ZERO): Likewise.
70054         [C99-based standards] (FP_FAST_FMA): Use
70055         optional-macro-int-constant.  Specify type.  Require == 1.
70056         [C99-based standards] (FP_FAST_FMAF): Likewise.
70057         [C99-based standards] (FP_FAST_FMAL): Likewise.
70058         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
70059         [C99-based standards] (FP_ILOGBNAN): Likewise.
70060         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
70061         Specify type.
70062         [C99-based standards] (MATH_ERREXCEPT): Likewise.
70063         [C99-based standards] (math_errhandling): Specify type.
70064         [ISO99 || ISO11] (signgam): Do not allow.
70065         [non-C99-based standards] (copysignf): Do not allow.
70066         [non-C99-based standards] (exp2f): Likewise.
70067         [non-C99-based standards] (log2f): Likewise.
70068         [non-C99-based standards] (modff): Allow.
70069         [non-C99-based standards] (erff): Do not allow.
70070         [non-C99-based standards] (erfcf): Likewise.
70071         [non-C99-based standards] (gammaf): Likewise.
70072         [non-C99-based standards] (hypotf): Likewise.
70073         [non-C99-based standards] (j0f): Likewise.
70074         [non-C99-based standards] (j1f): Likewise.
70075         [non-C99-based standards] (jnf): Likewise.
70076         [non-C99-based standards] (lgammaf): Likewise.
70077         [non-C99-based standards] (tgammaf): Likewise.
70078         [non-C99-based standards] (y0f): Likewise.
70079         [non-C99-based standards] (y1f): Likewise.
70080         [non-C99-based standards] (ynf): Likewise.
70081         [non-C99-based standards] (isnanf): Likewise.
70082         [non-C99-based standards] (acoshf): Likewise.
70083         [non-C99-based standards] (asinhf): Likewise.
70084         [non-C99-based standards] (atanhf): Likewise.
70085         [non-C99-based standards] (cbrtf): Likewise.
70086         [non-C99-based standards] (expm1f): Likewise.
70087         [non-C99-based standards] (ilogbf): Likewise.
70088         [non-C99-based standards] (log1pf): Likewise.
70089         [non-C99-based standards] (logbf): Likewise.
70090         [non-C99-based standards] (nextafterf): Likewise.
70091         [non-C99-based standards] (remainderf): Likewise.
70092         [non-C99-based standards] (rintf): Likewise.
70093         [non-C99-based standards] (scalbf): Likewise.
70094         [non-C99-based standards] (copysignl): Likewise.
70095         [non-C99-based standards] (exp2l): Likewise.
70096         [non-C99-based standards] (log2l): Likewise.
70097         [non-C99-based standards] (modfl): Allow.
70098         [non-C99-based standards] (erfl): Do not allow.
70099         [non-C99-based standards] (erfcl): Likewise.
70100         [non-C99-based standards] (gammal): Likewise.
70101         [non-C99-based standards] (hypotl): Likewise.
70102         [non-C99-based standards] (j0l): Likewise.
70103         [non-C99-based standards] (j1l): Likewise.
70104         [non-C99-based standards] (jnl): Likewise.
70105         [non-C99-based standards] (lgammal): Likewise.
70106         [non-C99-based standards] (tgammal): Likewise.
70107         [non-C99-based standards] (y0l): Likewise.
70108         [non-C99-based standards] (y1l): Likewise.
70109         [non-C99-based standards] (ynl): Likewise.
70110         [non-C99-based standards] (isnanl): Likewise.
70111         [non-C99-based standards] (acoshl): Likewise.
70112         [non-C99-based standards] (asinhl): Likewise.
70113         [non-C99-based standards] (atanhl): Likewise.
70114         [non-C99-based standards] (cbrtl): Likewise.
70115         [non-C99-based standards] (expm1l): Likewise.
70116         [non-C99-based standards] (ilogbl): Likewise.
70117         [non-C99-based standards] (log1pl): Likewise.
70118         [non-C99-based standards] (logbl): Likewise.
70119         [non-C99-based standards] (nextafterl): Likewise.
70120         [non-C99-based standards] (remainderl): Likewise.
70121         [non-C99-based standards] (rintl): Likewise.
70122         [non-C99-based standards] (scalbl): Likewise.
70123         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70124         [non-C99-based standards] (FP_*): Do not allow.
70125         [C99-based standards] (FP_*): Change to
70126         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
70127         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
70128         allow.
70129         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
70130         (SIG_ERR): Likewise.
70131         [X/Open-based standards] (SIG_HOLD): Likewise.
70132         (SIG_IGN): Likewise.
70133         (SIGABRT): Use macro-int-constant.  Specify type.  Require
70134         positive value.
70135         (SIGFPE): Likewise.
70136         (SIGILL): Likewise.
70137         (SIGINT): Likewise.
70138         (SIGSEGV): Likewise.
70139         (SIGTER): Likewise.
70140         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
70141         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
70142         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
70143         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
70144         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
70145         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
70146         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
70147         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
70148         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
70149         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
70150         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
70151         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
70152         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
70153         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
70154         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
70155         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
70156         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
70157         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
70158         [X/Open-based standards] (SIGTRAP): Likewise.
70159         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
70160         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
70161         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
70162         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
70163         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
70164         allow.
70166 2012-05-08  Ian Wienand  <ianw@vmware.com>
70168         [BZ #14080]
70169         * time/tzset.c (__tzset_parse_tz): Update default rules for
70170         daylight time changes in the Energy Policy Act of 2005.
70172 2012-05-09  Andreas Jaeger  <aj@suse.de>
70174         [BZ #13983]
70175         * elf/ldconfig.c (parse_conf): Change string to make clear that
70176         ldconfig only issued a warning if ld.so.conf does not exist.
70178 2012-05-08  David S. Miller  <davem@davemloft.net>
70180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
70181         movxtod instead of popping the value on the stack.
70183         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70185 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
70187         * config.h.in: Add HAVE_ARM_PCS_VFP.
70189 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
70191         [BZ #13979]
70192         * include/features.h: Warn if user requests __FORTIFY_SOURCE
70193         checking but the checks are disabled for any reason.
70195 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
70197         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
70198         and ELF64_R_TYPE with ELFW(R_TYPE).
70200 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
70202         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
70203         (ulimit): Likewise.
70205         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
70206         (settimeofday): Likewise.
70208 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
70210         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
70211         a struct th_u2 inside the union, and move tu_block/tu_code into
70212         a new th_u3 union of tu_block/tu_code inside of that.  Move
70213         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
70214         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
70215         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
70216         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
70217         (th_stuff): Change to th_u1.tu_stuff.
70218         (th_data): Define.
70219         (th_msg): Change to th_u1.th_u2.tu_data.
70221 2012-05-07  David S. Miller  <davem@davemloft.net>
70223         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70225         [BZ #14074]
70226         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
70227         (SETUP_PIC_REG): Use it.
70228         (SETUP_PIC_REG_LEAF): Use it.
70230 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
70232         [BZ #13885]
70233         [BZ #13923]
70234         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
70235         USE_AS_EXPM1L.
70236         (EXPL_FINITE): Likewise.
70237         (FLDLOG): Likewise.
70238         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
70239         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
70240         e_expl.S.
70241         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
70242         USE_AS_EXPM1L.
70243         (EXPL_FINITE): Likewise.
70244         (FLDLOG): Likewise.
70245         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
70246         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
70247         e_expl.S.
70248         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
70249         test of -max_value argument for long double.
70250         * sysdeps/i386/fpu/libm-test-ulps: Update.
70251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70253 2012-05-06  David S. Miller  <davem@davemloft.net>
70255         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
70256         quad soft-float symbols whose references which are compiler
70257         generated.
70258         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
70260 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
70262         [BZ #13884]
70263         [BZ #13914]
70264         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
70265         USE_AS_EXP10L.
70266         (EXPL_FINITE): Likewise.
70267         (FLDLOG): Likewise.
70268         (c0): Likewise.
70269         (c1): Likewise.
70270         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
70271         Adjust comments for base varying.
70272         (__expl_finite): Change alias to EXPL_FINITE.
70273         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
70274         e_expl.S.
70275         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
70276         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
70277         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
70278         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
70279         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
70280         USE_AS_EXP10L.
70281         (EXPL_FINITE): Likewise.
70282         (FLDLOG): Likewise.
70283         (c0): Likewise.
70284         (c1): Likewise.
70285         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
70286         Adjust comments for base varying.
70287         (__expl_finite): Change alias to EXPL_FINITE.
70288         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
70289         tests for bugs.
70290         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70292         [BZ #14064]
70293         * math/libm-test.inc (check_float_internal): Correct ulp
70294         calculation for subnormal expected results.
70296 2012-05-06  Andreas Jaeger  <aj@suse.de>
70298         * Makeconfig (+math-flags): New, set to -frounding-math.
70299         (+cflags): Add +math-flags so that all of glibc gets compiled with
70300         it.
70302         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
70304 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
70306         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
70307         Disable one test.
70309         [BZ #13787]
70310         [BZ #13922]
70311         [BZ #14036]
70312         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
70313         (__ieee754_expl): Allow for and saturate large arguments.
70314         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
70315         (u_threshold): Likewise.
70316         (__exp): Call __ieee754_exp before checking for overflow and
70317         underflow.
70318         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
70319         (u_threshold): Likewise.
70320         (__expf): Call __ieee754_expf before checking for overflow and
70321         underflow.
70322         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
70323         (u_threshold): Likewise.
70324         (__expl): Call __ieee754_expl before checking for overflow and
70325         underflow.
70326         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
70327         (__ieee754_expl): Allow for and saturate large arguments.
70328         * math/libm-test.inc (exp_test): Add another test.  Do not allow
70329         missing overflow exception on overflow.
70330         (expm1_test): Do not allow missing overflow exception on overflow.
70332         * sysdeps/i386/fpu/e_expl.c: Move to ...
70333         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
70334         rather than using inline asm.
70335         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
70336         * sysdeps/x86_64/fpu/e_expl.S: Copy from
70337         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
70339         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
70340         (nice): Likewise.
70341         (poll): Likewise.
70342         (signal): Likewise.
70343         (time): Likewise.
70344         (times): Likewise.
70346 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
70348         * sysdeps/unix/syscalls.list (adjtime): Add entry from
70349         sysdeps/unix/common/syscalls.list.
70350         (fchmod): Likewise.
70351         (fchown): Likewise.
70352         (ftruncate): Likewise.
70353         (getrusage): Likewise.
70354         (gettimeofday): Likewise.
70355         (setpgid): Likewise.
70356         (setregid): Likewise.
70357         (setreuid): Likewise.
70358         (sigaction): Likewise.
70359         (truncate): Likewise.
70360         (vhangup): Likewise.
70361         * sysdeps/unix/common/syscalls.list: Remove file.
70362         * sysdeps/unix/bsd/Implies: Don't include unix/common.
70363         * sysdeps/unix/sysv/linux/Implies: Likewise.
70365 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
70367         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
70368         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
70369         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
70370         Moved to ...
70371         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
70372         Here.
70373         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
70374         to ...
70375         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
70376         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
70377         to ...
70378         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
70379         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
70380         to ...
70381         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
70382         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
70383         to ...
70384         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
70385         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
70386         to ...
70387         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
70388         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
70389         to ...
70390         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
70391         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
70392         to ...
70393         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
70394         Here.
70395         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
70396         to ...
70397         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
70398         Here.
70399         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
70400         to ...
70401         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
70402         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
70403         Moved to ...
70404         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
70405         Here.
70406         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
70407         to ...
70408         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
70410 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
70412         * sysdeps/unix/common/bits/dirent.h: Remove file.
70413         * sysdeps/unix/common/bits/fcntl.h: Likewise.
70415         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
70416         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
70417         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
70418         * sysdeps/unix/bsd/isatty.c: Likewise.
70419         * sysdeps/unix/bsd/tcdrain.c: Likewise.
70420         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
70421         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
70423 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70425         [BZ #13563]
70426         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
70427         long double comparison inaccuracies.
70428         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
70429         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70431 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
70433         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
70434         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
70436 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
70438         [BZ #14049]
70439         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
70440         nonzero digits before rounding a hex value.
70441         * stdlib/tst-strtod.c (tests): Add another test.
70443 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70445         * sysdeps/s390/fpu/libm-test-ulps: Update.
70447 2012-05-03  Andreas Jaeger  <aj@suse.de>
70449         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
70450         does not get optimized out.
70451         (malloc_opt_barrier): New.
70453 2012-05-03  Andreas Jaeger  <aj@suse.de>
70454             Roland McGrath  <roland@hack.frob.com>
70456         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
70457         intermediate file deletion.
70458         (generated): Add .symlist files.
70460 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
70462         [BZ #13775]
70463         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
70464         Redirect under this condition.
70465         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
70466         [__USE_GNU] (__dprintf_chk): Not under this condition.
70467         [__USE_GNU] (__vdprintf_chk): Likewise.
70468         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
70469         under this condition.
70470         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
70471         [__USE_XOPEN2K8] (dprintf): Define under this condition.
70472         [__USE_XOPEN2K8] (vdprintf): Likewise.
70473         [__USE_GNU] (__dprintf_chk): Not under this condition.
70474         [__USE_GNU] (__vdprintf_chk): Likewise.
70475         [__USE_GNU] (dprintf): Likewise.
70476         [__USE_GNU] (vdprintf): Likewise.
70478 2012-05-03  Roland McGrath  <roland@hack.frob.com>
70480         * elf/Makefile (common-generated): Set this instead of generated for
70481         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
70482         $(all-built-dso)-derived lists.
70484 2012-05-03  Andreas Jaeger  <aj@suse.de>
70486         * sysdeps/i386/fpu/libm-test-ulps: Update.
70488         * FAQ: Removed.
70489         * FAQ.in: Likewise.
70490         * scripts/gen-FAQ.pl: Likewise.
70491         * manual/install.texi (Installation): Point to online location of
70492         FAQ.
70493         * Makefile (files-for-dist): Remove FAQ.
70494         (FAQ): Remove.
70496 2012-05-02  Allan McRae  <allan@archlinux.org>
70498         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
70499         (LDFLAGS-reldepmod5.so): Likewise.
70500         (LDFLAGS-reldep6mod1.so): Likewise.
70501         (LDFLAGS-reldep6mod4.so): Likewise.
70502         (LDFLAGS-reldep8mod3.so): Likewise.
70503         (LDFLAGS-unload4mod1.so): Likewise.
70504         (LDFLAGS-unload4mod2.so): Likewise.
70505         (LDFLAGS-tst-initorder): Likewise.
70506         (LDFLAGS-tst-initordera2.so): Likewise.
70507         (LDFLAGS-tst-initordera3.so): Likewise.
70508         (LDFLAGS-tst-initordera4.so): Likewise.
70509         (LDFLAGS-tst-initorderb2.so): Likewise.
70510         (LDFLAGS-noload): Likewise.
70511         (LDFLAGS-next): Likewise.
70512         (LDFLAGS-order2mod1.so): Likewise.
70513         (LDFLAGS-order2mod2.so): Likewise.
70514         (LDFLAGS-tst-initorder2): Likewise.
70515         (LDFLAGS-tst-initorder2a.so): Likewise.
70516         (LDFLAGS-tst-initorder2b.so): Likewise.
70517         (LDFLAGS-tst-initorder2c.so): Likewise.
70518         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
70520 2012-05-02  David S. Miller  <davem@davemloft.net>
70522         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70524 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
70526         [BZ #14055]
70527         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
70529 2012-05-02  Andreas Jaeger  <aj@suse.de>
70531         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
70532         since we manipulate rounding mode.
70533         (CPPFLAGS-test-idouble.c): Likewise.
70534         (CPPFLAGS-test-ifloat.c): Likewise.
70535         (CFLAGS-test-ldouble.c): Likewise.
70536         (CFLAGS-test-double.c): Likewise.
70537         (CFLAGS-test-float.c): Likewise.
70538         (CFLAGS-test-misc.c): Likewise.
70539         (CFLAGS-test-test-fenv.c): Likewise.
70541 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70543         [BZ #2550]
70544         [BZ #2570]
70545         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
70546         comparisons to determine direction to adjust input.
70548 2012-05-01  Roland McGrath  <roland@hack.frob.com>
70550         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
70551         output to the target.
70553         * scripts/localplt.awk: New file.
70554         * elf/Makefile ($(objpfx)check-localplt): Target removed.
70555         (check-localplt-CFLAGS): Variable removed.
70556         ($(all-built-dso:=.jmprel)): New static pattern rule.
70557         (generated): Add those targets.
70558         (localplt-built-dso): New variable.
70559         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
70561         * elf/check-localplt.c: File removed.
70563         * scripts/check-execstack.awk: New file.
70564         * elf/Makefile ($(objpfx)check-execstack): Target removed.
70565         (check-execstack-CFLAGS): Variable removed.
70566         ($(objpfx)check-execstack.h): Target removed.
70567         ($(objpfx)execstack-default): New target.
70568         (generated): Add that instead of check-execstack.h.
70569         ($(all-built-dso:=.phdr)): New static pattern rule.
70570         (generated): Add those targets.
70571         * elf/check-execstack.c: File removed.
70573         * scripts/check-textrel.awk: New file.
70574         * elf/Makefile ($(objpfx)check-textrel): Target removed.
70575         (check-textrel-CFLAGS): Variable removed.
70576         (all-built-dso): Use := to define.o
70577         ($(all-built-dso:=.dyn)): New static pattern rule.
70578         (generated): Add those targets.
70579         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
70580         * config.make.in (READELF): New substituted variable.
70581         * elf/check-textrel.c: File removed.
70583 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
70585         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
70586         allow.
70587         * conform/data/ctype.h-data [C99-based standards] (isblank):
70588         Expect function.
70589         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
70590         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
70591         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70592         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
70593         Specify type.  Require positive value.
70594         (EILSEQ): Likewise.
70595         (ERANGE): Likewise.
70596         [ISO || POSIX] (EILSEQ): Do not expect.
70597         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
70598         Specify type.  Require positive value.
70599         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
70600         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
70601         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
70602         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
70603         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
70604         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
70605         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
70606         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
70607         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
70608         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
70609         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
70610         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
70611         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
70612         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
70613         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
70614         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
70615         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
70616         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
70617         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
70618         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
70619         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
70620         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
70621         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
70622         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
70623         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
70624         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
70625         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
70626         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
70627         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
70628         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
70629         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
70630         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
70631         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
70632         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
70633         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
70634         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
70635         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
70636         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
70637         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
70638         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
70639         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
70640         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
70641         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
70642         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
70643         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
70644         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
70645         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
70646         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
70647         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
70648         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
70649         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
70650         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
70651         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
70652         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
70653         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
70654         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
70655         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
70656         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
70657         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
70658         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
70659         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
70660         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
70661         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
70662         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
70663         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
70664         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
70665         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
70666         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
70667         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
70668         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
70669         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
70670         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
70671         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
70672         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
70673         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
70674         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
70675         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
70676         Require >= 2.
70677         (FLT_ROUNDS): Expect as macro, not constant.
70678         (FLT_MANT_DIG): Use macro-int-constant.
70679         (DBL_MANT_DIG): Likewise.
70680         (LDBL_MANT_DIG): Likewise.
70681         (FLT_DIG): Likewise.
70682         (DBL_DIG): Likewise.
70683         (LDBL_DIG): Likewise.
70684         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
70685         (DBL_MIN_EXP): Likewise.
70686         (LDBL_MIN_EXP): Likewise.
70687         (FLT_MAX_EXP): Use macro-int-constant.
70688         (DBL_MAX_EXP): Likewise.
70689         (LDBL_MAX_EXP): Likewise.
70690         (FLT_MAX_10_EXP): Likewise.
70691         (DBL_MAX_10_EXP): Likewise.
70692         (LDBL_MAX_10_EXP): Likewise.
70693         (FLT_MAX): Use macro-constant.
70694         (DBL_MAX): Likewise.
70695         (LDBL_MAX): Likewise.
70696         (FLT_EPSILON): Use macro-constant.  Give upper bound.
70697         (DBL_EPSILON): Likewise.
70698         (LDBL_EPSILON): Likewise.
70699         (FLT_MIN): Likewise.
70700         (DBL_MIN): Likewise.
70701         (LDBL_MIN): Likewise.
70702         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
70703         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
70704         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
70705         [ISO11] (FLT_HAS_SUBNORM): Likewise.
70706         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
70707         [ISO11] (DBL_DECIMAL_DIG): Likewise.
70708         [ISO11] (FLT_DECIMAL_DIG): Likewise.
70709         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
70710         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
70711         [ISO11] (FLT_TRUE_MIN): Likewise.
70712         [ISO11] (LDBL_TRUE_MIN): Likewise.
70713         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70714         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
70715         (SCHAR_MIN): Use macro-int-constant.  Specify type.
70716         (SCHAR_MAX): Likewise.
70717         (UCHAR_MAX): Likewise.
70718         (CHAR_MIN): Likewise.
70719         (CHAR_MAX): Likewise.
70720         (MB_LEN_MAX): Use macro-int-constant.
70721         (SHRT_MIN): Use macro-int-constant.  Specify type.
70722         (SHRT_MAX): Likewise.
70723         (USHRT_MAX): Likewise.
70724         (INT_MAX): Likewise.
70725         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
70726         bound negative.
70727         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
70728         bound with "U".
70729         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
70730         bound with "L".
70731         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
70732         bound negative.  Suffix upper bound with "L".
70733         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
70734         bound with "UL".
70735         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
70736         Specify type.
70737         [C99-based standards] (LLONG_MAX): Likewise.
70738         [C99-based standards] (ULLONG_MAX): Likewise.
70739         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
70740         == 0.
70741         [ISO11] (max_align_t): Require type.
70742         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70744         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
70745         from $CFLAGS, without defining away __attribute__ calls.
70746         (checknamespace): Use $CFLAGS_namespace.
70748         * conform/conformtest.pl (@keywords): Only include C99 keywords
70749         for standards based on C99 or C11.
70751         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
70752         Disable tests.
70753         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
70754         UNIX98]: Likewise.
70756         * conform/conformtest.pl: Handle "macro-int-constant" and test for
70757         usability of symbols in #if.
70759         * conform/conformtest.pl: If macro or constant types start
70760         "promoted:", expect the symbol to be of the following type
70761         promoted by the integer promotions.
70763         * conform/conformtest.pl: Parse all "constant" and "macro" lines
70764         in one place.  Also handle "macro-constant".
70766         * conform/conformtest.pl: Only accept expected macro values with
70767         "==".  Parse all "macro" lines in one place.
70768         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
70770         * conform/conformtest.pl: Handle braced types on "constant" lines
70771         instead of handling "typed-constant".
70772         * conform/data/signal.h-data: Use "constant" instead of
70773         "typed-constant".
70775         * conform/conformtest.pl: Handle "optional-" at start of lines in
70776         one place rather than duplicating several cases.  Handle each
70777         format of "macro" line with initial "optional-".
70779         * conform/conformtest.pl: Only accept expected constant or
70780         optional-constant values with "==".  Parse all "constant" lines in
70781         one place.  Parse all "optional-constant" lines in one place.
70782         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
70783         * conform/data/fmtmsg.h-data: Likewise.
70784         * conform/data/netinet/in.h-data: Likewise.
70785         * conform/data/tar.h-data: Likewise.
70786         * conform/data/limits.h-data: Use "==" form on "constant" and
70787         "optional-constant" lines.
70789         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
70790         Use -std=c99 for XOPEN2K.
70791         (@knownproblems): Remove.
70792         (newtoken): Don't check %isknown.
70794         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
70795         Do not expect macro.
70796         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
70797         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
70798         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
70799         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
70800         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
70801         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
70802         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
70803         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
70804         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
70805         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
70806         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
70807         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
70808         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
70809         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
70810         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
70811         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
70812         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
70813         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
70814         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
70815         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
70816         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
70817         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
70818         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
70819         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
70820         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
70821         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
70822         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
70823         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
70824         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
70825         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
70826         [XPG3] (acosh): Likewise.
70827         [XPG3] (asinh): Likewise.
70828         [XPG3] (atanh): Likewise.
70829         [XPG3] (cbrt): Likewise.
70830         [XPG3] (expm1): Likewise.
70831         [XPG3] (ilogb): Likewise.
70832         [XPG3] (log1p): Likewise.
70833         [XPG3] (logb): Likewise.
70834         [XPG3] (nextafter): Likewise.
70835         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
70836         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
70837         [XPG3] (remainder): Likewise.
70838         [XPG3] (rint): Likewise.
70839         [XPG3 || XPG4 || UNIX98] (round): Likewise.
70840         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
70841         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
70842         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
70843         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
70844         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
70845         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
70846         [UNIX98 || XOPEN2K] (scalb): Expect.
70847         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
70848         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
70849         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
70850         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
70851         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
70852         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
70853         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
70854         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
70855         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
70856         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
70857         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
70858         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
70859         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
70860         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
70861         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
70862         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
70863         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
70864         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
70865         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
70866         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
70867         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
70868         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
70869         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
70870         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
70871         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
70872         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
70873         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
70874         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
70875         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
70876         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
70877         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
70878         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
70879         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
70880         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
70881         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
70882         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
70883         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
70884         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
70885         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
70886         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
70887         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
70888         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
70889         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
70890         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
70891         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
70892         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
70893         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
70894         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
70895         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
70896         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
70897         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
70898         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
70899         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
70900         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
70901         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
70902         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
70903         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
70904         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
70905         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
70906         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
70907         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
70908         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
70909         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
70910         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
70911         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
70912         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
70913         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
70914         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
70915         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
70916         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
70917         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
70918         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
70919         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
70920         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
70921         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
70922         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
70923         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
70924         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
70925         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
70926         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
70927         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
70928         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
70929         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
70930         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
70931         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
70932         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
70933         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
70934         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
70935         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
70936         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
70937         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
70938         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
70939         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
70940         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
70941         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
70942         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
70943         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
70944         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
70945         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
70946         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
70947         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
70948         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
70949         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
70950         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
70951         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
70952         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
70953         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
70954         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
70955         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
70956         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
70957         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
70958         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
70959         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
70960         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
70961         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
70962         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
70963         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
70964         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
70965         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
70966         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
70967         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
70968         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
70969         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
70970         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
70971         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
70972         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
70973         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
70974         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
70975         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
70976         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
70977         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
70978         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
70979         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
70980         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
70981         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
70982         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
70983         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
70985         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
70986         _XOPEN_SOURCE_EXTENDED for XPG4.
70988         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
70990         * Makeconfig (localtime): Remove variable.
70991         (inst_localtime-file): Likewise.
70993 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
70995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
70996         Update.
70997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70998         Update.
70999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
71000         Update.
71001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
71002         Update.
71003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
71004         Update.
71005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
71006         Update.
71007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
71008         Update.
71009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
71010         Update.
71011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
71012         Update.
71014 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
71016         [BZ #2550]
71017         [BZ #2570]
71018         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
71019         comparisons to determine direction to adjust input.
71020         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
71021         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
71022         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
71023         Likewise.
71024         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
71025         Likewise.
71026         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
71027         Likewise.
71028         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
71029         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
71030         Likewise.
71031         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
71032         Likewise.
71033         * math/libm-test.inc (nexttoward_test): Add more tests.
71035 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
71037         [BZ #14040]
71038         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
71039         in version GLIBC_2.1, not GLIBC_2.0.
71040         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
71041         Likewise.
71043 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
71045         [BZ #13942]
71046         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
71047         (1 - x) * (1 + x).
71048         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
71049         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
71050         * math/libm-test.inc (acos_test): Add more tests.
71051         (asin_test): Likewise.
71052         * sysdeps/i386/fpu/libm-test-ulps: Update.
71053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71055         [BZ #14034]
71056         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
71057         of square root.
71058         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
71059         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
71060         * math/libm-test.inc (acos_test_tonearest): New function.
71061         (acos_test_towardzero): Likewise.
71062         (acos_test_downward): Likewise.
71063         (acos_test_upward): Likewise.
71064         (asin_test_tonearest): Likewise.
71065         (asin_test_towardzero): Likewise.
71066         (asin_test_downward): Likewise.
71067         (asin_test_upward): Likewise.
71068         (main): Call the new functions.
71069         * sysdeps/i386/fpu/libm-test-ulps: Update.
71070         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71072         [BZ #13884]
71073         [BZ #13924]
71074         * math/e_exp10.c: Include <float.h>.
71075         (__ieee754_exp10): Handle underflow here rather than multiplying
71076         large negative argument by M_LN10.
71077         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
71078         of __ieee754_expf.
71079         * math/e_exp10l.c: Include <float.h>.
71080         (__ieee754_exp10l): Handle underflow here rather than multiplying
71081         large negative argument by M_LN10l.
71082         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
71083         spurious overflow exception on underflow.
71085 2012-04-29  Marek Polacek  <polacek@redhat.com>
71087         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
71088         (__fortify_function): New macro.
71089         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
71090         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
71091         __extern_always_inline.
71092         * libio/bits/stdio2.h: Likewise.
71093         * libio/bits/stdio.h: Likewise.
71094         * string/string.h: Likewise.
71095         * string/bits/string3.h: Likewise.
71096         * include/stdio.h: Likewise.
71097         * stdlib/bits/stdlib.h: Likewise.
71098         * stdlib/stdlib.h: Likewise.
71099         * rt/bits/mqueue2.h: Likewise.
71100         * rt/mqueue.h: Likewise.
71101         * posix/bits/unistd.h: Likewise.
71102         * posix/unistd.h: Likewise.
71103         * io/bits/poll2.h: Likewise.
71104         * io/bits/fcntl2.h: Likewise.
71105         * io/fcntl.h: Likewise.
71106         * io/sys/poll.h: Likewise.
71107         * misc/bits/syslog.h: Likewise.
71108         * misc/bits/syslog-ldbl.h: Likewise.
71109         * misc/sys/syslog.h: Likewise.
71110         * socket/bits/socket2.h: Likewise.
71111         * socket/sys/socket.h: Likewise.
71112         * debug/tst-chk1.c: Likewise.
71113         * wcsmbs/bits/wchar2.h: Likewise.
71114         * wcsmbs/bits/wchar-ldbl.h: Likewise.
71115         * wcsmbs/wchar.h: Likewise.
71117 2012-04-29  Andreas Jaeger  <aj@suse.de>
71119         * Makerules (tests): Remove enable-check-abi protection.
71120         (check-abi-warn): Remove.
71121         (check-abi-%): Remove check-abi-warn usage.
71123         * configure.in: Remove check-abi configure option.
71124         * configure: Regenerated.
71125         * config.make.in (enable-check-abi): Remove.
71127 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
71129         [BZ #14033]
71130         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
71131         double functions to double *_finite functions.
71133         [BZ #13941]
71134         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
71135         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
71136         LDBL_MIN_EXP.
71137         * stdio-common/Makefile (tests): Add tst-sprintf3.
71138         * stdio-common/tst-sprintf3.c: New file.
71140         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
71141         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
71143 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
71145         * conform/conformtest.pl: Remove duplicate typed-constant
71146         handling.
71148 2012-04-28  David S. Miller  <davem@davemloft.net>
71150         * Makerules (%.abilist): Add vpath on sysdep_dirs.
71151         (check-abi-%): Remove AWK script prerequisite and explicit
71152         abilist directory.
71153         (check-abi): Rewrite to just diff the symlist with the abilist.
71154         (config-tls, config-abi-config): Delete, no longer used.
71155         (update-abi-%): Remove AWK script and explicit abilist directory.
71156         (update-abi): Rewrite to simply compare and conditionally copy the
71157         symlist and the sysdep abilist file.  Remove update-abi-config
71158         checks.
71159         * abilist/ld.abilist: Remove.
71160         * abilist/libBrokenLocale.abilist: Remove.
71161         * abilist/libanl.abilist: Remove.
71162         * abilist/libcrypt.abilist: Remove.
71163         * abilist/libdl.abilist: Remove.
71164         * abilist/librt.abilist: Remove.
71165         * abilist/libthread_db.abilist: Remove.
71166         * abilist/libutil.abilist: Remove.
71167         * scripts/extract-abilist.awk: Remove.
71168         * scripts/merge-abilist.awk: Remove.
71169         * sysdeps/generic/libcidn.abilist: New file.
71170         * sysdeps/generic/libnss_compat.abilist: New file.
71171         * sysdeps/generic/libnss_db.abilist: New file.
71172         * sysdeps/generic/libnss_dns.abilist: New file.
71173         * sysdeps/generic/libnss_files.abilist: New file.
71174         * sysdeps/generic/libnss_hesiod.abilist: New file.
71175         * sysdeps/generic/libnss_nis.abilist: New file.
71176         * sysdeps/generic/libnss_nisplus.abilist: New file.
71177         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
71178         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
71179         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
71180         file.
71181         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
71182         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
71183         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
71184         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
71185         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
71186         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
71187         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
71188         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
71189         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
71190         file.
71191         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
71192         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
71193         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
71194         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
71195         file.
71196         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
71197         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
71198         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
71199         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
71200         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
71201         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
71202         file.
71203         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
71204         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
71205         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
71206         file.
71207         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
71208         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
71209         New file.
71210         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
71211         New file.
71212         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
71213         New file.
71214         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
71215         New file.
71216         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
71217         New file.
71218         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
71219         New file.
71220         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
71221         New file.
71222         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
71223         New file.
71224         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
71225         New file.
71226         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
71227         New file.
71228         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
71229         New file.
71230         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
71231         New file.
71232         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
71233         New file.
71234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
71235         file.
71236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
71237         New file.
71238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
71239         New file.
71240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
71241         file.
71242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
71243         New file.
71244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
71245         New file.
71246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
71247         file.
71248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
71249         New file.
71250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
71251         New file.
71252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
71253         New file.
71254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
71255         New file.
71256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
71257         New file.
71258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
71259         New file.
71260         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
71261         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
71262         file.
71263         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
71264         New file.
71265         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
71266         file.
71267         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
71268         file.
71269         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
71270         file.
71271         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
71272         file.
71273         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
71274         file.
71275         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
71276         New file.
71277         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
71278         file.
71279         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
71280         file.
71281         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
71282         New file.
71283         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
71284         file.
71285         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
71286         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
71287         file.
71288         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
71289         New file.
71290         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
71291         file.
71292         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
71293         file.
71294         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
71295         file.
71296         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
71297         file.
71298         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
71299         file.
71300         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
71301         New file.
71302         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
71303         file.
71304         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
71305         file.
71306         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
71307         New file.
71308         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
71309         file.
71310         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
71311         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
71312         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
71313         file.
71314         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
71315         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
71316         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
71317         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
71318         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
71319         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
71320         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
71321         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
71322         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
71323         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
71324         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
71325         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
71326         file.
71327         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
71328         New file.
71329         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
71330         file.
71331         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
71332         file.
71333         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
71334         file.
71335         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
71336         file.
71337         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
71338         file.
71339         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
71340         New file.
71341         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
71342         New file.
71343         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
71344         file.
71345         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
71346         New file.
71347         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
71348         file.
71349         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
71350         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
71351         file.
71352         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
71353         New file.
71354         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
71355         file.
71356         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
71357         file.
71358         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
71359         file.
71360         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
71361         file.
71362         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
71363         file.
71364         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
71365         New file.
71366         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
71367         New file.
71368         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
71369         file.
71370         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
71371         New file.
71372         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
71373         file.
71375 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
71377         * conform/conformtest.pl: Fix typo in handling typed-constant from
71378         allow-header.
71380 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
71382         * README: Cut down references to pre-2.6 Linux kernels and
71383         Linuxthreads.  Update lists of configurations in libc and ports
71384         and sort alphabetically.  Say "or newer" with Linux kernel version
71385         requirements.
71387         * config.h.in [IS_IN_build]: Allow compiling without optimization.
71389 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
71391         [BZ #887]
71392         * math/libm-test.inc (logb_test_downward): New test to expose
71393         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
71394         rounding mode.
71396 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
71398         [BZ #14027]
71399         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
71400         to be done.
71401         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
71402         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
71404 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
71406         * sysdeps/unix/i386/brk.S: Remove file.
71407         * sysdeps/unix/i386/dl-brk.S: Likewise.
71408         * sysdeps/unix/i386/pipe.S: Likewise.
71409         * sysdeps/unix/i386/sigreturn.S: Likewise.
71410         * sysdeps/unix/i386/syscall.S: Likewise.
71411         * sysdeps/unix/i386/vfork.S: Likewise.
71412         * sysdeps/unix/i386/wait.S: Likewise.
71414         * sysdeps/unix/common/tcsendbrk.c: Move to ...
71415         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
71417         * configure.in (arm*-none*): Do not allow without
71418         --enable-hacker-mode.
71419         (netbsd*): Remove case setting base_os.
71420         (386bsd*): Likewise.
71421         (freebsd*): Likewise.
71422         (bsdi*): Likewise.
71423         (osf*): Likewise.
71424         (sunos*): Likewise.
71425         (ultrix*): Likewise.
71426         (newsos*): Likewise.
71427         (dynix*): Likewise.
71428         (*bsd*): Likewise.
71429         (sysv*): Likewise.
71430         (isc*): Likewise.
71431         (esix*): Likewise.
71432         (sco*): Likewise.
71433         (minix*): Likewise.
71434         (irix4*): Likewise.
71435         (irix6*): Likewise.
71436         (solaris[2-9]*): Likewise.
71437         (none): Likewise.
71438         * configure: Regenerated.
71440 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71442         [BZ #11521]
71443         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
71444         overflow or cancellation in calculating denominator.
71445         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
71446         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
71447         down expression to avoid unexpected rounding in newer GCCs.
71448         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
71450 2012-04-26  David S. Miller  <davem@davemloft.net>
71452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
71453         long-double compat symbols.
71454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
71455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
71456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
71457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
71458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
71459         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
71460         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
71461         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
71462         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
71463         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
71464         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
71465         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
71466         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
71468 2012-04-25  David S. Miller  <davem@davemloft.net>
71470         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
71471         HWCAP_* values only after the memory barriers have been defined.
71472         (atomic_full_barrier): Define.
71473         (atomic_read_barrier): Define.
71474         (atomic_write_barrier): Define.
71476 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
71478         * shlib-versions: Add libgcc_s version information.
71479         * sysdeps/generic/libgcc_s.h: Remove.
71480         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
71481         libgcc_s.h.
71482         * sysdeps/gnu/unwind-resume.c: Likewise.
71483         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
71485 2012-04-25  David S. Miller  <davem@davemloft.net>
71487         * sysdeps/unix/sparc/brk.S: Delete.
71488         * sysdeps/unix/sparc/dl-brk.S: Delete.
71489         * sysdeps/unix/sparc/pipe.S: Delete.
71490         * sysdeps/unix/sparc/sysdep.S: Delete.
71491         * sysdeps/unix/sparc/sysdep.h: Delete.
71492         * sysdeps/unix/sparc/vfork.S: Delete.
71493         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
71494         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
71495         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
71496         (ret_ERRVAL, r0, r1, MOVE): Define.
71497         (JUMPTARGET): Remove.
71498         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
71499         sysdeps/unix/sparc/sysdep.h
71500         (ENTRY, END): Remove.
71501         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
71503 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
71505         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
71506         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
71507         -DIS_IN_build.
71509         * timezone/README: Update upstream location and email address for
71510         tzcode and tzdata.
71511         * timezone/zdump.c: Update from tzcode 2012b.
71512         * timezone/zic.c: Likewise.
71514         * configure.in (libc_cv_as_needed): Remove test.
71515         * configure: Regenerated.
71516         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
71517         conditional definition.
71518         [$(have-as-needed) != yes] (no-as-needed): Likewise.
71519         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
71520         * config.make.in (have-as-needed): Remove variable.
71522 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
71523             Paul Pluzhnikov  <ppluzhnikov@google.com>
71525         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
71526         strings correctly.
71528 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
71530         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
71531         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
71532         * sysdeps/sh/strlen.S: Likewise.
71534 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
71536         * sysdeps/unix/fork.S: Remove file.
71537         * sysdeps/unix/i386/fork.S: Likewise.
71538         * sysdeps/unix/sparc/fork.S: Likewise.
71540         * sysdeps/unix/system.c: Remove file.
71541         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
71543         * sysdeps/unix/getegid.S: Remove file.
71544         * sysdeps/unix/geteuid.S: Likewise.
71546 2012-04-24  Roland McGrath  <roland@hack.frob.com>
71548         * scripts/check-localplt.awk: New file.
71549         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
71550         of diff.
71551         * scripts/data/localplt-generic.data: Add a comment.
71553         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
71554         NODE when __dir_mkfile failed.
71555         * sysdeps/mach/hurd/symlinkat.c: Likewise.
71556         Reported by Ludovic Courtès <ludo@gnu.org>.
71558 2012-04-24  Andreas Jaeger  <aj@suse.de>
71560         * Makerules (common-clean): Also remove gen-as-const-headers
71561         files.
71563 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
71565         * Makerules (native-compile): Do not change working directory for
71566         build.  Use $(OUTPUT_OPTION) in command.
71567         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
71569 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71571         [BZ #13886]
71572         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
71573         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
71574         * math/libm-test.inc (floor_test): Add more tests.
71575         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
71577 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
71579         * sysdeps/unix/getdents.c: Remove file.
71580         * sysdeps/unix/sysv/getdents.c: Likewise.
71581         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
71583         * sysdeps/unix/syscalls.list (madvise): Add syscall from
71584         sysdeps/unix/mman/syscalls.list.
71585         (mmap): Likewise.
71586         (mprotect): Likewise.
71587         (msync): Likewise.
71588         (munmap): Likewise.
71589         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
71590         * sysdeps/unix/mman/syscalls.list: Remove.
71591         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
71593         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
71594         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
71595         * configure: Regenerated.
71596         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
71597         $(libgcc_s_suffix).
71598         * config.make.in (libgcc_s_suffix): Remove variable.
71600 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
71602         * sysdeps/unix/sysv/gethostname.c: Move to ...
71603         * sysdeps/posix/gethostname.c: ... here.
71605         * sysdeps/unix/execve.S: Remove file.
71607         * sysdeps/unix/_exit.S: Remove file.
71609 2012-04-23  Andreas Jaeger  <aj@suse.de>
71611         [BZ #13739]
71612         * manual/Makefile: Remove make dist support, there's no
71613         need for a stand-alone documentation tar ball.
71614         (TEXI2DVI): Define always, it's not in Makeconfig.
71615         (dist): Removed.
71616         (tar-it): Removed.
71617         (edition): Removed.
71618         (glibc-doc-$(edition).tar): Removed
71619         (%.Z): Removed.
71620         (%.gz): Removed.
71621         (%.uu): Removed.
71622         (ETAGS): Remove, it's in Makeconfig.
71623         (move-if-change): Remove, it's in Makeconfig.
71625 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
71627         [BZ #13970]
71628         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
71629         (strtod, strtof, strtold, strtol, strtoul, strtoq)
71630         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
71631         (strtod_l, strtof_l, strtold_l): Remove __wur.
71632         It is not necessarily an error to ignore strtol's return value.
71633         One can reliably look at the stored endptr to decide whether
71634         the number had valid syntax.
71636 2012-04-21  Andreas Jaeger  <aj@suse.de>
71638         [BZ #13739]
71639         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
71641 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
71643         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
71644         * sysdeps/unix/sysv/Versions: Remove file.
71646 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
71648         [BZ #13927]
71649         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71651 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
71653         [BZ #7064]
71654         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
71655         version from __vm86.
71657 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
71659         * sysdeps/unix/common/lxstat.c: Remove file.
71660         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
71662         * sysdeps/unix/sysv/Makefile: Remove file.
71664         * sysdeps/unix/sysv/direct.h: Remove file.
71666         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
71667         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
71668         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
71669         * sysdeps/unix/sysv/bits/signum.h: Likewise.
71670         * sysdeps/unix/sysv/bits/stat.h: Likewise.
71671         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
71672         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
71674         * sysdeps/unix/sysv/setrlimit.c: Remove file.
71676         * sysdeps/unix/xmknod.c: Remove file.
71677         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
71679         * sysdeps/unix/sysv/settimeofday.c: Remove file.
71681         * sysdeps/unix/sysv/i386/time.S: Remove file.
71683         * sysdeps/unix/fxstat.c: Remove file.
71684         * sysdeps/unix/xstat.c: Likewise.
71685         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
71687         * sysdeps/unix/sysv/sigaction.c: Remove file.
71689         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
71690         (sysdep_headers): Remove variable.
71691         [termio.h not in sysdep_headers] (generated): Likewise.
71692         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
71693         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
71694         * sysdeps/unix/sysv/tcdrain.c: Likewise.
71695         * sysdeps/unix/sysv/tcflow.c: Likewise.
71696         * sysdeps/unix/sysv/tcflush.c: Likewise.
71697         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
71698         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
71699         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
71700         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
71701         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
71703         * sysdeps/unix/siglist.c: Remove file.
71705         * sysdeps/unix/getppid.S: Remove file.
71707         * sysdeps/unix/mkdir.c: Remove file.
71708         * sysdeps/unix/rmdir.c: Likewise.
71710 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
71712         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
71713         ERR_MAX value.
71714         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
71715         errlist-compat value.
71717 2012-04-18  David S. Miller  <davem@davemloft.net>
71719         * sysdeps/generic/memcopy.h (reg_char): Delete.
71720         * debug/strcat_chk.c: Use char, not reg_char.
71721         * debug/strcpy_chk.c: Likewise.
71722         * debug/strncat_chk.c: Likewise.
71723         * debug/strncpy_chk.c: Likewise.
71724         * string/memchr.c: Likewise.
71725         * string/memrchr.c: Likewise.
71726         * string/rawmemchr.c: Likewise.
71727         * string/strcat.c: Likewise.
71728         * string/strchr.c: Likewise.
71729         * string/strchrnul.c: Likewise.
71730         * string/strcmp.c: Likewise.
71731         * string/strcpy.c: Likewise.
71732         * string/strncat.c: Likewise.
71733         * string/strncmp.c: Likewise.
71734         * string/strncpy.c: Likewise.
71736 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
71738         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
71739         __builtin_memcopy is called when src and dest ranges are known to not
71740         overlap.
71742 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
71744         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
71745         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
71746         fwd_align_merge macro call.
71747         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
71748         bwd_align_merge macro call.
71749         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
71751 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
71753         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
71754         bwd_align_merge macros.
71755         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
71756         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
71757         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
71759 2012-04-18  David S. Miller  <davem@davemloft.net>
71761         * sysdeps/sparc/sparc64/memcopy.h: Delete.
71763 2012-04-18  Andreas Jaeger  <aj@suse.de>
71765         [BZ# 6794]
71766         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
71767         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
71768         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
71770         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
71771         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
71772         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
71774         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
71775         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
71776         Adjust for changed ldbl-128 files.
71778         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
71779         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
71780         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
71782 2012-04-17  David S. Miller  <davem@davemloft.net>
71784         * sysdeps/sparc/sparc32/memcopy.h: Delete.
71786 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
71788         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
71789         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
71790         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
71791         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
71792         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
71793         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
71795 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71797         [BZ #6794]
71798         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
71799         * math/libm-test.inc: Add ilogb errno and exception tests.
71800         * math/w_ilogb.c: New file: ilogb wrapper.
71801         * math/w_ilogbf.c: New file: ilogbf wrapper.
71802         * math/w_ilogbl.c: New file: ilogbl wrapper.
71803         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
71804         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
71805         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
71806         exception being thrown with 0.0 as argument.
71807         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
71808         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
71809         exception being thrown with 0.0 as argument.
71810         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
71811         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
71812         exception being thrown with 0.0 as argument.
71813         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
71814         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
71815         exception being thrown with 0.0 as argument.
71816         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
71817         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
71818         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
71819         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
71820         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
71821         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
71822         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
71823         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
71824         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
71826 2012-04-17  Petr Baudis  <pasky@ucw.cz>
71828         * include/sys/uio.h: Change __vector to __iovec to avoid clash
71829         with altivec.
71831 2012-04-16  Marek Polacek  <polacek@redhat.com>
71833         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
71835 2012-04-16  Marek Polacek  <polacek@redhat.com>
71837         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
71838         operands of fdivp instruction.
71840 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
71842         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
71843         * elf/tst-auditmod3b.c: Likewise.
71844         * elf/tst-auditmod4b.c: Likewise.
71845         * elf/tst-auditmod5b.c: Likewise.
71846         * elf/tst-auditmod6b.c: Likewise.
71847         * elf/tst-auditmod6c.c: Likewise.
71848         * elf/tst-auditmod7b.c: Likewise.
71849         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
71850         * sysdeps/x86_64/preconfigure.in: Likewise.
71851         * sysdeps/x86_64/preconfigure: Regenerated.
71853 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
71855         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
71856         __ILP32__.
71858 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
71860         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
71861         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
71863 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
71865         [BZ #13973]
71866         * locale/iso-639.def: Fix gl language name. Spotted by
71867         Yaron Shahrabani.
71869 2012-04-12  Roland McGrath  <roland@hack.frob.com>
71871         [BZ #2074]
71872         * libio/libio.h (__io_write_fn): Update comment.
71874 2012-04-12  Petr Baudis  <pasky@ucw.cz>
71876         [BZ #2074]
71877         * stdio.texi (Hook Functions): The user provided writer function
71878         is not allowed to return -1.
71880 2012-04-11  David S. Miller  <davem@davemloft.net>
71882         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71884 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
71886         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
71887         Add a leading slash to rtkaio.
71889 2012-04-11  Jim Meyering  <meyering@redhat.com>
71891         [BZ #11959]
71892         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
71893         It is not necessarily an error to ignore fwrite's return
71894         value.  One can reliably use ferror to test for errors after
71895         the fact.
71897 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
71899         * bits/types.h (__snseconds_t): New type.
71900         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
71902         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
71903         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71904         (__SNSECONDS_T_TYPE): Likewise.
71905         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
71906         (__SNSECONDS_T_TYPE): Likewise.
71907         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71908         (__SNSECONDS_T_TYPE): Likewise.
71910 2012-04-10  Andreas Jaeger  <aj@suse.de>
71912         [BZ #2636]
71913         * manual/time.texi (Processor Time): Return type of times is
71914         elapsed real time since an arbitrary point in the past.
71915         (CPU Time): Move CLK_TCK from here...
71916         (Processor Time): ...to here.  Correct description.
71917         * manual/conf.texi (Constants for Sysconf): Correct description of
71918         _SC_CLK_TCK.
71920 2012-04-10  David S. Miller  <davem@davemloft.net>
71922         [BZ #13967]
71923         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
71924         where the is a gap between DT_REL(A) and DT_JMPREL.
71926 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
71928         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
71929         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
71930         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
71932 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
71934         * elf/dl-support.c (_dl_inhibit_cache): New variable.
71935         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
71936         (dl_main): Handle --inhibit-cache.
71937         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
71938         _dl_inhibit_cache.
71939         * elf/dl-load.c (_dl_map_object): Use it.
71940         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
71942 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
71944         [BZ #13872]
71945         * sysdeps/i386/fpu/e_powl.S (p78): New object.
71946         (__ieee754_powl): Saturate large exponents rather than testing for
71947         overflow of y*log2(x).
71948         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
71949         * math/libm-test.inc (pow_test): Do not permit spurious overflow
71950         exceptions.
71952         [BZ #11521]
71953         * math/s_ctan.c: Include <float.h>.
71954         (__ctan): Avoid internal overflow or cancellation in calculating
71955         denominator.
71956         * math/s_ctanf.c: Likewise.
71957         * math/s_ctanl.c: Likewise.
71958         * math/s_ctanh.c: Likewise.
71959         * math/s_ctanhf.c: Likewise.
71960         * math/s_ctanhl.c: Likewise.
71961         * math/libm-test.inc (ctan_test): Add more tests.
71962         (ctanh_test): Likewise.
71963         * sysdeps/i386/fpu/libm-test-ulps: Update.
71964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71966 2012-04-09  Andreas Jaeger  <aj@suse.de>
71968         [BZ #6894]
71969         * manual/filesys.texi (Directory Entries): Mention that d_namlen
71970         is an optional BSD extension.
71972         [BZ #10254]
71973         * manual/stdio.texi (Opening Streams): Document additional fopen
71974         parameters.
71976 2012-04-09  Roland McGrath  <roland@hack.frob.com>
71978         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
71979         %eax without telling the compiler.
71981 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
71983         [BZ # 13963]
71984         * manual/install.texi: Use sourceware.org.
71986 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
71988         [BZ #13873]
71989         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
71990         (__ieee754_pow): Generate overflow and underflow using huge*huge
71991         and tiny*tiny rather than just returning constant infinity or zero
71992         for large exponents.
71993         * math/libm-test.inc (pow_test): Require overflow exceptions for
71994         applicable cases of large exponents.
71996         [BZ #706]
71997         * sysdeps/i386/fpu/e_pow.S (p10): New object.
71998         (__ieee754_pow): Use iterative multiplication algorithm only for
71999         integer exponents with absolute value below 1024.  Check for odd
72000         integer exponents when using algorithm for real exponents.
72001         * math/libm-test.inc (pow_test): Add more tests.
72002         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72004 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
72006         [BZ #13705]
72007         * math/libm-test.inc (exp_test): Do not allow overflow exception
72008         on underflow test.
72010 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
72012         [BZ #13705]
72013         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
72014         instead of __kernel_standard_f.
72016 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
72018         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
72019         * sysdeps/x86_64/memset_chk.S: Likewise.
72021 2012-04-08  Andreas Jaeger  <aj@suse.de>
72023         [BZ #10153]
72024         * manual/startup.texi (Environment Access): Describe return value
72025         for putenv and setenv.
72027         [BZ #6895]
72028         * manual/filesys.texi (Directory Entries): Add description for
72029         DT_LNK.
72031         [BZ #6890]
72032         * manual/filesys.texi (Directory Entries): Clarify that it's file
72033         system not operating system in the description of DT_UNKNOWN.
72035         [BZ #6578]
72036         * manual/syslog.texi (closelog): Fix reference, it's openlog.
72038 2012-04-08  Stephen Compall  <s11@member.fsf.org>
72040         [BZ #6649]
72041         * manual/llio.texi (Opening and Closing Files): Add cross
72042         reference to explain mode argument.
72044 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
72046         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
72047         * sysdeps/x86_64/memset_chk.S: Likewise.
72049 2012-04-07  David S. Miller  <davem@davemloft.net>
72051         * elf/elf.h (R_SPARC_WDISP10): Define.
72052         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
72053         R_SPARC_SIZE32.
72054         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
72055         R_SPARC_SIZE64 and R_SPARC_H34.
72057 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
72059         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
72060         conditions and remove no longer applicable assertion.
72062 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
72064         * bits/byteswap.h: Include <features.h>.
72065         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
72066         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
72068 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
72070         * bits/byteswap.h (__bswap_16): Removed.
72071         Include <bits/byteswap-16.h> to get __bswap_16.
72072         * sysdeps/i386/bits/byteswap.h: Likewise.
72073         * sysdeps/s390/bits/byteswap.h: Likewise.
72074         * sysdeps/x86_64/bits/byteswap.h: Likewise.
72075         * bits/byteswap-16.h: New file.
72076         * sysdeps/i386/bits/byteswap-16.h: Likewise.
72077         * sysdeps/s390/bits/byteswap-16.h: Likewise.
72078         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
72079         * string/Makefile (headers): Add bits/byteswap-16.h.
72081 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
72083         [BZ #13895]
72084         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
72085         extra indirection.
72086         * nss/Makefile (tests-static, tests): Add tst-nss-static.
72087         * nss/tst-nss-static.c: New.
72089 2012-04-06  Robert Millan  <rmh@gnu.org>
72091         [BZ #6486]
72092         * manual/llio.texi (File Position Primitive): lseek
72093         refers to WHENCE when it really means OFFSET.
72095 2012-04-06  Andreas Jaeger  <aj@suse.de>
72097         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
72098         strncmp declarations.
72100         * abilist/libc.abilist: Add __poll and __ppoll.
72102 2012-04-05  David S. Miller  <davem@davemloft.net>
72104         * scripts/check-local-headers.sh: Accept a host triplet in the
72105         path matched by the exclude regexp.
72107         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
72108         definition.
72109         * sysdeps/powerpc/powerpc32/dl-machine.h
72110         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
72111         * sysdeps/s390/s390-32/dl-machine.h
72112         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
72113         * sysdeps/sparc/sparc32/dl-machine.h
72114         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
72115         * sysdeps/sparc/sparc64/dl-machine.h
72116         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
72118         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
72119         lazy binding.
72120         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
72121         undefined symbol errors.
72123         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
72124         DT_NEEDED entries.
72126 2012-04-05  Michael Matz  <matz@suse.de>
72128         [BZ #13592]
72129         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
72131 2012-04-05  Andreas Jaeger  <aj@suse.de>
72133         [BZ #13908]
72134         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
72135         comment.
72137 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
72139         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
72140         which ROUND is no valid rounding mode.
72142 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
72144         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
72145         read again.
72146         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
72148 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
72150         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
72151         an exception using FPU order intentionally.
72153 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
72155         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
72156         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
72157         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
72158         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
72160 2012-04-05  Simon Josefsson  <simon@josefsson.org>
72162         [BZ #12340]
72163         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
72164         EINVAL when BUFLEN is too smal.
72166 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
72168         [BZ #13553]
72169         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
72170         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
72172 2012-04-03  Andreas Jaeger  <aj@suse.de>
72174         [BZ #13938]
72175         * manual/setjmp.texi (System V contexts): Fix sentence.
72177         [BZ #13926]
72178         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
72179         New macro for this case.
72180         [!__GNUC__] (__bswap_64): New inline function for this case.
72181         * sysdeps/x86_64/bits/byteswap.h: Likewise.
72182         * bits/byteswap.h: Likewise.
72183         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
72184         ull, guard with __GLIBC_HAVE_LONG_LONG.
72186         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
72187         __GLIBC_HAVE_LONG_LONG.
72189         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
72190         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
72192 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
72194         [BZ #13691]
72195         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
72196         inptr and inend, rather than using last_ch.
72198 2012-04-02  David S. Miller  <davem@davemloft.net>
72200         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
72201         * stdio-common/printf-parse.h (read_int): Change return type to
72202         'int', return -1 on INT_MAX overflow.
72203         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
72204         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
72205         overflows INT_MAX.  Check for overflow of in-format-string precision
72206         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
72207         SIZE_MAX not INT_MAX for integer overflow test.
72208         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
72209         skip the construct in the format string but do not record anything.
72210         * stdio-common/bug22.c: Adjust to test both width/prevision
72211         INT_MAX overflow as well as total length INT_MAX overflow.  Check
72212         explicitly for proper errno values.
72214 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
72216         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
72217         CHAR_MAX.
72218         * string/test-strcmp.c [! WIDE]: Likewise.
72219         * time/tst-mktime2.c: Likewise for INT_MAX.
72220         * string/test-string.h: #include <sys/param.h> for MIN.
72222         * csu/init-first.c (__libc_init_first): Call __ctype_init.
72223         * sysdeps/i386/init-first.c (init): Likewise.
72224         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
72225         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
72226         * sysdeps/sh/init-first.c (init): Likewise.
72228 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
72230         * po/ru.po: Update from translation team.
72231         * po/vi.po: Likewise.
72233 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
72235         * resolv/nss_dns/dns-host.c: Merge copyright years.
72237 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72239         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
72240         Optimize memcpy with prefetch if
72241         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
72242         src, dst pointers have unequal 16 byte alignments.
72244 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
72246         [BZ #13928]
72247         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
72248         from a CNAME entry and return the minimum ttl for the query.
72249         (gaih_getanswer_slice): Likewise.
72251 2012-03-30  Jeff Law  <law@redhat.com>
72253         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
72254         due to long keys.
72255         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
72256         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
72258         * resolv/nss_dns/dns-host.c: Update copyright year.
72260 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
72262         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
72263         requests to save a system call.  Fix check that all bytes are sent.
72265         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
72266         comments for sendmmsg.
72268 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
72270         [BZ #13691]
72271         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
72272         with only 1 character between 0x0041 and 0x01b0.
72273         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
72274         * wcsmbs/tst-mbsnrtowcs.c: New file.
72276 2012-03-29  David S. Miller  <davem@davemloft.net>
72278         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
72279         small copies by hand.
72281 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
72283         [BZ #13761]
72284         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
72285         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
72286         group memberships.
72288 2012-03-28  David S. Miller  <davem@davemloft.net>
72290         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
72291         that branches into memcpy.
72292         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
72293         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
72294         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
72295         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
72296         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
72297         bits.
72298         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
72299         implementation too.
72300         * sysdeps/sparc/mempcpy.S: New file.
72302         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
72303         the IFUNC routine in the libc case.
72304         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
72306         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
72307         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
72308         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
72309         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
72310         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
72311         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
72312         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
72313         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
72315         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
72316         loop to 256 bytes instead of 64 bytes and fix test signedness.
72318         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
72319         * sysdeps/sparc/sparc32/Makefile: rather than here...
72320         * sysdeps/sparc/sparc64/Makefile: and here.
72322 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
72324         * malloc/mallocbug.c: Avoid warnings about unused variables.
72326 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
72328         [BZ #13760]
72329         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
72330         in the right place. Discard and retry query if response is
72331         larger than input buffer size.
72333 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
72335         [BZ #369]
72336         [BZ #2678]
72337         [BZ #3866]
72338         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
72339         x for large integer exponent.
72340         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
72341         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
72342         sign of result as needed afterwards.
72343         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
72344         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
72345         result for underflowing pow the same as for overflow.
72346         (__kernel_standard_l): Handle powl overflow and underflow here
72347         rather than calling __kernel_standard.
72348         * math/libm-test.inc (pow_test): Add more tests.
72350         [BZ #3868]
72351         [BZ #13879]
72352         [BZ #13910]
72353         [BZ #13911]
72354         [BZ #13912]
72355         [BZ #13913]
72356         [BZ #13915]
72357         [BZ #13916]
72358         [BZ #13917]
72359         [BZ #13918]
72360         [BZ #13919]
72361         [BZ #13920]
72362         [BZ #13921]
72363         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
72364         * sysdeps/ieee754/k_standard.c: Include <float.h>.
72365         (__kernel_standard_l): New function.
72366         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
72367         __kernel_standard.
72368         * math/w_acosl.c (__acosl): Likewise.
72369         * math/w_asinl.c (__asinl): Likewise.
72370         * math/w_atan2l.c (__atan2l): Likewise.
72371         * math/w_atanhl.c (__atanhl): Likewise.
72372         * math/w_coshl.c (__coshl): Likewise.
72373         * math/w_exp10l.c (__exp10l): Likewise.
72374         * math/w_exp2l.c (__exp2l): Likewise.
72375         * math/w_fmodl.c (__fmodl): Likewise.
72376         * math/w_hypotl.c (__hypotl): Likewise.
72377         * math/w_j0l.c (__j0l, __y0l): Likewise.
72378         * math/w_j1l.c (__j1l, __y1l): Likewise.
72379         * math/w_jnl.c (__jnl, __ynl): Likewise.
72380         * math/w_lgammal.c (__lgammal): Likewise.
72381         * math/w_log10l.c (__log10l): Likewise.
72382         * math/w_log2l.c (__log2l): Likewise.
72383         * math/w_logl.c (__logl): Likewise.
72384         * math/w_powl.c (__powl): Likewise.
72385         * math/w_remainderl.c (__remainderl): Likewise.
72386         * math/w_scalbl.c (sysv_scalbl): Likewise.
72387         * math/w_sinhl.c (__sinhl): Likewise.
72388         * math/w_sqrtl.c (__sqrtl): Likewise.
72389         * math/w_tgammal.c (__tgammal): Likewise.
72390         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
72391         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
72392         * math/libm-test.inc (acos_test): Add more tests.
72393         (acosh_test): Likewise.
72394         (asin_test): Likewise.
72395         (atanh_test): Likewise.
72396         (exp_test): Likewise.
72397         (exp10_test): Likewise.
72398         (exp2_test): Likewise.
72399         (expm1_test): Likewise.
72400         (lgamma_test): Likewise.
72401         (log_test): Likewise.
72402         (log10_test): Likewise.
72403         (log1p_test): Likewise.
72404         (log2_test): Likewise.
72405         (pow_test): Do not allow some spurious overflow exceptions.
72406         (sqrt_test): Add more tests.
72407         (tgamma_test): Likewise.
72408         (y0_test): Likewise.
72409         (y1_test): Likewise.
72410         (yn_test): Likewise.
72412 2012-03-27  Anton Blanchard  <anton@samba.org>
72414         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
72415         MAP_HUGETLB.
72416         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
72417         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
72418         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
72420 2012-03-27  David S. Miller  <davem@davemloft.net>
72422         * conform/Makefile: Run run-conformtest.sh using $(BASH).
72424         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
72425         have-as-vis3 check.
72427 2012-03-27  Andreas Jaeger  <aj@suse.de>
72429         * sysdeps/x86_64/elf/configure.in: Moved to ...
72430         * sysdeps/x86_64/configure.in: ... here.
72431         * sysdeps/x86_64/elf/start.S: Moved to ...
72432         * sysdeps/x86_64/start.S: ... here.
72433         * sysdeps/x86_64/elf/configure: Delete.
72435         * sysdeps/x86_64/configure.in: Merge contents from
72436         sysdeps/i386/configure.in (without i686 check).
72438         * sysdeps/i386/elf/Versions: Merge into ...
72439         * sysdeps/i386/Versions: ... this.
72440         * sysdeps/i386/elf/Versions: Delete file.
72441         * sysdeps/i386/elf/start.S: Moved to ...
72442         * sysdeps/i386/start.S: ...here.
72443         * sysdeps/i386/elf/configure.in: Merge into...
72444         * sysdeps/i386/configure.in: ...here.
72445         * sysdeps/i386/elf/configure.in: Delete file.
72446         * sysdeps/i386/elf/configure: Delete file.
72448         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
72449         * debug/backtracesyms.c: ... here.
72450         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
72451         * debug/backtracesymsfd.c: ... here.
72452         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
72453         * sysdeps/generic/ifunc-sel.h: ... here.
72455         * sysdeps/unix/i386/start.c: Delete file.
72456         * sysdeps/unix/sparc/start.c: Delete file.
72457         * sysdeps/unix/start.c: Delete file.
72459         * sysdeps/sh/elf/configure.in: Moved to ...
72460         * sysdeps/sh/configure.in: ... here.
72461         * sysdeps/sh/elf/start.S: Moved to ...
72462         * sysdeps/sh/start.S: ... here.
72463         * sysdeps/sh/elf/configure: Delete file.
72465         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
72466         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
72467         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
72468         * sysdeps/powerpc/powerpc64/entry.h: ... here.
72469         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
72470         * sysdeps/powerpc/powerpc64/start.S: here.
72471         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
72472         * sysdeps/powerpc/powerpc64/Makefile: ... this.
72473         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
72474         * sysdeps/powerpc/powerpc64/configure.in: ... this.
72475         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
72477         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
72478         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
72479         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
72480         * sysdeps/powerpc/powerpc32/start.S: ... here.
72481         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
72482         * sysdeps/powerpc/powerpc32/configure.in: ... this.
72483         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
72485         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
72486         * sysdeps/powerpc/ifunc-sel.h: ... here.
72487         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
72488         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
72490         * sysdeps/sparc/elf/configure.in: Moved to ...
72491         * sysdeps/sparc/configure.in: ... here.
72492         * sysdeps/sparc/elf/configure: Delete file.
72493         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
72494         * sysdeps/sparc/sparc32/start.S: ... here.
72495         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
72496         * sysdeps/sparc/sparc64/start.S: ... here.
72497         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
72498         * sysdeps/sparc/sparc32/Makefile: ... this.
72499         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
72500         * sysdeps/sparc/sparc64/Makefile: ... this.
72502         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
72503         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
72504         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
72505         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
72506         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
72507         * sysdeps/s390/s390-32/setjmp.S: ... here.
72508         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
72509         * sysdeps/s390/s390-32/configure.in: ... here.
72510         * sysdeps/s390/s390-32/elf/configure: Delete file.
72511         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
72512         * sysdeps/s390/s390-32/start.S: ... here.
72514         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
72515         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
72516         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
72517         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
72518         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
72519         * sysdeps/s390/s390-64/setjmp.S: ... here.
72520         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
72521         * sysdeps/s390/s390-64/configure.in: ... here
72522         * sysdeps/s390/s390-64/elf/configure: Delete file.
72523         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
72524         * sysdeps/s390/s390-64/start.S: ... here.
72525         * sysdeps/s390/s390-64/elf/configure: Delete.
72527         * configure.in: Remove support for elf directories in sysdeps.
72529         * configure: Regenerated.
72530         * sysdeps/i386/configure: Regenerated.
72531         * sysdeps/powerpc/powerpc32/configure: Regenerated.
72532         * sysdeps/powerpc/powerpc64/configure: Regenerated.
72533         * sysdeps/s390/s390-32/configure: Regenerated.
72534         * sysdeps/s390/s390-64/configure: Regenerated.
72535         * sysdeps/sh/configure: Regenerated.
72536         * sysdeps/sparc/configure: Regenerated.
72537         * sysdeps/x86_64/configure: Regenerated.
72539 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
72541         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72543         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
72544         denormal result into account.
72546 2012-03-25  Roland McGrath  <roland@hack.frob.com>
72548         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
72549         Reported by Allan McRae <allan@archlinux.org>.
72551 2012-03-23  Jeff Law  <law@redhat.com>
72553         * nss/getnssent.c (__nss_getent): Fix typo.
72555 2012-03-23  David S. Miller  <davem@davemloft.net>
72557         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72559 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
72561         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
72562         to pad to uint64_t for each field.
72563         (dl_tls_index): Replace unsigned long with uint64_t.
72565 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
72566         Paul Pluzhnikov  <ppluzhnikov@google.com>
72568         [BZ #6528]
72569         * grp/Makefile (otherlibs): Don't set it.
72570         * inet/Makefile (otherlibs): Likewise.
72571         * login/Makefile (otherlibs): Likewise.
72572         * nscd/Makefile (otherlibs): Likewise.
72573         * posix/Makefile (otherlibs): Likewise.
72574         * pwd/Makefile (otherlibs): Likewise.
72575         * rt/Makefile (otherlibs): Likewise.
72576         * sunrpc/Makefile (otherlibs): Likewise.
72577         * nss/Makefile (otherlibs): Likewise.
72578         Add libnss_files to routines and static-only-routines.
72579         ($(objpfx)getent): Remove rule.
72580         * resolv/Makefile: Add libnss_dns and libresolv to routines and
72581         static-only-routines.
72583 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
72585         [BZ #13892]
72586         * math/s_cexp.c: Include <float.h>.
72587         (__cexp): Handle exp result overflowing not necessarily
72588         overflowing both real and imaginary parts of result.
72589         * math/s_cexpf.c: Likewise.
72590         * math/s_cexpl.c: Likewise.
72591         * math/libm-test.inc (cexp_test): Add more tests.
72592         * sysdeps/i386/fpu/libm-test-ulps: Update.
72593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72595 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
72597         * include/link.h (ELFW): New macro.
72598         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
72599         Replace ELF64_R_TYPE with ELFW(R_TYPE).
72601 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
72603         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
72604         with uint64_t.
72606 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
72608         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
72609         declaration.
72610         (struct La_x32_retval): Likewise.
72612 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
72614         * sysdeps/x86_64/preconfigure.in: New file.
72615         * sysdeps/x86_64/preconfigure: New generated file.
72617 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
72619         [BZ #13824]
72620         * math/e_exp2l.c: Include <float.h>.
72621         (__ieee754_exp2l): Handle overflow and underflow cases
72622         separately.  Only pass fractional part of argument to
72623         __ieee754_expl.
72624         * math/libm-test.inc (exp2_test): Add more tests.
72626         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
72627         negating x to take absolute value.
72628         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
72629         Likewise.
72630         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
72631         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
72632         Likewise.
72633         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
72634         computing low part if x was negated.
72635         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
72637 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
72639         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
72640         la_x32_gnu_pltexit.
72641         (pltexit): Cast int_retval to ptrdiff_t.
72642         * elf/tst-auditmod3b.c: Likewise.
72643         * elf/tst-auditmod4b.c: Likewise.
72644         * elf/tst-auditmod5b.c: Likewise.
72645         * elf/tst-auditmod6b.c: Likewise.
72646         * elf/tst-auditmod6c.c: Likewise.
72647         * elf/tst-auditmod7b.c: Likewise.
72649         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
72650         and x32_gnu_pltexit.
72652         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
72653         __ELF_NATIVE_CLASS.
72654         (La_x32_regs): New macro.
72655         (La_x32_retval): Likewise.
72656         (la_x32_gnu_pltenter): New function prototype.
72657         (la_x32_gnu_pltexit): Likewise.
72659 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
72661         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
72662         exponent.
72664         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72666         * configure.in (libc_cv_cc_nofma): Check for option to disable
72667         generation of FMA instructions.
72668         * configure: Regenerate.
72669         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
72670         * sysdeps/ieee754/dbl-64/Makefile: New file.
72671         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
72672         Remove brandred-fma4.
72673         (CFLAGS-brandred-fma4.c): Remove.
72674         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
72675         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
72676         define.
72677         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
72678         define.
72680 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
72682         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
72683         LLONG_MAX != LONG_MAX.
72684         (_itoa_word): Use _ITOA_WORD_TYPE on value.
72685         (_fitoa_word): Likewise.
72686         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
72687         LLONG_MAX != LONG_MAX.
72688         * stdio-common/_itowa.h: Include <_itoa.h>.
72689         (_itowa_word): Use _ITOA_WORD_TYPE on value.
72690         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
72691         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
72692         only if not defined.
72693         (_ITOA_WORD_TYPE): Likewise.
72694         (_itoa_word): Use _ITOA_WORD_TYPE on value.
72695         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
72697 2012-03-21  David S. Miller  <davem@davemloft.net>
72699         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72701 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
72703         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
72704         of x86_64 when setting libc_cv_slibdir, libdir and
72705         libc_cv_localedir.
72706         * sysdeps/unix/sysv/linux/configure: Regenerated.
72708 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
72710         * manual/lang.texi (Old Varargs): Remove section.
72711         (How Variadic): Update menu.
72712         (va_start): Do not mention varargs.h.
72714 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
72715             Joseph Myers  <joseph@codesourcery.com>
72717         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
72718         link test.
72719         * configure: Regenerated.
72721 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
72723         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
72724         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
72725         conformtest.pl
72727 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
72729         * NOTES: Remove.
72730         * Makefile (files-for-dist): Remove NOTES.
72731         (NOTES): Remove rule.
72732         * README: Don't refer to NOTES.
72733         * manual/creature.texi: Don't include macros.texi.
72734         * manual/intro.texi (creature.texi): Remove comment referring to
72735         NOTES.
72737         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
72738         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
72739         * configure: Regenerated.
72740         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
72741         LIBC_TRY_CC_OPTION.
72742         (libc_cv_as_i686): Likewise.
72743         (libc_cv_cc_avx): Likewise.
72744         (libc_cv_cc_sse2avx): Likewise.
72745         (libc_cv_cc_fma4): Likewise.
72746         (libc_cv_cc_novzeroupper): Likewise.
72747         * sysdeps/i386/configure: Regenerated.
72749         [BZ #13883]
72750         * sysdeps/i386/fpu/s_cexp.S: Remove.
72751         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
72752         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
72753         * math/libm-test.inc (cexp_test): Add more tests.
72754         * sysdeps/i386/fpu/libm-test-ulps: Update.
72755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72757 2012-03-21  Allan McRae  <allan@archlinux.org>
72759         * timezone/Makefile: Do not install iso3166.tab and zone.tab
72761 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
72763         [BZ #13871]
72764         * math/w_exp2.c: Do not include <float.h>.
72765         (o_threshold, u_threshold): Remove.
72766         (__exp2): Calculate result before checking finiteness and calling
72767         __kernel_standard.
72768         * math/w_exp2f.c: Likewise.
72769         * math/w_exp2l.c: Likewise.
72770         * math/libm-test.inc (exp2_test): Require overflow exception for
72771         1e6 input.
72773         [BZ #3866]
72774         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
72775         range of signed 64-bit integers before using fistpll.  Remove
72776         checks for whether integers fit in mantissa bits.
72777         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
72778         the range of signed 32-bit integers before using fistpl.  Remove
72779         checks for whether integers fit in mantissa bits.
72780         * sysdeps/i386/fpu/e_powl.S (p64): New object.
72781         (__ieee754_powl): Test for y outside the range of signed 64-bit
72782         integers before using fistpll.  Reduce 64-bit values to 63-bit
72783         ones as needed.
72784         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
72785         divide-by-zero is raised for zero to large negative powers.
72786         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
72787         (__ieee754_powl): Test for y outside the range of signed 64-bit
72788         integers before using fistpll.  Reduce 64-bit values to 63-bit
72789         ones as needed.
72790         * math/libm-test.inc (pow_test): Add more tests.
72792 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
72794         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
72795         <stdio-common/_itoa.h>.
72796         * debug/segfault.c: Likewise.
72797         * elf/dl-cache.c: Likewise.
72798         * elf/dl-minimal.c: Likewise.
72799         * elf/dl-misc.c: Likewise.
72800         * elf/dl-sysdep.c: Likewise.
72801         * elf/dl-version.c: Likewise.
72802         * elf/rtld.c: Likewise.
72803         * hurd/hurdsock.c: Likewise.
72804         * hurd/lookup-retry.c: Likewise.
72805         * malloc/malloc.c: Likewise.
72806         * malloc/mtrace.c: Likewise.
72807         * nscd/nscd_getgr_r.c: Likewise.
72808         * nscd/nscd_getpw_r.c: Likewise.
72809         * nscd/nscd_getserv_r.c: Likewise.
72810         * posix/getopt_init.c: Likewise.
72811         * posix/wordexp.c: Likewise.
72812         * stdio-common/_itoa.c: Likewise.
72813         * stdio-common/printf_fphex.c: Likewise.
72814         * stdio-common/vfprintf.c: Likewise.
72815         * string/_strerror.c: Likewise.
72816         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
72817         * sysdeps/i386/i686/hp-timing.h: Likewise.
72818         * sysdeps/mach/_strerror.c: Likewise.
72819         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
72820         * sysdeps/mach/hurd/sethostid.c: Likewise.
72821         * sysdeps/mach/hurd/xmknodat.c: Likewise.
72822         * sysdeps/mach/xpg-strerror.c: Likewise.
72823         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
72824         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
72825         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
72826         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
72827         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
72828         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
72829         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
72830         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
72831         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
72832         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
72833         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
72834         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
72835         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
72836         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
72837         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
72838         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
72839         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
72840         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
72841         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
72842         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
72843         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
72845         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
72847         * stdio-common/_itoa.h: Moved to ...
72848         * sysdeps/generic/_itoa.h: Here.
72850         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
72852         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
72853         instead of "_itoa.h" and "_itowa.h".
72854         * stdio-common/vfprintf.: Likewise.
72856 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
72858         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
72859         <bits/wordsize.h>.
72860         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
72861         (__signbit): Likwise.
72862         (llrintf): Likwise.
72863         (llrint): Likwise.
72865 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
72867         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
72868         __WORDSIZE != 64.
72870 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
72872         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
72873         OVERFLOW_EXCEPTION_OK.
72874         * math/libm-test.inc ("Philosophy"): Update comment about
72875         exception testing.
72876         (OVERFLOW_EXCEPTION): Define.
72877         (OVERFLOW_EXCEPTION_OK): Likewise.
72878         (INVALID_EXCEPTION_OK): Renumber.
72879         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
72880         (IGNORE_ZERO_INF_SIGN): Likewise.
72881         (test_exceptions): Handle FE_OVERFLOW.
72882         (exp10_test): Expect overflow exceptions.
72883         (exp2_test): Likewise.
72884         (expm1_test): Likewise.
72885         (nextafter_test): Likewise.
72886         (pow_test): Likewise.
72887         (scalbn_test): Likewise.
72888         (scalbln_test): Likewise.
72890 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72892         * sysdeps/x86_64/bits/atomic.h
72893         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
72894         64bit integer.
72895         (atomic_exchange_acq): Likewise.
72896         (__arch_exchange_and_add_body): Likewise.
72897         (__arch_add_body): Likewise.
72898         (atomic_add_negative): Likewise.
72899         (atomic_add_zero): Likewise.
72901 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72903         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
72904         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
72906 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72908         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
72909         Check __x86_64__ instead of __WORDSIZE.
72911 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72913         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
72915 2012-03-19  David S. Miller  <davem@davemloft.net>
72917         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72919         * sysdeps/sparc/fpu/fenv_private.h: New file.
72920         * sysdeps/sparc/fpu/math_private.h: Use it.
72921         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
72922         Remove.
72923         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
72924         (libc_feholdexcept_setroundl): Remove.
72925         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
72926         Remove.
72927         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
72928         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
72930 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72932         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
72933         int64_t instead of long int.
72934         (INSERT_WORDS64): Likwise.
72936 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72938         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
72939         _Unwind_GetCFA return to _Unwind_Ptr first.
72941 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
72943         [BZ #13629]
72944         * math/s_clog.c: Include <float.h>.
72945         (__clog): Scale large or subnormal inputs.
72946         * math/s_clogf.c: Likewise.
72947         * math/s_clogl.c: Likewise.
72948         * math/s_clog10.c: Include <float.h>.
72949         (M_LOG10_2): Define.
72950         (__clog10): Scale large or subnormal inputs.
72951         * math/s_clog10f.c: Likewise.
72952         * math/s_clog10l.c: Likewise.
72953         * math/libm-test.inc (clog_test): Add more tests.
72954         (clog10_test): Likewise.
72955         * sysdeps/i386/fpu/libm-test-ulps: Update.
72956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72958         [BZ #11451]
72959         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
72960         x and y.
72961         * math/libm-test.inc (atan2_test): Add another test.
72963         * Makerules (common-objdir-compile): Remove.
72964         * sysdeps/unix/Makefile (config-generated): Do not add
72965         $(unix-generated) to variable.
72966         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
72967         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
72968         Remove rule.
72969         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
72970         Likewise.
72971         [generic bits/local_lim.h] (before-compile): Do not append to
72972         variable.
72973         [generic bits/local_lim.h] (common-generated): Likewise.
72974         [generic sys/param.h] (before-compile): Do not append to variable.
72975         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
72976         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
72977         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
72978         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
72979         include.
72980         [generic sys/param.h] (sys/param.h-includes): Remove variable.
72981         [generic sys/param.h] (sys/param.h-includes): Remove rule.
72982         [generic sys/param.h] ($(addprefix
72983         $(common-objpfx),$(sys/param.h-includes))): Likewise.
72984         [generic sys/param.h] (common-generated): Do not append to
72985         variable.
72986         [generic sys/param.h] (sysdep_headers): Likewise.
72987         [generic bits/errno.h] (before-compile): Do not append to
72988         variable.
72989         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
72990         rule.
72991         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
72992         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
72993         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
72994         [generic bits/errno.h] (common-generated): Do not append to
72995         variable.
72996         [generic bits/ioctls.h] (before-compile): Do not append to
72997         variable.
72998         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
72999         rule.
73000         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
73001         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
73002         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
73003         rule.
73004         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
73005         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
73006         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
73007         [generic bits/ioctls.h] (common-generated): Do not append to
73008         variable.
73009         [generic sys/syscall.h] (syscall.h): Remove variable.
73010         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
73011         rule.
73012         [generic sys/syscall.h] (before-compile): Do not append to
73013         variable.
73014         [generic sys/syscall.h] (common-generated): Likewise.
73015         * sysdeps/unix/errnos-tmpl.c: Remove file.
73016         * sysdeps/unix/errnos.awk: Likewise.
73017         * sysdeps/unix/ioctls-tmpl.c: Likewise.
73018         * sysdeps/unix/ioctls.awk: Likewise.
73019         * sysdeps/unix/mk-local_lim.c: Likewise.
73020         * sysdeps/unix/snarf-ioctls: Likewise.
73022 2012-03-19  Richard Henderson  <rth@twiddle.net>
73024         * sysdeps/i386/fpu/fenv_private.h: New file.
73025         * sysdeps/i386/fpu/math_private.h: Use it.
73026         (math_opt_barrier, math_force_eval): Remove.
73027         (libc_feholdexcept_setround_53bit): Remove.
73028         (libc_feupdateenv_53bit): Remove.
73029         * sysdeps/x86_64/fpu/math_private.h: Likewise.
73030         (math_opt_barrier, math_force_eval): Remove.
73031         (libc_feholdexcept): Remove.
73032         (libc_feholdexcept_setround): Remove.
73033         (libc_fetestexcept, libc_fesetenv): Remove.
73034         (libc_feupdateenv_test): Remove.
73035         (libc_feupdateenv, libc_feholdsetround): Remove.
73036         (libc_feresetround): Remove.
73038         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
73039         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
73041         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
73042         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
73043         (libc_feupdateenv_testl): New.
73044         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
73045         (libc_feupdateenv_testf): New.
73046         (libc_feupdateenv): Use libc_feupdateenv_test.
73047         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
73048         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
73050         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
73051         (libc_feholdsetroundf, libc_feholdsetroundl): New.
73052         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
73053         (libc_feresetround_noex): New.
73054         (libc_feresetround_noexf): New.
73055         (libc_feresetround_noexl): New.
73056         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
73057         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
73058         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
73059         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
73060         SET_RESTORE_ROUND.
73061         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
73062         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
73063         (__cos): Likewise.
73064         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
73065         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
73066         SET_RESTORE_ROUND_NOEX.
73067         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
73068         SET_RESTORE_ROUND_NOEXF.
73069         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
73070         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
73071         (libc_feholdsetroundf): New.
73072         (libc_feresetround, libc_feresetroundf): New.
73074         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
73075         (libc_feholdexcept_setround_53bit): Convert from macro to function.
73076         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
73078         * sysdeps/generic/math_private.h: Include <fenv.h>.
73079         (default_libc_feholdexcept): New.
73080         (default_libc_feholdexcept_setround): New.
73081         (default_libc_fesetenv, default_libc_feupdateenv): New.
73082         (libc_feholdexcept): Only define if undefined.
73083         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
73084         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
73085         (libc_feholdexcept_setroundl): Likewise.
73086         (libc_feholdexcept_setround_53bit): Likewise.
73087         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
73088         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
73089         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
73090         (libc_feupdateenv_53bit): Likewise.
73091         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
73092         (libc_feholdexcept): Convert from macro to inline function.
73093         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
73094         (libc_fesetenv, libc_feupdateenv): Likewise.
73096         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
73097         not previously defined.
73098         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
73099         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
73100         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
73101         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
73102         * sysdeps/ieee754/flt-32/math_private.h: New file.
73103         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
73104         math_private.h below SET_FLOAT_WORD.
73105         (__isnan, __isinf_ns, __finite): Remove.
73106         (__isnanf, __isinf_nsf, __finitef): Remove.
73108 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
73110         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73112 2012-03-17  David S. Miller  <davem@davemloft.net>
73114         [BZ #6471]
73115         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
73116         for 2.16.
73118 2012-03-16  David S. Miller  <davem@davemloft.net>
73120         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
73121         warnings.
73123         [BZ #6471]
73124         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
73125         properly.
73126         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
73127         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
73128         sysdep_routines when subdir is sysvipc.
73129         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
73130         __getshmlba helper.
73132         * sysdeps/sparc/fpu/libm-test/ulps: Update.
73134 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
73136         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
73137         [__LP64__].
73139 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
73141         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
73142         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
73143         (__lround): Renamed to ...
73144         (__llround): This.  Replace long int with long long int.
73145         Define lround functions as aliases of llround functions.
73146         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
73148 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
73150         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
73151         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
73152         adresses to uintptr_t.  Replace "long int" and "unsigned long
73153         int" with "greg_t" on va_arg.
73155 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
73157         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
73158         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
73160         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
73161         Move e_machine check before EI_CLASS check.  Handle x32
73162         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
73163         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
73164         SKIP_EM_IA_64 and include
73165         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
73167         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
73168         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
73169         (add_system_dir): New macro.
73171         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
73172         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
73174 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
73176         [BZ #2551]
73177         [BZ #2552]
73178         [BZ #2553]
73179         [BZ #2554]
73180         [BZ #2562]
73181         [BZ #2563]
73182         [BZ #2565]
73183         [BZ #2566]
73184         [BZ #2576]
73185         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
73186         (y0): Likewise.
73187         * math/w_j0f.c (j0f): Likewise.
73188         (y0f): Likewise.
73189         * math/w_j0l.c (__j0l): Likewise.
73190         (__y0l): Likewise.
73191         * math/w_j1.c (j1): Likewise.
73192         (y1): Likewise.
73193         * math/w_j1f.c (j1f): Likewise.
73194         (y1f): Likewise.
73195         * math/w_j1l.c (__j1l): Likewise.
73196         (__y1l): Likewise.
73197         * math/w_jn.c (jn): Likewise.
73198         (yn): Likewise.
73199         * math/w_jnf.c (jnf): Likewise.
73200         (ynf): Likewise.
73201         * math/w_jnl.c (__jnl): Likewise.
73202         (__ynl): Likewise.
73203         * math/libm-test.inc (j0_test): Add more tests.
73204         (j1_test): Likewise.
73205         (jn_test): Likewise.  Add trailing semicolon to existing test.
73206         (y0_test): Likewise.
73207         (y1_test): Likewise.
73208         * sysdeps/i386/fpu/libm-test-ulps: Update.
73209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73211         [BZ #13851]
73212         [BZ #13854]
73213         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
73214         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
73215         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
73216         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
73217         (__tanl): Set errno for infinite argument.
73218         * sysdeps/i386/fpu/mptan.c: Remove.
73219         * sysdeps/i386/fpu/s_tan.S: Likewise.
73220         * sysdeps/i386/fpu/s_tanl.S: Likewise.
73221         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
73222         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
73223         * math/libm-test.inc (tan_test): Add more tests and enable more
73224         tests for double and long double.
73225         * sysdeps/i386/fpu/libm-test-ulps: Update.
73226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73228 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
73230         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
73231         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
73233 2012-03-16  Roland McGrath  <roland@hack.frob.com>
73235         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
73236         * configure.in: Use it for both main tree and add-ons.
73237         * configure: Regenerated.
73239 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
73241         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
73243 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
73245         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
73246         in comment.
73248         [BZ #13851]
73249         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
73250         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
73251         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
73252         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
73253         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
73254         infinite argument.
73255         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
73256         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
73257         != 0 for prec == 2.
73258         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
73259         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
73260         * sysdeps/i386/fpu/s_cosl.S: Likewise.
73261         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
73262         * sysdeps/i386/fpu/s_sinl.S: Likewise.
73263         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
73264         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
73265         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
73266         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
73267         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
73268         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
73269         * math/libm-test.inc (cos_test): Add more tests and enable more
73270         tests for long double.
73271         (sin_test): Likewise.
73272         (sincos_test): Likewise.
73273         * sysdeps/i386/fpu/libm-test-ulps: Update.
73274         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73276 2012-03-16  David S. Miller  <davem@davemloft.net>
73278         * sysdeps/sparc/fpu/math_private.h: New file.
73280 2012-03-15  David S. Miller  <davem@davemloft.net>
73282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
73283         file.
73284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
73285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
73286         file.
73287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
73288         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
73289         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
73290         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
73291         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
73292         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
73293         sysdep routines.
73294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
73296         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
73297         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
73299         * sysdeps/sparc/sparc-ifunc.h: New file.
73300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
73301         sparc-ifunc.h
73302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
73303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
73304         Likewise.
73305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
73306         Likewise.
73307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
73308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
73309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
73310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
73311         Likewise.
73312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
73313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
73314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
73315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
73316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
73317         Likewise.
73318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
73319         Likewise.
73320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
73321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
73322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
73323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
73324         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
73325         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
73326         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
73327         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
73328         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
73329         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
73330         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
73331         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
73332         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
73333         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
73334         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
73335         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
73336         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
73337         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
73338         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
73339         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
73340         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
73341         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
73342         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
73343         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
73345 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
73347         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
73348         scaling.
73349         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73351 2012-03-15  Andreas Jaeger  <aj@suse.de>
73353         [BZ #13852]
73354         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
73355         ieee754/flt-32 implementation for sin, cos and sincos.
73356         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
73357         * sysdeps/i386/fpu/s_cosf.S: Likewise.
73358         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
73359         * sysdeps/i386/fpu/s_sinf.S: Likewise.
73360         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
73361         ieee754/flt-32 implementation for tan.
73363         * math/libm-test.inc (cos_test): Enable some large input tests for
73364         float as well
73365         (sin_test): Likewise.
73366         (sincos_test): Likewise.
73367         (tan_test): Add tests for large input.
73369         * sysdeps/i386/fpu/libm-test-ulps: Update.
73371 2012-03-15  Andreas Jaeger  <aj@suse.de>
73373         [BZ #13658]
73374         * math/libm-test.inc (cos_test): Add more test cases.
73375         (sin_test): Likewise.
73376         (sincos_test): Likewise.
73378 2012-03-15  Andreas Jaeger  <aj@suse.de>
73380         [BZ #13837]
73381         * math/libm-test.inc (cos_test): Add a test case for large input
73382         value.
73383         (sin_test): Likewise.
73384         (sincos_test): Likewise.
73386 2012-03-15  Andreas Jaeger  <aj@suse.de>
73387             Joseph Myers  <joseph@codesourcery.com>
73389         [BZ #13658]
73390         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
73391         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
73392         * sysdeps/i386/fpu/branred.c: Likewise.
73393         * sysdeps/i386/fpu/dosincos.c: Likewise.
73394         * sysdeps/i386/fpu/mpa.c: Likewise.
73395         * sysdeps/i386/fpu/s_cos.S: Likewise.
73396         * sysdeps/i386/fpu/s_sin.S: Likewise.
73397         * sysdeps/i386/fpu/s_sincos.S: Likewise.
73398         * sysdeps/i386/fpu/sincos32.c: Likewise.
73400         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
73401         Define.
73402         (libc_feupdateenv_53bit): Define.
73403         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
73404         Define.
73405         (libc_feupdateenv_53bit): Define.
73407         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
73408         53 bit (without extend i386 double precision).
73410         * math/libm-test.inc (sincos_test): Add tests for large input.
73411         (sin): Likewise.
73412         (cos): Likewise.
73414         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
73416 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
73418         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73420 2012-03-15  David S. Miller  <davem@davemloft.net>
73422         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
73423         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
73424         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
73425         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
73426         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
73427         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
73428         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
73429         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
73430         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
73431         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
73432         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
73433         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
73434         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
73435         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
73436         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
73437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
73438         file.
73439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
73440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
73441         file.
73442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
73443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
73444         file.
73445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
73446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
73447         file.
73448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
73449         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
73450         fmin/fmax sysdep routines.
73451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
73453 2012-03-14  David S. Miller  <davem@davemloft.net>
73455         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
73456         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
73457         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
73458         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
73459         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
73460         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
73461         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
73462         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
73463         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
73464         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
73465         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
73466         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
73467         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
73468         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
73469         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
73470         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
73471         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
73472         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
73473         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
73474         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
73475         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
73476         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
73477         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
73478         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
73479         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
73480         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
73481         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
73482         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
73483         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
73484         routines.
73485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
73486         file.
73487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
73488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
73489         file.
73490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
73491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
73492         file.
73493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
73494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
73495         file.
73496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
73497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
73498         file.
73499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
73500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
73501         file.
73502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
73503         file.
73504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
73505         file.
73506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
73507         file.
73508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
73509         New file.
73510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
73511         file.
73512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
73513         file.
73514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
73515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
73516         file.
73517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
73518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
73519         file.
73520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
73521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
73522         file.
73523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
73524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
73525         VIS3 routines.
73527         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
73528         New file.
73530         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73532         * sysdeps/sparc/configure.in: New file.
73533         * sysdeps/sparc/configure: Generate.
73534         * configure.in (libc_cv_sparc_as_vis3): Substitute.
73535         * configure: Regenerate.
73536         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
73537         * config.make.in (have-as-vis3): New.
73538         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
73539         available use -Av9d instead of -Av9a.
73540         * sysdeps/sparc/sparc64/Makefile: Likewise.
73541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
73542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
73543         New file.
73544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
73545         file.
73546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
73547         New file.
73548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
73549         file.
73550         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
73551         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
73552         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
73553         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
73554         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
73556         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
73557         fzeros/fnegs to load 0x80000000 into a float register instead of
73558         using the stack.
73559         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
73561 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
73563         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73564         bits/syscall.h.
73565         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
73566         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
73567         ($(inst_includedir)/bits/syscall.h): Remove rule.
73568         ($(objpfx)bits/syscall.d): Include instead of
73569         $(objpfx)syscall-list.d.
73570         (generated): Change syscall-list.h and syscall-list.d to
73571         bits/syscall.h and bits/syscall.d.
73573 2012-03-14  Roland McGrath  <roland@hack.frob.com>
73575         [BZ #13846]
73576         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
73578 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
73580         [BZ #13841]
73581         * math/s_csqrt.c: Include <float.h>.
73582         (__csqrt): Scale large or subnormal inputs.
73583         * math/s_csqrtf.c: Likewise.
73584         * math/s_csqrtl.c: Likewise.
73585         * math/libm-test.inc (csqrt_test): Add more tests.
73586         * sysdeps/i386/fpu/libm-test-ulps: Update.
73587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73589         [BZ #13840]
73590         * math/libm-test.inc (hypot_test): Add more tests.
73592 2012-03-13  David S. Miller  <davem@davemloft.net>
73594         [BZ #13840]
73595         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
73596         double-precision for the calculation instead of scaling.
73598 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
73600         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
73601         manipulate bits before adding and subtracting TWO52[sx].
73602         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
73603         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
73604         Likewise.
73605         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
73607 2012-03-13  David S. Miller  <davem@davemloft.net>
73609         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
73610         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
73611         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
73612         rtld-global-offsets.h
73613         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
73615         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
73616         large parameters.
73618         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
73620         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
73621         'err' in the ifdef scope in which it is actually used.
73623         * nss/nss_db/db-init.c: Include string.h
73625 2012-03-12  David S. Miller  <davem@davemloft.net>
73627         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
73628         masking out of the most significant byte of random value used.
73629         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
73630         Fix coding style in previous change.
73632         * sysdeps/unix/sysv/linux/kernel-features.h
73633         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
73634         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
73635         expression.
73636         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
73637         later.
73639 2012-03-11  David S. Miller  <davem@davemloft.net>
73641         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
73642         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
73643         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
73644         for 'resultvar' otherwise things get truncated on 64-bit.
73646         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
73647         Fix masking out of the most significant byte of random value used.
73649         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73651 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
73653         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73655 2012-03-09  David S. Miller  <davem@davemloft.net>
73657         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
73658         variables with appropriate CPP guards.
73659         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
73660         from the frame pointer, not the stack pointer.  Correct layout
73661         comments.  Fix test on resulting framesize and the management of
73662         the outregs buffer for pltexit.  Preserve floating point return
73663         values across _dl_call_pltexit call.
73664         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
73665         framesize and the management of the outregs buffer for pltexit.
73666         Preserve floating point return values across _dl_call_pltexit
73667         call.
73668         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
73669         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
73670         (la_sparc64_gnu_pltexit): New functions.
73671         (print_exit): Fix format string for return register value.
73673 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
73675         * sunrpc/Makefile (others): Add rpcgen.
73676         ($(objpfx)rpcgen): Remove special build rule and dependency on
73677         libc.
73678         * sunrpc/rpcgen.c: New file.
73680 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
73682         [BZ #13673]
73683         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
73684         * stdio-common/bug-vfprintf-nargs.c: Likewise.
73685         * sysdeps/i386/crti.S: Likewise.
73686         * sysdeps/i386/crtn.S: Likewise.
73687         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
73688         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
73689         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
73690         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
73691         * sysdeps/sh/crti.S: Likewise.
73692         * sysdeps/sh/crtn.S: Likewise.
73693         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
73695         [BZ #13673]
73696         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
73697         with URL.
73698         * locale/programs/locfile-kw.gperf: Likewise.
73699         * locale/programs/charmap-kw.h: Regenerated.
73700         * locale/programs/locfile-kw.h: Likewise.
73702         [BZ #13673]
73703         * intl/plural.y: Replace FSF snail mail address with URL.
73704         * intl/plural.c: Regenerated.
73706 2012-03-09  Richard Henderson  <rth@twiddle.net>
73708         * include/math_private.h: Remove file.
73709         * math/math_private.h: Move file ...
73710         * sysdeps/generic/math_private.h: ... here.
73712         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
73713         * sysdeps/powerpc/fpu/math_private.h: Likewise.
73714         * sysdeps/x86_64/fpu/math_private.h: Likewise.
73716         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
73717         and <math_private.h>.
73718         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
73719         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
73720         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
73721         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
73722         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
73723         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
73724         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
73725         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73726         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
73727         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
73728         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73729         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
73730         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
73731         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73732         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
73733         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
73734         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
73735         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
73736         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
73737         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
73738         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73739         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
73740         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
73741         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73742         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
73743         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
73744         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
73745         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
73746         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73747         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
73748         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
73749         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73750         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
73751         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
73752         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
73753         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
73754         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
73755         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
73756         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
73757         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
73758         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
73759         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
73760         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
73761         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
73762         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
73763         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
73764         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
73765         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
73766         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
73767         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
73768         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
73769         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
73770         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
73771         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
73772         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
73773         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
73774         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
73775         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
73776         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
73777         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
73778         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
73779         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
73780         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73781         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
73782         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
73783         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
73784         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
73785         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
73786         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
73787         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
73788         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
73789         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
73790         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
73791         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
73792         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
73793         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
73794         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
73795         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
73796         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
73797         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
73798         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
73799         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
73800         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
73801         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
73802         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
73803         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
73804         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
73805         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
73806         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
73807         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
73808         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
73809         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
73810         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
73811         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
73812         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
73813         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
73814         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
73815         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
73816         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
73817         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
73818         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
73819         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
73820         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
73821         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
73822         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
73823         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
73824         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
73825         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
73826         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
73827         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
73828         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
73829         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
73830         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
73831         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
73832         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
73833         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
73834         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
73835         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
73836         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
73837         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
73838         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
73839         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
73840         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
73841         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
73842         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
73843         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
73844         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
73845         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
73846         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
73847         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
73848         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
73849         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
73850         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
73851         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
73852         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
73853         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
73854         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
73855         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
73856         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
73857         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
73858         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
73859         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
73860         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
73861         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
73862         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
73863         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
73864         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
73865         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
73866         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
73867         * sysdeps/ieee754/k_standard.c: Likewise.
73868         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
73869         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
73870         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
73871         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
73872         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
73873         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
73874         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
73875         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
73876         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
73877         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
73878         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
73879         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
73880         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
73881         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
73882         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
73883         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
73884         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
73885         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
73886         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
73887         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
73888         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
73889         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
73890         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
73891         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
73892         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
73893         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
73894         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
73895         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
73896         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
73897         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
73898         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
73899         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
73900         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
73901         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
73902         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
73903         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
73904         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
73905         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
73906         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
73907         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
73908         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
73909         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
73910         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
73911         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
73912         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
73913         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
73914         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
73915         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
73916         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
73917         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
73918         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
73919         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
73920         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
73921         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
73922         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
73923         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
73924         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
73925         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
73926         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
73927         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
73928         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
73929         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
73930         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
73931         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
73932         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
73933         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
73934         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
73935         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
73936         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
73937         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
73938         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
73939         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
73940         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
73941         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
73942         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
73943         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
73944         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
73945         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
73946         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
73947         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
73948         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
73949         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
73950         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
73951         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
73952         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
73953         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
73954         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
73955         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
73956         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
73957         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
73958         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
73959         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
73960         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
73961         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
73962         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
73963         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
73964         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
73965         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
73966         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
73967         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
73968         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
73969         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
73970         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
73971         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
73972         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
73973         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
73974         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
73975         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
73976         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
73977         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
73978         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
73979         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
73980         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
73981         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
73982         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
73983         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
73984         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
73985         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
73986         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
73987         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
73988         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
73989         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
73990         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
73991         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
73992         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
73993         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
73994         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
73995         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
73996         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
73997         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
73998         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
73999         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
74000         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
74001         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
74002         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
74003         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
74004         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
74005         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
74006         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
74007         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
74008         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
74009         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
74010         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
74011         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
74012         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
74013         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
74014         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
74015         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
74016         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
74017         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
74018         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
74019         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
74020         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
74021         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
74022         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
74023         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
74024         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
74025         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
74026         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
74027         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
74028         * sysdeps/ieee754/s_lib_version.c: Likewise.
74029         * sysdeps/ieee754/s_matherr.c: Likewise.
74030         * sysdeps/ieee754/s_signgam.c: Likewise.
74031         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
74032         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
74033         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
74034         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
74035         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
74036         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
74037         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
74038         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
74039         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
74040         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
74041         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
74042         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
74043         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
74044         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
74045         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
74046         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
74047         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
74048         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
74049         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
74050         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
74051         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
74053 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
74055         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
74056         * sunrpc/rpc_main.c: Likewise.
74057         * sunrpc/rpc_svcout.c: Likewise.
74059 2012-03-09  David S. Miller  <davem@davemloft.net>
74061         * include/math_private.h: New file.
74063 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
74065         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
74066         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
74067         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
74068         from <bits/socket_type.h>.
74069         (enum __socket_type): Don't define here.
74070         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
74071         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74072         bits/socket_type.h.
74074         [BZ #13566]
74075         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
74076         checking __USE_GNU.
74078         * Makerules ($(inst_includedir)/%.h): New rule.
74079         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
74080         (install-others): Remove variable setting.
74081         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
74083 2012-03-08  Richard Henderson  <rth@twiddle.net>
74085         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
74086         from macro to inline function; merge with the
74087         !__LIBC_INTERNAL_MATH_INLINES version.
74088         (__ieee754_sqrtf): Likewise.
74090         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
74091         to inline function.
74092         (__rintf, __floor, __floorf): Likewise.
74094         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
74095         macro to inline function.
74096         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
74098         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
74099         not <math/math_private.h>.
74101 2012-03-08  David S. Miller  <davem@davemloft.net>
74103         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
74104         copyright year.
74105         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
74107 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
74109         * resolv/gai_misc.c (handle_requests): Fix struct timespec
74110         normalization.
74111         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
74112         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
74114 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
74116         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
74117         be defined individually, they must be defined as a block.  Define
74118         S for printing a string instead of hidint the different by using a
74119         macro for adding the 'l'.
74120         * stdio-common/tst-fphex-wide.c: Adjust.
74122 2012-03-07  Marek Polacek  <polacek@redhat.com>
74124         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
74126 2012-03-08  Marek Polacek  <polacek@redhat.com>
74128         [BZ #13806]
74129         * stdio-common/Makefile (tests): Add tst-fphex-wide.
74130         * stdio-common/tst-fphex.c: Define a few macros to make the
74131         test reusable.  Use them.
74132         * stdio-common/tst-fphex-wide.c: New file.
74134 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
74136         [BZ #6911]
74137         * manual/macros.texi (gnusystems): New macro.
74138         (nongnusystems): Likewise.
74139         (gnulinuxhurdsystems): Likewise.
74140         (gnuhurdsystems): Likewise..
74141         (gnulinuxsystems): Likewise.
74142         * manual/charset.texi: Use new macros or @theglibc{} to refer to
74143         variants of the GNU system, not "GNU system".
74144         * manual/conf.texi: Likewise.
74145         * manual/errno.texi: Likewise.  Update example of errno macro
74146         expansion.
74147         * manual/filesys.texi: Likewise.
74148         (getumask): Document as specific to GNU/Hurd.
74149         * manual/install.texi: Likewise.  Reword some references to
74150         GNU/Linux.
74151         * manual/intro.texi: Likewise.
74152         * manual/io.texi: Likewise.
74153         (File Name Portability): Detail which constraints are inapplicable
74154         to all GNU systems and which are only inapplicable to GNU/Hurd.
74155         * manual/job.texi: Likewise.
74156         * manual/llio.texi: Likewise.
74157         (O_NOCTTY): Document as present on GNU/Linux.
74158         * manual/maint.texi: Likewise.
74159         * manual/memory.texi: Likewise.
74160         * manual/pattern.texi: Likewise.
74161         * manual/pipe.texi: Likewise.
74162         * manual/process.texi: Likewise.
74163         * manual/resource.texi: Likewise.
74164         (RUSAGE_CHILDREN): Remove statement about specifying a particular
74165         child on GNU/Hurd.
74166         * manual/setjmp.texi: Likewise.
74167         * manual/signal.texi: Likewise.
74168         * manual/startup.texi: Likewise.
74169         * manual/stdio.texi: Likewise.
74170         * manual/terminal.texi: Likewise.
74171         (ONLCR): Document as POSIX.
74172         (OXTABS): Document availability on GNU/Linux as XTABS.
74173         (ONOEOT): Document availability separately from other bits.
74174         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
74175         * manual/time.texi: Likewise.
74176         * manual/users.texi: Likewise.
74177         * INSTALL: Regenerated.
74178         * sysdeps/gnu/errlist.c: Regenerated.
74180         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
74181         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
74182         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
74183         puts.
74184         * configure: Regenerated.
74186 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
74188         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
74189         default includes instead of AC_HEADER_CHECK.
74190         * sysdeps/i386/configure: Regenerated.
74192         [BZ #10716]
74193         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
74194         * math/s_cacoshf.c (__cacoshf): Likewise.
74195         * math/s_cacoshl.c (__cacoshl): Likewise.
74196         * math/s_casinh.c (__casinh): Set signs of result from argument.
74197         * math/s_casinhf.c (__casinhf): Likewise.
74198         * math/s_casinhl.c (__casinhl): Likewise.
74199         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
74200         (casinh_test): Add more tests.
74201         * sysdeps/i386/fpu/libm-test-ulps: Update.
74202         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74204 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
74206         * po/zh_TW.po: Update from translation team.
74208         * login/Makefile (distribute): Remove variable.
74209         * catgets/Makefile: Likewise.
74210         * mach/Makefile: Likewise.
74211         * malloc/Makefile: Likewise.
74212         * misc/Makefile: Likewise.
74213         * iconv/Makefile: Likewise.
74214         * nscd/Makefile: Likewise.
74215         * hurd/Makefile: Likewise.
74216         * manual/Makefile: Likewise.
74217         * locale/Makefile: Likewise.
74218         * intl/Makefile: Likewise.
74219         * conform/Makefile: Likewise.
74220         * nss/Makefile: Likewise.
74221         * time/Makefile: Likewise.
74222         * soft-fp/Makefile: Likewise.
74223         * dirent/Makefile: Likewise.
74224         * gmon/Makefile: Likewise.
74225         * po/Makefile: Likewise.
74226         * rt/Makefile: Likewise.
74227         * socket/Makefile: Likewise.
74228         * math/Makefile: Likewise.
74229         * signal/Makefile: Likewise.
74230         * debug/Makefile: Likewise.
74231         * elf/Makefile: Likewise.
74232         * timezone/Makefile: Likewise.
74233         * stdlib/Makefile: Likewise.
74234         * iconvdata/Makefile: Likewise.
74235         * sunrpc/Makefile: Likewise.
74236         * io/Makefile: Likewise.
74237         * argp/Makefile: Likewise.
74238         * inet/Makefile: Likewise.
74239         * hesiod/Makefile: Likewise.
74240         * grp/Makefile: Likewise.
74241         * csu/Makefile: Likewise.
74242         * wctype/Makefile: Likewise.
74243         * crypt/Makefile: Likewise.
74244         * libio/Makefile: Likewise.
74245         * string/Makefile: Likewise.
74246         * nis/Makefile: Likewise.
74247         * resolv/Makefile: Likewise.
74248         * stdio-common/Makefile: Likewise.
74249         * wcsmbs/Makefile: Likewise.
74250         * dlfcn/Makefile: Likewise.
74251         * posix/Makefile: Likewise.
74253         [BZ #6959]
74254         * timezone/Makefile: Don't install timezone files, just the programs
74255         and scripts.
74257 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
74259         * nss/databases.def: Add missing gshadow entry.
74261         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
74263 2012-03-06  Marek Polacek  <polacek@redhat.com>
74265         [BZ #13726]
74266         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
74267         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
74268         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
74269         * stdio-common/tst-long-dbl-fphex.c: New file.
74271 2012-03-06  David S. Miller  <davem@davemloft.net>
74273         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
74274         (set_obp_int): New function.
74275         (get_obp_int): New function.
74276         (__get_clockfreq_via_dev_openprom): Likewise.
74277         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
74278         Avoid unused variable warnings on 'val' and use builtin_expect.
74279         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
74280         __builtin_expect.
74281         (INLINE_CLONE_SYSCALL): Likewise.
74283 2012-03-05  David S. Miller  <davem@davemloft.net>
74285         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74287 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
74289         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74291         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
74292         only for |x| >= 40.
74293         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
74295 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
74297         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
74298         Replace gettimeofday with __vdso_gettimeofday.
74300         * sysdeps/unix/sysv/linux/x86_64/init-first.c
74301         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
74302         __vdso_clock_gettime and __vdso_getcpu.
74304         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
74305         time with __vdso_time.
74307 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
74309         * manual/lang.texi (size_t): Note types to which size_t may be
74310         equivalent with the GNU C Library, but do not describe when
74311         differences between them are significant.
74313 2012-03-05  Andreas Jaeger  <aj@suse.de>
74315         * sysdeps/i386/fpu/libm-test-ulps: Update.
74317 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
74319         [BZ #3976]
74320         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
74321         (__ieee754_pow): Save and restore rounding mode and use
74322         round-to-nearest for main computations.
74323         * math/libm-test.inc (pow_test_tonearest): New function.
74324         (pow_test_towardzero): Likewise.
74325         (pow_test_downward): Likewise.
74326         (pow_test_upward): Likewise.
74327         (main): Call the new functions.
74328         * sysdeps/i386/fpu/libm-test-ulps: Update.
74329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74331         [BZ #3976]
74332         * math/libm-test.inc (cosh_test_tonearest): New function.
74333         (cosh_test_towardzero): Likewise.
74334         (cosh_test_downward): Likewise.
74335         (cosh_test_upward): Likewise.
74336         (sinh_test_tonearest): Likewise.
74337         (sinh_test_towardzero): Likewise.
74338         (sinh_test_downward): Likewise.
74339         (sinh_test_upward): Likewise.
74340         (main): Call the new functions.
74341         * sysdeps/i386/fpu/libm-test-ulps: Update.
74342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74344 2012-03-05  Tom de Vries  <tom@codesourcery.com>
74346         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
74347         default stack guard is set in last bytes.
74348         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
74350 2012-03-05  Kees Cook  <keescook@chromium.org>
74352         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
74354         [BZ #13656]
74355         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
74356         possibly allocate from heap instead of stack.
74357         * stdio-common/bug-vfprintf-nargs.c: New file.
74358         * stdio-common/Makefile (tests): Add nargs overflow test.
74360 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
74362         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74364 2012-03-03  Marek Polacek  <polacek@redhat.com>
74366         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
74367         * math/math_private.h: Likewise.
74368         * stdlib/tst-strtod.c: Likewise.
74369         * sysdeps/i386/i486/bits/atomic.h: Likewise.
74370         * sysdeps/x86_64/bits/atomic.h: Likewise.
74372 2012-03-02  David S. Miller  <davem@davemloft.net>
74374         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
74375         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
74376         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
74377         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
74378         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
74379         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
74380         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
74381         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
74383 2012-03-02  Roland McGrath  <roland@hack.frob.com>
74385         [BZ #13792]
74386         * manual/examples/README: New file, says the example source files
74387         can be used under GPL>=2.
74388         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
74389         line containing just "*/".
74390         * manual/examples/add.c: Add copyright header (GPL>=2).
74391         * manual/examples/argp-ex1.c: Likewise.
74392         * manual/examples/argp-ex2.c: Likewise.
74393         * manual/examples/argp-ex3.c: Likewise.
74394         * manual/examples/argp-ex4.c: Likewise.
74395         * manual/examples/atexit.c: Likewise.
74396         * manual/examples/db.c: Likewise.
74397         * manual/examples/dir.c: Likewise.
74398         * manual/examples/dir2.c: Likewise.
74399         * manual/examples/execinfo.c: Likewise.
74400         * manual/examples/filecli.c: Likewise.
74401         * manual/examples/filesrv.c: Likewise.
74402         * manual/examples/fmtmsgexpl.c: Likewise.
74403         * manual/examples/genpass.c: Likewise.
74404         * manual/examples/inetcli.c: Likewise.
74405         * manual/examples/inetsrv.c: Likewise.
74406         * manual/examples/isockad.c: Likewise.
74407         * manual/examples/longopt.c: Likewise.
74408         * manual/examples/memopen.c: Likewise.
74409         * manual/examples/memstrm.c: Likewise.
74410         * manual/examples/mkfsock.c: Likewise.
74411         * manual/examples/mkisock.c: Likewise.
74412         * manual/examples/mygetpass.c: Likewise.
74413         * manual/examples/pipe.c: Likewise.
74414         * manual/examples/popen.c: Likewise.
74415         * manual/examples/rprintf.c: Likewise.
74416         * manual/examples/search.c: Likewise.
74417         * manual/examples/select.c: Likewise.
74418         * manual/examples/setjmp.c: Likewise.
74419         * manual/examples/sigh1.c: Likewise.
74420         * manual/examples/sigusr.c: Likewise.
74421         * manual/examples/stpcpy.c: Likewise.
74422         * manual/examples/strdupa.c: Likewise.
74423         * manual/examples/strftim.c: Likewise.
74424         * manual/examples/strncat.c: Likewise.
74425         * manual/examples/subopt.c: Likewise.
74426         * manual/examples/swapcontext.c: Likewise.
74427         * manual/examples/termios.c: Likewise.
74428         * manual/examples/testopt.c: Likewise.
74429         * manual/examples/testpass.c: Likewise.
74430         * manual/examples/timeval_subtract.c: Likewise.
74432         [BZ #13792]
74433         * manual/time.texi (Elapsed Time): Move timeval_subtract example
74434         function to ...
74435         * manual/timeval_subtract.c.texi: ... here, new file.
74437 2012-03-02  David S. Miller  <davem@davemloft.net>
74439         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
74441 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
74443         [BZ #3976]
74444         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
74445         (__sin): Save and restore rounding mode and use round-to-nearest
74446         for all computations.
74447         (__cos): Save and restore rounding mode and use round-to-nearest
74448         for all computations.
74449         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
74450         <fenv.h>.
74451         (tan): Save and restore rounding mode and use round-to-nearest for
74452         all computations.
74453         * math/libm-test.inc (cos_test_tonearest): New function.
74454         (cos_test_towardzero): Likewise.
74455         (cos_test_downward): Likewise.
74456         (cos_test_upward): Likewise.
74457         (sin_test_tonearest): Likewise.
74458         (sin_test_towardzero): Likewise.
74459         (sin_test_downward): Likewise.
74460         (sin_test_upward): Likewise.
74461         (tan_test_tonearest): Likewise.
74462         (tan_test_towardzero): Likewise.
74463         (tan_test_downward): Likewise.
74464         (tan_test_upward): Likewise.
74465         (main): Call the new functions.
74466         * sysdeps/i386/fpu/libm-test-ulps: Update.
74467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74469         [BZ #10135]
74470         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
74471         small n, then large n, before computing and testing k+n.
74472         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
74473         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
74474         Likewise.
74475         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
74476         Likewise.
74477         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
74478         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
74479         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
74480         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
74481         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
74482         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
74483         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
74484         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
74485         * math/libm-test.inc (scalbn_test): Add more tests.
74486         (scalbln_test): Likewise.
74488         * manual/filesys.texi (mode_t): Describe constraints on size and
74489         signedness, not exact equivalence to a particular type.
74490         (ino_t): Likewise.
74491         (ino64_t): Likewise.
74492         (dev_t): Likewise.
74493         (nlink_t): Likewise.
74494         (blkcnt_t): Likewise.
74495         (blkcnt64_t): Likewise.
74496         * manual/llio.texi (off_t): Likewise.
74498         [BZ #3976]
74499         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
74500         (__ieee754_exp): Save and restore rounding mode and use
74501         round-to-nearest for all computations.
74502         * math/libm-test.inc (exp_test_tonearest): New function.
74503         (exp_test_towardzero): Likewise.
74504         (exp_test_downward): Likewise.
74505         (exp_test_upward): Likewise.
74506         (main): Call the new functions.
74507         * sysdeps/i386/fpu/libm-test-ulps: Update.
74508         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74510 2012-03-01  Chris Demetriou  <cgd@google.com>
74512         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
74513         have predictable order.
74515 2012-03-01  David S. Miller  <davem@davemloft.net>
74517         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
74519         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
74520         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
74521         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
74522         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
74524         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
74525         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
74526         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
74527         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
74528         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
74529         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
74530         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
74531         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
74532         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
74534         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74536         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
74537         * sysdeps/sparc/fpu/libm-test-ulps: to here.
74538         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
74540         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
74541         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
74542         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
74543         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
74544         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
74545         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
74546         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
74547         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
74548         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
74549         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
74550         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
74551         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
74552         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
74553         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
74554         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
74555         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
74556         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
74557         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
74558         * sysdeps/sparc/elf/configure: Regenerated.
74560 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
74562         * configure.in (AS, LD): Require binutils 2.20 or later.
74563         * configure: Regenerated.
74564         * manual/install.texi (Tools for Compilation): Give binutils 2.20
74565         as required minimum version.
74566         * INSTALL: Regenerated.
74568         [BZ #2541]
74569         [BZ #4108]
74570         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
74571         before squaring exponent.
74572         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
74573         bottom long double and 27 bits of top long double before squaring
74574         exponent.
74575         * math/libm-test.inc (erfc_test): Add more tests.
74576         * sysdeps/i386/fpu/libm-test-ulps: Update.
74577         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
74578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74580 2012-03-01  Kai Tietz  <ktietz@redhat.com>
74582         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
74583         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
74584         containing bit-fields.
74585         * soft-fp/extended.h (_FP_UNION_E): Likewise.
74586         * soft-fp/single.h (_FP_UNION_S): Likewise.
74587         * soft-fp/double.h (_FP_UNION_D): Likewise.
74589 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
74591         [BZ #13786]
74592         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
74593         not include ../strcmp.S.
74594         [USE_AS_STRNCASECMP_L]: Likewise.
74595         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
74596         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
74597         * sysdeps/i386/i686/multiarch/strncase_l-c.c
74598         (__strncasecmp_l_ia32): Define as alias to
74599         __strncasecmp_l_nonascii.
74601         [BZ #5794]
74602         * math/libm-test.inc (expm1_test): Add test for bug 5794.
74603         * sysdeps/i386/fpu/libm-test-ulps: Update.
74604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74606         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
74607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74609 2012-02-29  Jeff Law  <law@redhat.com>
74611         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
74612         out of bounds read.
74614 2012-02-29  Marek Polacek  <polacek@redhat.com>
74616         [BZ #13706]
74617         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
74618         * elf/Makefile: Add rules to run tst-unused-dep.out.
74620 2012-02-28  David S. Miller  <davem@davemloft.net>
74622         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
74623         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
74624         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
74625         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
74626         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
74627         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
74629 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
74631         * math/libm-test.inc (llround_test): Move one test from
74632         lround_test.  Use TEST_f_L in moved test.
74633         (lround_test): Move misplaced test to llround_test.  Add testcase
74634         from bug 2561.
74636 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
74638         * sysdeps/x86_64/fpu/e_expf.S: New file.
74639         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
74641 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
74643         [BZ #13637]
74644         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
74645         of remain_len that may cause incomplete multi-byte character and
74646         false match.
74647         * posix/bug-regex33.c: New file.
74648         * posix/Makefile (tests): Add bug-regex33.
74650 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
74652         * manual/macros.texi: New file.
74653         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
74654         * manual/libc.texinfo: Include macros.texi.
74655         * manual/creatute.texi: Likewise.
74656         * manual/install.texi: Likewise.
74657         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
74658         @glibcadj{} in references to the GNU C Library.
74659         * manual/charset.texi: Likewise.
74660         * manual/conf.texi: Likewise.
74661         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
74662         when not using those macros.
74663         * manual/creature.texi: Likewise.
74664         * manual/crypt.texi: Likewise.
74665         * manual/errno.texi: Likewise.
74666         * manual/filesys.texi: Likewise.
74667         * manual/header.texi: Likewise.
74668         * manual/install.texi: Likewise.
74669         * manual/intro.texi: Likewise.
74670         * manual/io.texi: Likewise.
74671         * manual/job.texi: Likewise.
74672         * manual/lang.texi: Likewise.
74673         * manual/libc.texiinfo: Likewise.
74674         * manual/llio.texi: Likewise.
74675         * manual/locale.texi: Likewise.
74676         * manual/maint.texi: Likewise.
74677         * manual/math.texi: Likewise.
74678         * manual/memory.texi: Likewise.
74679         * manual/message.texi: Likewise.
74680         * manual/nss.texi: Likewise.
74681         * manual/pattern.texi: Likewise.
74682         * manual/process.texi: Likewise.
74683         * manual/resource.texi: Likewise.
74684         * manual/search.texi: Likewise.
74685         * manual/setjmp.texi: Likewise.
74686         * manual/signal.texi: Likewise.
74687         * manual/socket.texi: Likewise.
74688         * manual/startup.texi: Likewise.
74689         * manual/stdio.texi: Likewise.
74690         * manual/string.texi: Likewise.
74691         * manual/sysinfo.texi: Likewise.
74692         * manual/syslog.texi: Likewise.
74693         * manual/terminal.texi: Likewise.
74694         * manual/time.texi: Likewise.
74695         * manual/users.texi: Likewise.
74696         * INSTALL: Regenerated.
74697         * NOTES: Regenerated.
74698         * sysdeps/gnu/errlist.c: Regenerated.
74700 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
74702         * include/dirent.h: Include <dirstream.h> before
74703         <dirent/dirent.h>.
74705 2012-02-28  David S. Miller  <davem@davemloft.net>
74707         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
74708         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
74709         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
74710         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
74712 2012-02-27  David S. Miller  <davem@davemloft.net>
74714         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
74715         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
74716         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
74717         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
74719         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
74720         frame pointer instead of stack pointer relative arg slot.
74721         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
74722         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
74723         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
74725 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
74727         [BZ #3992]
74728         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
74730 2012-02-27  David S. Miller  <davem@davemloft.net>
74732         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
74733         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
74734         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
74735         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
74736         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
74737         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
74738         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
74739         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
74741 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
74743         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
74744         later.  Allow versions 5-9.
74745         * configure: Regenerated.
74746         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
74747         required minimum version and 4.6 as recommended version.  Do not
74748         mention bugs in GCC 2.7 and 2.8.
74749         * INSTALL: Regenerated.
74751 2012-02-27  David S. Miller  <davem@davemloft.net>
74753         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
74754         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
74755         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
74756         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
74757         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
74758         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
74759         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
74760         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
74762         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
74763         manipulate bits before adding and subtracting TWO112[sx].
74764         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
74766 2012-02-27  Roland McGrath  <roland@hack.frob.com>
74768         [BZ #13775]
74769         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
74770         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
74771         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
74772         being in POSIX, because they are in 1003.1-2008.
74774         * rt/tst-aio.c: Include <fcntl.h>.
74775         * rt/tst-aio7.c: Likewise.
74776         * rt/tst-aio64.c: Likewise.
74778         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
74780 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
74782         * manual/install.texi (--with-headers): Describe headers as
74783         interface headers, not private headers.
74784         (Specific advice for GNU/Linux systems): Describe use of headers
74785         from "make headers_install", not private headers from older
74786         kernels.
74787         * INSTALL: Regenerated.
74788         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
74789         Change to 2.6.19.
74790         * sysdeps/unix/sysv/linux/configure: Regenerated.
74792         * manual/llio.texi (fclean): Remove documentation.
74794         * manual/Makefile (libc-texi-generated): New variable.  Include
74795         version.texi.
74796         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
74797         $(libc-texi-generated), not duplicated list of files.
74798         (version.texi, stamp-version): New rules.
74799         (realclean): Remove $(libc-texi-generated), not individual files
74800         from that list.  Do not remove dir-add.texinfo.
74801         * manual/libc.texinfo: Comment out uses of edition numbers and
74802         references to printed manual.  Remove last-updated dates.
74803         (EDITION): Comment out.
74804         (ISBN): Likewise.
74805         (VERSION, UPDATED): Remove.
74806         (version.texi): Include.
74808 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
74810         * sysdeps/posix/spawni.c: Include <signal.h>.
74811         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
74812         * sysdeps/pthread/aio_fsync.c: Likewise.
74814 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
74816         * conform/Makefile (tests): Run only when not cross-compiling and
74817         when fast-check is not defined.
74819         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
74820         * conform/data/limits.h-data: Fixes for POSIX2008.
74821         * conform/run-conformtest.sh: Run all tests.
74822         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
74823         headers.
74824         * include/bits/dlfcn.h: Likewise.
74825         * include/langinfo.h: Likewise.
74826         * include/monetary.h: Likewise.
74827         * include/sys/poll.h: Likewise.
74829         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
74830         for __USE_GNU.
74831         * posix/spawn.h: Define __need_sigset_t.
74832         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
74833         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
74834         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
74835         to get sigevent_t only.
74836         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
74837         only for __USE_GNU.
74838         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
74839         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
74840         process_vm_writev only for __USE_GNU.
74841         * termios/termios.h: Declare tcgetsid also for POSIX2008.
74843         * conform/Makefile: For now ignore errors from run-conformtest.
74844         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
74845         POSIX to avoid namespace pollution.  Don't prepend headers.
74846         * conform/data/aio.h-data: Fixes for POSIX testing.
74847         * conform/data/fcntl.h-data: Likewise.
74848         * conform/data/glob.h-data: Likewise.
74849         * conform/data/grp.h-data: Likewise.
74850         * conform/data/pthread.h-data: Likewise.
74851         * conform/data/pwd.h-data: Likewise.
74852         * conform/data/signal.h-data: Likewise.
74853         * conform/data/spawn.h-data: Likewise.
74854         * conform/data/stdio.h-data: Likewise.
74855         * conform/data/stdlib.h-data: Likewise.
74856         * conform/data/stropts.h-data: Likewise.
74857         * conform/data/sys/mman.h-data: Likewise.
74858         * conform/data/sys/stat.h-data: Likewise.
74859         * conform/data/sys/types.h-data: Likewise.
74860         * conform/data/sys/wait.h-data: Likewise.
74861         * conform/data/time.h-data: Likewise.
74862         * conform/data/unistd.h-data: Likewise.
74863         * conform/data/utime.h-data: Likewise.
74865         * io/sys/stat.h: fchmod was always in POSIX.
74866         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
74867         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
74868         * rt/aio.h: Define __need_timespec before including <time.h>.
74869         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
74870         struct.  Add forward declaration of pthread_attr_t and use it in
74871         sigevent.
74872         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
74873         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
74874         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
74875         always remove CLK_TCK definition.
74877 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
74879         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
74881 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
74883         * conform/run-conformtest.sh: New file.
74884         * conform/Makefile: Run run-conformtest for tests.
74885         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
74886         support.
74888         * conform/data/uchar.h-data: New file.
74889         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
74890         * conform/data/arpa/inet.h-data: Likewise.
74891         * conform/data/assert.h-data: Likewise.
74892         * conform/data/complex.h-data: Likewise.
74893         * conform/data/cpio.h-data: Likewise.
74894         * conform/data/ctype.h-data: Likewise.
74895         * conform/data/dirent.h-data: Likewise.
74896         * conform/data/dlfcn.h-data: Likewise.
74897         * conform/data/errno.h-data: Likewise.
74898         * conform/data/fcntl.h-data: Likewise.
74899         * conform/data/float.h-data: Likewise.
74900         * conform/data/fmtmsg.h-data: Likewise.
74901         * conform/data/fnmatch.h-data: Likewise.
74902         * conform/data/ftw.h-data: Likewise.
74903         * conform/data/glob.h-data: Likewise.
74904         * conform/data/grp.h-data: Likewise.
74905         * conform/data/iconv.h-data: Likewise.
74906         * conform/data/inttypes.h-data: Likewise.
74907         * conform/data/langinfo.h-data: Likewise.
74908         * conform/data/libgen.h-data: Likewise.
74909         * conform/data/limits.h-data: Likewise.
74910         * conform/data/locale.h-data: Likewise.
74911         * conform/data/math.h-data: Likewise.
74912         * conform/data/monetary.h-data: Likewise.
74913         * conform/data/mqueue.h-data: Likewise.
74914         * conform/data/ndbm.h-data: Likewise.
74915         * conform/data/net/if.h-data: Likewise.
74916         * conform/data/netdb.h-data: Likewise.
74917         * conform/data/netinet/in.h-data: Likewise.
74918         * conform/data/nl_types.h-data: Likewise.
74919         * conform/data/poll.h-data: Likewise.
74920         * conform/data/pthread.h-data: Likewise.
74921         * conform/data/pwd.h-data: Likewise.
74922         * conform/data/regex.h-data: Likewise.
74923         * conform/data/sched.h-data: Likewise.
74924         * conform/data/search.h-data: Likewise.
74925         * conform/data/semaphore.h-data: Likewise.
74926         * conform/data/setjmp.h-data: Likewise.
74927         * conform/data/signal.h-data: Likewise.
74928         * conform/data/spawn.h-data: Likewise.
74929         * conform/data/stdarg.h-data: Likewise.
74930         * conform/data/stdio.h-data: Likewise.
74931         * conform/data/stdlib.h-data: Likewise.
74932         * conform/data/string.h-data: Likewise.
74933         * conform/data/strings.h-data: Likewise.
74934         * conform/data/stropts.h-data: Likewise.
74935         * conform/data/sys/ipc.h-data: Likewise.
74936         * conform/data/sys/mman.h-data: Likewise.
74937         * conform/data/sys/msg.h-data: Likewise.
74938         * conform/data/sys/resource.h-data: Likewise.
74939         * conform/data/sys/select.h-data: Likewise.
74940         * conform/data/sys/sem.h-data: Likewise.
74941         * conform/data/sys/shm.h-data: Likewise.
74942         * conform/data/sys/socket.h-data: Likewise.
74943         * conform/data/sys/stat.h-data: Likewise.
74944         * conform/data/sys/statvfs.h-data: Likewise.
74945         * conform/data/sys/time.h-data: Likewise.
74946         * conform/data/sys/timeb.h-data: Likewise.
74947         * conform/data/sys/times.h-data: Likewise.
74948         * conform/data/sys/types.h-data: Likewise.
74949         * conform/data/sys/uio.h-data: Likewise.
74950         * conform/data/sys/un.h-data: Likewise.
74951         * conform/data/sys/utsname.h-data: Likewise.
74952         * conform/data/sys/wait.h-data: Likewise.
74953         * conform/data/syslog.h-data: Likewise.
74954         * conform/data/tar.h-data: Likewise.
74955         * conform/data/termios.h-data: Likewise.
74956         * conform/data/utime.h-data: Likewise.
74957         * conform/data/utmpx.h-data: Likewise.
74958         * conform/data/varargs.h-data: Likewise.
74959         * conform/data/wchar.h-data: Likewise.
74960         * conform/data/wctype.h-data: Likewise.
74961         * conform/data/wordexp.h-data: Likewise.
74963         * include/stropts.h: New file.
74964         * include/uchar.h: New file.
74965         * include/aio.h: Changes to allow conformtest.pl to use the headers.
74966         * include/assert.h: Likewise.
74967         * include/ctype.h: Likewise.
74968         * include/dirent.h: Likewise.
74969         * include/dlfcn.h: Likewise.
74970         * include/fcntl.h: Likewise.
74971         * include/fnmatch.h: Likewise.
74972         * include/glob.h: Likewise.
74973         * include/grp.h: Likewise.
74974         * include/libio.h: Likewise.
74975         * include/locale.h: Likewise.
74976         * include/math.h: Likewise.
74977         * include/net/if.h: Likewise.
74978         * include/netdb.h: Likewise.
74979         * include/netinet/in.h: Likewise.
74980         * include/pthread.h: Likewise.
74981         * include/pwd.h: Likewise.
74982         * include/regex.h: Likewise.
74983         * include/sched.h: Likewise.
74984         * include/search.h: Likewise.
74985         * include/setjmp.h: Likewise.
74986         * include/signal.h: Likewise.
74987         * include/stdio.h: Likewise.
74988         * include/stdlib.h: Likewise.
74989         * include/string.h: Likewise.
74990         * include/sys/cdefs.h: Likewise.
74991         * include/sys/mman.h: Likewise.
74992         * include/sys/msg.h: Likewise.
74993         * include/sys/resource.h: Likewise.
74994         * include/sys/select.h: Likewise.
74995         * include/sys/socket.h: Likewise.
74996         * include/sys/stat.h: Likewise.
74997         * include/sys/statvfs.h: Likewise.
74998         * include/sys/time.h: Likewise.
74999         * include/sys/times.h: Likewise.
75000         * include/sys/uio.h: Likewise.
75001         * include/sys/utsname.h: Likewise.
75002         * include/sys/wait.h: Likewise.
75003         * include/termios.h: Likewise.
75004         * include/time.h: Likewise.
75005         * include/ulimit.h: Likewise.
75006         * include/unistd.h: Likewise.
75007         * include/utime.h: Likewise.
75008         * include/wchar.h: Likewise.
75009         * include/wctype.h: Likewise.
75010         * include/wordexp.h: Likewise.
75012         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
75014         * time/time.h: TIME_UTC must be a macro.
75015         Make timespec_get available for ISO C11 only as well.
75017 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
75019         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
75020         Reported by Peng Haitao <penght@cn.fujitsu.com>.
75022 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
75024         * configure.in: Use -o not -a in test for unsupported multi-arch.
75026 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
75028         * manual/texinfo.tex: Update to version 2012-01-19.16.
75030 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
75032         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
75034 2012-02-24  Roland McGrath  <roland@hack.frob.com>
75036         [BZ #13738]
75037         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
75038         * manual/fdl-1.3.texi: New file.
75039         * manual/fdl-1.1.texi: File removed.
75041         [BZ #13738]
75042         * manual/libc.texinfo (FDL_VERSION): New @set.
75043         Use it for mention of FDL in cover text.
75044         (Documentation License): Use it in @include file name.
75046 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
75047             Roland McGrath  <roland@hack.frob.com>
75049         [BZ #5461]
75050         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
75051         (not LONG_LONG_MAX and LONG_LONG_MIN.
75052         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
75053         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
75054         name.
75055         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
75057 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
75059         [BZ #2547]
75060         [BZ #11365]
75061         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
75062         manipulate bits before adding and subtracting TWO23[sx].
75063         * math/libm-test.inc (nearbyint_test): Add more tests.
75065 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
75067         [BZ #2548]
75068         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
75069         bits before adding and subtracting TWO23[sx].
75070         * math/libm-test.inc (rint_test): Add more tests.
75071         (rint_test_tonearest): Likewise.
75072         (rint_test_towardzero): Likewise.
75073         (rint_test_downward): Likewise.
75074         (rint_test_upward: Likewise.
75076 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
75078         [BZ #10110]
75079         * include/stdc-predef.h: New file.  Extracted from features.h.
75080         * include/features.h: Include stdc-predef.h.
75081         * Makefile (headers): Add stdc-predef.h.
75082         * CONFORMANCE (Compiler limitations): Update.
75084 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
75086         * manual/libc.texinfo (VERSION, UPDATED): Revert.
75088 2012-02-21  David S. Miller  <davem@davemloft.net>
75090         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
75091         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
75093 2012-02-20  David S. Miller  <davem@davemloft.net>
75095         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
75096         using a normal save/restore sequence, rather than allocating a
75097         dummy stack frame just to store a frame pointer and restore.
75098         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
75100 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
75102         * manual/install.texi: Fix stray word in line-wrapped comment.
75104 2012-02-20  David S. Miller  <davem@davemloft.net>
75106         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
75107         both binutils and gcc support GOTDATA.
75109         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
75110         "rd %pc" in the PIC register setup sequences.
75112         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
75113         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
75114         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
75115         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
75116         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
75117         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
75118         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
75119         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
75120         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
75121         (SYSCALL_ERROR_HANDLER): Likewise.
75122         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
75123         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
75124         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
75125         (SYSCALL_ERROR_HANDLER): Likewise.
75127         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
75128         (HAVE_GCC_GOTDATA): New.
75129         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
75130         relocation support in both binutils and gcc.
75131         * sysdeps/sparc/elf/configure: Regenerate.
75133         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
75134         * sysdeps/sparc/sparc32/elf/configure: Delete.
75135         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
75136         * sysdeps/sparc/sparc64/elf/configure: Delete.
75137         * sysdeps/sparc/elf/configure.in: New file.
75138         * sysdeps/sparc/elf/configure: Generate.
75140         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
75141         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
75142         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
75143         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
75144         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
75146 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
75148         * manual/install.texi: Do not mention specific glibc version
75149         numbers.
75150         * manual/libc.texinfo (VERSION, UPDATED): Update.
75151         (@copying): Use @copyright{} and range of years.
75153 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
75155         [BZ #13695]
75156         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
75157         [crti.S not in sysdirs] (generated): Do not append.
75158         [crti.S not in sysdirs] (omit-deps): Likewise.
75159         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
75160         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
75161         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
75162         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
75163         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
75164         Likewise.
75165         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
75166         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
75167         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
75168         * csu/defs.awk: Remove file.
75169         * sysdeps/generic/initfini.c: Likewise.
75170         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
75171         variable.
75172         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
75173         Likewise.
75175 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
75177         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
75178         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
75179         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
75180         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
75181         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
75182         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
75183         <bits/epoll.h>.
75184         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
75185         (__EPOLL_PACKED): Define to empty if not defined by
75186         <bits/epoll.h>.
75187         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
75188         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75189         bits/epoll.h.
75191 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
75193         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
75194         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
75195         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
75196         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
75197         <bits/timerfd.h>.
75198         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
75199         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75200         bits/timerfd.h.
75202 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
75204         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
75205         in C locale.
75206         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
75207         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
75208         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
75209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75211 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
75213         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75214         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
75216 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
75218         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
75219         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
75220         defined.
75221         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
75222         Likewise.
75223         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
75224         entry for 2.16.
75226 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
75228         * math/w_acos.c: Use non-signaling floating-point comparisons.
75229         * math/w_acosf.c: Likewise.
75230         * math/w_acosh.c: Likewise.
75231         * math/w_acoshf.c: Likewise.
75232         * math/w_acoshl.c: Likewise.
75233         * math/w_acosl.c: Likewise.
75234         * math/w_asin.c: Likewise.
75235         * math/w_asinf.c: Likewise.
75236         * math/w_asinl.c: Likewise.
75237         * math/w_atanh.c: Likewise.
75238         * math/w_atanhf.c: Likewise.
75239         * math/w_atanhl.c: Likewise.
75240         * math/w_exp2.c: Likewise.
75241         * math/w_exp2f.c: Likewise.
75242         * math/w_exp2l.c: Likewise.
75243         * math/w_j0.c: Likewise.
75244         * math/w_j0f.c: Likewise.
75245         * math/w_j0l.c: Likewise.
75246         * math/w_j1.c: Likewise.
75247         * math/w_j1f.c: Likewise.
75248         * math/w_j1l.c: Likewise.
75249         * math/w_jn.c: Likewise.
75250         * math/w_jnf.c: Likewise.
75251         * math/w_log.c: Likewise.
75252         * math/w_log10.c: Likewise.
75253         * math/w_log10f.c: Likewise.
75254         * math/w_log10l.c: Likewise.
75255         * math/w_log2.c: Likewise.
75256         * math/w_log2f.c: Likewise.
75257         * math/w_log2l.c: Likewise.
75258         * math/w_logf.c: Likewise.
75259         * math/w_logl.c: Likewise.
75260         * math/w_sqrt.c: Likewise.
75261         * math/w_sqrtf.c: Likewise.
75262         * math/w_sqrtl.c: Likewise.
75263         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
75264         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
75265         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
75266         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
75267         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
75269 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
75271         [BZ #9739]
75272         * manual/string.texi (strnlen): Use correct parameter name in
75273         equivalent expression.
75275 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
75277         [BZ #11174]
75278         * manual/users.texi (seteuid): Consistently use neweuid for
75279         argument name.
75281 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
75283         [BZ #13704]
75284         * manual/nss.texi (Services in the NSS configuration): Correct
75285         list of services in example configuration file.
75287 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
75289         [BZ #11322]
75290         * manual/arith.texi: Remove statements about negative zero
75291         behaving identically to zero.
75293 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
75295         [BZ #5993]
75296         * manual/install.texi: Do not document upgrading from libc5.
75298 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
75300         [BZ #4596]
75301         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
75303 2012-02-18  David S. Miller  <davem@davemloft.net>
75305         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
75306         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
75307         %o7 across the call.
75308         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
75309         instead.
75310         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
75311         SETUP_PIC_REG_LEAF.
75312         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
75313         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
75314         * sysdeps/sparc/crtn.S: Likewise.
75316 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
75318         * aout/Makefile: Remove.
75320 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
75322         [BZ #13058]
75323         * manual/examples/argp-ex1.c (main): Format definition in GNU
75324         style.
75325         * manual/examples/argp-ex2.c (main): Likewise.
75326         * manual/examples/argp-ex3.c (main): Likewise.
75327         * manual/examples/argp-ex4.c (main): Likewise.
75328         * manual/examples/longopt.c (main): Use new-style prototype
75329         definition.
75330         * manual/examples/strncat.c (main): Specify return type and use
75331         (void) for arguments.
75332         * manual/examples/subopt.c (main): Use char **argv argument.
75334 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75336         [BZ #5077]
75337         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
75338         rounding modes.
75340 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
75342         [BZ #6907]
75343         * manual/string.texi (strchr): Change when strchrnul is
75344         recommended.
75346 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
75348         [BZ #174]
75349         * manual/locale.texi (setlocale): Document LOCPATH.
75351 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75353         [BZ #10210]
75354         * manual/process.texi (execle): Move @dots{} before last argument.
75356 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
75358         [BZ #12047]
75359         * manual/charset.texi (Generic Charset Conversion): Fix typo
75360         (LC_TYPE -> LC_CTYPE).
75362 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
75364         [BZ #5805]
75365         * manual/arith.texi (scalbn): Use @var{} on parameter names.
75366         (scalbnf): Likewise.
75367         (scalbnl): Likewise.
75368         (scalbln): Likewise.
75369         (scalblnf): Likewise.
75370         (scalblnl): Likewise.
75371         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
75372         (vwarnx): Likewise.
75373         (verr): Likewise.
75374         (verrx): Likewise.
75375         * manual/filesys.texi (telldir): Use braces around return type.
75376         * manual/llio.texi (mmap): Add space after comma.
75377         (mmap64): Likewise.
75378         * manual/math.texi (jn): Use @var{} on parameter names.
75379         (jnf): Likewise.
75380         (jnl): Likewise.
75381         (yn): Likewise.
75382         (ynf): Likewise.
75383         (ynl): Likewise.
75384         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
75385         line.
75386         * manual/resource.texi (ulimit): Use @dots{} instead of literal
75387         "...".
75388         (sched_get_priority_min): Remove semicolon on @deftypefun line.
75389         (sched_get_priority_max): Likewise.
75390         * manual/signal.texi (sigvec): Add space after comma.
75391         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
75392         names.
75393         (if_indextoname): Likewise.
75394         (if_freenameindex): Likewise.
75395         (sendto): Use ',' instead of '.' in prototype.
75396         * manual/startup.texi (syscall): Use @dots{} instead of literal
75397         "...".
75398         * manual/stdio.texi (__fpending): Separate initial words of
75399         paragraph from @deftypefun line.
75400         * manual/syslog.texi (syslog): Use @dots{} instead of literal
75401         "...".
75402         (vsyslog): Use @var{} on parameter names.
75403         * manual/terminal.texi (stty): Use @var{} on parameter names.
75404         * manual/users.texi (getutmp): Use @var{} on parameter names.
75405         (getutmpx): Likewise.
75407 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75409         [BZ #6884]
75410         * manual/stdio.texi (fopen): Fix typos in description of
75411         ",ccs=STRING".
75413 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
75415         [BZ #4026]
75416         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
75417         get clock_id definition.
75419 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
75421         [BZ #4822]
75422         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
75423         (madvise): Cast every argument to void on its own.
75425 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75427         [BZ #9902]
75428         * manual/startup.texi (Exit Status): Fix typo.
75430 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75432         [BZ #10140]
75433         * manual/examples/argp-ex1.c: Include <stdlib.h>.
75434         * manual/examples/argp-ex2.c: Likewise.
75435         * manual/examples/argp-ex3.c: Likewise.
75437 2012-02-16  Richard Henderson  <rth@redhat.com>
75439         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
75440         * sysdeps/s390/s390-32/initfini.c: Remove.
75441         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
75442         * sysdeps/s390/s390-64/initfini.c: Remove.
75444 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
75446         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
75447         compiler output for sysdeps/generic/initfini.c.
75448         * sysdeps/sh/elf/initfini.c: Remove file.
75450 2012-02-16  David S. Miller  <davem@davemloft.net>
75452         [BZ #11494]
75453         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
75455         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
75456         * sysdeps/sparc/crti.S: New file.
75457         * sysdeps/sparc/crtn.S: New file.
75458         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
75459         * sysdeps/sparc/sparc64/Makefile: Likewise.
75461 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
75463         [BZ #3335]
75464         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
75466 2012-02-15  Roland McGrath  <roland@hack.frob.com>
75468         [BZ #4822]
75469         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
75471         * mach/devstream.c (cookie_io_functions_t): Macro removed.
75472         (write, read, close): Likewise.
75473         Patch by Aurelien Jarno <aurelien@aurel32.net>.
75475 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
75477         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
75478         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
75479         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
75480         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
75481         <bits/signalfd.h>.
75482         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
75483         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75484         bits/signalfd.h.
75486 2012-02-14  Marek Polacek  <polacek@redhat.com>
75488         * sysdeps/x86_64/crti.S: New file.
75489         * sysdeps/x86_64/crtn.S: New file.
75490         * sysdeps/x86_64/elf/initfini.c: Remove file.
75492 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
75494         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
75495         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
75496         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
75497         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
75498         <bits/inotify.h>.
75499         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
75500         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75501         bits/inotify.h.
75503 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
75505         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
75506         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
75507         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
75508         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
75509         <bits/eventfd.h>.
75510         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
75511         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75512         bits/eventfd.h.
75514 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
75516         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
75517         __feraiseexcept instead of feraiseexcept.
75519         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
75520         nanosleep invocations.
75521         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
75522         strings, and add error checking for a nanosleep invocations.
75524 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
75526         Replace FSF snail mail address with URLs, as per GNU coding standards.
75527         Most of the snail mail addresses were wrong anyway, and omitting
75528         them makes the source code easier to maintain.  Almost all of the
75529         changes are to license notices and to locale LC_IDENTIFICATION
75530         addresses, except for this one:
75531         * manual/libc.texinfo: In "Published by", give the FSF's URL,
75532         not its snail mail address.
75534 2012-02-09  Richard Henderson  <rth@twiddle.net>
75536         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
75537         of kernel-features.h.
75539         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
75541 2012-02-08  Marek Polacek  <polacek@redhat.com>
75543         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
75544         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
75545         * sysdeps/gnu/_G_config.h: Likewise.
75546         * sysdeps/generic/_G_config.h: Likewise.
75548 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
75550         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
75551         tests.
75552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75554         * sysdeps/powerpc/powerpc32/crti.S: New file.
75555         * sysdeps/powerpc/powerpc32/crtn.S: New file.
75556         * sysdeps/powerpc/powerpc64/crti.S: New file.
75557         * sysdeps/powerpc/powerpc64/crtn.S: New file.
75559         * Makeconfig (have-initfini): Don't set.
75560         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
75561         * configure.in (nopic_initfini): Don't substitute.
75562         * config.h.in (HAVE_INITFINI): Don't #undef.
75563         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
75564         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
75566 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
75568         Support crti.S and crtn.S provided directly by architectures.
75569         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
75570         [crti.S in sysdirs] (omit-deps): Likewise.
75571         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
75572         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
75573         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
75574         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
75575         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
75576         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
75577         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
75578         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
75579         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
75580         compiler output for sysdeps/generic/initfini.c.
75581         * sysdeps/i386/elf/Makefile: Remove file.
75582         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
75584 2012-02-07  Marek Polacek  <polacek@redhat.com>
75586         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
75587         * sysdeps/gnu/_G_config.h: Likewise.
75588         * sysdeps/mach/hurd/_G_config.h: Likewise.
75590 2012-02-07  Marek Polacek  <polacek@redhat.com>
75592         * math/Makefile (tests): Add tst-CMPLX2.
75593         * math/tst-CMPLX2.c: New file.
75595 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
75597         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75599         * math/libm-test.inc (jn_test): Add missing L suffix.
75601 2012-02-06  Marek Polacek  <polacek@redhat.com>
75603         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
75604         * sysdeps/i386/fpu/e_powf.S: Likewise.
75605         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
75606         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
75607         * sysdeps/i386/fpu/e_acosh.S: Likewise.
75608         * sysdeps/i386/fpu/e_pow.S: Likewise.
75609         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
75610         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
75611         * sysdeps/i386/fpu/s_expm1.S: Likewise.
75612         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
75613         * sysdeps/i386/fpu/e_log2.S: Likewise.
75614         * sysdeps/i386/fpu/e_log2l.S: Likewise.
75615         * sysdeps/i386/fpu/e_scalb.S: Likewise.
75616         * sysdeps/i386/fpu/e_powl.S: Likewise.
75617         * sysdeps/i386/fpu/s_log1p.S: Likewise.
75618         * sysdeps/i386/fpu/e_log10f.S: Likewise.
75619         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
75620         * sysdeps/i386/fpu/e_logl.S: Likewise.
75621         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
75622         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
75623         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
75624         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
75625         * sysdeps/i386/fpu/e_log2f.S: Likewise.
75626         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
75627         * sysdeps/i386/fpu/e_log.S: Likewise.
75628         * sysdeps/i386/fpu/s_cexp.S: Likewise.
75629         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
75630         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
75631         * sysdeps/i386/fpu/e_logf.S: Likewise.
75632         * sysdeps/i386/fpu/e_log10l.S: Likewise.
75633         * sysdeps/i386/fpu/e_atanh.S: Likewise.
75634         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
75635         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
75636         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
75637         * sysdeps/i386/fpu/e_log10.S: Likewise.
75638         * sysdeps/i386/fpu/s_frexp.S: Likewise.
75639         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
75640         * sysdeps/i386/fpu/s_asinh.S: Likewise.
75641         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
75642         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
75643         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
75644         * sysdeps/i386/asm-syntax.h: Likewise.
75645         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
75646         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
75647         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
75648         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
75649         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
75650         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
75651         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
75652         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
75653         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
75654         * sysdeps/powerpc/sysdep.h: Likewise.
75655         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
75656         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
75658 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
75660         [BZ #411]
75661         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
75663 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
75665         * sysdeps/i386/sysdep.h: Include <features.h>.
75666         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
75667         version.
75669 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
75671         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
75672         Define.
75673         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
75674         LOAD_PIC_REG_STR.
75676 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
75678         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
75679         (SETUP_PIC_REG): Use GET_PC_THUNK.
75680         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
75681         macro.
75683 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
75685         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
75686         for non-PIC compilation.
75687         (SETUP_PIC_REG): Add .p2align directive.
75688         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
75689         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
75690         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
75691         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
75692         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
75693         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
75694         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
75695         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
75696         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
75697         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
75698         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
75699         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
75700         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
75701         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
75702         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
75703         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
75704         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
75705         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
75706         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
75707         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
75708         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
75709         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
75710         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
75711         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
75712         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
75713         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
75714         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
75715         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
75716         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
75717         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
75718         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
75719         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
75720         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
75721         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
75722         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
75723         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
75724         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
75725         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
75726         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
75727         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
75728         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
75730 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
75732         * math/tst-CMPLX.c: Include <stdio.h>.
75734 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
75736         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
75737         float.
75738         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
75739         * sysdeps/sparc/bits/mathdef.h: Likewise.
75741 2012-01-31  Marek Polacek  <polacek@redhat.com>
75743         * libio/libio.h: Don't define _PARAMS.
75744         * locale/programs/config.h: Don't define PARAMS.
75745         * stdlib/strtol_l.c: Likewise.
75746         (__strtol_l): Remove PARAMS from the prototype.
75748 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
75750         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
75751         names.  Just use the correct names.  Remove unnecessary wrapper
75752         functions.
75753         * malloc/arena.c: Likewise.
75754         * malloc/hooks.c: Likewise.
75756         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
75757         ARENA_TEST says not to.  Simplify test for creation of a new arena.
75758         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
75760 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
75762         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
75763         into tail calls.
75764         (update_get_addr): New function.
75765         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
75766         GET_ADDR_MODULE parameter.
75768 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
75770         * crypt/cert.c: Remove __STDC__ conditionals.
75771         * crypt/crypt-entry.c: Likewise.
75772         * crypt/crypt_util.c: Likewise.
75773         * libio/filedoalloc.c: Likewise.
75774         * libio/fileops.c: Likewise.
75775         * libio/genops.c: Likewise.
75776         * libio/iofclose.c: Likewise.
75777         * libio/iofdopen.c: Likewise.
75778         * libio/iofopen.c: Likewise.
75779         * libio/iofopen64.c: Likewise.
75780         * libio/iogetdelim.c: Likewise.
75781         * libio/iopopen.c: Likewise.
75782         * libio/obprintf.c: Likewise.
75783         * libio/oldfileops.c: Likewise.
75784         * libio/oldiofclose.c: Likewise.
75785         * libio/oldiofdopen.c: Likewise.
75786         * libio/oldiofopen.c: Likewise.
75787         * libio/oldiopopen.c: Likewise.
75788         * libio/wfiledoalloc.c: Likewise.
75789         * libio/wgenops.c: Likewise.
75790         * locale/programs/xmalloc.c: Likewise.
75791         * misc/syslog.c: Likewise.
75792         * stdio-common/xbug.c: Likewise.
75793         * string/memchr.c: Likewise.
75794         * string/memcmp.c: Likewise.
75795         * string/memrchr.c: Likewise.
75796         * string/rawmemchr.c: Likewise.
75797         * sysdeps/posix/getcwd.c: Likewise.
75798         * time/strftime_l.c: Likewise.
75800 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
75802         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
75803         * config.make.in (config-cflags-sse2avx): Define.
75804         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
75805         Fix typo.
75807 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
75809         * scripts/config.guess: Update from upstream config git repository.
75810         * scripts/config.sub: Likewise.
75812 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
75814         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
75815         (EM_NUM): Update.
75816         (R_TILEPRO_*, R_TILEGX_*): New macros.
75818         * scripts/firstversions.awk: Fix bug in version range handling.
75820         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
75822         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
75824         * include/sys/epoll.h: New file.
75825         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
75826         libc_hidden_def.
75828 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
75830         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
75831         Avoid unnecessary __WORDSIZE == 64 test.
75832         (fmaxf): Use VEX format if possible.
75833         (fmax): Likewise.
75834         (fminf): Likewise.
75835         (fmin): Likewise.
75837         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
75838         * math/math_private.h: Remove libc_fegetround* and
75839         libc_fesetround*.
75840         * sysdeps/i386/configure.in: Check for -msse2avx.
75841         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
75842         also if SSE2AVX is defined.
75843         Remove libc_fegetround* and libc_fesetround*.
75844         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
75845         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
75846         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
75847         of HAS_YMM_USABLE.
75848         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
75849         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
75850         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
75851         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
75852         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
75854         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
75856 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75858         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
75859         size is not set.
75860         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
75862 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
75864         [BZ #13618]
75865         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
75866         relocation.
75867         * Makeconfig (libm): Define.
75868         * elf/Makefile: Add rules to build and run tst-relsort1.
75869         * elf/tst-relsort1.c: New file.
75870         * elf/tst-relsort1mod1.c: New file.
75871         * elf/tst-relsort1mod2.c: New file.
75873 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
75875         * math/s_ldexp.c: Remove __STDC__ conditionals.
75876         * math/s_ldexpf.c: Likewise.
75877         * math/s_ldexpl.c: Likewise.
75878         * math/s_nextafter.c: Likewise.
75879         * math/s_nexttowardf.c: Likewise.
75880         * math/s_significand.c: Likewise.
75881         * math/s_significandf.c: Likewise.
75882         * math/s_significandl.c: Likewise.
75883         * math/w_jnl.c: Likewise.
75884         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
75885         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
75886         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
75887         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
75888         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
75889         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
75890         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
75891         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
75892         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
75893         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
75894         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
75895         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
75896         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
75897         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
75898         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
75899         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
75900         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
75901         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
75902         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
75903         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
75904         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
75905         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
75906         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
75907         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
75908         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
75909         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
75910         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
75911         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
75912         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
75913         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
75914         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
75915         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
75916         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
75917         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
75918         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
75919         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
75920         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
75921         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
75922         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
75923         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
75924         * sysdeps/ieee754/k_standard.c: Likewise.
75925         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
75926         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
75927         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
75928         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
75929         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
75930         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
75931         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
75932         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
75933         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
75934         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
75935         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
75936         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
75937         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
75938         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
75939         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
75940         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
75941         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
75942         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
75943         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
75944         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
75945         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
75946         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
75947         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
75948         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
75949         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
75950         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
75951         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
75952         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
75953         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
75954         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
75955         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
75956         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
75957         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
75958         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
75959         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
75960         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
75961         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
75962         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
75963         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
75964         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
75965         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
75966         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
75967         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
75968         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
75969         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
75970         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
75971         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
75972         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
75973         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
75974         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
75975         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
75976         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
75977         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
75978         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
75979         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
75980         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
75981         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
75982         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
75983         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
75984         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
75985         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
75986         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
75987         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
75988         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
75989         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
75990         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
75991         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
75992         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
75993         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
75994         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
75995         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
75996         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
75997         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
75998         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
75999         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
76000         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
76001         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
76002         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
76003         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
76004         * sysdeps/ieee754/s_matherr.c: Likewise.
76005         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
76006         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
76007         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
76008         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
76010 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
76012         * crypt/md5.h: Remove __STDC__ conditionals.
76013         * libio/libioP.h: Likewise.
76014         * locale/programs/config.h: Likewise.
76015         * sysdeps/generic/sysdep.h: Likewise.
76016         * sysdeps/i386/asm-syntax.h: Likewise.
76017         * sysdeps/s390/asm-syntax.h: Likewise.
76018         * sysdeps/unix/sysdep.h: Likewise.
76019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
76020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
76022 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
76024         * libio/libio.h: Remove __STDC__ conditionals.
76025         * malloc/obstack.h: Likewise.
76026         * math/complex.h: Likewise.
76027         * math/math.h: Likewise.
76028         * sysdeps/generic/_G_config.h: Likewise.
76029         * sysdeps/gnu/_G_config.h: Likewise.
76030         * sysdeps/mach/hurd/_G_config.h: Likewise.
76031         * sysdeps/powerpc/bits/mathdef.h: Likewise.
76032         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
76033         * sysdeps/sparc/bits/mathdef.h: Likewise.
76035 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
76037         [BZ #13583]
76038         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
76039         Clean up HAS_* macros.
76040         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
76041         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
76042         possible.
76043         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
76044         HAS_AVX.
76045         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
76046         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
76047         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
76048         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
76049         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
76051 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
76053         * elf/tst-unique3.cc (gets): Remove declaration.
76054         * elf/tst-unique3lib.cc (gets): Likewise.
76055         * elf/tst-unique3lib2.cc (gets): Likewise.
76056         * elf/tst-unique4.cc (gets): Likewise.
76058 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
76060         * include/stdio.h: Add C++ protection.  Add gets declarations and
76061         definitions.
76062         * debug/tst-chk1.c: Don't declare gets here.
76063         * stdio-common/tst-gets.c: Likewise.
76065 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
76067         * posix/glob: Remove directory.
76069 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
76071         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
76073 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
76075         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
76076         of the non-standard EPFNOSUPPORT.
76078 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76080         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
76081         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
76082         ANYWHERE set to 1 only on KERN_NO_SPACE error.
76084 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
76086         * wcsmbs/uchar.h: Test __STDC_VERSION__.
76088 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
76090         * nscd/aicache.c (addhstaiX): Do not cache negative results of
76091         transient errors.
76092         * nscd/grpcache.c (cache_addgr): Likewise.
76093         * nscd/hstcache.c (cache_addhst): Likewise.
76094         * nscd/initgrcache.c (addinitgroupsX): Likewise.
76095         * nscd/pwdcache.c (cache_addpw): Likewise.
76096         * nscd/servicescache.c (cache_addserv): Likewise.
76098 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
76100         * malloc/malloc.c: Various cleanups.
76101         * malloc/hooks.c: Likewise.
76103         * stdlib/Makefile (tests): Add bug-fmtmsg1.
76104         * stdlib/bug-fmtmsg1.c: New file.
76106         * stdlib/fmtmsg.c (init): Add missing unlock.
76107         Patch by Peng Haitao <penght@cn.fujitsu.com>.
76109 2012-01-12  Marek Polacek  <polacek@redhat.com>
76111         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
76112         and _GNU_SOURCE.
76114 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
76116         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
76117         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
76118         macro to ensure uniqueness of label name.
76119         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
76120         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
76122 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
76124         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
76126         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
76127         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
76128         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
76129         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
76131 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
76133         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
76135         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
76136         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
76137         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
76139         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
76141         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
76142         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
76143         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
76144         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
76146         * math/bits/math-finite.h: Add ldexp support.
76148 2012-01-10  Marek Polacek  <polacek@redhat.com>
76150         * locale/programs/localedef.h (show_archive_content): Add noreturn
76151         attribute.
76153 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
76155         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
76157 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
76159         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
76161         * io/Makefile (headers): Add bits/poll2.h.
76163 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
76165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
76166         typo #include statement.
76168 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
76170         * include/sys/cdefs.h: Define __attribute_alloc_size.
76171         * catgets/gencat.c: Add alloc_size attribute and apply consistently
76172         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
76173         * elf/pldd.c: Likewise.
76174         * iconv/iconv_charmap.c: Likewise.
76175         * iconv/iconvconfig.c: Likewise.
76176         * iconv/strtab.c: Likewise.
76177         * locale/programs/locale.c: Likewise.
76178         * locale/programs/localedef.h: Likewise.
76179         * locale/programs/simple-hash.c: Likewise.
76180         * nscd/nscd.h: Likewise.
76181         * nss/makedb.c: Likewise.
76182         * sysdeps/generic/ldconfig.h: Likewise.
76183         * locale/programs/localedef.c: Remove xmalloc prototype.
76184         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
76186 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
76188         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
76189         appropriate.
76191 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
76193         * math/Makefile (tests): Add tst-CMPLX.
76194         * math/tst-CMPLX.c: New file.
76196         * math/complex.h (CMPLXL): Fix typo.
76198         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
76199         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
76200         GLIBC_2.16.
76201         * debug/tst-chk1.c: Add poll and ppoll tests.
76202         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
76203         * include/sys/poll.h: Add hidden proto for ppoll.
76204         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
76205         * sysdeps/mach/hurd/ppoll.c: Likewise.
76206         * io/ppoll.c: Likewise.
76207         * debug/poll_chk.c: New file.
76208         * debug/ppoll_chk.c: New file.
76209         * include/bits/poll2.h: New file.
76210         * io/bits/poll2.h: New file.
76212         [BZ #1350]
76213         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
76215         * configure.in: static is always set to yes.  Remove.
76216         * config.make.in: Don't set build-static.
76217         * Makeconfig: Remove use of build-static.
76218         * dlfcn/Makefile: Likewise.
76219         * elf/Makefile: Likewise.
76220         * math/Makefile: Likewise.
76221         * misc/Makefile: Likewise.
76222         * nptl/Makefile: Likewise.
76223         * sysdeps/mach/hurd/Makefile: Likewise.
76225         * configure.in: PWD_P is not used anymore.
76226         * config.make.in: Remove PWD_P entry.
76228         * configure.in: Remove last remnants of RANLIB.
76229         No need to check for signed size_t anymore.
76230         Don't set libc_commonpagesize and libc_relro_required here for Alpha
76231         and IA-64.
76232         Remove __builtin_expect test because we require at least gcc 3.4.
76233         * aclocal.m4: Likewise.
76235         * wcsmbs/mbrtoc16.c: Implement using towc function.
76236         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
76237         * wcsmbs/wcsmbsload.c: Likewise.
76238         * iconv/gconv_simple.c: Likewise.
76239         * iconv/gconv_int.h: Likewise.
76240         * iconv/gconv_builtin.h: Likewise.
76241         * iconv/iconv_prog.c: Remove CHAR16 handling.
76243         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
76245         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
76247         * configure.in: Remove --with-elf and --enable-bounded options.
76248         Dont set base_machine for ia64.  More non-ELF conditions removed.
76249         Remove testing and setting of leading underscore information.
76250         * config.make.in (build-bounded): Set to no.
76251         * config.h.in: Remove NO_UNDERSCORES entry.
76252         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
76253         them.
76254         * csu/start.c: Remove !NO_UNDERSCORE code.
76255         * locale/localeinfo.h: Likewise.
76256         * sysdeps/generic/machine-gmon.h: Likewise.
76257         * sysdeps/generic/sysdep.h: Likewise.
76258         * sysdeps/i386/sysdep.h: Likewise.
76259         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
76260         * sysdeps/mach/sysdep.h: Likewise.
76261         * sysdeps/s390/s390-32/sysdep.h: Likewise.
76262         * sysdeps/s390/s390-64/sysdep.h: Likewise.
76263         * sysdeps/sh/sysdep.h: Likewise.
76264         * sysdeps/sparc/sparc32/alloca.S: Likewise.
76265         * sysdeps/unix/i386/sysdep.S: Likewise.
76266         * sysdeps/unix/sparc/start.c: Likewise.
76267         * sysdeps/unix/sparc/sysdep.S: Likewise.
76268         * sysdeps/unix/sparc/sysdep.h: Likewise.
76269         * sysdeps/unix/start.c: Likewise.
76270         * sysdeps/unix/x86_64/sysdep.S: Likewise.
76271         * sysdeps/x86_64/sysdep.h: Likewise.
76273 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
76275         [BZ #13553]
76276         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
76277         for non-gcc.
76278         * argp/argp-fmtstream.h: Use const instead __const.
76279         * argp/argp.h: Likewise.
76280         * assert/assert.h: Likewise.
76281         * bits/fenv.h: Likewise.
76282         * bits/sched.h: Likewise.
76283         * bits/sigset.h: Likewise.
76284         * bits/sigthread.h: Likewise.
76285         * catgets/nl_types.h: Likewise.
76286         * conform/data/pthread.h-data: Likewise.
76287         * crypt/crypt-private.h: Likewise.
76288         * crypt/crypt.h: Likewise.
76289         * crypt/crypt_util.c: Likewise.
76290         * ctype/ctype.h: Likewise.
76291         * debug/execinfo.h: Likewise.
76292         * debug/mbsnrtowcs_chk.c: Likewise.
76293         * debug/mbsrtowcs_chk.c: Likewise.
76294         * debug/wcsnrtombs_chk.c: Likewise.
76295         * debug/wcsrtombs_chk.c: Likewise.
76296         * debug/wcstombs_chk.c: Likewise.
76297         * dirent/dirent.h: Likewise.
76298         * dlfcn/dlfcn.h: Likewise.
76299         * elf/neededtest4.c: Likewise.
76300         * grp/grp.h: Likewise.
76301         * gshadow/gshadow.h: Likewise.
76302         * iconv/gconv.h: Likewise.
76303         * iconv/gconv_int.h: Likewise.
76304         * iconv/gconv_simple.c: Likewise.
76305         * iconv/iconv.h: Likewise.
76306         * iconv/loop.c: Likewise.
76307         * iconv/skeleton.c: Likewise.
76308         * include/aio.h: Likewise.
76309         * include/aliases.h: Likewise.
76310         * include/argz.h: Likewise.
76311         * include/arpa/inet.h: Likewise.
76312         * include/assert.h: Likewise.
76313         * include/dirent.h: Likewise.
76314         * include/dlfcn.h: Likewise.
76315         * include/execinfo.h: Likewise.
76316         * include/fcntl.h: Likewise.
76317         * include/fenv.h: Likewise.
76318         * include/glob.h: Likewise.
76319         * include/grp.h: Likewise.
76320         * include/libintl.h: Likewise.
76321         * include/mntent.h: Likewise.
76322         * include/netdb.h: Likewise.
76323         * include/pwd.h: Likewise.
76324         * include/rpc/netdb.h: Likewise.
76325         * include/sched.h: Likewise.
76326         * include/search.h: Likewise.
76327         * include/shadow.h: Likewise.
76328         * include/signal.h: Likewise.
76329         * include/stdio.h: Likewise.
76330         * include/stdlib.h: Likewise.
76331         * include/string.h: Likewise.
76332         * include/sys/socket.h: Likewise.
76333         * include/sys/stat.h: Likewise.
76334         * include/sys/statfs.h: Likewise.
76335         * include/sys/statvfs.h: Likewise.
76336         * include/sys/syslog.h: Likewise.
76337         * include/sys/time.h: Likewise.
76338         * include/sys/uio.h: Likewise.
76339         * include/time.h: Likewise.
76340         * include/unistd.h: Likewise.
76341         * include/utmp.h: Likewise.
76342         * include/wchar.h: Likewise.
76343         * include/wctype.h: Likewise.
76344         * inet/aliases.h: Likewise.
76345         * inet/arpa/inet.h: Likewise.
76346         * inet/netinet/ether.h: Likewise.
76347         * inet/netinet/in.h: Likewise.
76348         * intl/libintl.h: Likewise.
76349         * io/bits/fcntl2.h: Likewise.
76350         * io/fcntl.h: Likewise.
76351         * io/ftw.h: Likewise.
76352         * io/sys/poll.h: Likewise.
76353         * io/sys/stat.h: Likewise.
76354         * io/sys/statfs.h: Likewise.
76355         * io/sys/statvfs.h: Likewise.
76356         * io/utime.h: Likewise.
76357         * libio/bits/stdio.h: Likewise.
76358         * libio/bits/stdio2.h: Likewise.
76359         * libio/libio.h: Likewise.
76360         * libio/libioP.h: Likewise.
76361         * libio/stdio.h: Likewise.
76362         * locale/lc-ctype.c: Likewise.
76363         * locale/locale.h: Likewise.
76364         * login/utmp.h: Likewise.
76365         * malloc/arena.c: Likewise.
76366         * malloc/malloc.c: Likewise.
76367         * malloc/malloc.h: Likewise.
76368         * malloc/mcheck.c: Likewise.
76369         * malloc/mtrace.c: Likewise.
76370         * math/bits/mathcalls.h: Likewise.
76371         * math/fenv.h: Likewise.
76372         * math/math_private.h: Likewise.
76373         * misc/bits/error.h: Likewise.
76374         * misc/bits/syslog.h: Likewise.
76375         * misc/err.h: Likewise.
76376         * misc/error.h: Likewise.
76377         * misc/fstab.h: Likewise.
76378         * misc/mntent.h: Likewise.
76379         * misc/regexp.h: Likewise.
76380         * misc/search.h: Likewise.
76381         * misc/sgtty.h: Likewise.
76382         * misc/sys/mman.h: Likewise.
76383         * misc/sys/syslog.h: Likewise.
76384         * misc/sys/uio.h: Likewise.
76385         * misc/sys/xattr.h: Likewise.
76386         * misc/ttyent.h: Likewise.
76387         * nis/rpcsvc/ypclnt.h: Likewise.
76388         * nss/nss.h: Likewise.
76389         * posix/bits/unistd.h: Likewise.
76390         * posix/fnmatch.h: Likewise.
76391         * posix/glob.h: Likewise.
76392         * posix/sched.h: Likewise.
76393         * posix/spawn.h: Likewise.
76394         * posix/sys/wait.h: Likewise.
76395         * posix/unistd.h: Likewise.
76396         * posix/wordexp.h: Likewise.
76397         * pwd/pwd.h: Likewise.
76398         * resolv/netdb.h: Likewise.
76399         * resource/sys/resource.h: Likewise.
76400         * rt/aio.h: Likewise.
76401         * rt/bits/mqueue2.h: Likewise.
76402         * rt/mqueue.h: Likewise.
76403         * shadow/shadow.h: Likewise.
76404         * signal/signal.h: Likewise.
76405         * socket/send.c: Likewise.
76406         * socket/sendto.c: Likewise.
76407         * socket/sys/socket.h: Likewise.
76408         * stdio-common/printf.h: Likewise.
76409         * stdlib/bits/stdlib.h: Likewise.
76410         * stdlib/fmtmsg.h: Likewise.
76411         * stdlib/monetary.h: Likewise.
76412         * stdlib/stdlib.h: Likewise.
76413         * stdlib/ucontext.h: Likewise.
76414         * streams/stropts.h: Likewise.
76415         * string/argz.h: Likewise.
76416         * string/bits/string2.h: Likewise.
76417         * string/string.h: Likewise.
76418         * string/strings.h: Likewise.
76419         * sunrpc/rpc/auth.h: Likewise.
76420         * sunrpc/rpc/auth_des.h: Likewise.
76421         * sunrpc/rpc/clnt.h: Likewise.
76422         * sunrpc/rpc/netdb.h: Likewise.
76423         * sunrpc/rpc/pmap_clnt.h: Likewise.
76424         * sunrpc/rpc/xdr.h: Likewise.
76425         * sysdeps/generic/inttypes.h: Likewise.
76426         * sysdeps/generic/net/if.h: Likewise.
76427         * sysdeps/generic/sys/swap.h: Likewise.
76428         * sysdeps/gnu/net/if.h: Likewise.
76429         * sysdeps/gnu/utmpx.h: Likewise.
76430         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
76431         * sysdeps/i386/i486/bits/string.h: Likewise.
76432         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
76433         * sysdeps/s390/bits/string.h: Likewise.
76434         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
76435         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
76436         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
76437         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
76438         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
76439         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
76440         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
76441         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
76442         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
76443         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
76444         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
76445         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
76446         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
76447         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
76448         * sysdeps/unix/sysv/linux/readv.c: Likewise.
76449         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
76450         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
76451         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
76452         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
76453         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
76454         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
76455         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
76456         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
76457         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
76458         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
76459         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
76460         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
76461         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
76462         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
76463         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
76464         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
76465         * sysvipc/sys/ipc.h: Likewise.
76466         * sysvipc/sys/msg.h: Likewise.
76467         * sysvipc/sys/sem.h: Likewise.
76468         * sysvipc/sys/shm.h: Likewise.
76469         * termios/termios.h: Likewise.
76470         * time/sys/time.h: Likewise.
76471         * time/time.h: Likewise.
76472         * wcsmbs/bits/wchar2.h: Likewise.
76473         * wcsmbs/uchar.h: Likewise.
76474         * wcsmbs/wchar.h: Likewise.
76475         * wctype/wctype.h: Likewise.
76477         [BZ #13551]
76478         * Makeconfig: Remove all but ELF support including AIX support.
76479         * Makerules: Likewise.
76480         * config.h.in: Likewise.
76481         * config.make.in: Likewise.
76482         * configure: Likewise.
76483         * configure.in: Likewise.
76484         * csu/Makefile: Likewise.
76485         * csu/version.c: Likewise.
76486         * debug/Makefile: Likewise.
76487         * dlfcn/Makefile: Likewise.
76488         * elf/Makefile: Likewise.
76489         * extra-lib.mk: Likewise.
76490         * iconv/Makefile: Likewise.
76491         * include/libc-symbols.h: Likewise.
76492         * include/shlib-compat.h: Likewise.
76493         * resolv/Makefile: Likewise.
76494         * resolv/res_libc.c: Likewise.
76495         * rt/Makefile: Likewise.
76496         * sysdeps/i386/asm-syntax.h: Likewise.
76497         * sysdeps/i386/sysdep.h: Likewise.
76498         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
76499         * sysdeps/mach/sysdep.h: Likewise.
76500         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
76501         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
76502         * sysdeps/s390/asm-syntax.h: Likewise.
76503         * sysdeps/s390/s390-32/sysdep.h: Likewise.
76504         * sysdeps/s390/s390-64/sysdep.h: Likewise.
76505         * sysdeps/sh/sysdep.h: Likewise.
76506         * sysdeps/unix/sparc/sysdep.h: Likewise.
76507         * sysdeps/wordsize-32/divdi3.c: Likewise.
76508         * sysdeps/x86_64/sysdep.h: Likewise.
76510         * argp/Versions: Remove _argp_unlock_xxx.
76512         [BZ #13559]
76513         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
76514         * abilist/libBrokenLocale.abilist: Likewise.
76515         * abilist/libanl.abilist: Likewise.
76516         * abilist/libc.abilist: Likewise.
76517         * abilist/libcrypt.abilist: Likewise.
76518         * abilist/libdl.abilist: Likewise.
76519         * abilist/libm.abilist: Likewise.
76520         * abilist/libnsl.abilist: Likewise.
76521         * abilist/libpthread.abilist: Likewise.
76522         * abilist/libresolv.abilist: Likewise.
76523         * abilist/librt.abilist: Likewise.
76524         * abilist/libthread_db.abilist: Likewise.
76525         * abilist/libutil.abilist: Likewise.
76526         * abilist/libnss_db.abilist: New file.
76528         * scripts/abilist.awk: Add support for indirect functions.
76530         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
76532         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
76534         * shlib-versions: Remove entries for ports architectures.
76536         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
76537         files in ports.
76538         * elf/stackguard-macros.h: Remove support for IA-64.
76539         * elf/tst-auditmod1.c: Likewise.
76540         * sysdeps/generic/ldsodefs.h: Likewise.
76542         * sysdeps/unix/sysv/linux/configure.in: Ports should define
76543         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
76544         configure files.
76546         [BZ #13552]
76547         * configure.in: Remove --enable-omitfp support.
76548         * FAQ.in: Adjust.
76549         * config.make.in: Likewise.
76550         * Makeconfig: Likewise.
76551         * manual/install.texi: Likewise.
76553         In case anyone cares, the IA-64 architecture could move to ports.
76554         * sysdeps/ia64/*: Removed.
76555         * sysdeps/unix/sysv/linux/ia64/*: Removed.
76556         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
76558         [BZ #13555]
76559         * configure.in: Remove entries for unsupported architectures.
76561         [BZ #13533]
76562         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
76563         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
76564         routines.
76565         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
76566         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
76567         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
76568         fall back to using wcrtomb.
76569         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
76570         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
76571         renaming.
76572         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
76573         * wcsmbs/tst-c16c32-1.c: New file.
76575         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
76576         local variable.
76578         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
76580         * elf/tst-unique3.cc: Add explicit declaration of gets.
76581         * elf/tst-unique3lib.cc: Likewise.
76582         * elf/tst-unique3lib2.cc: Likewise.
76583         * elf/tst-unique4.cc: Likewise.
76585         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
76587 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
76589         [BZ #13566]
76590         * assert/assert.h (static_assert): Don't define for C++.
76591         * libio/stdio.h (gets): Do declare for C++ <= C++11.
76592         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
76594 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
76596         * iconv/loop.c (single loop): Fix assertion in storing of
76597         remaining bytes.
76599         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
76601 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
76603         * posix/getconf.c: Update copyright year.
76604         * nss/getent.c: Likewise.
76605         * nss/makedb.c: Likewise.
76606         * iconv/iconvconfig.c: Likewise.
76607         * iconv/iconv_prog.c: Likewise.
76608         * elf/ldconfig.c: Likewise.
76609         * elf/pldd.c: Likewise.
76610         * elf/sotruss.ksh: Likewise.
76611         * catgets/gencat.c: Likewise.
76612         * csu/version.c: Likewise.
76613         * elf/ldd.bash.in: Likewise.
76614         * elf/sprof.c (print_version): Likewise.
76615         * locale/programs/locale.c: Likewise.
76616         * locale/programs/localedef.c: Likewise.
76617         * login/programs/pt_chown.c: Likewise.
76618         * nscd/nscd.c (print_version): Likewise.
76619         * debug/xtrace.sh: Likewise.
76620         * malloc/memusage.sh: Likewise.
76621         * malloc/mtrace.pl: Likewise.
76622         * debug/catchsegv.sh: Likewise.
76624 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
76626         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
76627         pure attribute.
76629 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
76631         [BZ #13533]
76632         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
76633         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
76634         transformations.
76635         * iconv/gconv_int.h: Likewise.
76636         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
76637         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
76638         from libc for GLIBC_2.16.
76639         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
76640         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
76641         * wcsmbs/uchar.h: Really define mbstate_t.
76642         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
76643         * wcsmbs/c16rtomb.c: New file.
76644         * wcsmbs/mbrtoc16.c: New file.
76645         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
76646         for C/POSIX locale.
76647         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
76648         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
76650         * wcsmbs/wchar.h: Add missing __restrict.
76652 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
76654         [BZ #13532]
76655         * time/Makefile (routines): Add timespec_get.
76656         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
76657         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
76658         timespec for ISO C11.
76659         * time/timespec_get.c: New file.
76660         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
76661         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
76663         [BZ #13531]
76664         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
76665         * stdlib/stdlib.h: Declare aligned_alloc.
76666         * Versions.def: Add GLIBC_2.16 for libc.
76667         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
76669         [BZ 13527]
76670         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
76671         ISO C11.
76673         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
76674         code.
76676         [BZ #13528]
76677         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
76679         [BZ #13529]
76680         * assert/assert.h (static_assert): Define.
76682         * version.h: Update for 2.16 development version.
76684         [BZ #13526]
76685         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
76686         _ISOC11_SOURCE.
76688         * version.h (RELEASE): Bump for 2.15 release.
76689         * include/features.h (__GLIBC_MINOR__): Bump to 15.
76691         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
76692         Patch by Marek Polacek <mpolacek@redhat.com>.
76694         * bits/byteswap.h: Protect long long constants with __extension__.
76695         * sysdeps/i386/bits/byteswap.h: Likewise.
76696         * sysdeps/ia64/bits/byteswap.h: Likewise.
76697         * sysdeps/s390/bits/byteswap.h: Likewise.
76698         * sysdeps/x86_64/bits/byteswap.h: Likewise.
76700 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76702         [BZ #13540]
76703         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
76704         destination buffer.
76705         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
76707 2011-12-23  Marek Polacek  <polacek@redhat.com>
76709         * elf/dl-addr.c (determine_info): Add inline keyword.
76710         * elf/tst-auditmod4b.c (check_avx): Likewise.
76711         * elf/tst-auditmod6b.c (check_avx): Likewise.
76712         * elf/tst-auditmod6c.c (check_avx): Likewise.
76713         * elf/tst-auditmod7b.c (check_avx): Likewise.
76715 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
76717         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
76718         !__SSE_MATH__.
76720 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76722         [BZ #13540]
76723         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
76724         processing for last bytes.
76726 2011-08-06  Bruno Haible  <bruno@clisp.org>
76728         [BZ #13061]
76729         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
76730         U+0385, not to U+1FEE.
76732         [BZ #13062]
76733         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
76734         entry for U+00A5 U+0301.
76736 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
76738         [BZ #13166]
76739         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
76740         buffer for the output is too small.
76742         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
76743         optimization.
76745         [BZ #13185]
76746         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
76747         SSE flags if possible.
76749 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76751         [BZ #13540]
76752         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
76753         processing for last bytes.
76755 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
76757         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
76758         (syscall-list-default-options, syscall-list-default-condition)
76759         (syscall-list-includes): Define.
76760         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
76761         list of ABIs and options and #if conditions for each ABI.  Do not
76762         handle common syscalls between ABIs specially.
76763         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
76764         Remove.
76765         (syscall-list-variants, syscall-list-32bit-options)
76766         (syscall-list-32bit-condition, syscall-list-64bit-options)
76767         (syscall-list-64bit-condition): Define.
76768         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
76769         (syscall-list-variants, syscall-list-32bit-options)
76770         (syscall-list-32bit-condition, syscall-list-64bit-options)
76771         (syscall-list-64bit-condition): Define.
76772         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
76773         Remove.
76774         (syscall-list-variants, syscall-list-32bit-options)
76775         (syscall-list-32bit-condition, syscall-list-64bit-options)
76776         (syscall-list-64bit-condition): Define.
76777         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
76778         Remove.
76779         (syscall-list-variants, syscall-list-32bit-options)
76780         (syscall-list-32bit-condition, syscall-list-64bit-options)
76781         (syscall-list-64bit-condition): Define.
76783 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
76785         * locale/iso-639.def: Add brx entry.
76787         [BZ #13328]
76788         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
76789         Proposed by Mariusz_Cukr <marcukr@op.pl>.
76791         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
76792         __feraiseexcept_renamed.
76794 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
76796         [BZ #13538]
76797         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
76798         EPOLLET with unsigned values.
76799         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
76800         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
76802         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
76803         to large cancellation.
76804         * math/s_cacoshf.c: Likewise.
76805         * math/s_cacoshl.c: Likewise.
76807 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
76809         [BZ #13305]
76810         [BZ #12786]
76811         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
76812         * math/s_cacoshf.c: Likewise.
76813         * math/s_cacoshl.c: Likewise.
76815 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
76817         [BZ #13439]
76818         * iconv/gconv.h: Define __GCONV_SWAP.
76819         * iconvdata/unicode.c: The swap bit must be stored in __flags.
76820         * iconvdata/utf-16.c: Likewise.
76821         * iconvdata/utf-32.c: Likewise.
76823 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
76825         [BZ #13524]
76826         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
76827         numerator after shifting it by one limb.
76829 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
76831         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
76832         under [__USE_EXTERN_INLINES].
76834 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
76836         [BZ #13446]
76837         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
76839 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76841         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
76842         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
76843         optimized code.
76844         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
76845         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
76846         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
76847         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
76848         for strncasecmp/strncasecmp_l compilation.
76849         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
76850         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
76852 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
76854         [BZ #13484]
76855         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
76856         of __asm__.
76858 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
76860         [BZ #13506]
76861         * time/tzfile.c (__tzfile_read): Check values from file header.
76863 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
76865         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
76866         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
76867         * powerpc/powerpc32/dl-start.S: Likewise.
76868         * powerpc/powerpc32/elf/start.S: Likewise.
76869         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
76870         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
76871         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
76872         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
76873         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
76874         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
76875         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
76876         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
76877         * powerpc/powerpc32/fpu/s_round.S: Likewise.
76878         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
76879         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
76880         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
76881         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
76882         * powerpc/powerpc32/memset.S: Likewise.
76883         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
76884         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
76885         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
76886         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
76887         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
76888         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
76889         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
76890         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
76891         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
76892         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
76893         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
76894         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
76895         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
76897 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76899         * math/libm-test.inc: Added more nearbyint tests.
76900         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
76901         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
76902         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
76903         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
76905 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
76907         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
76908         FD_CLOEXEC.
76910 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76912         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
76913         Add wcscpy-ssse3 wcscpy-c.
76914         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
76915         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
76916         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
76917         * sysdeps/x86_64/wcschr.S: New file.
76918         * sysdeps/x86_64/wcsrchr.S: New file.
76919         * string/test-strcmp.c: Remove checking of wcscmp function for
76920         wrong alignments.
76921         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
76922         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
76923         wcsrchr-sse2 wcsrchr-c.
76924         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
76925         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
76926         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
76927         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
76928         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
76929         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
76930         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
76931         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
76932         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
76933         * wcsmbc/wcschr.c (WCSCHR): New macro.
76935 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76937         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
76938         * wcsmbs/test-wcsrchr.c: New file.
76939         * string/test-strrchr.c: Add wcsrchr support.
76940         (WIDE): New macro.
76941         * wcsmbs/test-wcscpy.c: New file.
76942         * string/test-strcpy.c: Add wcscpy support.
76943         (WIDE): New macro.
76945 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
76947         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
76948         the inner loop.
76950 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
76952         [BZ #13472]
76953         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
76955 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
76957         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
76958         Minor optimizations.
76960         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
76961         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
76962         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
76964 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
76966         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
76967         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
76968         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
76969         for gcc to avoid warnings.
76970         * inet/Makefile (tests): Add tst-checks.
76971         * inet/tst-checks.c: New file.
76973         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
76974         warning.
76976         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
76977         __wmemcmp_sse2.
76979         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
76980         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
76982         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
76984 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
76986         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
76987         problem.
76989         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
76991 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
76993         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
76994         conditional on GCC version.
76995         (__arch_compare_and_exchange_val_8_acq)
76996         (__arch_compare_and_exchange_val_16_acq)
76997         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
76998         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
76999         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
77001 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
77003         * sysdeps/sh/backtrace.c: New file.
77005 2011-12-02  Andreas Schwab  <schwab@redhat.com>
77007         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
77008         parenthesis.
77010 2011-12-01  Andreas Schwab  <schwab@redhat.com>
77012         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
77013         falling back to utime.
77015 2011-11-30  Andreas Schwab  <schwab@redhat.com>
77017         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
77018         expectations for float.
77020 2011-11-29  Andreas Schwab  <schwab@redhat.com>
77022         * locale/weight.h (findidx): Add parameter len.
77023         * locale/weightwc.h (findidx): Likewise.
77024         * posix/fnmatch_loop.c (FCT): Adjust caller.
77025         * posix/regcomp.c (build_equiv_class): Likewise.
77026         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
77027         * posix/regexec.c (check_node_accept_bytes): Likewise.
77028         * string/strcoll_l.c (STRCOLL): Likewise.
77029         * string/strxfrm_l.c (STRXFRM): Likewise.
77031 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
77033         * Makefile.in: Remove CVSOPT handling.
77034         * configure.in: Remove use of AC_REVISION.
77035         * iconvdata/Makefile (distribute): No need to filter out CVS.
77036         * scripts/list-sources.sh: Remove CVS, subversion and monotone
77037         handling.
77039 2011-11-16  Andreas Schwab  <schwab@redhat.com>
77041         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
77042         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
77043         [USE_AS_STRNCASECMP_L]: Likewise.
77044         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
77045         NO_TLS_DIRECT_SEG_REFS.
77046         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
77047         Fix argument offsets for non-PIC.
77048         [USE_AS_STRNCASECMP_L]: Likewise.
77049         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
77050         NO_TLS_DIRECT_SEG_REFS.
77052 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
77054         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
77055         O_CLOEXEC.
77056         * locale/loadlocale.c (_nl_load_locale): Likewise.
77058 2011-11-15  Andreas Schwab  <schwab@redhat.com>
77060         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
77061         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
77062         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
77063         (SYSCALL_GETTIME): Set errno on error.
77065         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
77066         count references to noai6ai_cached.
77068 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
77070         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
77072         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
77073         FD_CLOEXEC for /proc/self/maps.
77075         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
77076         FD_CLOEXEC for /proc/meminfo.
77078         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
77079         gai.conf.
77081         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
77082         FD_CLOEXEC for given file.
77084         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
77086         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
77087         FD_CLOEXEC for /etc/hosts.
77088         (_gethtent): Likewise.
77090         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
77092         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
77093         cancellation and set FD_CLOEXEC for /etc/netgroup.
77095         * nss/nss_files/files-key.c (search): Don't allow cancellation when
77096         reading /etc/publickey.
77098         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
77099         allow cancellation when reading /etc/group.
77101         * nss/nss_files/files-alias.c (internal_setent): Don't allow
77102         cancellation.
77103         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
77105         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
77106         when using data file.
77108         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
77110         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
77111         (write_nis_obj): Use "c" and "e" in fopen.
77113         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
77115         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
77117         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
77119         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
77121         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
77122         locale.alias.
77124         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
77126         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
77128         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
77130         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
77131         file parsing and set FD_CLOEXEC.
77133 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
77135         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
77137 2011-11-14  Andreas Schwab  <schwab@redhat.com>
77139         * malloc/arena.c (arena_get2): Don't call reused_arena when
77140         _int_new_arena failed.
77142 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
77144         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
77145         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
77146         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
77147         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
77148         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
77149         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
77150         to compile strcasecmp and strncasecmp.
77151         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
77152         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
77154         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
77156 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
77158         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
77159         locale-defines.sym to gen-as-const-headers.
77160         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
77161         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
77162         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
77163         to compile strcasecmp and strncasecmp.
77164         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
77165         strcasecmp_l and strncasecmp_l.
77166         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
77167         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
77168         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
77169         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
77170         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
77171         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
77172         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
77173         * sysdeps/i386/i686/multiarch/strncase.S: New file.
77174         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
77175         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
77176         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
77178 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
77180         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
77181         result of SYSDEP_GETTIME_CPU to retval.
77182         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
77183         parameter list to macro.  Remove trailing semicolon.  Adjust users.
77185         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
77186         variable.
77188         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
77189         mantissa words.
77190         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
77192         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
77193         from unused variable.
77195         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
77196         DWARF definitions.
77197         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
77198         for assembling.
77200         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
77201         over namespaces.
77203         * sunrpc/rpc_prot.c (rejected): Fix case value.
77205         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
77206         unsigned long long int to avoid warnings in shift.
77208         * posix/regex_internal.c (re_string_reconstruct): Actually use result
77209         of use of trans.
77210         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
77211         variable tmp.
77213         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
77214         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
77215         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
77217         * nis/nis_table.c (nis_list): Use variable of correct type for
77218         result of __follow_path call.
77220 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77222         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
77223         of math functions ceil, trunc, floor, round, and sqrt, when
77224         avaliable on the platform.
77225         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
77226         name clash.
77227         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
77228         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
77229         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
77231 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
77233         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
77234         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
77236 2011-11-11  Roland McGrath  <roland@hack.frob.com>
77238         * include/unistd.h: Fix __readlink return type.
77239         Reported by Chris Metcalf <cmetcalf@tilera.com>.
77241 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
77243         * stdlib/ucontext.h: Undo last change for makecontext.
77245 2011-11-11  Andreas Schwab  <schwab@redhat.com>
77247         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
77249         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
77250         * setjmp/setjmp.h: Mark functions as non-leaf.
77251         * setjmp/bits/setjmp2.h: Likewise.
77252         * stdlib/ucontext.h: Likewise.
77254 2011-11-10  Andreas Schwab  <schwab@redhat.com>
77256         * malloc/arena.c (_int_new_arena): Don't increment narenas.
77257         (reused_arena): Don't check arena limit.
77258         (arena_get2): Atomically check arena limit.
77260 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
77262         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
77263         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
77265         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
77266         instructions.
77268 2011-11-07  Andreas Schwab  <schwab@redhat.com>
77270         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
77271         handler when locking.
77273         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
77274         Fix size of allocated buffer.
77276 2011-11-04  Andreas Schwab  <schwab@redhat.com>
77278         [BZ #10103]
77279         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
77280         declarations for long double functions.
77281         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
77283         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
77285 2011-11-03  Andreas Schwab  <schwab@redhat.com>
77287         * nscd/nscd.c (main): Don't start AVC thread until credentials are
77288         installed.
77290         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
77291         is disabled.
77293 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77295         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
77297 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
77299         * include/alloca.h (stackinfo_alloca_round): Define.
77300         (extend_alloca): Use it.
77301         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
77302         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
77303         here.
77305         * scripts/check-local-headers.sh: Ignore libaudit.h.
77307         * nscd/Makefile (extra-objs): Make recursively expanded.
77309 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
77311         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
77312         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
77314         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
77315         * posix/tst-rfc3484-2.c: Likewise.
77316         * posix/tst-rfc3484-3.c: Likewise.
77318         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
77319         process_vm_writev.
77320         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
77321         process_vm_writev.
77322         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
77323         process_vm_writev from libc using GLIBC_2.15 version.
77325         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
77327 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
77329         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
77330         stack usage.
77332 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
77334         [BZ #13367]
77335         * nss/getent.c (initgroups_keys): Show error message in case no group
77336         names are given.
77338         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
77339         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
77340         __bump_nl_timestamp.
77341         * nscd/connections (nscd_init): When host database is served open
77342         netlink socket and request notification about configuration changes.
77343         (main_loop_poll): Track netlink file descriptor and bump timestamp
77344         in case data becomes available.
77345         (main_loop_epoll): Likewise.
77346         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
77347         (database_pers_head): Add extra_data fileds.
77348         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
77349         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
77350         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
77351         Adjust caller.
77352         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
77353         in6ai data, call __free_in6ai.
77354         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
77355         Add -DHAVE_NETLINK.
77356         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
77357         interface information.  Reuse previous data if netlink timestamp
77358         is not changed.
77359         (__bump_nl_timestamp): New function.
77360         (__free_in6ai): New function.
77362 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
77364         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
77365         close_not_cancel_no_status here.
77366         (__check_pf): Reorganize code a bit to not call close twice if OOM.
77368 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
77370         [BZ #13276]
77371         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
77372         return value.
77374         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
77375         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
77376         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
77378 2011-07-03  Andreas Jaeger  <aj@suse.de>
77380         [BZ #10709]
77381         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
77382         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
77383         * math/libm-test.inc (sin_test): Add test case.
77385 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
77387         [BZ #13337]
77388         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
77389         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
77391         * elf/chroot_canon.c (chroot_canon): Cleanups.
77393         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
77395         [BZ #13335]
77396         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
77397         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
77399         * string/test-strchr.c: Make usable for strchrnul testing.
77400         * string/test-strchrnul.c: New file.
77401         * string/Makefile (strop-tests): Add strchrnul.
77403         * po/it.po: Update from translation team.
77404         * po/es.po: Likewise.
77406 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
77408         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
77409         the three constants needed as parameters.  Drop the others.
77410         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
77411         __m128i_strloadu_tolower.
77412         Create and initialize variable zero and use it in all the places
77413         where _mm_setzero_si128 was used.
77415         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
77416         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
77417         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
77418         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
77419         anymore.
77420         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
77421         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
77422         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
77423         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
77424         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
77425         __mpranred, __mptan.
77426         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
77427         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
77428         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
77429         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
77430         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
77431         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
77432         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
77433         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
77434         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
77436 2011-10-28  Andreas Schwab  <schwab@redhat.com>
77438         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
77439         redefine if SHARED.
77440         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
77442         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
77443         wide char related routines to wcsmbs subdir.
77445 2011-10-27  Andreas Schwab  <schwab@redhat.com>
77447         [BZ #13344]
77448         * misc/sys/cdefs.h (__THROWNL): Define.
77449         * posix/unistd.h: Use __THREADNL instead of __THREAD
77450         for memory synchronization functions.
77452 2011-10-26  Roland McGrath  <roland@hack.frob.com>
77454         [BZ #13349]
77455         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
77456         doesn't exist.
77457         * manual/stdio.texi (Obstack Streams): Node removed.
77459 2011-10-26  Andreas Schwab  <schwab@redhat.com>
77461         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
77462         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
77463         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
77465         * math/math_private.h (math_force_eval): Allow non-addressable
77466         arguments.
77467         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
77469 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
77471         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
77472         file is not needed.
77474         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
77475         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
77476         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
77477         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
77478         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
77479         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
77480         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
77481         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
77482         Add AVX variants.
77483         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
77484         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
77485         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
77486         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
77487         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
77488         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
77489         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
77490         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
77491         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
77492         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
77493         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
77494         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
77495         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
77496         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
77497         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
77498         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
77499         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
77500         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
77501         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
77503         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
77504         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
77506         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
77507         place.  Use VEX encoding when compiling for AVX.
77509 2011-10-25  Andreas Schwab  <schwab@redhat.com>
77511         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
77512         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
77514         * string/test-strchr.c (do_test): Don't generate NUL bytes.
77516 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
77518         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
77519         useless if() expression.
77520         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
77521         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
77522         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
77523         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
77524         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
77525         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
77526         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
77527         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
77528         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
77529         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
77530         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
77531         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
77532         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
77533         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
77534         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
77535         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
77536         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
77537         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
77538         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
77540         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
77542 2011-10-25  Andreas Schwab  <schwab@redhat.com>
77544         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
77545         condition.
77546         * elf/dl-fini.c (_dl_sort_fini): Likewise.
77548 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
77550         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
77551         .text section.  Avoid duplicate constants.
77552         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
77553         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77554         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
77555         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77556         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
77557         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77558         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77559         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77560         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
77561         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
77562         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
77563         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
77564         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
77565         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
77566         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
77567         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
77568         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
77569         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
77570         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
77571         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
77572         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
77573         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
77574         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
77575         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
77576         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
77577         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
77578         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
77579         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
77580         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
77581         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
77582         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
77583         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
77584         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
77585         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
77586         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
77587         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
77588         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
77589         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
77590         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
77591         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
77592         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
77593         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
77594         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
77595         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
77596         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
77598 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
77600         * sysdeps/x86_64/dla.h: Move to ...
77601         * sysdeps/x86_64/fpu/dla.h: ...here.
77602         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
77603         situations.  Use __builtin_fma only for gcc 4.6 and up.
77605         * config.make.in: Add have-mfma4 entry.
77606         * configure.in: Substitute libc_cv_cc_fma4.
77607         * math/Makefile (dbl-only-routines): Add sincostab.
77608         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
77609         Use __sincostab not sincos.
77610         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
77611         name is a macro.
77612         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
77613         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77614         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77615         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
77616         using __copysign.
77617         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
77618         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
77619         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
77620         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
77621         and __inv.
77622         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
77623         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
77624         __copysign.
77625         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
77626         define aliases when function name is a macro.
77627         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
77628         sysdeps/ieee754/dbl-64/sincos.tbl.
77629         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
77630         fma4-enabled routines.
77631         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
77632         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
77633         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
77634         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
77635         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
77636         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
77637         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
77638         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
77639         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
77640         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
77641         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
77642         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
77643         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
77644         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
77645         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
77646         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
77647         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
77648         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
77649         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
77650         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
77651         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
77652         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
77653         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
77654         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
77655         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
77656         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
77657         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
77658         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
77659         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
77660         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
77662         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
77663         rename.
77664         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77665         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77666         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77667         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77668         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77669         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77670         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
77671         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
77673 2011-10-24  Andreas Schwab  <schwab@redhat.com>
77675         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
77677 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
77679         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
77681         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
77682         prediction.
77683         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
77685         * string/strnlen.c: Don't define STRNLEN, reverse logic.
77686         Remove unused variable magic_bits.
77687         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
77689         * string/strnlen.c: Define and use STRNLEN macro.
77690         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
77691         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
77692         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
77693         * wcsmbs/wcslen.c: Define and use WCSLEN.
77694         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
77695         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
77696         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
77697         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
77698         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
77699         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
77700         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
77702 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77704         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77705         strnlen-sse2-no-bsf.
77706         Rename strlen-no-bsf to strlen-sse2-no-bsf.
77707         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
77708         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
77709         Add strnlen support.
77710         (USE_AS_STRNLEN): New macro.
77711         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
77712         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
77713         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
77714         * sysdeps/x86_64/wcslen.S: New file.
77716 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
77718         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
77719         XMM-moves are used for copying on small sizes.
77721 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77723         * wcsmbs/Makefile (strop-tests): Add wcschr.
77724         * wcsmbs/test-wcschr.c: New file.
77725         * string/test-strchr.c: Update.
77726         Add wcschr support.
77727         (WIDE): New macro.
77729 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77731         * wcsmbs/Makefile (strop-tests): Add wcslen.
77732         * wcsmbs/test-wcslen.c: New file.
77733         * string/test-strlen.c: Update.
77734         Add wcslen support.
77735         (WIDE): New macro.
77737 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
77739         * po/it.po: Update from translation team.
77741 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77743         * sysdeps/x86_64/wcscmp.S: Update.
77744         Fix wrong comparison semantics.
77745         wcscmp shall use signed comparison not unsigned.
77746         Don't use substraction to avoid overflow bug.
77747         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
77748         * wcsmbc/wcscmp.c: Likewise.
77749         * string/test-strcmp.c: Likewise.
77750         Add new tests to check cases with negative values.
77752 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
77754         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
77755         * sysdeps/x86_64/dla.h: ...here.  New file.
77756         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
77757         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77758         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77759         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77760         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77761         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
77762         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77763         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
77764         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
77766 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
77768         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
77769         __ynl_finite aliases.
77771 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
77773         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77775         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
77776         define DLA_FMA.
77777         [DLA_FMA] (EMULV): Use DLA_FMA.
77778         [DLA_FMA] (MUL12): Use EMULV.
77779         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
77780         that are not needed.
77781         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77782         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77783         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77784         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77785         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77786         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
77787         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
77789 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
77791         * math/s_nan.c: Undef __nan.
77792         * math/s_nanf.c: Undef __nanf.
77793         * math/s_nanl.c: Undef __nanl.
77794         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
77795         "math_private.h".
77797 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
77799         * math/s_catan.c: Add branch predictions.
77800         * math/s_catanf.c: Likewise.
77801         * math/s_catanh.c: Likewise.
77802         * math/s_catanhf.c: Likewise.
77803         * math/s_catanhl.c: Likewise.
77804         * math/s_catanl.c: Likewise.
77805         * math/s_cexp.c: Likewise.
77806         * math/s_cexpf.c: Likewise.
77807         * math/s_cexpl.c: Likewise.
77808         * math/s_clog.c: Likewise.
77809         * math/s_clog10.c: Likewise.
77810         * math/s_clog10f.c: Likewise.
77811         * math/s_clog10l.c: Likewise.
77812         * math/s_clogf.c: Likewise.
77813         * math/s_clogl.c: Likewise.
77814         * math/s_csqrt.c: Likewise.
77815         * math/s_csqrtf.c: Likewise.
77816         * math/s_csqrtl.c: Likewise.
77817         * math/s_ctanf.c: Likewise.
77818         * math/s_ctanh.c: Likewise.
77819         * math/s_ctanhf.c: Likewise.
77820         * math/s_ctanhl.c: Likewise.
77821         * math/s_ctanl.c: Likewise.
77823         * math/math_private.h: Define __nan, __nanf, __nanl.
77824         * math/s_cacosh.c: Include <math_private.h>.
77825         * math/s_cacoshl.c: Likewise.
77826         * math/s_casinh.c: Likewise.
77827         * math/s_casinhf.c: Likewise.
77828         * math/s_casinhl.c: Likewise.
77829         * math/s_ccos.c: Rely entire on ccosh.
77830         * math/s_ccosf.c: Rely entire on ccoshf.
77831         * math/s_ccosl.c: Rely entirely on ccoshl.
77832         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
77833         Remove tests for FE_INVALID.
77834         * math/s_ccoshf.c: Likewise.
77835         * math/s_ccoshl.c: Likewise.
77836         * math/s_csin.c: Likewise.
77837         * math/s_csinf.c: Likewise.
77838         * math/s_csinh.c Likewise.
77839         * math/s_csinhf.c: Likewise.
77840         * math/s_csinhl.c: Likewise.
77841         * math/s_csinl.c: Likewise.
77842         * math/s_ctan.c: Likewise.
77843         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
77844         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
77845         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
77847 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
77849         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
77850         compilation problems.
77852         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
77853         __builtin_expect.
77855 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
77857         * sysdeps/i386/configure.in: Test for -mfma4 option.
77858         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
77859         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
77860         COMMON_CPUID_INDEX_80000001.
77861         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
77862         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
77863         use it if FMA3 is not supported.
77864         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
77866         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
77867         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
77869 2011-10-20  Andreas Schwab  <schwab@redhat.com>
77871         [BZ #12892]
77872         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
77873         it would create a cycle with a link time dependency.
77875 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
77877         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
77878         instruction.
77879         * string/Makefile (strop-tests): Add rawmemchr.
77880         * string/test-rawmemchr.c: New file.
77882         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
77883         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
77884         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
77885         when compiling str{,n}casecmp and when AVX is available.  Hook up
77886         new optimized code in initializers.
77888 2011-10-19  Andreas Schwab  <schwab@redhat.com>
77890         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
77891         __feraiseexcept instead of feraiseexcept.
77893 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
77895         * math/math_private.h: Define defaults for libc_fetestexcept and
77896         libc_feupdateenv.
77897         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
77898         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
77899         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
77900         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
77901         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
77902         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
77903         libc_fetestexcept and libc_feupdateenv.
77905         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
77906         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
77907         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
77908         * sysdeps/x86_64/fpu/math_private.h: Define special version of
77909         libc_feholdexcept_setround.
77911         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
77912         Add s_nearbyint-c and s_nearbyintf-c.
77913         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
77914         nearbyintf inlines.
77915         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
77916         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
77917         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
77918         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
77920         * math/math_private.h: Define defaults for libc_fegetround,
77921         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
77922         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
77923         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
77924         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
77925         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
77926         standard functions.
77927         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
77928         Remove comments and hacks for old compiler versions.
77929         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
77930         libc_fegetround, libc_fesetround, libc_feholdexcept, and
77931         libc_feholdexceptl.
77933 2011-10-18  Andreas Schwab  <schwab@redhat.com>
77935         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
77936         (__feraiseexcept_renamed): Add __NTH.
77937         (feraiseexcept): Add __NTH.  Rename local variables to fix
77938         namespace violations.
77940 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
77942         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
77944         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
77946         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
77947         recently added interfaces.
77948         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
77950         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
77951         about macro parameter expansion.
77953         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
77954         __NO_MATH_INLINES is defined.  Cleanups.
77956         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
77957         and __floorf is target has SSE4.1.
77958         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
77959         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
77960         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
77961         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
77963         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
77964         name.
77965         (floorf): Likewise.
77967         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
77969 2011-10-17  Andreas Schwab  <schwab@redhat.com>
77971         * misc/sys/cdefs.h: Fix last change.
77973         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
77974         database lookup.
77976 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
77978         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
77980         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
77981         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
77982         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
77983         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
77984         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
77985         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
77986         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
77987         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
77988         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
77989         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
77990         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
77991         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
77992         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
77993         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
77994         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
77995         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
77996         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
77997         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
77998         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
77999         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
78000         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
78001         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
78003         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
78004         ceil, ceilf, floor, floorf.
78006         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
78007         Perform IRELATIVE relocations last.
78009         * elf/do-rel.h: Add another parameter nrelative, replacing the
78010         local variable with the same name.  Change name of the function
78011         to end in Rel or Rela (uppercase).
78012         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
78013         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
78014         elf_dynamic_do_##reloc function.
78016 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
78018         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
78019         is sufficient, at least on modern CPUs.
78021         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
78023         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
78024         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
78026         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
78027         __expl_finite.
78028         * math/bits/math-finite.h: Add entries for exp.
78029         * math/e_expl.c: Add __*_finite alias.
78030         * sysdeps/i386/fpu/e_exp.S: Likewise.
78031         * sysdeps/i386/fpu/e_expf.S: Likewise.
78032         * sysdeps/i386/fpu/e_expl.c: Likewise.
78033         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
78034         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
78035         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
78036         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
78037         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
78038         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
78039         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
78041         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
78042         is sufficient, at least on modern CPUs.
78044         * ctype/ctype-info.c (__ctype_init): Define.
78045         * include/ctype.h (__ctype_init): Declare.
78046         (__ctype_b_loc): The variable is always initialized.
78047         (__ctype_toupper_loc): Likewise.
78048         (__ctype_tolower_loc): Likewise.
78049         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
78050         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
78052 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
78054         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
78056         * configure.in: Also look in $cxxmachine/include for C++ system
78057         headers.
78059 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78061         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
78062         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
78063         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
78064         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
78065         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
78066         (USE_AS_WMEMCMP): New macro.
78067         Fixing indents.
78068         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
78069         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
78070         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
78071         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
78072         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78073         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
78074         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
78075         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
78076         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
78077         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
78078         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
78079         (USE_AS_WMEMCMP): New macro.
78080         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
78081         * sysdeps/string/test-memcmp.c: Update.
78082         Fix simple_wmemcmp.
78083         Add new tests.
78084         * wcsmbs/wmemcmp.c: Update.
78085         (WMEMCMP): New macro.
78086         Fix overflow bug.
78088 2011-10-12  Andreas Jaeger  <aj@suse.de>
78090         [BZ #13268]
78091         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
78093 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
78095         * libio/iofwide.c (do_length): Avoid warning.
78097         * ctype/ctype.h (__isctype_f): Add missing __THROW.
78099 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
78101         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
78103         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
78104         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
78105         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
78106         * sysdeps/i386/i686/fpu/e_log.S: New file.
78107         * sysdeps/i386/i686/fpu/e_logf.S: New file.
78108         * sysdeps/i386/i686/fpu/e_logl.S: New file.
78110         * ctype/ctype.h: Add support for inlined isXXX functions when
78111         compiling C++ code.
78113 2011-10-14  Andreas Schwab  <schwab@redhat.com>
78115         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
78117         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
78119 2011-10-13  Roland McGrath  <roland@hack.frob.com>
78121         [BZ #13291]
78122         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
78124 2011-10-13  Andreas Schwab  <schwab@redhat.com>
78126         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
78127         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
78128         feraiseexcept.
78130         * sysdeps/x86_64/memrchr.S: Check for zero size.
78132         * string/stratcliff.c: Add memrchr tests.
78134 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78136         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78137         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
78138         rawmemchr-sse2 rawmemchr-sse2-bsf.
78139         * sysdeps/i386/i686/multiarch/memchr.S: New file.
78140         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
78141         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
78142         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
78143         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
78144         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
78145         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
78146         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
78147         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
78148         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
78149         * string/memrchr.c (MEMRCHR): New macro.
78151 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
78153         Add integration with gcc's -ffinite-math-only and optimize wrapper
78154         functions in libm.
78155         * Versions.def: Define GLIBC_2.15 version for libm.
78156         * math/Makefile (headers): Add bits/math-finite.h.
78157         * math/bits/math-finite.h: New file.
78158         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
78159         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
78160         * math/e_acoshl.c: Add __*_finite alias.
78161         * math/e_acosl.c: Likewise.
78162         * math/e_asinl.c: Likewise.
78163         * math/e_atan2l.c: Likewise.
78164         * math/e_atanhl.c: Likewise.
78165         * math/e_coshl.c: Likewise.
78166         * math/e_exp10.c: Likewise.
78167         * math/e_exp10f.c: Likewise.
78168         * math/e_exp10l.c: Likewise.
78169         * math/e_exp2l.c: Likewise.
78170         * math/e_fmodl.c: Likewise.
78171         * math/e_gammal_r.c: Likewise.
78172         * math/e_hypotl.c: Likewise.
78173         * math/e_j0l.c: Likewise.
78174         * math/e_j1l.c: Likewise.
78175         * math/e_jnl.c: Likewise.
78176         * math/e_lgammal_r.c: Likewise.
78177         * math/e_log10l.c: Likewise.
78178         * math/e_log2l.c: Likewise.
78179         * math/e_logl.c: Likewise.
78180         * math/e_powl.c: Likewise.
78181         * math/e_sinhl.c: Likewise.
78182         * math/e_sqrtl.c: Likewise.
78183         * math/e_scalb.c: Completely rewritten and optimized.
78184         * math/e_scalbf.c: Likewise.
78185         * math/e_scalbl.c: Likewise.
78186         * math/w_acos.c: Likewise.
78187         * math/w_acosf.c: Likewise.
78188         * math/w_acosl.c: Likewise.
78189         * math/w_acosh.c: Likewise.
78190         * math/w_acoshf.c: Likewise.
78191         * math/w_acoshl.c: Likewise.
78192         * math/w_asin.c: Likewise.
78193         * math/w_asinf.c: Likewise.
78194         * math/w_asinl.c: Likewise.
78195         * math/w_atan2.c: Likewise.
78196         * math/w_atan2f.c: Likewise.
78197         * math/w_atan2l.c: Likewise.
78198         * math/w_atanh.c: Likewise.
78199         * math/w_atanhf.c: Likewise.
78200         * math/w_atanhl.c: Likewise.
78201         * math/w_exp10.c: Likewise.
78202         * math/w_exp10f.c: Likewise.
78203         * math/w_exp10l.c: Likewise.
78204         * math/w_fmod.c: Likewise.
78205         * math/w_fmodf.c: Likewise.
78206         * math/w_fmodl.c: Likewise.
78207         * math/w_j0.c: Likewise.
78208         * math/w_j0f.c: Likewise.
78209         * math/w_j0l.c: Likewise.
78210         * math/w_j1.c: Likewise.
78211         * math/w_j1f.c: Likewise.
78212         * math/w_j1l.c: Likewise.
78213         * math/w_jn.c: Likewise.
78214         * math/w_jnf.c: Likewise.
78215         * math/w_log.c: Likewise.
78216         * math/w_logf.c: Likewise.
78217         * math/w_logl.c: Likewise.
78218         * math/w_log10.c: Likewise.
78219         * math/w_log10f.c: Likewise.
78220         * math/w_log10l.c: Likewise.
78221         * math/w_log2.c: Likewise.
78222         * math/w_log2f.c: Likewise.
78223         * math/w_log2l.c: Likewise.
78224         * math/w_pow.c: Likewise.
78225         * math/w_powf.c: Likewise.
78226         * math/w_powl.c: Likewise.
78227         * math/w_remainder.c: Likewise.
78228         * math/w_remainderf.c: Likewise.
78229         * math/w_remainderl.c: Likewise.
78230         * math/w_scalb.c: Likewise.
78231         * math/w_scalbf.c: Likewise.
78232         * math/w_scalbl.c: Likewise.
78233         * math/w_sqrt.c: Likewise.
78234         * math/w_sqrtf.c: Likewise.
78235         * math/w_sqrtl.c: Likewise.
78236         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
78237         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
78238         used.
78239         * math/math_private.h: Declare __kernel_standard_f.
78240         * math/w_cosh.c: Remove cruft and optimize a bit.
78241         * math/w_coshf.c: Likewise.
78242         * math/w_coshl.c: Likewise.
78243         * math/w_exp2.c: Likewise.
78244         * math/w_exp2f.c: Likewise.
78245         * math/w_exp2l.c: Likewise.
78246         * math/w_hypot.c: Likewise.
78247         * math/w_hypotf.c: Likewise.
78248         * math/w_hypotl.c: Likewise.
78249         * math/w_lgamma.c: Likewise.
78250         * math/w_lgamma_r.c: Likewise.
78251         * math/w_lgammaf.c: Likewise.
78252         * math/w_lgammaf_r.c: Likewise.
78253         * math/w_lgammal.c: Likewise.
78254         * math/w_lgammal_r.c: Likewise.
78255         * math/w_sinh.c: Likewise.
78256         * math/w_sinhf.c: Likewise.
78257         * math/w_sinhl.c: Likewise.
78258         * math/w_tgamma.c: Likewise.
78259         * math/w_tgammaf.c: Likewise.
78260         * math/w_tgammal.c: Likewise.
78261         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
78262         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
78263         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
78264         Minor optimizations.  Pretty printing.  Remove cruft.
78265         * sysdeps/i386/fpu/e_acosf.S: Likewise.
78266         * sysdeps/i386/fpu/e_acosh.S: Likewise.
78267         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
78268         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
78269         * sysdeps/i386/fpu/e_acosl.c: Likewise.
78270         * sysdeps/i386/fpu/e_asin.S: Likewise.
78271         * sysdeps/i386/fpu/e_asinf.S: Likewise.
78272         * sysdeps/i386/fpu/e_atan2.S: Likewise.
78273         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
78274         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
78275         * sysdeps/i386/fpu/e_atanh.S: Likewise.
78276         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
78277         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
78278         * sysdeps/i386/fpu/e_exp10.S: Likewise.
78279         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
78280         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
78281         * sysdeps/i386/fpu/e_exp2.S: Likewise.
78282         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
78283         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
78284         * sysdeps/i386/fpu/e_fmod.S: Likewise.
78285         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
78286         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
78287         * sysdeps/i386/fpu/e_hypot.S: Likewise.
78288         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
78289         * sysdeps/i386/fpu/e_log.S: Likewise.
78290         * sysdeps/i386/fpu/e_log10.S: Likewise.
78291         * sysdeps/i386/fpu/e_log10f.S: Likewise.
78292         * sysdeps/i386/fpu/e_log10l.S: Likewise.
78293         * sysdeps/i386/fpu/e_log2.S: Likewise.
78294         * sysdeps/i386/fpu/e_log2f.S: Likewise.
78295         * sysdeps/i386/fpu/e_log2l.S: Likewise.
78296         * sysdeps/i386/fpu/e_logf.S: Likewise.
78297         * sysdeps/i386/fpu/e_logl.S: Likewise.
78298         * sysdeps/i386/fpu/e_pow.S: Likewise.
78299         * sysdeps/i386/fpu/e_powf.S: Likewise.
78300         * sysdeps/i386/fpu/e_powl.S: Likewise.
78301         * sysdeps/i386/fpu/e_remainder.S: Likewise.
78302         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
78303         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
78304         * sysdeps/i386/fpu/e_scalb.S: Likewise.
78305         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
78306         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
78307         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
78308         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
78309         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
78310         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
78311         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
78312         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
78313         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
78314         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
78315         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
78316         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
78317         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
78318         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
78319         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
78320         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
78321         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
78322         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
78323         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
78324         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
78325         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
78326         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
78327         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
78328         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
78329         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
78330         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
78331         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
78332         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
78333         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
78334         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
78335         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
78336         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
78337         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
78338         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
78339         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
78340         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
78341         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
78342         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
78343         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
78344         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
78345         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
78346         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
78347         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
78348         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
78349         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
78350         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
78351         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
78352         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
78353         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
78354         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
78355         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
78356         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
78357         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
78358         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
78359         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
78360         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
78361         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
78362         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
78363         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
78364         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
78365         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
78366         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
78367         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
78368         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
78369         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
78370         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
78371         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
78372         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
78373         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
78374         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
78375         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
78376         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
78377         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
78378         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
78379         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
78380         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
78381         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
78382         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
78383         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
78384         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
78385         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
78386         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
78387         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
78388         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
78389         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
78390         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
78391         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
78392         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
78393         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
78394         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
78395         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
78396         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
78397         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
78398         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
78399         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
78400         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
78401         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
78402         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
78403         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
78404         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
78405         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
78406         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
78407         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
78408         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
78409         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
78410         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
78411         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
78412         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
78413         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
78414         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
78415         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
78416         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
78417         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
78418         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
78419         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
78420         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
78421         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
78422         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
78423         (__isnanf): Likewise.
78424         (__isinf_ns): Likewise.
78425         (__isinf_nsf): Likewise.
78426         (__finite): Likewise.
78427         (__finitef): Likewise.
78428         (__ieee754_sqrt): Define as macro.
78429         (__ieee754_sqrtf): Define as macro.
78430         (__ieee754_sqrtl): Define as macro.
78431         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
78432         inlined copy.
78433         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
78434         __FINITE_MATH_ONLY__ consistent.
78435         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
78437 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
78439         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
78440         of rawmemchr.
78442         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
78444 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
78446         * po/ja.po: Update from translation team.
78448 2011-10-08  Roland McGrath  <roland@hack.frob.com>
78450         * locale/programs/locarchive.c (prepare_address_space): New function.
78451         (create_archive, enlarge_archive, open_archive): Use it.
78453         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
78454         inside [SHARED], where it is used.
78456         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
78458         * nss/getent.c (netgroup_keys): Remove unused variable.
78459         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
78461 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
78463         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
78464         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
78465         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
78466         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
78467         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
78468         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
78469         * math/Makefile (libm-calls): Add s_isinf_ns.
78470         * math/divtc3.c: Use __isinf_nsl instead of isinf.
78471         * math/multc3.c: Likewise.
78472         * math/s_casin.c: Likewise.
78473         * math/s_casinf.c: Likewise.
78474         * math/s_casinl.c: Likewise.
78475         * math/s_ccos.c: Likewise.
78476         * math/s_ccosf.c: Likewise.
78477         * math/s_ccosl.c: Likewise.
78478         * math/s_ctan.c: Likewise.
78479         * math/s_ctanf.c: Likewise.
78480         * math/s_ctanh.c: Likewise.
78481         * math/s_ctanhf.c: Likewise.
78482         * math/s_ctanhl.c: Likewise.
78483         * math/s_ctanl.c: Likewise.
78484         * math/w_fmod.c: Likewise.
78485         * math/w_fmodf.c: Likewise.
78486         * math/w_fmodl.c: Likewise.
78487         * math/w_remainder.c: Likewise.
78488         * math/w_remainderf.c: Likewise.
78489         * math/w_remainderl.c: Likewise.
78490         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
78491         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
78492         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
78493         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
78494         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
78495         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
78496         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
78497         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
78499         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
78500         of the number.
78501         * stdio-common/printf_fphex.c: Likewise.
78502         * stdio-common/printf_size.c: Likewise.
78504         * math/e_exp10.c: Include math_private.h using <...> not "...".
78505         * math/e_exp10f.c: Likewise.
78506         * math/e_exp10l.c: Likewise.
78507         * math/e_exp2l.c: Likewise.
78508         * math/e_j0l.c: Likewise.
78509         * math/e_j1l.c: Likewise.
78510         * math/e_jnl.c: Likewise.
78511         * math/e_lgammal_r.c: Likewise.
78512         * math/e_rem_pio2l.c: Likewise.
78513         * math/e_scalb.c: Likewise.
78514         * math/e_scalbf.c: Likewise.
78515         * math/e_scalbl.c: Likewise.
78516         * math/k_cosl.c: Likewise.
78517         * math/k_sinl.c: Likewise.
78518         * math/k_tanl.c: Likewise.
78519         * math/s_cacoshf.c: Likewise.
78520         * math/s_catan.c: Likewise.
78521         * math/s_catanf.c: Likewise.
78522         * math/s_catanh.c: Likewise.
78523         * math/s_catanhf.c: Likewise.
78524         * math/s_catanhl.c: Likewise.
78525         * math/s_catanl.c: Likewise.
78526         * math/s_ccosh.c: Likewise.
78527         * math/s_ccoshf.c: Likewise.
78528         * math/s_ccoshl.c: Likewise.
78529         * math/s_cexp.c: Likewise.
78530         * math/s_cexpf.c: Likewise.
78531         * math/s_cexpl.c: Likewise.
78532         * math/s_clog.c: Likewise.
78533         * math/s_clog10.c: Likewise.
78534         * math/s_clog10f.c: Likewise.
78535         * math/s_clog10l.c: Likewise.
78536         * math/s_clogf.c: Likewise.
78537         * math/s_clogl.c: Likewise.
78538         * math/s_csin.c: Likewise.
78539         * math/s_csinf.c: Likewise.
78540         * math/s_csinh.c: Likewise.
78541         * math/s_csinhf.c: Likewise.
78542         * math/s_csinhl.c: Likewise.
78543         * math/s_csinl.c: Likewise.
78544         * math/s_csqrt.c: Likewise.
78545         * math/s_csqrtf.c: Likewise.
78546         * math/s_csqrtl.c: Likewise.
78547         * math/s_ctan.c: Likewise.
78548         * math/s_ctanf.c: Likewise.
78549         * math/s_ctanh.c: Likewise.
78550         * math/s_ctanhf.c: Likewise.
78551         * math/s_ctanhl.c: Likewise.
78552         * math/s_ctanl.c: Likewise.
78553         * math/s_ldexp.c: Likewise.
78554         * math/s_ldexpf.c: Likewise.
78555         * math/s_ldexpl.c: Likewise.
78556         * math/s_significand.c: Likewise.
78557         * math/s_significandf.c: Likewise.
78558         * math/s_significandl.c: Likewise.
78559         * math/w_acos.c: Likewise.
78560         * math/w_acosf.c: Likewise.
78561         * math/w_acosh.c: Likewise.
78562         * math/w_acoshf.c: Likewise.
78563         * math/w_acoshl.c: Likewise.
78564         * math/w_acosl.c: Likewise.
78565         * math/w_asin.c: Likewise.
78566         * math/w_asinf.c: Likewise.
78567         * math/w_asinl.c: Likewise.
78568         * math/w_atan2.c: Likewise.
78569         * math/w_atan2f.c: Likewise.
78570         * math/w_atan2l.c: Likewise.
78571         * math/w_atanh.c: Likewise.
78572         * math/w_atanhf.c: Likewise.
78573         * math/w_atanhl.c: Likewise.
78574         * math/w_cosh.c: Likewise.
78575         * math/w_coshf.c: Likewise.
78576         * math/w_coshl.c: Likewise.
78577         * math/w_dremf.c: Likewise.
78578         * math/w_exp10.c: Likewise.
78579         * math/w_exp10f.c: Likewise.
78580         * math/w_exp10l.c: Likewise.
78581         * math/w_exp2.c: Likewise.
78582         * math/w_exp2f.c: Likewise.
78583         * math/w_fmod.c: Likewise.
78584         * math/w_fmodf.c: Likewise.
78585         * math/w_fmodl.c: Likewise.
78586         * math/w_hypot.c: Likewise.
78587         * math/w_hypotf.c: Likewise.
78588         * math/w_hypotl.c: Likewise.
78589         * math/w_j0.c: Likewise.
78590         * math/w_j0f.c: Likewise.
78591         * math/w_j0l.c: Likewise.
78592         * math/w_j1.c: Likewise.
78593         * math/w_j1f.c: Likewise.
78594         * math/w_j1l.c: Likewise.
78595         * math/w_jn.c: Likewise.
78596         * math/w_jnf.c: Likewise.
78597         * math/w_jnl.c: Likewise.
78598         * math/w_lgamma.c: Likewise.
78599         * math/w_lgamma_r.c: Likewise.
78600         * math/w_lgammaf.c: Likewise.
78601         * math/w_lgammaf_r.c: Likewise.
78602         * math/w_lgammal.c: Likewise.
78603         * math/w_lgammal_r.c: Likewise.
78604         * math/w_log.c: Likewise.
78605         * math/w_log10.c: Likewise.
78606         * math/w_log10f.c: Likewise.
78607         * math/w_log10l.c: Likewise.
78608         * math/w_log2.c: Likewise.
78609         * math/w_log2f.c: Likewise.
78610         * math/w_log2l.c: Likewise.
78611         * math/w_logf.c: Likewise.
78612         * math/w_logl.c: Likewise.
78613         * math/w_pow.c: Likewise.
78614         * math/w_powf.c: Likewise.
78615         * math/w_powl.c: Likewise.
78616         * math/w_remainder.c: Likewise.
78617         * math/w_remainderf.c: Likewise.
78618         * math/w_remainderl.c: Likewise.
78619         * math/w_scalb.c: Likewise.
78620         * math/w_scalbf.c: Likewise.
78621         * math/w_scalbl.c: Likewise.
78622         * math/w_sinh.c: Likewise.
78623         * math/w_sinhf.c: Likewise.
78624         * math/w_sinhl.c: Likewise.
78625         * math/w_sqrt.c: Likewise.
78626         * math/w_sqrtf.c: Likewise.
78627         * math/w_sqrtl.c: Likewise.
78628         * math/w_tgamma.c: Likewise.
78629         * math/w_tgammaf.c: Likewise.
78630         * math/w_tgammal.c: Likewise.
78632         * po/ja.po: Update from translation team.
78634 2011-09-29  Andreas Jaeger  <aj@suse.de>
78636         [BZ #13179]
78637         * sunrpc/netname.c (netname2host): Fix logic.
78639         [BZ #6779]
78640         [BZ #6783]
78641         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
78642         correctly.
78643         * math/w_remainder.c (__remainder): Likewise.
78644         * math/w_remainderf.c (__remainderf): Likewise.
78645         * math/libm-test.inc (remainder_test): Add test cases.
78647 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78649         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
78650         sdiv_qrnnd.
78652 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
78654         * string/test-memcmp.c: Avoid unncessary #defines.
78655         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
78657 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78659         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
78660         Use new sse2 version for core i3 - i7 as it's faster
78661         than sse42 version.
78662         (bit_Prefer_PMINUB_for_stringop): New.
78663         * sysdeps/x86_64/rawmemchr.S: Update.
78664         Replace with faster SSE2 version.
78665         * sysdeps/x86_64/memrchr.S: New file.
78666         * sysdeps/x86_64/memchr.S: Update.
78667         Replace with faster SSE2 version.
78669 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
78671         * elf/dl-load.c (lose): Add cast to avoid warning.
78673 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
78675         * po/ca.po: Update from translation team.
78677         * inet/getnetgrent_r.c: Hook up nscd.
78678         * nscd/Makefile (routines): Add nscd_netgroup.
78679         (nscd-modules): Add netgroupcache.
78680         (CFLAGS-netgroupcache.c): Define.
78681         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
78682         (cache_search): Add const to second parameter.
78683         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
78684         INNETGR.
78685         (dbs): Add netgrdb entry.
78686         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
78687         (verify_persistent_db): Handle netgrdb.
78688         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
78689         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
78690         GETFDNETGR.
78691         (netgroup_response_header): Define.
78692         (innetgroup_response_header): Define.
78693         (datahead): Add netgroup_response_header and innetgroup_response_header
78694         elements.
78695         * nscd/nscd.conf: Add entries for netgroup cache.
78696         * nscd/nscd.h (dbtype): Add netgrdb.
78697         (_PATH_NSCD_NETGROUP_DB): Define.
78698         (netgroup_iov_disabled): Declare.
78699         (xmalloc, xcalloc, xrealloc): Move declarations here.
78700         (cache_search): Adjust prototype.
78701         Add netgroup-related prototypes.
78702         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
78703         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
78704         (__nscd_innetgr): Declare.
78705         * nscd/selinux.c (perms): Use access_vector_t as element type and
78706         add netgroup-related initializers.
78707         * nscd/netgroupcache.c: New file.
78708         * nscd/nscd_netgroup.c: New file.
78709         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
78710         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
78711         For four parameters use innetgr.
78712         * nss/nss_files/files-init.c: Add definition and callback for netgr.
78713         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
78714         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
78715         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
78717         * nscd/connections.c (register_traced_file): Don't register file
78718         for disabled databases.
78720 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
78722         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
78724         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
78725         from tree and freeing node.
78727 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
78729         * nss/nsswitch.c (__nss_database_lookup): Handle
78730         nss_parse_service_list out of memory case.
78732 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
78734         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
78735         out of memory case.
78737 2011-10-04  Andreas Schwab  <schwab@redhat.com>
78739         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
78740         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
78741         pass it down.
78742         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
78743         elf_machine_rela, elf_machine_lazy_rel.
78744         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
78745         (ELF_DYNAMIC_DO_REL): Likewise.
78746         (ELF_DYNAMIC_DO_RELA): Likewise.
78747         (ELF_DYNAMIC_RELOCATE): Likewise.
78748         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
78749         to ELF_DYNAMIC_DO_REL.
78750         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
78751         (dl_main): In trace mode always set __RTLD_NOIFUNC.
78752         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
78753         elf_machine_rela.
78754         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
78755         skip_ifunc, don't call ifunc function if non-zero.
78756         (elf_machine_rela): Likewise.
78757         (elf_machine_lazy_rel): Likewise.
78758         (elf_machine_lazy_rela): Likewise.
78759         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
78760         (elf_machine_lazy_rel): Likewise.
78761         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
78762         Likewise.
78763         (elf_machine_lazy_rel): Likewise.
78764         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
78765         Likewise.
78766         (elf_machine_lazy_rel): Likewise.
78767         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
78768         (elf_machine_lazy_rel): Likewise.
78769         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
78770         (elf_machine_lazy_rel): Likewise.
78771         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
78772         (elf_machine_lazy_rel): Likewise.
78773         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
78774         (elf_machine_lazy_rel): Likewise.
78775         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
78776         (elf_machine_lazy_rel): Likewise.
78777         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
78778         (elf_machine_lazy_rel): Likewise.
78780 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
78782         * nss/nss_files/files-init.c (_nss_files_init): Use static
78783         initialization for all the *_traced_file variables.
78785 2011-09-28  Andreas Schwab  <schwab@redhat.com>
78787         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
78789 2011-09-27  Roland McGrath  <roland@hack.frob.com>
78791         [BZ #13226]
78792         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
78794 2011-09-27  Andreas Schwab  <schwab@redhat.com>
78796         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
78797         Reread the line before reparsing it.
78799 2011-09-26  Andreas Schwab  <schwab@redhat.com>
78801         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
78803 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
78804             Maxim Kuvyrkov  <maxim@codesourcery.com>
78805             Joseph Myers  <joseph@codesourcery.com>
78807         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
78808         if needed for __stack_chk_guard.
78810 2011-09-19  Roland McGrath  <roland@hack.frob.com>
78812         * sysdeps/posix/spawni.c (script_execute): Always define it.
78813         It will be optimized away if unused.
78814         (maybe_script_execute): New function.
78815         (__spawni): Call it.
78817         * Makerules: Don't include tls.make.
78818         (config-tls): Always set to thread.
78819         * tls.make.c: File removed.
78821 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
78823         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
78824         * config.make.in (CPPFLAGS-config): New substituted variable.
78826 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
78828         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
78830         [BZ #13192]
78831         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
78832         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
78834 2011-09-15  Roland McGrath  <roland@hack.frob.com>
78836         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
78837         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
78838         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
78839         (CALL_FAIL): Likewise.
78840         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
78841         (CALL_FAIL): Macro removed.
78842         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
78844 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
78846         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
78847         for __FINITE_MATH_ONLY__ == 1.
78849 2011-09-15  Andreas Schwab  <schwab@redhat.com>
78851         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
78852         __ieee754_sqrt instead of sqrt.
78853         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
78854         __ieee754_sqrtf instead of sqrtf.
78855         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
78856         __floorf instead of floorf.
78857         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
78858         __floorf, __truncf instead of floorf, truncf.
78860 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
78862         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
78864         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
78865         __extern_always_inline.
78866         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
78867         32-bit.
78869 2011-09-14  Andreas Schwab  <schwab@redhat.com>
78871         * elf/rtld.c (dl_main): Also relocate in dependency order when
78872         doing symbol dependency testing.
78874 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
78876         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
78877         Always define `refsym'.
78879 2011-09-13  Andreas Schwab  <schwab@redhat.com>
78881         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
78882         (__FD_ELT): Renamed from __FDELT.
78883         * misc/bits/select2.h (__FD_ELT): Likewise.
78884         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
78885         __FD_MASK instead of __FDELT, __FDMASK.
78886         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
78887         Likewise.
78888         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
78889         Likewise.
78891         * elf/Makefile (gen-ldd): Fix pattern.
78893         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
78894         (init_tls): Likewise.
78896 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
78898         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
78900 2011-09-12  Andreas Schwab  <schwab@redhat.com>
78902         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
78903         `struct cmsghdr *' instead of `void *'.
78904         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
78905         Likewise.
78907 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
78909         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
78910         if non-absolute.
78911         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
78912         ldd_rewrite_script.
78914 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
78916         * configure.in: Remove --with-tls option.
78917         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
78918         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
78919         out in case it is missing.
78920         * sysdeps/ia64/elf/configure.in: Likewise.
78921         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
78922         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
78923         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
78924         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
78925         * sysdeps/sh/elf/configure.in: Likewise.
78926         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
78927         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
78928         * sysdeps/x86_64/elf/configure.in: Likewise.
78929         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
78930         * sysdeps/mach/hurd/tls.h: Likewise.
78932         [BZ #13067]
78933         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
78935         [BZ #13090]
78936         * configure.in: Fix use of AC_INIT.
78938         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
78940 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
78942         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
78943         __set_errno.
78944         * malloc/hooks.c: Likewise.
78946         [BZ #11929]
78947         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
78948         variables statically.
78949         (narenas): Initialize.
78950         (list_lock): Initialize.
78951         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
78952         initializtion of main_arena and list_lock.  Small cleanups.
78953         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
78954         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
78955         Add initializers to main_arena and mp_.
78956         (malloc_state): Remove pagesize member.  Change all users to use
78957         GLRO(dl_pagesize).
78959         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
78960         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
78961         is always initialized.
78963         * malloc/malloc.c: Removed unused configurations and dead code.
78964         * malloc/arena.c: Likewise.
78965         * malloc/hooks.c: Likewise.
78966         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
78968         * include/tls.h: Removed.  USE___THREAD must always be defined.
78969         * bits/libc-tsd.h: Don't handle !USE___THREAD.
78970         * elf/dl-libc.c: Likewise.
78971         * elf/dl-tsd.c: Likewise.
78972         * include/errno.h: Likewise.
78973         * include/netdb.h: Likewise.
78974         * include/resolv.h: Likewise.
78975         * inet/herrno-loc.c: Likewise.
78976         * inet/herrno.c: Likewise.
78977         * malloc/arena.c: Likewise.
78978         * malloc/hooks.c: Likewise.
78979         * malloc/malloc.c: Likewise.
78980         * resolv/res-state.c: Likewise.
78981         * resolv/res_libc.c: Likewise.
78982         * sysdeps/i386/dl-machine.h: Likewise.
78983         * sysdeps/ia64/dl-machine.h: Likewise.
78984         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
78985         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
78986         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
78987         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
78988         * sysdeps/sh/dl-machine.h: Likewise.
78989         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
78990         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
78991         * sysdeps/unix/i386/sysdep.S: Likewise.
78992         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
78993         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
78994         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
78995         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
78996         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
78997         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
78998         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
78999         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
79000         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
79001         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
79002         * sysdeps/unix/x86_64/sysdep.S: Likewise.
79003         * sysdeps/x86_64/dl-machine.h: Likewise.
79004         * tls.make.c: Likewise.
79006         * configure.in: Remove --with-__thread option.  Make tests for
79007         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
79008         tls_model attribute fail if no support is available.  Remove
79009         USE_IN_LIBIO.
79010         * Makeconfig: Adjust for dropped configure option.  All features are
79011         now mandatory.
79012         * Makerules: Likewise.
79013         * Versions.def: Likewise.
79014         * argp/argp-fmtstream.c: Likewise.
79015         * argp/argp-fmtstream.h: Likewise.
79016         * argp/argp-help.c: Likewise.
79017         * assert/assert.c: Likewise.
79018         * config.h.in: Likewise.
79019         * config.make.in: Likewise.
79020         * configure: Likewise.
79021         * configure.in: Likewise.
79022         * csu/Versions: Likewise.
79023         * csu/init.c: Likewise.
79024         * elf/tst-audit2.c: Likewise.
79025         * elf/tst-tls10.c: Likewise.
79026         * elf/tst-tls10.h: Likewise.
79027         * elf/tst-tls11.c: Likewise.
79028         * elf/tst-tls12.c: Likewise.
79029         * elf/tst-tls14.c: Likewise.
79030         * elf/tst-tlsmod11.c: Likewise.
79031         * elf/tst-tlsmod12.c: Likewise.
79032         * elf/tst-tlsmod13.c: Likewise.
79033         * elf/tst-tlsmod13a.c: Likewise.
79034         * elf/tst-tlsmod14a.c: Likewise.
79035         * elf/tst-tlsmod15b.c: Likewise.
79036         * elf/tst-tlsmod16a.c: Likewise.
79037         * elf/tst-tlsmod16b.c: Likewise.
79038         * elf/tst-tlsmod7.c: Likewise.
79039         * elf/tst-tlsmod8.c: Likewise.
79040         * elf/tst-tlsmod9.c: Likewise.
79041         * gmon/gmon.c: Likewise.
79042         * grp/fgetgrent_r.c: Likewise.
79043         * grp/putgrent.c: Likewise.
79044         * hurd/fopenport.c: Likewise.
79045         * include/libc-symbols.h: Likewise.
79046         * include/tls.h: Likewise.
79047         * intl/gettextP.h: Likewise.
79048         * intl/loadinfo.h: Likewise.
79049         * locale/global-locale.c: Likewise.
79050         * locale/localeinfo.h: Likewise.
79051         * mach/devstream.c: Likewise.
79052         * malloc/arena.c: Likewise.
79053         * malloc/set-freeres.c: Likewise.
79054         * misc/err.c: Likewise.
79055         * misc/getttyent.c: Likewise.
79056         * misc/mntent_r.c: Likewise.
79057         * posix/getopt.c: Likewise.
79058         * posix/wordexp.c: Likewise.
79059         * pwd/fgetpwent_r.c: Likewise.
79060         * resolv/Versions: Likewise.
79061         * resolv/res_hconf.c: Likewise.
79062         * shadow/fgetspent_r.c: Likewise.
79063         * shadow/putspent.c: Likewise.
79064         * stdio-common/printf_fphex.c: Likewise.
79065         * stdio-common/tmpfile.c: Likewise.
79066         * stdlib/abort.c: Likewise.
79067         * stdlib/fmtmsg.c: Likewise.
79068         * sunrpc/auth_unix.c: Likewise.
79069         * sunrpc/clnt_perr.c: Likewise.
79070         * sunrpc/clnt_tcp.c: Likewise.
79071         * sunrpc/clnt_udp.c: Likewise.
79072         * sunrpc/clnt_unix.c: Likewise.
79073         * sunrpc/openchild.c: Likewise.
79074         * sunrpc/svc_simple.c: Likewise.
79075         * sunrpc/svc_tcp.c: Likewise.
79076         * sunrpc/svc_udp.c: Likewise.
79077         * sunrpc/svc_unix.c: Likewise.
79078         * sunrpc/xdr.c: Likewise.
79079         * sunrpc/xdr_array.c: Likewise.
79080         * sunrpc/xdr_rec.c: Likewise.
79081         * sunrpc/xdr_ref.c: Likewise.
79082         * sunrpc/xdr_stdio.c: Likewise.
79084 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
79086         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
79088 2011-07-03  Andreas Jaeger  <aj@suse.de>
79090         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
79091         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
79092         regenerate with gen-libm-tests.pl.
79094 2010-05-12  Petr Baudis  <pasky@suse.cz>
79096         [BZ #11589]
79097         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
79098         around j0() zero points by switching to j1().
79099         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
79100         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
79101         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
79102         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
79104 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
79106         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
79107         instead of 0.
79108         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
79109         instead of 0.
79110         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
79111         Patch in part by Pavel Roskin <proski@gnu.org>.
79113         [BZ #13138]
79114         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
79115         realloc.
79116         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
79117         Free memory block if necessary.
79119         [BZ #12847]
79120         * libio/genops.c (INTDEF): For string streams the _lock pointer can
79121         be NULL.  Don't lock in this case.
79123 2011-09-09  Roland McGrath  <roland@hack.frob.com>
79125         * elf/elf.h (ELFOSABI_GNU): New macro.
79126         (ELFOSABI_LINUX): Define to that.
79128 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
79130         * string/strncat.c (strncat): Undef the symbol in case it has been
79131         defined in bits/string.h.
79133 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
79135         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
79137         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
79138         link map.
79140 2011-08-17  Andreas Jaeger  <aj@suse.de>
79142         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
79144 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
79145             Ian Lance Taylor  <iant@google.com>
79147         * math/libm-test.inc (lround_test): New testcase.
79148         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
79150 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
79152         * Makefile: Remove support for automatic cvs check-ins.
79153         * Makerules: Likewise.
79154         * config.make.in: Likewise.
79155         * configure.in: Likewise.
79156         * intl/Makefile: Likewise.
79157         * locale/Makefile: Likewise.
79158         * po/Makefile: Likewise.
79159         * posix/Makefile: Likewise.
79160         * sysdeps/gnu/Makefile: Likewise.
79161         * sysdeps/mach/hurd/Makefile: Likewise.
79162         * sysdeps/sparc/sparc32/Makefile: Likewise.
79164         [BZ #13118]
79165         * posix/Makefile (bug-regex32-ENV): Define.
79166         Patch by John Stanley <jpsinthemix@verizon.net>.
79168         * misc/Makefile (headers): Add bits/select2.h.
79169         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
79170         * misc/bits/select2.h: New file.
79171         * include/bits/select2.h: New file.
79172         * debug/Makefile (routines): Add fdelt_chk.
79173         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
79174         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
79175         FD_ISSET.
79176         * debug/fdelt_chk.c: New file.
79178         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
79179         * wcsmbs/test-wmemcmp.c: Likewise.
79180         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
79181         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
79183 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79185         * string/Makefile (strop-tests): Add memcmp.
79186         * string/test-wmemcmp.c: New file.
79187         * string/test-memcmp.c: Add wmemcmp support.
79189 2011-09-08  Roland McGrath  <roland@hack.frob.com>
79191         [BZ #13153]
79192         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
79193         2011-07-19 change.
79195         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
79196         garbage value in a __mach_port_mod_refs call in the cases of the
79197         task-self and thread-self ports.
79199 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79201         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
79203 2011-09-08  Andreas Schwab  <schwab@redhat.com>
79205         * elf/dl-load.c (lose): Check for non-null L.
79207 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
79209         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
79211         * elf/dl-libc.c (dlerror_run): Pass back error code from
79212         dl_catch_error.
79214         [BZ #13123]
79215         * elf/dl-load.c (lose): Free l_origin if it is valid.
79217         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
79218         names.
79219         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
79220         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
79221         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
79222         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
79223         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
79224         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
79226 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79228         * sysdeps/powerpc/fpu/e_hypot.c: New file.
79229         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
79230         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
79231         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
79232         * sysdeps/powerpc/fpu/k_cosf.c: New file.
79233         * sysdeps/powerpc/fpu/k_sinf.c: New file.
79234         * sysdeps/powerpc/fpu/s_cosf.c: New file.
79235         * sysdeps/powerpc/fpu/s_sinf.c: New file.
79236         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
79237         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
79239 2011-08-15  Alan Modra  <amodra@gmail.com>
79241         [BZ #13092]
79242         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
79243         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
79244         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
79245         ppc_mcount to static-only-routines.
79246         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
79247         __mcount_internal.
79248         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
79249         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
79251 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
79253         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
79254         for finite and infinity parameters.
79256 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
79258         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
79259         and add nop instructions for throughput optimization.
79260         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
79262 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
79264         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
79265         aligned copy for power7 with vector-scalar instructions.
79266         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
79268 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
79270         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
79271         AVX check.
79273 2011-09-07  Andreas Schwab  <schwab@redhat.com>
79275         [BZ #13144]
79276         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
79277         last change.
79279 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
79281         * sysdeps/unix/sysv/linux/x86_64/init-first.c
79282         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
79283         syscall wrapper around clock_gettime in __vdso_clock_gettime.
79284         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
79285         clock_gettime.
79287 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
79289         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
79290         Forgot to demangle the pointer.
79292         * sysdeps/i386/sysdep.h: Define atom_text_section.
79293         * sysdeps/x86_64/sysdep.h: Likewise.
79294         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
79295         section with atom_text_section.
79296         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
79297         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
79298         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
79299         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
79300         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
79302         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
79303         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
79304         already be defined.  Change to take two parameters and don't assign
79305         result to variable.  Adjust all users.
79306         Define INTERNAL_GETTIME if not already defined.
79307         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
79308         call.
79309         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
79310         HAVE_CLOCK_GETTIME_VSYSCALL.
79311         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
79313         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
79314         gettimeofday vsyscall, just use time.
79316 2011-09-06  Andreas Schwab  <schwab@redhat.com>
79318         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
79319         <errno.h>.
79321 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
79323         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
79324         syscall on x86-64.
79325         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
79326         syscall.
79327         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
79328         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
79329         syscall if possible.
79331 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
79333         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
79334         e_ident.  Don't pass to find_mapsXX.
79335         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
79337 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
79339         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79340         strchr-sse2-no-bsf strrchr-sse2-no-bsf
79341         * sysdeps/x86_64/multiarch/strchr.S: Update.
79342         Check bit_slow_BSF bit.
79343         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
79344         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
79345         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
79347 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
79349         [BZ #13134]
79350         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
79351         before glibc 2.15.
79352         (tryshell): Define.
79353         (__spawni): Change last parameter to be flag.  Test
79354         SPAWN_XFLAGS_USE_PATH flag to use path or not.
79355         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
79356         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
79357         * posix/spawni.c: Likewise.
79358         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
79359         * posix/spawnp.c: Likewise.  Change normal version to use
79360         SPAWN_XFLAGS_USE_PATH.
79361         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
79362         SPAWN_XFLAGS_TRY_SHELL.
79364         [BZ #13150]
79365         * posix/glob.h: Remove gcc 1.x support.
79367         [BZ #13068]
79368         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
79370 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
79372         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79373         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
79374         strrchr-sse2-bsf
79375         * sysdeps/i386/i686/multiarch/strchr.S: New file.
79376         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
79377         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
79378         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
79379         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
79380         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
79382 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79384         * sysdeps/x86_64/wcscmp.S: New file.
79386         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
79387         wcscmp-c wcscmp-sse2
79388         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
79389         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
79390         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
79391         * wcsmbs/wcscmp.c: Allow renaming.
79393 2011-09-05  David S. Miller  <davem@davemloft.net>
79395         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
79396         stack slot, rather than the struct return pointer slot.
79397         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
79398         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
79399         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
79400         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
79402 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
79404         * po/ja.po: Update from translation team.
79406         [BZ #13144]
79407         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
79408         kernel in 64-bit binaries.
79410 2011-09-01  David S. Miller  <davem@davemloft.net>
79412         * elf/elf.h (HWCAP_SPARC_*): Move to..
79413         * sysdeps/sparc/sysdep.h: this new file and add new values.
79414         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
79415         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
79416         _DL_HWCAP_COUNT to 24.
79417         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
79418         entries.
79419         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
79420         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
79421         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
79422         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
79423         instead of magic constants.
79424         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
79426 2011-08-31  David S. Miller  <davem@davemloft.net>
79428         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
79429         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
79430         Reimplement to do errno handling inline.
79431         (SYSCALL_ERROR_HANDLER): New macro.
79432         (__SYSCALL_STRING): Do not do errno handling in asm.
79433         (__CLONE_SYSCALL_STRING): Delete.
79434         (__INTERNAL_SYSCALL_STRING): Delete.
79435         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
79436         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
79437         (PSEUDO): Reimplement to do errno handling inline.
79438         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
79439         (SYSCALL_ERROR_HANDLER): New macro.
79440         (__SYSCALL_STRING): Do not do errno handling in asm.
79441         (__CLONE_SYSCALL_STRING): Delete.
79442         (__INTERNAL_SYSCALL_STRING): Delete.
79443         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
79444         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
79445         i386.
79446         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
79447         (inline_syscall*): Add 'err' argument.
79448         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
79449         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
79450         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
79451         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
79453         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
79454         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
79456 2011-08-30  Andreas Schwab  <schwab@redhat.com>
79458         * elf/rtld.c (dl_main): Relocate objects in dependency order.
79460 2011-08-29  Jiri Olsa <jolsa@redhat.com>
79462         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
79463         directive.
79465 2011-08-24  David S. Miller  <davem@davemloft.net>
79467         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
79469 2011-08-24  Andreas Schwab  <schwab@redhat.com>
79471         * elf/Makefile: Add rules to build and run unload8 test.
79472         * elf/unload8.c: New file.
79473         * elf/unload8mod1.c: New file.
79474         * elf/unload8mod1x.c: New file.
79475         * elf/unload8mod2.c: New file.
79476         * elf/unload8mod3.c: New file.
79478         * elf/dl-close.c (_dl_close_worker): Reset private search list if
79479         it wasn't used.
79481 2011-08-23  David S. Miller  <davem@davemloft.net>
79483         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
79484         subtract stack bias.
79485         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
79486         %sp not %fp in calculations.
79487         (_JMPBUF_UNWINDS_ADJ): Likewise.
79489         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
79490         (aio_suspend): Call it to force an exception region around the
79491         AIO_MISC_WAIT() invocation.
79493 2011-08-23  Andreas Schwab  <schwab@redhat.com>
79495         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
79496         backslash.
79498 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
79500         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
79501         protection macro.
79502         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
79503         and <dl-machine.h>.
79504         (Elf64_FuncDesc): Remove.
79506 2011-08-22  David S. Miller  <davem@davemloft.net>
79508         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
79509         sigaltstack check, add missing cfi directives.
79510         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
79511         missing cfi directives, and sigaltstack handling.
79513 2011-08-16  Andreas Schwab  <schwab@redhat.com>
79515         [BZ #11724]
79516         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
79517         object is seen twice.
79518         * elf/dl-fini.c (_dl_sort_fini): Likewise.
79520         * elf/Makefile (distribute): Add tst-initorder2.c.
79521         (tests): Add tst-initorder2.
79522         (modules-names): Add tst-initorder2a tst-initorder2b
79523         tst-initorder2c tst-initorder2d.  Add rules to build them.
79524         ($(objpfx)tst-initorder2.out): New rule.
79525         * elf/tst-initorder2.c: New file.
79526         * elf/tst-initorder2.exp: New file.
79528 2011-08-22  Andreas Schwab  <schwab@redhat.com>
79530         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
79532         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
79533         dependencies back to end of function.
79535         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
79536         $(elfobjdir)/ld.so.
79538 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
79540         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
79541         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
79542         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
79543         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
79544         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
79545         of __vdso_gettimeofday.
79546         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
79547         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
79548         attribute_hidden.
79549         (_libc_vdso_platform_setup): Remove initialization of
79550         __vdso_gettimeofday and __vdso_time.
79552 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
79554         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
79555         and fgetc_unlocked.
79556         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
79557         getc_unlocked.
79559         * elf/dl-open.c (add_to_global): Report additions to the global scope
79560         for LD_DEBUG=scopes.
79561         (dl_open_worker): Also print scope of newly loaded dependencies.
79562         (_dl_show_scope): Indicate if there is no scope.
79564         [BZ #13114]
79565         * stdio-common/Makefile (tests): Add bug24.
79566         * stdio-common/bug24.c: New file.
79568 2011-08-19  Andreas Jaeger  <aj@suse.de>
79570         [BZ #13114]
79571         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
79572         non-existant file when using close-on-exec mode.
79574 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
79576         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
79577         the very first instruction.
79579         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
79580         the CFI state in the end.
79581         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
79582         inclusion of dl-trampoline.h.
79583         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
79585 2011-08-19  Andreas Schwab  <schwab@redhat.com>
79587         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
79588         expectations for long double.
79590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
79591         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
79593 2011-08-14  David S. Miller  <davem@davemloft.net>
79595         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
79596         artificual limit depends upon the system page size.
79598 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
79600         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
79601         * resolv/Makefile: Define CFLAGS-libresolv.
79603 2011-08-17  Andreas Schwab  <schwab@redhat.com>
79605         * nss/makedb.c (compute_tables): Make variables used in nested
79606         function static.
79608 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
79610         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
79611         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
79612         if buffer was too small.
79614         * elf/pldd.c (main): Attach to all threads in the process.
79615         Rewrite /proc handling to use *at functions.
79617 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
79619         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
79620         specifies first scope to show.
79621         (dl_open_worker): Update callers.  Move printing scope of new
79622         object to before the relocation.
79623         * elf/rtld.c (dl_main): Update _dl_show_scope call.
79624         * sysdeps/generic/ldsodefs.h: Update declaration.
79626         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
79627         string for the scope number.
79629 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
79631         * nscd/servicescache.c (cache_addserv): Make sure written is always
79632         initialized.
79634 2011-08-14  Roland McGrath  <roland@hack.frob.com>
79636         * sysdeps/i386/i486/bits/atomic.h
79637         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
79638         statement expression, so as to suppress "set but not used" warning.
79639         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
79641         * string/strncat.c (STRNCAT): Use prototype definition.
79643         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
79644         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
79645         -Iprograms here.
79646         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
79647         (localedef-modules): Add localedef.
79648         (locale-modules): Add locale.
79650         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
79651         * elf/rtld.c (dl_main): Invert order of assignment in last change,
79652         to avoid a warning.
79654 2011-08-14  David S. Miller  <davem@davemloft.net>
79656         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
79657         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
79659 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
79661         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
79662         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
79663         * elf/rtld.c (dl_main): Set l_name of vDSO.
79664         Call _dl_show_scope when DL_DEBUG_SCOPES.
79665         (process_dl_debug): Recognize scopes flag and also set it for all.
79666         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
79667         Declare _dl_show_scope.
79669         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
79670         (do_dlopen): Pass caller_dlopen to dl_open.
79671         (__libc_dlopen_mode): Initialize caller_dlopen.
79673         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
79674         of libc.  Make tolower call locale-independent.  Optimize a bit by
79675         using isdigit instead of isalnum.
79676         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
79678 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
79680         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
79681         was a dependency or dynamically loaded.
79683 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
79685         * intl/l10nflist.c: Allow architecture-specific pop function.
79686         * sysdeps/x86_64/l10nflist.c: New file.
79688         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
79689         classification.
79691 2011-08-10  Andreas Schwab  <schwab@redhat.com>
79693         * include/dirent.h: Add libc_hidden_proto for scandirat and
79694         scandirat64.  Don't declare __scandirat64.
79695         * dirent/scandirat.c: Add libc_hidden_def.
79696         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
79697         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
79699 2011-08-10  David S. Miller  <davem@davemloft.net>
79701         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
79702         enum.
79703         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
79704         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
79705         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
79707 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
79709         * Versions.def [libc]: Add GLIBC_2.15.
79710         * dirent/Makefile (routines): Add scandirat and scandirat64.
79711         * dirent/Versions [libc]: Export scandirat and scandirat64 for
79712         GLIBC_2.15.
79713         * dirent/dirent.h: Declare scandirat and scandirat64.
79714         * dirent/scandirat.c: New file.
79715         * dirent/scandirat64.c: New file.
79716         * sysdeps/wordsize-64/scandirat.c: New file.
79717         * sysdeps/wordsize-64/scandirat64.c: New file.
79718         * dirent/opendir.c: Define opendirat.
79719         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
79720         using scandirat.
79721         * dirent/scandir64.c: Adjust for scandir.c change.
79722         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
79723         __scandirat64, and __scandir_cancel_handler.
79724         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
79725         additional parameter and use openat instead of open (outside of ld.so).
79726         Add new __opendir as wrapper around __opendirat.
79727         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
79728         here without requiring old scandirat implementation.
79730 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
79732         * dirent/scandir.c (cancel_handler): Renamed to
79733         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
79734         defined.  Adjust users.
79735         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
79736         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
79738 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
79740         * string/test-string.h (IMPL): Use __STRING to expand name and then
79741         stringify it.
79743         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
79744         of cleanups.
79746 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79748         * string/Makefile: Update.
79749         (strop-tests): Append strncat.
79750         * string/test-wcscmp.c: New file.
79751         New comprehensive test for wcscmp.
79752         * string/test-strcmp.c: Update.
79753         (WIDE): New define.
79755 2011-07-22  Andreas Schwab  <schwab@redhat.com>
79757         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
79758         line.
79760 2011-07-26  Andreas Schwab  <schwab@redhat.com>
79762         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
79763         encoding to ACE if AI_IDN.
79765 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
79767         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
79768         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
79770 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
79772         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
79773         Fix overflow bug in strncat.
79774         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
79776         * string/test-strncat.c: Update.
79777         Add new tests for checking overflow bugs.
79779 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
79781         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79782         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
79783         * sysdeps/i386/i686/multiarch/strcat.S: New file.
79784         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
79785         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
79786         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
79787         * sysdeps/i386/i686/multiarch/strncat.S: New file.
79788         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
79789         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
79791         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
79792         (USE_AS_STRCAT): Define.
79793         Add strcat and strncat support.
79794         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
79796 2011-07-25  Andreas Schwab  <schwab@redhat.com>
79798         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
79799         __n bigger than INT_MAX+1.
79800         (__strncmp_g): Likewise.
79802 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
79804         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
79805         * libio/stido.h: Likewise.
79807         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
79808         (AF_NFC): Define.
79809         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
79810         (AF_NFC): Define.
79812         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
79813         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
79814         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
79815         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
79816         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
79818         [BZ #13021]
79819         * scripts/test-installation.pl: Don't expect libnss_test1 to be
79820         installed.
79822         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
79823         typo.
79824         (_dl_x86_64_save_sse): Likewise.
79826 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
79828         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
79829         OSXSAVE.
79830         (_dl_x86_64_save_sse): Likewise.
79832         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
79834         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
79836 2011-07-21  Andreas Schwab  <schwab@redhat.com>
79838         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
79839         change.
79840         (_dl_x86_64_save_sse): Use correct AVX check.
79842 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79844         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
79845         bug in strncpy/strncat.
79846         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
79848 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
79850         * string/tester.c (test_strcat): Add tests for different alignments
79851         of source and destination.
79852         (test_strncat): Likewise.
79854 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
79856         [BZ #12852]
79857         * posix/glob.c (glob): Check passed in values before using them in
79858         expressions to avoid some overflows.
79859         (glob_in_dir): Likewise.
79861         [BZ #13007]
79862         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
79863         check for AVX enablement so that we don't crash with old kernels and
79864         new hardware.
79865         * elf/tst-audit4.c: Add same checks here.
79866         * elf/tst-audit6.c: Likewise.
79868         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
79870 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
79872         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
79874 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
79876         * po/cs.po: Update from translation team.
79877         * po/bg.po: Likewise.
79879 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
79881         * misc/sys/cdefs.h: Add support for const attribute.
79882         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
79883         to gnu_dev_{major,minor,makedev} functions.
79885 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
79887         * intl/dcigettext.c (get_output_charset): Add missing bracket.
79889 2011-07-20  Andreas Schwab  <schwab@redhat.com>
79891         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
79892         strlen results.
79894 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79896         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
79897         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
79898         register in order to avoid conflicts with the soft frame pointer
79899         being held in r11 when necessary.
79900         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
79901         (INTERNAL_VSYSCALL_NCS): Likewise.
79903 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
79905         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
79906         * elf/dl-fini.c (_dl_fini): Adjust caller.
79907         * elf/dl-close.c (_dl_close_worker): Likewise.
79908         * sysdeps/generic/ldsodefs.h: Adjust declaration.
79910 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
79912         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
79913         "aux_cache->nlibs < 0".
79915         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
79916         in the reload-count case.
79918 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
79920         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79921         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
79922         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
79923         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
79924         * sysdeps/x86_64/multiarch/strcat.S: New file.
79925         * sysdeps/x86_64/multiarch/strncat.S: New file.
79926         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
79927         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
79928         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
79929         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
79930         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
79931         (USE_AS_STRCAT): Define.
79932         Add strcat and strncat support.
79933         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
79934         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
79935         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
79936         * string/strncat.c: Update.
79937         (USE_AS_STRNCAT): Define.
79938         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79939         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
79940         and i7.
79941         * sysdeps/x86_64/multiarch/init-arch.h
79942         (bit_Prefer_PMINUB_for_stringop): New.
79943         (index_Prefer_PMINUB_for_stringop): Likewise.
79944         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
79945         bit_Prefer_PMINUB_for_stringop.
79947 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
79949         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
79950         buffer64.
79951         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
79952         of casting of buffer.
79953         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
79954         buffer32 and buffer64.
79955         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
79956         writes instead of casting of buffer.
79957         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
79958         buffer32.
79959         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
79960         casting of buffer.
79962 2011-07-19  Andreas Schwab  <schwab@redhat.com>
79964         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
79966 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
79968         * nscd/nscd.c (termination_handler): Don't do anything for a database
79969         if it has not yet been initialized.
79971 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
79973         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
79975 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
79977         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
79979 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
79981         * po/nl.po: Update from translation team.
79982         * po/sv.po: Likewise.
79984 2011-07-16  Roland McGrath  <roland@hack.frob.com>
79986         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
79987         now disallowed by GCC.
79989         * configure.in (use-default-link): Default to yes if a test -shared
79990         link meets our qualifications.
79991         * configure: Regenerated.
79993         * config.make.in (output-format): New variable.
79994         * configure.in: Check for ld --print-output-format support.
79995         * configure: Regenerated.
79996         * Makerules ($(common-objpfx)format.lds)
79997         [$(output-format) != unknown]: Just use $(output-format),
79998         instead of the linker-script munging.
80000 2011-07-14  Roland McGrath  <roland@hack.frob.com>
80002         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
80003         of $(common-objpfx)shlib.lds.
80004         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
80006         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
80007         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
80009         * configure.in (-z relro check): Adjust test code to add a large
80010         writable data section after it.
80011         * configure: Regenerated.
80013 2011-07-11  Roland McGrath  <roland@hack.frob.com>
80015         * configure.in (-z relro check): Fix test code to make the variable
80016         truly const.
80017         * configure: Regenerated.
80019 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
80021         * nscd/nscd.h (struct traced_file): Define.
80022         (struct database_dyn): Remove inotify_descr, reset_res, and filename
80023         elements.  Add traced_files.
80024         (inotify_fd): Declare.
80025         (register_traced_file): Declare.
80026         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
80027         (inotify_fd): Export.
80028         (resolv_conf_descr): Remove.
80029         (nscd_init): Move inotify descriptor creation to main.
80030         Don't register files for notification here.
80031         (register_traced_file): New function.
80032         (invalidate_cache): Don't use reset_res to determine whether to call
80033         res_init, go through the list of registered files.
80034         (main_loop_poll): The inotify descriptors are now stored in the
80035         structures for the traced files.
80036         (main_loop_epoll): Likewise.
80037         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
80038         to __nss_disable_nscd.
80039         * nscd/cache.c (prune_cache): There is no single inotify descriptor
80040         for a database anymore.  Check the records for all the registered
80041         files instead.
80042         * nss/Makefile (libnss_files-routines): Add files-init.
80043         (libnss_db-routines): Add db-init.
80044         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
80045         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
80046         * nss/nss_db/db-init.c: New file.
80047         * nss/nss_files/files-init.c: New file.
80048         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
80049         __nss_lookup_function.
80050         (__nss_lookup_function): Call nss_load_library.
80051         (nss_load_all_libraries): New function.
80052         (__nss_disable_nscd): Take parameter with callback function for files
80053         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
80054         used for the cached services.
80055         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
80056         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
80057         options for features to all the files in nscd.
80059         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
80061 2011-07-10  Roland McGrath  <roland@hack.frob.com>
80063         * csu/elf-init.c (__libc_csu_init): Comment typo.
80065 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
80067         * po/pl.po: Update from translation team.
80068         * po/ja.po: Likewise.
80069         * po/ru.po: Likewise.
80070         * po/ko.po: Likewise.
80071         * po/fr.po: Likewise.
80073 2011-07-09  Roland McGrath  <roland@hack.frob.com>
80075         * configure.in (.ctors/.dtors header and trailer check):
80076         Use an empirical test on a built program.
80077         * configure: Regenerated.
80079         * configure.in (-z relro check): Use an empirical test on a built DSO.
80080         Detect, but do not require, on ia64.
80081         * configure: Regenerated.
80083         * configure.in (READELF): Find it with AC_CHECK_TOOL.
80084         Update tests that use readelf to use $READELF instead.
80085         * configure: Regenerated.
80087 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
80089         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
80090         if the result is not used.
80092 2011-07-05  Andreas Jaeger  <aj@suse.de>
80094         [BZ#9696]
80095         * stdlib/tst-strtod.c: Add testcase.
80097 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
80099         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
80100         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
80101         The latter has a higher limit.  Take additional parameter to pass to
80102         the new function.
80103         (__pathconf): Pass file to __statfs_link_max.
80104         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
80105         __statfs_link_max.
80106         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
80107         __statfs_link_max.
80109         [BZ #12868]
80110         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
80111         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
80112         Handle Lustre.
80113         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
80114         (__statfs_filesize_max): Likewise.
80115         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
80117 2011-07-05  Andreas Jaeger  <aj@suse.de>
80119         * resolv/res_comp.c (dn_skipname): Remove unused variable.
80121 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
80123         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
80124         `status' variable.
80125         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
80126         Likewise.
80128 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
80130         * Makefile (strop-tests): Add strncat.
80131         * string/test-strncat.c: New file.
80133 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
80135         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
80137 2011-06-21  Andreas Jaeger  <aj@suse.de>
80139         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
80140         Copy rule from iconvdata/Makefile.
80142 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
80144         [BZ #12922]
80145         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
80146         but no long options are defined, just return 'W'.
80148 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
80150         [BZ #9696]
80151         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
80153 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
80155         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
80156         netgroups to read.
80157         (innetgr): Likewise.
80159 2011-07-05  Roland McGrath  <roland@hack.frob.com>
80161         * config.make.in (install_root): Default to $(DESTDIR).
80163 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
80165         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
80167 2011-07-02  Roland McGrath  <roland@hack.frob.com>
80169         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
80171         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
80172         containing directory rather than embedding absolute directory names.
80174         * scripts/check-local-headers.sh: Rewritten using awk.
80175         Match by word, not by line.  Print error messages for matches.
80176         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
80178         * Makerules [shlib-lds-flags empty]:
80179         ($(common-objpfx)libc_pic.opts): New target.
80180         ($(common-objpfx)libc_pic.os.clean): New target.
80181         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
80183         * config.make.in (OBJCOPY): New variable.
80184         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
80185         * configure: Regenerated.
80187         * config.make.in (use-default-link): New variable.
80188         * configure.in (use_default_link): Grok --with-default-link to set it.
80189         * configure: Regenerated.
80190         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
80191         (shlib-lds, shlib-lds-flags): Define to empty.
80193         * Makerules (shlib-lds): New variable.
80194         (shlib-lds-flags): New variable.
80195         (build-shlib, build-moduile, build-module-asneeded): Use it.
80196         ($(common-objpfx)libc.so): Use $(shlib-lds).
80197         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
80198         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
80200         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
80201         DT_FLAGS/DT_FLAGS_1 with zero flags.
80203         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
80204         linker script munging.
80206 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
80208         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
80209         as 128-bit value.
80210         * crypt/sha512.c (sha512_process_block): Perform total addition using
80211         128-bit if possible.
80212         (__sha512_finish_ctx): Likewise.
80213         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
80214         as 64-bit value.
80215         * crypt/sha256.c (SWAP64): Define.
80216         (sha256_process_block): Perform total addition using 64-bit if
80217         possible.
80218         (__sha256_finish_ctx): Likewise.
80220 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
80222         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
80223         * nscd/initgrcache.c (addinitgroupsX): Likewise.
80224         * nscd/hstcache.c (cache_addhst): Likewise.
80225         * nscd/grpcache.c (cache_addgr): Likewise.
80226         * nscd/aicache.c (addhstaiX): Likewise.
80227         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
80229 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
80231         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
80232         * nscd/initgrcache.c (addinitgroupsX): Likewise.
80233         * nscd/hstcache.c (cache_addhst): Likewise.
80234         * nscd/grpcache.c (cache_addgr): Likewise.
80235         * nscd/aicache.c (addhstaiX): Likewise.
80237 2011-07-01  Andreas Schwab  <schwab@redhat.com>
80239         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
80240         domain only when needed.
80242 2011-06-30  Andreas Schwab  <schwab@redhat.com>
80244         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
80245         is always restored.
80247 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
80249         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
80250         are re-adding the entry.
80251         * nscd/servicescache.c (cache_addserv): Likewise.
80253 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
80255         * sysdeps/generic/dl-irel.h: fix protection against multiple
80256         inclusions.
80257         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
80259 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
80261         [BZ #12935]
80262         * malloc/memusage.sh: Fix quoting in message.
80263         * debug/xtrace.sh: Likewise.
80265         * configure.in: Remove support for --experimental-malloc option, make
80266         it the default.
80267         * config.make.in: Likewise.
80268         * malloc/Makefile: Likewise.
80270 2011-06-27  Andreas Schwab  <schwab@redhat.com>
80272         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
80273         two-byte characters.
80275 2011-06-27  Roland McGrath  <roland@hack.frob.com>
80277         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
80278         AC_CACHE_CHECK invocation.
80279         * configure: Regenerated.
80281         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
80283 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
80285         [BZ #12350]
80286         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
80287         bit from old_res_options.
80289         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
80291         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
80292         value type for setfct.
80294 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
80296         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
80297         __gettimeofday instead of gettimeofday.
80299 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
80301         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
80303 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
80305         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
80307         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
80308         info.
80310 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
80312         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80313         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
80314         strcpy-sse2-unaligned strncpy-sse2-unaligned
80315         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
80316         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
80317         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
80318         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
80319         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
80320         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
80321         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
80322         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
80323         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
80324         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
80325         (STRCPY): Support SSE2 and SSSE3 versions.
80327 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
80329         [BZ #12874]
80330         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
80331         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
80332         kernels which artificially limit size of requests.
80334 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
80336         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80337         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
80338         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
80339         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
80340         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
80341         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
80342         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
80343         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
80344         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
80345         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
80346         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
80347         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
80348         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
80349         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
80350         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
80351         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80352         Enable unaligned load optimization for Intel Core i3, i5 and i7
80353         processors.
80354         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
80355         Define.
80356         (index_Fast_Unaligned_Load): Define.
80357         (HAS_FAST_UNALIGNED_LOAD): Define.
80359 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
80361         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
80363 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
80365         [BZ #12907]
80366         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
80367         until it is clear that the information is realy needed.
80368         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
80370 2011-06-22  Andreas Schwab  <schwab@redhat.com>
80372         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
80374 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
80376         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
80377         /sys/devices/system/cpu/online if it is usable.
80379         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
80380         reading the information from the /proc filesystem to once a second.
80382 2011-06-21  Andreas Jaeger  <aj@suse.de>
80384         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
80385         NULL after inclusion of kernel headers.
80387 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
80389         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
80390         calls to internal_setent.
80392         [BZ #12885]
80393         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
80394         addresses using gethostbyname4_r ignore IPv4 addresses.
80396         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
80397         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
80399         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
80401 2011-06-20  David S. Miller  <davem@davemloft.net>
80403         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
80404         inclusions.
80405         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
80407         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
80408         (elf_irel): Use it.
80409         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
80410         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
80411         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
80412         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
80413         * sysdeps/x86_64/dl-irel.h: Likewise.
80415         * elf/dl-runtime.c: Use elf_ifunc_invoke.
80416         * elf/dl-sym.c: Likewise.
80418 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
80420         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
80421         need to dereference resplen2.
80423 2011-06-14  Andreas Schwab  <schwab@redhat.com>
80425         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
80427 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
80429         * Makeconfig: Define vardbdir and inst_vardbdir.
80430         * nss/Makefile: Add rules to install db-Makefile.
80432         * nss/nss_db/db-XXX.c: Cleanup.
80434         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
80435         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
80436         GLIBC_PRIVATE.
80437         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
80438         * nss/makedb.c: Implement -g option to specify that value strings
80439         are generated and should not be added to table iterated over for
80440         get*ent calls.
80441         * nss/nss_db/db-initgroups.c: New file.
80443         * nss/getent.c: Add support for initgroups lookups through getgrouplist
80444         interface.
80446         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
80447         (internal_getgrouplist): Adjust to name change.
80448         Update use_initgroups_entry if this is not the first call.
80449         * nss/databases.def: Add initgroups entry.
80451         * nss/makedb.c (compute_tables): Check result of multiple hash table
80452         sizes to minimize maximum chain length.
80454 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
80456         * Versions.def: Add entry for libnss_db.
80457         * shlib-versions: Likewise.
80458         * nss/Makefile: Add rules to build libnss_db.
80459         * nss/Versions: Add libnss_db information.  Organize libnss_files
80460         entries better.
80461         * nss/db-Makefile: Add gshadow support.  Change rules for the new
80462         makedb progra.  Some minor improvements to generate smaller files.
80463         * nss/nss_db/nss_db.h: Move NSS database header data structures to
80464         here from...
80465         * nss/makedb.c: ...here.
80466         Improve database format to be smaller and require less memory at
80467         runtime.
80468         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
80469         db anymore.
80470         * nss/nss_db/db-netgrp.c: Likewise.
80471         * nss/nss_db/db-open.c: Likewise.
80472         * nss/nss_files/flies-XXX.x: Adjust comments.
80473         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
80474         * nss/nss_files/files-grp.c: Likewise.
80475         * nss/nss_files/files-hosts.c: Likewise.
80476         * nss/nss_files/files-network.c: Likewise.
80477         * nss/nss_files/files-proto.c: Likewise.
80478         * nss/nss_files/files-pwd.c: Likewise.
80479         * nss/nss_files/files-rpc.c: Likewise.
80480         * nss/nss_files/files-service.c: Likewise.
80481         * nss/nss_files/files-sgrp.c: Likewise.
80482         * nss/nss_files/files-spwd.c: Likewise.
80483         * nss/nss_db/db-alias.c: Removed.
80484         * nss/nss_db/dummy-db.h: Removed.
80486 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
80488         * nss/makedb.c: Rewritten to not use database library.
80489         * nss/Makefile: Update to build new makedb program.
80491 2011-06-14  Andreas Jaeger  <aj@suse.de>
80493         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
80494         memset declaration.
80496 2011-06-10  Andreas Schwab  <schwab@redhat.com>
80498         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
80499         tmpbuf.
80501 2011-06-10  Roland McGrath  <roland@hack.frob.com>
80503         * Makerules (shlib.lds): Fail if the linker script comes out empty.
80504         * elf/Makefile ($(objpfx)ld.so): Likewise.
80506         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
80507         Don't list ld.so twice in dependencies.
80509         * posix/bug-regex31.c: Include <stdlib.h>.
80511         * nscd/hstcache.c (cache_addhst): Remove unused variable.
80513         * nis/nss_compat/compat-spwd.c
80514         (getspent_next_nss_netgr): Remove unused variable.
80515         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
80517         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
80518         nonmembers" output to use the right array.
80520         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
80522         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
80524         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
80525         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
80526         * catgets/gencat.c (read_input_file): Likewise.
80527         * locale/programs/locarchive.c (enlarge_archive): Likewise.
80529         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
80530         variable definition inside #if's controlling its use.
80532         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
80534         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
80536         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
80538         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
80539         unreachable code.
80541         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
80543         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
80544         * configure: Regenerated.
80546         * Makerules: Revert last change.
80547         * elf/Makefile: Likewise.
80549 2011-06-09  Roland McGrath  <roland@hack.frob.com>
80551         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
80552         * elf/Makefile ($(objpfx)librtld.os): Likewise.
80553         (reloc-link): Likewise.
80555 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
80557         * elf/Makefile: Add rules to build pldd.
80558         * elf/pldd.c: New file.
80559         * elf/pldd-xx.c: New file.
80561 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
80563         * version.h: Update for 2.15 development version.
80565 2011-06-07  David S. Miller  <davem@davemloft.net>
80567         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
80568         ifuncs.
80569         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
80570         elf_machine_lazy_rel): Likewise.
80571         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
80572         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
80573         elf_machine_lazy_rel): Likewise.
80574         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
80575         dl_hwcap via passed in argument.
80576         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
80577         Likewise.
80579 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80581         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
80583 2011-06-06  Roland McGrath  <roland@hack.frob.com>
80585         [BZ #12849]
80586         * manual/fdl-1.1.texi: New file, verbatim from:
80587         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
80588         * manual/lgpl-2.1.texi: New file, verbatim from:
80589         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
80590         * manual/Makefile (licenses): New variable, list those new file names.
80591         (texis): Use it.
80592         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
80594         * manual/fdl.texi: File removed.
80595         * manual/lesser.texi: File removed.
80596         * manual/libc.texinfo (Copying, Documentation License):
80597         Use new @include file names, put @appendix directive before @include.
80599 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
80601         [BZ #12841]
80602         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
80603         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
80604         (mq_open): Add __NTH.
80606 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
80608         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80609         Assume Intel Core i3/i5/i7 processor if AVX is available.
80611 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
80613         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
80614         typo.
80616 2011-05-31  Andreas Schwab  <schwab@redhat.com>
80618         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
80619         memory.  Use alloca_account.  Fix memory leak when retrying.
80621 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
80623         * version.h (RELEASE): Bump for 2.14 release.
80624         * include/features.h (__GLIBC_MINOR__): Bump to 14.
80626         * config.make.in (RANLIB): Remove entry.
80628 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
80630         * po/Makefile (po-sed-cmd): Add ksh to extensions.
80631         (libc.pot): Work around missing support for .ksh extension in xgettext.
80633         [BZ #12684]
80634         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
80635         if both request failed.
80636         (send_dg): In case of server errors clear resplen or *resplen2.
80638         [BZ #12454]
80639         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
80640         when there are multiple maps.
80641         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
80642         (_dl_fini): Remove test here.
80644         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
80646 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
80648         [BZ #12350]
80649         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
80650         bit from old_res_options.
80651         (gaih_inet): Likewise.
80653         [BZ #11099]
80654         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
80655         as signed.
80657         * resolv/res_init.c (res_setoptions): Make the code more compact.
80659         [BZ #11558]
80660         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
80661         set RES_USEVC.
80663         [BZ #11634]
80664         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
80666         * malloc/malloc.h: Mark malloc hook variables as deprecated.
80668         [BZ #11781]
80669         * malloc/malloc.h: Declare malloc hook variables as volatile.
80671         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
80672         in last patch.
80674         [BZ #11799]
80675         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
80676         raise in the comment.
80677         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
80678         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
80679         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
80681 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
80683         [BZ #12811]
80684         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
80685         grow the buffers more if it already has to be sufficient.
80686         (build_wcs_upper_buffer): Likewise.
80687         * posix/regexec.c (check_matching): Likewise.
80688         (clean_state_log_if_needed): Likewise.
80689         (extend_buffers): Don't enlarge buffers beyond size of the input
80690         buffer.
80691         Patches mostly by Emil Wojak <emil@wojak.eu>.
80692         * posix/bug-regex32.c: New file.
80693         * posix/Makefile (tests): Add bug-regex32.
80695         * locale/findlocale.c (_nl_find_locale): Return right away if
80696         _nl_explode_name failed.
80697         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
80699         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
80701         * debug/xtrace.sh: Unify messages.
80702         * malloc/memusage.sh: Likewise.
80704         [BZ #12813]
80705         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
80706         time symbol from vDSO.  Substitute with vsyscall if not available.
80707         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
80708         __vdso_time.
80710         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
80711         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
80712         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
80713         Add sendmmsg and internal_sendmmsg.
80714         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
80715         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
80716         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
80718         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
80719         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
80720         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
80722 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
80724         [BZ #12813]
80725         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
80726         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
80727         available.
80728         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
80729         __vdso_getcpu.
80731         [BZ #12814]
80732         * iconvdata/Makefile (tests): Add bug-iconv9.
80733         * iconvdata/bug-iconv9.c: New file.
80735 2011-05-27  Andreas Schwab  <schwab@redhat.com>
80737         [BZ #12814]
80738         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
80740 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
80742         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
80743         (struct user_regs_struct): Change intcs field back to cs.
80745 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
80747         * po/ja.po: Update from translation team.
80749 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
80751         [BZ #12795]
80752         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
80753         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
80755 2011-05-20  Andreas Schwab  <schwab@redhat.com>
80757         * stdlib/longlong.h: Update from GCC.
80759 2011-05-23  Andreas Schwab  <schwab@redhat.com>
80761         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
80762         parameter name.
80763         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
80764         Add parameter name.
80765         (__sysconf): Pass it down.
80767 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
80769         [BZ #12671]
80770         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
80771         some situations.
80772         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
80773         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
80774         add in in __libc_use_alloca calls.  Adjust callers.
80775         (glob): Use malloc in some situations.
80777         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
80778         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
80779         pltexit.
80781 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
80783         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
80784         and CLOCK_BOOTTIME_ALARM.
80786         [BZ #12782]
80787         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
80788         is returned.
80790         * string/_strerror.c (__strerror_r): Print negative errors as signed
80791         numbers.
80793         [BZ #12777]
80794         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
80795         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
80796         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
80798         * configure.in: Fix typo in redirection and correct removal of test
80799         files in two cases.
80801         [BZ #12788]
80802         * locale/setlocale.c (new_composite_name): Fix test to check for
80803         identical name of all categories.
80805         [BZ #12792]
80806         * libio/filedoalloc.c (local_isatty): New function.
80807         (_IO_file_doallocate): Use local_isatty.
80808         * stdio-common/perror.c (perror): In case a new stream is used
80809         forward the stream error.
80810         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
80811         error flag.
80813 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
80815         [BZ #11884]
80816         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
80817         alloca.
80818         * include/alloca.h (extend_alloca_account): Define.
80820         [BZ #11857]
80821         * posix/regex.h: Fix comments with documentation of user-accessible
80822         fields after compilation and describe correct free'ing of pattern
80823         after re_compile_pattern.
80824         Patch by Reuben Thomas <rrt@sc3d.org>.
80826 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
80828         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
80829         and -mno-altivec to prevent the compiler from using Altivec and/or
80830         VSX instructions when the corresponding registers are not available.
80832 2011-05-19  Andreas Schwab  <schwab@redhat.com>
80834         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
80836 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
80838         * libio/freopen.c (freopen): Use __dup2, not dup2.
80839         * libio/freopen64.c (freopen64): Likewise.
80841 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
80843         [BZ #12775]
80844         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
80845         * math/Makefile (tests): Add test-powl.
80846         (CFLAGS-test-powl.c): Define.
80847         * math/test-powl.c: New file.
80849 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
80851         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
80853 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
80855         [BZ #11837]
80856         * iconvdata/gb18030.c: Update to GB18020-2005.
80858 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
80860         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
80861         RE_SYNTAX_POSIX_AWK): Update to match recent development.
80862         Patch by Aharon Robbins <arnold@skeeve.com>.
80864         [BZ #11892]
80865         * stdlib/putenv.c (putenv): Don't always create copy of the variable
80866         on the stack.
80868         [BZ #11895]
80869         * misc/pselect.c (__pselect): Handle timeout value errors hidden
80870         through underflows.
80872         [BZ #12766]
80873         * misc/error.c (error_at_line): Ensure file_name and old_file_name
80874         point to strings before performing equality test for error_one_per_line
80875         mode.
80877         [BZ #11697]
80878         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
80880         [BZ #11820]
80881         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
80882         (struct user_fpregs_struct): Avoid __uint*_t types.
80884         [BZ #6420]
80885         * malloc/mtrace.c (tr_where): Add additional parameter to point to
80886         symbol info.  Use it instead of calling _dl_addr locally.
80887         (lock_and_info): New function.
80888         (tr_freehook): Call lock_and_info and pass symbol info as additional
80889         parameter to tr_where.
80890         (tr_mallochook): Likewise.
80891         (tr_reallochook): Likewise.
80892         (tr_memalignhook): Likewise.
80894         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
80895         used and couldn't be at all thread-safe.
80897 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
80899         * libio/freopen.c (freopen): Don't close old file descriptor
80900         before the new one is opened.  Instead dup the new file descriptor
80901         to the old one after the new stream is created.
80902         * libio/freopen64.c (freopen64): Likewise.
80903         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
80904         * libio/fileops.c (_IO_new_file_close_it): Handle new
80905         _IO_FLAGS2_NOCLOSE flag.
80906         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
80907         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
80908         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
80909         _IO_FLAGS2_NOCLOSE flag.
80910         * include/unistd.h: Add hidden_proto for dup3.
80911         Define __have_dup3.
80912         * io/dup3.c: Define hidden symbol.
80913         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
80915         [BZ #7101]
80916         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
80917         when an incomplete long option is used.
80918         * posix/tst-getopt_long1.c: New file.
80919         * posix/Makefile (tests): Add tst-getopt_long1.
80921         [BZ #10138]
80922         * scripts/config.guess: Update from autoconf-2.68.
80923         * scripts/config.sub: Likewise.
80925         [BZ #10157]
80926         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
80927         tests into ...
80928         (has_cpuclock): ...this.  New function.
80929         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
80930         macro here based on has_cpuclock code.
80932         [BZ #10149]
80933         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
80934         First byte (not low byte) is now always NUL.
80935         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
80937         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
80938         Use non-cancelable interfaces.
80940         [BZ #9809]
80941         * locale/iso-639.def: Add entry for Sorani.
80943         [BZ #11901]
80944         * include/stdlib.h: Move include protection to the right place.
80945         Define abort_msg_s.  Declare __abort_msg with it.
80946         * stdlib/abort.c (__abort_msg): Adjust type.
80947         * assert/assert.c (__assert_fail_base): New function.  Majority
80948         of code from __assert_fail.  Allocate memory for __abort_msg with
80949         mmap.
80950         (__assert_fail): Now call __assert_fail_base.
80951         * assert/assert-perr.c: Remove bulk of implementation.  Use
80952         __assert_fail_base.
80953         * include/assert.hL Declare __assert_fail_base.
80954         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
80955         mmap.
80956         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
80958 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
80960         [BZ #11952]
80961         [BZ #12453]
80962         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
80963         until all modules are registered in the DTV.
80964         * elf/Makefile: Add rules to build and run tst-tls19.
80965         * elf/tst-tls19.c: New file.
80966         * elf/tst-tls19mod1.c: New file.
80967         * elf/tst-tls19mod2.c: New file.
80968         * elf/tst-tls19mod3.c: New file.
80969         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
80971         [BZ #12083]
80972         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
80973         correctly.
80975         [BZ #12601]
80976         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
80977         two-byte sequence errors.
80978         * iconvdata/Makefile (tests): Add bug-iconv8.
80979         * iconvdata/bug-iconv8.c: New file.
80981         [BZ #12626]
80982         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
80983         buf2 definition.
80985         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
80987         [BZ #12432]
80988         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
80989         (dummy_getcfa): New function.
80990         (init): Get _Unwind_GetCFA address, use dummy if not found.
80991         (backtrace_helper): In recursion check, also check whether CFA changes.
80992         (__backtrace): Completely initialize arg.
80994         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
80995         storing incomplete byte sequence in state object.  Avoid testing for
80996         guaranteed too small input if we know there is enough data available.
80998 2011-05-11  Andreas Schwab  <schwab@redhat.com>
81000         * Makeconfig (+link-pie): Indent.
81001         * Rules (binaries-pie): Define if $(have-fpie) and
81002         $(build-shared).
81003         (binaries-shared): Also filter out $(binaries-pie).
81004         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
81005         * nscd/Makefile (others-pie): Add nscd.
81006         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
81007         ($(objpfx)nscd): Remove command override.
81008         * login/Makefile (others-pie): Add pt_chown.
81009         ($(objpfx)pt_chown): Remove command override.
81010         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
81011         remove command overrides.
81013 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
81015         * libio/tst_putwc.c: Fix error messages.
81017         [BZ #12724]
81018         * libio/fileops.c (_IO_new_file_close_it): Always flush when
81019         currently writing and seek to current position when not.
81020         * libio/Makefile (tests): Add bug-fclose1.
81021         * libio/bug-fclose1.c: New file.
81023 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
81025         [BZ #12511]
81026         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
81027         don't set DF_1_NODELETE here.
81028         (do_lookup_x): When entering new entry test for copy relocation
81029         and if necessary set DF_1_NODELETE flag.
81030         * elf/tst-unique4.cc: New file.
81031         * elf/tst-unique4.h: New file.
81032         * elf/tst-unique4lib.cc: New file.
81033         * elf/Makefile: Add rules to build and run tst-unique4.
81034         Patch by Piotr Bury <pbury@goahead.com>.
81036 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
81038         [BZ #12052]
81039         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
81041         [BZ #12625]
81042         * misc/mntent_r.c (addmntent): Flush the stream after the output
81044         [BZ #12393]
81045         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
81046         (is_trusted_path_normalize): Skip initial colon.  Append slash
81047         to empty buffer.  Duplicate is_trusted_path code but allow
81048         constructed patch to be prefix.
81049         (is_dst): Allow $ORIGIN followed by /.
81050         (_dl_dst_substitute): Correct clearing of check_for_trusted.
81051         Correct testing of result of is_trusted_path_normalize
81052         (decompose_rpath): Fix warning.
81054 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
81056         [BZ #11257]
81057         * grp/initgroups.c (internal_getgrouplist): When we found the service
81058         list through the initgroups entry in nsswitch.conf do not always
81059         continue on a successful lookup.  Don't always use the
81060         __nss_group_database value if it is set.
81061         * nss/nsswitch.conf (initgroups): Change action for successful db
81062         lookup to continue for compatibility.
81064 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
81066         [BZ #11532]
81067         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
81068         and CP774 modules.
81069         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
81070         and CP774 modules.
81071         * iconvdata/tst-tables.sh: Likewise.
81072         * iconvdata/cp770.c: New file.
81073         * iconvdata/cp771.c: New file.
81074         * iconvdata/cp772.c: New file.
81075         * iconvdata/cp773.c: New file.
81076         * iconvdata/cp774.c: New file.
81077         * iconvdata/testdata/CP770: New file.
81078         * iconvdata/testdata/CP770..UTF8: New file.
81079         * iconvdata/testdata/CP771: New file.
81080         * iconvdata/testdata/CP771..UTF8: New file.
81081         * iconvdata/testdata/CP772: New file.
81082         * iconvdata/testdata/CP772..UTF8: New file.
81083         * iconvdata/testdata/CP773: New file.
81084         * iconvdata/testdata/CP773..UTF8: New file.
81085         * iconvdata/testdata/CP774: New file.
81086         * iconvdata/testdata/CP774..UTF8: New file.
81088         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
81089         END CHARMAP line.
81090         * iconvdata/gen-8bit-gap.sh: Likewise.
81091         * iconvdata/gen-8bit.sh: Likewise.
81093         * locale/iso-639.def: Add ary entry.
81095         [BZ #11258]
81096         * locale/C-translit.h.in: Add U20A1 transliteration.
81098         [BZ #12178]
81099         * locale/iso-639.def: Add wae entry.
81100         Patch by Kevin Bortis <bortis@translate-wae.ch>.
81102         [BZ #12545]
81103         * locale/programs/localedef.c (construct_output_path): Use ssize_t
81104         for n.
81106         [BZ #12711]
81107         * locale/C-translit.h.in: Add entry for U20B9.
81108         Patch by pravin.d.s@gmail.com.
81110 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
81112         [BZ #12713]
81113         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
81114         ENAMETOOLONG use generic getcwd.
81115         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
81116         in rtld.  Use *stat64.
81117         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
81118         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
81119         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
81120         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
81121         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
81122         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
81123         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
81124         __fstatat64 macros.
81125         * include/dirent.h: Add libc_hidden_proto for rewinddir.
81126         * dirent/rewinddir.c: Add libc_hidden_def.
81127         * sysdeps/mach/hurd/rewinddir.c: Likewise.
81128         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
81130         * include/dirent.h (__alloc_dir): Add flags parameter.
81131         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
81132         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
81133         __alloc_dir.
81134         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
81135         from fdopendir if O_CLOEXEC is already set.
81137 2011-03-15  Alan Modra  <amodra@gmail.com>
81139         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
81140         l_tls_firstbyte_offset non-zero.  Save padding offset in
81141         l_tls_firstbyte_offset for later use.
81142         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
81143         freeing static tls block.
81145 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
81147         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
81148         where #ifdef was intended.  The intent is to prevent ARG_MAX from
81149         being defined by the kernel headers.
81151 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
81153         [BZ #12734]
81154         * resolv/resolv.h: Define RES_NOTLDQUERY.
81155         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
81156         no-tld-query and set RES_NOTLDQUERY.
81157         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
81158         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
81159         modern BIND to search name as TLD unless forbidden.
81161 2011-05-07  Petr Baudis  <pasky@suse.cz>
81162             Ulrich Drepper  <drepper@gmail.com>
81164         [BZ #12393]
81165         * elf/dl-load.c (fillin_rpath): Move trusted path check...
81166         (is_trusted_path): ...to here.
81167         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
81168         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
81169         using is_trusted_path_normalize() in setuid scripts.
81171 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
81173         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
81174         __BEGIN/__END_DECLS.
81176 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
81178         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
81179         NSS_STATUS_NOTFOUND if no record was found.
81181 2011-05-05  Andreas Schwab  <schwab@redhat.com>
81183         * sunrpc/Makefile (headers): Add rpc/netdb.h.
81184         (headers-not-in-tirpc): Remove rpc/netdb.h
81185         * resolv/netdb.h: Revert last change.
81187 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
81189         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
81190         circular dependency between libgcc.a and libc.a.
81192 2011-05-05  Andreas Schwab  <schwab@redhat.com>
81194         * resolv/netdb.h: Don't include <rpc/netdb.h>.
81195         * nis/Makefile: Don't install rpcsvc/*.
81196         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
81197         instead of <rpc/types.h>.
81198         (MAXHOSTNAMELEN): Define.
81200 2011-05-03  Andreas Schwab  <schwab@redhat.com>
81202         * elf/ldconfig.c (add_dir): Don't crash on empty path.
81204 2011-04-28  Maciej Babinski  <mbabinski@google.com>
81206         [BZ #12714]
81207         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
81208         gethostbyname4_r when IPv6 results are possible.
81210 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
81212         [BZ #12723]
81213         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
81214         _PC_PIPE_BUF handling.
81216 2011-04-30  Bruno Haible  <bruno@clisp.org>
81218         [BZ #12717]
81219         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
81220         * resolv/netdb.h (getnameinfo): Change type of flags parameter
81221         to 'int'.
81222         * inet/getnameinfo.c (getnameinfo): Likewise.
81224 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
81226         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
81227         to groups setting in database lookup.
81228         * nss/nsswitch.conf: Add initgroups entry.
81230 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
81232         [BZ #12685]
81233         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
81234         mode string.
81235         Patch by Eric Blake <eblake@redhat.com>.
81237 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
81239         * sunrpc/Makefile (need-export-routines): Add svc_run.
81240         (routines): Remove svc_run.
81241         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
81242         * sunrpc/clnt_perr.c (clnt_perrno): Export.
81243         * sunrpc/svc_run.c (svc_run): Likewise.
81244         * sunrpc/svc_udp.c (svcudp_create): Likewise.
81246 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
81248         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
81249         problem in reallocation in last patch.
81251 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
81253         * sunrpc/Makefile: Move inclusion of Rules.
81255 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
81257         * nss/nss_files/files-initgroups.c: New file.
81258         * nss/Makefile (libnss_files-routines): Add files-initgroups.
81259         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
81260         _nss_files_initgroups_dyn.
81262 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
81264         * elf/elf.h (R_ARM_IRELATIVE): Define.
81266 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
81268         * po/ru.po: Update from translation team.
81270 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
81272         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
81273         dependencies.
81275 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
81277         [BZ #12653]
81278         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
81279         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
81280         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
81281         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
81282         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
81284 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
81286         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
81287         differing bytes.
81288         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
81289         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
81290         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
81292 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
81294         [BZ #12420]
81295         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
81296         storing it.
81297         * stdlib/bug-getcontext.c: New file.
81298         * stdlib/Makefile: Add rules to build and run bug-getcontext.
81300 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
81302         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
81303         instructions into .machine "z9-109".
81304         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
81305         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
81307 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
81309         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
81310         between environment variables and auxiliary vector.
81312 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
81314         * Makefile: Add rules to build linkobj/libc.so.
81315         * include/libc-symbols.h: Define libc_hidden_nolink.
81316         * include/rpc/auth.h: Mark functions which are to be hidden.
81317         * include/rpc/auth_des.h: Likewise.
81318         * include/rpc/auth_unix.h: Likewise.
81319         * include/rpc/clnt.h: Likewise.
81320         * include/rpc/des_crypt.h: Likewise.
81321         * include/rpc/key_prot.h: Likewise.
81322         * include/rpc/pmap_clnt.h: Likewise.
81323         * include/rpc/pmap_prot.h: Likewise.
81324         * include/rpc/pmap_rmt.h: Likewise.
81325         * include/rpc/rpc_msg.h: Likewise.
81326         * include/rpc/svc.h: Likewise.
81327         * include/rpc/svc_auth.h: Likewise.
81328         * include/rpc/xdr.h: Likewise.
81329         * nis/Makefile: Link all DSOs against linkobj/libc.so.
81330         * nss/Makefile: Likewise.
81331         * sunrpc/Makefile: Don't install headers.  Build library with normal
81332         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
81333         * sunrpc/auth_des.c: Hide exported symbols by default, export some
81334         for the compat linking library.  Remove use of INTDEF/INTUSE.
81335         * sunrpc/auth_none.c: Likewise.
81336         * sunrpc/auth_unix.c: Likewise.
81337         * sunrpc/authdes_prot.c: Likewise.
81338         * sunrpc/authuxprot.c: Likewise.
81339         * sunrpc/clnt_gen.c: Likewise.
81340         * sunrpc/clnt_perr.c: Likewise.
81341         * sunrpc/clnt_raw.c: Likewise.
81342         * sunrpc/clnt_simp.c: Likewise.
81343         * sunrpc/clnt_tcp.c: Likewise.
81344         * sunrpc/clnt_udp.c: Likewise.
81345         * sunrpc/clnt_unix.c: Likewise.
81346         * sunrpc/des_crypt.c: Likewise.
81347         * sunrpc/des_soft.c: Likewise.
81348         * sunrpc/get_myaddr.c: Likewise.
81349         * sunrpc/key_call.c: Likewise.
81350         * sunrpc/key_prot.c: Likewise.
81351         * sunrpc/netname.c: Likewise.
81352         * sunrpc/pm_getmaps.c: Likewise.
81353         * sunrpc/pm_getport.c: Likewise.
81354         * sunrpc/pmap_clnt.c: Likewise.
81355         * sunrpc/pmap_prot.c: Likewise.
81356         * sunrpc/pmap_prot2.c: Likewise.
81357         * sunrpc/pmap_rmt.c: Likewise.
81358         * sunrpc/publickey.c: Likewise.
81359         * sunrpc/rpc_cmsg.c: Likewise.
81360         * sunrpc/rpc_common.c: Likewise.
81361         * sunrpc/rpc_dtable.c: Likewise.
81362         * sunrpc/rpc_prot.c: Likewise.
81363         * sunrpc/rpc_thread.c: Likewise.
81364         * sunrpc/rtime.c: Likewise.
81365         * sunrpc/svc.c: Likewise.
81366         * sunrpc/svc_auth.c: Likewise.
81367         * sunrpc/svc_authux.c: Likewise.
81368         * sunrpc/svc_raw.c: Likewise.
81369         * sunrpc/svc_run.c: Likewise.
81370         * sunrpc/svc_simple.c: Likewise.
81371         * sunrpc/svc_tcp.c: Likewise.
81372         * sunrpc/svc_udp.c: Likewise.
81373         * sunrpc/svc_unix.c: Likewise.
81374         * sunrpc/svcauth_des.c: Likewise.
81375         * sunrpc/xcrypt.c: Likewise.
81376         * sunrpc/xdr.c: Likewise.
81377         * sunrpc/xdr_array.c: Likewise.
81378         * sunrpc/xdr_float.c: Likewise.
81379         * sunrpc/xdr_intXX_t.c: Likewise.
81380         * sunrpc/xdr_mem.c: Likewise.
81381         * sunrpc/xdr_rec.c: Likewise.
81382         * sunrpc/xdr_ref.c: Likewise.
81383         * sunrpc/xdr_sizeof.c: Likewise.
81384         * sunrpc/xdr_stdio.c: Likewise.
81386 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
81388         [BZ #12650]
81389         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
81390         * sysdeps/ia64/dl-tls.h: Likewise.
81391         * sysdeps/powerpc/dl-tls.h: Likewise.
81392         * sysdeps/s390/dl-tls.h: Likewise.
81393         * sysdeps/sh/dl-tls.h: Likewise.
81394         * sysdeps/sparc/dl-tls.h: Likewise.
81395         * sysdeps/x86_64/dl-tls.h: Likewise.
81396         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
81398 2011-03-14  Andreas Schwab  <schwab@redhat.com>
81400         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
81401         rpath element also skip the following colon.
81402         (expand_dynamic_string_token): Add is_path parameter and pass
81403         down to DL_DST_REQUIRED and _dl_dst_substitute.
81404         (decompose_rpath): Call expand_dynamic_string_token with
81405         non-zero is_path.  Ignore empty rpaths.
81406         (_dl_map_object_from_fd): Call expand_dynamic_string_token
81407         with zero is_path.
81409 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
81411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
81412         Make cancelable.
81414 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
81416         [BZ #12655]
81417         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
81418         Patch by Filipe David Manana <fdmanana@apache.org>.
81420 2011-04-07  Andreas Schwab  <schwab@redhat.com>
81422         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
81423         Maintain aligned stack.
81424         (CHECK_RSP): Remove unused macro.
81426 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
81428         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
81429         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
81431 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
81433         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
81435         * include/features.h: Mention __USE_XOPEN2K8 in comment.
81437 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
81439         [BZ #12518]
81440         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
81441         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
81442         * sysdeps/x86_64/memmove.c: New file.
81443         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
81444         (memcpy): Renamed to ...
81445         (__new_memcpy): This.
81446         (memcpy): Provide GLIBC_2_14 memcpy.
81447         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
81448         (memcpy): Provide GLIBC_2_2_5 memcpy.
81450 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
81452         [BZ #12631]
81453         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
81455 2011-03-30  Andreas Schwab  <schwab@redhat.com>
81457         * misc/syncfs.c: New file.
81458         * misc/Makefile (routines): Add syncfs.
81459         * posix/unistd.h: Declare syncfs.
81460         * sysdeps/unix/syscalls.list: Add syncfs.
81462 2011-04-01  Andreas Schwab  <schwab@redhat.com>
81464         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
81465         open_by_handle_at.
81466         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
81467         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
81468         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
81469         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
81470         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
81471         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
81472         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
81474 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
81476         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
81477         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
81478         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
81479         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
81480         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
81481         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
81482         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
81484         * io/Makefile: Compile fallocate.c, fallocate64.c, and
81485         sync_file_range.c with -fexceptions.
81486         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
81487         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
81488         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
81489         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
81490         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
81491         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
81492         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
81493         sync_file_range as cancellation point
81494         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
81495         now a wrapper around __call_sync_file_range with cancellation handling.
81496         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
81497         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
81498         function name to __call_sync_file_range.
81499         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
81500         Add call_sync_file_range.
81502 2011-04-01  Andreas Schwab  <schwab@redhat.com>
81504         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81505         bits/timex.h.
81507 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
81509         * iconv/iconv.h: Fix typo in comment.
81510         * io/fcntl.h: Likewise.
81511         * libio/stdio.h: Likewise.
81512         * posix/spawn.h: Likewise.
81513         * posix/unistd.h: Likewise.
81514         * stdlib/stdlib.h: Likewise.
81515         * time/time.h: Likewise.
81516         * wcsmbs/wchar.h: Likewise.
81518         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
81519         open_by_handle): Add.
81520         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
81521         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
81522         Augment a few comments.
81523         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
81524         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
81525         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
81526         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
81527         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
81528         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
81529         open_by_handle.
81531         * io/fcntl.h (AT_EMPTY_PATH): Define.
81533 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
81535         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
81536         * sysdeps/unix/sysv/linux/bits/time.h: New file.
81537         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
81538         to...
81539         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
81540         * Versions.def: Add GLIBC_2.14.
81541         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
81542         Export.
81544 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
81546         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
81547         round counter.
81548         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
81550 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
81552         [BZ #12597]
81553         * string/test-strncmp.c (do_page_test): New function.
81554         (check2): Likewise.
81555         (test_main): Call check2.
81556         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
81558 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
81560         [BZ #12587]
81561         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
81562         Handle cache information in CPU leaf 4.
81563         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
81565 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
81567         [BZ #12583]
81568         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
81569         character representation.
81570         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
81572 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
81574         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
81575         END(__isnan) to END(__isnanf) to match function entry point/label
81576         EALIGN(__isnanf,...).
81578 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
81580         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
81582 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
81584         [BZ #12510]
81585         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
81586         copy from the symbol referenced in the relocation to initialize the
81587         used variable.
81588         Patch by Piotr Bury <pbury@goahead.com>.
81589         * elf/Makefile: Add rules to build and tst-unique3.
81590         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
81591         * elf/tst-unique3.cc: New file.
81592         * elf/tst-unique3.h: New file.
81593         * elf/tst-unique3lib.cc: New file.
81594         * elf/tst-unique3lib2.cc: New file.
81596         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
81598 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
81600         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
81601         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
81602         to _start.
81604 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
81606         * elf/dl-load.c (_dl_map_object): If we are looking for the first
81607         to-be-loaded object along a path to loader is ld.so.
81609 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
81610             Ulrich Drepper  <drepper@gmail.com>
81612         * sysdeps/x86_64/memset.S: After aligning destination, code
81613         branches to different locations depending on the value of
81614         misalignment, when multiarch is enabled. Fix this.
81616 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
81618         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
81619         Set _x86_64_preferred_memory_instruction for AMD processsors.
81620         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81621         Set bit_Prefer_SSE_for_memop for AMD processors.
81623 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
81625         * libio/fmemopen.c (fmemopen): Optimize a bit.
81627 2011-03-03  Andreas Schwab  <schwab@redhat.com>
81629         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
81631 2011-03-03  Roland McGrath  <roland@redhat.com>
81633         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
81635 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
81637         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
81638         __bzero_ultra1 instead of __memset_ultra1.
81640 2011-02-23  Andreas Schwab  <schwab@redhat.com>
81641             Ulrich Drepper  <drepper@gmail.com>
81643         [BZ #12509]
81644         * include/link.h (struct link_map): Add l_orig_initfini.
81645         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
81646         returning unsuccessfully.
81647         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
81648         close of a file loaded at startup, restore the original l_initfini
81649         list.
81650         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
81651         list, store the pointer.
81652         * elf/Makefile ($(objpfx)noload-mem): New rule.
81653         (noload-ENV): Define.
81654         (tests): Add $(objpfx)noload-mem.
81655         * elf/noload.c: Include <memcheck.h>.
81656         (main): Call mtrace.  Close all opened handles.
81658 2011-02-17  Andreas Schwab  <schwab@redhat.com>
81660         [BZ #12454]
81661         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
81662         dependencies are missing.
81664 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81666         Fix __if_freereq crash: Unlike the generic version which uses free,
81667         Hurd needs munmap.
81668         * sysdeps/mach/hurd/ifreq.h: New file.
81670 2011-01-27  Petr Baudis  <pasky@suse.cz>
81671             Ulrich Drepper  <drepper@gmail.com>
81673         [BZ 12445]#
81674         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
81675         to extend_alloca().
81676         * stdio-common/bug23.c: New file.
81677         * stdio-common/Makefile (tests): Add bug23.
81679 2010-09-28  Andreas Schwab  <schwab@redhat.com>
81680             Ulrich Drepper  <drepper@gmail.com>
81682         [BZ #12489]
81683         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
81684         before performing relro protection.  At old place add assertion
81685         to make sure nothing changed.
81687 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
81688             Glauber de Oliveira Costa  <glommer@gmail.com>
81690         * elf/elf.h: Add new ARM TLS relocs.
81692 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
81694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
81695         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
81696         cast from r3.
81697         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
81698         'tests' variable.
81699         * sysdeps/wordsize-64/tst-writev.c: New file.
81701 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
81703         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
81704         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
81705         insns in _dl_start to prevent a TOC reference before relocs are
81706         resolved.
81708 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
81710         [BZ #12469]
81711         * Makeconfig: Remove RANLIB definition.
81712         * Makerules: Don't use RANLIB.
81713         * aclocal.m4: Remove ranlib test.
81714         * configure.in: No need to check for ranlib.
81715         * elf/rtld-Rules: Don't use RANLIB.
81717 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81719         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
81720         protection macro.
81721         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
81722         inclusion protection macro.
81724         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
81725         SIGRTMIN and SIGRTMAX and print information in that case only when
81726         SIGRTMIN is defined.
81728 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
81730         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
81731         arginfo fn returning -1.
81733         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
81734         and thousands string is zero terminated.
81736 2011-02-03  Andreas Schwab  <schwab@redhat.com>
81738         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
81739         sysdeps/unix/sysv/linux/bits/socket.h.
81741 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81743         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
81744         (__CPU_COUNT): Remove old macros.
81745         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
81746         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
81747         (__CPU_ALLOC, __CPU_FREE): Add macros.
81748         (__sched_cpualloc, __sched_cpufree): Add declarations.
81750 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
81752         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
81753         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
81754         * nscd/aicache.c (addhstaiX): Return timeout of added value.
81755         (readdhstai): Return value of addhstaiX call.
81756         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
81757         (addgrbyX): Return value returned by cache_addgr.
81758         (readdgrbyname): Return value returned by addgrbyX.
81759         (readdgrbygid): Likewise.
81760         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
81761         (addpwbyX): Return value returned by cache_addpw.
81762         (readdpwbyname): Return value returned by addhstbyX.
81763         (readdpwbyuid): Likewise.
81764         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
81765         (addservbyX): Return value returned by cache_addserv.
81766         (readdservbyname): Return value returned by addservbyX:
81767         (readdservbyport): Likewise.
81768         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
81769         (addhstbyX): Return value returned by cache_addhst.
81770         (readdhstbyname): Return value returned by addhstbyX.
81771         (readdhstbyaddr): Likewise.
81772         (readdhstbynamev6): Likewise.
81773         (readdhstbyaddrv6): Likewise.
81774         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
81775         (readdinitgroups): Return value returned by addinitgroupsX.
81776         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
81777         (prune_cache): Keep track of timeout value of re-added entries.
81778         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
81779         * nscd/nscd.h: Adjust prototypes of readd* functions.
81781 2011-02-04  Roland McGrath  <roland@redhat.com>
81783         * nis/nis_server.c (nis_servstate): Use the right name for 0.
81784         (nis_stats): Likewise.
81785         * nis/nis_modify.c (nis_modify): Likewise.
81786         * nis/nis_remove.c (nis_remove): Likewise.
81787         * nis/nis_add.c (nis_add): Likewise.
81789         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
81791         * posix/fnmatch_loop.c: Add some consts.
81793         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
81795 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
81797         [BZ #12460]
81798         * config.make.in (config-cflags-novzeroupper): Define.
81799         * configure.in: Substitute libc_cv_cc_novzeroupper.
81800         * elf/Makefile (AVX-CFLAGS): Define.
81801         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
81802         (CFLAGS-tst-auditmod4a.c): Likewise.
81803         (CFLAGS-tst-auditmod4b.c): Likewise.
81804         (CFLAGS-tst-auditmod6b.c): Likewise.
81805         (CFLAGS-tst-auditmod6c.c): Likewise.
81806         (CFLAGS-tst-auditmod7b.c): Likewise.
81807         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
81809 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
81811         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
81812         function to the callback.
81813         Patch partly by Jiri Olsa <jolsa@redhat.com>.
81815 2011-02-02  Andreas Schwab  <schwab@redhat.com>
81817         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
81818         of errno.
81820 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
81822         [BZ #11724]
81823         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
81824         of constructors.
81825         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
81826         of destructors.
81827         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
81829         [BZ #11724]
81830         * elf/Makefile: Add rules to build and run new test.
81831         * elf/tst-initorder.c: New file.
81832         * elf/tst-initorder.exp: New file.
81833         * elf/tst-initordera1.c: New file.
81834         * elf/tst-initordera2.c: New file.
81835         * elf/tst-initordera3.c: New file.
81836         * elf/tst-initordera4.c: New file.
81837         * elf/tst-initorderb1.c: New file.
81838         * elf/tst-initorderb2.c: New file.
81839         * elf/tst-order-a1.c: New file.
81840         * elf/tst-order-a2.c: New file.
81841         * elf/tst-order-a3.c: New file.
81842         * elf/tst-order-a4.c: New file.
81843         * elf/tst-order-b1.c: New file.
81844         * elf/tst-order-b2.c: New file.
81845         * elf/tst-order-main.c: New file.
81846         New test case by George Gensure <werkt0@gmail.com>.
81848 2010-10-01  Andreas Schwab  <schwab@redhat.com>
81850         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
81851         decoding ACE if AI_CANONIDN.
81853 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
81855         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
81857 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
81859         * version.h (RELEASE): Bump for 2.13 release.
81860         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
81862         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
81864         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
81865         MADV_NOHUGEPAGE.
81866         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
81867         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
81868         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
81869         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
81870         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
81871         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
81873         * posix/getconf.c: Update copyright year.
81874         * catgets/gencat.c: Likewise.
81875         * csu/version.c: Likewise.
81876         * debug/catchsegv.sh: Likewise.
81877         * debug/xtrace.sh: Likewise.
81878         * elf/ldconfig.c: Likewise.
81879         * elf/ldd.bash.in: Likewise.
81880         * elf/sprof.c (print_version): Likewise.
81881         * iconv/iconv_prog.c: Likewise.
81882         * iconv/iconvconfig.c: Likewise.
81883         * locale/programs/locale.c: Likewise.
81884         * locale/programs/localedef.c: Likewise.
81885         * malloc/memusage.sh: Likewise.
81886         * malloc/mtrace.pl: Likewise.
81887         * nscd/nscd.c (print_version): Likewise.
81888         * nss/getent.c: Likewise.
81890         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
81891         PF_CAIF, and PF_ALG.
81892         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
81894 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
81896         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
81897         (modules-names): Use them.
81898         (ifunc-test-modules, ifunc-pie-tests): Define.
81899         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
81900         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
81901         (test-extras): Likewise.
81902         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
81903         $(compile-command.c).
81904         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
81905         (all-built-dso): Define.
81906         (check-textrel.out, check-execstack.out): Depend on it.
81908         * configure.in: Don't override --enable-multi-arch.
81910 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
81912         [BZ #6812]
81913         * nscd/hstcache.c (tryagain): Define.
81914         (cache_addhst): Return tryagain not notfound for temporary errors.
81915         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
81916         failed.
81918 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
81920         [BZ #10563]
81921         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
81922         to make the syscall.
81923         * sysdeps/unix/sysv/linux/setgroups.c: New file.
81925         [BZ #12378]
81926         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
81927         and fall back to matching as normal character if the string ends before
81928         the matching ']' is found.  This is what POSIX requires.
81929         * posix/testfnm.c: Adjust test result.
81930         * posix/globtest.sh: Adjust test result.  Add new test.
81931         * posix/tst-fnmatch.input: Likewise.
81932         * posix/tst-fnmatch2.c: Add new test.
81934 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
81936         * elf/Makefile (check-execstack): Revert last change.  Depend on
81937         check-execstack.h.
81938         (check-execstack.h): New target.
81939         (generated): Add check-execstack.h.
81940         * elf/check-execstack.c: Include "check-execstack.h".
81941         (main): Revert last change.
81942         (handle_file): Return zero if GNU_STACK is absent and
81943         DEFAULT_STACK_PERMS doesn't include PF_X.
81945 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
81947         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
81948         in child fails because the descriptor is already closed.
81949         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
81950         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
81951         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
81953         [BZ #12397]
81954         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
81955         syscall.
81957         [BZ #10484]
81958         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
81959         temporary buffer used to handle multi lookups locally.
81960         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
81962 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
81964         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
81965         loader is ld.so.
81967 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
81969         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
81970         alignment for SSE2.
81972 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
81974         [BZ #12394]
81975         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
81976         characters.  When rounding increased number of integer digits recompute
81977         number of groups.
81978         * stdio-common/tst-grouping.c: New file.
81979         * stdio-common/Makefile: Add rules to build and run tst-grouping.
81981 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
81983         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
81984         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
81986         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
81987         void.
81988         * bits/select.h: Likewise.
81990 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
81992         * po/ja.po: Update from translation team.
81994 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
81996         [BZ #11155]
81997         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
81998         implementation just like for lxstat, fxstatat, et al.
82000 2010-12-27  Jim Meyering  <meyering@redhat.com>
82002         [BZ #12348]
82003         * posix/regexec.c (build_trtable): Return failure indication upon
82004         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
82006 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
82008         [BZ #12201]
82009         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
82010         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
82011         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
82012         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
82014         [BZ #12207]
82015         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
82017         [BZ #12204]
82018         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
82019         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
82021 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
82023         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
82024         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
82025         script has SORT_BY_INIT_PRIORITY.
82026         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
82027         NO_CTORS_DTORS_SECTIONS is defined.
82028         * elf/soinit.c: Likewise.
82029         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
82030         NO_CTORS_DTORS_SECTIONS is defined.
82031         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
82032         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
82033         * sysdeps/sh/init-first.c: Likewise.
82034         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
82036 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
82038         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
82039         always use the slow path.
82041 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
82043         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
82044         similar rule which adds the sysdep directories to the header search in
82045         order to pick up the correct platform stackinfo.h.
82046         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
82047         perform test if it is, otherwise return successfully without testing.
82048         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
82049         DEFAULT_STACK_PERMS define in stackinfo.h.
82050         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
82051         defined in stackinfo.h.
82052         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
82053         DEFAULT_STACK_PERMS defined in stackinfo.h.
82054         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
82055         * sysdeps/ia64/stackinfo.h: Likewise.
82056         * sysdeps/s390/stackinfo.h: Likewise.
82057         * sysdeps/sh/stackinfo.h: Likewise.
82058         * sysdeps/sparc/stackinfo.h: Likewise.
82059         * sysdeps/x86_64/stackinfo.h: Likewise.
82060         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
82061         PF_X for powerpc64.  Retain PF_X for powerpc32.
82063 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
82065         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
82066         accurately.
82067         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
82068         GETDENTS_64BIT_ALIGNED.
82070 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
82072         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
82074 2010-12-10  Andreas Schwab  <schwab@redhat.com>
82076         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
82077         _GNU_SOURCE.
82079         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
82080         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
82081         Remove __restrict.
82082         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
82083         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
82085 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
82087         [BZ #11655]
82088         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
82089         are initialized.
82091 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
82093         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
82095 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
82097         * po/it.po: Update from translation team.
82099 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
82101         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
82102         unused codes.
82104 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
82106         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
82108 2010-11-24  Andreas Schwab  <schwab@redhat.com>
82110         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
82111         specially.
82112         (gaih_getanswer_slice): Likewise.
82114 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
82116         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
82118 2010-05-31  Petr Baudis  <pasky@suse.cz>
82120         [BZ #11149]
82121         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
82122         silently even in the chroot mode.
82124 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
82126         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
82127         last patch a bit.  Pretty printing
82129 2010-05-31  Petr Baudis <pasky@suse.cz>
82131         [BZ #10085]
82132         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
82133         initialization of skip_initgroups_dyn.
82135 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
82137         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
82138         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
82140 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
82142         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
82144 2010-11-11  Andreas Schwab  <schwab@redhat.com>
82146         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
82147         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
82148         (tst-fnmatch-ENV): Set MALLOC_TRACE.
82149         ($(objpfx)tst-fnmatch-mem): New rule.
82150         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
82151         * posix/tst-fnmatch.c (main): Call mtrace.
82153 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
82155         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82156         Support Intel processor model 6 and model 0x2c.
82158 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
82160         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
82161           signed comparison.
82163 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
82165         [BZ #12205]
82166         * string/test-strncasecmp.c (check_result): New function.
82167         (do_one_test): Use it.
82168         (check1): New function.
82169         (test_main): Use it.
82170         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
82171         Support strcasecmp and strncasecmp.
82173 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
82175         [BZ #12194]
82176         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
82177         * sysdeps/x86_64/bits/byteswap.h: Likewise.
82179 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
82181         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
82182         IFUNC support.
82183         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82184         memset-x86-64.
82185         * sysdeps/x86_64/multiarch/bzero.S: New file.
82186         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
82187         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
82188         * sysdeps/x86_64/multiarch/memset.S: New file.
82189         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
82190         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82191         Set bit_Prefer_SSE_for_memop for Intel processors.
82192         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
82193         Define.
82194         (index_Prefer_SSE_for_memop): Define.
82195         (HAS_PREFER_SSE_FOR_MEMOP): Define.
82197 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
82199         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
82200         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
82202 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
82204         [BZ #12191]
82205         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
82206         (__x86_64_raw_data_cache_size_half): Likewise.
82207         (__x86_64_raw_shared_cache_size): Likewise.
82208         (__x86_64_raw_shared_cache_size_half): Likewise.
82210         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
82211         (__x86_64_raw_data_cache_size_half): Likewise.
82212         (__x86_64_raw_shared_cache_size): Likewise.
82213         (__x86_64_raw_shared_cache_size_half): Likewise.
82214         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
82215         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
82216         and __x86_64_raw_shared_cache_size_half.  Round
82217         __x86_64_data_cache_size_half, __x86_64_data_cache_size
82218         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
82219         to multiple of 256 bytes.
82221 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
82223         [BZ #12167]
82224         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
82225         of inacessible symlinks.  Verify result of symlink before returning it.
82226         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
82227         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
82229 2010-10-28  Erich Ritz  <erichritz@gmail.com>
82231         * math/math.h (isinf): Fix typo in comment.
82233 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
82235         * po/da.po: Update from translation team.
82237 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
82239         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
82240         is added to the list.
82242 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
82243             Ulrich Drepper  <drepper@gmail.com>
82245         * elf/dl-object.c (_dl_new_object): Don't append the new object to
82246         the global list here.  Move code to...
82247         (_dl_add_to_namespace_list): ...here.  New function.
82248         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
82249         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
82250         * elf/dl-load.c (lose): Don't remove the element from the list.
82251         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
82252         (_dl_map_object): Likewise.
82254 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
82256         [BZ #12159]
82257         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
82258         into all bytes of SSE register.
82259         Patch by Richard Li <richardpku@gmail.com>.
82261 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
82263         [BZ #12140]
82264         * malloc/malloc.c (_int_free): Fill correct number of bytes when
82265         perturbing.
82267 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
82269         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
82270         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
82271         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
82272         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
82273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
82274         submachine.
82275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
82277 2010-10-22  Andreas Schwab  <schwab@redhat.com>
82279         * include/dlfcn.h (__RTLD_SECURE): Define.
82280         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
82281         mode & __RTLD_SECURE instead.
82282         (open_path): Rename preloaded parameter to secure.
82283         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
82284         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
82285         * elf/dl-deps.c (openaux): Likewise.
82286         * elf/rtld.c (struct map_args): Remove is_preloaded.
82287         (map_doit): Don't use it.
82288         (dl_main): Likewise.
82289         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
82290         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
82292 2010-09-09  Andreas Schwab  <schwab@redhat.com>
82294         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
82295         (sysd-rules-targets): Remove duplicates.
82296         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
82297         rtld-%.$o dependency.
82299 2010-10-18  Andreas Schwab  <schwab@redhat.com>
82301         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
82302         _dl_map_object do it.
82304 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
82306         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
82307         fast fma builtins, define the macros in the C99 standard.
82308         (FP_FAST_FMAF): Likewise.
82309         (FP_FAST_FMAL): Likewise.
82310         * sysdeps/x86_64/bits/mathdef.h: Likewise.
82312         * bits/mathdef.h: Update copyright year.
82313         * sysdeps/powerpc/bits/mathdef.h: Likewise.
82315 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
82317         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
82318         builtins, define the macros in the C99 standard.
82319         (FP_FAST_FMAF): Likewise.
82320         (FP_FAST_FMAL): Likewise.
82321         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
82322         multiply/add.
82323         (FP_FAST_FMAF): Likewise.
82325 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
82327         [BZ #3268]
82328         * math/libm-test.inc (fma_test): Some new testcases.
82329         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
82330         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
82331         y and infinite z.  Do multiplication by C already in long double.
82332         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
82333         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
82334         y and infinite z.  Do bitwise or of inexact bit into u.d.
82335         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
82336         * sysdeps/i386/fpu/s_fmaf.S: Removed.
82337         * sysdeps/i386/fpu/s_fma.S: Removed.
82338         * sysdeps/i386/fpu/s_fmal.S: Removed.
82340 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
82342         [BZ #3268]
82343         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
82344         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
82345         computation is not scheduled after fetestexcept.  Fix value
82346         of minimum denormal long double.
82348 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
82350         [BZ #3268]
82351         * math/libm-test.inc (fma_test): Add some more tests.
82352         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
82353         correctly.
82355 2010-10-15  Andreas Schwab  <schwab@redhat.com>
82357         * scripts/data/localplt-s390-linux-gnu.data: New file.
82358         * scripts/data/localplt-s390x-linux-gnu.data: New file.
82360 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
82362         [BZ #3268]
82363         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
82364         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
82365         instead of dbl-64.
82366         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
82367         inlines.
82368         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
82369         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
82370         if one of x and y is very large and the other is subnormal.
82371         * sysdeps/s390/fpu/s_fmaf.c: New file.
82372         * sysdeps/s390/fpu/s_fma.c: New file.
82373         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
82374         * sysdeps/powerpc/fpu/s_fma.S: New file.
82375         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
82376         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
82377         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
82379 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
82381         [BZ #3268]
82382         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
82383         fma tests.
82384         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
82385         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
82386         * sysdeps/i386/i686/multiarch/s_fma.c: Include
82387         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
82388         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
82389         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
82390         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
82392 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
82394         [BZ #12078]
82395         * posix/regcomp.c (parse_branch): One more memory leak plugged.
82396         * posix/bug-regex31.input: Add test case.
82398 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
82400         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
82401         * posix/bug-regex31.input: New file.
82403         [BZ #12078]
82404         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
82405         (parse_sub_exp): Fix last change, use postorder.
82407         * posix/bug-regex31.c: New file.
82408         * posix/Makefile: Add rules to build and run bug-regex31.
82410         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
82412         [BZ #12078]
82413         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
82415         [BZ #12108]
82416         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
82417         to have entries in sys_siglist.
82419         [BZ #12093]
82420         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
82421         be NULL.
82423 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
82425         [BZ #3268]
82426         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
82427         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
82428         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
82429         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
82430         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
82431         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
82432         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
82433         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
82434         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
82435         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
82436         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
82437         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
82438         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
82439         * math/ftestexcept.c (fetestexcept): Likewise.
82440         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
82441         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
82442         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
82443         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
82444         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
82445         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
82446         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
82448 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
82450         [BZ #12107]
82451         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
82452         newline.
82454 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
82456         * string/bug-strstr1.c: New file.
82457         * string/Makefile: Add rules to build and run bug-strstr1.
82459 2010-10-05  Eric Blake  <eblake@redhat.com>
82461         [BZ #12092]
82462         * string/str-two-way.h (two_way_long_needle): Always clear memory
82463         when skipping input due to the shift table.
82465 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
82467         [BZ #12005]
82468         * malloc/mcheck.c: Handle large requests.
82470         [BZ #12077]
82471         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
82472         for strncmp and strncasecmp.
82473         * string/stratcliff.c: Add tests for strcmp and strncmp.
82474         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
82476 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
82478         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
82479         __set_fpscr.
82481 2010-09-30  Andreas Jaeger  <aj@suse.de>
82483         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
82484         (CGROUP_SUPER_MAGIC): Define.
82485         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
82486         Handle btrfs and cgroup file systems.
82487         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
82488         Likewise.
82490 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
82492         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
82493         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
82495 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
82497         [BZ #12067]
82498         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
82499         trying to locate the ELF header.
82501 2010-09-27  Andreas Schwab  <schwab@redhat.com>
82503         [BZ #11611]
82504         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
82505         Mask out sign-bit copies when constructing f_fsid.
82507 2010-09-24  Petr Baudis <pasky@suse.cz>
82509         * debug/stack_chk_fail_local.c: Add missing licence exception.
82510         * debug/warning-nop.c: Likewise.
82512 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
82514         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
82515         implementing getdents64 using getdents syscall, set d_type if
82516         __ASSUME_GETDENTS32_D_TYPE.
82518 2010-09-16  Andreas Schwab  <schwab@redhat.com>
82520         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
82521         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
82523 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
82525         [BZ #12037]
82526         * posix/unistd.h: Undo change of feature selection for ftruncate from
82527         2010-01-11.
82529 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
82531         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
82532         detection.
82534 2010-09-20  Andreas Schwab  <schwab@redhat.com>
82536         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
82537         fanotify_mark.
82538         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
82540 2010-09-14  Andreas Schwab  <schwab@redhat.com>
82542         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
82543         variables after CHECK_SP call.
82544         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
82546 2010-09-13  Andreas Schwab  <schwab@redhat.com>
82547             Ulrich Drepper  <drepper@redhat.com>
82549         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
82550         re-relocationg ld.so.
82551         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
82552         _dl_init_paths call.
82553         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
82554         here anymore.
82556 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
82558         * resolv/res_init.c (__res_vinit): Count the default server we added.
82560 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
82561             Ulrich Drepper  <drepper@redhat.com>
82563         [BZ #11968]
82564         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
82565         (____longjmp_chk): Use %ebx for saving value across system call.
82566         Add unwind info.
82568 2010-09-06  Andreas Schwab  <schwab@redhat.com>
82570         * manual/Makefile: Don't mix pattern rules with normal rules.
82572 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
82574         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
82575         operation.
82576         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
82577         * libio/iofopncook.c (_IO_cookie_init): Likewise.
82578         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
82579         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
82580         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
82581         Likewise.
82583 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
82585         [BZ #11979]
82586         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
82587         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
82589 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
82591         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
82592         * sysdeps/x86_64/addmul_1.S: Likewise.
82593         * sysdeps/x86_64/lshift.S: Likewise.
82594         * sysdeps/x86_64/mul_1.S: Likewise.
82595         * sysdeps/x86_64/rshift.S: Likewise.
82596         * sysdeps/x86_64/sub_n.S: Likewise.
82597         * sysdeps/x86_64/submul_1.S: Likewise.
82599 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82601         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
82602         Define __sched_param instead of SCHED_* and sched_param when
82603         <bits/sched.h> is included with __need_schedparam defined.
82604         * bits/sched.h [__need_schedparam]
82605         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
82606         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
82607         (__defined_schedparam): Define to 1.
82608         (__sched_param): New structure, identical to sched_param.
82609         (__need_schedparam): Undefine.
82611 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
82613         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
82614         (epoll_create1): Declare.
82616         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
82618 2010-08-31  Andreas Schwab  <schwab@redhat.com>
82620         [BZ #7066]
82621         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
82622         shifting retval into place.
82624 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
82626         * nis/rpcsvc/nis.h: Update copyright notice.
82627         * nis/rpcsvc/nis.x: Likewise.
82628         * nis/rpcsvc/nis_callback.h: Likewise.
82629         * nis/rpcsvc/nis_callback.x: Likewise.
82630         * nis/rpcsvc/nis_object.x: Likewise.
82631         * nis/rpcsvc/nis_tags.h: Likewise.
82632         * nis/rpcsvc/yp.h: Likewise.
82633         * nis/rpcsvc/yp.x: Likewise.
82634         * nis/rpcsvc/ypupd.h: Likewise.
82635         * nis/yp_xdr.c: Likewise.
82636         * nis/ypupdate_xdr.c: Likewise.
82638         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
82639         mainly the body of pmap_getport.  Add parameters to specify timeouts.
82640         (pmap_getport): Use __libc_rpc_getport.
82641         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
82642         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
82643         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
82645 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
82647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
82648         fanotify_mark.
82650 2010-08-27  Roland McGrath  <roland@redhat.com>
82652         * sysdeps/i386/i686/multiarch/Makefile
82653         (CFLAGS-varshift.c): New variable.
82655 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
82657         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
82658         * sysdeps/i386/i686/multiarch/varshift.c: New file.
82660         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
82662         * sysdeps/x86_64/strlen.S: Minimal code improvement.
82664 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
82666         * sysdeps/x86_64/strlen.S: Unroll the loop.
82667         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82668         strlen-sse2 strlen-sse2-bsf.
82669         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
82670         __strlen_no_bsf if bit_Slow_BSF is set.
82671         (__strlen_sse42): Removed.
82672         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
82673         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
82675 2010-08-25  Roland McGrath  <roland@redhat.com>
82677         * sysdeps/x86_64/multiarch/varshift.S: File removed.
82678         * sysdeps/x86_64/multiarch/varshift.c: New file.
82679         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
82680         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
82681         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
82682         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
82684 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
82686         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82687         strlen-sse2 strlen-sse2-bsf.
82688         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
82689         __strlen_sse2_bsf if bit_Slow_BSF is unset.
82690         (__strlen_sse2): Removed.
82691         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
82692         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
82693         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
82694         bit_Slow_BSF for Atom.
82695         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
82696         (index_Slow_BSF): Define.
82697         (HAS_SLOW_BSF): Define.
82699 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
82701         [BZ #10851]
82702         * resolv/res_init.c (__res_vinit): When no server address at all
82703         is given default to loopback.
82705 2010-08-24  Roland McGrath  <roland@redhat.com>
82707         * configure.in: Remove config-name.h generation.
82708         * configure: Regenerated.
82709         * config-name.in: File removed.
82710         * scripts/config-uname.sh: New file.
82711         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
82712         ($(objdir)config-name.h): New target.
82714         * sunrpc/rpc_parse.h: Avoid nested comment.
82716 2010-08-24  Richard Henderson  <rth@redhat.com>
82717             Ulrich Drepper  <drepper@redhat.com>
82718             H.J. Lu  <hongjiu.lu@intel.com>
82720         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
82721         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
82722         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
82723         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
82724         _mm_alignr_epi8 with _mm_loadu_si128.
82725         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
82726         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
82727         (__m128i_shift_right): Removed.
82728         * sysdeps/i386/i686/multiarch/varshift.h: New file.
82729         * sysdeps/i386/i686/multiarch/varshift.S: New file.
82730         * sysdeps/x86_64/multiarch/varshift.h: New file.
82731         * sysdeps/x86_64/multiarch/varshift.S: New file.
82733 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
82735         * configure.in: Move assembler checks to before sysdep dir checking.
82737 2010-08-20  Petr Baudis  <pasky@suse.cz>
82739         * LICENSES: Sync the sunrpc license.
82741 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
82743         * sunrpc/auth_des.c: Update copyright notice once again.
82744         * sunrpc/auth_none.c: Likewise.
82745         * sunrpc/auth_unix.c: Likewise.
82746         * sunrpc/authdes_prot.c: Likewise.
82747         * sunrpc/authuxprot.c: Likewise.
82748         * sunrpc/bindrsvprt.c: Likewise.
82749         * sunrpc/clnt_gen.c: Likewise.
82750         * sunrpc/clnt_perr.c: Likewise.
82751         * sunrpc/clnt_raw.c: Likewise.
82752         * sunrpc/clnt_simp.c: Likewise.
82753         * sunrpc/clnt_tcp.c: Likewise.
82754         * sunrpc/clnt_udp.c: Likewise.
82755         * sunrpc/clnt_unix.c: Likewise.
82756         * sunrpc/des_crypt.c: Likewise.
82757         * sunrpc/des_soft.c: Likewise.
82758         * sunrpc/get_myaddr.c: Likewise.
82759         * sunrpc/getrpcport.c: Likewise.
82760         * sunrpc/key_call.c: Likewise.
82761         * sunrpc/key_prot.c: Likewise.
82762         * sunrpc/openchild.c: Likewise.
82763         * sunrpc/pm_getmaps.c: Likewise.
82764         * sunrpc/pm_getport.c: Likewise.
82765         * sunrpc/pmap_clnt.c: Likewise.
82766         * sunrpc/pmap_prot.c: Likewise.
82767         * sunrpc/pmap_prot2.c: Likewise.
82768         * sunrpc/pmap_rmt.c: Likewise.
82769         * sunrpc/rpc/auth.h: Likewise.
82770         * sunrpc/rpc/auth_unix.h: Likewise.
82771         * sunrpc/rpc/clnt.h: Likewise.
82772         * sunrpc/rpc/des_crypt.h: Likewise.
82773         * sunrpc/rpc/key_prot.h: Likewise.
82774         * sunrpc/rpc/netdb.h: Likewise.
82775         * sunrpc/rpc/pmap_clnt.h: Likewise.
82776         * sunrpc/rpc/pmap_prot.h: Likewise.
82777         * sunrpc/rpc/pmap_rmt.h: Likewise.
82778         * sunrpc/rpc/rpc.h: Likewise.
82779         * sunrpc/rpc/rpc_des.h: Likewise.
82780         * sunrpc/rpc/rpc_msg.h: Likewise.
82781         * sunrpc/rpc/svc.h: Likewise.
82782         * sunrpc/rpc/svc_auth.h: Likewise.
82783         * sunrpc/rpc/types.h: Likewise.
82784         * sunrpc/rpc/xdr.h: Likewise.
82785         * sunrpc/rpc_clntout.c: Likewise.
82786         * sunrpc/rpc_cmsg.c: Likewise.
82787         * sunrpc/rpc_common.c: Likewise.
82788         * sunrpc/rpc_cout.c: Likewise.
82789         * sunrpc/rpc_dtable.c: Likewise.
82790         * sunrpc/rpc_hout.c: Likewise.
82791         * sunrpc/rpc_main.c: Likewise.
82792         * sunrpc/rpc_parse.c: Likewise.
82793         * sunrpc/rpc_parse.h: Likewise.
82794         * sunrpc/rpc_prot.c: Likewise.
82795         * sunrpc/rpc_sample.c: Likewise.
82796         * sunrpc/rpc_scan.c: Likewise.
82797         * sunrpc/rpc_scan.h: Likewise.
82798         * sunrpc/rpc_svcout.c: Likewise.
82799         * sunrpc/rpc_tblout.c: Likewise.
82800         * sunrpc/rpc_util.c: Likewise.
82801         * sunrpc/rpc_util.h: Likewise.
82802         * sunrpc/rpcinfo.c: Likewise.
82803         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
82804         * sunrpc/rpcsvc/key_prot.x: Likewise.
82805         * sunrpc/rpcsvc/klm_prot.x: Likewise.
82806         * sunrpc/rpcsvc/mount.x: Likewise.
82807         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
82808         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
82809         * sunrpc/rpcsvc/rex.x: Likewise.
82810         * sunrpc/rpcsvc/rstat.x: Likewise.
82811         * sunrpc/rpcsvc/rusers.x: Likewise.
82812         * sunrpc/rpcsvc/sm_inter.x: Likewise.
82813         * sunrpc/rpcsvc/spray.x: Likewise.
82814         * sunrpc/rpcsvc/yppasswd.x: Likewise.
82815         * sunrpc/rtime.c: Likewise.
82816         * sunrpc/svc.c: Likewise.
82817         * sunrpc/svc_auth.c: Likewise.
82818         * sunrpc/svc_authux.c: Likewise.
82819         * sunrpc/svc_raw.c: Likewise.
82820         * sunrpc/svc_run.c: Likewise.
82821         * sunrpc/svc_simple.c: Likewise.
82822         * sunrpc/svc_tcp.c: Likewise.
82823         * sunrpc/svc_udp.c: Likewise.
82824         * sunrpc/svc_unix.c: Likewise.
82825         * sunrpc/svcauth_des.c: Likewise.
82826         * sunrpc/xcrypt.c: Likewise.
82827         * sunrpc/xdr.c: Likewise.
82828         * sunrpc/xdr_array.c: Likewise.
82829         * sunrpc/xdr_float.c: Likewise.
82830         * sunrpc/xdr_mem.c: Likewise.
82831         * sunrpc/xdr_rec.c: Likewise.
82832         * sunrpc/xdr_ref.c: Likewise.
82833         * sunrpc/xdr_sizeof.c: Likewise.
82834         * sunrpc/xdr_stdio.c: Likewise.
82836         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
82837         handling.
82839 2010-08-19  Andreas Schwab  <schwab@redhat.com>
82841         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
82843 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
82845         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
82846         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
82847         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
82848         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
82849         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
82850         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
82851         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
82852         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
82853         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
82854         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
82855         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
82856         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
82857         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
82858         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
82860 2010-07-26  Anton Blanchard  <anton@samba.org>
82862         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
82863         * malloc/arena.c (heap_trim): Likewise.
82865 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
82867         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
82868         here.  Not...
82869         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
82870         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
82872 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
82874         * sysdeps/i386/elf/Makefile: New file.
82876 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
82878         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
82879         from fanotify_init.
82880         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
82881         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
82883 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
82885         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
82886         of strncasecmp_l.
82887         * sysdeps/multiarch/strcmp.S: Likewise.
82889 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
82891         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
82892         strncase_l-nonascii.
82893         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
82894         Add strncase_l-ssse3.
82895         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
82896         * sysdeps/x86_64/strcmp.S: Likewise.
82897         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
82898         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
82899         * sysdeps/x86_64/strncase.S: New file.
82900         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
82901         * sysdeps/x86_64/strncase_l.S: New file.
82902         * string/Makefile (strop-tests): Add strncasecmp.
82903         * string/test-strncasecmp.c: New file.
82905         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
82906         warning.
82908         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
82909         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
82911 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
82913         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
82915 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
82917         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
82918         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
82919         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
82921 2010-05-01  Alan Modra  <amodra@gmail.com>
82923         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
82924         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
82925         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
82926         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
82927         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
82928         tidying.  Don't tail-call __sigjmp_save for static lib.
82929         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
82930         save location.
82931         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
82932         (CALL_MCOUNT): Add eh info, and nop after bl.
82933         (TAIL_CALL_SYSCALL_ERROR): New macro.
82934         (PSEUDO_RET): Use it.
82935         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
82936         Correct save location of integer regs and cr.
82937         (_dl_profile_resolve): Correct cr save location.  Delete nops
82938         after bl when SHARED.  Reduce cfi size a little by better
82939         placement of cfi directives.
82940         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
82941         make a stack frame.  Instead use parm save area as a temp.
82942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
82943         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
82944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
82945         Don't make a stack frame for parent, use parm save area.
82946         Increase child stack frame to 112 bytes.  Don't save unused reg,
82947         and adjust reg usage.  Set up cfi on error recovery and
82948         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
82949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
82950         (__makecontext): Add dummy nop after jump to exit.
82951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
82952         Use correct parm save area and cr save, reduce stack frame.
82953         Correct cfi for possible PSEUDO_RET frame setup.
82954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
82955         Branch to local label emitted by PSEUDO_RET rather than
82956         __syscall_error.
82958 2010-08-12  Andreas Schwab  <schwab@redhat.com>
82960         [BZ #11904]
82961         * locale/programs/locale.c (print_assignment): New function.
82962         (show_locale_vars): Use it.
82964 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
82966         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
82967         field.
82968         (struct statfs64): Likewise.
82969         (_STATFS_F_FLAGS): Define.
82970         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
82971         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
82972         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
82973         (ST_VALID): Define locally.
82974         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
82975         __statvfs_getflags, use the provided value.
82976         * sysdeps/unix/sysv/linux/kernel-features.h: Define
82977         __ASSUME_STATFS_F_FLAGS.
82979         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
82981         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
82982         Add sys/fanotify.h.
82983         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
82984         fanotify_mask for GLIBC_2.13.
82985         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
82986         fanotify_init and fanotify_mark.
82987         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
82988         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
82990         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
82991         Add prlimit.
82992         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
82993         prlimit64 for GLIBC_2.13.
82994         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
82995         prlimit64.
82996         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
82997         syscall.
82998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
82999         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
83000         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
83001         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
83002         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
83003         add prlimit alias.
83004         * sysdeps/unix/sysv/linux/prlimit.c: New file.
83006         [BZ #11903]
83007         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
83008         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
83010         * nss/Makefile: Add rules to build and run tst-nss-test1.
83011         * shlib-versions: Add entry for libnss_test1.
83012         * nss/nss_test1.c: New file.
83013         * nss/tst-nss-test1.c: New file.
83015         * nss/nsswitch.c (__nss_database_custom): Define new variable.
83016         (__nss_configure_lookup): Set appropriate entry in
83017         __nss_configure_lookup to true.
83018         * nss/nsswitch.h: Define enum with indeces of databases in
83019         databases and __nss_database_custom arrays.  Declare
83020         __nss_database_custom.
83021         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
83022         to avoid using nscd when custom rules are installed.
83023         * nss/getXXbyYY_r.c: Likewise.
83024         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
83026         * nss/nss_files/files-parse.c: Whitespace fixes.
83028 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
83030         [BZ #11883]
83031         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
83032         * posix/fnmatch_loop.c: Likewise.
83034 2010-07-17  Andi Kleen  <ak@linux.intel.com>
83036         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
83037         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
83038         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
83039         * Versions.def [GLIBC_2.13]: Add.
83041 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
83043         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
83044         Also fail if tpwd after pwuid call is NULL.
83046 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83048         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
83049         when converting to ms.
83051 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83053         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
83054         EOPNOTSUPP errors with ENOTTY.
83055         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
83056         EOPNOTSUPP errors with ENOTTY.
83058 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
83060         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
83061         Add strcasecmp_l-ssse3.
83062         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
83063         strcasecmp.
83064         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
83065         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
83066         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
83068 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
83070         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
83072         * string/Makefile (strop-tests): Add strcasecmp.
83073         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
83074         strcasecmp_l-nonascii.
83075         (gen-as-const-headers): Add locale-defines.sym.
83076         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
83077         * sysdeps/x86_64/strcasecmp.S: New file.
83078         * sysdeps/x86_64/strcasecmp_l.S: New file.
83079         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
83080         * sysdeps/x86_64/locale-defines.sym: New file.
83081         * string/test-strcasecmp.c: New file.
83083         * string/test-strcasestr.c: Test both ends of the range of characters.
83084         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
83086 2010-07-29  Roland McGrath  <roland@redhat.com>
83088         [BZ #11856]
83089         * manual/locale.texi (Yes-or-No Questions): Fix example code.
83091 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
83093         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
83094         for ld.so.
83096 2010-07-27  Andreas Schwab  <schwab@redhat.com>
83098         * manual/memory.texi (Malloc Tunable Parameters): Document
83099         M_PERTURB.
83101 2010-07-26  Roland McGrath  <roland@redhat.com>
83103         [BZ #11840]
83104         * configure.in (-fgnu89-inline check): Set and substitute
83105         gnu89_inline, not libc_cv_gnu89_inline.
83106         * configure: Regenerated.
83107         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
83109 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
83111         * string/test-strnlen.c: New file.
83112         * string/Makefile (strop-tests): Add strnlen.
83113         * string/tester.c (test_strnlen): Add a few more test cases.
83114         * string/tst-strlen.c: Better error reporting.
83116         * sysdeps/x86_64/strnlen.S: New file.
83118 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
83120         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
83121         lower-latency instructions.
83123 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
83125         * string/test-strcasestr.c: New file.
83126         * string/test-strstr.c: New file.
83127         * string/Makefile (strop-tests): Add strstr and strcasestr.
83128         * string/str-two-way.h: Don't undefine MAX.
83129         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
83131 2010-07-21  Andreas Schwab  <schwab@redhat.com>
83133         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
83134         strcasestr-nonascii.
83135         (CFLAGS-strcasestr-nonascii.c): Define.
83136         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
83137         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
83138         Remove unused attribute.
83140 2010-07-20  Roland McGrath  <roland@redhat.com>
83142         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
83143         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
83144         ld.so.cache was broken.  With it, there is no way to disable dsocaps
83145         like LD_HWCAP_MASK can disable hwcaps.
83147 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
83149         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
83151 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
83153         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
83154         call in strcasestr.
83155         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
83156         __strcasestr_sse42_nonascii.
83157         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
83158         strcasestr-nonascii.c.
83159         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
83161 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
83163         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
83164         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
83165         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
83166         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
83168 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
83170         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
83171         fcntl.
83173 2010-07-06  Andreas Schwab  <schwab@redhat.com>
83175         [BZ #11577]
83176         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
83177         dl_signal_cerror.
83179 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
83181         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
83182         _PC_PIPE_BUF using F_GETPIPE_SZ.
83184 2010-07-05  Roland McGrath  <roland@redhat.com>
83186         * manual/arith.texi (Rounding Functions): Fix rint description
83187         implicit in round description.
83189 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
83191         * elf/Makefile: Fix linking for a few tests to make recent linker
83192         happy.
83194 2010-06-30  Andreas Schwab  <schwab@redhat.com>
83196         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
83197         $(common-objpfx)libc_nonshared.a.
83199 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
83201         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
83202         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
83203         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
83204         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
83205         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
83206         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
83207         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
83208         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
83209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
83210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
83211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
83212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
83213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
83214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
83215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
83216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
83217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
83218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
83219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
83220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
83221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
83222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
83223         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
83224         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
83225         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
83226         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
83227         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
83228         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
83229         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
83230         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
83231         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
83232         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
83233         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
83234         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
83235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
83236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
83237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
83238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
83239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
83240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
83241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
83242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
83243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
83244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
83245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
83246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
83247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
83248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
83250 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
83252         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
83253         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
83254         * string/memmove.c (memmove): Renamed to ...
83255         (MEMMOVE): ...this.  Default to memmove.
83256         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
83257         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
83258         (END_CHK): Define.
83259         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
83260         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
83261         mempcpy-ssse3-back memmove-ssse3-back.
83262         * sysdeps/x86_64/multiarch/bcopy.S: New file .
83263         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
83264         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
83265         * sysdeps/x86_64/multiarch/memcpy.S: New file.
83266         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
83267         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
83268         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
83269         * sysdeps/x86_64/multiarch/memmove.c: New file.
83270         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
83271         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
83272         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
83273         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
83274         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
83275         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
83276         Define.
83277         (index_Fast_Copy_Backward): Define.
83278         (HAS_ARCH_FEATURE): Define.
83279         (HAS_FAST_REP_STRING): Define.
83280         (HAS_FAST_COPY_BACKWARD): Define.
83282 2010-06-21  Andreas Schwab  <schwab@redhat.com>
83284         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
83285         Restore proper fallback handling.
83287 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
83289         [BZ #11701]
83290         * posix/group_member.c (__group_member): Correct checking loop.
83292         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
83293         OOM in getpwuid_r correctly.  Return error number when the caller
83294         should return, otherwise -1.
83295         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
83296         call returning > 0 value.
83297         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
83299 2010-06-07  Andreas Schwab  <schwab@redhat.com>
83301         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
83302         libc_nonshared.a from targets in modules-names.
83304 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
83306         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
83307         requires it.
83309 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
83311         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
83312         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
83313         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
83314         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
83316 2010-06-02  Andreas Schwab  <schwab@redhat.com>
83318         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
83320 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
83322         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
83323         and F_GETPIPE_SZ.
83324         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
83325         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
83326         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
83327         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
83328         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
83329         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
83331 2010-06-14  Roland McGrath  <roland@redhat.com>
83333         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
83335 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
83337         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
83338         __REDIRECT followed by __THROW.
83339         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
83340         * posix/getopt.h (getopt): Likewise.
83342 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
83344         * hurd/lookup-at.c (__file_name_lookup_at): Accept
83345         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
83346         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
83347         in AT_FLAGS.
83348         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
83349         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
83351 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
83353         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
83355 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
83357         [BZ #11640]
83358         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83359         Properly check family and model.
83361 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
83363         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
83365 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
83367         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
83369 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
83371         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
83372         symbol reference.
83374 2010-05-19  Andreas Schwab  <schwab@redhat.com>
83376         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
83377         symbol reference.
83379 2010-05-21  Andreas Schwab  <schwab@redhat.com>
83381         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
83382         and internal_recvmmsg.
83383         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
83384         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
83385         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
83386         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
83388         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
83389         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
83390         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
83392 2010-05-20  Andreas Schwab  <schwab@redhat.com>
83394         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
83396 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
83398         POWER7 optimizations.
83399         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
83400         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
83402 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
83404         * version.h: Update for 2.13 development version.
83406 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
83408         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
83409         exceptions.  Return 0.
83411 2010-05-07  Roland McGrath  <roland@redhat.com>
83413         * elf/ldconfig.c (main): Add a const.
83415 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
83417         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
83418         (args_options): Add no-idn option.
83419         (ahosts_keys_int): Add idn_flags to ai_flags.
83420         (parse_option): Handle 'i' option to clear idn_flags.
83422         * malloc/malloc.c (_int_free): Possible race in the most recently
83423         added check.  Only act on the data if no current modification
83424         happened.
83426 See ChangeLog.17 for earlier changes.